swagger.json 843 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://muchinfo.cn",
  7. "contact": {},
  8. "license": {},
  9. "version": "1.0"
  10. },
  11. "basePath": "/api",
  12. "paths": {
  13. "/CPTrade/QueryCPTradeMyBidInfos": {
  14. "get": {
  15. "security": [
  16. {
  17. "ApiKeyAuth": []
  18. }
  19. ],
  20. "produces": [
  21. "application/json"
  22. ],
  23. "tags": [
  24. "产能预售"
  25. ],
  26. "summary": "查询产能预售我的出价信息",
  27. "parameters": [
  28. {
  29. "type": "integer",
  30. "description": "资金账户",
  31. "name": "accountid",
  32. "in": "query",
  33. "required": true
  34. },
  35. {
  36. "type": "integer",
  37. "description": "预售市场ID",
  38. "name": "marketid",
  39. "in": "query"
  40. },
  41. {
  42. "type": "integer",
  43. "description": "预售商品ID",
  44. "name": "goodsid",
  45. "in": "query"
  46. }
  47. ],
  48. "responses": {
  49. "200": {
  50. "description": "OK",
  51. "schema": {
  52. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  53. }
  54. },
  55. "500": {
  56. "description": "Internal Server Error",
  57. "schema": {
  58. "$ref": "#/definitions/app.Response"
  59. }
  60. }
  61. }
  62. }
  63. },
  64. "/CPTrade/QueryCPTradeOrderDetail": {
  65. "get": {
  66. "security": [
  67. {
  68. "ApiKeyAuth": []
  69. }
  70. ],
  71. "produces": [
  72. "application/json"
  73. ],
  74. "tags": [
  75. "产能预售"
  76. ],
  77. "summary": "查询产能预售委托单信息",
  78. "parameters": [
  79. {
  80. "type": "integer",
  81. "description": "预售商品ID",
  82. "name": "goodsid",
  83. "in": "query"
  84. },
  85. {
  86. "type": "integer",
  87. "description": "预售市场ID",
  88. "name": "marketid",
  89. "in": "query"
  90. },
  91. {
  92. "type": "string",
  93. "description": "预售商品ID列表 - 格式:1,2,3",
  94. "name": "goodsids",
  95. "in": "query"
  96. }
  97. ],
  98. "responses": {
  99. "200": {
  100. "description": "OK",
  101. "schema": {
  102. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  103. }
  104. },
  105. "500": {
  106. "description": "Internal Server Error",
  107. "schema": {
  108. "$ref": "#/definitions/app.Response"
  109. }
  110. }
  111. }
  112. }
  113. },
  114. "/CPTrade/QueryMyCPTradeGoods": {
  115. "get": {
  116. "security": [
  117. {
  118. "ApiKeyAuth": []
  119. }
  120. ],
  121. "produces": [
  122. "application/json"
  123. ],
  124. "tags": [
  125. "产能预售"
  126. ],
  127. "summary": "查询我的预售信息",
  128. "parameters": [
  129. {
  130. "type": "integer",
  131. "description": "资金账户",
  132. "name": "accountid",
  133. "in": "query",
  134. "required": true
  135. }
  136. ],
  137. "responses": {
  138. "200": {
  139. "description": "OK",
  140. "schema": {
  141. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  142. }
  143. },
  144. "500": {
  145. "description": "Internal Server Error",
  146. "schema": {
  147. "$ref": "#/definitions/app.Response"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/CPTrade/QueryPositionCancel": {
  154. "get": {
  155. "security": [
  156. {
  157. "ApiKeyAuth": []
  158. }
  159. ],
  160. "produces": [
  161. "application/json"
  162. ],
  163. "tags": [
  164. "产能预售"
  165. ],
  166. "summary": "查询远期订单注销申请信息",
  167. "parameters": [
  168. {
  169. "type": "integer",
  170. "description": "账户ID",
  171. "name": "userid",
  172. "in": "query",
  173. "required": true
  174. },
  175. {
  176. "type": "integer",
  177. "description": "注销ID",
  178. "name": "cancelid",
  179. "in": "query"
  180. },
  181. {
  182. "type": "integer",
  183. "description": "资金账户ID",
  184. "name": "accountid",
  185. "in": "query"
  186. }
  187. ],
  188. "responses": {
  189. "200": {
  190. "description": "OK",
  191. "schema": {
  192. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  193. }
  194. },
  195. "500": {
  196. "description": "Internal Server Error",
  197. "schema": {
  198. "$ref": "#/definitions/app.Response"
  199. }
  200. }
  201. }
  202. }
  203. },
  204. "/CPTrade/QueryPreasleApply": {
  205. "get": {
  206. "security": [
  207. {
  208. "ApiKeyAuth": []
  209. }
  210. ],
  211. "produces": [
  212. "application/json"
  213. ],
  214. "tags": [
  215. "产能预售"
  216. ],
  217. "summary": "查询产能预售申请信息",
  218. "parameters": [
  219. {
  220. "type": "integer",
  221. "description": "账户ID",
  222. "name": "userid",
  223. "in": "query",
  224. "required": true
  225. },
  226. {
  227. "type": "integer",
  228. "description": "申请ID",
  229. "name": "applyid",
  230. "in": "query"
  231. },
  232. {
  233. "type": "integer",
  234. "description": "资金账户ID",
  235. "name": "accountid",
  236. "in": "query"
  237. }
  238. ],
  239. "responses": {
  240. "200": {
  241. "description": "OK",
  242. "schema": {
  243. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  244. }
  245. },
  246. "500": {
  247. "description": "Internal Server Error",
  248. "schema": {
  249. "$ref": "#/definitions/app.Response"
  250. }
  251. }
  252. }
  253. }
  254. },
  255. "/CPTrade/QueryPresaleGoodsEx": {
  256. "get": {
  257. "security": [
  258. {
  259. "ApiKeyAuth": []
  260. }
  261. ],
  262. "produces": [
  263. "application/json"
  264. ],
  265. "tags": [
  266. "产能预售"
  267. ],
  268. "summary": "查询产能预售商品扩展信息",
  269. "parameters": [
  270. {
  271. "type": "integer",
  272. "description": "预售商品ID",
  273. "name": "goodsid",
  274. "in": "query"
  275. },
  276. {
  277. "type": "integer",
  278. "description": "预售市场ID",
  279. "name": "marketid",
  280. "in": "query"
  281. },
  282. {
  283. "type": "integer",
  284. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  285. "name": "presalemode",
  286. "in": "query"
  287. },
  288. {
  289. "type": "string",
  290. "description": "预售商品ID列表 - 格式:1,2,3",
  291. "name": "goodsids",
  292. "in": "query"
  293. },
  294. {
  295. "type": "string",
  296. "description": "预售商品代码",
  297. "name": "goodscode",
  298. "in": "query"
  299. }
  300. ],
  301. "responses": {
  302. "200": {
  303. "description": "OK",
  304. "schema": {
  305. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  306. }
  307. },
  308. "500": {
  309. "description": "Internal Server Error",
  310. "schema": {
  311. "$ref": "#/definitions/app.Response"
  312. }
  313. }
  314. }
  315. }
  316. },
  317. "/CPTrade/QueryUserGoodsData": {
  318. "get": {
  319. "security": [
  320. {
  321. "ApiKeyAuth": []
  322. }
  323. ],
  324. "produces": [
  325. "application/json"
  326. ],
  327. "tags": [
  328. "产能预售"
  329. ],
  330. "summary": "查询远期订单信息",
  331. "parameters": [
  332. {
  333. "type": "integer",
  334. "description": "资金账户ID",
  335. "name": "accountid",
  336. "in": "query",
  337. "required": true
  338. }
  339. ],
  340. "responses": {
  341. "200": {
  342. "description": "OK",
  343. "schema": {
  344. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  345. }
  346. },
  347. "500": {
  348. "description": "Internal Server Error",
  349. "schema": {
  350. "$ref": "#/definitions/app.Response"
  351. }
  352. }
  353. }
  354. }
  355. },
  356. "/Common/GetAllEnums": {
  357. "get": {
  358. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  359. "produces": [
  360. "application/json"
  361. ],
  362. "tags": [
  363. "通用服务"
  364. ],
  365. "summary": "获取所有枚举信息",
  366. "parameters": [
  367. {
  368. "type": "integer",
  369. "description": "起始自增ID",
  370. "name": "autoid",
  371. "in": "query"
  372. }
  373. ],
  374. "responses": {
  375. "200": {
  376. "description": "OK",
  377. "schema": {
  378. "$ref": "#/definitions/models.Enumdicitem"
  379. }
  380. },
  381. "500": {
  382. "description": "Internal Server Error",
  383. "schema": {
  384. "$ref": "#/definitions/app.Response"
  385. }
  386. }
  387. }
  388. }
  389. },
  390. "/Common/GetClientMenus": {
  391. "get": {
  392. "security": [
  393. {
  394. "ApiKeyAuth": []
  395. }
  396. ],
  397. "produces": [
  398. "application/json"
  399. ],
  400. "tags": [
  401. "通用服务"
  402. ],
  403. "summary": "获取交易端菜单",
  404. "parameters": [
  405. {
  406. "type": "integer",
  407. "description": "登录账号",
  408. "name": "loginID",
  409. "in": "query",
  410. "required": true
  411. },
  412. {
  413. "type": "integer",
  414. "description": "终端类型,0:PC 1:Mobile",
  415. "name": "clientType",
  416. "in": "query"
  417. }
  418. ],
  419. "responses": {
  420. "200": {
  421. "description": "OK",
  422. "schema": {
  423. "type": "array",
  424. "items": {
  425. "$ref": "#/definitions/common.ClientMenu"
  426. }
  427. }
  428. },
  429. "500": {
  430. "description": "Internal Server Error",
  431. "schema": {
  432. "$ref": "#/definitions/app.Response"
  433. }
  434. }
  435. }
  436. }
  437. },
  438. "/Common/GetDivisions": {
  439. "get": {
  440. "produces": [
  441. "application/json"
  442. ],
  443. "tags": [
  444. "通用服务"
  445. ],
  446. "summary": "查询区域信息",
  447. "responses": {
  448. "200": {
  449. "description": "OK",
  450. "schema": {
  451. "$ref": "#/definitions/models.Division"
  452. }
  453. },
  454. "500": {
  455. "description": "Internal Server Error",
  456. "schema": {
  457. "$ref": "#/definitions/app.Response"
  458. }
  459. }
  460. }
  461. }
  462. },
  463. "/Common/GetServerTime": {
  464. "get": {
  465. "produces": [
  466. "application/json"
  467. ],
  468. "tags": [
  469. "通用服务"
  470. ],
  471. "summary": "获取服务器时间",
  472. "responses": {
  473. "200": {
  474. "description": "OK",
  475. "schema": {
  476. "$ref": "#/definitions/app.Response"
  477. }
  478. },
  479. "500": {
  480. "description": "Internal Server Error",
  481. "schema": {
  482. "$ref": "#/definitions/app.Response"
  483. }
  484. }
  485. }
  486. }
  487. },
  488. "/Common/NoticeReaded": {
  489. "post": {
  490. "security": [
  491. {
  492. "ApiKeyAuth": []
  493. }
  494. ],
  495. "produces": [
  496. "application/json"
  497. ],
  498. "tags": [
  499. "通用服务"
  500. ],
  501. "summary": "通知公告设置已读请求",
  502. "parameters": [
  503. {
  504. "type": "integer",
  505. "description": "登录账号",
  506. "name": "loginID",
  507. "in": "query",
  508. "required": true
  509. },
  510. {
  511. "type": "integer",
  512. "description": "通知公告ID",
  513. "name": "noticeID",
  514. "in": "query",
  515. "required": true
  516. }
  517. ],
  518. "responses": {
  519. "200": {
  520. "description": "OK",
  521. "schema": {
  522. "$ref": "#/definitions/app.Response"
  523. }
  524. },
  525. "500": {
  526. "description": "Internal Server Error",
  527. "schema": {
  528. "$ref": "#/definitions/app.Response"
  529. }
  530. }
  531. }
  532. }
  533. },
  534. "/Common/QueryErrorInfos": {
  535. "get": {
  536. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  537. "produces": [
  538. "application/json"
  539. ],
  540. "tags": [
  541. "通用服务"
  542. ],
  543. "summary": "获取数据库错误信息",
  544. "parameters": [
  545. {
  546. "type": "string",
  547. "description": "起始行号前索引",
  548. "name": "rowNumber",
  549. "in": "query"
  550. }
  551. ],
  552. "responses": {
  553. "200": {
  554. "description": "OK",
  555. "schema": {
  556. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  557. }
  558. },
  559. "500": {
  560. "description": "Internal Server Error",
  561. "schema": {
  562. "$ref": "#/definitions/app.Response"
  563. }
  564. }
  565. }
  566. }
  567. },
  568. "/Common/QueryImageConfigs": {
  569. "get": {
  570. "produces": [
  571. "application/json"
  572. ],
  573. "tags": [
  574. "通用服务"
  575. ],
  576. "summary": "查询轮播图配置信息",
  577. "parameters": [
  578. {
  579. "type": "integer",
  580. "description": "类型 - 1:App首页轮播 2:我的",
  581. "name": "imageType",
  582. "in": "query"
  583. }
  584. ],
  585. "responses": {
  586. "200": {
  587. "description": "OK",
  588. "schema": {
  589. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  590. }
  591. },
  592. "500": {
  593. "description": "Internal Server Error",
  594. "schema": {
  595. "$ref": "#/definitions/app.Response"
  596. }
  597. }
  598. }
  599. }
  600. },
  601. "/Common/QueryNotice": {
  602. "get": {
  603. "security": [
  604. {
  605. "ApiKeyAuth": []
  606. }
  607. ],
  608. "produces": [
  609. "application/json"
  610. ],
  611. "tags": [
  612. "通用服务"
  613. ],
  614. "summary": "通知公告系统消息查询",
  615. "parameters": [
  616. {
  617. "type": "integer",
  618. "description": "页码",
  619. "name": "page",
  620. "in": "query"
  621. },
  622. {
  623. "type": "integer",
  624. "description": "每页条数",
  625. "name": "pagesize",
  626. "in": "query"
  627. },
  628. {
  629. "type": "integer",
  630. "description": "登录账号",
  631. "name": "loginID",
  632. "in": "query",
  633. "required": true
  634. },
  635. {
  636. "type": "integer",
  637. "description": "消息类型 - 1:公告通知 2:系统消息",
  638. "name": "msgType",
  639. "in": "query"
  640. },
  641. {
  642. "type": "boolean",
  643. "description": "是否只获取未读信息",
  644. "name": "onlyUnRead",
  645. "in": "query"
  646. },
  647. {
  648. "type": "integer",
  649. "description": "自增ID,传入后会返回这个ID后面的记录",
  650. "name": "lastID",
  651. "in": "query"
  652. }
  653. ],
  654. "responses": {
  655. "200": {
  656. "description": "OK",
  657. "schema": {
  658. "$ref": "#/definitions/common.QueryNoticeRsp"
  659. }
  660. },
  661. "500": {
  662. "description": "Internal Server Error",
  663. "schema": {
  664. "$ref": "#/definitions/app.Response"
  665. }
  666. }
  667. }
  668. }
  669. },
  670. "/Common/QueryProvincesAndCities": {
  671. "get": {
  672. "produces": [
  673. "application/json"
  674. ],
  675. "tags": [
  676. "通用服务"
  677. ],
  678. "summary": "查询省市信息(不包括区)",
  679. "parameters": [
  680. {
  681. "type": "integer",
  682. "description": "省ID",
  683. "name": "provinceID",
  684. "in": "query"
  685. }
  686. ],
  687. "responses": {
  688. "200": {
  689. "description": "OK",
  690. "schema": {
  691. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  692. }
  693. },
  694. "500": {
  695. "description": "Internal Server Error",
  696. "schema": {
  697. "$ref": "#/definitions/app.Response"
  698. }
  699. }
  700. }
  701. }
  702. },
  703. "/Common/QueryTableDefine": {
  704. "get": {
  705. "produces": [
  706. "application/json"
  707. ],
  708. "tags": [
  709. "通用服务"
  710. ],
  711. "summary": "查询交易端列表头信息",
  712. "parameters": [
  713. {
  714. "type": "string",
  715. "description": "表key",
  716. "name": "tableKey",
  717. "in": "query"
  718. },
  719. {
  720. "type": "integer",
  721. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  722. "name": "tableType",
  723. "in": "query"
  724. }
  725. ],
  726. "responses": {
  727. "200": {
  728. "description": "OK",
  729. "schema": {
  730. "$ref": "#/definitions/common.QueryTableDefineRsp"
  731. }
  732. },
  733. "500": {
  734. "description": "Internal Server Error",
  735. "schema": {
  736. "$ref": "#/definitions/app.Response"
  737. }
  738. }
  739. }
  740. }
  741. },
  742. "/Common/QueryTraderMenu": {
  743. "get": {
  744. "produces": [
  745. "application/json"
  746. ],
  747. "tags": [
  748. "通用服务"
  749. ],
  750. "summary": "查询交易端菜单",
  751. "parameters": [
  752. {
  753. "type": "integer",
  754. "description": "登录账号",
  755. "name": "loginid",
  756. "in": "query",
  757. "required": true
  758. }
  759. ],
  760. "responses": {
  761. "200": {
  762. "description": "OK",
  763. "schema": {
  764. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  765. }
  766. },
  767. "500": {
  768. "description": "Internal Server Error",
  769. "schema": {
  770. "$ref": "#/definitions/app.Response"
  771. }
  772. }
  773. }
  774. }
  775. },
  776. "/Delivery/QueryDeliveryRelation": {
  777. "get": {
  778. "security": [
  779. {
  780. "ApiKeyAuth": []
  781. }
  782. ],
  783. "produces": [
  784. "application/json"
  785. ],
  786. "tags": [
  787. "交割服务"
  788. ],
  789. "summary": "查询商品交割关系表",
  790. "parameters": [
  791. {
  792. "type": "integer",
  793. "description": "商品ID",
  794. "name": "goodsid",
  795. "in": "query"
  796. },
  797. {
  798. "type": "integer",
  799. "description": "品种ID",
  800. "name": "deliverygoodsid",
  801. "in": "query"
  802. },
  803. {
  804. "type": "integer",
  805. "description": "市场ID",
  806. "name": "marketid",
  807. "in": "query"
  808. }
  809. ],
  810. "responses": {
  811. "200": {
  812. "description": "OK",
  813. "schema": {
  814. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  815. }
  816. },
  817. "500": {
  818. "description": "Internal Server Error",
  819. "schema": {
  820. "$ref": "#/definitions/app.Response"
  821. }
  822. }
  823. }
  824. }
  825. },
  826. "/Ermcp/GetErmcpGoods": {
  827. "get": {
  828. "security": [
  829. {
  830. "ApiKeyAuth": []
  831. }
  832. ],
  833. "produces": [
  834. "application/json"
  835. ],
  836. "tags": [
  837. "企业风险管理(app)"
  838. ],
  839. "summary": "查询企业风管期货商品信息",
  840. "parameters": [
  841. {
  842. "type": "string",
  843. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  844. "name": "lastUpdateTime",
  845. "in": "query"
  846. }
  847. ],
  848. "responses": {
  849. "200": {
  850. "description": "OK",
  851. "schema": {
  852. "$ref": "#/definitions/models.Goods"
  853. }
  854. },
  855. "500": {
  856. "description": "Internal Server Error",
  857. "schema": {
  858. "$ref": "#/definitions/app.Response"
  859. }
  860. }
  861. }
  862. }
  863. },
  864. "/Ermcp/GetErmcpGoodsSortByPosition": {
  865. "get": {
  866. "security": [
  867. {
  868. "ApiKeyAuth": []
  869. }
  870. ],
  871. "produces": [
  872. "application/json"
  873. ],
  874. "tags": [
  875. "企业风险管理(app)"
  876. ],
  877. "summary": "查询企业风管期货主力、次主力商品信息",
  878. "parameters": [
  879. {
  880. "type": "string",
  881. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  882. "name": "sortIndex",
  883. "in": "query"
  884. }
  885. ],
  886. "responses": {
  887. "200": {
  888. "description": "OK",
  889. "schema": {
  890. "$ref": "#/definitions/models.Goodssortbypreposition"
  891. }
  892. },
  893. "500": {
  894. "description": "Internal Server Error",
  895. "schema": {
  896. "$ref": "#/definitions/app.Response"
  897. }
  898. }
  899. }
  900. }
  901. },
  902. "/Ermcp/GetErmcpOutAccountStatus": {
  903. "get": {
  904. "security": [
  905. {
  906. "ApiKeyAuth": []
  907. }
  908. ],
  909. "produces": [
  910. "application/json"
  911. ],
  912. "tags": [
  913. "企业风险管理(app)"
  914. ],
  915. "summary": "获取目标登录账号当前对冲账号在线状态",
  916. "parameters": [
  917. {
  918. "type": "integer",
  919. "description": "登录账号",
  920. "name": "loginID",
  921. "in": "query",
  922. "required": true
  923. }
  924. ],
  925. "responses": {
  926. "200": {
  927. "description": "OK",
  928. "schema": {
  929. "$ref": "#/definitions/models.Hedgemarketopenlog"
  930. }
  931. },
  932. "500": {
  933. "description": "Internal Server Error",
  934. "schema": {
  935. "$ref": "#/definitions/app.Response"
  936. }
  937. }
  938. }
  939. }
  940. },
  941. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  942. "get": {
  943. "security": [
  944. {
  945. "ApiKeyAuth": []
  946. }
  947. ],
  948. "produces": [
  949. "application/json"
  950. ],
  951. "tags": [
  952. "企业风险管理(app)"
  953. ],
  954. "summary": "获取企业风管终端权限",
  955. "parameters": [
  956. {
  957. "type": "integer",
  958. "description": "登录账号",
  959. "name": "loginID",
  960. "in": "query",
  961. "required": true
  962. }
  963. ],
  964. "responses": {
  965. "200": {
  966. "description": "OK",
  967. "schema": {
  968. "$ref": "#/definitions/models.Funcmenulist"
  969. }
  970. },
  971. "500": {
  972. "description": "Internal Server Error",
  973. "schema": {
  974. "$ref": "#/definitions/app.Response"
  975. }
  976. }
  977. }
  978. }
  979. },
  980. "/Ermcp/QueryAccMgrBizGroupSet": {
  981. "get": {
  982. "security": [
  983. {
  984. "ApiKeyAuth": []
  985. }
  986. ],
  987. "produces": [
  988. "application/json"
  989. ],
  990. "tags": [
  991. "企业风险管理(app)"
  992. ],
  993. "summary": "查询业务类型分组(账户管理/账户设置)",
  994. "parameters": [
  995. {
  996. "type": "integer",
  997. "description": "用户ID",
  998. "name": "userid",
  999. "in": "query",
  1000. "required": true
  1001. },
  1002. {
  1003. "type": "integer",
  1004. "description": "现货商品id",
  1005. "name": "deliverygoodsid",
  1006. "in": "query"
  1007. }
  1008. ],
  1009. "responses": {
  1010. "200": {
  1011. "description": "OK",
  1012. "schema": {
  1013. "type": "array",
  1014. "items": {
  1015. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1016. }
  1017. }
  1018. },
  1019. "500": {
  1020. "description": "Internal Server Error",
  1021. "schema": {
  1022. "$ref": "#/definitions/app.Response"
  1023. }
  1024. }
  1025. }
  1026. }
  1027. },
  1028. "/Ermcp/QueryAccMgrLoginUser": {
  1029. "get": {
  1030. "security": [
  1031. {
  1032. "ApiKeyAuth": []
  1033. }
  1034. ],
  1035. "produces": [
  1036. "application/json"
  1037. ],
  1038. "tags": [
  1039. "企业风险管理(app)"
  1040. ],
  1041. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1042. "parameters": [
  1043. {
  1044. "type": "integer",
  1045. "description": "用户ID",
  1046. "name": "userid",
  1047. "in": "query",
  1048. "required": true
  1049. },
  1050. {
  1051. "type": "integer",
  1052. "description": "用户类型 2-机构 7-企业成员",
  1053. "name": "usertype",
  1054. "in": "query"
  1055. },
  1056. {
  1057. "type": "integer",
  1058. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1059. "name": "querytype",
  1060. "in": "query",
  1061. "required": true
  1062. }
  1063. ],
  1064. "responses": {
  1065. "200": {
  1066. "description": "OK",
  1067. "schema": {
  1068. "type": "array",
  1069. "items": {
  1070. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1071. }
  1072. }
  1073. },
  1074. "500": {
  1075. "description": "Internal Server Error",
  1076. "schema": {
  1077. "$ref": "#/definitions/app.Response"
  1078. }
  1079. }
  1080. }
  1081. }
  1082. },
  1083. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1084. "get": {
  1085. "security": [
  1086. {
  1087. "ApiKeyAuth": []
  1088. }
  1089. ],
  1090. "produces": [
  1091. "application/json"
  1092. ],
  1093. "tags": [
  1094. "企业风险管理(app)"
  1095. ],
  1096. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1097. "parameters": [
  1098. {
  1099. "type": "integer",
  1100. "description": "用户ID",
  1101. "name": "userid",
  1102. "in": "query"
  1103. },
  1104. {
  1105. "type": "integer",
  1106. "description": "主账号id",
  1107. "name": "accountid",
  1108. "in": "query"
  1109. }
  1110. ],
  1111. "responses": {
  1112. "200": {
  1113. "description": "OK",
  1114. "schema": {
  1115. "type": "array",
  1116. "items": {
  1117. "$ref": "#/definitions/models.MainAccountInfo"
  1118. }
  1119. }
  1120. },
  1121. "500": {
  1122. "description": "Internal Server Error",
  1123. "schema": {
  1124. "$ref": "#/definitions/app.Response"
  1125. }
  1126. }
  1127. }
  1128. }
  1129. },
  1130. "/Ermcp/QueryAccMgrRole": {
  1131. "get": {
  1132. "security": [
  1133. {
  1134. "ApiKeyAuth": []
  1135. }
  1136. ],
  1137. "produces": [
  1138. "application/json"
  1139. ],
  1140. "tags": [
  1141. "企业风险管理(app)"
  1142. ],
  1143. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1144. "parameters": [
  1145. {
  1146. "type": "integer",
  1147. "description": "用户ID",
  1148. "name": "userid",
  1149. "in": "query",
  1150. "required": true
  1151. }
  1152. ],
  1153. "responses": {
  1154. "200": {
  1155. "description": "OK",
  1156. "schema": {
  1157. "type": "array",
  1158. "items": {
  1159. "$ref": "#/definitions/models.ErmcpRole"
  1160. }
  1161. }
  1162. },
  1163. "500": {
  1164. "description": "Internal Server Error",
  1165. "schema": {
  1166. "$ref": "#/definitions/app.Response"
  1167. }
  1168. }
  1169. }
  1170. }
  1171. },
  1172. "/Ermcp/QueryAccMgrRoleMenu": {
  1173. "get": {
  1174. "security": [
  1175. {
  1176. "ApiKeyAuth": []
  1177. }
  1178. ],
  1179. "produces": [
  1180. "application/json"
  1181. ],
  1182. "tags": [
  1183. "企业风险管理(app)"
  1184. ],
  1185. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1186. "parameters": [
  1187. {
  1188. "type": "integer",
  1189. "description": "用户ID",
  1190. "name": "userid",
  1191. "in": "query",
  1192. "required": true
  1193. },
  1194. {
  1195. "type": "string",
  1196. "description": "角色id(可多个,逗号隔开)",
  1197. "name": "roleid",
  1198. "in": "query"
  1199. }
  1200. ],
  1201. "responses": {
  1202. "200": {
  1203. "description": "OK",
  1204. "schema": {
  1205. "type": "array",
  1206. "items": {
  1207. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1208. }
  1209. }
  1210. },
  1211. "500": {
  1212. "description": "Internal Server Error",
  1213. "schema": {
  1214. "$ref": "#/definitions/app.Response"
  1215. }
  1216. }
  1217. }
  1218. }
  1219. },
  1220. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1221. "get": {
  1222. "security": [
  1223. {
  1224. "ApiKeyAuth": []
  1225. }
  1226. ],
  1227. "produces": [
  1228. "application/json"
  1229. ],
  1230. "tags": [
  1231. "企业风险管理(app)"
  1232. ],
  1233. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1234. "parameters": [
  1235. {
  1236. "type": "integer",
  1237. "description": "用户ID",
  1238. "name": "userid",
  1239. "in": "query",
  1240. "required": true
  1241. },
  1242. {
  1243. "type": "integer",
  1244. "description": "账号id",
  1245. "name": "accountid",
  1246. "in": "query"
  1247. }
  1248. ],
  1249. "responses": {
  1250. "200": {
  1251. "description": "OK",
  1252. "schema": {
  1253. "type": "array",
  1254. "items": {
  1255. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1256. }
  1257. }
  1258. },
  1259. "500": {
  1260. "description": "Internal Server Error",
  1261. "schema": {
  1262. "$ref": "#/definitions/app.Response"
  1263. }
  1264. }
  1265. }
  1266. }
  1267. },
  1268. "/Ermcp/QueryAccMgrTaaccount": {
  1269. "get": {
  1270. "security": [
  1271. {
  1272. "ApiKeyAuth": []
  1273. }
  1274. ],
  1275. "produces": [
  1276. "application/json"
  1277. ],
  1278. "tags": [
  1279. "企业风险管理(app)"
  1280. ],
  1281. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1282. "parameters": [
  1283. {
  1284. "type": "integer",
  1285. "description": "用户ID",
  1286. "name": "userid",
  1287. "in": "query",
  1288. "required": true
  1289. }
  1290. ],
  1291. "responses": {
  1292. "200": {
  1293. "description": "OK",
  1294. "schema": {
  1295. "type": "array",
  1296. "items": {
  1297. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1298. }
  1299. }
  1300. },
  1301. "500": {
  1302. "description": "Internal Server Error",
  1303. "schema": {
  1304. "$ref": "#/definitions/app.Response"
  1305. }
  1306. }
  1307. }
  1308. }
  1309. },
  1310. "/Ermcp/QueryAvaildGoodsGroup": {
  1311. "get": {
  1312. "security": [
  1313. {
  1314. "ApiKeyAuth": []
  1315. }
  1316. ],
  1317. "produces": [
  1318. "application/json"
  1319. ],
  1320. "tags": [
  1321. "企业风险管理(app)"
  1322. ],
  1323. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1324. "parameters": [
  1325. {
  1326. "type": "integer",
  1327. "description": "所属机构ID",
  1328. "name": "userid",
  1329. "in": "query",
  1330. "required": true
  1331. }
  1332. ],
  1333. "responses": {
  1334. "200": {
  1335. "description": "OK",
  1336. "schema": {
  1337. "type": "array",
  1338. "items": {
  1339. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1340. }
  1341. }
  1342. },
  1343. "500": {
  1344. "description": "Internal Server Error",
  1345. "schema": {
  1346. "$ref": "#/definitions/app.Response"
  1347. }
  1348. }
  1349. }
  1350. }
  1351. },
  1352. "/Ermcp/QueryChangeLog": {
  1353. "get": {
  1354. "security": [
  1355. {
  1356. "ApiKeyAuth": []
  1357. }
  1358. ],
  1359. "produces": [
  1360. "application/json"
  1361. ],
  1362. "tags": [
  1363. "企业风险管理(app)"
  1364. ],
  1365. "summary": "查询变更记录",
  1366. "parameters": [
  1367. {
  1368. "type": "string",
  1369. "description": "合同ID",
  1370. "name": "RelatedId",
  1371. "in": "query",
  1372. "required": true
  1373. }
  1374. ],
  1375. "responses": {
  1376. "200": {
  1377. "description": "OK",
  1378. "schema": {
  1379. "type": "array",
  1380. "items": {
  1381. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1382. }
  1383. }
  1384. },
  1385. "500": {
  1386. "description": "Internal Server Error",
  1387. "schema": {
  1388. "$ref": "#/definitions/app.Response"
  1389. }
  1390. }
  1391. }
  1392. }
  1393. },
  1394. "/Ermcp/QueryErmcpHisOrderDetails": {
  1395. "get": {
  1396. "security": [
  1397. {
  1398. "ApiKeyAuth": []
  1399. }
  1400. ],
  1401. "produces": [
  1402. "application/json"
  1403. ],
  1404. "tags": [
  1405. "企业风险管理(app)"
  1406. ],
  1407. "summary": "获取企业风管期货历史委托单信息",
  1408. "parameters": [
  1409. {
  1410. "type": "integer",
  1411. "description": "资金账户ID",
  1412. "name": "accountID",
  1413. "in": "query",
  1414. "required": true
  1415. },
  1416. {
  1417. "type": "string",
  1418. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1419. "name": "startDate",
  1420. "in": "query"
  1421. },
  1422. {
  1423. "type": "string",
  1424. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1425. "name": "endDate",
  1426. "in": "query"
  1427. }
  1428. ],
  1429. "responses": {
  1430. "200": {
  1431. "description": "OK",
  1432. "schema": {
  1433. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1434. }
  1435. },
  1436. "500": {
  1437. "description": "Internal Server Error",
  1438. "schema": {
  1439. "$ref": "#/definitions/app.Response"
  1440. }
  1441. }
  1442. }
  1443. }
  1444. },
  1445. "/Ermcp/QueryErmcpHisTradeDetails": {
  1446. "get": {
  1447. "security": [
  1448. {
  1449. "ApiKeyAuth": []
  1450. }
  1451. ],
  1452. "produces": [
  1453. "application/json"
  1454. ],
  1455. "tags": [
  1456. "企业风险管理(app)"
  1457. ],
  1458. "summary": "获取企业风管期货历史成交单信息",
  1459. "parameters": [
  1460. {
  1461. "type": "integer",
  1462. "description": "资金账户ID",
  1463. "name": "accountID",
  1464. "in": "query",
  1465. "required": true
  1466. },
  1467. {
  1468. "type": "integer",
  1469. "description": "商品ID",
  1470. "name": "goodsID",
  1471. "in": "query"
  1472. },
  1473. {
  1474. "type": "integer",
  1475. "description": "买卖方向,0:买 1:卖",
  1476. "name": "buyOrSell",
  1477. "in": "query"
  1478. },
  1479. {
  1480. "type": "integer",
  1481. "description": "关联委托单号",
  1482. "name": "orderID",
  1483. "in": "query"
  1484. },
  1485. {
  1486. "type": "string",
  1487. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1488. "name": "startDate",
  1489. "in": "query"
  1490. },
  1491. {
  1492. "type": "string",
  1493. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1494. "name": "endDate",
  1495. "in": "query"
  1496. }
  1497. ],
  1498. "responses": {
  1499. "200": {
  1500. "description": "OK",
  1501. "schema": {
  1502. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1503. }
  1504. },
  1505. "500": {
  1506. "description": "Internal Server Error",
  1507. "schema": {
  1508. "$ref": "#/definitions/app.Response"
  1509. }
  1510. }
  1511. }
  1512. }
  1513. },
  1514. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1515. "get": {
  1516. "security": [
  1517. {
  1518. "ApiKeyAuth": []
  1519. }
  1520. ],
  1521. "produces": [
  1522. "application/json"
  1523. ],
  1524. "tags": [
  1525. "企业风险管理(app)"
  1526. ],
  1527. "summary": "获取企业风管期货内部持仓单信息",
  1528. "parameters": [
  1529. {
  1530. "type": "integer",
  1531. "description": "资金账户ID",
  1532. "name": "accountID",
  1533. "in": "query",
  1534. "required": true
  1535. },
  1536. {
  1537. "type": "integer",
  1538. "description": "商品ID",
  1539. "name": "goodsID",
  1540. "in": "query"
  1541. },
  1542. {
  1543. "type": "integer",
  1544. "description": "买卖方向,0:买 1:卖",
  1545. "name": "buyOrSell",
  1546. "in": "query"
  1547. }
  1548. ],
  1549. "responses": {
  1550. "200": {
  1551. "description": "OK",
  1552. "schema": {
  1553. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1554. }
  1555. },
  1556. "500": {
  1557. "description": "Internal Server Error",
  1558. "schema": {
  1559. "$ref": "#/definitions/app.Response"
  1560. }
  1561. }
  1562. }
  1563. }
  1564. },
  1565. "/Ermcp/QueryErmcpOrderDetails": {
  1566. "get": {
  1567. "security": [
  1568. {
  1569. "ApiKeyAuth": []
  1570. }
  1571. ],
  1572. "produces": [
  1573. "application/json"
  1574. ],
  1575. "tags": [
  1576. "企业风险管理(app)"
  1577. ],
  1578. "summary": "获取企业风管期货委托单信息",
  1579. "parameters": [
  1580. {
  1581. "type": "integer",
  1582. "description": "资金账户ID",
  1583. "name": "accountID",
  1584. "in": "query",
  1585. "required": true
  1586. }
  1587. ],
  1588. "responses": {
  1589. "200": {
  1590. "description": "OK",
  1591. "schema": {
  1592. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1593. }
  1594. },
  1595. "500": {
  1596. "description": "Internal Server Error",
  1597. "schema": {
  1598. "$ref": "#/definitions/app.Response"
  1599. }
  1600. }
  1601. }
  1602. }
  1603. },
  1604. "/Ermcp/QueryErmcpTradeDetails": {
  1605. "get": {
  1606. "security": [
  1607. {
  1608. "ApiKeyAuth": []
  1609. }
  1610. ],
  1611. "produces": [
  1612. "application/json"
  1613. ],
  1614. "tags": [
  1615. "企业风险管理(app)"
  1616. ],
  1617. "summary": "获取企业风管期货成交单信息",
  1618. "parameters": [
  1619. {
  1620. "type": "integer",
  1621. "description": "资金账户ID",
  1622. "name": "accountID",
  1623. "in": "query",
  1624. "required": true
  1625. },
  1626. {
  1627. "type": "integer",
  1628. "description": "商品ID",
  1629. "name": "goodsID",
  1630. "in": "query"
  1631. },
  1632. {
  1633. "type": "integer",
  1634. "description": "买卖方向,0:买 1:卖",
  1635. "name": "buyOrSell",
  1636. "in": "query"
  1637. },
  1638. {
  1639. "type": "integer",
  1640. "description": "关联委托单号",
  1641. "name": "orderID",
  1642. "in": "query"
  1643. }
  1644. ],
  1645. "responses": {
  1646. "200": {
  1647. "description": "OK",
  1648. "schema": {
  1649. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1650. }
  1651. },
  1652. "500": {
  1653. "description": "Internal Server Error",
  1654. "schema": {
  1655. "$ref": "#/definitions/app.Response"
  1656. }
  1657. }
  1658. }
  1659. }
  1660. },
  1661. "/Ermcp/QueryErmcpTradePosition": {
  1662. "get": {
  1663. "security": [
  1664. {
  1665. "ApiKeyAuth": []
  1666. }
  1667. ],
  1668. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1669. "produces": [
  1670. "application/json"
  1671. ],
  1672. "tags": [
  1673. "企业风险管理(app)"
  1674. ],
  1675. "summary": "获取企业风管期货持仓头寸信息",
  1676. "parameters": [
  1677. {
  1678. "type": "integer",
  1679. "description": "资金账户ID",
  1680. "name": "accountID",
  1681. "in": "query",
  1682. "required": true
  1683. },
  1684. {
  1685. "type": "integer",
  1686. "description": "所属市场ID",
  1687. "name": "marketID",
  1688. "in": "query"
  1689. }
  1690. ],
  1691. "responses": {
  1692. "200": {
  1693. "description": "OK",
  1694. "schema": {
  1695. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1696. }
  1697. },
  1698. "500": {
  1699. "description": "Internal Server Error",
  1700. "schema": {
  1701. "$ref": "#/definitions/app.Response"
  1702. }
  1703. }
  1704. }
  1705. }
  1706. },
  1707. "/Ermcp/QueryExposureDetail": {
  1708. "get": {
  1709. "security": [
  1710. {
  1711. "ApiKeyAuth": []
  1712. }
  1713. ],
  1714. "produces": [
  1715. "application/json"
  1716. ],
  1717. "tags": [
  1718. "企业风险管理(app)"
  1719. ],
  1720. "summary": "查询敞口现货明细",
  1721. "parameters": [
  1722. {
  1723. "type": "integer",
  1724. "description": "所属机构ID",
  1725. "name": "areaUserId",
  1726. "in": "query",
  1727. "required": true
  1728. },
  1729. {
  1730. "type": "integer",
  1731. "description": "套保商品",
  1732. "name": "middleGoodsId",
  1733. "in": "query",
  1734. "required": true
  1735. }
  1736. ],
  1737. "responses": {
  1738. "200": {
  1739. "description": "OK",
  1740. "schema": {
  1741. "type": "array",
  1742. "items": {
  1743. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1744. }
  1745. }
  1746. },
  1747. "500": {
  1748. "description": "Internal Server Error",
  1749. "schema": {
  1750. "$ref": "#/definitions/app.Response"
  1751. }
  1752. }
  1753. }
  1754. }
  1755. },
  1756. "/Ermcp/QueryExposureHedgePosition": {
  1757. "get": {
  1758. "security": [
  1759. {
  1760. "ApiKeyAuth": []
  1761. }
  1762. ],
  1763. "produces": [
  1764. "application/json"
  1765. ],
  1766. "tags": [
  1767. "企业风险管理(app)"
  1768. ],
  1769. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1770. "parameters": [
  1771. {
  1772. "type": "integer",
  1773. "description": "用户id",
  1774. "name": "userid",
  1775. "in": "query",
  1776. "required": true
  1777. }
  1778. ],
  1779. "responses": {
  1780. "200": {
  1781. "description": "OK",
  1782. "schema": {
  1783. "type": "array",
  1784. "items": {
  1785. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1786. }
  1787. }
  1788. },
  1789. "500": {
  1790. "description": "Internal Server Error",
  1791. "schema": {
  1792. "$ref": "#/definitions/app.Response"
  1793. }
  1794. }
  1795. }
  1796. }
  1797. },
  1798. "/Ermcp/QueryExposureHedgePositionDetail": {
  1799. "get": {
  1800. "security": [
  1801. {
  1802. "ApiKeyAuth": []
  1803. }
  1804. ],
  1805. "produces": [
  1806. "application/json"
  1807. ],
  1808. "tags": [
  1809. "企业风险管理(app)"
  1810. ],
  1811. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1812. "parameters": [
  1813. {
  1814. "type": "integer",
  1815. "description": "所属机构ID",
  1816. "name": "userid",
  1817. "in": "query",
  1818. "required": true
  1819. },
  1820. {
  1821. "type": "integer",
  1822. "description": "商品id",
  1823. "name": "goodsId",
  1824. "in": "query",
  1825. "required": true
  1826. }
  1827. ],
  1828. "responses": {
  1829. "200": {
  1830. "description": "OK",
  1831. "schema": {
  1832. "type": "array",
  1833. "items": {
  1834. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1835. }
  1836. }
  1837. },
  1838. "500": {
  1839. "description": "Internal Server Error",
  1840. "schema": {
  1841. "$ref": "#/definitions/app.Response"
  1842. }
  1843. }
  1844. }
  1845. }
  1846. },
  1847. "/Ermcp/QueryExposureSpot": {
  1848. "get": {
  1849. "security": [
  1850. {
  1851. "ApiKeyAuth": []
  1852. }
  1853. ],
  1854. "produces": [
  1855. "application/json"
  1856. ],
  1857. "tags": [
  1858. "企业风险管理(app)"
  1859. ],
  1860. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1861. "parameters": [
  1862. {
  1863. "type": "integer",
  1864. "description": "所属机构ID",
  1865. "name": "areaUserId",
  1866. "in": "query",
  1867. "required": true
  1868. }
  1869. ],
  1870. "responses": {
  1871. "200": {
  1872. "description": "OK",
  1873. "schema": {
  1874. "type": "array",
  1875. "items": {
  1876. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1877. }
  1878. }
  1879. },
  1880. "500": {
  1881. "description": "Internal Server Error",
  1882. "schema": {
  1883. "$ref": "#/definitions/app.Response"
  1884. }
  1885. }
  1886. }
  1887. }
  1888. },
  1889. "/Ermcp/QueryExposureSpotDetail": {
  1890. "get": {
  1891. "security": [
  1892. {
  1893. "ApiKeyAuth": []
  1894. }
  1895. ],
  1896. "produces": [
  1897. "application/json"
  1898. ],
  1899. "tags": [
  1900. "企业风险管理(app)"
  1901. ],
  1902. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1903. "parameters": [
  1904. {
  1905. "type": "integer",
  1906. "description": "所属机构ID",
  1907. "name": "areaUserId",
  1908. "in": "query",
  1909. "required": true
  1910. },
  1911. {
  1912. "type": "integer",
  1913. "description": "现货品种ID",
  1914. "name": "wrstandardId",
  1915. "in": "query",
  1916. "required": true
  1917. }
  1918. ],
  1919. "responses": {
  1920. "200": {
  1921. "description": "OK",
  1922. "schema": {
  1923. "type": "array",
  1924. "items": {
  1925. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1926. }
  1927. }
  1928. },
  1929. "500": {
  1930. "description": "Internal Server Error",
  1931. "schema": {
  1932. "$ref": "#/definitions/app.Response"
  1933. }
  1934. }
  1935. }
  1936. }
  1937. },
  1938. "/Ermcp/QueryFuturesCompany": {
  1939. "get": {
  1940. "security": [
  1941. {
  1942. "ApiKeyAuth": []
  1943. }
  1944. ],
  1945. "produces": [
  1946. "application/json"
  1947. ],
  1948. "tags": [
  1949. "企业风险管理(app)"
  1950. ],
  1951. "summary": "查询期货公司",
  1952. "responses": {
  1953. "200": {
  1954. "description": "OK",
  1955. "schema": {
  1956. "type": "array",
  1957. "items": {
  1958. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  1959. }
  1960. }
  1961. },
  1962. "500": {
  1963. "description": "Internal Server Error",
  1964. "schema": {
  1965. "$ref": "#/definitions/app.Response"
  1966. }
  1967. }
  1968. }
  1969. }
  1970. },
  1971. "/Ermcp/QueryGGConvertConfig": {
  1972. "get": {
  1973. "security": [
  1974. {
  1975. "ApiKeyAuth": []
  1976. }
  1977. ],
  1978. "produces": [
  1979. "application/json"
  1980. ],
  1981. "tags": [
  1982. "企业风险管理(app)"
  1983. ],
  1984. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1985. "parameters": [
  1986. {
  1987. "type": "integer",
  1988. "description": "品种id(不填则查所有)",
  1989. "name": "goodsgroupid",
  1990. "in": "query"
  1991. }
  1992. ],
  1993. "responses": {
  1994. "200": {
  1995. "description": "OK",
  1996. "schema": {
  1997. "type": "array",
  1998. "items": {
  1999. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2000. }
  2001. }
  2002. },
  2003. "500": {
  2004. "description": "Internal Server Error",
  2005. "schema": {
  2006. "$ref": "#/definitions/app.Response"
  2007. }
  2008. }
  2009. }
  2010. }
  2011. },
  2012. "/Ermcp/QueryGoodsBrand": {
  2013. "get": {
  2014. "security": [
  2015. {
  2016. "ApiKeyAuth": []
  2017. }
  2018. ],
  2019. "produces": [
  2020. "application/json"
  2021. ],
  2022. "tags": [
  2023. "企业风险管理(app)"
  2024. ],
  2025. "summary": "查询商品品牌",
  2026. "parameters": [
  2027. {
  2028. "type": "integer",
  2029. "description": "用户ID",
  2030. "name": "userid",
  2031. "in": "query",
  2032. "required": true
  2033. },
  2034. {
  2035. "type": "integer",
  2036. "description": "现货商品ID",
  2037. "name": "wrstandardid",
  2038. "in": "query"
  2039. }
  2040. ],
  2041. "responses": {
  2042. "200": {
  2043. "description": "OK",
  2044. "schema": {
  2045. "type": "array",
  2046. "items": {
  2047. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2048. }
  2049. }
  2050. },
  2051. "500": {
  2052. "description": "Internal Server Error",
  2053. "schema": {
  2054. "$ref": "#/definitions/app.Response"
  2055. }
  2056. }
  2057. }
  2058. }
  2059. },
  2060. "/Ermcp/QueryGoodsModel": {
  2061. "get": {
  2062. "security": [
  2063. {
  2064. "ApiKeyAuth": []
  2065. }
  2066. ],
  2067. "produces": [
  2068. "application/json"
  2069. ],
  2070. "tags": [
  2071. "企业风险管理(app)"
  2072. ],
  2073. "summary": "查询商品型号",
  2074. "parameters": [
  2075. {
  2076. "type": "integer",
  2077. "description": "用户ID",
  2078. "name": "userid",
  2079. "in": "query",
  2080. "required": true
  2081. }
  2082. ],
  2083. "responses": {
  2084. "200": {
  2085. "description": "OK",
  2086. "schema": {
  2087. "type": "array",
  2088. "items": {
  2089. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2090. }
  2091. }
  2092. },
  2093. "500": {
  2094. "description": "Internal Server Error",
  2095. "schema": {
  2096. "$ref": "#/definitions/app.Response"
  2097. }
  2098. }
  2099. }
  2100. }
  2101. },
  2102. "/Ermcp/QueryHisExposure": {
  2103. "get": {
  2104. "security": [
  2105. {
  2106. "ApiKeyAuth": []
  2107. }
  2108. ],
  2109. "produces": [
  2110. "application/json"
  2111. ],
  2112. "tags": [
  2113. "企业风险管理(app)"
  2114. ],
  2115. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2116. "parameters": [
  2117. {
  2118. "type": "integer",
  2119. "description": "用户id",
  2120. "name": "userid",
  2121. "in": "query",
  2122. "required": true
  2123. },
  2124. {
  2125. "type": "integer",
  2126. "description": "每个品种记录数",
  2127. "name": "lastNum",
  2128. "in": "query",
  2129. "required": true
  2130. }
  2131. ],
  2132. "responses": {
  2133. "200": {
  2134. "description": "OK",
  2135. "schema": {
  2136. "type": "array",
  2137. "items": {
  2138. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2139. }
  2140. }
  2141. },
  2142. "500": {
  2143. "description": "Internal Server Error",
  2144. "schema": {
  2145. "$ref": "#/definitions/app.Response"
  2146. }
  2147. }
  2148. }
  2149. }
  2150. },
  2151. "/Ermcp/QueryMiddleGoods": {
  2152. "get": {
  2153. "security": [
  2154. {
  2155. "ApiKeyAuth": []
  2156. }
  2157. ],
  2158. "produces": [
  2159. "application/json"
  2160. ],
  2161. "tags": [
  2162. "企业风险管理(app)"
  2163. ],
  2164. "summary": "查询套保品种(菜单:套保品种)",
  2165. "parameters": [
  2166. {
  2167. "type": "integer",
  2168. "description": "所属机构ID",
  2169. "name": "userid",
  2170. "in": "query",
  2171. "required": true
  2172. },
  2173. {
  2174. "type": "integer",
  2175. "description": "状态 0-停用 1-正常",
  2176. "name": "status",
  2177. "in": "query",
  2178. "required": true
  2179. }
  2180. ],
  2181. "responses": {
  2182. "200": {
  2183. "description": "OK",
  2184. "schema": {
  2185. "type": "array",
  2186. "items": {
  2187. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2188. }
  2189. }
  2190. },
  2191. "500": {
  2192. "description": "Internal Server Error",
  2193. "schema": {
  2194. "$ref": "#/definitions/app.Response"
  2195. }
  2196. }
  2197. }
  2198. }
  2199. },
  2200. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2201. "get": {
  2202. "security": [
  2203. {
  2204. "ApiKeyAuth": []
  2205. }
  2206. ],
  2207. "produces": [
  2208. "application/json"
  2209. ],
  2210. "tags": [
  2211. "企业风险管理(app)"
  2212. ],
  2213. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2214. "parameters": [
  2215. {
  2216. "type": "integer",
  2217. "description": "所属机构ID",
  2218. "name": "userid",
  2219. "in": "query",
  2220. "required": true
  2221. },
  2222. {
  2223. "type": "integer",
  2224. "description": "套保品种id",
  2225. "name": "middlegoodsid",
  2226. "in": "query",
  2227. "required": true
  2228. }
  2229. ],
  2230. "responses": {
  2231. "200": {
  2232. "description": "OK",
  2233. "schema": {
  2234. "type": "array",
  2235. "items": {
  2236. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2237. }
  2238. }
  2239. },
  2240. "500": {
  2241. "description": "Internal Server Error",
  2242. "schema": {
  2243. "$ref": "#/definitions/app.Response"
  2244. }
  2245. }
  2246. }
  2247. }
  2248. },
  2249. "/Ermcp/QueryMiddleGoodsDetail": {
  2250. "get": {
  2251. "security": [
  2252. {
  2253. "ApiKeyAuth": []
  2254. }
  2255. ],
  2256. "produces": [
  2257. "application/json"
  2258. ],
  2259. "tags": [
  2260. "企业风险管理(app)"
  2261. ],
  2262. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2263. "parameters": [
  2264. {
  2265. "type": "integer",
  2266. "description": "所属机构ID",
  2267. "name": "userid",
  2268. "in": "query",
  2269. "required": true
  2270. },
  2271. {
  2272. "type": "integer",
  2273. "description": "套保品种id",
  2274. "name": "middlegoodsid",
  2275. "in": "query"
  2276. }
  2277. ],
  2278. "responses": {
  2279. "200": {
  2280. "description": "OK",
  2281. "schema": {
  2282. "type": "array",
  2283. "items": {
  2284. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2285. }
  2286. }
  2287. },
  2288. "500": {
  2289. "description": "Internal Server Error",
  2290. "schema": {
  2291. "$ref": "#/definitions/app.Response"
  2292. }
  2293. }
  2294. }
  2295. }
  2296. },
  2297. "/Ermcp/QueryPendingAuditInfo": {
  2298. "get": {
  2299. "security": [
  2300. {
  2301. "ApiKeyAuth": []
  2302. }
  2303. ],
  2304. "produces": [
  2305. "application/json"
  2306. ],
  2307. "tags": [
  2308. "企业风险管理(app)"
  2309. ],
  2310. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2311. "parameters": [
  2312. {
  2313. "type": "integer",
  2314. "description": "用户ID",
  2315. "name": "UserId",
  2316. "in": "query",
  2317. "required": true
  2318. }
  2319. ],
  2320. "responses": {
  2321. "200": {
  2322. "description": "OK",
  2323. "schema": {
  2324. "type": "array",
  2325. "items": {
  2326. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2327. }
  2328. }
  2329. },
  2330. "500": {
  2331. "description": "Internal Server Error",
  2332. "schema": {
  2333. "$ref": "#/definitions/app.Response"
  2334. }
  2335. }
  2336. }
  2337. }
  2338. },
  2339. "/Ermcp/QueryRealtimeExposure": {
  2340. "get": {
  2341. "security": [
  2342. {
  2343. "ApiKeyAuth": []
  2344. }
  2345. ],
  2346. "produces": [
  2347. "application/json"
  2348. ],
  2349. "tags": [
  2350. "企业风险管理(app)"
  2351. ],
  2352. "summary": "查询实时敞口",
  2353. "parameters": [
  2354. {
  2355. "type": "integer",
  2356. "description": "所属机构ID",
  2357. "name": "userid",
  2358. "in": "query",
  2359. "required": true
  2360. }
  2361. ],
  2362. "responses": {
  2363. "200": {
  2364. "description": "OK",
  2365. "schema": {
  2366. "type": "array",
  2367. "items": {
  2368. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2369. }
  2370. }
  2371. },
  2372. "500": {
  2373. "description": "Internal Server Error",
  2374. "schema": {
  2375. "$ref": "#/definitions/app.Response"
  2376. }
  2377. }
  2378. }
  2379. }
  2380. },
  2381. "/Ermcp/QueryRealtimeExposurePosition": {
  2382. "get": {
  2383. "security": [
  2384. {
  2385. "ApiKeyAuth": []
  2386. }
  2387. ],
  2388. "produces": [
  2389. "application/json"
  2390. ],
  2391. "tags": [
  2392. "企业风险管理(app)"
  2393. ],
  2394. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2395. "parameters": [
  2396. {
  2397. "type": "integer",
  2398. "description": "用户id",
  2399. "name": "userid",
  2400. "in": "query",
  2401. "required": true
  2402. },
  2403. {
  2404. "type": "integer",
  2405. "description": "套保商品ID",
  2406. "name": "middleGoodsId",
  2407. "in": "query",
  2408. "required": true
  2409. }
  2410. ],
  2411. "responses": {
  2412. "200": {
  2413. "description": "OK",
  2414. "schema": {
  2415. "type": "array",
  2416. "items": {
  2417. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2418. }
  2419. }
  2420. },
  2421. "500": {
  2422. "description": "Internal Server Error",
  2423. "schema": {
  2424. "$ref": "#/definitions/app.Response"
  2425. }
  2426. }
  2427. }
  2428. }
  2429. },
  2430. "/Ermcp/QueryTradeConfigTMP": {
  2431. "get": {
  2432. "security": [
  2433. {
  2434. "ApiKeyAuth": []
  2435. }
  2436. ],
  2437. "produces": [
  2438. "application/json"
  2439. ],
  2440. "tags": [
  2441. "企业风险管理(app)"
  2442. ],
  2443. "summary": "查询交易模板配置",
  2444. "parameters": [
  2445. {
  2446. "type": "integer",
  2447. "description": "所属机构id",
  2448. "name": "areauserid",
  2449. "in": "query"
  2450. }
  2451. ],
  2452. "responses": {
  2453. "200": {
  2454. "description": "OK",
  2455. "schema": {
  2456. "type": "array",
  2457. "items": {
  2458. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2459. }
  2460. }
  2461. },
  2462. "500": {
  2463. "description": "Internal Server Error",
  2464. "schema": {
  2465. "$ref": "#/definitions/app.Response"
  2466. }
  2467. }
  2468. }
  2469. }
  2470. },
  2471. "/Ermcp/QueryUserInfo": {
  2472. "get": {
  2473. "security": [
  2474. {
  2475. "ApiKeyAuth": []
  2476. }
  2477. ],
  2478. "produces": [
  2479. "application/json"
  2480. ],
  2481. "tags": [
  2482. "企业风险管理(app)"
  2483. ],
  2484. "summary": "查询客户资料",
  2485. "parameters": [
  2486. {
  2487. "type": "integer",
  2488. "description": "所属机构用户ID",
  2489. "name": "MemberUserID",
  2490. "in": "query",
  2491. "required": true
  2492. },
  2493. {
  2494. "type": "integer",
  2495. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2496. "name": "queryType",
  2497. "in": "query",
  2498. "required": true
  2499. }
  2500. ],
  2501. "responses": {
  2502. "200": {
  2503. "description": "OK",
  2504. "schema": {
  2505. "type": "array",
  2506. "items": {
  2507. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2508. }
  2509. }
  2510. },
  2511. "500": {
  2512. "description": "Internal Server Error",
  2513. "schema": {
  2514. "$ref": "#/definitions/app.Response"
  2515. }
  2516. }
  2517. }
  2518. }
  2519. },
  2520. "/Ermcp/QueryWarehouseInfo": {
  2521. "get": {
  2522. "security": [
  2523. {
  2524. "ApiKeyAuth": []
  2525. }
  2526. ],
  2527. "produces": [
  2528. "application/json"
  2529. ],
  2530. "tags": [
  2531. "企业风险管理(app)"
  2532. ],
  2533. "summary": "查询仓库信息",
  2534. "parameters": [
  2535. {
  2536. "type": "integer",
  2537. "description": "用户ID",
  2538. "name": "userid",
  2539. "in": "query",
  2540. "required": true
  2541. },
  2542. {
  2543. "type": "string",
  2544. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2545. "name": "status",
  2546. "in": "query"
  2547. }
  2548. ],
  2549. "responses": {
  2550. "200": {
  2551. "description": "OK",
  2552. "schema": {
  2553. "type": "array",
  2554. "items": {
  2555. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2556. }
  2557. }
  2558. },
  2559. "500": {
  2560. "description": "Internal Server Error",
  2561. "schema": {
  2562. "$ref": "#/definitions/app.Response"
  2563. }
  2564. }
  2565. }
  2566. }
  2567. },
  2568. "/Ermcp3/QryAreaExpourseContractDetail": {
  2569. "get": {
  2570. "security": [
  2571. {
  2572. "ApiKeyAuth": []
  2573. }
  2574. ],
  2575. "produces": [
  2576. "application/json"
  2577. ],
  2578. "tags": [
  2579. "企业风险管理v3(app)"
  2580. ],
  2581. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2582. "parameters": [
  2583. {
  2584. "type": "integer",
  2585. "description": "用户ID",
  2586. "name": "userid",
  2587. "in": "query",
  2588. "required": true
  2589. },
  2590. {
  2591. "type": "integer",
  2592. "description": "套保商品id",
  2593. "name": "middlegoodsid",
  2594. "in": "query",
  2595. "required": true
  2596. },
  2597. {
  2598. "type": "string",
  2599. "description": "交易日(格式yyyymmdd)",
  2600. "name": "tradedate",
  2601. "in": "query",
  2602. "required": true
  2603. }
  2604. ],
  2605. "responses": {
  2606. "200": {
  2607. "description": "OK",
  2608. "schema": {
  2609. "type": "array",
  2610. "items": {
  2611. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2612. }
  2613. }
  2614. },
  2615. "500": {
  2616. "description": "Internal Server Error",
  2617. "schema": {
  2618. "$ref": "#/definitions/app.Response"
  2619. }
  2620. }
  2621. }
  2622. }
  2623. },
  2624. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  2625. "get": {
  2626. "security": [
  2627. {
  2628. "ApiKeyAuth": []
  2629. }
  2630. ],
  2631. "produces": [
  2632. "application/json"
  2633. ],
  2634. "tags": [
  2635. "企业风险管理v3(app)"
  2636. ],
  2637. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  2638. "parameters": [
  2639. {
  2640. "type": "integer",
  2641. "description": "用户ID",
  2642. "name": "userid",
  2643. "in": "query",
  2644. "required": true
  2645. },
  2646. {
  2647. "type": "integer",
  2648. "description": "套保商品id",
  2649. "name": "middlegoodsid",
  2650. "in": "query",
  2651. "required": true
  2652. },
  2653. {
  2654. "type": "string",
  2655. "description": "交易日(格式yyyymmdd)",
  2656. "name": "tradedate",
  2657. "in": "query",
  2658. "required": true
  2659. }
  2660. ],
  2661. "responses": {
  2662. "200": {
  2663. "description": "OK",
  2664. "schema": {
  2665. "type": "array",
  2666. "items": {
  2667. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  2668. }
  2669. }
  2670. },
  2671. "500": {
  2672. "description": "Internal Server Error",
  2673. "schema": {
  2674. "$ref": "#/definitions/app.Response"
  2675. }
  2676. }
  2677. }
  2678. }
  2679. },
  2680. "/Ermcp3/QryReckonAreaExpourse": {
  2681. "get": {
  2682. "security": [
  2683. {
  2684. "ApiKeyAuth": []
  2685. }
  2686. ],
  2687. "produces": [
  2688. "application/json"
  2689. ],
  2690. "tags": [
  2691. "企业风险管理v3(app)"
  2692. ],
  2693. "summary": "查询敞口日报表(报表/敞口报表/日报表)",
  2694. "parameters": [
  2695. {
  2696. "type": "integer",
  2697. "description": "用户ID",
  2698. "name": "userid",
  2699. "in": "query",
  2700. "required": true
  2701. },
  2702. {
  2703. "type": "string",
  2704. "description": "交易日(YYYYMMDD)",
  2705. "name": "tradedate",
  2706. "in": "query",
  2707. "required": true
  2708. }
  2709. ],
  2710. "responses": {
  2711. "200": {
  2712. "description": "OK",
  2713. "schema": {
  2714. "type": "array",
  2715. "items": {
  2716. "$ref": "#/definitions/models.Ermcp3ReckonExpourse"
  2717. }
  2718. }
  2719. },
  2720. "500": {
  2721. "description": "Internal Server Error",
  2722. "schema": {
  2723. "$ref": "#/definitions/app.Response"
  2724. }
  2725. }
  2726. }
  2727. }
  2728. },
  2729. "/Ermcp3/QryReckonAreaSpotPL": {
  2730. "get": {
  2731. "security": [
  2732. {
  2733. "ApiKeyAuth": []
  2734. }
  2735. ],
  2736. "produces": [
  2737. "application/json"
  2738. ],
  2739. "tags": [
  2740. "企业风险管理v3(app)"
  2741. ],
  2742. "summary": "查询现货日报表(现货报表/日报表)",
  2743. "parameters": [
  2744. {
  2745. "type": "integer",
  2746. "description": "用户ID",
  2747. "name": "userid",
  2748. "in": "query",
  2749. "required": true
  2750. },
  2751. {
  2752. "type": "string",
  2753. "description": "交易日(格式yyyymmdd)",
  2754. "name": "tradedate",
  2755. "in": "query",
  2756. "required": true
  2757. }
  2758. ],
  2759. "responses": {
  2760. "200": {
  2761. "description": "OK",
  2762. "schema": {
  2763. "type": "array",
  2764. "items": {
  2765. "$ref": "#/definitions/models.Ermcp3ReckonAreaSpotPL"
  2766. }
  2767. }
  2768. },
  2769. "500": {
  2770. "description": "Internal Server Error",
  2771. "schema": {
  2772. "$ref": "#/definitions/app.Response"
  2773. }
  2774. }
  2775. }
  2776. }
  2777. },
  2778. "/Ermcp3/QryReportAreaExpourse": {
  2779. "get": {
  2780. "security": [
  2781. {
  2782. "ApiKeyAuth": []
  2783. }
  2784. ],
  2785. "produces": [
  2786. "application/json"
  2787. ],
  2788. "tags": [
  2789. "企业风险管理v3(app)"
  2790. ],
  2791. "summary": "查询敞口周期报表(报表/敞口报表/周(月、季、年)报表)",
  2792. "parameters": [
  2793. {
  2794. "type": "integer",
  2795. "description": "用户ID",
  2796. "name": "userid",
  2797. "in": "query",
  2798. "required": true
  2799. },
  2800. {
  2801. "type": "integer",
  2802. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2803. "name": "cycletype",
  2804. "in": "query",
  2805. "required": true
  2806. },
  2807. {
  2808. "type": "string",
  2809. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  2810. "name": "cycletime",
  2811. "in": "query",
  2812. "required": true
  2813. }
  2814. ],
  2815. "responses": {
  2816. "200": {
  2817. "description": "OK",
  2818. "schema": {
  2819. "type": "array",
  2820. "items": {
  2821. "$ref": "#/definitions/models.Ermcp3ReportExpourse"
  2822. }
  2823. }
  2824. },
  2825. "500": {
  2826. "description": "Internal Server Error",
  2827. "schema": {
  2828. "$ref": "#/definitions/app.Response"
  2829. }
  2830. }
  2831. }
  2832. }
  2833. },
  2834. "/Ermcp3/QryReportAreaSpotPL": {
  2835. "get": {
  2836. "security": [
  2837. {
  2838. "ApiKeyAuth": []
  2839. }
  2840. ],
  2841. "produces": [
  2842. "application/json"
  2843. ],
  2844. "tags": [
  2845. "企业风险管理v3(app)"
  2846. ],
  2847. "summary": "查询现货周期报表(现货报表/周(月)报表)",
  2848. "parameters": [
  2849. {
  2850. "type": "integer",
  2851. "description": "用户ID",
  2852. "name": "userid",
  2853. "in": "query",
  2854. "required": true
  2855. },
  2856. {
  2857. "type": "integer",
  2858. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2859. "name": "cycletype",
  2860. "in": "query",
  2861. "required": true
  2862. },
  2863. {
  2864. "type": "string",
  2865. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  2866. "name": "cycletime",
  2867. "in": "query",
  2868. "required": true
  2869. }
  2870. ],
  2871. "responses": {
  2872. "200": {
  2873. "description": "OK",
  2874. "schema": {
  2875. "type": "array",
  2876. "items": {
  2877. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotPL"
  2878. }
  2879. }
  2880. },
  2881. "500": {
  2882. "description": "Internal Server Error",
  2883. "schema": {
  2884. "$ref": "#/definitions/app.Response"
  2885. }
  2886. }
  2887. }
  2888. }
  2889. },
  2890. "/Ermcp3/QryReportDayFinanceFp": {
  2891. "get": {
  2892. "security": [
  2893. {
  2894. "ApiKeyAuth": []
  2895. }
  2896. ],
  2897. "produces": [
  2898. "application/json"
  2899. ],
  2900. "tags": [
  2901. "企业风险管理v3(app)"
  2902. ],
  2903. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  2904. "parameters": [
  2905. {
  2906. "type": "integer",
  2907. "description": "用户ID",
  2908. "name": "userid",
  2909. "in": "query",
  2910. "required": true
  2911. },
  2912. {
  2913. "type": "string",
  2914. "description": "交易日(格式:yyyyMMdd)",
  2915. "name": "tradedate",
  2916. "in": "query",
  2917. "required": true
  2918. }
  2919. ],
  2920. "responses": {
  2921. "200": {
  2922. "description": "OK",
  2923. "schema": {
  2924. "type": "array",
  2925. "items": {
  2926. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  2927. }
  2928. }
  2929. },
  2930. "500": {
  2931. "description": "Internal Server Error",
  2932. "schema": {
  2933. "$ref": "#/definitions/app.Response"
  2934. }
  2935. }
  2936. }
  2937. }
  2938. },
  2939. "/Ermcp3/QryReportDayFinanceKx": {
  2940. "get": {
  2941. "security": [
  2942. {
  2943. "ApiKeyAuth": []
  2944. }
  2945. ],
  2946. "produces": [
  2947. "application/json"
  2948. ],
  2949. "tags": [
  2950. "企业风险管理v3(app)"
  2951. ],
  2952. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  2953. "parameters": [
  2954. {
  2955. "type": "integer",
  2956. "description": "用户ID",
  2957. "name": "userid",
  2958. "in": "query",
  2959. "required": true
  2960. },
  2961. {
  2962. "type": "string",
  2963. "description": "交易日(格式:yyyyMMdd)",
  2964. "name": "tradedate",
  2965. "in": "query",
  2966. "required": true
  2967. }
  2968. ],
  2969. "responses": {
  2970. "200": {
  2971. "description": "OK",
  2972. "schema": {
  2973. "type": "array",
  2974. "items": {
  2975. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  2976. }
  2977. }
  2978. },
  2979. "500": {
  2980. "description": "Internal Server Error",
  2981. "schema": {
  2982. "$ref": "#/definitions/app.Response"
  2983. }
  2984. }
  2985. }
  2986. }
  2987. },
  2988. "/Ermcp3/QryReportDaySpot": {
  2989. "get": {
  2990. "security": [
  2991. {
  2992. "ApiKeyAuth": []
  2993. }
  2994. ],
  2995. "produces": [
  2996. "application/json"
  2997. ],
  2998. "tags": [
  2999. "企业风险管理v3(app)"
  3000. ],
  3001. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  3002. "parameters": [
  3003. {
  3004. "type": "integer",
  3005. "description": "用户id",
  3006. "name": "userid",
  3007. "in": "query",
  3008. "required": true
  3009. },
  3010. {
  3011. "type": "string",
  3012. "description": "交易日(格式:yyyyMMdd)",
  3013. "name": "reckondate",
  3014. "in": "query",
  3015. "required": true
  3016. },
  3017. {
  3018. "type": "integer",
  3019. "description": "期货账户ID",
  3020. "name": "accountid",
  3021. "in": "query"
  3022. },
  3023. {
  3024. "type": "integer",
  3025. "description": "现货品种ID",
  3026. "name": "deliverygoodsid",
  3027. "in": "query"
  3028. },
  3029. {
  3030. "type": "integer",
  3031. "description": "品类ID",
  3032. "name": "wrstandardid",
  3033. "in": "query"
  3034. },
  3035. {
  3036. "type": "integer",
  3037. "description": "现货品牌ID",
  3038. "name": "spotgoodsbrandid",
  3039. "in": "query"
  3040. }
  3041. ],
  3042. "responses": {
  3043. "200": {
  3044. "description": "OK",
  3045. "schema": {
  3046. "type": "array",
  3047. "items": {
  3048. "$ref": "#/definitions/models.Ermcp3ReckonAreaSpotSub"
  3049. }
  3050. }
  3051. },
  3052. "500": {
  3053. "description": "Internal Server Error",
  3054. "schema": {
  3055. "$ref": "#/definitions/app.Response"
  3056. }
  3057. }
  3058. }
  3059. }
  3060. },
  3061. "/Ermcp3/QryReportDaySpotDetail": {
  3062. "get": {
  3063. "security": [
  3064. {
  3065. "ApiKeyAuth": []
  3066. }
  3067. ],
  3068. "produces": [
  3069. "application/json"
  3070. ],
  3071. "tags": [
  3072. "企业风险管理v3(app)"
  3073. ],
  3074. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  3075. "parameters": [
  3076. {
  3077. "type": "integer",
  3078. "description": "用户ID",
  3079. "name": "userid",
  3080. "in": "query",
  3081. "required": true
  3082. },
  3083. {
  3084. "type": "integer",
  3085. "description": "现货商品id",
  3086. "name": "deliverygoodsid",
  3087. "in": "query",
  3088. "required": true
  3089. },
  3090. {
  3091. "type": "string",
  3092. "description": "交易日(格式:yyyyMMdd)",
  3093. "name": "tradedate",
  3094. "in": "query",
  3095. "required": true
  3096. },
  3097. {
  3098. "type": "integer",
  3099. "description": "品类ID",
  3100. "name": "wrstandardid",
  3101. "in": "query"
  3102. },
  3103. {
  3104. "type": "integer",
  3105. "description": "现货品牌ID",
  3106. "name": "spotgoodsbrandid",
  3107. "in": "query"
  3108. }
  3109. ],
  3110. "responses": {
  3111. "200": {
  3112. "description": "OK",
  3113. "schema": {
  3114. "type": "array",
  3115. "items": {
  3116. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  3117. }
  3118. }
  3119. },
  3120. "500": {
  3121. "description": "Internal Server Error",
  3122. "schema": {
  3123. "$ref": "#/definitions/app.Response"
  3124. }
  3125. }
  3126. }
  3127. }
  3128. },
  3129. "/Ermcp3/QryReportMonthSpot": {
  3130. "get": {
  3131. "security": [
  3132. {
  3133. "ApiKeyAuth": []
  3134. }
  3135. ],
  3136. "produces": [
  3137. "application/json"
  3138. ],
  3139. "tags": [
  3140. "企业风险管理v3(app)"
  3141. ],
  3142. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  3143. "parameters": [
  3144. {
  3145. "type": "integer",
  3146. "description": "用户id",
  3147. "name": "userid",
  3148. "in": "query",
  3149. "required": true
  3150. },
  3151. {
  3152. "type": "integer",
  3153. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3154. "name": "cycletype",
  3155. "in": "query",
  3156. "required": true
  3157. },
  3158. {
  3159. "type": "string",
  3160. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  3161. "name": "cycletime",
  3162. "in": "query",
  3163. "required": true
  3164. },
  3165. {
  3166. "type": "integer",
  3167. "description": "期货账户ID",
  3168. "name": "accountid",
  3169. "in": "query"
  3170. },
  3171. {
  3172. "type": "integer",
  3173. "description": "现货品种ID",
  3174. "name": "deliverygoodsid",
  3175. "in": "query"
  3176. },
  3177. {
  3178. "type": "integer",
  3179. "description": "品类ID",
  3180. "name": "wrstandardid",
  3181. "in": "query"
  3182. },
  3183. {
  3184. "type": "integer",
  3185. "description": "现货品牌ID",
  3186. "name": "spotgoodsbrandid",
  3187. "in": "query"
  3188. }
  3189. ],
  3190. "responses": {
  3191. "200": {
  3192. "description": "OK",
  3193. "schema": {
  3194. "type": "array",
  3195. "items": {
  3196. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotSub"
  3197. }
  3198. }
  3199. },
  3200. "500": {
  3201. "description": "Internal Server Error",
  3202. "schema": {
  3203. "$ref": "#/definitions/app.Response"
  3204. }
  3205. }
  3206. }
  3207. }
  3208. },
  3209. "/Ermcp3/QryReportMonthSpotDetail": {
  3210. "get": {
  3211. "security": [
  3212. {
  3213. "ApiKeyAuth": []
  3214. }
  3215. ],
  3216. "produces": [
  3217. "application/json"
  3218. ],
  3219. "tags": [
  3220. "企业风险管理v3(app)"
  3221. ],
  3222. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  3223. "parameters": [
  3224. {
  3225. "type": "integer",
  3226. "description": "用户id",
  3227. "name": "userid",
  3228. "in": "query",
  3229. "required": true
  3230. },
  3231. {
  3232. "type": "integer",
  3233. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3234. "name": "cycletype",
  3235. "in": "query",
  3236. "required": true
  3237. },
  3238. {
  3239. "type": "string",
  3240. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  3241. "name": "cycletime",
  3242. "in": "query",
  3243. "required": true
  3244. },
  3245. {
  3246. "type": "integer",
  3247. "description": "期货账户ID",
  3248. "name": "accountid",
  3249. "in": "query"
  3250. },
  3251. {
  3252. "type": "integer",
  3253. "description": "现货品种ID",
  3254. "name": "deliverygoodsid",
  3255. "in": "query"
  3256. },
  3257. {
  3258. "type": "integer",
  3259. "description": "品类ID",
  3260. "name": "wrstandardid",
  3261. "in": "query"
  3262. },
  3263. {
  3264. "type": "integer",
  3265. "description": "现货品牌ID",
  3266. "name": "spotgoodsbrandid",
  3267. "in": "query"
  3268. }
  3269. ],
  3270. "responses": {
  3271. "200": {
  3272. "description": "OK",
  3273. "schema": {
  3274. "type": "array",
  3275. "items": {
  3276. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotSub"
  3277. }
  3278. }
  3279. },
  3280. "500": {
  3281. "description": "Internal Server Error",
  3282. "schema": {
  3283. "$ref": "#/definitions/app.Response"
  3284. }
  3285. }
  3286. }
  3287. }
  3288. },
  3289. "/Ermcp3/QueryAreaStock": {
  3290. "get": {
  3291. "security": [
  3292. {
  3293. "ApiKeyAuth": []
  3294. }
  3295. ],
  3296. "produces": [
  3297. "application/json"
  3298. ],
  3299. "tags": [
  3300. "企业风险管理v3(app)"
  3301. ],
  3302. "summary": "查询机构库存(库存管理/当前库存)",
  3303. "parameters": [
  3304. {
  3305. "type": "integer",
  3306. "description": "用户ID",
  3307. "name": "userid",
  3308. "in": "query",
  3309. "required": true
  3310. }
  3311. ],
  3312. "responses": {
  3313. "200": {
  3314. "description": "OK",
  3315. "schema": {
  3316. "type": "array",
  3317. "items": {
  3318. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3319. }
  3320. }
  3321. },
  3322. "500": {
  3323. "description": "Internal Server Error",
  3324. "schema": {
  3325. "$ref": "#/definitions/app.Response"
  3326. }
  3327. }
  3328. }
  3329. }
  3330. },
  3331. "/Ermcp3/QueryAreaStockApply": {
  3332. "get": {
  3333. "security": [
  3334. {
  3335. "ApiKeyAuth": []
  3336. }
  3337. ],
  3338. "produces": [
  3339. "application/json"
  3340. ],
  3341. "tags": [
  3342. "企业风险管理v3(app)"
  3343. ],
  3344. "summary": "查询库存申请(出入库记录|库存审核)",
  3345. "parameters": [
  3346. {
  3347. "type": "integer",
  3348. "description": "用户ID",
  3349. "name": "userid",
  3350. "in": "query",
  3351. "required": true
  3352. },
  3353. {
  3354. "type": "integer",
  3355. "description": "现货商品ID",
  3356. "name": "deliverygoodsid",
  3357. "in": "query"
  3358. },
  3359. {
  3360. "type": "string",
  3361. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3362. "name": "inouttype",
  3363. "in": "query"
  3364. },
  3365. {
  3366. "type": "integer",
  3367. "description": "合同ID",
  3368. "name": "spotcontractid",
  3369. "in": "query"
  3370. },
  3371. {
  3372. "type": "integer",
  3373. "description": "品类ID",
  3374. "name": "wrstandardid",
  3375. "in": "query"
  3376. },
  3377. {
  3378. "type": "integer",
  3379. "description": "品牌ID",
  3380. "name": "spotgoodsbrandid",
  3381. "in": "query"
  3382. },
  3383. {
  3384. "type": "integer",
  3385. "description": "仓库ID",
  3386. "name": "warehouseinfoid",
  3387. "in": "query"
  3388. },
  3389. {
  3390. "type": "string",
  3391. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3392. "name": "applystatus",
  3393. "in": "query"
  3394. }
  3395. ],
  3396. "responses": {
  3397. "200": {
  3398. "description": "OK",
  3399. "schema": {
  3400. "type": "array",
  3401. "items": {
  3402. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3403. }
  3404. }
  3405. },
  3406. "500": {
  3407. "description": "Internal Server Error",
  3408. "schema": {
  3409. "$ref": "#/definitions/app.Response"
  3410. }
  3411. }
  3412. }
  3413. }
  3414. },
  3415. "/Ermcp3/QueryAreaStockApplySum": {
  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": "spotcontractid",
  3434. "in": "query"
  3435. }
  3436. ],
  3437. "responses": {
  3438. "200": {
  3439. "description": "OK",
  3440. "schema": {
  3441. "type": "array",
  3442. "items": {
  3443. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3444. }
  3445. }
  3446. },
  3447. "500": {
  3448. "description": "Internal Server Error",
  3449. "schema": {
  3450. "$ref": "#/definitions/app.Response"
  3451. }
  3452. }
  3453. }
  3454. }
  3455. },
  3456. "/Ermcp3/QueryAreaStockReport": {
  3457. "get": {
  3458. "security": [
  3459. {
  3460. "ApiKeyAuth": []
  3461. }
  3462. ],
  3463. "produces": [
  3464. "application/json"
  3465. ],
  3466. "tags": [
  3467. "企业风险管理v3(app)"
  3468. ],
  3469. "summary": "查询库存报表",
  3470. "parameters": [
  3471. {
  3472. "type": "integer",
  3473. "description": "用户ID",
  3474. "name": "userid",
  3475. "in": "query",
  3476. "required": true
  3477. },
  3478. {
  3479. "type": "integer",
  3480. "description": "查询类型 1-日报表 2-月报表",
  3481. "name": "querytype",
  3482. "in": "query",
  3483. "required": true
  3484. },
  3485. {
  3486. "type": "string",
  3487. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  3488. "name": "querydate",
  3489. "in": "query",
  3490. "required": true
  3491. },
  3492. {
  3493. "type": "integer",
  3494. "description": "现货商品ID",
  3495. "name": "deliverygoodsid",
  3496. "in": "query"
  3497. },
  3498. {
  3499. "type": "integer",
  3500. "description": "品类ID",
  3501. "name": "wrstandardid",
  3502. "in": "query"
  3503. },
  3504. {
  3505. "type": "integer",
  3506. "description": "品牌ID",
  3507. "name": "spotgoodsbrandid",
  3508. "in": "query"
  3509. },
  3510. {
  3511. "type": "integer",
  3512. "description": "仓库ID",
  3513. "name": "warehouseinfoid",
  3514. "in": "query"
  3515. }
  3516. ],
  3517. "responses": {
  3518. "200": {
  3519. "description": "OK",
  3520. "schema": {
  3521. "type": "array",
  3522. "items": {
  3523. "$ref": "#/definitions/models.Ermcp3AreaStockReport"
  3524. }
  3525. }
  3526. },
  3527. "500": {
  3528. "description": "Internal Server Error",
  3529. "schema": {
  3530. "$ref": "#/definitions/app.Response"
  3531. }
  3532. }
  3533. }
  3534. }
  3535. },
  3536. "/Ermcp3/QueryAreaStockReportDetail": {
  3537. "get": {
  3538. "security": [
  3539. {
  3540. "ApiKeyAuth": []
  3541. }
  3542. ],
  3543. "produces": [
  3544. "application/json"
  3545. ],
  3546. "tags": [
  3547. "企业风险管理v3(app)"
  3548. ],
  3549. "summary": "查询库存报表明细",
  3550. "parameters": [
  3551. {
  3552. "type": "integer",
  3553. "description": "用户ID",
  3554. "name": "userid",
  3555. "in": "query",
  3556. "required": true
  3557. },
  3558. {
  3559. "type": "integer",
  3560. "description": "查询类型 1-日报表明细 2-月报表明细",
  3561. "name": "querytype",
  3562. "in": "query",
  3563. "required": true
  3564. },
  3565. {
  3566. "type": "integer",
  3567. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  3568. "name": "detailtype",
  3569. "in": "query",
  3570. "required": true
  3571. },
  3572. {
  3573. "type": "string",
  3574. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  3575. "name": "querydate",
  3576. "in": "query",
  3577. "required": true
  3578. },
  3579. {
  3580. "type": "integer",
  3581. "description": "现货商品ID",
  3582. "name": "deliverygoodsid",
  3583. "in": "query"
  3584. },
  3585. {
  3586. "type": "integer",
  3587. "description": "品类ID",
  3588. "name": "wrstandardid",
  3589. "in": "query"
  3590. },
  3591. {
  3592. "type": "integer",
  3593. "description": "品牌ID",
  3594. "name": "spotgoodsbrandid",
  3595. "in": "query"
  3596. },
  3597. {
  3598. "type": "integer",
  3599. "description": "仓库ID",
  3600. "name": "warehouseinfoid",
  3601. "in": "query"
  3602. }
  3603. ],
  3604. "responses": {
  3605. "200": {
  3606. "description": "OK",
  3607. "schema": {
  3608. "type": "array",
  3609. "items": {
  3610. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3611. }
  3612. }
  3613. },
  3614. "500": {
  3615. "description": "Internal Server Error",
  3616. "schema": {
  3617. "$ref": "#/definitions/app.Response"
  3618. }
  3619. }
  3620. }
  3621. }
  3622. },
  3623. "/Ermcp3/QueryDGFactoryItem": {
  3624. "get": {
  3625. "security": [
  3626. {
  3627. "ApiKeyAuth": []
  3628. }
  3629. ],
  3630. "produces": [
  3631. "application/json"
  3632. ],
  3633. "tags": [
  3634. "企业风险管理v3(app)"
  3635. ],
  3636. "summary": "查询品种要素定义项",
  3637. "parameters": [
  3638. {
  3639. "type": "integer",
  3640. "description": "用户id",
  3641. "name": "userid",
  3642. "in": "query"
  3643. },
  3644. {
  3645. "type": "integer",
  3646. "description": "用户类型 2-机构 7-企业成员",
  3647. "name": "usertype",
  3648. "in": "query"
  3649. },
  3650. {
  3651. "type": "integer",
  3652. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3653. "name": "dgfactoryitemid",
  3654. "in": "query"
  3655. },
  3656. {
  3657. "type": "integer",
  3658. "description": "现货品种ID",
  3659. "name": "deliverygoodsid",
  3660. "in": "query"
  3661. },
  3662. {
  3663. "type": "integer",
  3664. "description": "要素项类型",
  3665. "name": "dgfactoryitemtypeid",
  3666. "in": "query"
  3667. },
  3668. {
  3669. "type": "integer",
  3670. "description": "顺序",
  3671. "name": "orderindex",
  3672. "in": "query"
  3673. }
  3674. ],
  3675. "responses": {
  3676. "200": {
  3677. "description": "OK",
  3678. "schema": {
  3679. "type": "array",
  3680. "items": {
  3681. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3682. }
  3683. }
  3684. },
  3685. "500": {
  3686. "description": "Internal Server Error",
  3687. "schema": {
  3688. "$ref": "#/definitions/app.Response"
  3689. }
  3690. }
  3691. }
  3692. }
  3693. },
  3694. "/Ermcp3/QueryDeliveryGoods": {
  3695. "get": {
  3696. "security": [
  3697. {
  3698. "ApiKeyAuth": []
  3699. }
  3700. ],
  3701. "produces": [
  3702. "application/json"
  3703. ],
  3704. "tags": [
  3705. "企业风险管理v3(app)"
  3706. ],
  3707. "summary": "查询现货商品",
  3708. "parameters": [
  3709. {
  3710. "type": "integer",
  3711. "description": "用户id",
  3712. "name": "userid",
  3713. "in": "query",
  3714. "required": true
  3715. },
  3716. {
  3717. "type": "integer",
  3718. "description": "用户类型 2-机构 7-企业成员",
  3719. "name": "usertype",
  3720. "in": "query"
  3721. },
  3722. {
  3723. "type": "integer",
  3724. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3725. "name": "excludecfg",
  3726. "in": "query"
  3727. }
  3728. ],
  3729. "responses": {
  3730. "200": {
  3731. "description": "OK",
  3732. "schema": {
  3733. "type": "array",
  3734. "items": {
  3735. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3736. }
  3737. }
  3738. },
  3739. "500": {
  3740. "description": "Internal Server Error",
  3741. "schema": {
  3742. "$ref": "#/definitions/app.Response"
  3743. }
  3744. }
  3745. }
  3746. }
  3747. },
  3748. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3749. "get": {
  3750. "security": [
  3751. {
  3752. "ApiKeyAuth": []
  3753. }
  3754. ],
  3755. "produces": [
  3756. "application/json"
  3757. ],
  3758. "tags": [
  3759. "企业风险管理v3(app)"
  3760. ],
  3761. "summary": "查询现货商品详情",
  3762. "parameters": [
  3763. {
  3764. "type": "integer",
  3765. "description": "用户id",
  3766. "name": "userid",
  3767. "in": "query",
  3768. "required": true
  3769. },
  3770. {
  3771. "type": "integer",
  3772. "description": "用户类型 2-机构 7-企业成员",
  3773. "name": "usertype",
  3774. "in": "query"
  3775. },
  3776. {
  3777. "type": "integer",
  3778. "description": "现货商品id",
  3779. "name": "deliverygoodsid",
  3780. "in": "query"
  3781. }
  3782. ],
  3783. "responses": {
  3784. "200": {
  3785. "description": "OK",
  3786. "schema": {
  3787. "type": "array",
  3788. "items": {
  3789. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3790. }
  3791. }
  3792. },
  3793. "500": {
  3794. "description": "Internal Server Error",
  3795. "schema": {
  3796. "$ref": "#/definitions/app.Response"
  3797. }
  3798. }
  3799. }
  3800. }
  3801. },
  3802. "/Ermcp3/QueryExposureDetail": {
  3803. "get": {
  3804. "security": [
  3805. {
  3806. "ApiKeyAuth": []
  3807. }
  3808. ],
  3809. "produces": [
  3810. "application/json"
  3811. ],
  3812. "tags": [
  3813. "企业风险管理v3(app)"
  3814. ],
  3815. "summary": "查询敞口现货明细",
  3816. "parameters": [
  3817. {
  3818. "type": "integer",
  3819. "description": "用户id",
  3820. "name": "userid",
  3821. "in": "query",
  3822. "required": true
  3823. },
  3824. {
  3825. "type": "integer",
  3826. "description": "用户类型 2-机构 7-企业成员",
  3827. "name": "usertype",
  3828. "in": "query"
  3829. },
  3830. {
  3831. "type": "integer",
  3832. "description": "套保商品",
  3833. "name": "middlegoodsid",
  3834. "in": "query",
  3835. "required": true
  3836. }
  3837. ],
  3838. "responses": {
  3839. "200": {
  3840. "description": "OK",
  3841. "schema": {
  3842. "type": "array",
  3843. "items": {
  3844. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  3845. }
  3846. }
  3847. },
  3848. "500": {
  3849. "description": "Internal Server Error",
  3850. "schema": {
  3851. "$ref": "#/definitions/app.Response"
  3852. }
  3853. }
  3854. }
  3855. }
  3856. },
  3857. "/Ermcp3/QueryExposureSpot": {
  3858. "get": {
  3859. "security": [
  3860. {
  3861. "ApiKeyAuth": []
  3862. }
  3863. ],
  3864. "produces": [
  3865. "application/json"
  3866. ],
  3867. "tags": [
  3868. "企业风险管理v3(app)"
  3869. ],
  3870. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3871. "parameters": [
  3872. {
  3873. "type": "integer",
  3874. "description": "用户id",
  3875. "name": "userid",
  3876. "in": "query",
  3877. "required": true
  3878. },
  3879. {
  3880. "type": "integer",
  3881. "description": "用户类型 2-机构 7-企业成员",
  3882. "name": "usertype",
  3883. "in": "query"
  3884. }
  3885. ],
  3886. "responses": {
  3887. "200": {
  3888. "description": "OK",
  3889. "schema": {
  3890. "type": "array",
  3891. "items": {
  3892. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  3893. }
  3894. }
  3895. },
  3896. "500": {
  3897. "description": "Internal Server Error",
  3898. "schema": {
  3899. "$ref": "#/definitions/app.Response"
  3900. }
  3901. }
  3902. }
  3903. }
  3904. },
  3905. "/Ermcp3/QueryExposureSpotDetail": {
  3906. "get": {
  3907. "security": [
  3908. {
  3909. "ApiKeyAuth": []
  3910. }
  3911. ],
  3912. "produces": [
  3913. "application/json"
  3914. ],
  3915. "tags": [
  3916. "企业风险管理v3(app)"
  3917. ],
  3918. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3919. "parameters": [
  3920. {
  3921. "type": "integer",
  3922. "description": "用户id",
  3923. "name": "userid",
  3924. "in": "query",
  3925. "required": true
  3926. },
  3927. {
  3928. "type": "integer",
  3929. "description": "用户类型 2-机构 7-企业成员",
  3930. "name": "usertype",
  3931. "in": "query"
  3932. },
  3933. {
  3934. "type": "integer",
  3935. "description": "现货品种ID",
  3936. "name": "deliverygoodsid",
  3937. "in": "query",
  3938. "required": true
  3939. }
  3940. ],
  3941. "responses": {
  3942. "200": {
  3943. "description": "OK",
  3944. "schema": {
  3945. "type": "array",
  3946. "items": {
  3947. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  3948. }
  3949. }
  3950. },
  3951. "500": {
  3952. "description": "Internal Server Error",
  3953. "schema": {
  3954. "$ref": "#/definitions/app.Response"
  3955. }
  3956. }
  3957. }
  3958. }
  3959. },
  3960. "/Ermcp3/QueryGoodsGroup": {
  3961. "get": {
  3962. "security": [
  3963. {
  3964. "ApiKeyAuth": []
  3965. }
  3966. ],
  3967. "produces": [
  3968. "application/json"
  3969. ],
  3970. "tags": [
  3971. "企业风险管理v3(app)"
  3972. ],
  3973. "summary": "查询期货商品组",
  3974. "parameters": [
  3975. {
  3976. "type": "integer",
  3977. "description": "用户id",
  3978. "name": "userid",
  3979. "in": "query",
  3980. "required": true
  3981. },
  3982. {
  3983. "type": "integer",
  3984. "description": "用户类型 2-机构 7-企业成员",
  3985. "name": "usertype",
  3986. "in": "query"
  3987. },
  3988. {
  3989. "type": "integer",
  3990. "description": "排除套保品中已关联的商品组 1-排除",
  3991. "name": "excludecfg",
  3992. "in": "query"
  3993. }
  3994. ],
  3995. "responses": {
  3996. "200": {
  3997. "description": "OK",
  3998. "schema": {
  3999. "type": "array",
  4000. "items": {
  4001. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4002. }
  4003. }
  4004. },
  4005. "500": {
  4006. "description": "Internal Server Error",
  4007. "schema": {
  4008. "$ref": "#/definitions/app.Response"
  4009. }
  4010. }
  4011. }
  4012. }
  4013. },
  4014. "/Ermcp3/QueryGoodsWrstandard": {
  4015. "get": {
  4016. "security": [
  4017. {
  4018. "ApiKeyAuth": []
  4019. }
  4020. ],
  4021. "produces": [
  4022. "application/json"
  4023. ],
  4024. "tags": [
  4025. "企业风险管理v3(app)"
  4026. ],
  4027. "summary": "查询商品品类",
  4028. "parameters": [
  4029. {
  4030. "type": "integer",
  4031. "description": "用户id",
  4032. "name": "userid",
  4033. "in": "query",
  4034. "required": true
  4035. },
  4036. {
  4037. "type": "integer",
  4038. "description": "用户类型 2-机构 7-企业成员",
  4039. "name": "usertype",
  4040. "in": "query"
  4041. },
  4042. {
  4043. "type": "integer",
  4044. "description": "现货商品id",
  4045. "name": "deliverygoodsid",
  4046. "in": "query"
  4047. }
  4048. ],
  4049. "responses": {
  4050. "200": {
  4051. "description": "OK",
  4052. "schema": {
  4053. "type": "array",
  4054. "items": {
  4055. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4056. }
  4057. }
  4058. },
  4059. "500": {
  4060. "description": "Internal Server Error",
  4061. "schema": {
  4062. "$ref": "#/definitions/app.Response"
  4063. }
  4064. }
  4065. }
  4066. }
  4067. },
  4068. "/Ermcp3/QueryGoodsbrand": {
  4069. "get": {
  4070. "security": [
  4071. {
  4072. "ApiKeyAuth": []
  4073. }
  4074. ],
  4075. "produces": [
  4076. "application/json"
  4077. ],
  4078. "tags": [
  4079. "企业风险管理v3(app)"
  4080. ],
  4081. "summary": "查询商品品牌",
  4082. "parameters": [
  4083. {
  4084. "type": "integer",
  4085. "description": "用户id",
  4086. "name": "userid",
  4087. "in": "query",
  4088. "required": true
  4089. },
  4090. {
  4091. "type": "integer",
  4092. "description": "用户类型 2-机构 7-企业成员",
  4093. "name": "usertype",
  4094. "in": "query"
  4095. }
  4096. ],
  4097. "responses": {
  4098. "200": {
  4099. "description": "OK",
  4100. "schema": {
  4101. "type": "array",
  4102. "items": {
  4103. "$ref": "#/definitions/models.Ermcp3Brand"
  4104. }
  4105. }
  4106. },
  4107. "500": {
  4108. "description": "Internal Server Error",
  4109. "schema": {
  4110. "$ref": "#/definitions/app.Response"
  4111. }
  4112. }
  4113. }
  4114. }
  4115. },
  4116. "/Ermcp3/QueryHedgePlan": {
  4117. "get": {
  4118. "security": [
  4119. {
  4120. "ApiKeyAuth": []
  4121. }
  4122. ],
  4123. "produces": [
  4124. "application/json"
  4125. ],
  4126. "tags": [
  4127. "企业风险管理v3(app)"
  4128. ],
  4129. "summary": "查询套保计划",
  4130. "parameters": [
  4131. {
  4132. "type": "integer",
  4133. "description": "用户ID",
  4134. "name": "userid",
  4135. "in": "query",
  4136. "required": true
  4137. },
  4138. {
  4139. "type": "integer",
  4140. "description": "用户类型 2-机构 7-企业成员",
  4141. "name": "usertype",
  4142. "in": "query"
  4143. },
  4144. {
  4145. "type": "string",
  4146. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4147. "name": "hedgeplanstatus",
  4148. "in": "query",
  4149. "required": true
  4150. }
  4151. ],
  4152. "responses": {
  4153. "200": {
  4154. "description": "OK",
  4155. "schema": {
  4156. "type": "array",
  4157. "items": {
  4158. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4159. }
  4160. }
  4161. },
  4162. "500": {
  4163. "description": "Internal Server Error",
  4164. "schema": {
  4165. "$ref": "#/definitions/app.Response"
  4166. }
  4167. }
  4168. }
  4169. }
  4170. },
  4171. "/Ermcp3/QueryMiddleGoodsDetail": {
  4172. "get": {
  4173. "security": [
  4174. {
  4175. "ApiKeyAuth": []
  4176. }
  4177. ],
  4178. "produces": [
  4179. "application/json"
  4180. ],
  4181. "tags": [
  4182. "企业风险管理v3(app)"
  4183. ],
  4184. "summary": "查询套保品种详情(套保品种/商品详情)",
  4185. "parameters": [
  4186. {
  4187. "type": "integer",
  4188. "description": "用户id",
  4189. "name": "userid",
  4190. "in": "query",
  4191. "required": true
  4192. },
  4193. {
  4194. "type": "integer",
  4195. "description": "用户类型 2-机构 7-企业成员",
  4196. "name": "usertype",
  4197. "in": "query"
  4198. },
  4199. {
  4200. "type": "integer",
  4201. "description": "套保品种id",
  4202. "name": "middlegoodsid",
  4203. "in": "query"
  4204. }
  4205. ],
  4206. "responses": {
  4207. "200": {
  4208. "description": "OK",
  4209. "schema": {
  4210. "type": "array",
  4211. "items": {
  4212. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4213. }
  4214. }
  4215. },
  4216. "500": {
  4217. "description": "Internal Server Error",
  4218. "schema": {
  4219. "$ref": "#/definitions/app.Response"
  4220. }
  4221. }
  4222. }
  4223. }
  4224. },
  4225. "/Ermcp3/QuerySpotContract": {
  4226. "get": {
  4227. "security": [
  4228. {
  4229. "ApiKeyAuth": []
  4230. }
  4231. ],
  4232. "produces": [
  4233. "application/json"
  4234. ],
  4235. "tags": [
  4236. "企业风险管理v3(app)"
  4237. ],
  4238. "summary": "查询现货合同",
  4239. "parameters": [
  4240. {
  4241. "type": "integer",
  4242. "description": "用户id",
  4243. "name": "userid",
  4244. "in": "query",
  4245. "required": true
  4246. },
  4247. {
  4248. "type": "integer",
  4249. "description": "用户类型 2-机构 7-企业成员",
  4250. "name": "usertype",
  4251. "in": "query"
  4252. },
  4253. {
  4254. "type": "integer",
  4255. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4256. "name": "querytype",
  4257. "in": "query",
  4258. "required": true
  4259. },
  4260. {
  4261. "type": "string",
  4262. "description": "合同ID(SpotContractId)",
  4263. "name": "contractid",
  4264. "in": "query"
  4265. }
  4266. ],
  4267. "responses": {
  4268. "200": {
  4269. "description": "OK",
  4270. "schema": {
  4271. "type": "array",
  4272. "items": {
  4273. "$ref": "#/definitions/models.Ermcp3Contract"
  4274. }
  4275. }
  4276. },
  4277. "500": {
  4278. "description": "Internal Server Error",
  4279. "schema": {
  4280. "$ref": "#/definitions/app.Response"
  4281. }
  4282. }
  4283. }
  4284. }
  4285. },
  4286. "/Ermcp3/QuerySpotContractBS": {
  4287. "get": {
  4288. "security": [
  4289. {
  4290. "ApiKeyAuth": []
  4291. }
  4292. ],
  4293. "produces": [
  4294. "application/json"
  4295. ],
  4296. "tags": [
  4297. "企业风险管理v3(app)"
  4298. ],
  4299. "summary": "查询合同(采购/销售)",
  4300. "parameters": [
  4301. {
  4302. "type": "integer",
  4303. "description": "用户id",
  4304. "name": "userid",
  4305. "in": "query",
  4306. "required": true
  4307. },
  4308. {
  4309. "type": "integer",
  4310. "description": "用户类型 2-机构 7-企业成员",
  4311. "name": "usertype",
  4312. "in": "query"
  4313. },
  4314. {
  4315. "type": "integer",
  4316. "description": "合同类型 1-采购, -1-销售",
  4317. "name": "contracttype",
  4318. "in": "query",
  4319. "required": true
  4320. },
  4321. {
  4322. "type": "integer",
  4323. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4324. "name": "querytype",
  4325. "in": "query",
  4326. "required": true
  4327. },
  4328. {
  4329. "type": "string",
  4330. "description": "合同ID(SpotContractId)",
  4331. "name": "contractid",
  4332. "in": "query"
  4333. }
  4334. ],
  4335. "responses": {
  4336. "200": {
  4337. "description": "OK",
  4338. "schema": {
  4339. "type": "array",
  4340. "items": {
  4341. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4342. }
  4343. }
  4344. },
  4345. "500": {
  4346. "description": "Internal Server Error",
  4347. "schema": {
  4348. "$ref": "#/definitions/app.Response"
  4349. }
  4350. }
  4351. }
  4352. }
  4353. },
  4354. "/Ermcp3/QuerySpotGoodsPrice": {
  4355. "get": {
  4356. "security": [
  4357. {
  4358. "ApiKeyAuth": []
  4359. }
  4360. ],
  4361. "produces": [
  4362. "application/json"
  4363. ],
  4364. "tags": [
  4365. "企业风险管理v3(app)"
  4366. ],
  4367. "summary": "查询现货市价(现货市价)",
  4368. "parameters": [
  4369. {
  4370. "type": "integer",
  4371. "description": "用户ID",
  4372. "name": "userid",
  4373. "in": "query",
  4374. "required": true
  4375. }
  4376. ],
  4377. "responses": {
  4378. "200": {
  4379. "description": "OK",
  4380. "schema": {
  4381. "type": "array",
  4382. "items": {
  4383. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4384. }
  4385. }
  4386. },
  4387. "500": {
  4388. "description": "Internal Server Error",
  4389. "schema": {
  4390. "$ref": "#/definitions/app.Response"
  4391. }
  4392. }
  4393. }
  4394. }
  4395. },
  4396. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4397. "get": {
  4398. "security": [
  4399. {
  4400. "ApiKeyAuth": []
  4401. }
  4402. ],
  4403. "produces": [
  4404. "application/json"
  4405. ],
  4406. "tags": [
  4407. "企业风险管理v3(app)"
  4408. ],
  4409. "summary": "查询现货市价详情(现货市价/详情)",
  4410. "parameters": [
  4411. {
  4412. "type": "integer",
  4413. "description": "用户ID",
  4414. "name": "userid",
  4415. "in": "query",
  4416. "required": true
  4417. },
  4418. {
  4419. "type": "integer",
  4420. "description": "现货商品ID",
  4421. "name": "deliverygoodsid",
  4422. "in": "query",
  4423. "required": true
  4424. },
  4425. {
  4426. "type": "integer",
  4427. "description": "品牌ID",
  4428. "name": "brandid",
  4429. "in": "query"
  4430. },
  4431. {
  4432. "type": "integer",
  4433. "description": "品类ID",
  4434. "name": "wrstandardid",
  4435. "in": "query"
  4436. }
  4437. ],
  4438. "responses": {
  4439. "200": {
  4440. "description": "OK",
  4441. "schema": {
  4442. "type": "array",
  4443. "items": {
  4444. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4445. }
  4446. }
  4447. },
  4448. "500": {
  4449. "description": "Internal Server Error",
  4450. "schema": {
  4451. "$ref": "#/definitions/app.Response"
  4452. }
  4453. }
  4454. }
  4455. }
  4456. },
  4457. "/Erms2/QueryArbitrageStrategy": {
  4458. "get": {
  4459. "security": [
  4460. {
  4461. "ApiKeyAuth": []
  4462. }
  4463. ],
  4464. "produces": [
  4465. "application/json"
  4466. ],
  4467. "tags": [
  4468. "风险管理"
  4469. ],
  4470. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4471. "parameters": [
  4472. {
  4473. "type": "integer",
  4474. "description": "账户ID",
  4475. "name": "userid",
  4476. "in": "query",
  4477. "required": true
  4478. },
  4479. {
  4480. "type": "string",
  4481. "description": "商品组ID(品种ID)",
  4482. "name": "goodsgroupid",
  4483. "in": "query"
  4484. }
  4485. ],
  4486. "responses": {
  4487. "200": {
  4488. "description": "OK",
  4489. "schema": {
  4490. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4491. }
  4492. },
  4493. "500": {
  4494. "description": "Internal Server Error",
  4495. "schema": {
  4496. "$ref": "#/definitions/app.Response"
  4497. }
  4498. }
  4499. }
  4500. }
  4501. },
  4502. "/Erms2/QueryInnerTradeDetail": {
  4503. "get": {
  4504. "security": [
  4505. {
  4506. "ApiKeyAuth": []
  4507. }
  4508. ],
  4509. "produces": [
  4510. "application/json"
  4511. ],
  4512. "tags": [
  4513. "风险管理"
  4514. ],
  4515. "summary": "查询内部成交单信息",
  4516. "parameters": [
  4517. {
  4518. "type": "integer",
  4519. "description": "资金账户",
  4520. "name": "accountid",
  4521. "in": "query",
  4522. "required": true
  4523. }
  4524. ],
  4525. "responses": {
  4526. "200": {
  4527. "description": "OK",
  4528. "schema": {
  4529. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4530. }
  4531. },
  4532. "500": {
  4533. "description": "Internal Server Error",
  4534. "schema": {
  4535. "$ref": "#/definitions/app.Response"
  4536. }
  4537. }
  4538. }
  4539. }
  4540. },
  4541. "/Erms2/QuerySpotContract": {
  4542. "get": {
  4543. "security": [
  4544. {
  4545. "ApiKeyAuth": []
  4546. }
  4547. ],
  4548. "produces": [
  4549. "application/json"
  4550. ],
  4551. "tags": [
  4552. "风险管理"
  4553. ],
  4554. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4555. "parameters": [
  4556. {
  4557. "type": "integer",
  4558. "description": "策略申请ID",
  4559. "name": "asapplyid",
  4560. "in": "query",
  4561. "required": true
  4562. },
  4563. {
  4564. "type": "integer",
  4565. "description": "现货合同ID",
  4566. "name": "spotcontractid",
  4567. "in": "query"
  4568. }
  4569. ],
  4570. "responses": {
  4571. "200": {
  4572. "description": "OK",
  4573. "schema": {
  4574. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4575. }
  4576. },
  4577. "500": {
  4578. "description": "Internal Server Error",
  4579. "schema": {
  4580. "$ref": "#/definitions/app.Response"
  4581. }
  4582. }
  4583. }
  4584. }
  4585. },
  4586. "/Erms3/AddErms2ASApply": {
  4587. "post": {
  4588. "security": [
  4589. {
  4590. "ApiKeyAuth": []
  4591. }
  4592. ],
  4593. "produces": [
  4594. "application/json"
  4595. ],
  4596. "tags": [
  4597. "风险管理v3"
  4598. ],
  4599. "summary": "新增期现套利业务申请",
  4600. "parameters": [
  4601. {
  4602. "description": "申请参数",
  4603. "name": "jsonBody",
  4604. "in": "body",
  4605. "required": true,
  4606. "schema": {
  4607. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4608. }
  4609. }
  4610. ],
  4611. "responses": {
  4612. "200": {
  4613. "description": "OK",
  4614. "schema": {
  4615. "$ref": "#/definitions/app.Response"
  4616. }
  4617. },
  4618. "500": {
  4619. "description": "Internal Server Error",
  4620. "schema": {
  4621. "$ref": "#/definitions/app.Response"
  4622. }
  4623. }
  4624. }
  4625. }
  4626. },
  4627. "/Erms3/AddErms2SpotTradeApply": {
  4628. "post": {
  4629. "security": [
  4630. {
  4631. "ApiKeyAuth": []
  4632. }
  4633. ],
  4634. "produces": [
  4635. "application/json"
  4636. ],
  4637. "tags": [
  4638. "风险管理v3"
  4639. ],
  4640. "summary": "新增现货贸易业务申请",
  4641. "parameters": [
  4642. {
  4643. "description": "申请参数",
  4644. "name": "jsonBody",
  4645. "in": "body",
  4646. "required": true,
  4647. "schema": {
  4648. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4649. }
  4650. }
  4651. ],
  4652. "responses": {
  4653. "200": {
  4654. "description": "OK",
  4655. "schema": {
  4656. "$ref": "#/definitions/app.Response"
  4657. }
  4658. },
  4659. "500": {
  4660. "description": "Internal Server Error",
  4661. "schema": {
  4662. "$ref": "#/definitions/app.Response"
  4663. }
  4664. }
  4665. }
  4666. }
  4667. },
  4668. "/Erms3/AddSpotContractApply": {
  4669. "post": {
  4670. "security": [
  4671. {
  4672. "ApiKeyAuth": []
  4673. }
  4674. ],
  4675. "produces": [
  4676. "application/json"
  4677. ],
  4678. "tags": [
  4679. "风险管理v3"
  4680. ],
  4681. "summary": "新增现货合同申请",
  4682. "parameters": [
  4683. {
  4684. "description": "申请参数",
  4685. "name": "jsonBody",
  4686. "in": "body",
  4687. "required": true,
  4688. "schema": {
  4689. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4690. }
  4691. }
  4692. ],
  4693. "responses": {
  4694. "200": {
  4695. "description": "OK",
  4696. "schema": {
  4697. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4698. }
  4699. },
  4700. "500": {
  4701. "description": "Internal Server Error",
  4702. "schema": {
  4703. "$ref": "#/definitions/app.Response"
  4704. }
  4705. }
  4706. }
  4707. }
  4708. },
  4709. "/Erms3/AddUserInfoApply": {
  4710. "post": {
  4711. "security": [
  4712. {
  4713. "ApiKeyAuth": []
  4714. }
  4715. ],
  4716. "produces": [
  4717. "application/json"
  4718. ],
  4719. "tags": [
  4720. "风险管理v3"
  4721. ],
  4722. "summary": "新增客户申请",
  4723. "parameters": [
  4724. {
  4725. "description": "用户信息",
  4726. "name": "jsonBody",
  4727. "in": "body",
  4728. "required": true,
  4729. "schema": {
  4730. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4731. }
  4732. }
  4733. ],
  4734. "responses": {
  4735. "200": {
  4736. "description": "OK",
  4737. "schema": {
  4738. "$ref": "#/definitions/app.Response"
  4739. }
  4740. },
  4741. "500": {
  4742. "description": "Internal Server Error",
  4743. "schema": {
  4744. "$ref": "#/definitions/app.Response"
  4745. }
  4746. }
  4747. }
  4748. }
  4749. },
  4750. "/Erms3/DeleteUserInfoApply": {
  4751. "get": {
  4752. "security": [
  4753. {
  4754. "ApiKeyAuth": []
  4755. }
  4756. ],
  4757. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4758. "produces": [
  4759. "application/json"
  4760. ],
  4761. "tags": [
  4762. "风险管理v3"
  4763. ],
  4764. "summary": "删除客户申请",
  4765. "parameters": [
  4766. {
  4767. "type": "integer",
  4768. "description": "用户ID",
  4769. "name": "userID",
  4770. "in": "query",
  4771. "required": true
  4772. }
  4773. ],
  4774. "responses": {
  4775. "200": {
  4776. "description": "OK",
  4777. "schema": {
  4778. "$ref": "#/definitions/app.Response"
  4779. }
  4780. },
  4781. "500": {
  4782. "description": "Internal Server Error",
  4783. "schema": {
  4784. "$ref": "#/definitions/app.Response"
  4785. }
  4786. }
  4787. }
  4788. }
  4789. },
  4790. "/Erms3/ModifyUserInfoApply": {
  4791. "post": {
  4792. "security": [
  4793. {
  4794. "ApiKeyAuth": []
  4795. }
  4796. ],
  4797. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4798. "produces": [
  4799. "application/json"
  4800. ],
  4801. "tags": [
  4802. "风险管理v3"
  4803. ],
  4804. "summary": "修改客户申请",
  4805. "parameters": [
  4806. {
  4807. "description": "用户信息",
  4808. "name": "jsonBody",
  4809. "in": "body",
  4810. "required": true,
  4811. "schema": {
  4812. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4813. }
  4814. }
  4815. ],
  4816. "responses": {
  4817. "200": {
  4818. "description": "OK",
  4819. "schema": {
  4820. "$ref": "#/definitions/app.Response"
  4821. }
  4822. },
  4823. "500": {
  4824. "description": "Internal Server Error",
  4825. "schema": {
  4826. "$ref": "#/definitions/app.Response"
  4827. }
  4828. }
  4829. }
  4830. }
  4831. },
  4832. "/Erms3/QueryBusinessInfo": {
  4833. "get": {
  4834. "security": [
  4835. {
  4836. "ApiKeyAuth": []
  4837. }
  4838. ],
  4839. "produces": [
  4840. "application/json"
  4841. ],
  4842. "tags": [
  4843. "风险管理v3"
  4844. ],
  4845. "summary": "查询业务表单数据",
  4846. "parameters": [
  4847. {
  4848. "type": "string",
  4849. "description": "资金账号ID列表,用逗号分隔",
  4850. "name": "accountids",
  4851. "in": "query",
  4852. "required": true
  4853. },
  4854. {
  4855. "type": "integer",
  4856. "description": "状态,0为未结束 1为已结束",
  4857. "name": "status",
  4858. "in": "query",
  4859. "required": true
  4860. }
  4861. ],
  4862. "responses": {
  4863. "200": {
  4864. "description": "OK",
  4865. "schema": {
  4866. "type": "array",
  4867. "items": {
  4868. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4869. }
  4870. }
  4871. },
  4872. "500": {
  4873. "description": "Internal Server Error",
  4874. "schema": {
  4875. "$ref": "#/definitions/app.Response"
  4876. }
  4877. }
  4878. }
  4879. }
  4880. },
  4881. "/Erms3/QueryPendingAuditContract": {
  4882. "get": {
  4883. "security": [
  4884. {
  4885. "ApiKeyAuth": []
  4886. }
  4887. ],
  4888. "produces": [
  4889. "application/json"
  4890. ],
  4891. "tags": [
  4892. "风险管理v3"
  4893. ],
  4894. "summary": "查询待审核合同",
  4895. "parameters": [
  4896. {
  4897. "type": "string",
  4898. "description": "资金账号ID列表,逗号隔开",
  4899. "name": "accountids",
  4900. "in": "query",
  4901. "required": true
  4902. },
  4903. {
  4904. "type": "integer",
  4905. "description": "合同类型 1-采购 -1-销售",
  4906. "name": "contracttype",
  4907. "in": "query",
  4908. "required": true
  4909. },
  4910. {
  4911. "type": "integer",
  4912. "description": "合同模式 1-普通 2-回购",
  4913. "name": "contractmode",
  4914. "in": "query",
  4915. "required": true
  4916. }
  4917. ],
  4918. "responses": {
  4919. "200": {
  4920. "description": "OK",
  4921. "schema": {
  4922. "type": "array",
  4923. "items": {
  4924. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4925. }
  4926. }
  4927. },
  4928. "500": {
  4929. "description": "Internal Server Error",
  4930. "schema": {
  4931. "$ref": "#/definitions/app.Response"
  4932. }
  4933. }
  4934. }
  4935. }
  4936. },
  4937. "/Erms3/QueryPendingBusiness": {
  4938. "get": {
  4939. "security": [
  4940. {
  4941. "ApiKeyAuth": []
  4942. }
  4943. ],
  4944. "produces": [
  4945. "application/json"
  4946. ],
  4947. "tags": [
  4948. "风险管理v3"
  4949. ],
  4950. "summary": "查询待审核基差贸易业务",
  4951. "parameters": [
  4952. {
  4953. "type": "string",
  4954. "description": "资金账号ID列表,逗号隔开",
  4955. "name": "accountids",
  4956. "in": "query",
  4957. "required": true
  4958. }
  4959. ],
  4960. "responses": {
  4961. "200": {
  4962. "description": "OK",
  4963. "schema": {
  4964. "type": "array",
  4965. "items": {
  4966. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4967. }
  4968. }
  4969. },
  4970. "500": {
  4971. "description": "Internal Server Error",
  4972. "schema": {
  4973. "$ref": "#/definitions/app.Response"
  4974. }
  4975. }
  4976. }
  4977. }
  4978. },
  4979. "/Erms3/QuerySpotContractAppleForm": {
  4980. "get": {
  4981. "security": [
  4982. {
  4983. "ApiKeyAuth": []
  4984. }
  4985. ],
  4986. "produces": [
  4987. "application/json"
  4988. ],
  4989. "tags": [
  4990. "风险管理v3"
  4991. ],
  4992. "summary": "查询合同申请表单数据",
  4993. "parameters": [
  4994. {
  4995. "type": "integer",
  4996. "description": "登录账号",
  4997. "name": "loginID",
  4998. "in": "query",
  4999. "required": true
  5000. }
  5001. ],
  5002. "responses": {
  5003. "200": {
  5004. "description": "OK",
  5005. "schema": {
  5006. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5007. }
  5008. },
  5009. "500": {
  5010. "description": "Internal Server Error",
  5011. "schema": {
  5012. "$ref": "#/definitions/app.Response"
  5013. }
  5014. }
  5015. }
  5016. }
  5017. },
  5018. "/Erms3/QuerySpotContractDetail": {
  5019. "get": {
  5020. "security": [
  5021. {
  5022. "ApiKeyAuth": []
  5023. }
  5024. ],
  5025. "produces": [
  5026. "application/json"
  5027. ],
  5028. "tags": [
  5029. "风险管理v3"
  5030. ],
  5031. "summary": "查询合同详细信息",
  5032. "parameters": [
  5033. {
  5034. "type": "string",
  5035. "description": "资金账号ID列表,用逗号分隔",
  5036. "name": "accountids",
  5037. "in": "query",
  5038. "required": true
  5039. },
  5040. {
  5041. "type": "integer",
  5042. "description": "合同类型,1为采购合同 -1为销售合同",
  5043. "name": "contracttype",
  5044. "in": "query",
  5045. "required": true
  5046. },
  5047. {
  5048. "type": "integer",
  5049. "description": "合同模式,1为普通合同 2为回购销售合同",
  5050. "name": "contractmode",
  5051. "in": "query",
  5052. "required": true
  5053. },
  5054. {
  5055. "type": "integer",
  5056. "description": "状态,0为履约中 1为已完成",
  5057. "name": "status",
  5058. "in": "query",
  5059. "required": true
  5060. }
  5061. ],
  5062. "responses": {
  5063. "200": {
  5064. "description": "OK",
  5065. "schema": {
  5066. "type": "array",
  5067. "items": {
  5068. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5069. }
  5070. }
  5071. },
  5072. "500": {
  5073. "description": "Internal Server Error",
  5074. "schema": {
  5075. "$ref": "#/definitions/app.Response"
  5076. }
  5077. }
  5078. }
  5079. }
  5080. },
  5081. "/Erms3/QueryUserInfoApplies": {
  5082. "get": {
  5083. "security": [
  5084. {
  5085. "ApiKeyAuth": []
  5086. }
  5087. ],
  5088. "produces": [
  5089. "application/json"
  5090. ],
  5091. "tags": [
  5092. "风险管理v3"
  5093. ],
  5094. "summary": "客户申请信息查询",
  5095. "parameters": [
  5096. {
  5097. "type": "integer",
  5098. "description": "页码",
  5099. "name": "page",
  5100. "in": "query"
  5101. },
  5102. {
  5103. "type": "integer",
  5104. "description": "每页条数",
  5105. "name": "pagesize",
  5106. "in": "query"
  5107. },
  5108. {
  5109. "type": "string",
  5110. "description": "客户名称,支持模糊查询",
  5111. "name": "userName",
  5112. "in": "query"
  5113. }
  5114. ],
  5115. "responses": {
  5116. "200": {
  5117. "description": "OK",
  5118. "schema": {
  5119. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5120. }
  5121. },
  5122. "500": {
  5123. "description": "Internal Server Error",
  5124. "schema": {
  5125. "$ref": "#/definitions/app.Response"
  5126. }
  5127. }
  5128. }
  5129. }
  5130. },
  5131. "/Erms3/QueryUserInfos": {
  5132. "get": {
  5133. "security": [
  5134. {
  5135. "ApiKeyAuth": []
  5136. }
  5137. ],
  5138. "produces": [
  5139. "application/json"
  5140. ],
  5141. "tags": [
  5142. "风险管理v3"
  5143. ],
  5144. "summary": "客户信息查询",
  5145. "parameters": [
  5146. {
  5147. "type": "integer",
  5148. "description": "页码",
  5149. "name": "page",
  5150. "in": "query"
  5151. },
  5152. {
  5153. "type": "integer",
  5154. "description": "每页条数",
  5155. "name": "pagesize",
  5156. "in": "query"
  5157. },
  5158. {
  5159. "type": "string",
  5160. "description": "客户名称,支持模糊查询",
  5161. "name": "userName",
  5162. "in": "query"
  5163. }
  5164. ],
  5165. "responses": {
  5166. "200": {
  5167. "description": "OK",
  5168. "schema": {
  5169. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5170. }
  5171. },
  5172. "500": {
  5173. "description": "Internal Server Error",
  5174. "schema": {
  5175. "$ref": "#/definitions/app.Response"
  5176. }
  5177. }
  5178. }
  5179. }
  5180. },
  5181. "/HSBY/GetHsbyMyCount": {
  5182. "get": {
  5183. "security": [
  5184. {
  5185. "ApiKeyAuth": []
  5186. }
  5187. ],
  5188. "description": "说明: 不包括已完成的数量。",
  5189. "produces": [
  5190. "application/json"
  5191. ],
  5192. "tags": [
  5193. "定制【海商报业】"
  5194. ],
  5195. "summary": "获取我的订单与包裹数量",
  5196. "parameters": [
  5197. {
  5198. "type": "string",
  5199. "description": "资金账户列表,格式:1,2,3",
  5200. "name": "accountIDs",
  5201. "in": "query",
  5202. "required": true
  5203. }
  5204. ],
  5205. "responses": {
  5206. "200": {
  5207. "description": "OK",
  5208. "schema": {
  5209. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5210. }
  5211. },
  5212. "500": {
  5213. "description": "Internal Server Error",
  5214. "schema": {
  5215. "$ref": "#/definitions/app.Response"
  5216. }
  5217. }
  5218. }
  5219. }
  5220. },
  5221. "/HSBY/QueryClientFixedADConfigs": {
  5222. "get": {
  5223. "security": [
  5224. {
  5225. "ApiKeyAuth": []
  5226. }
  5227. ],
  5228. "produces": [
  5229. "application/json"
  5230. ],
  5231. "tags": [
  5232. "定制【海商报业】"
  5233. ],
  5234. "summary": "获取终端固定广告配置",
  5235. "responses": {
  5236. "200": {
  5237. "description": "OK",
  5238. "schema": {
  5239. "$ref": "#/definitions/models.Clientfixedadconfig"
  5240. }
  5241. },
  5242. "500": {
  5243. "description": "Internal Server Error",
  5244. "schema": {
  5245. "$ref": "#/definitions/app.Response"
  5246. }
  5247. }
  5248. }
  5249. }
  5250. },
  5251. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5252. "get": {
  5253. "security": [
  5254. {
  5255. "ApiKeyAuth": []
  5256. }
  5257. ],
  5258. "produces": [
  5259. "application/json"
  5260. ],
  5261. "tags": [
  5262. "定制【海商报业】"
  5263. ],
  5264. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5265. "parameters": [
  5266. {
  5267. "type": "integer",
  5268. "description": "页码",
  5269. "name": "page",
  5270. "in": "query"
  5271. },
  5272. {
  5273. "type": "integer",
  5274. "description": "每页条数",
  5275. "name": "pagesize",
  5276. "in": "query"
  5277. },
  5278. {
  5279. "type": "string",
  5280. "description": "资金账户列表,格式:1,2,3",
  5281. "name": "accountIDs",
  5282. "in": "query",
  5283. "required": true
  5284. }
  5285. ],
  5286. "responses": {
  5287. "200": {
  5288. "description": "OK",
  5289. "schema": {
  5290. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5291. }
  5292. },
  5293. "500": {
  5294. "description": "Internal Server Error",
  5295. "schema": {
  5296. "$ref": "#/definitions/app.Response"
  5297. }
  5298. }
  5299. }
  5300. }
  5301. },
  5302. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5303. "get": {
  5304. "security": [
  5305. {
  5306. "ApiKeyAuth": []
  5307. }
  5308. ],
  5309. "description": "说明:查询结果已按委托价格和委托时间排序",
  5310. "produces": [
  5311. "application/json"
  5312. ],
  5313. "tags": [
  5314. "定制【海商报业】"
  5315. ],
  5316. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5317. "parameters": [
  5318. {
  5319. "type": "integer",
  5320. "description": "商品ID",
  5321. "name": "goodsID",
  5322. "in": "query",
  5323. "required": true
  5324. },
  5325. {
  5326. "type": "string",
  5327. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5328. "name": "accountIDs",
  5329. "in": "query"
  5330. },
  5331. {
  5332. "type": "integer",
  5333. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5334. "name": "buyOrSell",
  5335. "in": "query"
  5336. },
  5337. {
  5338. "type": "number",
  5339. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5340. "name": "price",
  5341. "in": "query"
  5342. },
  5343. {
  5344. "type": "integer",
  5345. "description": "档位,不传则默认为3档",
  5346. "name": "speed",
  5347. "in": "query"
  5348. }
  5349. ],
  5350. "responses": {
  5351. "200": {
  5352. "description": "OK",
  5353. "schema": {
  5354. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5355. }
  5356. },
  5357. "500": {
  5358. "description": "Internal Server Error",
  5359. "schema": {
  5360. "$ref": "#/definitions/app.Response"
  5361. }
  5362. }
  5363. }
  5364. }
  5365. },
  5366. "/HSBY/QueryHsbyListingGoodsDetail": {
  5367. "get": {
  5368. "security": [
  5369. {
  5370. "ApiKeyAuth": []
  5371. }
  5372. ],
  5373. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5374. "produces": [
  5375. "application/json"
  5376. ],
  5377. "tags": [
  5378. "定制【海商报业】"
  5379. ],
  5380. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5381. "parameters": [
  5382. {
  5383. "type": "integer",
  5384. "description": "商品ID",
  5385. "name": "goodsID",
  5386. "in": "query",
  5387. "required": true
  5388. },
  5389. {
  5390. "type": "integer",
  5391. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5392. "name": "accountID",
  5393. "in": "query"
  5394. }
  5395. ],
  5396. "responses": {
  5397. "200": {
  5398. "description": "OK",
  5399. "schema": {
  5400. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5401. }
  5402. },
  5403. "500": {
  5404. "description": "Internal Server Error",
  5405. "schema": {
  5406. "$ref": "#/definitions/app.Response"
  5407. }
  5408. }
  5409. }
  5410. }
  5411. },
  5412. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5413. "get": {
  5414. "security": [
  5415. {
  5416. "ApiKeyAuth": []
  5417. }
  5418. ],
  5419. "produces": [
  5420. "application/json"
  5421. ],
  5422. "tags": [
  5423. "定制【海商报业】"
  5424. ],
  5425. "summary": "查询三级市场(商城)商品信息详情",
  5426. "parameters": [
  5427. {
  5428. "type": "integer",
  5429. "description": "委托单号",
  5430. "name": "orderID",
  5431. "in": "query",
  5432. "required": true
  5433. },
  5434. {
  5435. "type": "integer",
  5436. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5437. "name": "accountID",
  5438. "in": "query"
  5439. }
  5440. ],
  5441. "responses": {
  5442. "200": {
  5443. "description": "OK",
  5444. "schema": {
  5445. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5446. }
  5447. },
  5448. "500": {
  5449. "description": "Internal Server Error",
  5450. "schema": {
  5451. "$ref": "#/definitions/app.Response"
  5452. }
  5453. }
  5454. }
  5455. }
  5456. },
  5457. "/HSBY/QueryHsbyMarketGoodses": {
  5458. "get": {
  5459. "security": [
  5460. {
  5461. "ApiKeyAuth": []
  5462. }
  5463. ],
  5464. "produces": [
  5465. "application/json"
  5466. ],
  5467. "tags": [
  5468. "定制【海商报业】"
  5469. ],
  5470. "summary": "查询特卖商品列表(三级商城)",
  5471. "parameters": [
  5472. {
  5473. "type": "integer",
  5474. "description": "页码",
  5475. "name": "page",
  5476. "in": "query"
  5477. },
  5478. {
  5479. "type": "integer",
  5480. "description": "每页条数",
  5481. "name": "pagesize",
  5482. "in": "query"
  5483. },
  5484. {
  5485. "type": "string",
  5486. "description": "市场ID列表,格式:1,2,3",
  5487. "name": "marketIDs",
  5488. "in": "query",
  5489. "required": true
  5490. },
  5491. {
  5492. "type": "integer",
  5493. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5494. "name": "accountID",
  5495. "in": "query",
  5496. "required": true
  5497. },
  5498. {
  5499. "type": "integer",
  5500. "description": "类别ID",
  5501. "name": "categoryID",
  5502. "in": "query"
  5503. },
  5504. {
  5505. "type": "string",
  5506. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5507. "name": "goodsIDs",
  5508. "in": "query"
  5509. },
  5510. {
  5511. "type": "integer",
  5512. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5513. "name": "couponTypeID",
  5514. "in": "query"
  5515. }
  5516. ],
  5517. "responses": {
  5518. "200": {
  5519. "description": "OK",
  5520. "schema": {
  5521. "$ref": "#/definitions/models.HsbyMarketGoods"
  5522. }
  5523. },
  5524. "500": {
  5525. "description": "Internal Server Error",
  5526. "schema": {
  5527. "$ref": "#/definitions/app.Response"
  5528. }
  5529. }
  5530. }
  5531. }
  5532. },
  5533. "/HSBY/QueryHsbyMarkets": {
  5534. "get": {
  5535. "security": [
  5536. {
  5537. "ApiKeyAuth": []
  5538. }
  5539. ],
  5540. "produces": [
  5541. "application/json"
  5542. ],
  5543. "tags": [
  5544. "定制【海商报业】"
  5545. ],
  5546. "summary": "查询海商报业相关市场信息",
  5547. "responses": {
  5548. "200": {
  5549. "description": "OK",
  5550. "schema": {
  5551. "$ref": "#/definitions/models.HsbyMarketInfo"
  5552. }
  5553. },
  5554. "500": {
  5555. "description": "Internal Server Error",
  5556. "schema": {
  5557. "$ref": "#/definitions/app.Response"
  5558. }
  5559. }
  5560. }
  5561. }
  5562. },
  5563. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5564. "get": {
  5565. "security": [
  5566. {
  5567. "ApiKeyAuth": []
  5568. }
  5569. ],
  5570. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5571. "produces": [
  5572. "application/json"
  5573. ],
  5574. "tags": [
  5575. "定制【海商报业】"
  5576. ],
  5577. "summary": "查询“我的订单”信息",
  5578. "parameters": [
  5579. {
  5580. "type": "string",
  5581. "description": "资金账户列表,格式:1,2,3",
  5582. "name": "accountIDs",
  5583. "in": "query",
  5584. "required": true
  5585. }
  5586. ],
  5587. "responses": {
  5588. "200": {
  5589. "description": "OK",
  5590. "schema": {
  5591. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5592. }
  5593. },
  5594. "500": {
  5595. "description": "Internal Server Error",
  5596. "schema": {
  5597. "$ref": "#/definitions/app.Response"
  5598. }
  5599. }
  5600. }
  5601. }
  5602. },
  5603. "/HSBY/QueryHsbyMyGoods": {
  5604. "get": {
  5605. "security": [
  5606. {
  5607. "ApiKeyAuth": []
  5608. }
  5609. ],
  5610. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5611. "produces": [
  5612. "application/json"
  5613. ],
  5614. "tags": [
  5615. "定制【海商报业】"
  5616. ],
  5617. "summary": "查询“我的商品”信息",
  5618. "parameters": [
  5619. {
  5620. "type": "string",
  5621. "description": "资金账户列表,格式:1,2,3",
  5622. "name": "accountIDs",
  5623. "in": "query",
  5624. "required": true
  5625. }
  5626. ],
  5627. "responses": {
  5628. "200": {
  5629. "description": "OK",
  5630. "schema": {
  5631. "$ref": "#/definitions/models.HsbyMyGoods"
  5632. }
  5633. },
  5634. "500": {
  5635. "description": "Internal Server Error",
  5636. "schema": {
  5637. "$ref": "#/definitions/app.Response"
  5638. }
  5639. }
  5640. }
  5641. }
  5642. },
  5643. "/HSBY/QueryHsbyMyPackages": {
  5644. "get": {
  5645. "security": [
  5646. {
  5647. "ApiKeyAuth": []
  5648. }
  5649. ],
  5650. "produces": [
  5651. "application/json"
  5652. ],
  5653. "tags": [
  5654. "定制【海商报业】"
  5655. ],
  5656. "summary": "查询我的包裹信息",
  5657. "parameters": [
  5658. {
  5659. "type": "string",
  5660. "description": "资金账户列表,格式:1,2,3",
  5661. "name": "accountIDs",
  5662. "in": "query",
  5663. "required": true
  5664. },
  5665. {
  5666. "type": "integer",
  5667. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5668. "name": "takeOrderStatus",
  5669. "in": "query"
  5670. }
  5671. ],
  5672. "responses": {
  5673. "200": {
  5674. "description": "OK",
  5675. "schema": {
  5676. "$ref": "#/definitions/models.HsbyMyPackage"
  5677. }
  5678. },
  5679. "500": {
  5680. "description": "Internal Server Error",
  5681. "schema": {
  5682. "$ref": "#/definitions/app.Response"
  5683. }
  5684. }
  5685. }
  5686. }
  5687. },
  5688. "/HSBY/QueryHsbyPreGoodsDetail": {
  5689. "get": {
  5690. "security": [
  5691. {
  5692. "ApiKeyAuth": []
  5693. }
  5694. ],
  5695. "produces": [
  5696. "application/json"
  5697. ],
  5698. "tags": [
  5699. "定制【海商报业】"
  5700. ],
  5701. "summary": "查询一级市场(预售)商品信息详情",
  5702. "parameters": [
  5703. {
  5704. "type": "integer",
  5705. "description": "商品ID",
  5706. "name": "goodsID",
  5707. "in": "query",
  5708. "required": true
  5709. },
  5710. {
  5711. "type": "integer",
  5712. "description": "资金账户,主要用于获取预售商品购买上限",
  5713. "name": "accountID",
  5714. "in": "query"
  5715. }
  5716. ],
  5717. "responses": {
  5718. "200": {
  5719. "description": "OK",
  5720. "schema": {
  5721. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5722. }
  5723. },
  5724. "500": {
  5725. "description": "Internal Server Error",
  5726. "schema": {
  5727. "$ref": "#/definitions/app.Response"
  5728. }
  5729. }
  5730. }
  5731. }
  5732. },
  5733. "/HSBY/QueryHsbyPreGoodses": {
  5734. "get": {
  5735. "security": [
  5736. {
  5737. "ApiKeyAuth": []
  5738. }
  5739. ],
  5740. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5741. "produces": [
  5742. "application/json"
  5743. ],
  5744. "tags": [
  5745. "定制【海商报业】"
  5746. ],
  5747. "summary": "查询新品上市商品列表(一级市场预售)",
  5748. "parameters": [
  5749. {
  5750. "type": "integer",
  5751. "description": "页码",
  5752. "name": "page",
  5753. "in": "query"
  5754. },
  5755. {
  5756. "type": "integer",
  5757. "description": "每页条数",
  5758. "name": "pagesize",
  5759. "in": "query"
  5760. },
  5761. {
  5762. "type": "string",
  5763. "description": "市场ID列表,格式:1,2,3",
  5764. "name": "marketIDs",
  5765. "in": "query",
  5766. "required": true
  5767. },
  5768. {
  5769. "type": "integer",
  5770. "description": "目的地(省)ID",
  5771. "name": "descProvinceID",
  5772. "in": "query"
  5773. },
  5774. {
  5775. "type": "integer",
  5776. "description": "目的地(市)ID",
  5777. "name": "descCityID",
  5778. "in": "query"
  5779. }
  5780. ],
  5781. "responses": {
  5782. "200": {
  5783. "description": "OK",
  5784. "schema": {
  5785. "$ref": "#/definitions/models.HsbyPreGoods"
  5786. }
  5787. },
  5788. "500": {
  5789. "description": "Internal Server Error",
  5790. "schema": {
  5791. "$ref": "#/definitions/app.Response"
  5792. }
  5793. }
  5794. }
  5795. }
  5796. },
  5797. "/HSBY/QueryHsbySellMyDetails": {
  5798. "get": {
  5799. "security": [
  5800. {
  5801. "ApiKeyAuth": []
  5802. }
  5803. ],
  5804. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5805. "produces": [
  5806. "application/json"
  5807. ],
  5808. "tags": [
  5809. "定制【海商报业】"
  5810. ],
  5811. "summary": "查询\"我的闲置\"单据信息",
  5812. "parameters": [
  5813. {
  5814. "type": "integer",
  5815. "description": "页码",
  5816. "name": "page",
  5817. "in": "query"
  5818. },
  5819. {
  5820. "type": "integer",
  5821. "description": "每页条数",
  5822. "name": "pagesize",
  5823. "in": "query"
  5824. },
  5825. {
  5826. "type": "string",
  5827. "description": "资金账户列表,格式:1,2,3",
  5828. "name": "accountIDs",
  5829. "in": "query",
  5830. "required": true
  5831. },
  5832. {
  5833. "type": "integer",
  5834. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5835. "name": "orderType",
  5836. "in": "query"
  5837. }
  5838. ],
  5839. "responses": {
  5840. "200": {
  5841. "description": "OK",
  5842. "schema": {
  5843. "$ref": "#/definitions/models.HsbySellMyDetail"
  5844. }
  5845. },
  5846. "500": {
  5847. "description": "Internal Server Error",
  5848. "schema": {
  5849. "$ref": "#/definitions/app.Response"
  5850. }
  5851. }
  5852. }
  5853. }
  5854. },
  5855. "/HSBY/QueryHsbyTopGoodses": {
  5856. "get": {
  5857. "security": [
  5858. {
  5859. "ApiKeyAuth": []
  5860. }
  5861. ],
  5862. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5863. "produces": [
  5864. "application/json"
  5865. ],
  5866. "tags": [
  5867. "定制【海商报业】"
  5868. ],
  5869. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5870. "parameters": [
  5871. {
  5872. "type": "integer",
  5873. "description": "页码",
  5874. "name": "page",
  5875. "in": "query"
  5876. },
  5877. {
  5878. "type": "integer",
  5879. "description": "每页条数",
  5880. "name": "pagesize",
  5881. "in": "query"
  5882. },
  5883. {
  5884. "type": "string",
  5885. "description": "市场ID列表,格式:1,2,3",
  5886. "name": "marketIDs",
  5887. "in": "query",
  5888. "required": true
  5889. },
  5890. {
  5891. "type": "integer",
  5892. "description": "目的地(省)ID",
  5893. "name": "descProvinceID",
  5894. "in": "query"
  5895. },
  5896. {
  5897. "type": "integer",
  5898. "description": "目的地(市)ID",
  5899. "name": "descCityID",
  5900. "in": "query"
  5901. }
  5902. ],
  5903. "responses": {
  5904. "200": {
  5905. "description": "OK",
  5906. "schema": {
  5907. "$ref": "#/definitions/models.HsbyTopGoods"
  5908. }
  5909. },
  5910. "500": {
  5911. "description": "Internal Server Error",
  5912. "schema": {
  5913. "$ref": "#/definitions/app.Response"
  5914. }
  5915. }
  5916. }
  5917. }
  5918. },
  5919. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5920. "get": {
  5921. "security": [
  5922. {
  5923. "ApiKeyAuth": []
  5924. }
  5925. ],
  5926. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5927. "produces": [
  5928. "application/json"
  5929. ],
  5930. "tags": [
  5931. "定制【海商报业】"
  5932. ],
  5933. "summary": "查询游客三级市场(商城)商品信息详情",
  5934. "parameters": [
  5935. {
  5936. "type": "integer",
  5937. "description": "商品ID",
  5938. "name": "goodsID",
  5939. "in": "query",
  5940. "required": true
  5941. }
  5942. ],
  5943. "responses": {
  5944. "200": {
  5945. "description": "OK",
  5946. "schema": {
  5947. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5948. }
  5949. },
  5950. "500": {
  5951. "description": "Internal Server Error",
  5952. "schema": {
  5953. "$ref": "#/definitions/app.Response"
  5954. }
  5955. }
  5956. }
  5957. }
  5958. },
  5959. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5960. "get": {
  5961. "security": [
  5962. {
  5963. "ApiKeyAuth": []
  5964. }
  5965. ],
  5966. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5967. "produces": [
  5968. "application/json"
  5969. ],
  5970. "tags": [
  5971. "定制【海商报业】"
  5972. ],
  5973. "summary": "查询游客特卖商品列表(三级商城)",
  5974. "parameters": [
  5975. {
  5976. "type": "integer",
  5977. "description": "页码",
  5978. "name": "page",
  5979. "in": "query"
  5980. },
  5981. {
  5982. "type": "integer",
  5983. "description": "每页条数",
  5984. "name": "pagesize",
  5985. "in": "query"
  5986. },
  5987. {
  5988. "type": "string",
  5989. "description": "市场ID列表,格式:1,2,3",
  5990. "name": "marketIDs",
  5991. "in": "query",
  5992. "required": true
  5993. },
  5994. {
  5995. "type": "integer",
  5996. "description": "类别ID",
  5997. "name": "categoryID",
  5998. "in": "query"
  5999. },
  6000. {
  6001. "type": "string",
  6002. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6003. "name": "goodsIDs",
  6004. "in": "query"
  6005. }
  6006. ],
  6007. "responses": {
  6008. "200": {
  6009. "description": "OK",
  6010. "schema": {
  6011. "$ref": "#/definitions/models.HsbyMarketGoods"
  6012. }
  6013. },
  6014. "500": {
  6015. "description": "Internal Server Error",
  6016. "schema": {
  6017. "$ref": "#/definitions/app.Response"
  6018. }
  6019. }
  6020. }
  6021. }
  6022. },
  6023. "/HSBY/QueryMyCollectionOrders": {
  6024. "get": {
  6025. "security": [
  6026. {
  6027. "ApiKeyAuth": []
  6028. }
  6029. ],
  6030. "produces": [
  6031. "application/json"
  6032. ],
  6033. "tags": [
  6034. "定制【海商报业】"
  6035. ],
  6036. "summary": "我的闲置中收款信息查询",
  6037. "parameters": [
  6038. {
  6039. "type": "integer",
  6040. "description": "页码",
  6041. "name": "page",
  6042. "in": "query"
  6043. },
  6044. {
  6045. "type": "integer",
  6046. "description": "每页条数",
  6047. "name": "pagesize",
  6048. "in": "query"
  6049. },
  6050. {
  6051. "type": "string",
  6052. "description": "资金账户,格式:1,2,3",
  6053. "name": "accountIDs",
  6054. "in": "query",
  6055. "required": true
  6056. }
  6057. ],
  6058. "responses": {
  6059. "200": {
  6060. "description": "OK",
  6061. "schema": {
  6062. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6063. }
  6064. },
  6065. "500": {
  6066. "description": "Internal Server Error",
  6067. "schema": {
  6068. "$ref": "#/definitions/app.Response"
  6069. }
  6070. }
  6071. }
  6072. }
  6073. },
  6074. "/HSBY/QueryMyCouponHolds": {
  6075. "get": {
  6076. "security": [
  6077. {
  6078. "ApiKeyAuth": []
  6079. }
  6080. ],
  6081. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6082. "produces": [
  6083. "application/json"
  6084. ],
  6085. "tags": [
  6086. "定制【海商报业】"
  6087. ],
  6088. "summary": "我的优惠卷持仓查询",
  6089. "parameters": [
  6090. {
  6091. "type": "string",
  6092. "description": "资金账户列表,格式:1,2,3",
  6093. "name": "accountIDs",
  6094. "in": "query",
  6095. "required": true
  6096. },
  6097. {
  6098. "type": "string",
  6099. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6100. "name": "holdStatus",
  6101. "in": "query"
  6102. }
  6103. ],
  6104. "responses": {
  6105. "200": {
  6106. "description": "OK",
  6107. "schema": {
  6108. "$ref": "#/definitions/models.MyCouponHold"
  6109. }
  6110. },
  6111. "500": {
  6112. "description": "Internal Server Error",
  6113. "schema": {
  6114. "$ref": "#/definitions/app.Response"
  6115. }
  6116. }
  6117. }
  6118. }
  6119. },
  6120. "/HSBY/QueryMyCoupons": {
  6121. "get": {
  6122. "security": [
  6123. {
  6124. "ApiKeyAuth": []
  6125. }
  6126. ],
  6127. "produces": [
  6128. "application/json"
  6129. ],
  6130. "tags": [
  6131. "定制【海商报业】"
  6132. ],
  6133. "summary": "我的优惠卷查询",
  6134. "parameters": [
  6135. {
  6136. "type": "string",
  6137. "description": "资金账户列表,格式:1,2,3",
  6138. "name": "accountIDs",
  6139. "in": "query",
  6140. "required": true
  6141. },
  6142. {
  6143. "type": "integer",
  6144. "description": "商品ID, 一般与sellUserID配套传入",
  6145. "name": "goodsID",
  6146. "in": "query"
  6147. },
  6148. {
  6149. "type": "integer",
  6150. "description": "卖方UserID",
  6151. "name": "sellUserID",
  6152. "in": "query"
  6153. }
  6154. ],
  6155. "responses": {
  6156. "200": {
  6157. "description": "OK",
  6158. "schema": {
  6159. "$ref": "#/definitions/models.MyCoupon"
  6160. }
  6161. },
  6162. "500": {
  6163. "description": "Internal Server Error",
  6164. "schema": {
  6165. "$ref": "#/definitions/app.Response"
  6166. }
  6167. }
  6168. }
  6169. }
  6170. },
  6171. "/HSBY/QueryMyPayOrders": {
  6172. "get": {
  6173. "security": [
  6174. {
  6175. "ApiKeyAuth": []
  6176. }
  6177. ],
  6178. "produces": [
  6179. "application/json"
  6180. ],
  6181. "tags": [
  6182. "定制【海商报业】"
  6183. ],
  6184. "summary": "获取我的订单中待付款信息",
  6185. "parameters": [
  6186. {
  6187. "type": "integer",
  6188. "description": "页码",
  6189. "name": "page",
  6190. "in": "query"
  6191. },
  6192. {
  6193. "type": "integer",
  6194. "description": "每页条数",
  6195. "name": "pagesize",
  6196. "in": "query"
  6197. },
  6198. {
  6199. "type": "string",
  6200. "description": "资金账户列表,格式:1,2,3",
  6201. "name": "accountIDs",
  6202. "in": "query",
  6203. "required": true
  6204. },
  6205. {
  6206. "type": "integer",
  6207. "description": "买方委托单号",
  6208. "name": "buyOrderID",
  6209. "in": "query"
  6210. },
  6211. {
  6212. "type": "integer",
  6213. "description": "卖方委托单号",
  6214. "name": "sellOrderID",
  6215. "in": "query"
  6216. }
  6217. ],
  6218. "responses": {
  6219. "200": {
  6220. "description": "OK",
  6221. "schema": {
  6222. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6223. }
  6224. },
  6225. "500": {
  6226. "description": "Internal Server Error",
  6227. "schema": {
  6228. "$ref": "#/definitions/app.Response"
  6229. }
  6230. }
  6231. }
  6232. }
  6233. },
  6234. "/HSBY/QueryMyUsedCoupon": {
  6235. "get": {
  6236. "security": [
  6237. {
  6238. "ApiKeyAuth": []
  6239. }
  6240. ],
  6241. "produces": [
  6242. "application/json"
  6243. ],
  6244. "tags": [
  6245. "定制【海商报业】"
  6246. ],
  6247. "summary": "已使用优惠卷查询",
  6248. "parameters": [
  6249. {
  6250. "type": "string",
  6251. "description": "资金账户列表,格式:1,2,3",
  6252. "name": "accountIDs",
  6253. "in": "query",
  6254. "required": true
  6255. }
  6256. ],
  6257. "responses": {
  6258. "200": {
  6259. "description": "OK",
  6260. "schema": {
  6261. "$ref": "#/definitions/models.MyUsedCoupon"
  6262. }
  6263. },
  6264. "500": {
  6265. "description": "Internal Server Error",
  6266. "schema": {
  6267. "$ref": "#/definitions/app.Response"
  6268. }
  6269. }
  6270. }
  6271. }
  6272. },
  6273. "/HSBY/QueryProvincesAndCities": {
  6274. "get": {
  6275. "security": [
  6276. {
  6277. "ApiKeyAuth": []
  6278. }
  6279. ],
  6280. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6281. "produces": [
  6282. "application/json"
  6283. ],
  6284. "tags": [
  6285. "定制【海商报业】"
  6286. ],
  6287. "summary": "查询省市信息(不包括区)",
  6288. "parameters": [
  6289. {
  6290. "type": "integer",
  6291. "description": "省ID",
  6292. "name": "provinceID",
  6293. "in": "query"
  6294. }
  6295. ],
  6296. "responses": {
  6297. "200": {
  6298. "description": "OK",
  6299. "schema": {
  6300. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6301. }
  6302. },
  6303. "500": {
  6304. "description": "Internal Server Error",
  6305. "schema": {
  6306. "$ref": "#/definitions/app.Response"
  6307. }
  6308. }
  6309. }
  6310. }
  6311. },
  6312. "/HSBY/SetHsbyMyPackagesStatus": {
  6313. "post": {
  6314. "security": [
  6315. {
  6316. "ApiKeyAuth": []
  6317. }
  6318. ],
  6319. "produces": [
  6320. "application/json"
  6321. ],
  6322. "tags": [
  6323. "定制【海商报业】"
  6324. ],
  6325. "summary": "设置我的包裹已收货状态",
  6326. "parameters": [
  6327. {
  6328. "type": "string",
  6329. "description": "提货单号",
  6330. "name": "takeOrderID",
  6331. "in": "query",
  6332. "required": true
  6333. },
  6334. {
  6335. "type": "integer",
  6336. "description": "资金账号",
  6337. "name": "accountID",
  6338. "in": "query",
  6339. "required": true
  6340. }
  6341. ],
  6342. "responses": {
  6343. "200": {
  6344. "description": "OK",
  6345. "schema": {
  6346. "$ref": "#/definitions/app.Response"
  6347. }
  6348. },
  6349. "500": {
  6350. "description": "Internal Server Error",
  6351. "schema": {
  6352. "$ref": "#/definitions/app.Response"
  6353. }
  6354. }
  6355. }
  6356. }
  6357. },
  6358. "/Market/QueryGoodsesByLoginID": {
  6359. "get": {
  6360. "security": [
  6361. {
  6362. "ApiKeyAuth": []
  6363. }
  6364. ],
  6365. "produces": [
  6366. "application/json"
  6367. ],
  6368. "tags": [
  6369. "通用市场"
  6370. ],
  6371. "summary": "获取登录账号有权限的商品信息",
  6372. "parameters": [
  6373. {
  6374. "type": "integer",
  6375. "description": "登录账号",
  6376. "name": "loginID",
  6377. "in": "query",
  6378. "required": true
  6379. },
  6380. {
  6381. "type": "string",
  6382. "description": "市场ID列表,格式:1,2,3",
  6383. "name": "marketIDs",
  6384. "in": "query"
  6385. }
  6386. ],
  6387. "responses": {
  6388. "200": {
  6389. "description": "OK",
  6390. "schema": {
  6391. "$ref": "#/definitions/models.Goods"
  6392. }
  6393. },
  6394. "500": {
  6395. "description": "Internal Server Error",
  6396. "schema": {
  6397. "$ref": "#/definitions/app.Response"
  6398. }
  6399. }
  6400. }
  6401. }
  6402. },
  6403. "/Market/QueryMarketRun": {
  6404. "get": {
  6405. "security": [
  6406. {
  6407. "ApiKeyAuth": []
  6408. }
  6409. ],
  6410. "produces": [
  6411. "application/json"
  6412. ],
  6413. "tags": [
  6414. "通用市场"
  6415. ],
  6416. "summary": "查询市场运行信息",
  6417. "parameters": [
  6418. {
  6419. "type": "integer",
  6420. "description": "市场ID,不传返回所有",
  6421. "name": "marketID",
  6422. "in": "query"
  6423. }
  6424. ],
  6425. "responses": {
  6426. "200": {
  6427. "description": "OK",
  6428. "schema": {
  6429. "$ref": "#/definitions/models.Marketrun"
  6430. }
  6431. },
  6432. "500": {
  6433. "description": "Internal Server Error",
  6434. "schema": {
  6435. "$ref": "#/definitions/app.Response"
  6436. }
  6437. }
  6438. }
  6439. }
  6440. },
  6441. "/Market/QueryMarketsByLoginID": {
  6442. "get": {
  6443. "security": [
  6444. {
  6445. "ApiKeyAuth": []
  6446. }
  6447. ],
  6448. "produces": [
  6449. "application/json"
  6450. ],
  6451. "tags": [
  6452. "通用市场"
  6453. ],
  6454. "summary": "获取登录账号有权限的市场信息",
  6455. "parameters": [
  6456. {
  6457. "type": "integer",
  6458. "description": "登录账号",
  6459. "name": "loginID",
  6460. "in": "query",
  6461. "required": true
  6462. }
  6463. ],
  6464. "responses": {
  6465. "200": {
  6466. "description": "OK",
  6467. "schema": {
  6468. "$ref": "#/definitions/models.Market"
  6469. }
  6470. },
  6471. "500": {
  6472. "description": "Internal Server Error",
  6473. "schema": {
  6474. "$ref": "#/definitions/app.Response"
  6475. }
  6476. }
  6477. }
  6478. }
  6479. },
  6480. "/Order/QueryHisTradeDetail": {
  6481. "get": {
  6482. "security": [
  6483. {
  6484. "ApiKeyAuth": []
  6485. }
  6486. ],
  6487. "produces": [
  6488. "application/json"
  6489. ],
  6490. "tags": [
  6491. "通用单据"
  6492. ],
  6493. "summary": "历史成交单查询(合约市场)",
  6494. "parameters": [
  6495. {
  6496. "type": "string",
  6497. "description": "资金账户 - 格式:1,2,3",
  6498. "name": "accountID",
  6499. "in": "query",
  6500. "required": true
  6501. },
  6502. {
  6503. "type": "integer",
  6504. "description": "成交单号",
  6505. "name": "tradeID",
  6506. "in": "query"
  6507. },
  6508. {
  6509. "type": "integer",
  6510. "description": "委托单号",
  6511. "name": "orderID",
  6512. "in": "query"
  6513. },
  6514. {
  6515. "type": "string",
  6516. "description": "交易模式 - 格式:1,2,3",
  6517. "name": "tradeMode",
  6518. "in": "query"
  6519. },
  6520. {
  6521. "type": "integer",
  6522. "description": "委托单据类型",
  6523. "name": "buildType",
  6524. "in": "query"
  6525. },
  6526. {
  6527. "type": "string",
  6528. "description": "成交类别 - 格式:1,2,3",
  6529. "name": "tradeType",
  6530. "in": "query"
  6531. },
  6532. {
  6533. "type": "string",
  6534. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6535. "name": "startDate",
  6536. "in": "query"
  6537. },
  6538. {
  6539. "type": "string",
  6540. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6541. "name": "endDate",
  6542. "in": "query"
  6543. }
  6544. ],
  6545. "responses": {
  6546. "200": {
  6547. "description": "OK",
  6548. "schema": {
  6549. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6550. }
  6551. },
  6552. "500": {
  6553. "description": "Internal Server Error",
  6554. "schema": {
  6555. "$ref": "#/definitions/app.Response"
  6556. }
  6557. }
  6558. }
  6559. }
  6560. },
  6561. "/Order/QueryHisTradeOrderDetail": {
  6562. "get": {
  6563. "security": [
  6564. {
  6565. "ApiKeyAuth": []
  6566. }
  6567. ],
  6568. "produces": [
  6569. "application/json"
  6570. ],
  6571. "tags": [
  6572. "通用单据"
  6573. ],
  6574. "summary": "历史委托单查询请求(合约市场)",
  6575. "parameters": [
  6576. {
  6577. "type": "string",
  6578. "description": "资金账户 - 格式:1,2,3",
  6579. "name": "accountID",
  6580. "in": "query",
  6581. "required": true
  6582. },
  6583. {
  6584. "type": "string",
  6585. "description": "交易模式 - 格式:1,2,3",
  6586. "name": "tradeMode",
  6587. "in": "query"
  6588. },
  6589. {
  6590. "type": "string",
  6591. "description": "委托状态 - 格式:1,2,3",
  6592. "name": "orderStatus",
  6593. "in": "query"
  6594. },
  6595. {
  6596. "type": "integer",
  6597. "description": "委托单号",
  6598. "name": "orderID",
  6599. "in": "query"
  6600. },
  6601. {
  6602. "type": "string",
  6603. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6604. "name": "startDate",
  6605. "in": "query"
  6606. },
  6607. {
  6608. "type": "string",
  6609. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6610. "name": "endDate",
  6611. "in": "query"
  6612. }
  6613. ],
  6614. "responses": {
  6615. "200": {
  6616. "description": "OK",
  6617. "schema": {
  6618. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6619. }
  6620. },
  6621. "500": {
  6622. "description": "Internal Server Error",
  6623. "schema": {
  6624. "$ref": "#/definitions/app.Response"
  6625. }
  6626. }
  6627. }
  6628. }
  6629. },
  6630. "/Order/QueryTradeDetail": {
  6631. "get": {
  6632. "security": [
  6633. {
  6634. "ApiKeyAuth": []
  6635. }
  6636. ],
  6637. "produces": [
  6638. "application/json"
  6639. ],
  6640. "tags": [
  6641. "通用单据"
  6642. ],
  6643. "summary": "成交单查询(合约市场)",
  6644. "parameters": [
  6645. {
  6646. "type": "string",
  6647. "description": "资金账户 - 格式:1,2,3",
  6648. "name": "accountID",
  6649. "in": "query",
  6650. "required": true
  6651. },
  6652. {
  6653. "type": "integer",
  6654. "description": "成交单号",
  6655. "name": "tradeID",
  6656. "in": "query"
  6657. },
  6658. {
  6659. "type": "integer",
  6660. "description": "委托单号",
  6661. "name": "orderID",
  6662. "in": "query"
  6663. },
  6664. {
  6665. "type": "string",
  6666. "description": "交易模式 - 格式:1,2,3",
  6667. "name": "tradeMode",
  6668. "in": "query"
  6669. },
  6670. {
  6671. "type": "integer",
  6672. "description": "委托单据类型",
  6673. "name": "buildType",
  6674. "in": "query"
  6675. },
  6676. {
  6677. "type": "string",
  6678. "description": "成交类别 - 格式:1,2,3",
  6679. "name": "tradeType",
  6680. "in": "query"
  6681. }
  6682. ],
  6683. "responses": {
  6684. "200": {
  6685. "description": "OK",
  6686. "schema": {
  6687. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6688. }
  6689. },
  6690. "500": {
  6691. "description": "Internal Server Error",
  6692. "schema": {
  6693. "$ref": "#/definitions/app.Response"
  6694. }
  6695. }
  6696. }
  6697. }
  6698. },
  6699. "/Order/QueryTradeOrderDetail": {
  6700. "get": {
  6701. "security": [
  6702. {
  6703. "ApiKeyAuth": []
  6704. }
  6705. ],
  6706. "produces": [
  6707. "application/json"
  6708. ],
  6709. "tags": [
  6710. "通用单据"
  6711. ],
  6712. "summary": "委托单查询请求(合约市场)",
  6713. "parameters": [
  6714. {
  6715. "type": "string",
  6716. "description": "资金账户 - 格式:1,2,3",
  6717. "name": "accountID",
  6718. "in": "query",
  6719. "required": true
  6720. },
  6721. {
  6722. "type": "string",
  6723. "description": "交易模式 - 格式:1,2,3",
  6724. "name": "tradeMode",
  6725. "in": "query"
  6726. },
  6727. {
  6728. "type": "string",
  6729. "description": "委托状态 - 格式:1,2,3",
  6730. "name": "orderStatus",
  6731. "in": "query"
  6732. },
  6733. {
  6734. "type": "integer",
  6735. "description": "委托单号",
  6736. "name": "orderID",
  6737. "in": "query"
  6738. }
  6739. ],
  6740. "responses": {
  6741. "200": {
  6742. "description": "OK",
  6743. "schema": {
  6744. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6745. }
  6746. },
  6747. "500": {
  6748. "description": "Internal Server Error",
  6749. "schema": {
  6750. "$ref": "#/definitions/app.Response"
  6751. }
  6752. }
  6753. }
  6754. }
  6755. },
  6756. "/Order/QueryTradePosition": {
  6757. "get": {
  6758. "security": [
  6759. {
  6760. "ApiKeyAuth": []
  6761. }
  6762. ],
  6763. "produces": [
  6764. "application/json"
  6765. ],
  6766. "tags": [
  6767. "通用单据"
  6768. ],
  6769. "summary": "持仓汇总查询(合约市场)",
  6770. "parameters": [
  6771. {
  6772. "type": "string",
  6773. "description": "资金账户 - 格式:1,2,3",
  6774. "name": "accountID",
  6775. "in": "query",
  6776. "required": true
  6777. },
  6778. {
  6779. "type": "string",
  6780. "description": "交易模式 - 格式:1,2,3",
  6781. "name": "tradeMode",
  6782. "in": "query"
  6783. }
  6784. ],
  6785. "responses": {
  6786. "200": {
  6787. "description": "OK",
  6788. "schema": {
  6789. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6790. }
  6791. },
  6792. "500": {
  6793. "description": "Internal Server Error",
  6794. "schema": {
  6795. "$ref": "#/definitions/app.Response"
  6796. }
  6797. }
  6798. }
  6799. }
  6800. },
  6801. "/Quote/QueryHistoryDatas": {
  6802. "get": {
  6803. "security": [
  6804. {
  6805. "ApiKeyAuth": []
  6806. }
  6807. ],
  6808. "produces": [
  6809. "application/json"
  6810. ],
  6811. "tags": [
  6812. "行情服务"
  6813. ],
  6814. "summary": "查询行情历史数据",
  6815. "parameters": [
  6816. {
  6817. "type": "integer",
  6818. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  6819. "name": "cycleType",
  6820. "in": "query",
  6821. "required": true
  6822. },
  6823. {
  6824. "type": "string",
  6825. "description": "商品代码",
  6826. "name": "goodsCode",
  6827. "in": "query",
  6828. "required": true
  6829. },
  6830. {
  6831. "type": "string",
  6832. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6833. "name": "startTime",
  6834. "in": "query"
  6835. },
  6836. {
  6837. "type": "string",
  6838. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6839. "name": "endTime",
  6840. "in": "query"
  6841. },
  6842. {
  6843. "type": "integer",
  6844. "description": "条数",
  6845. "name": "count",
  6846. "in": "query"
  6847. },
  6848. {
  6849. "type": "boolean",
  6850. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6851. "name": "isAsc",
  6852. "in": "query"
  6853. }
  6854. ],
  6855. "responses": {
  6856. "200": {
  6857. "description": "OK",
  6858. "schema": {
  6859. "$ref": "#/definitions/quote.HistoryData"
  6860. }
  6861. },
  6862. "500": {
  6863. "description": "Internal Server Error",
  6864. "schema": {
  6865. "$ref": "#/definitions/app.Response"
  6866. }
  6867. }
  6868. }
  6869. }
  6870. },
  6871. "/Quote/QueryHistoryTikDatas": {
  6872. "get": {
  6873. "security": [
  6874. {
  6875. "ApiKeyAuth": []
  6876. }
  6877. ],
  6878. "produces": [
  6879. "application/json"
  6880. ],
  6881. "tags": [
  6882. "行情服务"
  6883. ],
  6884. "summary": "查询行情Tik数据",
  6885. "parameters": [
  6886. {
  6887. "type": "string",
  6888. "description": "商品代码",
  6889. "name": "goodsCode",
  6890. "in": "query",
  6891. "required": true
  6892. },
  6893. {
  6894. "type": "string",
  6895. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6896. "name": "startTime",
  6897. "in": "query"
  6898. },
  6899. {
  6900. "type": "string",
  6901. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6902. "name": "endTime",
  6903. "in": "query"
  6904. },
  6905. {
  6906. "type": "integer",
  6907. "description": "条数",
  6908. "name": "count",
  6909. "in": "query"
  6910. },
  6911. {
  6912. "type": "boolean",
  6913. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6914. "name": "isAsc",
  6915. "in": "query"
  6916. }
  6917. ],
  6918. "responses": {
  6919. "200": {
  6920. "description": "OK",
  6921. "schema": {
  6922. "$ref": "#/definitions/quote.HistoryTikData"
  6923. }
  6924. },
  6925. "500": {
  6926. "description": "Internal Server Error",
  6927. "schema": {
  6928. "$ref": "#/definitions/app.Response"
  6929. }
  6930. }
  6931. }
  6932. }
  6933. },
  6934. "/Quote/QueryQuoteDay": {
  6935. "get": {
  6936. "security": [
  6937. {
  6938. "ApiKeyAuth": []
  6939. }
  6940. ],
  6941. "produces": [
  6942. "application/json"
  6943. ],
  6944. "tags": [
  6945. "行情服务"
  6946. ],
  6947. "summary": "获取商品盘面信息",
  6948. "parameters": [
  6949. {
  6950. "type": "string",
  6951. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  6952. "name": "goodsCodes",
  6953. "in": "query",
  6954. "required": true
  6955. }
  6956. ],
  6957. "responses": {
  6958. "200": {
  6959. "description": "OK",
  6960. "schema": {
  6961. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  6962. }
  6963. },
  6964. "500": {
  6965. "description": "Internal Server Error",
  6966. "schema": {
  6967. "$ref": "#/definitions/app.Response"
  6968. }
  6969. }
  6970. }
  6971. }
  6972. },
  6973. "/Quote/QueryTSData": {
  6974. "get": {
  6975. "security": [
  6976. {
  6977. "ApiKeyAuth": []
  6978. }
  6979. ],
  6980. "produces": [
  6981. "application/json"
  6982. ],
  6983. "tags": [
  6984. "行情服务"
  6985. ],
  6986. "summary": "分时图数据查询",
  6987. "parameters": [
  6988. {
  6989. "type": "string",
  6990. "description": "商品代码",
  6991. "name": "goodsCode",
  6992. "in": "query",
  6993. "required": true
  6994. }
  6995. ],
  6996. "responses": {
  6997. "200": {
  6998. "description": "OK",
  6999. "schema": {
  7000. "$ref": "#/definitions/quote.QueryTSDataRsp"
  7001. }
  7002. },
  7003. "500": {
  7004. "description": "Internal Server Error",
  7005. "schema": {
  7006. "$ref": "#/definitions/app.Response"
  7007. }
  7008. }
  7009. }
  7010. }
  7011. },
  7012. "/SZDZ/QueryConvertConfig": {
  7013. "get": {
  7014. "security": [
  7015. {
  7016. "ApiKeyAuth": []
  7017. }
  7018. ],
  7019. "produces": [
  7020. "application/json"
  7021. ],
  7022. "tags": [
  7023. "定制【尚志大宗】"
  7024. ],
  7025. "summary": "查询交易系统转换设置",
  7026. "parameters": [
  7027. {
  7028. "type": "integer",
  7029. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7030. "name": "convertType",
  7031. "in": "query"
  7032. },
  7033. {
  7034. "type": "string",
  7035. "description": "外部商品代码[JD\\PD]",
  7036. "name": "outerGoodsCode",
  7037. "in": "query"
  7038. },
  7039. {
  7040. "type": "string",
  7041. "description": "内部商品ID列表[交易],格式:1,2,3",
  7042. "name": "innerGoodsIDs",
  7043. "in": "query"
  7044. }
  7045. ],
  7046. "responses": {
  7047. "200": {
  7048. "description": "OK",
  7049. "schema": {
  7050. "$ref": "#/definitions/models.Szdz3convertconfig"
  7051. }
  7052. },
  7053. "500": {
  7054. "description": "Internal Server Error",
  7055. "schema": {
  7056. "$ref": "#/definitions/app.Response"
  7057. }
  7058. }
  7059. }
  7060. }
  7061. },
  7062. "/SZDZ/QueryConvertLog": {
  7063. "get": {
  7064. "security": [
  7065. {
  7066. "ApiKeyAuth": []
  7067. }
  7068. ],
  7069. "produces": [
  7070. "application/json"
  7071. ],
  7072. "tags": [
  7073. "定制【尚志大宗】"
  7074. ],
  7075. "summary": "交易系统转换流水查询",
  7076. "parameters": [
  7077. {
  7078. "type": "string",
  7079. "description": "资金账户 - 格式:1,2,3",
  7080. "name": "accountID",
  7081. "in": "query",
  7082. "required": true
  7083. },
  7084. {
  7085. "type": "string",
  7086. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7087. "name": "startDate",
  7088. "in": "query"
  7089. },
  7090. {
  7091. "type": "string",
  7092. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7093. "name": "endDate",
  7094. "in": "query"
  7095. }
  7096. ],
  7097. "responses": {
  7098. "200": {
  7099. "description": "OK",
  7100. "schema": {
  7101. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  7102. }
  7103. },
  7104. "500": {
  7105. "description": "Internal Server Error",
  7106. "schema": {
  7107. "$ref": "#/definitions/app.Response"
  7108. }
  7109. }
  7110. }
  7111. }
  7112. },
  7113. "/SZDZ/QueryGoodsPickup": {
  7114. "get": {
  7115. "security": [
  7116. {
  7117. "ApiKeyAuth": []
  7118. }
  7119. ],
  7120. "produces": [
  7121. "application/json"
  7122. ],
  7123. "tags": [
  7124. "定制【尚志大宗】"
  7125. ],
  7126. "summary": "商品提货单查询",
  7127. "parameters": [
  7128. {
  7129. "type": "string",
  7130. "description": "资金账户 - 格式:1,2,3",
  7131. "name": "accountID",
  7132. "in": "query",
  7133. "required": true
  7134. },
  7135. {
  7136. "type": "integer",
  7137. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7138. "name": "takeOrderStatus",
  7139. "in": "query"
  7140. }
  7141. ],
  7142. "responses": {
  7143. "200": {
  7144. "description": "OK",
  7145. "schema": {
  7146. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  7147. }
  7148. },
  7149. "500": {
  7150. "description": "Internal Server Error",
  7151. "schema": {
  7152. "$ref": "#/definitions/app.Response"
  7153. }
  7154. }
  7155. }
  7156. }
  7157. },
  7158. "/SZDZ/QueryRecieptOrder": {
  7159. "get": {
  7160. "security": [
  7161. {
  7162. "ApiKeyAuth": []
  7163. }
  7164. ],
  7165. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7166. "produces": [
  7167. "application/json"
  7168. ],
  7169. "tags": [
  7170. "定制【尚志大宗】"
  7171. ],
  7172. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  7173. "parameters": [
  7174. {
  7175. "type": "integer",
  7176. "description": "页码",
  7177. "name": "page",
  7178. "in": "query"
  7179. },
  7180. {
  7181. "type": "integer",
  7182. "description": "每页条数",
  7183. "name": "pagesize",
  7184. "in": "query"
  7185. },
  7186. {
  7187. "type": "integer",
  7188. "description": "商品ID",
  7189. "name": "goodsID",
  7190. "in": "query",
  7191. "required": true
  7192. },
  7193. {
  7194. "type": "string",
  7195. "description": "所属账户名称",
  7196. "name": "accountName",
  7197. "in": "query"
  7198. },
  7199. {
  7200. "type": "integer",
  7201. "description": "市场ID",
  7202. "name": "marketID",
  7203. "in": "query"
  7204. },
  7205. {
  7206. "type": "integer",
  7207. "description": "方向 - 0:买 1:卖",
  7208. "name": "buyorsell",
  7209. "in": "query",
  7210. "required": true
  7211. }
  7212. ],
  7213. "responses": {
  7214. "200": {
  7215. "description": "OK",
  7216. "schema": {
  7217. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  7218. }
  7219. },
  7220. "500": {
  7221. "description": "Internal Server Error",
  7222. "schema": {
  7223. "$ref": "#/definitions/app.Response"
  7224. }
  7225. }
  7226. }
  7227. }
  7228. },
  7229. "/SZDZ/QuerySZDZTradePosition": {
  7230. "get": {
  7231. "security": [
  7232. {
  7233. "ApiKeyAuth": []
  7234. }
  7235. ],
  7236. "produces": [
  7237. "application/json"
  7238. ],
  7239. "tags": [
  7240. "定制【尚志大宗】"
  7241. ],
  7242. "summary": "持仓汇总查询(尚志大宗)",
  7243. "parameters": [
  7244. {
  7245. "type": "integer",
  7246. "description": "资金账户",
  7247. "name": "accountID",
  7248. "in": "query",
  7249. "required": true
  7250. }
  7251. ],
  7252. "responses": {
  7253. "200": {
  7254. "description": "OK",
  7255. "schema": {
  7256. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  7257. }
  7258. },
  7259. "500": {
  7260. "description": "Internal Server Error",
  7261. "schema": {
  7262. "$ref": "#/definitions/app.Response"
  7263. }
  7264. }
  7265. }
  7266. }
  7267. },
  7268. "/SZDZ/SearchWhite": {
  7269. "get": {
  7270. "security": [
  7271. {
  7272. "ApiKeyAuth": []
  7273. }
  7274. ],
  7275. "produces": [
  7276. "application/json"
  7277. ],
  7278. "tags": [
  7279. "定制【尚志大宗】"
  7280. ],
  7281. "summary": "搜索白名单",
  7282. "parameters": [
  7283. {
  7284. "type": "integer",
  7285. "description": "用户ID",
  7286. "name": "userID",
  7287. "in": "query",
  7288. "required": true
  7289. }
  7290. ],
  7291. "responses": {
  7292. "200": {
  7293. "description": "OK",
  7294. "schema": {
  7295. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  7296. }
  7297. },
  7298. "500": {
  7299. "description": "Internal Server Error",
  7300. "schema": {
  7301. "$ref": "#/definitions/app.Response"
  7302. }
  7303. }
  7304. }
  7305. }
  7306. },
  7307. "/Search/SearchGoodses": {
  7308. "get": {
  7309. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  7310. "produces": [
  7311. "application/json"
  7312. ],
  7313. "tags": [
  7314. "检索服务"
  7315. ],
  7316. "summary": "检索商品信息",
  7317. "parameters": [
  7318. {
  7319. "type": "string",
  7320. "description": "检索内容",
  7321. "name": "content",
  7322. "in": "query",
  7323. "required": true
  7324. },
  7325. {
  7326. "type": "string",
  7327. "description": "交易模式,格式:1,2,3",
  7328. "name": "tradeModes",
  7329. "in": "query"
  7330. }
  7331. ],
  7332. "responses": {
  7333. "200": {
  7334. "description": "OK",
  7335. "schema": {
  7336. "$ref": "#/definitions/models.SearchGoods"
  7337. }
  7338. },
  7339. "500": {
  7340. "description": "Internal Server Error",
  7341. "schema": {
  7342. "$ref": "#/definitions/app.Response"
  7343. }
  7344. }
  7345. }
  7346. }
  7347. },
  7348. "/TaAccount/GetTaAccounts": {
  7349. "get": {
  7350. "security": [
  7351. {
  7352. "ApiKeyAuth": []
  7353. }
  7354. ],
  7355. "produces": [
  7356. "application/json"
  7357. ],
  7358. "tags": [
  7359. "资金账户"
  7360. ],
  7361. "summary": "获取资金账户信息",
  7362. "parameters": [
  7363. {
  7364. "type": "integer",
  7365. "description": "登录账户",
  7366. "name": "loginID",
  7367. "in": "query",
  7368. "required": true
  7369. },
  7370. {
  7371. "type": "integer",
  7372. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  7373. "name": "taAccountType",
  7374. "in": "query"
  7375. }
  7376. ],
  7377. "responses": {
  7378. "200": {
  7379. "description": "OK",
  7380. "schema": {
  7381. "$ref": "#/definitions/models.Taaccount"
  7382. }
  7383. },
  7384. "500": {
  7385. "description": "Internal Server Error",
  7386. "schema": {
  7387. "$ref": "#/definitions/app.Response"
  7388. }
  7389. }
  7390. }
  7391. }
  7392. },
  7393. "/TaAccount/QueryAmountLog": {
  7394. "get": {
  7395. "security": [
  7396. {
  7397. "ApiKeyAuth": []
  7398. }
  7399. ],
  7400. "produces": [
  7401. "application/json"
  7402. ],
  7403. "tags": [
  7404. "资金账户"
  7405. ],
  7406. "summary": "资金流水查询(当前)",
  7407. "parameters": [
  7408. {
  7409. "type": "integer",
  7410. "description": "页码",
  7411. "name": "page",
  7412. "in": "query"
  7413. },
  7414. {
  7415. "type": "integer",
  7416. "description": "每页条数",
  7417. "name": "pagesize",
  7418. "in": "query"
  7419. },
  7420. {
  7421. "type": "string",
  7422. "description": "资金账户 - 格式:1,2,3",
  7423. "name": "accountID",
  7424. "in": "query",
  7425. "required": true
  7426. },
  7427. {
  7428. "type": "string",
  7429. "description": "资金操作类型 - 格式:1,2,3",
  7430. "name": "OperateType",
  7431. "in": "query"
  7432. }
  7433. ],
  7434. "responses": {
  7435. "200": {
  7436. "description": "OK",
  7437. "schema": {
  7438. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7439. }
  7440. },
  7441. "500": {
  7442. "description": "Internal Server Error",
  7443. "schema": {
  7444. "$ref": "#/definitions/app.Response"
  7445. }
  7446. }
  7447. }
  7448. }
  7449. },
  7450. "/TaAccount/QueryHisAmountLog": {
  7451. "get": {
  7452. "security": [
  7453. {
  7454. "ApiKeyAuth": []
  7455. }
  7456. ],
  7457. "produces": [
  7458. "application/json"
  7459. ],
  7460. "tags": [
  7461. "资金账户"
  7462. ],
  7463. "summary": "资金流水查询(历史)",
  7464. "parameters": [
  7465. {
  7466. "type": "integer",
  7467. "description": "页码",
  7468. "name": "page",
  7469. "in": "query"
  7470. },
  7471. {
  7472. "type": "integer",
  7473. "description": "每页条数",
  7474. "name": "pagesize",
  7475. "in": "query"
  7476. },
  7477. {
  7478. "type": "string",
  7479. "description": "资金账户 - 格式:1,2,3",
  7480. "name": "accountID",
  7481. "in": "query",
  7482. "required": true
  7483. },
  7484. {
  7485. "type": "string",
  7486. "description": "资金操作类型 - 格式:1,2,3",
  7487. "name": "OperateType",
  7488. "in": "query"
  7489. },
  7490. {
  7491. "type": "string",
  7492. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7493. "name": "startDate",
  7494. "in": "query"
  7495. },
  7496. {
  7497. "type": "string",
  7498. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7499. "name": "endDate",
  7500. "in": "query"
  7501. }
  7502. ],
  7503. "responses": {
  7504. "200": {
  7505. "description": "OK",
  7506. "schema": {
  7507. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7508. }
  7509. },
  7510. "500": {
  7511. "description": "Internal Server Error",
  7512. "schema": {
  7513. "$ref": "#/definitions/app.Response"
  7514. }
  7515. }
  7516. }
  7517. }
  7518. },
  7519. "/Trade/QueryRecieptOrder": {
  7520. "get": {
  7521. "security": [
  7522. {
  7523. "ApiKeyAuth": []
  7524. }
  7525. ],
  7526. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7527. "produces": [
  7528. "application/json"
  7529. ],
  7530. "tags": [
  7531. "通用交易"
  7532. ],
  7533. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7534. "parameters": [
  7535. {
  7536. "type": "integer",
  7537. "description": "页码",
  7538. "name": "page",
  7539. "in": "query"
  7540. },
  7541. {
  7542. "type": "integer",
  7543. "description": "每页条数",
  7544. "name": "pagesize",
  7545. "in": "query"
  7546. },
  7547. {
  7548. "type": "integer",
  7549. "description": "商品ID",
  7550. "name": "goodsID",
  7551. "in": "query",
  7552. "required": true
  7553. },
  7554. {
  7555. "type": "string",
  7556. "description": "所属账户名称",
  7557. "name": "accountName",
  7558. "in": "query"
  7559. },
  7560. {
  7561. "type": "integer",
  7562. "description": "市场ID",
  7563. "name": "marketID",
  7564. "in": "query"
  7565. },
  7566. {
  7567. "type": "integer",
  7568. "description": "方向 - 0:买 1:卖",
  7569. "name": "buyorsell",
  7570. "in": "query",
  7571. "required": true
  7572. }
  7573. ],
  7574. "responses": {
  7575. "200": {
  7576. "description": "OK",
  7577. "schema": {
  7578. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7579. }
  7580. },
  7581. "500": {
  7582. "description": "Internal Server Error",
  7583. "schema": {
  7584. "$ref": "#/definitions/app.Response"
  7585. }
  7586. }
  7587. }
  7588. }
  7589. },
  7590. "/User/AddMessageBoard": {
  7591. "post": {
  7592. "security": [
  7593. {
  7594. "ApiKeyAuth": []
  7595. }
  7596. ],
  7597. "produces": [
  7598. "application/json"
  7599. ],
  7600. "tags": [
  7601. "用户信息"
  7602. ],
  7603. "summary": "添加用户留言板信息",
  7604. "parameters": [
  7605. {
  7606. "type": "integer",
  7607. "description": "用户ID",
  7608. "name": "userID",
  7609. "in": "query",
  7610. "required": true
  7611. },
  7612. {
  7613. "type": "string",
  7614. "description": "留言信息",
  7615. "name": "message",
  7616. "in": "query",
  7617. "required": true
  7618. },
  7619. {
  7620. "type": "string",
  7621. "description": "联系电话",
  7622. "name": "contactNum",
  7623. "in": "query",
  7624. "required": true
  7625. }
  7626. ],
  7627. "responses": {
  7628. "200": {
  7629. "description": "OK",
  7630. "schema": {
  7631. "$ref": "#/definitions/app.Response"
  7632. }
  7633. },
  7634. "500": {
  7635. "description": "Internal Server Error",
  7636. "schema": {
  7637. "$ref": "#/definitions/app.Response"
  7638. }
  7639. }
  7640. }
  7641. }
  7642. },
  7643. "/User/AddUserFavoriteGoods": {
  7644. "post": {
  7645. "security": [
  7646. {
  7647. "ApiKeyAuth": []
  7648. }
  7649. ],
  7650. "produces": [
  7651. "application/json"
  7652. ],
  7653. "tags": [
  7654. "用户信息"
  7655. ],
  7656. "summary": "添加用户商品收藏信息",
  7657. "parameters": [
  7658. {
  7659. "type": "integer",
  7660. "description": "用户ID",
  7661. "name": "userID",
  7662. "in": "query",
  7663. "required": true
  7664. },
  7665. {
  7666. "type": "integer",
  7667. "description": "商品ID",
  7668. "name": "goodsID",
  7669. "in": "query",
  7670. "required": true
  7671. }
  7672. ],
  7673. "responses": {
  7674. "200": {
  7675. "description": "OK",
  7676. "schema": {
  7677. "$ref": "#/definitions/app.Response"
  7678. }
  7679. },
  7680. "500": {
  7681. "description": "Internal Server Error",
  7682. "schema": {
  7683. "$ref": "#/definitions/app.Response"
  7684. }
  7685. }
  7686. }
  7687. }
  7688. },
  7689. "/User/GetLoginID": {
  7690. "get": {
  7691. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  7692. "produces": [
  7693. "application/json"
  7694. ],
  7695. "tags": [
  7696. "用户信息"
  7697. ],
  7698. "summary": "获取登录ID",
  7699. "parameters": [
  7700. {
  7701. "type": "string",
  7702. "description": "登录代码",
  7703. "name": "username",
  7704. "in": "query",
  7705. "required": true
  7706. }
  7707. ],
  7708. "responses": {
  7709. "200": {
  7710. "description": "OK",
  7711. "schema": {
  7712. "$ref": "#/definitions/app.Response"
  7713. }
  7714. },
  7715. "500": {
  7716. "description": "Internal Server Error",
  7717. "schema": {
  7718. "$ref": "#/definitions/app.Response"
  7719. }
  7720. }
  7721. }
  7722. }
  7723. },
  7724. "/User/GetUserAccount": {
  7725. "get": {
  7726. "security": [
  7727. {
  7728. "ApiKeyAuth": []
  7729. }
  7730. ],
  7731. "produces": [
  7732. "application/json"
  7733. ],
  7734. "tags": [
  7735. "用户信息"
  7736. ],
  7737. "summary": "获取用户账号信息",
  7738. "parameters": [
  7739. {
  7740. "type": "integer",
  7741. "description": "用户ID",
  7742. "name": "userID",
  7743. "in": "query",
  7744. "required": true
  7745. }
  7746. ],
  7747. "responses": {
  7748. "200": {
  7749. "description": "OK",
  7750. "schema": {
  7751. "$ref": "#/definitions/models.Useraccount"
  7752. }
  7753. },
  7754. "500": {
  7755. "description": "Internal Server Error",
  7756. "schema": {
  7757. "$ref": "#/definitions/app.Response"
  7758. }
  7759. }
  7760. }
  7761. }
  7762. },
  7763. "/User/GetUserAuthStatus": {
  7764. "get": {
  7765. "security": [
  7766. {
  7767. "ApiKeyAuth": []
  7768. }
  7769. ],
  7770. "produces": [
  7771. "application/json"
  7772. ],
  7773. "tags": [
  7774. "用户信息"
  7775. ],
  7776. "summary": "获取用户实名认证状态",
  7777. "parameters": [
  7778. {
  7779. "type": "integer",
  7780. "description": "用户ID",
  7781. "name": "userID",
  7782. "in": "query",
  7783. "required": true
  7784. }
  7785. ],
  7786. "responses": {
  7787. "200": {
  7788. "description": "OK",
  7789. "schema": {
  7790. "$ref": "#/definitions/app.Response"
  7791. }
  7792. },
  7793. "500": {
  7794. "description": "Internal Server Error",
  7795. "schema": {
  7796. "$ref": "#/definitions/app.Response"
  7797. }
  7798. }
  7799. }
  7800. }
  7801. },
  7802. "/User/LoginQuery": {
  7803. "get": {
  7804. "security": [
  7805. {
  7806. "ApiKeyAuth": []
  7807. }
  7808. ],
  7809. "produces": [
  7810. "application/json"
  7811. ],
  7812. "tags": [
  7813. "用户信息"
  7814. ],
  7815. "summary": "账户登录后信息查询",
  7816. "parameters": [
  7817. {
  7818. "type": "integer",
  7819. "description": "登录账号",
  7820. "name": "loginID",
  7821. "in": "query",
  7822. "required": true
  7823. }
  7824. ],
  7825. "responses": {
  7826. "200": {
  7827. "description": "OK",
  7828. "schema": {
  7829. "$ref": "#/definitions/user.LoginQueryRsp"
  7830. }
  7831. },
  7832. "500": {
  7833. "description": "Internal Server Error",
  7834. "schema": {
  7835. "$ref": "#/definitions/app.Response"
  7836. }
  7837. }
  7838. }
  7839. }
  7840. },
  7841. "/User/QueryMessageBoard": {
  7842. "get": {
  7843. "security": [
  7844. {
  7845. "ApiKeyAuth": []
  7846. }
  7847. ],
  7848. "produces": [
  7849. "application/json"
  7850. ],
  7851. "tags": [
  7852. "用户信息"
  7853. ],
  7854. "summary": "获取用户留言板信息",
  7855. "parameters": [
  7856. {
  7857. "type": "integer",
  7858. "description": "用户ID",
  7859. "name": "userID",
  7860. "in": "query",
  7861. "required": true
  7862. }
  7863. ],
  7864. "responses": {
  7865. "200": {
  7866. "description": "OK",
  7867. "schema": {
  7868. "$ref": "#/definitions/models.Messageboard"
  7869. }
  7870. },
  7871. "500": {
  7872. "description": "Internal Server Error",
  7873. "schema": {
  7874. "$ref": "#/definitions/app.Response"
  7875. }
  7876. }
  7877. }
  7878. }
  7879. },
  7880. "/User/QueryUserFavoriteGoodses": {
  7881. "get": {
  7882. "security": [
  7883. {
  7884. "ApiKeyAuth": []
  7885. }
  7886. ],
  7887. "produces": [
  7888. "application/json"
  7889. ],
  7890. "tags": [
  7891. "用户信息"
  7892. ],
  7893. "summary": "获取用户商品收藏信息",
  7894. "parameters": [
  7895. {
  7896. "type": "integer",
  7897. "description": "用户ID",
  7898. "name": "userID",
  7899. "in": "query",
  7900. "required": true
  7901. }
  7902. ],
  7903. "responses": {
  7904. "200": {
  7905. "description": "OK",
  7906. "schema": {
  7907. "$ref": "#/definitions/models.Userfavoritegoods"
  7908. }
  7909. },
  7910. "500": {
  7911. "description": "Internal Server Error",
  7912. "schema": {
  7913. "$ref": "#/definitions/app.Response"
  7914. }
  7915. }
  7916. }
  7917. }
  7918. },
  7919. "/User/QueryUserInfo": {
  7920. "get": {
  7921. "security": [
  7922. {
  7923. "ApiKeyAuth": []
  7924. }
  7925. ],
  7926. "produces": [
  7927. "application/json"
  7928. ],
  7929. "tags": [
  7930. "用户信息"
  7931. ],
  7932. "summary": "获取用户信息",
  7933. "parameters": [
  7934. {
  7935. "type": "integer",
  7936. "description": "用户ID",
  7937. "name": "userID",
  7938. "in": "query",
  7939. "required": true
  7940. },
  7941. {
  7942. "type": "boolean",
  7943. "description": "是否解密",
  7944. "name": "isDecrypt",
  7945. "in": "query"
  7946. }
  7947. ],
  7948. "responses": {
  7949. "200": {
  7950. "description": "OK",
  7951. "schema": {
  7952. "$ref": "#/definitions/models.Userinfo"
  7953. }
  7954. },
  7955. "500": {
  7956. "description": "Internal Server Error",
  7957. "schema": {
  7958. "$ref": "#/definitions/app.Response"
  7959. }
  7960. }
  7961. }
  7962. }
  7963. },
  7964. "/User/QueryUserReferNum": {
  7965. "get": {
  7966. "produces": [
  7967. "application/json"
  7968. ],
  7969. "tags": [
  7970. "用户信息"
  7971. ],
  7972. "summary": "获取用户邀请码",
  7973. "parameters": [
  7974. {
  7975. "type": "integer",
  7976. "description": "用户ID",
  7977. "name": "userID",
  7978. "in": "query",
  7979. "required": true
  7980. }
  7981. ],
  7982. "responses": {
  7983. "200": {
  7984. "description": "OK",
  7985. "schema": {
  7986. "$ref": "#/definitions/app.Response"
  7987. }
  7988. },
  7989. "500": {
  7990. "description": "Internal Server Error",
  7991. "schema": {
  7992. "$ref": "#/definitions/app.Response"
  7993. }
  7994. }
  7995. }
  7996. }
  7997. },
  7998. "/User/RemoveUserFavoriteGoods": {
  7999. "post": {
  8000. "security": [
  8001. {
  8002. "ApiKeyAuth": []
  8003. }
  8004. ],
  8005. "produces": [
  8006. "application/json"
  8007. ],
  8008. "tags": [
  8009. "用户信息"
  8010. ],
  8011. "summary": "移除用户商品收藏信息",
  8012. "parameters": [
  8013. {
  8014. "type": "integer",
  8015. "description": "用户ID",
  8016. "name": "userID",
  8017. "in": "query",
  8018. "required": true
  8019. },
  8020. {
  8021. "type": "integer",
  8022. "description": "商品ID",
  8023. "name": "goodsID",
  8024. "in": "query",
  8025. "required": true
  8026. }
  8027. ],
  8028. "responses": {
  8029. "200": {
  8030. "description": "OK",
  8031. "schema": {
  8032. "$ref": "#/definitions/app.Response"
  8033. }
  8034. },
  8035. "500": {
  8036. "description": "Internal Server Error",
  8037. "schema": {
  8038. "$ref": "#/definitions/app.Response"
  8039. }
  8040. }
  8041. }
  8042. }
  8043. },
  8044. "/User/UpdateUserAccountStatus": {
  8045. "post": {
  8046. "security": [
  8047. {
  8048. "ApiKeyAuth": []
  8049. }
  8050. ],
  8051. "produces": [
  8052. "application/json"
  8053. ],
  8054. "tags": [
  8055. "用户信息"
  8056. ],
  8057. "summary": "更新用户状态",
  8058. "parameters": [
  8059. {
  8060. "type": "integer",
  8061. "description": "用户ID",
  8062. "name": "userID",
  8063. "in": "query",
  8064. "required": true
  8065. },
  8066. {
  8067. "type": "integer",
  8068. "description": "账户状态 - 4:正常 6:注销(停用)",
  8069. "name": "accountStatus",
  8070. "in": "query",
  8071. "required": true
  8072. }
  8073. ],
  8074. "responses": {
  8075. "200": {
  8076. "description": "OK",
  8077. "schema": {
  8078. "$ref": "#/definitions/app.Response"
  8079. }
  8080. },
  8081. "500": {
  8082. "description": "Internal Server Error",
  8083. "schema": {
  8084. "$ref": "#/definitions/app.Response"
  8085. }
  8086. }
  8087. }
  8088. }
  8089. },
  8090. "/WRTrade/GetAllDeliveryGoods": {
  8091. "get": {
  8092. "security": [
  8093. {
  8094. "ApiKeyAuth": []
  8095. },
  8096. {
  8097. "ApiKeyAuth": []
  8098. }
  8099. ],
  8100. "produces": [
  8101. "application/json",
  8102. "application/json"
  8103. ],
  8104. "tags": [
  8105. "仓单贸易",
  8106. "仓单贸易"
  8107. ],
  8108. "summary": "获取带仓单分类的种类信息",
  8109. "responses": {
  8110. "200": {
  8111. "description": "OK",
  8112. "schema": {
  8113. "$ref": "#/definitions/app.Response"
  8114. }
  8115. },
  8116. "500": {
  8117. "description": "Internal Server Error",
  8118. "schema": {
  8119. "$ref": "#/definitions/app.Response"
  8120. }
  8121. }
  8122. }
  8123. }
  8124. }
  8125. },
  8126. "definitions": {
  8127. "app.Response": {
  8128. "type": "object",
  8129. "properties": {
  8130. "code": {
  8131. "type": "integer"
  8132. },
  8133. "data": {
  8134. "type": "object"
  8135. },
  8136. "msg": {
  8137. "type": "string"
  8138. },
  8139. "page": {
  8140. "description": "页码",
  8141. "type": "integer"
  8142. },
  8143. "pagesize": {
  8144. "description": "每页条数",
  8145. "type": "integer"
  8146. },
  8147. "total": {
  8148. "description": "总条数",
  8149. "type": "integer"
  8150. }
  8151. }
  8152. },
  8153. "common.ClientMenu": {
  8154. "type": "object",
  8155. "properties": {
  8156. "children": {
  8157. "description": "子菜单列表",
  8158. "type": "array",
  8159. "items": {
  8160. "$ref": "#/definitions/common.ClientMenu"
  8161. }
  8162. },
  8163. "code": {
  8164. "description": "ID",
  8165. "type": "string"
  8166. },
  8167. "isshow": {
  8168. "description": "是否显示",
  8169. "type": "boolean"
  8170. },
  8171. "rulekey": {
  8172. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  8173. "type": "string"
  8174. },
  8175. "sort": {
  8176. "description": "排序",
  8177. "type": "integer"
  8178. },
  8179. "title": {
  8180. "description": "标题",
  8181. "type": "string"
  8182. },
  8183. "type": {
  8184. "description": "类型,1:菜单 2:按钮",
  8185. "type": "integer"
  8186. }
  8187. }
  8188. },
  8189. "common.QueryImageConfigsRsp": {
  8190. "type": "object",
  8191. "required": [
  8192. "configid"
  8193. ],
  8194. "properties": {
  8195. "areauserid": {
  8196. "description": "所属机构ID",
  8197. "type": "integer"
  8198. },
  8199. "configid": {
  8200. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8201. "type": "integer"
  8202. },
  8203. "createdate": {
  8204. "description": "创建时间",
  8205. "type": "string"
  8206. },
  8207. "creatorid": {
  8208. "description": "创建人",
  8209. "type": "integer"
  8210. },
  8211. "imagepath": {
  8212. "description": "图片",
  8213. "type": "string"
  8214. },
  8215. "imagetype": {
  8216. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  8217. "type": "integer"
  8218. },
  8219. "isshow": {
  8220. "description": "是否展示 - 0:不展示 1:展示",
  8221. "type": "integer"
  8222. },
  8223. "marketid": {
  8224. "description": "市场ID",
  8225. "type": "integer"
  8226. },
  8227. "modifierid": {
  8228. "description": "操作人",
  8229. "type": "integer"
  8230. },
  8231. "sort": {
  8232. "description": "排序",
  8233. "type": "integer"
  8234. },
  8235. "title": {
  8236. "description": "标题",
  8237. "type": "string"
  8238. },
  8239. "trademode": {
  8240. "description": "交易模式",
  8241. "type": "integer"
  8242. },
  8243. "updatedate": {
  8244. "description": "修改时间",
  8245. "type": "string"
  8246. },
  8247. "url": {
  8248. "description": "链接(地址或商品ID)",
  8249. "type": "string"
  8250. },
  8251. "urltype": {
  8252. "description": "链接类型 - 1:直接地址 2:商品ID",
  8253. "type": "integer"
  8254. }
  8255. }
  8256. },
  8257. "common.QueryNoticeRsp": {
  8258. "type": "object",
  8259. "required": [
  8260. "autoid"
  8261. ],
  8262. "properties": {
  8263. "auditoruserid": {
  8264. "description": "审核人",
  8265. "type": "integer"
  8266. },
  8267. "auditremark": {
  8268. "description": "审核备注",
  8269. "type": "string"
  8270. },
  8271. "audittime": {
  8272. "description": "审核日期",
  8273. "type": "string"
  8274. },
  8275. "autoid": {
  8276. "description": "自增ID",
  8277. "type": "integer"
  8278. },
  8279. "content": {
  8280. "description": "内容",
  8281. "type": "string"
  8282. },
  8283. "createtime": {
  8284. "description": "创建时间",
  8285. "type": "string"
  8286. },
  8287. "creatorid": {
  8288. "description": "建仓人",
  8289. "type": "integer"
  8290. },
  8291. "endtime": {
  8292. "description": "结束时间",
  8293. "type": "string"
  8294. },
  8295. "istop": {
  8296. "description": "是否置顶 - 0:不置顶 1:置顶",
  8297. "type": "integer"
  8298. },
  8299. "msgiconurl": {
  8300. "description": "消息图标Url",
  8301. "type": "string"
  8302. },
  8303. "msgtype": {
  8304. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  8305. "type": "integer"
  8306. },
  8307. "publisher": {
  8308. "description": "消息发布者",
  8309. "type": "string"
  8310. },
  8311. "readed": {
  8312. "description": "是否已读",
  8313. "type": "boolean"
  8314. },
  8315. "scheduletime": {
  8316. "description": "计划发送时间",
  8317. "type": "string"
  8318. },
  8319. "sendtype": {
  8320. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  8321. "type": "integer"
  8322. },
  8323. "sentstatus": {
  8324. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  8325. "type": "integer"
  8326. },
  8327. "title": {
  8328. "description": "标题",
  8329. "type": "string"
  8330. },
  8331. "userid": {
  8332. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  8333. "type": "integer"
  8334. }
  8335. }
  8336. },
  8337. "common.QueryProvincesAndCitiesRsp": {
  8338. "type": "object",
  8339. "properties": {
  8340. "cities": {
  8341. "description": "市",
  8342. "type": "array",
  8343. "items": {
  8344. "$ref": "#/definitions/models.Division"
  8345. }
  8346. },
  8347. "province": {
  8348. "description": "省",
  8349. "type": "object",
  8350. "$ref": "#/definitions/models.Division"
  8351. }
  8352. }
  8353. },
  8354. "common.QueryTableDefineRsp": {
  8355. "type": "object",
  8356. "required": [
  8357. "tablekey"
  8358. ],
  8359. "properties": {
  8360. "columns": {
  8361. "description": "列头信息数组",
  8362. "type": "array",
  8363. "items": {
  8364. "$ref": "#/definitions/models.Tablecolumnconfig"
  8365. }
  8366. },
  8367. "remark": {
  8368. "description": "Remark",
  8369. "type": "string"
  8370. },
  8371. "tabelmenu": {
  8372. "description": "列表菜单",
  8373. "type": "string"
  8374. },
  8375. "tablekey": {
  8376. "description": "列表Key",
  8377. "type": "string"
  8378. },
  8379. "tablename": {
  8380. "description": "列表名称",
  8381. "type": "string"
  8382. },
  8383. "tabletype": {
  8384. "description": "列表类型 - 1:管理端 2:终端",
  8385. "type": "integer"
  8386. }
  8387. }
  8388. },
  8389. "common.QueryTraderMenuRsp": {
  8390. "type": "object",
  8391. "properties": {
  8392. "OperationMenu": {
  8393. "description": "功能菜单",
  8394. "type": "array",
  8395. "items": {
  8396. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8397. }
  8398. },
  8399. "QuoteMenu": {
  8400. "description": "报价牌分类菜单",
  8401. "type": "array",
  8402. "items": {
  8403. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8404. }
  8405. }
  8406. }
  8407. },
  8408. "cptrade.Cptradepositioncancel": {
  8409. "type": "object",
  8410. "required": [
  8411. "cancelid"
  8412. ],
  8413. "properties": {
  8414. "accountid": {
  8415. "description": "申请人账户ID",
  8416. "type": "integer"
  8417. },
  8418. "applystatus": {
  8419. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8420. "type": "integer"
  8421. },
  8422. "applytime": {
  8423. "description": "申请时间",
  8424. "type": "string"
  8425. },
  8426. "cancelid": {
  8427. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8428. "type": "integer"
  8429. },
  8430. "cancelqty": {
  8431. "description": "注销数量",
  8432. "type": "integer"
  8433. },
  8434. "createtime": {
  8435. "description": "创建时间",
  8436. "type": "string"
  8437. },
  8438. "creatorid": {
  8439. "description": "创建人ID",
  8440. "type": "integer"
  8441. },
  8442. "creatorname": {
  8443. "description": "创建人",
  8444. "type": "string"
  8445. },
  8446. "goodscode": {
  8447. "description": "订单商品代码",
  8448. "type": "string"
  8449. },
  8450. "goodsid": {
  8451. "description": "商品ID",
  8452. "type": "integer"
  8453. },
  8454. "goodsname": {
  8455. "description": "订单商品名称",
  8456. "type": "string"
  8457. },
  8458. "goodunit": {
  8459. "description": "报价单位",
  8460. "type": "string"
  8461. },
  8462. "handlestatus": {
  8463. "description": "处理状态",
  8464. "type": "integer"
  8465. },
  8466. "marketid": {
  8467. "description": "市场ID",
  8468. "type": "integer"
  8469. },
  8470. "marketname": {
  8471. "description": "市场名称",
  8472. "type": "string"
  8473. },
  8474. "tradedate": {
  8475. "description": "交易日(yyyyMMdd)",
  8476. "type": "string"
  8477. },
  8478. "userid": {
  8479. "description": "申请人ID",
  8480. "type": "integer"
  8481. }
  8482. }
  8483. },
  8484. "cptrade.Cptradepresaleapply": {
  8485. "type": "object",
  8486. "required": [
  8487. "applyid"
  8488. ],
  8489. "properties": {
  8490. "accountid": {
  8491. "description": "申请人账户ID",
  8492. "type": "integer"
  8493. },
  8494. "applyid": {
  8495. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8496. "type": "integer"
  8497. },
  8498. "applyremark": {
  8499. "description": "申请备注",
  8500. "type": "string"
  8501. },
  8502. "applystatus": {
  8503. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8504. "type": "integer"
  8505. },
  8506. "applytime": {
  8507. "description": "申请时间",
  8508. "type": "string"
  8509. },
  8510. "attachmenturl": {
  8511. "description": "附件地址",
  8512. "type": "string"
  8513. },
  8514. "endtime": {
  8515. "description": "预售结束时间",
  8516. "type": "string"
  8517. },
  8518. "goodscode": {
  8519. "description": "商品代码",
  8520. "type": "string"
  8521. },
  8522. "goodsid": {
  8523. "description": "商品ID",
  8524. "type": "integer"
  8525. },
  8526. "goodsname": {
  8527. "description": "商品名称",
  8528. "type": "string"
  8529. },
  8530. "goodunit": {
  8531. "description": "报价单位",
  8532. "type": "string"
  8533. },
  8534. "handlestatus": {
  8535. "description": "处理状态",
  8536. "type": "integer"
  8537. },
  8538. "marketid": {
  8539. "description": "预售市场ID",
  8540. "type": "integer"
  8541. },
  8542. "marketname": {
  8543. "description": "预售市场名称",
  8544. "type": "string"
  8545. },
  8546. "presaleqty": {
  8547. "description": "预售数量",
  8548. "type": "integer"
  8549. },
  8550. "relatedgoodscode": {
  8551. "description": "关联交易合约代码",
  8552. "type": "string"
  8553. },
  8554. "relatedgoodsid": {
  8555. "description": "关联交易合约ID",
  8556. "type": "integer"
  8557. },
  8558. "relatedgoodsname": {
  8559. "description": "关联交易合约名称",
  8560. "type": "string"
  8561. },
  8562. "starttime": {
  8563. "description": "预售开始时间",
  8564. "type": "string"
  8565. },
  8566. "tradedate": {
  8567. "description": "交易日(yyyyMMdd)",
  8568. "type": "string"
  8569. },
  8570. "trademode": {
  8571. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8572. "type": "integer"
  8573. },
  8574. "userid": {
  8575. "description": "申请人ID",
  8576. "type": "integer"
  8577. }
  8578. }
  8579. },
  8580. "cptrade.Cptradeusergoodsdata": {
  8581. "type": "object",
  8582. "required": [
  8583. "accountid",
  8584. "goodsid"
  8585. ],
  8586. "properties": {
  8587. "EnabledQty": {
  8588. "description": "可用量",
  8589. "type": "integer"
  8590. },
  8591. "GoodsCode": {
  8592. "description": "订单商品代码",
  8593. "type": "string"
  8594. },
  8595. "GoodsName": {
  8596. "description": "订单商品名称",
  8597. "type": "string"
  8598. },
  8599. "WRStandardCode": {
  8600. "description": "仓单标准代码",
  8601. "type": "string"
  8602. },
  8603. "WRStandardName": {
  8604. "description": "仓单标准名称",
  8605. "type": "string"
  8606. },
  8607. "accountid": {
  8608. "description": "账户ID",
  8609. "type": "integer"
  8610. },
  8611. "cancelqty": {
  8612. "description": "注销量",
  8613. "type": "integer"
  8614. },
  8615. "curpresaleqty": {
  8616. "description": "当前预售量",
  8617. "type": "integer"
  8618. },
  8619. "deliveryqty": {
  8620. "description": "交割量",
  8621. "type": "integer"
  8622. },
  8623. "freezeamount": {
  8624. "description": "冻结金额",
  8625. "type": "number"
  8626. },
  8627. "goodsid": {
  8628. "description": "商品ID",
  8629. "type": "integer"
  8630. },
  8631. "goodunit": {
  8632. "description": "报价单位",
  8633. "type": "string"
  8634. },
  8635. "hasspotfreeze": {
  8636. "description": "是否有现货冻结 - 0:否 1:有",
  8637. "type": "integer"
  8638. },
  8639. "inqty": {
  8640. "description": "转入量(总数量)",
  8641. "type": "integer"
  8642. },
  8643. "marketid": {
  8644. "description": "市场ID",
  8645. "type": "integer"
  8646. },
  8647. "presaledamount": {
  8648. "description": "已预售总金额",
  8649. "type": "integer"
  8650. },
  8651. "presaledqty": {
  8652. "description": "已预售量",
  8653. "type": "integer"
  8654. },
  8655. "userid": {
  8656. "description": "用户ID",
  8657. "type": "integer"
  8658. },
  8659. "wrstandardid": {
  8660. "description": "仓单标准ID",
  8661. "type": "integer"
  8662. }
  8663. }
  8664. },
  8665. "cptrade.QueryCPTradeMyBidRsp": {
  8666. "type": "object",
  8667. "required": [
  8668. "accountid",
  8669. "goodsid",
  8670. "marketid",
  8671. "orderid",
  8672. "orderqty",
  8673. "ordertime",
  8674. "tradeprice",
  8675. "tradeqty"
  8676. ],
  8677. "properties": {
  8678. "accountid": {
  8679. "description": "账户ID[报价币种]",
  8680. "type": "integer"
  8681. },
  8682. "goodsid": {
  8683. "description": "商品ID",
  8684. "type": "integer"
  8685. },
  8686. "goodunit": {
  8687. "description": "报价单位",
  8688. "type": "string"
  8689. },
  8690. "marketid": {
  8691. "description": "市场ID",
  8692. "type": "integer"
  8693. },
  8694. "orderid": {
  8695. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8696. "type": "integer"
  8697. },
  8698. "orderprice": {
  8699. "description": "委托价格",
  8700. "type": "number"
  8701. },
  8702. "orderqty": {
  8703. "description": "委托数量",
  8704. "type": "integer"
  8705. },
  8706. "ordertime": {
  8707. "description": "委托时间",
  8708. "type": "string"
  8709. },
  8710. "ordertotalprice": {
  8711. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  8712. "type": "number"
  8713. },
  8714. "ordertotalweight": {
  8715. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  8716. "type": "integer"
  8717. },
  8718. "totaltotalprice": {
  8719. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  8720. "type": "number"
  8721. },
  8722. "tradeprice": {
  8723. "description": "成交价格",
  8724. "type": "number"
  8725. },
  8726. "tradeqty": {
  8727. "description": "成交数量",
  8728. "type": "integer"
  8729. }
  8730. }
  8731. },
  8732. "cptrade.QueryCPTradeOrderDetailRsq": {
  8733. "type": "object",
  8734. "required": [
  8735. "accountid",
  8736. "buildtype",
  8737. "buyorsell",
  8738. "goodsid",
  8739. "marketid",
  8740. "memberuserid",
  8741. "operatetype",
  8742. "orderqty",
  8743. "ordertime",
  8744. "pricemode",
  8745. "strorderid",
  8746. "tradedate",
  8747. "validtype"
  8748. ],
  8749. "properties": {
  8750. "accountid": {
  8751. "description": "账户ID[报价币种]",
  8752. "type": "integer"
  8753. },
  8754. "buildtype": {
  8755. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8756. "type": "integer"
  8757. },
  8758. "buyorsell": {
  8759. "description": "买卖 - 0:买 1:卖",
  8760. "type": "integer"
  8761. },
  8762. "cancelorderid": {
  8763. "description": "撤单单号(撤单时填写)",
  8764. "type": "integer"
  8765. },
  8766. "cancelqty": {
  8767. "description": "撤单数量",
  8768. "type": "integer"
  8769. },
  8770. "clientordertime": {
  8771. "description": "客户端委托时间",
  8772. "type": "string"
  8773. },
  8774. "clientticket": {
  8775. "description": "客户端流水号",
  8776. "type": "string"
  8777. },
  8778. "clienttype": {
  8779. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8780. "type": "integer"
  8781. },
  8782. "closeexchagechargevalue": {
  8783. "description": "平仓交易所手续费设置值",
  8784. "type": "number"
  8785. },
  8786. "closefeealgorithm": {
  8787. "description": "平仓手续费收取方式 1:比率 2:固定",
  8788. "type": "integer"
  8789. },
  8790. "closefreezecharge": {
  8791. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8792. "type": "number"
  8793. },
  8794. "closememberchargevalue": {
  8795. "description": "平仓会员手续费设置值",
  8796. "type": "number"
  8797. },
  8798. "closeqty": {
  8799. "description": "平仓数量(先建后平操作 需要记录)",
  8800. "type": "integer"
  8801. },
  8802. "closetradeqty": {
  8803. "description": "平仓成交数量(先建后平操作,需要记录)",
  8804. "type": "integer"
  8805. },
  8806. "closeunfreezecharge": {
  8807. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8808. "type": "number"
  8809. },
  8810. "delistingtype": {
  8811. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8812. "type": "integer"
  8813. },
  8814. "freezecharge": {
  8815. "description": "冻结手续费",
  8816. "type": "number"
  8817. },
  8818. "freezemargin": {
  8819. "description": "冻结保证金(冻结交易金额)",
  8820. "type": "number"
  8821. },
  8822. "gcaccountid": {
  8823. "description": "账户ID[合约币种]",
  8824. "type": "integer"
  8825. },
  8826. "goodsid": {
  8827. "description": "商品ID",
  8828. "type": "integer"
  8829. },
  8830. "isconfirmexercise": {
  8831. "description": "是否确认行权- 0:否 1:是",
  8832. "type": "integer"
  8833. },
  8834. "ispreexercise": {
  8835. "description": "是否预申报- 0:否 1:是",
  8836. "type": "integer"
  8837. },
  8838. "listingselecttype": {
  8839. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8840. "type": "integer"
  8841. },
  8842. "marginalgorithm": {
  8843. "description": "保证金收取方式 1:比率 2:固定",
  8844. "type": "integer"
  8845. },
  8846. "marginvalue": {
  8847. "description": "即市保证金设置值",
  8848. "type": "number"
  8849. },
  8850. "marketid": {
  8851. "description": "市场ID",
  8852. "type": "integer"
  8853. },
  8854. "marketmaxsub": {
  8855. "description": "市价最大偏移范围",
  8856. "type": "number"
  8857. },
  8858. "memberuserid": {
  8859. "description": "所属会员UserID",
  8860. "type": "integer"
  8861. },
  8862. "openexchagechargevalue": {
  8863. "description": "建仓交易所手续费设置值",
  8864. "type": "number"
  8865. },
  8866. "openfeealgorithm": {
  8867. "description": "建仓手续费收取方式 1:比率 2:固定",
  8868. "type": "integer"
  8869. },
  8870. "openfreezecharge": {
  8871. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8872. "type": "number"
  8873. },
  8874. "openmemberchargevalue": {
  8875. "description": "建仓会员手续费设置值",
  8876. "type": "number"
  8877. },
  8878. "openqty": {
  8879. "description": "开仓数量(先建后平操作,需要记录)",
  8880. "type": "integer"
  8881. },
  8882. "opentradeqty": {
  8883. "description": "开仓成交数量(先建后平操作,需要记录)",
  8884. "type": "integer"
  8885. },
  8886. "openunfreezecharge": {
  8887. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8888. "type": "number"
  8889. },
  8890. "operatetype": {
  8891. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8892. "type": "integer"
  8893. },
  8894. "operatorid": {
  8895. "description": "登录账号(LoginID)",
  8896. "type": "integer"
  8897. },
  8898. "optiontype": {
  8899. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8900. "type": "integer"
  8901. },
  8902. "orderprice": {
  8903. "description": "委托价格",
  8904. "type": "number"
  8905. },
  8906. "orderqty": {
  8907. "description": "委托数量",
  8908. "type": "integer"
  8909. },
  8910. "ordersrc": {
  8911. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8912. "type": "integer"
  8913. },
  8914. "orderstatus": {
  8915. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8916. "type": "integer"
  8917. },
  8918. "ordertime": {
  8919. "description": "委托时间",
  8920. "type": "string"
  8921. },
  8922. "preexerciseprice": {
  8923. "description": "预申报价格",
  8924. "type": "number"
  8925. },
  8926. "premium": {
  8927. "description": "权利金",
  8928. "type": "number"
  8929. },
  8930. "preorderid": {
  8931. "description": "关联预埋单号(止盈止损单时填写)",
  8932. "type": "integer"
  8933. },
  8934. "pricemode": {
  8935. "description": "取价方式 - 1:市价 2: 限价",
  8936. "type": "integer"
  8937. },
  8938. "quoteid": {
  8939. "description": "报价单ID",
  8940. "type": "integer"
  8941. },
  8942. "relatedid": {
  8943. "description": "关联单号(交割单)",
  8944. "type": "integer"
  8945. },
  8946. "retcode": {
  8947. "description": "错误代码",
  8948. "type": "integer"
  8949. },
  8950. "sessionid": {
  8951. "description": "会话ID",
  8952. "type": "integer"
  8953. },
  8954. "strorderid": {
  8955. "description": "委托单号",
  8956. "type": "string"
  8957. },
  8958. "tradedate": {
  8959. "description": "交易日(yyyyMMdd)",
  8960. "type": "string"
  8961. },
  8962. "tradeproperty": {
  8963. "description": "交易属性",
  8964. "type": "integer"
  8965. },
  8966. "tradeqty": {
  8967. "description": "成交数量",
  8968. "type": "integer"
  8969. },
  8970. "unfreezecharge": {
  8971. "description": "解冻手续费",
  8972. "type": "number"
  8973. },
  8974. "unfreezemargin": {
  8975. "description": "解冻保证金",
  8976. "type": "number"
  8977. },
  8978. "updatetime": {
  8979. "description": "更新时间",
  8980. "type": "string"
  8981. },
  8982. "uuid": {
  8983. "description": "发起端唯一id",
  8984. "type": "string"
  8985. },
  8986. "validtime": {
  8987. "description": "有效期限",
  8988. "type": "string"
  8989. },
  8990. "validtype": {
  8991. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8992. "type": "integer"
  8993. },
  8994. "volumetype": {
  8995. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8996. "type": "integer"
  8997. }
  8998. }
  8999. },
  9000. "cptrade.QueryMyCPTradeGoodsRsp": {
  9001. "type": "object",
  9002. "required": [
  9003. "goodscode",
  9004. "goodsid",
  9005. "goodsname",
  9006. "marketid",
  9007. "relatedgoodscode",
  9008. "relatedgoodsname"
  9009. ],
  9010. "properties": {
  9011. "accountid": {
  9012. "description": "卖方账户ID",
  9013. "type": "integer"
  9014. },
  9015. "agreeunit": {
  9016. "description": "合约单位",
  9017. "type": "number"
  9018. },
  9019. "applyid": {
  9020. "description": "关联申请ID",
  9021. "type": "integer"
  9022. },
  9023. "attachmenturl": {
  9024. "description": "附件地址",
  9025. "type": "string"
  9026. },
  9027. "createtime": {
  9028. "description": "创建时间",
  9029. "type": "string"
  9030. },
  9031. "currencyid": {
  9032. "description": "报价货币ID",
  9033. "type": "integer"
  9034. },
  9035. "decimalplace": {
  9036. "description": "报价小数位",
  9037. "type": "integer"
  9038. },
  9039. "endtime": {
  9040. "description": "预售结束时间",
  9041. "type": "string"
  9042. },
  9043. "floorprice": {
  9044. "description": "底价[大宗式竞拍]",
  9045. "type": "number"
  9046. },
  9047. "goodscode": {
  9048. "description": "商品代码(预售)",
  9049. "type": "string"
  9050. },
  9051. "goodsdetail": {
  9052. "description": "详情[大宗]",
  9053. "type": "string"
  9054. },
  9055. "goodsid": {
  9056. "description": "商品ID(自增ID SEQ_GOODS)",
  9057. "type": "integer"
  9058. },
  9059. "goodsname": {
  9060. "description": "商品名称(预售)",
  9061. "type": "string"
  9062. },
  9063. "goodunit": {
  9064. "description": "报价单位",
  9065. "type": "string"
  9066. },
  9067. "goodunitid": {
  9068. "description": "报价单位ID",
  9069. "type": "integer"
  9070. },
  9071. "marketid": {
  9072. "description": "所属市场ID",
  9073. "type": "integer"
  9074. },
  9075. "marketname": {
  9076. "description": "预售市场名称",
  9077. "type": "string"
  9078. },
  9079. "presaledamount": {
  9080. "description": "已预售总金额(预售结束时更新)",
  9081. "type": "number"
  9082. },
  9083. "presaledqty": {
  9084. "description": "已预售量(预售结束时更新)",
  9085. "type": "integer"
  9086. },
  9087. "presalemode": {
  9088. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9089. "type": "integer"
  9090. },
  9091. "presaleqty": {
  9092. "description": "预售数量",
  9093. "type": "integer"
  9094. },
  9095. "refprice": {
  9096. "description": "参考价格[一口价]",
  9097. "type": "number"
  9098. },
  9099. "relatedgoodscode": {
  9100. "description": "商品代码(订单)",
  9101. "type": "string"
  9102. },
  9103. "relatedgoodsid": {
  9104. "description": "关联交易合约ID",
  9105. "type": "integer"
  9106. },
  9107. "relatedgoodsname": {
  9108. "description": "商品名称(订单)",
  9109. "type": "string"
  9110. },
  9111. "relatedmarketid": {
  9112. "description": "关联交易合约市场ID",
  9113. "type": "integer"
  9114. },
  9115. "sellstatus": {
  9116. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9117. "type": "integer"
  9118. },
  9119. "startprice": {
  9120. "description": "起拍价[大宗式竞拍]",
  9121. "type": "number"
  9122. },
  9123. "starttime": {
  9124. "description": "预售开始时间",
  9125. "type": "string"
  9126. },
  9127. "tradedate": {
  9128. "description": "交易日(yyyyMMdd)",
  9129. "type": "string"
  9130. },
  9131. "tradeprice": {
  9132. "description": "成交价[大宗]",
  9133. "type": "number"
  9134. },
  9135. "userid": {
  9136. "description": "卖方用户ID",
  9137. "type": "integer"
  9138. }
  9139. }
  9140. },
  9141. "cptrade.QueryPresaleGoodsExRsp": {
  9142. "type": "object",
  9143. "required": [
  9144. "goodsid"
  9145. ],
  9146. "properties": {
  9147. "attachmenturl": {
  9148. "description": "附件地址",
  9149. "type": "string"
  9150. },
  9151. "createtime": {
  9152. "description": "创建时间",
  9153. "type": "string"
  9154. },
  9155. "endtime": {
  9156. "description": "预售结束时间",
  9157. "type": "string"
  9158. },
  9159. "floorprice": {
  9160. "description": "底价[大宗式竞拍]",
  9161. "type": "number"
  9162. },
  9163. "goodsdetail": {
  9164. "description": "详情[大宗]",
  9165. "type": "string"
  9166. },
  9167. "goodsid": {
  9168. "description": "商品ID(预售)",
  9169. "type": "integer"
  9170. },
  9171. "goodunit": {
  9172. "description": "报价单位",
  9173. "type": "string"
  9174. },
  9175. "marketid": {
  9176. "description": "预售市场ID - 根据预售模式选择市场",
  9177. "type": "integer"
  9178. },
  9179. "presaledamount": {
  9180. "description": "已预售总金额(预售结束时更新)",
  9181. "type": "number"
  9182. },
  9183. "presaledqty": {
  9184. "description": "已预售量(预售结束时更新)",
  9185. "type": "integer"
  9186. },
  9187. "presalemode": {
  9188. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9189. "type": "integer"
  9190. },
  9191. "presaleqty": {
  9192. "description": "预售数量",
  9193. "type": "integer"
  9194. },
  9195. "refprice": {
  9196. "description": "参考价格[一口价]",
  9197. "type": "number"
  9198. },
  9199. "relatedgoodsid": {
  9200. "description": "关联交易合约ID",
  9201. "type": "integer"
  9202. },
  9203. "relatedmarketid": {
  9204. "description": "关联交易合约市场ID",
  9205. "type": "integer"
  9206. },
  9207. "sellstatus": {
  9208. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9209. "type": "integer"
  9210. },
  9211. "startprice": {
  9212. "description": "起拍价[大宗式竞拍]",
  9213. "type": "number"
  9214. },
  9215. "starttime": {
  9216. "description": "预售开始时间",
  9217. "type": "string"
  9218. },
  9219. "tradedate": {
  9220. "description": "交易日(yyyyMMdd)",
  9221. "type": "string"
  9222. },
  9223. "tradeprice": {
  9224. "description": "成交价[大宗]",
  9225. "type": "number"
  9226. }
  9227. }
  9228. },
  9229. "delivery.QueryDeliveryRelationRsp": {
  9230. "type": "object",
  9231. "required": [
  9232. "begindate",
  9233. "enddate",
  9234. "goodsid",
  9235. "mindeliveryqty",
  9236. "xdeliveryratio"
  9237. ],
  9238. "properties": {
  9239. "begindate": {
  9240. "description": "起始日期(yyyyMMdd)",
  9241. "type": "string"
  9242. },
  9243. "buytemplateid": {
  9244. "description": "买履约计划模板ID",
  9245. "type": "integer"
  9246. },
  9247. "deliverygoodscode": {
  9248. "description": "品种代码",
  9249. "type": "string"
  9250. },
  9251. "deliverygoodsid": {
  9252. "description": "交割商品",
  9253. "type": "integer"
  9254. },
  9255. "deliverygoodsname": {
  9256. "description": "品种名称",
  9257. "type": "string"
  9258. },
  9259. "deliverymode": {
  9260. "description": "交割方式 - 1:点选式 2:申报式",
  9261. "type": "integer"
  9262. },
  9263. "deliverypricerule": {
  9264. "description": "交割价规则- 1:行情价 2:建仓价",
  9265. "type": "integer"
  9266. },
  9267. "deliverytype": {
  9268. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  9269. "type": "integer"
  9270. },
  9271. "enddate": {
  9272. "description": "结束日期(yyyyMMdd)",
  9273. "type": "string"
  9274. },
  9275. "goodscode": {
  9276. "description": "商品代码",
  9277. "type": "string"
  9278. },
  9279. "goodsid": {
  9280. "description": "交易合约ID",
  9281. "type": "integer"
  9282. },
  9283. "goodsname": {
  9284. "description": "商品名称",
  9285. "type": "string"
  9286. },
  9287. "marketid": {
  9288. "description": "市场ID",
  9289. "type": "integer"
  9290. },
  9291. "mindeliveryqty": {
  9292. "description": "最小交割系数(K)",
  9293. "type": "integer"
  9294. },
  9295. "p2deliveryprice": {
  9296. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  9297. "type": "number"
  9298. },
  9299. "p2deliveryratio": {
  9300. "description": "P2合约系数(p)",
  9301. "type": "integer"
  9302. },
  9303. "p2goodsid": {
  9304. "description": "P2合约ID",
  9305. "type": "integer"
  9306. },
  9307. "p2pricemode": {
  9308. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  9309. "type": "integer"
  9310. },
  9311. "pdeliveryprice": {
  9312. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  9313. "type": "number"
  9314. },
  9315. "pdeliveryratio": {
  9316. "description": "P合约系数(n)",
  9317. "type": "integer"
  9318. },
  9319. "pgoodsid": {
  9320. "description": "P合约ID",
  9321. "type": "integer"
  9322. },
  9323. "ppricemode": {
  9324. "description": "P合约价格方式 - 1:商品价 2:固定值",
  9325. "type": "integer"
  9326. },
  9327. "rratio": {
  9328. "description": "兑换系数(R)",
  9329. "type": "integer"
  9330. },
  9331. "rratio1": {
  9332. "description": "兑换系数(交易合约)(R1)",
  9333. "type": "integer"
  9334. },
  9335. "rratio2": {
  9336. "description": "兑换系数(仓单标准)(R2)",
  9337. "type": "integer"
  9338. },
  9339. "selltemplateid": {
  9340. "description": "卖履约计划模板ID",
  9341. "type": "integer"
  9342. },
  9343. "wrstandardid": {
  9344. "description": "仓单标准ID",
  9345. "type": "integer"
  9346. },
  9347. "xdeliveryratio": {
  9348. "description": "交易合约系数(m)",
  9349. "type": "integer"
  9350. }
  9351. }
  9352. },
  9353. "ermcp.ExposureDetailRsp": {
  9354. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  9355. },
  9356. "ermcp.ExposureHedgePosDetailRsp": {
  9357. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  9358. },
  9359. "ermcp.ExposureHedgePositionRsp": {
  9360. "$ref": "#/definitions/models.ErmcpHedgePosition"
  9361. },
  9362. "ermcp.ExposureSpotDetailRsp": {
  9363. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  9364. },
  9365. "ermcp.ExposureSpotRsp": {
  9366. "$ref": "#/definitions/models.AreaSpotModel"
  9367. },
  9368. "ermcp.HisExposureRsp": {
  9369. "$ref": "#/definitions/models.ErmcpHisExposureS"
  9370. },
  9371. "ermcp.PendingAuditCntRsp": {
  9372. "$ref": "#/definitions/models.ErmcpPendingAudit"
  9373. },
  9374. "ermcp.QryAvalidGPRsp": {
  9375. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  9376. },
  9377. "ermcp.QryGGCovertCfgRsp": {
  9378. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  9379. },
  9380. "ermcp.QryMGChangeLogRsp": {
  9381. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  9382. },
  9383. "ermcp.QryMiddleGoodsDetailRsp": {
  9384. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  9385. },
  9386. "ermcp.QryMiddleGoodsRsp": {
  9387. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9388. },
  9389. "ermcp.QryOPLogRsp": {
  9390. "$ref": "#/definitions/models.ErmcpOPLogModel"
  9391. },
  9392. "ermcp.QryUserInfoRsp": {
  9393. "$ref": "#/definitions/models.ErmcpUserModel"
  9394. },
  9395. "ermcp.QryWarehouseRsp": {
  9396. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  9397. },
  9398. "ermcp.QueryErmcpTradePositionRsp": {
  9399. "type": "object",
  9400. "properties": {
  9401. "agreeunit": {
  9402. "description": "合约单位",
  9403. "type": "number"
  9404. },
  9405. "buyorsell": {
  9406. "description": "方向 - 0:买 1:卖",
  9407. "type": "integer"
  9408. },
  9409. "curpositionqty": {
  9410. "description": "持仓(总仓数量, 期末头寸)",
  9411. "type": "integer"
  9412. },
  9413. "curtdposition": {
  9414. "description": "今仓数量(期末今日头寸)",
  9415. "type": "integer"
  9416. },
  9417. "curtdpositionenabled": {
  9418. "description": "今仓可用",
  9419. "type": "integer"
  9420. },
  9421. "decimalplace": {
  9422. "description": "报价小数位",
  9423. "type": "integer"
  9424. },
  9425. "enableqty": {
  9426. "description": "可用(总仓可用)",
  9427. "type": "integer"
  9428. },
  9429. "exexchangename": {
  9430. "description": "外部交易所名称",
  9431. "type": "string"
  9432. },
  9433. "goodscode": {
  9434. "description": "商品代码(内部)",
  9435. "type": "string"
  9436. },
  9437. "goodsid": {
  9438. "description": "商品ID(自增ID SEQ_GOODS)",
  9439. "type": "integer"
  9440. },
  9441. "goodsname": {
  9442. "description": "商品名称",
  9443. "type": "string"
  9444. },
  9445. "last": {
  9446. "description": "现价",
  9447. "type": "number"
  9448. },
  9449. "marketid": {
  9450. "description": "所属市场ID",
  9451. "type": "integer"
  9452. },
  9453. "openaverageprice": {
  9454. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9455. "type": "number"
  9456. },
  9457. "opencost": {
  9458. "description": "开仓成本",
  9459. "type": "number"
  9460. },
  9461. "openpl": {
  9462. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9463. "type": "number"
  9464. },
  9465. "outgoodscode": {
  9466. "description": "商品代码(外部)",
  9467. "type": "string"
  9468. },
  9469. "positionaverageprice": {
  9470. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9471. "type": "number"
  9472. },
  9473. "positioncost": {
  9474. "description": "持仓成本",
  9475. "type": "number"
  9476. },
  9477. "positionpl": {
  9478. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9479. "type": "number"
  9480. },
  9481. "positionplrate": {
  9482. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9483. "type": "number"
  9484. },
  9485. "usedmargin": {
  9486. "description": "占用保证金",
  9487. "type": "number"
  9488. }
  9489. }
  9490. },
  9491. "ermcp.RealtimeExposurePositionRsp": {
  9492. "$ref": "#/definitions/models.ErmcpExposurePostion"
  9493. },
  9494. "ermcp.RealtimeExposureRsp": {
  9495. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  9496. },
  9497. "erms2.QueryArbitrageStrategyRsp": {
  9498. "type": "object",
  9499. "required": [
  9500. "asapplyid"
  9501. ],
  9502. "properties": {
  9503. "applybasis": {
  9504. "description": "申请基差",
  9505. "type": "number"
  9506. },
  9507. "asapplyid": {
  9508. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9509. "type": "string"
  9510. },
  9511. "asname": {
  9512. "description": "策略名称",
  9513. "type": "string"
  9514. },
  9515. "asno": {
  9516. "description": "策略编号",
  9517. "type": "string"
  9518. },
  9519. "basischangepl": {
  9520. "description": "基差变动损益[结算更新]",
  9521. "type": "number"
  9522. },
  9523. "biztype": {
  9524. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9525. "type": "integer"
  9526. },
  9527. "closetradedate": {
  9528. "description": "完结交易日(yyyyMMdd)",
  9529. "type": "string"
  9530. },
  9531. "curbasis": {
  9532. "description": "当前基差[结算更新]",
  9533. "type": "number"
  9534. },
  9535. "deliverygoodsid": {
  9536. "description": "现货品种ID",
  9537. "type": "integer"
  9538. },
  9539. "futureavgprice": {
  9540. "description": "期货建仓均价",
  9541. "type": "number"
  9542. },
  9543. "futurecloseamount": {
  9544. "description": "期货平仓金额",
  9545. "type": "number"
  9546. },
  9547. "futurecloseqty": {
  9548. "description": "期货平仓数量",
  9549. "type": "number"
  9550. },
  9551. "futureopenamount": {
  9552. "description": "期货开仓金额",
  9553. "type": "number"
  9554. },
  9555. "futureopenqty": {
  9556. "description": "期货开仓数量",
  9557. "type": "number"
  9558. },
  9559. "futurepl": {
  9560. "description": "期货总盈亏[结算更新]",
  9561. "type": "number"
  9562. },
  9563. "futureqty": {
  9564. "description": "期货持仓数量",
  9565. "type": "number"
  9566. },
  9567. "futurequote": {
  9568. "description": "期货额度",
  9569. "type": "number"
  9570. },
  9571. "goodsgroupid": {
  9572. "description": "期货品种ID",
  9573. "type": "integer"
  9574. },
  9575. "marketid": {
  9576. "description": "市场ID",
  9577. "type": "integer"
  9578. },
  9579. "netexposure": {
  9580. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9581. "type": "number"
  9582. },
  9583. "netexposurepl": {
  9584. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9585. "type": "number"
  9586. },
  9587. "netexposurerate": {
  9588. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9589. "type": "number"
  9590. },
  9591. "openbasis": {
  9592. "description": "建仓基差",
  9593. "type": "number"
  9594. },
  9595. "pricedspotqty": {
  9596. "description": "已定价现货数量",
  9597. "type": "number"
  9598. },
  9599. "pricedspotqtynotax": {
  9600. "description": "已定价现货不含税数量",
  9601. "type": "number"
  9602. },
  9603. "remark": {
  9604. "description": "备注",
  9605. "type": "string"
  9606. },
  9607. "spotavgprice": {
  9608. "description": "现货均价",
  9609. "type": "number"
  9610. },
  9611. "spotbuyamount": {
  9612. "description": "现货采购金额",
  9613. "type": "number"
  9614. },
  9615. "spotbuyqty": {
  9616. "description": "现货采购数量",
  9617. "type": "number"
  9618. },
  9619. "spotpl": {
  9620. "description": "现货总盈亏[结算更新]",
  9621. "type": "number"
  9622. },
  9623. "spotquota": {
  9624. "description": "现货额度",
  9625. "type": "number"
  9626. },
  9627. "spotsellamount": {
  9628. "description": "现货销售金额",
  9629. "type": "number"
  9630. },
  9631. "spotsellqty": {
  9632. "description": "现货销售数量",
  9633. "type": "number"
  9634. },
  9635. "spotusedquota": {
  9636. "description": "现货占用资金",
  9637. "type": "number"
  9638. },
  9639. "strategystatus": {
  9640. "description": "策略状态 - 0:未结束 1:已结束",
  9641. "type": "integer"
  9642. },
  9643. "totalpl": {
  9644. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9645. "type": "number"
  9646. },
  9647. "tradedate": {
  9648. "description": "交易日(yyyyMMdd)",
  9649. "type": "string"
  9650. },
  9651. "updatetime": {
  9652. "description": "更新时间",
  9653. "type": "string"
  9654. },
  9655. "usedquota": {
  9656. "description": "已占用资金",
  9657. "type": "number"
  9658. },
  9659. "userid": {
  9660. "description": "所属机构",
  9661. "type": "integer"
  9662. }
  9663. }
  9664. },
  9665. "erms2.QueryInnerTradeDetailRsp": {
  9666. "type": "object",
  9667. "required": [
  9668. "asapplyid",
  9669. "buyorsell",
  9670. "goodscode",
  9671. "goodsgroupid",
  9672. "goodsgroupname",
  9673. "goodsname",
  9674. "tradeid"
  9675. ],
  9676. "properties": {
  9677. "accountid": {
  9678. "description": "账号ID",
  9679. "type": "integer"
  9680. },
  9681. "agreeunit": {
  9682. "description": "合约单位",
  9683. "type": "number"
  9684. },
  9685. "asapplyid": {
  9686. "description": "策略申请ID",
  9687. "type": "integer"
  9688. },
  9689. "asname": {
  9690. "description": "策略名称",
  9691. "type": "string"
  9692. },
  9693. "asno": {
  9694. "description": "策略编号",
  9695. "type": "string"
  9696. },
  9697. "buyorsell": {
  9698. "description": "方向 - 0:买 1:卖",
  9699. "type": "integer"
  9700. },
  9701. "channelbuildtype": {
  9702. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9703. "type": "integer"
  9704. },
  9705. "closetype": {
  9706. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9707. "type": "integer"
  9708. },
  9709. "decimalplace": {
  9710. "description": "报价小数位",
  9711. "type": "integer"
  9712. },
  9713. "detailtype": {
  9714. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9715. "type": "integer"
  9716. },
  9717. "exexchangecode": {
  9718. "description": "外部交易所代码",
  9719. "type": "string"
  9720. },
  9721. "exexchangename": {
  9722. "description": "外部交易所名称",
  9723. "type": "string"
  9724. },
  9725. "goodscode": {
  9726. "description": "商品代码(合约)",
  9727. "type": "string"
  9728. },
  9729. "goodsgroupid": {
  9730. "description": "商品组ID(品种ID)",
  9731. "type": "integer"
  9732. },
  9733. "goodsgroupname": {
  9734. "description": "商品组名称(品种)",
  9735. "type": "string"
  9736. },
  9737. "goodsid": {
  9738. "description": "商品ID",
  9739. "type": "integer"
  9740. },
  9741. "goodsname": {
  9742. "description": "商品名称(合约)",
  9743. "type": "string"
  9744. },
  9745. "goodunit": {
  9746. "description": "报价单位",
  9747. "type": "string"
  9748. },
  9749. "marketid": {
  9750. "description": "市场ID",
  9751. "type": "integer"
  9752. },
  9753. "orderid": {
  9754. "description": "委托单号",
  9755. "type": "string"
  9756. },
  9757. "outgoodscode": {
  9758. "description": "商品代码(外部)",
  9759. "type": "string"
  9760. },
  9761. "relatedouttradeid": {
  9762. "description": "关联外部成交单ID",
  9763. "type": "string"
  9764. },
  9765. "remark": {
  9766. "description": "备注",
  9767. "type": "string"
  9768. },
  9769. "spotcontractid": {
  9770. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9771. "type": "integer"
  9772. },
  9773. "spotcontractno": {
  9774. "description": "现货合同编号",
  9775. "type": "string"
  9776. },
  9777. "tradeid": {
  9778. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9779. "type": "string"
  9780. },
  9781. "tradeprice": {
  9782. "description": "成交价格",
  9783. "type": "number"
  9784. },
  9785. "tradeqty": {
  9786. "description": "成交数量",
  9787. "type": "integer"
  9788. },
  9789. "tradetime": {
  9790. "description": "成交时间",
  9791. "type": "string"
  9792. },
  9793. "updatetime": {
  9794. "description": "更新时间",
  9795. "type": "string"
  9796. }
  9797. }
  9798. },
  9799. "erms2.QuerySpotContractRsp": {
  9800. "type": "object",
  9801. "required": [
  9802. "spotcontractid"
  9803. ],
  9804. "properties": {
  9805. "accountid": {
  9806. "description": "资金账户ID",
  9807. "type": "integer"
  9808. },
  9809. "areauserid": {
  9810. "description": "所属机构",
  9811. "type": "integer"
  9812. },
  9813. "closedate": {
  9814. "description": "终止日期",
  9815. "type": "string"
  9816. },
  9817. "closeremark": {
  9818. "description": "结束备注",
  9819. "type": "string"
  9820. },
  9821. "closetradedate": {
  9822. "description": "完结交易日(yyyyMMdd)",
  9823. "type": "string"
  9824. },
  9825. "closetype": {
  9826. "description": "终止类型 - 1:违约 2:提前终止",
  9827. "type": "integer"
  9828. },
  9829. "contractamount": {
  9830. "description": "合同金额",
  9831. "type": "number"
  9832. },
  9833. "contractattachment": {
  9834. "description": "合同附件",
  9835. "type": "string"
  9836. },
  9837. "contractno": {
  9838. "description": "现货合同编号",
  9839. "type": "string"
  9840. },
  9841. "contractqty": {
  9842. "description": "合同数量(数值) (用于计算)",
  9843. "type": "number"
  9844. },
  9845. "contractqtychar": {
  9846. "description": "合同数量\\已订价数量 (用于显示)",
  9847. "type": "string"
  9848. },
  9849. "contractstatus": {
  9850. "description": "合同状态 - 0:未结束 1:已结束",
  9851. "type": "integer"
  9852. },
  9853. "contracttype": {
  9854. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9855. "type": "integer"
  9856. },
  9857. "customeraccountid": {
  9858. "description": "客户资金账户ID",
  9859. "type": "integer"
  9860. },
  9861. "customeruserid": {
  9862. "description": "客户ID",
  9863. "type": "integer"
  9864. },
  9865. "deliverygoodsdesc": {
  9866. "description": "品种说明",
  9867. "type": "string"
  9868. },
  9869. "deliverygoodsid": {
  9870. "description": "现货品种ID",
  9871. "type": "integer"
  9872. },
  9873. "handlestatus": {
  9874. "description": "处理状态",
  9875. "type": "integer"
  9876. },
  9877. "invoiceatt": {
  9878. "description": "发票附件",
  9879. "type": "string"
  9880. },
  9881. "invoicedatetime": {
  9882. "description": "开收票更新时间",
  9883. "type": "string"
  9884. },
  9885. "invoiceopentime": {
  9886. "description": "开票时间",
  9887. "type": "string"
  9888. },
  9889. "invoiceremark": {
  9890. "description": "发票备注",
  9891. "type": "string"
  9892. },
  9893. "invoicestatus": {
  9894. "description": "开收票状态 - 0:未开票 1:已开票",
  9895. "type": "integer"
  9896. },
  9897. "lastdate": {
  9898. "description": "交货时间",
  9899. "type": "string"
  9900. },
  9901. "marketid": {
  9902. "description": "市场ID",
  9903. "type": "integer"
  9904. },
  9905. "paydatetime": {
  9906. "description": "收付款更新时间",
  9907. "type": "string"
  9908. },
  9909. "payremark": {
  9910. "description": "收付款备注",
  9911. "type": "string"
  9912. },
  9913. "paystatus": {
  9914. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  9915. "type": "integer"
  9916. },
  9917. "positionqty": {
  9918. "description": "头寸数量 - 合同数量去小数部分",
  9919. "type": "integer"
  9920. },
  9921. "producttype": {
  9922. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9923. "type": "integer"
  9924. },
  9925. "relatedqty": {
  9926. "description": "已关联数量",
  9927. "type": "number"
  9928. },
  9929. "relatedstatus": {
  9930. "description": "关联完结状态 - 0:未结束 1:已结束",
  9931. "type": "integer"
  9932. },
  9933. "remark": {
  9934. "description": "备注",
  9935. "type": "string"
  9936. },
  9937. "signdate": {
  9938. "description": "签订日期",
  9939. "type": "string"
  9940. },
  9941. "spotcontractid": {
  9942. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  9943. "type": "string"
  9944. },
  9945. "spotdatetime": {
  9946. "description": "收发货更新时间",
  9947. "type": "string"
  9948. },
  9949. "spotprice": {
  9950. "description": "价格",
  9951. "type": "number"
  9952. },
  9953. "spotremark": {
  9954. "description": "收发货备注",
  9955. "type": "string"
  9956. },
  9957. "spotstatus": {
  9958. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  9959. "type": "integer"
  9960. },
  9961. "tradedate": {
  9962. "description": "交易日(yyyyMMdd)",
  9963. "type": "string"
  9964. },
  9965. "userid": {
  9966. "description": "业务员用户ID",
  9967. "type": "integer"
  9968. },
  9969. "warehouseid": {
  9970. "description": "仓库ID",
  9971. "type": "integer"
  9972. },
  9973. "wrfactortypeid": {
  9974. "description": "仓单要素类型ID",
  9975. "type": "integer"
  9976. },
  9977. "wrstandardid": {
  9978. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9979. "type": "integer"
  9980. }
  9981. }
  9982. },
  9983. "erms3.AddErms2ASApplyReq": {
  9984. "type": "object",
  9985. "required": [
  9986. "asapplyid"
  9987. ],
  9988. "properties": {
  9989. "applybasis": {
  9990. "description": "申请基差",
  9991. "type": "number"
  9992. },
  9993. "applystatus": {
  9994. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9995. "type": "integer"
  9996. },
  9997. "asapplyid": {
  9998. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  9999. "type": "integer"
  10000. },
  10001. "asname": {
  10002. "description": "策略名称",
  10003. "type": "string"
  10004. },
  10005. "asno": {
  10006. "description": "策略编号",
  10007. "type": "string"
  10008. },
  10009. "auditid": {
  10010. "description": "审核人",
  10011. "type": "integer"
  10012. },
  10013. "auditremark": {
  10014. "description": "审核备注",
  10015. "type": "string"
  10016. },
  10017. "audittime": {
  10018. "description": "审核时间",
  10019. "type": "string"
  10020. },
  10021. "biztype": {
  10022. "description": "业务类型 - 1:正向套利 2:反向套利",
  10023. "type": "integer"
  10024. },
  10025. "createtime": {
  10026. "description": "创建时间",
  10027. "type": "string"
  10028. },
  10029. "creatorid": {
  10030. "description": "创建人",
  10031. "type": "integer"
  10032. },
  10033. "deliverygoodsid": {
  10034. "description": "现货品种ID",
  10035. "type": "integer"
  10036. },
  10037. "futurequote": {
  10038. "description": "期货额度",
  10039. "type": "number"
  10040. },
  10041. "goodsgroupid": {
  10042. "description": "期货品种ID",
  10043. "type": "integer"
  10044. },
  10045. "marketid": {
  10046. "description": "市场ID",
  10047. "type": "integer"
  10048. },
  10049. "remark": {
  10050. "description": "备注",
  10051. "type": "string"
  10052. },
  10053. "spotquota": {
  10054. "description": "现货额度",
  10055. "type": "number"
  10056. },
  10057. "tradedate": {
  10058. "description": "交易日(yyyyMMdd)",
  10059. "type": "string"
  10060. },
  10061. "userid": {
  10062. "description": "所属机构",
  10063. "type": "integer"
  10064. }
  10065. }
  10066. },
  10067. "erms3.AddErms2SpotTradeApplyReq": {
  10068. "type": "object",
  10069. "required": [
  10070. "spottradeid"
  10071. ],
  10072. "properties": {
  10073. "applyjsondetail": {
  10074. "description": "申请明细(JSON)",
  10075. "type": "string"
  10076. },
  10077. "applystatus": {
  10078. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10079. "type": "integer"
  10080. },
  10081. "areauserid": {
  10082. "description": "所属机构",
  10083. "type": "integer"
  10084. },
  10085. "auditid": {
  10086. "description": "审核人",
  10087. "type": "integer"
  10088. },
  10089. "auditremark": {
  10090. "description": "审核备注",
  10091. "type": "string"
  10092. },
  10093. "audittime": {
  10094. "description": "审核时间",
  10095. "type": "string"
  10096. },
  10097. "createtime": {
  10098. "description": "创建时间",
  10099. "type": "string"
  10100. },
  10101. "creatorid": {
  10102. "description": "创建人",
  10103. "type": "integer"
  10104. },
  10105. "deliverygoodsid": {
  10106. "description": "现货品种ID",
  10107. "type": "integer"
  10108. },
  10109. "futureaccountid": {
  10110. "description": "期货资金账户",
  10111. "type": "integer"
  10112. },
  10113. "goodsgroupid": {
  10114. "description": "期货品种",
  10115. "type": "integer"
  10116. },
  10117. "marketid": {
  10118. "description": "市场ID",
  10119. "type": "integer"
  10120. },
  10121. "remark": {
  10122. "description": "备注",
  10123. "type": "string"
  10124. },
  10125. "spotaccountid": {
  10126. "description": "现货资金账户",
  10127. "type": "integer"
  10128. },
  10129. "spottradeid": {
  10130. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10131. "type": "integer"
  10132. },
  10133. "spottradename": {
  10134. "description": "业务名称",
  10135. "type": "string"
  10136. },
  10137. "spottradeno": {
  10138. "description": "业务编号",
  10139. "type": "string"
  10140. },
  10141. "tradedate": {
  10142. "description": "交易日(yyyyMMdd)",
  10143. "type": "string"
  10144. },
  10145. "wrstandardid": {
  10146. "description": "仓单标准ID",
  10147. "type": "integer"
  10148. }
  10149. }
  10150. },
  10151. "erms3.AddSpotContractApplyReq": {
  10152. "type": "object",
  10153. "required": [
  10154. "accountid",
  10155. "areauserid",
  10156. "contractno",
  10157. "contracttype",
  10158. "customeraccountid",
  10159. "customeruserid",
  10160. "details",
  10161. "orimargin",
  10162. "signdate"
  10163. ],
  10164. "properties": {
  10165. "accountid": {
  10166. "description": "资金账户ID",
  10167. "type": "integer"
  10168. },
  10169. "areauserid": {
  10170. "description": "所属机构",
  10171. "type": "integer"
  10172. },
  10173. "contractattachment": {
  10174. "description": "合同附件",
  10175. "type": "string"
  10176. },
  10177. "contractno": {
  10178. "description": "现货合同编号",
  10179. "type": "string"
  10180. },
  10181. "contracttype": {
  10182. "description": "现货合同类型 - 1:采购 -1:销售",
  10183. "type": "integer"
  10184. },
  10185. "creatorid": {
  10186. "description": "申请人",
  10187. "type": "integer"
  10188. },
  10189. "customeraccountid": {
  10190. "description": "客户资金账户ID",
  10191. "type": "integer"
  10192. },
  10193. "customeruserid": {
  10194. "description": "客户ID",
  10195. "type": "integer"
  10196. },
  10197. "details": {
  10198. "description": "明细",
  10199. "type": "array",
  10200. "items": {
  10201. "$ref": "#/definitions/erms3.SoptContractDetail"
  10202. }
  10203. },
  10204. "orimargin": {
  10205. "description": "初始保证金",
  10206. "type": "number"
  10207. },
  10208. "remark": {
  10209. "description": "备注",
  10210. "type": "string"
  10211. },
  10212. "signdate": {
  10213. "description": "签订日期",
  10214. "type": "string"
  10215. }
  10216. }
  10217. },
  10218. "erms3.AddSpotContractApplyRsp": {
  10219. "type": "object",
  10220. "required": [
  10221. "contractno"
  10222. ],
  10223. "properties": {
  10224. "contractno": {
  10225. "description": "现货合同编号",
  10226. "type": "string"
  10227. },
  10228. "spotcontractid": {
  10229. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10230. "type": "integer"
  10231. }
  10232. }
  10233. },
  10234. "erms3.AddUserInfoApplyReq": {
  10235. "type": "object",
  10236. "required": [
  10237. "userid"
  10238. ],
  10239. "properties": {
  10240. "accountid": {
  10241. "description": "交易系统帐号Id (加密存储)",
  10242. "type": "integer"
  10243. },
  10244. "areacode": {
  10245. "description": "机构代码",
  10246. "type": "string"
  10247. },
  10248. "areaid": {
  10249. "description": "机构Id",
  10250. "type": "integer"
  10251. },
  10252. "attachment1": {
  10253. "description": "附件1",
  10254. "type": "string"
  10255. },
  10256. "attachment2": {
  10257. "description": "附件2",
  10258. "type": "string"
  10259. },
  10260. "attachment3": {
  10261. "description": "附件3",
  10262. "type": "string"
  10263. },
  10264. "attachment4": {
  10265. "description": "附件4",
  10266. "type": "string"
  10267. },
  10268. "attachment5": {
  10269. "description": "附件5",
  10270. "type": "string"
  10271. },
  10272. "auditedby": {
  10273. "description": "审核人",
  10274. "type": "string"
  10275. },
  10276. "auditime": {
  10277. "description": "审核时间",
  10278. "type": "string"
  10279. },
  10280. "auditsrc": {
  10281. "description": "审核来源 - 1:管理端 2:终端",
  10282. "type": "integer"
  10283. },
  10284. "bankaccount": {
  10285. "description": "银行帐号 (加密存储)",
  10286. "type": "string"
  10287. },
  10288. "bankaccountname": {
  10289. "description": "收款人名称",
  10290. "type": "string"
  10291. },
  10292. "bankcardbackphotourl": {
  10293. "description": "银行卡背面照地址",
  10294. "type": "string"
  10295. },
  10296. "bankcardfrontphotourl": {
  10297. "description": "银行卡正面照地址",
  10298. "type": "string"
  10299. },
  10300. "bankid": {
  10301. "description": "银行编码",
  10302. "type": "string"
  10303. },
  10304. "bankname": {
  10305. "description": "银行名称",
  10306. "type": "string"
  10307. },
  10308. "bankpictureurl": {
  10309. "description": "银行卡正面地址",
  10310. "type": "string"
  10311. },
  10312. "biznature": {
  10313. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10314. "type": "integer"
  10315. },
  10316. "bizscope": {
  10317. "description": "企业经营范围(企业)",
  10318. "type": "string"
  10319. },
  10320. "biztype": {
  10321. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10322. "type": "integer"
  10323. },
  10324. "brokerid": {
  10325. "description": "经纪人ID(加密存储)",
  10326. "type": "string"
  10327. },
  10328. "cardaddress": {
  10329. "description": "证件地址 (加密存储)",
  10330. "type": "string"
  10331. },
  10332. "cardbackphotourl": {
  10333. "description": "背面证件照地址",
  10334. "type": "string"
  10335. },
  10336. "cardfrontphotourl": {
  10337. "description": "正面证件照地址",
  10338. "type": "string"
  10339. },
  10340. "cardnum": {
  10341. "description": "证件号码 (加密存储)",
  10342. "type": "string"
  10343. },
  10344. "cardtype": {
  10345. "description": "证件类型",
  10346. "type": "integer"
  10347. },
  10348. "cityid": {
  10349. "description": "市",
  10350. "type": "integer"
  10351. },
  10352. "company": {
  10353. "description": "公司(个人)",
  10354. "type": "string"
  10355. },
  10356. "contactcardbackphotourl": {
  10357. "description": "联系人证件背面图片地址",
  10358. "type": "string"
  10359. },
  10360. "contactcardfrontphotourl": {
  10361. "description": "联系人证件正面图片地址",
  10362. "type": "string"
  10363. },
  10364. "contactname": {
  10365. "description": "联系人",
  10366. "type": "string"
  10367. },
  10368. "countryid": {
  10369. "description": "国家",
  10370. "type": "integer"
  10371. },
  10372. "createtime": {
  10373. "description": "开户申请时间",
  10374. "type": "string"
  10375. },
  10376. "cusbankid": {
  10377. "description": "签约类型",
  10378. "type": "string"
  10379. },
  10380. "cusbankname": {
  10381. "description": "签约类型名称",
  10382. "type": "string"
  10383. },
  10384. "customername": {
  10385. "description": "客户名称(企业名称)",
  10386. "type": "string"
  10387. },
  10388. "districtid": {
  10389. "description": "地区",
  10390. "type": "integer"
  10391. },
  10392. "email": {
  10393. "description": "Email地址(加密存储)",
  10394. "type": "string"
  10395. },
  10396. "halfbodyphotourl": {
  10397. "description": "半身照地址",
  10398. "type": "string"
  10399. },
  10400. "headurl": {
  10401. "description": "头像地址",
  10402. "type": "string"
  10403. },
  10404. "ipaddress": {
  10405. "description": "IP地址",
  10406. "type": "string"
  10407. },
  10408. "isvalidate": {
  10409. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10410. "type": "string"
  10411. },
  10412. "legalcardbackphotourl": {
  10413. "description": "法人身份证背面照地址",
  10414. "type": "string"
  10415. },
  10416. "legalcardfrontphotourl": {
  10417. "description": "法人身份证正面照地址",
  10418. "type": "string"
  10419. },
  10420. "legalpersonname": {
  10421. "description": "法人姓名(企业)",
  10422. "type": "string"
  10423. },
  10424. "logincode": {
  10425. "description": "登录帐号 (加密存储)",
  10426. "type": "string"
  10427. },
  10428. "memberareaid": {
  10429. "description": "所属会员ID",
  10430. "type": "integer"
  10431. },
  10432. "mobile2": {
  10433. "description": "手机号码[明文-尚志]",
  10434. "type": "string"
  10435. },
  10436. "mobilephone": {
  10437. "description": "手机号码 (加密存储)",
  10438. "type": "string"
  10439. },
  10440. "modifiedby": {
  10441. "description": "修改人帐号",
  10442. "type": "integer"
  10443. },
  10444. "modifiedtime": {
  10445. "description": "修改时间",
  10446. "type": "string"
  10447. },
  10448. "nickname": {
  10449. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10450. "type": "string"
  10451. },
  10452. "openmode": {
  10453. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10454. "type": "integer"
  10455. },
  10456. "otherurl": {
  10457. "description": "其它图片地址[使用分号分隔]",
  10458. "type": "string"
  10459. },
  10460. "postalcode": {
  10461. "description": "邮政编码",
  10462. "type": "string"
  10463. },
  10464. "provinceid": {
  10465. "description": "省",
  10466. "type": "integer"
  10467. },
  10468. "proxystatementurl": {
  10469. "description": "授权委托书",
  10470. "type": "string"
  10471. },
  10472. "qq": {
  10473. "description": "QQ(加密存储",
  10474. "type": "string"
  10475. },
  10476. "referral": {
  10477. "description": "推荐人编码",
  10478. "type": "string"
  10479. },
  10480. "remark": {
  10481. "description": "备注",
  10482. "type": "string"
  10483. },
  10484. "removebeforestatus": {
  10485. "description": "REMOVEBEFORESTATUS",
  10486. "type": "integer"
  10487. },
  10488. "sex": {
  10489. "description": "性别 - 0:女 1:男",
  10490. "type": "integer"
  10491. },
  10492. "signedstatus": {
  10493. "description": "账户一号签签约状态",
  10494. "type": "integer"
  10495. },
  10496. "signpdfurl": {
  10497. "description": "签约pdf文件",
  10498. "type": "string"
  10499. },
  10500. "subbranch": {
  10501. "description": "开户支行",
  10502. "type": "string"
  10503. },
  10504. "taxpayernum": {
  10505. "description": "纳税人识别号",
  10506. "type": "string"
  10507. },
  10508. "telphone": {
  10509. "description": "联系电话(加密存储)",
  10510. "type": "string"
  10511. },
  10512. "userid": {
  10513. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  10514. "type": "integer"
  10515. },
  10516. "userinfotype": {
  10517. "description": "用户信息类型 - 1:个人 2:企业",
  10518. "type": "integer"
  10519. },
  10520. "username": {
  10521. "description": "用户姓名",
  10522. "type": "string"
  10523. },
  10524. "userstate": {
  10525. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10526. "type": "integer"
  10527. },
  10528. "usertype": {
  10529. "description": "用户类型 - 1:投资者 2:机构",
  10530. "type": "integer"
  10531. },
  10532. "videourl": {
  10533. "description": "视频地址",
  10534. "type": "string"
  10535. },
  10536. "wechat": {
  10537. "description": "微信号 (加密存储)",
  10538. "type": "string"
  10539. }
  10540. }
  10541. },
  10542. "erms3.CustomerInfo": {
  10543. "type": "object",
  10544. "required": [
  10545. "userid"
  10546. ],
  10547. "properties": {
  10548. "accountids": {
  10549. "description": "资金账户ID列表",
  10550. "type": "array",
  10551. "items": {
  10552. "type": "integer"
  10553. }
  10554. },
  10555. "customername": {
  10556. "description": "名称(企业名称)",
  10557. "type": "string"
  10558. },
  10559. "mobile": {
  10560. "description": "手机号码",
  10561. "type": "string"
  10562. },
  10563. "userid": {
  10564. "description": "用户ID",
  10565. "type": "integer"
  10566. }
  10567. }
  10568. },
  10569. "erms3.ModifyUserInfoApplyReq": {
  10570. "type": "object",
  10571. "required": [
  10572. "userid"
  10573. ],
  10574. "properties": {
  10575. "accountid": {
  10576. "description": "交易系统帐号Id (加密存储)",
  10577. "type": "integer"
  10578. },
  10579. "areacode": {
  10580. "description": "机构代码",
  10581. "type": "string"
  10582. },
  10583. "areaid": {
  10584. "description": "机构Id",
  10585. "type": "integer"
  10586. },
  10587. "attachment1": {
  10588. "description": "附件1",
  10589. "type": "string"
  10590. },
  10591. "attachment2": {
  10592. "description": "附件2",
  10593. "type": "string"
  10594. },
  10595. "attachment3": {
  10596. "description": "附件3",
  10597. "type": "string"
  10598. },
  10599. "attachment4": {
  10600. "description": "附件4",
  10601. "type": "string"
  10602. },
  10603. "attachment5": {
  10604. "description": "附件5",
  10605. "type": "string"
  10606. },
  10607. "auditedby": {
  10608. "description": "审核人",
  10609. "type": "string"
  10610. },
  10611. "auditime": {
  10612. "description": "审核时间",
  10613. "type": "string"
  10614. },
  10615. "auditsrc": {
  10616. "description": "审核来源 - 1:管理端 2:终端",
  10617. "type": "integer"
  10618. },
  10619. "bankaccount": {
  10620. "description": "银行帐号 (加密存储)",
  10621. "type": "string"
  10622. },
  10623. "bankaccountname": {
  10624. "description": "收款人名称",
  10625. "type": "string"
  10626. },
  10627. "bankcardbackphotourl": {
  10628. "description": "银行卡背面照地址",
  10629. "type": "string"
  10630. },
  10631. "bankcardfrontphotourl": {
  10632. "description": "银行卡正面照地址",
  10633. "type": "string"
  10634. },
  10635. "bankid": {
  10636. "description": "银行编码",
  10637. "type": "string"
  10638. },
  10639. "bankname": {
  10640. "description": "银行名称",
  10641. "type": "string"
  10642. },
  10643. "bankpictureurl": {
  10644. "description": "银行卡正面地址",
  10645. "type": "string"
  10646. },
  10647. "biznature": {
  10648. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10649. "type": "integer"
  10650. },
  10651. "bizscope": {
  10652. "description": "企业经营范围(企业)",
  10653. "type": "string"
  10654. },
  10655. "biztype": {
  10656. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10657. "type": "integer"
  10658. },
  10659. "brokerid": {
  10660. "description": "经纪人ID(加密存储)",
  10661. "type": "string"
  10662. },
  10663. "cardaddress": {
  10664. "description": "证件地址 (加密存储)",
  10665. "type": "string"
  10666. },
  10667. "cardbackphotourl": {
  10668. "description": "背面证件照地址",
  10669. "type": "string"
  10670. },
  10671. "cardfrontphotourl": {
  10672. "description": "正面证件照地址",
  10673. "type": "string"
  10674. },
  10675. "cardnum": {
  10676. "description": "证件号码 (加密存储)",
  10677. "type": "string"
  10678. },
  10679. "cardtype": {
  10680. "description": "证件类型",
  10681. "type": "integer"
  10682. },
  10683. "cityid": {
  10684. "description": "市",
  10685. "type": "integer"
  10686. },
  10687. "company": {
  10688. "description": "公司(个人)",
  10689. "type": "string"
  10690. },
  10691. "contactcardbackphotourl": {
  10692. "description": "联系人证件背面图片地址",
  10693. "type": "string"
  10694. },
  10695. "contactcardfrontphotourl": {
  10696. "description": "联系人证件正面图片地址",
  10697. "type": "string"
  10698. },
  10699. "contactname": {
  10700. "description": "联系人",
  10701. "type": "string"
  10702. },
  10703. "countryid": {
  10704. "description": "国家",
  10705. "type": "integer"
  10706. },
  10707. "createtime": {
  10708. "description": "开户申请时间",
  10709. "type": "string"
  10710. },
  10711. "cusbankid": {
  10712. "description": "签约类型",
  10713. "type": "string"
  10714. },
  10715. "cusbankname": {
  10716. "description": "签约类型名称",
  10717. "type": "string"
  10718. },
  10719. "customername": {
  10720. "description": "客户名称(企业名称)",
  10721. "type": "string"
  10722. },
  10723. "districtid": {
  10724. "description": "地区",
  10725. "type": "integer"
  10726. },
  10727. "email": {
  10728. "description": "Email地址(加密存储)",
  10729. "type": "string"
  10730. },
  10731. "halfbodyphotourl": {
  10732. "description": "半身照地址",
  10733. "type": "string"
  10734. },
  10735. "headurl": {
  10736. "description": "头像地址",
  10737. "type": "string"
  10738. },
  10739. "ipaddress": {
  10740. "description": "IP地址",
  10741. "type": "string"
  10742. },
  10743. "isvalidate": {
  10744. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10745. "type": "string"
  10746. },
  10747. "legalcardbackphotourl": {
  10748. "description": "法人身份证背面照地址",
  10749. "type": "string"
  10750. },
  10751. "legalcardfrontphotourl": {
  10752. "description": "法人身份证正面照地址",
  10753. "type": "string"
  10754. },
  10755. "legalpersonname": {
  10756. "description": "法人姓名(企业)",
  10757. "type": "string"
  10758. },
  10759. "logincode": {
  10760. "description": "登录帐号 (加密存储)",
  10761. "type": "string"
  10762. },
  10763. "memberareaid": {
  10764. "description": "所属会员ID",
  10765. "type": "integer"
  10766. },
  10767. "mobile2": {
  10768. "description": "手机号码[明文-尚志]",
  10769. "type": "string"
  10770. },
  10771. "mobilephone": {
  10772. "description": "手机号码 (加密存储)",
  10773. "type": "string"
  10774. },
  10775. "modifiedby": {
  10776. "description": "修改人帐号",
  10777. "type": "integer"
  10778. },
  10779. "modifiedtime": {
  10780. "description": "修改时间",
  10781. "type": "string"
  10782. },
  10783. "nickname": {
  10784. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10785. "type": "string"
  10786. },
  10787. "openmode": {
  10788. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10789. "type": "integer"
  10790. },
  10791. "otherurl": {
  10792. "description": "其它图片地址[使用分号分隔]",
  10793. "type": "string"
  10794. },
  10795. "postalcode": {
  10796. "description": "邮政编码",
  10797. "type": "string"
  10798. },
  10799. "provinceid": {
  10800. "description": "省",
  10801. "type": "integer"
  10802. },
  10803. "proxystatementurl": {
  10804. "description": "授权委托书",
  10805. "type": "string"
  10806. },
  10807. "qq": {
  10808. "description": "QQ(加密存储",
  10809. "type": "string"
  10810. },
  10811. "referral": {
  10812. "description": "推荐人编码",
  10813. "type": "string"
  10814. },
  10815. "remark": {
  10816. "description": "备注",
  10817. "type": "string"
  10818. },
  10819. "removebeforestatus": {
  10820. "description": "REMOVEBEFORESTATUS",
  10821. "type": "integer"
  10822. },
  10823. "sex": {
  10824. "description": "性别 - 0:女 1:男",
  10825. "type": "integer"
  10826. },
  10827. "signedstatus": {
  10828. "description": "账户一号签签约状态",
  10829. "type": "integer"
  10830. },
  10831. "signpdfurl": {
  10832. "description": "签约pdf文件",
  10833. "type": "string"
  10834. },
  10835. "subbranch": {
  10836. "description": "开户支行",
  10837. "type": "string"
  10838. },
  10839. "taxpayernum": {
  10840. "description": "纳税人识别号",
  10841. "type": "string"
  10842. },
  10843. "telphone": {
  10844. "description": "联系电话(加密存储)",
  10845. "type": "string"
  10846. },
  10847. "userid": {
  10848. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  10849. "type": "integer"
  10850. },
  10851. "userinfotype": {
  10852. "description": "用户信息类型 - 1:个人 2:企业",
  10853. "type": "integer"
  10854. },
  10855. "username": {
  10856. "description": "用户姓名",
  10857. "type": "string"
  10858. },
  10859. "userstate": {
  10860. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10861. "type": "integer"
  10862. },
  10863. "usertype": {
  10864. "description": "用户类型 - 1:投资者 2:机构",
  10865. "type": "integer"
  10866. },
  10867. "videourl": {
  10868. "description": "视频地址",
  10869. "type": "string"
  10870. },
  10871. "wechat": {
  10872. "description": "微信号 (加密存储)",
  10873. "type": "string"
  10874. }
  10875. }
  10876. },
  10877. "erms3.QryAuditContractRsp": {
  10878. "type": "object",
  10879. "required": [
  10880. "matchcustomername",
  10881. "spotcontractid"
  10882. ],
  10883. "properties": {
  10884. "accountid": {
  10885. "description": "交易员ID",
  10886. "type": "string"
  10887. },
  10888. "applystatus": {
  10889. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10890. "type": "integer"
  10891. },
  10892. "curdeliveryqty": {
  10893. "description": "未交收量",
  10894. "type": "integer"
  10895. },
  10896. "customername": {
  10897. "description": "采购方ID",
  10898. "type": "string"
  10899. },
  10900. "deliverygoodsid": {
  10901. "description": "品种ID",
  10902. "type": "string"
  10903. },
  10904. "deliveryqty": {
  10905. "description": "交收量",
  10906. "type": "integer"
  10907. },
  10908. "enumdicname": {
  10909. "description": "单位名称",
  10910. "type": "string"
  10911. },
  10912. "matchaccountid": {
  10913. "description": "业务员ID",
  10914. "type": "string"
  10915. },
  10916. "matchcustomername": {
  10917. "description": "销售方ID",
  10918. "type": "string"
  10919. },
  10920. "pricedqty": {
  10921. "description": "定价量",
  10922. "type": "number"
  10923. },
  10924. "signdate": {
  10925. "description": "签订日期",
  10926. "type": "string"
  10927. },
  10928. "spotcontractid": {
  10929. "description": "合同ID",
  10930. "type": "string"
  10931. },
  10932. "totaldqty": {
  10933. "description": "合同量",
  10934. "type": "number"
  10935. },
  10936. "unpricedqty": {
  10937. "description": "未定价量",
  10938. "type": "number"
  10939. },
  10940. "wrstandardname": {
  10941. "description": "商品名称",
  10942. "type": "string"
  10943. }
  10944. }
  10945. },
  10946. "erms3.QryPendingBizRsp": {
  10947. "$ref": "#/definitions/models.PendingAuditBizModel"
  10948. },
  10949. "erms3.QueryBusinessInfoRsp": {
  10950. "type": "object",
  10951. "properties": {
  10952. "businessid": {
  10953. "description": "业务ID.",
  10954. "type": "integer"
  10955. },
  10956. "buyamount": {
  10957. "description": "采购额.",
  10958. "type": "number"
  10959. },
  10960. "buyqty": {
  10961. "description": "采购量.",
  10962. "type": "string"
  10963. },
  10964. "futurepl": {
  10965. "description": "期货盈亏.",
  10966. "type": "number"
  10967. },
  10968. "futureqty": {
  10969. "description": "期货敞口.",
  10970. "type": "string"
  10971. },
  10972. "goodsid": {
  10973. "description": "商品名称/商品代码.",
  10974. "type": "string"
  10975. },
  10976. "hedgingqty": {
  10977. "description": "套保量.",
  10978. "type": "string"
  10979. },
  10980. "sellamount": {
  10981. "description": "销售额.",
  10982. "type": "number"
  10983. },
  10984. "sellqty": {
  10985. "description": "销售量.",
  10986. "type": "string"
  10987. },
  10988. "spotmarketvalue": {
  10989. "description": "现货市值.",
  10990. "type": "number"
  10991. },
  10992. "spotpl": {
  10993. "description": "浮动权益.",
  10994. "type": "number"
  10995. },
  10996. "spotqty": {
  10997. "description": "现货量.",
  10998. "type": "string"
  10999. },
  11000. "statu": {
  11001. "description": "状态,0-未结束 1-已结束.",
  11002. "type": "integer"
  11003. },
  11004. "totalpl": {
  11005. "description": "总盈亏.",
  11006. "type": "number"
  11007. },
  11008. "totalqty": {
  11009. "description": "总敞口.",
  11010. "type": "string"
  11011. },
  11012. "type": {
  11013. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11014. "type": "integer"
  11015. }
  11016. }
  11017. },
  11018. "erms3.QuerySpotContractAppleFormRsp": {
  11019. "type": "object",
  11020. "properties": {
  11021. "goodses": {
  11022. "description": "合约列表",
  11023. "type": "array",
  11024. "items": {
  11025. "$ref": "#/definitions/models.GoodsIDAndName"
  11026. }
  11027. },
  11028. "oppositeusers": {
  11029. "description": "对方账号列表",
  11030. "type": "array",
  11031. "items": {
  11032. "$ref": "#/definitions/erms3.CustomerInfo"
  11033. }
  11034. },
  11035. "ouruser": {
  11036. "description": "我方账号",
  11037. "type": "object",
  11038. "$ref": "#/definitions/erms3.CustomerInfo"
  11039. },
  11040. "warehouseinfos": {
  11041. "description": "仓库信息列表",
  11042. "type": "array",
  11043. "items": {
  11044. "$ref": "#/definitions/models.Warehouseinfo"
  11045. }
  11046. },
  11047. "wrstandards": {
  11048. "description": "仓单标准列表",
  11049. "type": "array",
  11050. "items": {
  11051. "$ref": "#/definitions/models.WRStandardInfo"
  11052. }
  11053. }
  11054. }
  11055. },
  11056. "erms3.QuerySpotContractInfoRsp": {
  11057. "type": "object",
  11058. "properties": {
  11059. "accountid": {
  11060. "description": "表示交易员ID.",
  11061. "type": "integer"
  11062. },
  11063. "curdeliveryqty": {
  11064. "description": "表示未交收量.",
  11065. "type": "number"
  11066. },
  11067. "customername": {
  11068. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11069. "type": "string"
  11070. },
  11071. "deliverygoodsid": {
  11072. "description": "表示品种ID.",
  11073. "type": "string"
  11074. },
  11075. "deliveryqty": {
  11076. "description": "表示交收量.",
  11077. "type": "number"
  11078. },
  11079. "matchaccountid": {
  11080. "description": "表示业务员ID.",
  11081. "type": "integer"
  11082. },
  11083. "matchcustomername": {
  11084. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11085. "type": "string"
  11086. },
  11087. "priceqty": {
  11088. "description": "表示定价量.",
  11089. "type": "number"
  11090. },
  11091. "relatedbizid": {
  11092. "description": "表示业务ID.",
  11093. "type": "string"
  11094. },
  11095. "signdate": {
  11096. "description": "表示签订日期.",
  11097. "type": "string"
  11098. },
  11099. "spotcontractid": {
  11100. "description": "合同ID",
  11101. "type": "string"
  11102. },
  11103. "status": {
  11104. "description": "表示状态,0-履约中 1-已完成.",
  11105. "type": "integer"
  11106. },
  11107. "totalqty": {
  11108. "description": "表示合同量.",
  11109. "type": "number"
  11110. },
  11111. "unpricedqty": {
  11112. "description": "表示未定价量.",
  11113. "type": "number"
  11114. },
  11115. "wrstandardname": {
  11116. "description": "表示商品ID.",
  11117. "type": "string"
  11118. }
  11119. }
  11120. },
  11121. "erms3.QueryUserInfoAppliesRsp": {
  11122. "type": "object",
  11123. "required": [
  11124. "userid"
  11125. ],
  11126. "properties": {
  11127. "biznature": {
  11128. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11129. "type": "integer"
  11130. },
  11131. "contactname": {
  11132. "description": "联系人",
  11133. "type": "string"
  11134. },
  11135. "createtime": {
  11136. "description": "开户申请时间",
  11137. "type": "string"
  11138. },
  11139. "userid": {
  11140. "description": "用户ID(自增ID)",
  11141. "type": "integer"
  11142. },
  11143. "userinfotype": {
  11144. "description": "用户信息类型 - 1:个人 2:企业",
  11145. "type": "integer"
  11146. },
  11147. "username": {
  11148. "description": "用户姓名",
  11149. "type": "string"
  11150. },
  11151. "userstate": {
  11152. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11153. "type": "integer"
  11154. }
  11155. }
  11156. },
  11157. "erms3.QueryUserInfosRsp": {
  11158. "type": "object",
  11159. "required": [
  11160. "userid"
  11161. ],
  11162. "properties": {
  11163. "biznature": {
  11164. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11165. "type": "integer"
  11166. },
  11167. "contactname": {
  11168. "description": "联系人",
  11169. "type": "string"
  11170. },
  11171. "customername": {
  11172. "description": "客户名称(企业名称)",
  11173. "type": "string"
  11174. },
  11175. "userid": {
  11176. "description": "用户ID",
  11177. "type": "integer"
  11178. },
  11179. "userinfotype": {
  11180. "description": "用户信息类型 - 1:个人 2:企业",
  11181. "type": "integer"
  11182. },
  11183. "userstatus": {
  11184. "description": "用户状态 - 1:正常 2:注销",
  11185. "type": "integer"
  11186. }
  11187. }
  11188. },
  11189. "erms3.SoptContractDetail": {
  11190. "type": "object",
  11191. "required": [
  11192. "deliverygoodsid",
  11193. "producttype",
  11194. "unitname",
  11195. "warehouseid",
  11196. "wrstandardid",
  11197. "wrstandardname"
  11198. ],
  11199. "properties": {
  11200. "deliverygoodsdesc": {
  11201. "description": "现货品种说明",
  11202. "type": "string"
  11203. },
  11204. "deliverygoodsid": {
  11205. "description": "现货品种ID",
  11206. "type": "integer"
  11207. },
  11208. "deliverygoodsname": {
  11209. "description": "现货品种名称",
  11210. "type": "string"
  11211. },
  11212. "pointdesc": {
  11213. "description": "点价描述",
  11214. "type": "string"
  11215. },
  11216. "producttype": {
  11217. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11218. "type": "integer"
  11219. },
  11220. "producttypename": {
  11221. "description": "产品类型名称",
  11222. "type": "string"
  11223. },
  11224. "spotPointOrderVoList": {
  11225. "description": "点价列表",
  11226. "type": "array",
  11227. "items": {
  11228. "$ref": "#/definitions/erms3.SpotPointOrder"
  11229. }
  11230. },
  11231. "spotPriceOrderList": {
  11232. "description": "定价列表",
  11233. "type": "array",
  11234. "items": {
  11235. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11236. }
  11237. },
  11238. "unitname": {
  11239. "description": "单位名称",
  11240. "type": "string"
  11241. },
  11242. "warehouseid": {
  11243. "description": "仓库ID",
  11244. "type": "integer"
  11245. },
  11246. "warehousename": {
  11247. "description": "仓库名称",
  11248. "type": "string"
  11249. },
  11250. "wrstandardid": {
  11251. "description": "交易标的ID",
  11252. "type": "integer"
  11253. },
  11254. "wrstandardname": {
  11255. "description": "交易标的名称",
  11256. "type": "string"
  11257. }
  11258. }
  11259. },
  11260. "erms3.SpotPointOrder": {
  11261. "type": "object",
  11262. "required": [
  11263. "basic",
  11264. "goodsid",
  11265. "qty"
  11266. ],
  11267. "properties": {
  11268. "basic": {
  11269. "description": "基差",
  11270. "type": "number"
  11271. },
  11272. "deliveryenddate": {
  11273. "description": "交收结束日期",
  11274. "type": "string"
  11275. },
  11276. "deliverystartdate": {
  11277. "description": "交收开始日期",
  11278. "type": "string"
  11279. },
  11280. "enddate": {
  11281. "description": "点价结束日期",
  11282. "type": "string"
  11283. },
  11284. "goodsid": {
  11285. "description": "商品ID",
  11286. "type": "integer"
  11287. },
  11288. "goodsname": {
  11289. "description": "商品名称",
  11290. "type": "string"
  11291. },
  11292. "qty": {
  11293. "description": "数量",
  11294. "type": "number"
  11295. },
  11296. "startdate": {
  11297. "description": "点价开始日期",
  11298. "type": "string"
  11299. }
  11300. }
  11301. },
  11302. "erms3.SpotPriceOrder": {
  11303. "type": "object",
  11304. "required": [
  11305. "amount",
  11306. "price",
  11307. "qty"
  11308. ],
  11309. "properties": {
  11310. "amount": {
  11311. "description": "金额",
  11312. "type": "number"
  11313. },
  11314. "deliveryenddate": {
  11315. "description": "交收结束日期",
  11316. "type": "string"
  11317. },
  11318. "deliverystartdate": {
  11319. "description": "交收开始日期",
  11320. "type": "string"
  11321. },
  11322. "price": {
  11323. "description": "价格",
  11324. "type": "number"
  11325. },
  11326. "qty": {
  11327. "description": "数量",
  11328. "type": "number"
  11329. }
  11330. }
  11331. },
  11332. "hsby.GetHsbyMyCountRsp": {
  11333. "type": "object",
  11334. "properties": {
  11335. "myCouponCount": {
  11336. "description": "我的优惠卷数量",
  11337. "type": "integer"
  11338. },
  11339. "myOrderDetailListingCount": {
  11340. "description": "我的订单求购中数量",
  11341. "type": "integer"
  11342. },
  11343. "myOrderDetailPreCount": {
  11344. "description": "我的订单抢购中数量",
  11345. "type": "integer"
  11346. },
  11347. "myPackageUnReceiveCount": {
  11348. "description": "我的包裹待收货数量",
  11349. "type": "integer"
  11350. },
  11351. "myPackageUnSendCount": {
  11352. "description": "我的包裹待发货数量",
  11353. "type": "integer"
  11354. },
  11355. "myPayOrderCount": {
  11356. "description": "我的订单待付款数量",
  11357. "type": "integer"
  11358. }
  11359. }
  11360. },
  11361. "hsby.QueryProvincesAndCitiesRsp": {
  11362. "type": "object",
  11363. "properties": {
  11364. "cities": {
  11365. "description": "市",
  11366. "type": "array",
  11367. "items": {
  11368. "$ref": "#/definitions/models.Division"
  11369. }
  11370. },
  11371. "province": {
  11372. "description": "省",
  11373. "type": "object",
  11374. "$ref": "#/definitions/models.Division"
  11375. }
  11376. }
  11377. },
  11378. "models.AreaSpotModel": {
  11379. "type": "object",
  11380. "properties": {
  11381. "areauserid": {
  11382. "description": "所属机构",
  11383. "type": "integer"
  11384. },
  11385. "decreaseqty": {
  11386. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  11387. "type": "number"
  11388. },
  11389. "increaseqty": {
  11390. "description": "增加数量=销售计划数量+采购已定价数量",
  11391. "type": "number"
  11392. },
  11393. "oritoalspotqty": {
  11394. "description": "昨日数量",
  11395. "type": "number"
  11396. },
  11397. "totalspotqty": {
  11398. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  11399. "type": "number"
  11400. },
  11401. "updatetime": {
  11402. "description": "更新时间",
  11403. "type": "string"
  11404. },
  11405. "wrstandardcode": {
  11406. "description": "现货品种代码",
  11407. "type": "string"
  11408. },
  11409. "wrstandardid": {
  11410. "description": "现货商品ID",
  11411. "type": "integer"
  11412. },
  11413. "wrstandardname": {
  11414. "description": "现货品种",
  11415. "type": "string"
  11416. }
  11417. }
  11418. },
  11419. "models.Arearole": {
  11420. "type": "object",
  11421. "required": [
  11422. "roletype",
  11423. "userid"
  11424. ],
  11425. "properties": {
  11426. "createtime": {
  11427. "description": "创建时间",
  11428. "type": "string"
  11429. },
  11430. "creatorid": {
  11431. "description": "创建人ID",
  11432. "type": "integer"
  11433. },
  11434. "isreturnscore": {
  11435. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  11436. "type": "integer"
  11437. },
  11438. "modifierid": {
  11439. "description": "修改人ID",
  11440. "type": "integer"
  11441. },
  11442. "modifytime": {
  11443. "description": "修改时间",
  11444. "type": "string"
  11445. },
  11446. "orgtype": {
  11447. "description": "组织机构类型 1:机构 2:交易员",
  11448. "type": "integer"
  11449. },
  11450. "outuserid": {
  11451. "description": "外部账户[场外期权做市商]",
  11452. "type": "string"
  11453. },
  11454. "parentuserid": {
  11455. "description": "上级组织机构(组织机构)",
  11456. "type": "integer"
  11457. },
  11458. "roletype": {
  11459. "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:交易员",
  11460. "type": "integer"
  11461. },
  11462. "rootuserid": {
  11463. "description": "顶级组织机构用户ID(组织机构)",
  11464. "type": "integer"
  11465. },
  11466. "shoppassword": {
  11467. "description": "商城店铺登陆密码(商城店铺角色使用)",
  11468. "type": "string"
  11469. },
  11470. "sublevelpath": {
  11471. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  11472. "type": "string"
  11473. },
  11474. "tradeaccountid": {
  11475. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  11476. "type": "integer"
  11477. },
  11478. "transurl": {
  11479. "description": "物流地址(物流机构)",
  11480. "type": "string"
  11481. },
  11482. "userid": {
  11483. "description": "机构用户ID其他做市关系,都设置为 1",
  11484. "type": "integer"
  11485. }
  11486. }
  11487. },
  11488. "models.Clientfixedadconfig": {
  11489. "type": "object",
  11490. "required": [
  11491. "adsort",
  11492. "adtype"
  11493. ],
  11494. "properties": {
  11495. "adsort": {
  11496. "description": "排序",
  11497. "type": "integer"
  11498. },
  11499. "adtype": {
  11500. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11501. "type": "integer"
  11502. },
  11503. "areauserid": {
  11504. "description": "所属机构ID",
  11505. "type": "integer"
  11506. },
  11507. "createdate": {
  11508. "description": "创建时间",
  11509. "type": "string"
  11510. },
  11511. "creatorid": {
  11512. "description": "创建人",
  11513. "type": "integer"
  11514. },
  11515. "imagepath": {
  11516. "description": "图片",
  11517. "type": "string"
  11518. },
  11519. "isshow": {
  11520. "description": "是否展示 - 0:不展示 1:展示",
  11521. "type": "integer"
  11522. },
  11523. "modifierid": {
  11524. "description": "操作人",
  11525. "type": "integer"
  11526. },
  11527. "recsize": {
  11528. "description": "推荐尺寸",
  11529. "type": "string"
  11530. },
  11531. "title": {
  11532. "description": "标题",
  11533. "type": "string"
  11534. },
  11535. "updatedate": {
  11536. "description": "更新时间",
  11537. "type": "string"
  11538. },
  11539. "urlcontent": {
  11540. "description": "链接(地址或商品ID)",
  11541. "type": "string"
  11542. },
  11543. "urltype": {
  11544. "description": "链接类型 - 1:直接地址 2:商品ID",
  11545. "type": "integer"
  11546. }
  11547. }
  11548. },
  11549. "models.Division": {
  11550. "type": "object",
  11551. "required": [
  11552. "autoid",
  11553. "divisioncode"
  11554. ],
  11555. "properties": {
  11556. "autoid": {
  11557. "description": "自增ID",
  11558. "type": "integer"
  11559. },
  11560. "divisioncode": {
  11561. "description": "行政代码",
  11562. "type": "string"
  11563. },
  11564. "divisionlevel": {
  11565. "description": "行政级别",
  11566. "type": "string"
  11567. },
  11568. "divisionname": {
  11569. "description": "行政名称",
  11570. "type": "string"
  11571. },
  11572. "modifierid": {
  11573. "description": "修改人",
  11574. "type": "integer"
  11575. },
  11576. "modifytime": {
  11577. "description": "修改时间",
  11578. "type": "string"
  11579. },
  11580. "parentcode": {
  11581. "description": "上级行政代码",
  11582. "type": "string"
  11583. },
  11584. "pathname": {
  11585. "description": "路径名称",
  11586. "type": "string"
  11587. },
  11588. "postcode": {
  11589. "description": "邮政编码",
  11590. "type": "string"
  11591. },
  11592. "separablename": {
  11593. "description": "可拆分的全称",
  11594. "type": "string"
  11595. },
  11596. "shortcode": {
  11597. "description": "地区简码",
  11598. "type": "string"
  11599. }
  11600. }
  11601. },
  11602. "models.Enumdicitem": {
  11603. "type": "object",
  11604. "required": [
  11605. "autoid",
  11606. "enumdiccode",
  11607. "enumdicid",
  11608. "enumitemname"
  11609. ],
  11610. "properties": {
  11611. "autoid": {
  11612. "description": "自增ID",
  11613. "type": "integer"
  11614. },
  11615. "bankmappedvalue": {
  11616. "description": "银行服务对应值",
  11617. "type": "string"
  11618. },
  11619. "enumdiccode": {
  11620. "description": "所属枚举代码",
  11621. "type": "string"
  11622. },
  11623. "enumdicid": {
  11624. "description": "所属枚举ID",
  11625. "type": "integer"
  11626. },
  11627. "enumdicname": {
  11628. "description": "枚举项名称",
  11629. "type": "string"
  11630. },
  11631. "enumitemname": {
  11632. "description": "枚举项值",
  11633. "type": "integer"
  11634. },
  11635. "enumitemstatus": {
  11636. "description": "枚举项状态 - 1.启用 2.不启用",
  11637. "type": "integer"
  11638. },
  11639. "enumitemvalue": {
  11640. "description": "通用值 - [币种通用简写]",
  11641. "type": "string"
  11642. },
  11643. "param1": {
  11644. "description": "参数1[币种:币种小数位]",
  11645. "type": "string"
  11646. },
  11647. "param2": {
  11648. "description": "参数1[币种:币种显示单位]",
  11649. "type": "string"
  11650. },
  11651. "remark": {
  11652. "description": "备注",
  11653. "type": "string"
  11654. }
  11655. }
  11656. },
  11657. "models.Ermcp3AreaSpot": {
  11658. "type": "object",
  11659. "properties": {
  11660. "areauserid": {
  11661. "description": "所属机构",
  11662. "type": "integer"
  11663. },
  11664. "decreaseqty": {
  11665. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  11666. "type": "number"
  11667. },
  11668. "deliverygoodscode": {
  11669. "description": "现货品种代码",
  11670. "type": "string"
  11671. },
  11672. "deliverygoodsid": {
  11673. "description": "现货品种id",
  11674. "type": "integer"
  11675. },
  11676. "deliverygoodsname": {
  11677. "description": "现货品种名称",
  11678. "type": "string"
  11679. },
  11680. "enumdicname": {
  11681. "description": "单位名称",
  11682. "type": "string"
  11683. },
  11684. "goodsunitid": {
  11685. "description": "现货品种单位id",
  11686. "type": "integer"
  11687. },
  11688. "increaseqty": {
  11689. "description": "增加数量=销售计划数量+采购已定价数量",
  11690. "type": "number"
  11691. },
  11692. "oritoalspotqty": {
  11693. "description": "昨日数量",
  11694. "type": "number"
  11695. },
  11696. "totalspotqty": {
  11697. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  11698. "type": "number"
  11699. },
  11700. "updatetime": {
  11701. "description": "更新时间",
  11702. "type": "string"
  11703. }
  11704. }
  11705. },
  11706. "models.Ermcp3AreaSpotDetail": {
  11707. "type": "object",
  11708. "properties": {
  11709. "contracttype": {
  11710. "description": "合同类型 1-采购 -1-销售",
  11711. "type": "integer"
  11712. },
  11713. "createtime": {
  11714. "description": "创建时间",
  11715. "type": "string"
  11716. },
  11717. "deliverygoodscode": {
  11718. "description": "现货品种代码",
  11719. "type": "string"
  11720. },
  11721. "deliverygoodsid": {
  11722. "description": "现货品种id",
  11723. "type": "integer"
  11724. },
  11725. "deliverygoodsname": {
  11726. "description": "现货品种名称",
  11727. "type": "string"
  11728. },
  11729. "enumdicname": {
  11730. "description": "现货商品单位名称",
  11731. "type": "string"
  11732. },
  11733. "logtype": {
  11734. "description": "记录类型 1-套保 2-现货合同",
  11735. "type": "integer"
  11736. },
  11737. "qty": {
  11738. "description": "数量",
  11739. "type": "number"
  11740. },
  11741. "recordname": {
  11742. "description": "类型名称",
  11743. "type": "string"
  11744. },
  11745. "relatedid": {
  11746. "description": "套保计划ID/现货合同ID",
  11747. "type": "string"
  11748. },
  11749. "relatedno": {
  11750. "description": "编号",
  11751. "type": "string"
  11752. },
  11753. "strtime": {
  11754. "description": "时间",
  11755. "type": "string"
  11756. }
  11757. }
  11758. },
  11759. "models.Ermcp3AreaStock": {
  11760. "type": "object",
  11761. "required": [
  11762. "userid"
  11763. ],
  11764. "properties": {
  11765. "brandname": {
  11766. "description": "品牌名称",
  11767. "type": "string"
  11768. },
  11769. "curstock": {
  11770. "description": "期末库存量(今日量)",
  11771. "type": "number"
  11772. },
  11773. "deliverygoodscode": {
  11774. "description": "现货品种代码",
  11775. "type": "string"
  11776. },
  11777. "deliverygoodsid": {
  11778. "description": "现货品种id",
  11779. "type": "integer"
  11780. },
  11781. "deliverygoodsname": {
  11782. "description": "现货品种名称",
  11783. "type": "string"
  11784. },
  11785. "enumdicname": {
  11786. "description": "单位名称",
  11787. "type": "string"
  11788. },
  11789. "goodsunitid": {
  11790. "description": "现货商品单位id",
  11791. "type": "integer"
  11792. },
  11793. "oristock": {
  11794. "description": "期初库存量(昨日量)",
  11795. "type": "number"
  11796. },
  11797. "spotgoodsbrandid": {
  11798. "description": "现货品牌ID",
  11799. "type": "integer"
  11800. },
  11801. "todaybuyinqty": {
  11802. "description": "今日采购入库量",
  11803. "type": "number"
  11804. },
  11805. "todayproduceinqty": {
  11806. "description": "今日生产入库量",
  11807. "type": "number"
  11808. },
  11809. "todayproduceoutqty": {
  11810. "description": "今日生产出库量",
  11811. "type": "number"
  11812. },
  11813. "todayselloutqty": {
  11814. "description": "今日销售出库量",
  11815. "type": "number"
  11816. },
  11817. "unitid": {
  11818. "description": "单位id",
  11819. "type": "integer"
  11820. },
  11821. "updatetime": {
  11822. "description": "更新时间",
  11823. "type": "string"
  11824. },
  11825. "userid": {
  11826. "description": "机构ID",
  11827. "type": "integer"
  11828. },
  11829. "username": {
  11830. "description": "机构名称",
  11831. "type": "string"
  11832. },
  11833. "warehousecode": {
  11834. "description": "仓库代码",
  11835. "type": "string"
  11836. },
  11837. "warehouseinfoid": {
  11838. "description": "仓库ID",
  11839. "type": "string"
  11840. },
  11841. "warehousename": {
  11842. "description": "仓库名称",
  11843. "type": "string"
  11844. },
  11845. "warehousetype": {
  11846. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11847. "type": "integer"
  11848. },
  11849. "wrstandardcode": {
  11850. "description": "品类代码",
  11851. "type": "string"
  11852. },
  11853. "wrstandardid": {
  11854. "description": "品类ID",
  11855. "type": "string"
  11856. },
  11857. "wrstandardname": {
  11858. "description": "品类名称",
  11859. "type": "string"
  11860. }
  11861. }
  11862. },
  11863. "models.Ermcp3AreaStockApply": {
  11864. "type": "object",
  11865. "properties": {
  11866. "applyid": {
  11867. "description": "申请人",
  11868. "type": "integer"
  11869. },
  11870. "applyname": {
  11871. "description": "申请人名称",
  11872. "type": "string"
  11873. },
  11874. "applyremark": {
  11875. "description": "申请备注",
  11876. "type": "string"
  11877. },
  11878. "applysrc": {
  11879. "description": "申请来源 - 1:管理端 2:终端",
  11880. "type": "integer"
  11881. },
  11882. "applystatus": {
  11883. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11884. "type": "integer"
  11885. },
  11886. "applytime": {
  11887. "description": "申请时间",
  11888. "type": "string"
  11889. },
  11890. "auditid": {
  11891. "description": "审核人",
  11892. "type": "integer"
  11893. },
  11894. "auditname": {
  11895. "description": "审核人名称",
  11896. "type": "string"
  11897. },
  11898. "auditremark": {
  11899. "description": "审核备注",
  11900. "type": "string"
  11901. },
  11902. "auditsrc": {
  11903. "description": "审核来源 - 1:管理端 2:终端",
  11904. "type": "integer"
  11905. },
  11906. "audittime": {
  11907. "description": "审核时间",
  11908. "type": "string"
  11909. },
  11910. "audittradedate": {
  11911. "description": "审核交易日(yyyyMMdd)",
  11912. "type": "string"
  11913. },
  11914. "brandname": {
  11915. "description": "品牌名称",
  11916. "type": "string"
  11917. },
  11918. "buynickname": {
  11919. "description": "采购方昵称",
  11920. "type": "string"
  11921. },
  11922. "buyuserid": {
  11923. "description": "采购方userid",
  11924. "type": "integer"
  11925. },
  11926. "buyusername": {
  11927. "description": "采购方名称",
  11928. "type": "string"
  11929. },
  11930. "contractno": {
  11931. "description": "合同编号",
  11932. "type": "string"
  11933. },
  11934. "contractqty": {
  11935. "description": "合同量",
  11936. "type": "number"
  11937. },
  11938. "contracttype": {
  11939. "description": "现货合同类型 - 1:采购 -1:销售",
  11940. "type": "integer"
  11941. },
  11942. "deliverygoodscode": {
  11943. "description": "现货品种代码",
  11944. "type": "string"
  11945. },
  11946. "deliverygoodsid": {
  11947. "description": "现货品种id",
  11948. "type": "integer"
  11949. },
  11950. "deliverygoodsname": {
  11951. "description": "现货品种名称",
  11952. "type": "string"
  11953. },
  11954. "detailjson": {
  11955. "description": "明细数据",
  11956. "type": "string"
  11957. },
  11958. "enumdicname": {
  11959. "description": "现货商品单位名称",
  11960. "type": "string"
  11961. },
  11962. "inoutapplyid": {
  11963. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  11964. "type": "string"
  11965. },
  11966. "inouttype": {
  11967. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  11968. "type": "integer"
  11969. },
  11970. "pricetype": {
  11971. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11972. "type": "integer"
  11973. },
  11974. "qty": {
  11975. "description": "数量",
  11976. "type": "number"
  11977. },
  11978. "sellnickname": {
  11979. "description": "销售方昵称",
  11980. "type": "string"
  11981. },
  11982. "selluserid": {
  11983. "description": "销售方userid",
  11984. "type": "integer"
  11985. },
  11986. "sellusername": {
  11987. "description": "销售方名称",
  11988. "type": "string"
  11989. },
  11990. "spotcontractid": {
  11991. "description": "关联现货合同ID",
  11992. "type": "string"
  11993. },
  11994. "spotgoodsbrandid": {
  11995. "description": "现货品牌ID",
  11996. "type": "integer"
  11997. },
  11998. "unitid": {
  11999. "description": "单位id",
  12000. "type": "integer"
  12001. },
  12002. "userid": {
  12003. "description": "机构ID",
  12004. "type": "integer"
  12005. },
  12006. "warehousecode": {
  12007. "description": "仓库代码",
  12008. "type": "string"
  12009. },
  12010. "warehouseinfoid": {
  12011. "description": "现货仓库ID",
  12012. "type": "string"
  12013. },
  12014. "warehousename": {
  12015. "description": "仓库名称",
  12016. "type": "string"
  12017. },
  12018. "warehousetype": {
  12019. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12020. "type": "integer"
  12021. },
  12022. "wrstandardcode": {
  12023. "description": "品类代码",
  12024. "type": "string"
  12025. },
  12026. "wrstandardid": {
  12027. "description": "品类ID",
  12028. "type": "integer"
  12029. },
  12030. "wrstandardname": {
  12031. "description": "品类名称",
  12032. "type": "string"
  12033. }
  12034. }
  12035. },
  12036. "models.Ermcp3AreaStockApplySum": {
  12037. "type": "object",
  12038. "properties": {
  12039. "brandname": {
  12040. "description": "品牌名称",
  12041. "type": "string"
  12042. },
  12043. "inouttype": {
  12044. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  12045. "type": "integer"
  12046. },
  12047. "spotcontractid": {
  12048. "description": "关联现货合同ID",
  12049. "type": "string"
  12050. },
  12051. "spotgoodsbrandid": {
  12052. "description": "品牌id",
  12053. "type": "integer"
  12054. },
  12055. "totalqty": {
  12056. "description": "总数量",
  12057. "type": "number"
  12058. },
  12059. "wrstandardid": {
  12060. "description": "品类id",
  12061. "type": "integer"
  12062. },
  12063. "wrstandardname": {
  12064. "description": "品类名称",
  12065. "type": "string"
  12066. }
  12067. }
  12068. },
  12069. "models.Ermcp3AreaStockReport": {
  12070. "type": "object",
  12071. "properties": {
  12072. "brandname": {
  12073. "description": "品牌名称",
  12074. "type": "string"
  12075. },
  12076. "curstock": {
  12077. "description": "期末库存量",
  12078. "type": "number"
  12079. },
  12080. "deliverygoodscode": {
  12081. "description": "现货品种代码",
  12082. "type": "string"
  12083. },
  12084. "deliverygoodsid": {
  12085. "description": "现货品种id",
  12086. "type": "integer"
  12087. },
  12088. "deliverygoodsname": {
  12089. "description": "现货品种名称",
  12090. "type": "string"
  12091. },
  12092. "enumdicname": {
  12093. "description": "单位名称",
  12094. "type": "string"
  12095. },
  12096. "goodsunitid": {
  12097. "description": "现货单位id",
  12098. "type": "integer"
  12099. },
  12100. "oristock": {
  12101. "description": "期初库存量",
  12102. "type": "number"
  12103. },
  12104. "spotgoodsbrandid": {
  12105. "description": "现货品牌ID",
  12106. "type": "integer"
  12107. },
  12108. "todaybuyinqty": {
  12109. "description": "今日采购入库量",
  12110. "type": "number"
  12111. },
  12112. "todayproduceinqty": {
  12113. "description": "今日生产入库量",
  12114. "type": "number"
  12115. },
  12116. "todayproduceoutqty": {
  12117. "description": "今日生产出库量",
  12118. "type": "number"
  12119. },
  12120. "todayselloutqty": {
  12121. "description": "今日销售出库量",
  12122. "type": "number"
  12123. },
  12124. "unitid": {
  12125. "description": "品类单位id",
  12126. "type": "integer"
  12127. },
  12128. "updatetime": {
  12129. "description": "更新时间",
  12130. "type": "string"
  12131. },
  12132. "userid": {
  12133. "description": "机构ID",
  12134. "type": "integer"
  12135. },
  12136. "username": {
  12137. "description": "机构名称",
  12138. "type": "string"
  12139. },
  12140. "warehousecode": {
  12141. "description": "仓库代码",
  12142. "type": "string"
  12143. },
  12144. "warehouseinfoid": {
  12145. "description": "仓库ID",
  12146. "type": "string"
  12147. },
  12148. "warehousename": {
  12149. "description": "仓库名称",
  12150. "type": "string"
  12151. },
  12152. "warehousetype": {
  12153. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12154. "type": "integer"
  12155. },
  12156. "wrstandardcode": {
  12157. "description": "品类代码",
  12158. "type": "string"
  12159. },
  12160. "wrstandardid": {
  12161. "description": "品类ID",
  12162. "type": "integer"
  12163. },
  12164. "wrstandardname": {
  12165. "description": "品类名称",
  12166. "type": "string"
  12167. }
  12168. }
  12169. },
  12170. "models.Ermcp3Brand": {
  12171. "type": "object",
  12172. "properties": {
  12173. "areauserid": {
  12174. "description": "用户id",
  12175. "type": "integer"
  12176. },
  12177. "brandid": {
  12178. "description": "品牌id",
  12179. "type": "integer"
  12180. },
  12181. "brandname": {
  12182. "description": "品牌名称",
  12183. "type": "string"
  12184. },
  12185. "deliverygoodsid": {
  12186. "description": "品种ID",
  12187. "type": "integer"
  12188. }
  12189. }
  12190. },
  12191. "models.Ermcp3Contract": {
  12192. "type": "object",
  12193. "properties": {
  12194. "accountid": {
  12195. "description": "期货账户id",
  12196. "type": "string"
  12197. },
  12198. "amount": {
  12199. "description": "金额 [1:一口价、3:暂定价]",
  12200. "type": "number"
  12201. },
  12202. "attachment": {
  12203. "description": "附件",
  12204. "type": "string"
  12205. },
  12206. "auditremark": {
  12207. "description": "审核意见",
  12208. "type": "string"
  12209. },
  12210. "audittime": {
  12211. "description": "审核时间",
  12212. "type": "string"
  12213. },
  12214. "biztype": {
  12215. "description": "业务类型 1-套保 2-套利",
  12216. "type": "integer"
  12217. },
  12218. "brandname": {
  12219. "description": "品牌名称",
  12220. "type": "string"
  12221. },
  12222. "buynickname": {
  12223. "description": "销售方昵称",
  12224. "type": "string"
  12225. },
  12226. "buyuserid": {
  12227. "description": "采购方ID",
  12228. "type": "integer"
  12229. },
  12230. "buyusername": {
  12231. "description": "采购方名称",
  12232. "type": "string"
  12233. },
  12234. "contracctstatus": {
  12235. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12236. "type": "integer"
  12237. },
  12238. "contractmargin": {
  12239. "description": "合同保证金",
  12240. "type": "number"
  12241. },
  12242. "contractno": {
  12243. "description": "现货合同编号",
  12244. "type": "string"
  12245. },
  12246. "contracttype": {
  12247. "description": "现货合同类型 - 1:采购 -1:销售",
  12248. "type": "integer"
  12249. },
  12250. "convertfactor": {
  12251. "description": "标仓系数(品类)",
  12252. "type": "number"
  12253. },
  12254. "createtime": {
  12255. "description": "创建时间",
  12256. "type": "string"
  12257. },
  12258. "currencyid": {
  12259. "description": "币种id",
  12260. "type": "integer"
  12261. },
  12262. "currencyname": {
  12263. "description": "币种名称",
  12264. "type": "string"
  12265. },
  12266. "deliveryenddate": {
  12267. "description": "交收期(结束)",
  12268. "type": "string"
  12269. },
  12270. "deliverygoodscode": {
  12271. "description": "现货品种代码",
  12272. "type": "string"
  12273. },
  12274. "deliverygoodsid": {
  12275. "description": "现货品种ID",
  12276. "type": "integer"
  12277. },
  12278. "deliverygoodsname": {
  12279. "description": "现货品种名称",
  12280. "type": "string"
  12281. },
  12282. "deliverystartdate": {
  12283. "description": "交收期(开始)",
  12284. "type": "string"
  12285. },
  12286. "enddate": {
  12287. "description": "点价结束日期 [2:点价 3:暂定价]",
  12288. "type": "string"
  12289. },
  12290. "enumdicname": {
  12291. "description": "单位名称",
  12292. "type": "string"
  12293. },
  12294. "goodscode": {
  12295. "description": "点价合约代码",
  12296. "type": "string"
  12297. },
  12298. "goodsid": {
  12299. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  12300. "type": "integer"
  12301. },
  12302. "goodsname": {
  12303. "description": "点价商品名称",
  12304. "type": "string"
  12305. },
  12306. "margin": {
  12307. "description": "当前保证金",
  12308. "type": "number"
  12309. },
  12310. "meruserid": {
  12311. "description": "跟单员id",
  12312. "type": "integer"
  12313. },
  12314. "meruserlogincode": {
  12315. "description": "跟单员登录代码",
  12316. "type": "string"
  12317. },
  12318. "price": {
  12319. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  12320. "type": "number"
  12321. },
  12322. "pricemove": {
  12323. "description": "升贴水 [2:点价 3:暂定价]",
  12324. "type": "number"
  12325. },
  12326. "pricetype": {
  12327. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12328. "type": "integer"
  12329. },
  12330. "producttype": {
  12331. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12332. "type": "integer"
  12333. },
  12334. "qty": {
  12335. "description": "数量",
  12336. "type": "number"
  12337. },
  12338. "remark": {
  12339. "description": "备注",
  12340. "type": "string"
  12341. },
  12342. "saleuserid": {
  12343. "description": "业务员id",
  12344. "type": "integer"
  12345. },
  12346. "saleuserlogincode": {
  12347. "description": "业务员登录代码",
  12348. "type": "string"
  12349. },
  12350. "sellnickname": {
  12351. "description": "采购方昵称",
  12352. "type": "string"
  12353. },
  12354. "selluserid": {
  12355. "description": "销售方ID",
  12356. "type": "integer"
  12357. },
  12358. "sellusername": {
  12359. "description": "销售方名称",
  12360. "type": "string"
  12361. },
  12362. "spotcontractid": {
  12363. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  12364. "type": "string"
  12365. },
  12366. "spotgoodsbrandid": {
  12367. "description": "现货品牌ID(DGFactoryItem表的ID)",
  12368. "type": "integer"
  12369. },
  12370. "spotgoodsdesc": {
  12371. "description": "商品型号",
  12372. "type": "string"
  12373. },
  12374. "startdate": {
  12375. "description": "点价开始日期 [2:点价 3:暂定价]",
  12376. "type": "string"
  12377. },
  12378. "tradeuserid": {
  12379. "description": "交易员id",
  12380. "type": "integer"
  12381. },
  12382. "tradeuserlogincode": {
  12383. "description": "交易员登录代码",
  12384. "type": "string"
  12385. },
  12386. "tradeusername": {
  12387. "description": "交易员名称",
  12388. "type": "string"
  12389. },
  12390. "unitid": {
  12391. "description": "单位id(取品类上的单位id)",
  12392. "type": "integer"
  12393. },
  12394. "updatetime": {
  12395. "description": "更新时间",
  12396. "type": "string"
  12397. },
  12398. "userid": {
  12399. "description": "所属机构ID",
  12400. "type": "integer"
  12401. },
  12402. "wrstandardcode": {
  12403. "description": "品类代码",
  12404. "type": "string"
  12405. },
  12406. "wrstandardid": {
  12407. "description": "品类ID",
  12408. "type": "integer"
  12409. },
  12410. "wrstandardname": {
  12411. "description": "品类名称",
  12412. "type": "string"
  12413. }
  12414. }
  12415. },
  12416. "models.Ermcp3ExposureContractDetail": {
  12417. "type": "object",
  12418. "properties": {
  12419. "biztype": {
  12420. "description": "业务类型 1-套保 2-套利",
  12421. "type": "integer"
  12422. },
  12423. "buyuserid": {
  12424. "description": "采购方id",
  12425. "type": "integer"
  12426. },
  12427. "buyusername": {
  12428. "description": "采购方名称",
  12429. "type": "string"
  12430. },
  12431. "contractno": {
  12432. "description": "合同编号",
  12433. "type": "string"
  12434. },
  12435. "contracttype": {
  12436. "description": "现货合同类型 - 1:采购 -1:销售",
  12437. "type": "integer"
  12438. },
  12439. "convertratio": {
  12440. "description": "折算系数(套保品种)",
  12441. "type": "number"
  12442. },
  12443. "curqty": {
  12444. "description": "今定价量",
  12445. "type": "number"
  12446. },
  12447. "deliverygoodsid": {
  12448. "description": "现货商品id",
  12449. "type": "integer"
  12450. },
  12451. "diffqty": {
  12452. "description": "套保品种今变动量",
  12453. "type": "number"
  12454. },
  12455. "enumdicname": {
  12456. "description": "单位名称",
  12457. "type": "string"
  12458. },
  12459. "middlegoodscode": {
  12460. "description": "套保品种代码",
  12461. "type": "string"
  12462. },
  12463. "middlegoodsid": {
  12464. "description": "套保品种id",
  12465. "type": "integer"
  12466. },
  12467. "middlegoodsname": {
  12468. "description": "套保品种名称",
  12469. "type": "string"
  12470. },
  12471. "needarbitrageratio": {
  12472. "description": "应套利比例",
  12473. "type": "number"
  12474. },
  12475. "needhedgeratio": {
  12476. "description": "应套保比例",
  12477. "type": "number"
  12478. },
  12479. "pricedqty": {
  12480. "description": "已定价量",
  12481. "type": "number"
  12482. },
  12483. "qty": {
  12484. "description": "合同量",
  12485. "type": "number"
  12486. },
  12487. "selluserid": {
  12488. "description": "销售方id",
  12489. "type": "integer"
  12490. },
  12491. "sellusername": {
  12492. "description": "销售方名称",
  12493. "type": "string"
  12494. },
  12495. "spotcontractid": {
  12496. "description": "合同id",
  12497. "type": "string"
  12498. },
  12499. "tradedate": {
  12500. "description": "交易日",
  12501. "type": "string"
  12502. },
  12503. "unitid": {
  12504. "description": "品类单位id",
  12505. "type": "integer"
  12506. },
  12507. "userid": {
  12508. "description": "机构id",
  12509. "type": "integer"
  12510. },
  12511. "wrstandardcode": {
  12512. "description": "品类代码",
  12513. "type": "string"
  12514. },
  12515. "wrstandardid": {
  12516. "description": "品类id",
  12517. "type": "integer"
  12518. },
  12519. "wrstandardname": {
  12520. "description": "品类名称",
  12521. "type": "string"
  12522. }
  12523. }
  12524. },
  12525. "models.Ermcp3ExposureDetail": {
  12526. "type": "object",
  12527. "properties": {
  12528. "areauserid": {
  12529. "description": "机构ID",
  12530. "type": "integer"
  12531. },
  12532. "changeQty": {
  12533. "description": "套保变动量",
  12534. "type": "number"
  12535. },
  12536. "contracttype": {
  12537. "description": "现货合同类型 - 1:采购 -1:销售",
  12538. "type": "integer"
  12539. },
  12540. "convertfactor": {
  12541. "description": "标仓系数",
  12542. "type": "number"
  12543. },
  12544. "convertratio": {
  12545. "description": "套保系数",
  12546. "type": "number"
  12547. },
  12548. "createtime": {
  12549. "description": "时间",
  12550. "type": "string"
  12551. },
  12552. "deliverygoodscode": {
  12553. "description": "现货品种代码",
  12554. "type": "string"
  12555. },
  12556. "deliverygoodsid": {
  12557. "description": "现货品种id",
  12558. "type": "integer"
  12559. },
  12560. "deliverygoodsname": {
  12561. "description": "现货品种名称",
  12562. "type": "string"
  12563. },
  12564. "enumdicname": {
  12565. "description": "现货商品单位名称",
  12566. "type": "string"
  12567. },
  12568. "logtype": {
  12569. "description": "类型 - 1:套保计划 2:现货合同",
  12570. "type": "integer"
  12571. },
  12572. "mgunitid": {
  12573. "description": "套保品种单位id",
  12574. "type": "integer"
  12575. },
  12576. "mgunitidname": {
  12577. "description": "套保品种单位名称",
  12578. "type": "string"
  12579. },
  12580. "middlegoodsId": {
  12581. "description": "套保商品id",
  12582. "type": "integer"
  12583. },
  12584. "middlegoodscode": {
  12585. "description": "套保商品代码",
  12586. "type": "string"
  12587. },
  12588. "middlegoodsname": {
  12589. "description": "套保商品名称",
  12590. "type": "string"
  12591. },
  12592. "qty": {
  12593. "description": "数量",
  12594. "type": "number"
  12595. },
  12596. "relateNo": {
  12597. "description": "现货合同/套保计划编号",
  12598. "type": "string"
  12599. }
  12600. }
  12601. },
  12602. "models.Ermcp3ExposureHedgeplanDetail": {
  12603. "type": "object",
  12604. "properties": {
  12605. "biztype": {
  12606. "description": "业务类型 1-套保 2-套利",
  12607. "type": "integer"
  12608. },
  12609. "changqty": {
  12610. "description": "应套保总量变化量",
  12611. "type": "number"
  12612. },
  12613. "contracttype": {
  12614. "description": "现货合同类型 - 1:采购 -1:销售",
  12615. "type": "integer"
  12616. },
  12617. "convertratio": {
  12618. "description": "折算系数(套保品种)",
  12619. "type": "number"
  12620. },
  12621. "deliverygoodsid": {
  12622. "description": "现货商品id",
  12623. "type": "integer"
  12624. },
  12625. "diffqty": {
  12626. "description": "套保品种今变动量",
  12627. "type": "number"
  12628. },
  12629. "enumdicname": {
  12630. "description": "单位名称(品类)",
  12631. "type": "string"
  12632. },
  12633. "hedgeplanid": {
  12634. "description": "套保计划id",
  12635. "type": "string"
  12636. },
  12637. "hedgeplanno": {
  12638. "description": "套保计划编号",
  12639. "type": "string"
  12640. },
  12641. "mgunitidname": {
  12642. "description": "单位名称(套保商品)",
  12643. "type": "string"
  12644. },
  12645. "middlegoodscode": {
  12646. "description": "套保品种代码",
  12647. "type": "string"
  12648. },
  12649. "middlegoodsid": {
  12650. "description": "套保品种id",
  12651. "type": "integer"
  12652. },
  12653. "middlegoodsname": {
  12654. "description": "套保品种名称",
  12655. "type": "string"
  12656. },
  12657. "needarbitrageratio": {
  12658. "description": "应套利比例",
  12659. "type": "number"
  12660. },
  12661. "needhedgeratio": {
  12662. "description": "应套保比例",
  12663. "type": "number"
  12664. },
  12665. "pricedqty": {
  12666. "description": "已定价量",
  12667. "type": "number"
  12668. },
  12669. "qty": {
  12670. "description": "合同量",
  12671. "type": "number"
  12672. },
  12673. "tradedate": {
  12674. "description": "交易日(登记日)",
  12675. "type": "string"
  12676. },
  12677. "unitid": {
  12678. "description": "品类单位id",
  12679. "type": "integer"
  12680. },
  12681. "userid": {
  12682. "description": "机构id",
  12683. "type": "integer"
  12684. },
  12685. "wrstandardcode": {
  12686. "description": "品类代码",
  12687. "type": "string"
  12688. },
  12689. "wrstandardid": {
  12690. "description": "品类id",
  12691. "type": "integer"
  12692. },
  12693. "wrstandardname": {
  12694. "description": "品类名称",
  12695. "type": "string"
  12696. }
  12697. }
  12698. },
  12699. "models.Ermcp3Goods": {
  12700. "type": "object",
  12701. "properties": {
  12702. "agreeunit": {
  12703. "description": "合约单位(合约乘数)",
  12704. "type": "number"
  12705. },
  12706. "enumdicname": {
  12707. "description": "单位名称",
  12708. "type": "string"
  12709. },
  12710. "exexchangecode": {
  12711. "description": "交易所代码",
  12712. "type": "string"
  12713. },
  12714. "goodscode": {
  12715. "description": "期货商品代码",
  12716. "type": "string"
  12717. },
  12718. "goodsid": {
  12719. "description": "期货商品id",
  12720. "type": "integer"
  12721. },
  12722. "goodsname": {
  12723. "description": "期货商品名称",
  12724. "type": "string"
  12725. }
  12726. }
  12727. },
  12728. "models.Ermcp3GoodsGroup": {
  12729. "type": "object",
  12730. "required": [
  12731. "areauserid"
  12732. ],
  12733. "properties": {
  12734. "agreeunit": {
  12735. "description": "合约单位",
  12736. "type": "number"
  12737. },
  12738. "areauserid": {
  12739. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  12740. "type": "integer"
  12741. },
  12742. "canshort": {
  12743. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  12744. "type": "integer"
  12745. },
  12746. "closepricemode": {
  12747. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12748. "type": "integer"
  12749. },
  12750. "createtime": {
  12751. "description": "创建时间",
  12752. "type": "string"
  12753. },
  12754. "creatorid": {
  12755. "description": "创建人",
  12756. "type": "integer"
  12757. },
  12758. "currencyid": {
  12759. "description": "报价货币ID",
  12760. "type": "integer"
  12761. },
  12762. "decimalplace": {
  12763. "description": "报价小数位",
  12764. "type": "integer"
  12765. },
  12766. "enumdicname": {
  12767. "description": "单位名称",
  12768. "type": "string"
  12769. },
  12770. "excludecfg": {
  12771. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  12772. "type": "integer"
  12773. },
  12774. "exexchangeid": {
  12775. "description": "外部交易所ID[通道交易]",
  12776. "type": "integer"
  12777. },
  12778. "goodsgroupid": {
  12779. "description": "商品组ID(自增ID)",
  12780. "type": "integer"
  12781. },
  12782. "goodsgroupname": {
  12783. "description": "商品组名称",
  12784. "type": "string"
  12785. },
  12786. "goodsgroupstatus": {
  12787. "description": "商品组状态 - 1:正常 2:注销",
  12788. "type": "integer"
  12789. },
  12790. "goodunitid": {
  12791. "description": "报价单位ID",
  12792. "type": "integer"
  12793. },
  12794. "groupcategroyid": {
  12795. "description": "品种分类ID",
  12796. "type": "integer"
  12797. },
  12798. "innerdealmode": {
  12799. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12800. "type": "integer"
  12801. },
  12802. "marketid": {
  12803. "description": "所属市场ID",
  12804. "type": "integer"
  12805. },
  12806. "modifierid": {
  12807. "description": "修改人",
  12808. "type": "integer"
  12809. },
  12810. "modifytime": {
  12811. "description": "修改时间",
  12812. "type": "string"
  12813. },
  12814. "outerdealmode": {
  12815. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12816. "type": "integer"
  12817. },
  12818. "outergroupcode": {
  12819. "description": "外部商品组代码[通道交易]",
  12820. "type": "string"
  12821. },
  12822. "quoteminunit": {
  12823. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12824. "type": "integer"
  12825. },
  12826. "quotesourcegroupid": {
  12827. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  12828. "type": "integer"
  12829. },
  12830. "syncgoodsqty": {
  12831. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  12832. "type": "integer"
  12833. }
  12834. }
  12835. },
  12836. "models.Ermcp3GoodsGroupEx": {
  12837. "type": "object",
  12838. "properties": {
  12839. "convertratio": {
  12840. "description": "折算系数(品种系数)",
  12841. "type": "number"
  12842. },
  12843. "enumdicname": {
  12844. "description": "单位名称",
  12845. "type": "string"
  12846. },
  12847. "exexchangecode": {
  12848. "description": "交易所代码",
  12849. "type": "string"
  12850. },
  12851. "glist": {
  12852. "description": "合约列表",
  12853. "type": "array",
  12854. "items": {
  12855. "$ref": "#/definitions/models.Ermcp3Goods"
  12856. }
  12857. },
  12858. "goodsgroupid": {
  12859. "description": "商品组id",
  12860. "type": "integer"
  12861. },
  12862. "goodsgroupname": {
  12863. "description": "商品组名称",
  12864. "type": "string"
  12865. },
  12866. "goodsunitid": {
  12867. "description": "单位id",
  12868. "type": "integer"
  12869. },
  12870. "middlegoodsid": {
  12871. "description": "套保商品id",
  12872. "type": "integer"
  12873. }
  12874. }
  12875. },
  12876. "models.Ermcp3HedgePlan": {
  12877. "type": "object",
  12878. "properties": {
  12879. "accountid": {
  12880. "description": "资金账号",
  12881. "type": "integer"
  12882. },
  12883. "areauserid": {
  12884. "description": "用户ID",
  12885. "type": "integer"
  12886. },
  12887. "audittime": {
  12888. "description": "审核时间",
  12889. "type": "string"
  12890. },
  12891. "contracttype": {
  12892. "description": "计划类型 - 1:采购 -1:销售",
  12893. "type": "integer"
  12894. },
  12895. "convertfactor": {
  12896. "description": "标仓系数",
  12897. "type": "number"
  12898. },
  12899. "createtime": {
  12900. "description": "创建时间",
  12901. "type": "string"
  12902. },
  12903. "currencyid": {
  12904. "description": "币种id",
  12905. "type": "integer"
  12906. },
  12907. "currencyname": {
  12908. "description": "币种名称",
  12909. "type": "string"
  12910. },
  12911. "deliverygoodscode": {
  12912. "description": "现货品种代码",
  12913. "type": "string"
  12914. },
  12915. "deliverygoodsid": {
  12916. "description": "现货品种ID",
  12917. "type": "integer"
  12918. },
  12919. "deliverygoodsname": {
  12920. "description": "现货品种名称",
  12921. "type": "string"
  12922. },
  12923. "enumdicname": {
  12924. "description": "单位名称(现货商品)",
  12925. "type": "string"
  12926. },
  12927. "hedgeplanid": {
  12928. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  12929. "type": "string"
  12930. },
  12931. "hedgeplanno": {
  12932. "description": "套保计划编号(名称)",
  12933. "type": "string"
  12934. },
  12935. "hedgeplanstatus": {
  12936. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12937. "type": "integer"
  12938. },
  12939. "planqty": {
  12940. "description": "计划数量",
  12941. "type": "number"
  12942. },
  12943. "plantime": {
  12944. "description": "计划时间",
  12945. "type": "string"
  12946. },
  12947. "producttype": {
  12948. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12949. "type": "integer"
  12950. },
  12951. "remark": {
  12952. "description": "备注",
  12953. "type": "string"
  12954. },
  12955. "spotgoodsdesc": {
  12956. "description": "商品型号",
  12957. "type": "string"
  12958. },
  12959. "taaccountname": {
  12960. "description": "资金账号名称",
  12961. "type": "string"
  12962. },
  12963. "tradeuserid": {
  12964. "description": "交易用户id",
  12965. "type": "integer"
  12966. },
  12967. "tradeusername": {
  12968. "description": "交易用户名称",
  12969. "type": "string"
  12970. },
  12971. "unitid": {
  12972. "description": "单位id(现货商品)",
  12973. "type": "integer"
  12974. },
  12975. "updatetime": {
  12976. "description": "更新时间",
  12977. "type": "string"
  12978. },
  12979. "wrstandardcode": {
  12980. "description": "品类代码",
  12981. "type": "string"
  12982. },
  12983. "wrstandardid": {
  12984. "description": "品类id",
  12985. "type": "integer"
  12986. },
  12987. "wrstandardname": {
  12988. "description": "品类名称",
  12989. "type": "string"
  12990. },
  12991. "wrunitid": {
  12992. "description": "品类单位id",
  12993. "type": "integer"
  12994. },
  12995. "wrunitidame": {
  12996. "description": "品类单位名称",
  12997. "type": "string"
  12998. }
  12999. }
  13000. },
  13001. "models.Ermcp3MiddleGoodsDetail2": {
  13002. "type": "object",
  13003. "properties": {
  13004. "convertratio": {
  13005. "description": "套保系数(折算系数)",
  13006. "type": "number"
  13007. },
  13008. "gplist": {
  13009. "description": "关联商品组列表",
  13010. "type": "array",
  13011. "items": {
  13012. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  13013. }
  13014. },
  13015. "mg": {
  13016. "description": "套保商品信息",
  13017. "type": "object",
  13018. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  13019. }
  13020. }
  13021. },
  13022. "models.Ermcp3MiddleGoodsDetailEx": {
  13023. "type": "object",
  13024. "properties": {
  13025. "dglist": {
  13026. "description": "关联的现货品种列表",
  13027. "type": "array",
  13028. "items": {
  13029. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  13030. }
  13031. },
  13032. "gplist": {
  13033. "description": "关联商品组列表",
  13034. "type": "array",
  13035. "items": {
  13036. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  13037. }
  13038. },
  13039. "mg": {
  13040. "description": "套保商品信息",
  13041. "type": "object",
  13042. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  13043. }
  13044. }
  13045. },
  13046. "models.Ermcp3ReckonAreaSpotPL": {
  13047. "type": "object",
  13048. "properties": {
  13049. "accountid": {
  13050. "description": "期货账户ID (作废, 默认为0)",
  13051. "type": "integer"
  13052. },
  13053. "accountname": {
  13054. "description": "机构名称",
  13055. "type": "string"
  13056. },
  13057. "actualpl": {
  13058. "description": "现货损益",
  13059. "type": "number"
  13060. },
  13061. "areauserid": {
  13062. "description": "所属机构\\交易用户ID",
  13063. "type": "integer"
  13064. },
  13065. "biztype": {
  13066. "description": "业务类型 - 1:套保 2:套利",
  13067. "type": "integer"
  13068. },
  13069. "brandname": {
  13070. "description": "品牌名称",
  13071. "type": "string"
  13072. },
  13073. "curamount": {
  13074. "description": "期末额",
  13075. "type": "number"
  13076. },
  13077. "curaverageprice": {
  13078. "description": "期末均价",
  13079. "type": "number"
  13080. },
  13081. "curbuyamount": {
  13082. "description": "期末采购总额",
  13083. "type": "number"
  13084. },
  13085. "curbuyqty": {
  13086. "description": "期末采购总量",
  13087. "type": "number"
  13088. },
  13089. "curmarketvalue": {
  13090. "description": "参考市值(期末市值)",
  13091. "type": "number"
  13092. },
  13093. "curqty": {
  13094. "description": "期末量",
  13095. "type": "number"
  13096. },
  13097. "currencyid": {
  13098. "description": "结算币种ID【原值】",
  13099. "type": "integer"
  13100. },
  13101. "currencyname": {
  13102. "description": "币种名称",
  13103. "type": "string"
  13104. },
  13105. "cursellamount": {
  13106. "description": "期末销售总额",
  13107. "type": "number"
  13108. },
  13109. "cursellqty": {
  13110. "description": "期末销售总量",
  13111. "type": "number"
  13112. },
  13113. "curspotprice": {
  13114. "description": "参考市价(最新价)",
  13115. "type": "number"
  13116. },
  13117. "deliverygoodscode": {
  13118. "description": "现货商品代码",
  13119. "type": "string"
  13120. },
  13121. "deliverygoodsid": {
  13122. "description": "现货品种ID",
  13123. "type": "integer"
  13124. },
  13125. "deliverygoodsname": {
  13126. "description": "现货商品名称",
  13127. "type": "string"
  13128. },
  13129. "enumdicname": {
  13130. "description": "现货商品单位名称",
  13131. "type": "string"
  13132. },
  13133. "floatpl": {
  13134. "description": "浮动损益",
  13135. "type": "number"
  13136. },
  13137. "goodsunitid": {
  13138. "description": "现货商品单位id",
  13139. "type": "integer"
  13140. },
  13141. "oriamount": {
  13142. "description": "期初额",
  13143. "type": "number"
  13144. },
  13145. "oriaverageprice": {
  13146. "description": "期初均价",
  13147. "type": "number"
  13148. },
  13149. "oribuyamount": {
  13150. "description": "期初采购总额",
  13151. "type": "number"
  13152. },
  13153. "oribuyqty": {
  13154. "description": "期初采购总量",
  13155. "type": "number"
  13156. },
  13157. "oriqty": {
  13158. "description": "期初量",
  13159. "type": "number"
  13160. },
  13161. "orisellamount": {
  13162. "description": "期初销售总额",
  13163. "type": "number"
  13164. },
  13165. "orisellqty": {
  13166. "description": "期初销售总量",
  13167. "type": "number"
  13168. },
  13169. "reckondate": {
  13170. "description": "日照时期(yyyyMMdd)",
  13171. "type": "string"
  13172. },
  13173. "spotgoodsbrandid": {
  13174. "description": "现货品牌ID",
  13175. "type": "integer"
  13176. },
  13177. "todaybuyamount": {
  13178. "description": "今日采购额(今采购额)",
  13179. "type": "number"
  13180. },
  13181. "todaybuyaverageprice": {
  13182. "description": "今日采购均价",
  13183. "type": "number"
  13184. },
  13185. "todaybuyqty": {
  13186. "description": "今日采购量(今采购量)",
  13187. "type": "number"
  13188. },
  13189. "todayinqty": {
  13190. "description": "今日入库量(今入库量)",
  13191. "type": "number"
  13192. },
  13193. "todayoutqty": {
  13194. "description": "今日出库量(今出库量)",
  13195. "type": "number"
  13196. },
  13197. "todaysellamount": {
  13198. "description": "今日销售额(今销售额)",
  13199. "type": "number"
  13200. },
  13201. "todaysellaverageprice": {
  13202. "description": "今日销售均价",
  13203. "type": "number"
  13204. },
  13205. "todaysellqty": {
  13206. "description": "今日销售量(今销售量)",
  13207. "type": "number"
  13208. },
  13209. "unitid": {
  13210. "description": "品类单位id",
  13211. "type": "integer"
  13212. },
  13213. "unitidname": {
  13214. "description": "品类单位名称",
  13215. "type": "string"
  13216. },
  13217. "updatetime": {
  13218. "description": "更新时间",
  13219. "type": "string"
  13220. },
  13221. "wrfactortypeid": {
  13222. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  13223. "type": "integer"
  13224. },
  13225. "wrstandardcode": {
  13226. "description": "品类代码",
  13227. "type": "string"
  13228. },
  13229. "wrstandardid": {
  13230. "description": "现货品类ID",
  13231. "type": "string"
  13232. },
  13233. "wrstandardname": {
  13234. "description": "品类名称",
  13235. "type": "string"
  13236. }
  13237. }
  13238. },
  13239. "models.Ermcp3ReckonAreaSpotSub": {
  13240. "type": "object",
  13241. "required": [
  13242. "areauserid",
  13243. "reckondate"
  13244. ],
  13245. "properties": {
  13246. "accountid": {
  13247. "description": "期货账户ID",
  13248. "type": "integer"
  13249. },
  13250. "accountname": {
  13251. "description": "所属机构名称",
  13252. "type": "string"
  13253. },
  13254. "areauserid": {
  13255. "description": "账户所属机构",
  13256. "type": "integer"
  13257. },
  13258. "biztype": {
  13259. "description": "业务类型 1-套保 2-套利",
  13260. "type": "integer"
  13261. },
  13262. "brandname": {
  13263. "description": "品牌名称",
  13264. "type": "string"
  13265. },
  13266. "buycontractinqty": {
  13267. "description": "采购合同入库量",
  13268. "type": "number"
  13269. },
  13270. "buypricedamount": {
  13271. "description": "采购合同已定价金额",
  13272. "type": "number"
  13273. },
  13274. "buypricedqty": {
  13275. "description": "采购合同已定价数量",
  13276. "type": "number"
  13277. },
  13278. "buyreckonqty": {
  13279. "description": "采购合同交收量",
  13280. "type": "number"
  13281. },
  13282. "currencyid": {
  13283. "description": "币种id",
  13284. "type": "integer"
  13285. },
  13286. "currencyname": {
  13287. "description": "币种名称",
  13288. "type": "string"
  13289. },
  13290. "deliverygoodscode": {
  13291. "description": "现货商品代码",
  13292. "type": "string"
  13293. },
  13294. "deliverygoodsid": {
  13295. "description": "现货品种ID",
  13296. "type": "integer"
  13297. },
  13298. "deliverygoodsname": {
  13299. "description": "现货商品名称",
  13300. "type": "string"
  13301. },
  13302. "enumdicname": {
  13303. "description": "现货商品单位名称",
  13304. "type": "string"
  13305. },
  13306. "goodsunitid": {
  13307. "description": "现货商品单位id",
  13308. "type": "integer"
  13309. },
  13310. "oribuycontractinqty": {
  13311. "description": "期初采购合同入库量",
  13312. "type": "number"
  13313. },
  13314. "oribuypricedamount": {
  13315. "description": "期初采购合同已定价金额",
  13316. "type": "number"
  13317. },
  13318. "oribuypricedqty": {
  13319. "description": "期初采购合同已定价数量",
  13320. "type": "number"
  13321. },
  13322. "oribuyreckonqty": {
  13323. "description": "期初采购合同交收量",
  13324. "type": "number"
  13325. },
  13326. "oriproduceinqty": {
  13327. "description": "期初生产入库量",
  13328. "type": "number"
  13329. },
  13330. "oriproduceoutqty": {
  13331. "description": "期初生产出库量",
  13332. "type": "number"
  13333. },
  13334. "orisellcontractoutqty": {
  13335. "description": "期初销售合同出库量",
  13336. "type": "number"
  13337. },
  13338. "orisellpricedamount": {
  13339. "description": "期初销售合同已定价金额",
  13340. "type": "number"
  13341. },
  13342. "orisellpricedqty": {
  13343. "description": "期初销售合同已定价数量",
  13344. "type": "number"
  13345. },
  13346. "orisellreckonqty": {
  13347. "description": "期初销售合同交收量",
  13348. "type": "number"
  13349. },
  13350. "produceinqty": {
  13351. "description": "生产入库量",
  13352. "type": "number"
  13353. },
  13354. "produceoutqty": {
  13355. "description": "生产出库量",
  13356. "type": "number"
  13357. },
  13358. "reckondate": {
  13359. "description": "日照时期(yyyyMMdd)",
  13360. "type": "string"
  13361. },
  13362. "sellcontractoutqty": {
  13363. "description": "销售合同出库量",
  13364. "type": "number"
  13365. },
  13366. "sellpricedamount": {
  13367. "description": "销售合同已定价金额",
  13368. "type": "number"
  13369. },
  13370. "sellpricedqty": {
  13371. "description": "销售合同已定价数量",
  13372. "type": "number"
  13373. },
  13374. "sellreckonqty": {
  13375. "description": "销售合同交收量",
  13376. "type": "number"
  13377. },
  13378. "spotgoodsbrandid": {
  13379. "description": "现货品牌ID",
  13380. "type": "integer"
  13381. },
  13382. "todaybuyreckonqty": {
  13383. "description": "今日采购合同已确定数量",
  13384. "type": "number"
  13385. },
  13386. "todaysellreckonqty": {
  13387. "description": "今日销售合同已确定数量",
  13388. "type": "number"
  13389. },
  13390. "totalbuypricedqty": {
  13391. "description": "采购定价量 = 期末 - 期初",
  13392. "type": "number"
  13393. },
  13394. "totalsellpricedqty": {
  13395. "description": "销售定价量 = 期末 - 期初",
  13396. "type": "number"
  13397. },
  13398. "totalspotqty": {
  13399. "description": "现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量",
  13400. "type": "number"
  13401. },
  13402. "updatetime": {
  13403. "description": "更新时间",
  13404. "type": "string"
  13405. },
  13406. "wrfactortypeid": {
  13407. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  13408. "type": "integer"
  13409. },
  13410. "wrstandardcode": {
  13411. "description": "品类代码",
  13412. "type": "string"
  13413. },
  13414. "wrstandardid": {
  13415. "description": "现货品类ID",
  13416. "type": "integer"
  13417. },
  13418. "wrstandardname": {
  13419. "description": "品类名称",
  13420. "type": "string"
  13421. }
  13422. }
  13423. },
  13424. "models.Ermcp3ReckonExpourse": {
  13425. "type": "object",
  13426. "properties": {
  13427. "accountid": {
  13428. "description": "期货账户ID (作废, 默认为0)",
  13429. "type": "integer"
  13430. },
  13431. "accountname": {
  13432. "description": "机构名称",
  13433. "type": "string"
  13434. },
  13435. "arbitrageqty": {
  13436. "description": "套利量",
  13437. "type": "number"
  13438. },
  13439. "areauserid": {
  13440. "description": "所属机构\\交易用户ID",
  13441. "type": "integer"
  13442. },
  13443. "buyfutureqty": {
  13444. "description": "买入期货数量",
  13445. "type": "number"
  13446. },
  13447. "buyplanqty": {
  13448. "description": "采购计划数量",
  13449. "type": "number"
  13450. },
  13451. "buypricedqty": {
  13452. "description": "采购合同已定价数量",
  13453. "type": "number"
  13454. },
  13455. "diffexposure": {
  13456. "description": "变动量(套保敞口)",
  13457. "type": "number"
  13458. },
  13459. "difffutuqty": {
  13460. "description": "变动量(期货)",
  13461. "type": "number"
  13462. },
  13463. "diffhedgeqty": {
  13464. "description": "变动量(现货应套保总量)",
  13465. "type": "number"
  13466. },
  13467. "diffmgqtya": {
  13468. "description": "套保变动量",
  13469. "type": "number"
  13470. },
  13471. "diffmgqtyb": {
  13472. "description": "套利变动量",
  13473. "type": "number"
  13474. },
  13475. "diffqty": {
  13476. "description": "变动量(总敞口)",
  13477. "type": "number"
  13478. },
  13479. "diffspotqty": {
  13480. "description": "变动量(现货)",
  13481. "type": "number"
  13482. },
  13483. "enumdicname": {
  13484. "description": "单位名称",
  13485. "type": "string"
  13486. },
  13487. "hedgeqty": {
  13488. "description": "套保量",
  13489. "type": "number"
  13490. },
  13491. "mgneedhedgeratio": {
  13492. "description": "套保比例(套保品的)",
  13493. "type": "number"
  13494. },
  13495. "middlegoodsid": {
  13496. "description": "套保品种ID",
  13497. "type": "integer"
  13498. },
  13499. "middlegoodsnam": {
  13500. "description": "套保商品名称",
  13501. "type": "string"
  13502. },
  13503. "middlgoodscode": {
  13504. "description": "套保商品代码",
  13505. "type": "string"
  13506. },
  13507. "needarbitrageqty": {
  13508. "description": "应套利量",
  13509. "type": "number"
  13510. },
  13511. "needarbitrageratio": {
  13512. "description": "套利比例(套保品的)",
  13513. "type": "number"
  13514. },
  13515. "needhedgeexposoure": {
  13516. "description": "应套保敞口(套保敞口)",
  13517. "type": "number"
  13518. },
  13519. "needhedgeqty": {
  13520. "description": "应套保量",
  13521. "type": "number"
  13522. },
  13523. "needhedgeratio": {
  13524. "description": "应套保敞口比例",
  13525. "type": "number"
  13526. },
  13527. "oriarbitrageqty": {
  13528. "description": "期初套利量",
  13529. "type": "number"
  13530. },
  13531. "oribuyfutureqty": {
  13532. "description": "期初买入期货数量",
  13533. "type": "number"
  13534. },
  13535. "oribuyplanqty": {
  13536. "description": "期初采购计划数量",
  13537. "type": "number"
  13538. },
  13539. "oribuypricedqty": {
  13540. "description": "期初采购合同已定价数量",
  13541. "type": "number"
  13542. },
  13543. "orihedgeqty": {
  13544. "description": "期初套保量",
  13545. "type": "number"
  13546. },
  13547. "orineedarbitrageqty": {
  13548. "description": "期初应套利量",
  13549. "type": "number"
  13550. },
  13551. "orineedhedgeexposoure": {
  13552. "description": "期初应套保敞口",
  13553. "type": "number"
  13554. },
  13555. "orineedhedgeqty": {
  13556. "description": "期初应套保量",
  13557. "type": "number"
  13558. },
  13559. "orisellfutureqty": {
  13560. "description": "期初卖出期货数量",
  13561. "type": "number"
  13562. },
  13563. "orisellplanqty": {
  13564. "description": "期初销售计划数量",
  13565. "type": "number"
  13566. },
  13567. "orisellpricedqty": {
  13568. "description": "期初销售合同已定价数量",
  13569. "type": "number"
  13570. },
  13571. "oritotalexposure": {
  13572. "description": "期初实时总敞口",
  13573. "type": "number"
  13574. },
  13575. "oritotalfutureqty": {
  13576. "description": "期初期货头寸总量",
  13577. "type": "number"
  13578. },
  13579. "oritotalneedhedgeqty": {
  13580. "description": "期初应套保总量",
  13581. "type": "number"
  13582. },
  13583. "oritotalspotqty": {
  13584. "description": "期初现货头寸总量",
  13585. "type": "number"
  13586. },
  13587. "reckondate": {
  13588. "description": "日照时期(yyyyMMdd)",
  13589. "type": "string"
  13590. },
  13591. "sellfutureqty": {
  13592. "description": "卖出期货数量",
  13593. "type": "number"
  13594. },
  13595. "sellplanqty": {
  13596. "description": "销售计划数量",
  13597. "type": "number"
  13598. },
  13599. "sellpricedqty": {
  13600. "description": "销售合同已定价数量",
  13601. "type": "number"
  13602. },
  13603. "totalexposure": {
  13604. "description": "实时总敞口(总敞口)",
  13605. "type": "number"
  13606. },
  13607. "totalfutureqty": {
  13608. "description": "期货头寸总量(期货总量)",
  13609. "type": "number"
  13610. },
  13611. "totalhedgeratio": {
  13612. "description": "敞口比例",
  13613. "type": "number"
  13614. },
  13615. "totalneedhedgeqty": {
  13616. "description": "应套保总量(现货应套保总量)",
  13617. "type": "number"
  13618. },
  13619. "totalspotqty": {
  13620. "description": "现货头寸总量",
  13621. "type": "number"
  13622. },
  13623. "unitid": {
  13624. "description": "单位id",
  13625. "type": "integer"
  13626. },
  13627. "updatetime": {
  13628. "description": "更新时间",
  13629. "type": "string"
  13630. }
  13631. }
  13632. },
  13633. "models.Ermcp3ReportAreaSpotPL": {
  13634. "type": "object",
  13635. "properties": {
  13636. "accountid": {
  13637. "description": "期货账户ID (作废, 默认为0)",
  13638. "type": "integer"
  13639. },
  13640. "accountname": {
  13641. "description": "机构名称",
  13642. "type": "string"
  13643. },
  13644. "actualpl": {
  13645. "description": "现货损益",
  13646. "type": "number"
  13647. },
  13648. "areauserid": {
  13649. "description": "所属机构\\交易用户ID",
  13650. "type": "integer"
  13651. },
  13652. "biztype": {
  13653. "description": "业务类型 - 1:套保 2:套利",
  13654. "type": "integer"
  13655. },
  13656. "brandname": {
  13657. "description": "品牌名称",
  13658. "type": "string"
  13659. },
  13660. "curamount": {
  13661. "description": "期末额",
  13662. "type": "number"
  13663. },
  13664. "curaverageprice": {
  13665. "description": "期末均价",
  13666. "type": "number"
  13667. },
  13668. "curbuyamount": {
  13669. "description": "期末采购总额",
  13670. "type": "number"
  13671. },
  13672. "curbuyqty": {
  13673. "description": "期末采购总量",
  13674. "type": "number"
  13675. },
  13676. "curmarketvalue": {
  13677. "description": "参考市值(期末市值)",
  13678. "type": "number"
  13679. },
  13680. "curqty": {
  13681. "description": "期末量",
  13682. "type": "number"
  13683. },
  13684. "currencyid": {
  13685. "description": "结算币种ID【原值】",
  13686. "type": "integer"
  13687. },
  13688. "currencyname": {
  13689. "description": "币种名称",
  13690. "type": "string"
  13691. },
  13692. "cursellamount": {
  13693. "description": "期末销售总额",
  13694. "type": "number"
  13695. },
  13696. "cursellqty": {
  13697. "description": "期末销售总量",
  13698. "type": "number"
  13699. },
  13700. "curspotprice": {
  13701. "description": "参考市价(最新价)",
  13702. "type": "number"
  13703. },
  13704. "cycletime": {
  13705. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13706. "type": "string"
  13707. },
  13708. "cycletype": {
  13709. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13710. "type": "integer"
  13711. },
  13712. "deliverygoodscode": {
  13713. "description": "现货商品代码",
  13714. "type": "string"
  13715. },
  13716. "deliverygoodsid": {
  13717. "description": "现货品种ID",
  13718. "type": "integer"
  13719. },
  13720. "deliverygoodsname": {
  13721. "description": "现货商品名称",
  13722. "type": "string"
  13723. },
  13724. "enumdicname": {
  13725. "description": "现货商品单位名称",
  13726. "type": "string"
  13727. },
  13728. "floatpl": {
  13729. "description": "浮动损益",
  13730. "type": "number"
  13731. },
  13732. "goodsunitid": {
  13733. "description": "现货商品单位id",
  13734. "type": "integer"
  13735. },
  13736. "oriamount": {
  13737. "description": "期初额",
  13738. "type": "number"
  13739. },
  13740. "oriaverageprice": {
  13741. "description": "期初均价",
  13742. "type": "number"
  13743. },
  13744. "oribuyamount": {
  13745. "description": "期初采购总额",
  13746. "type": "number"
  13747. },
  13748. "oribuyqty": {
  13749. "description": "期初采购总量",
  13750. "type": "number"
  13751. },
  13752. "oriqty": {
  13753. "description": "期初量",
  13754. "type": "number"
  13755. },
  13756. "orisellamount": {
  13757. "description": "期初销售总额",
  13758. "type": "number"
  13759. },
  13760. "orisellqty": {
  13761. "description": "期初销售总量",
  13762. "type": "number"
  13763. },
  13764. "spotgoodsbrandid": {
  13765. "description": "现货品牌ID",
  13766. "type": "integer"
  13767. },
  13768. "todaybuyamount": {
  13769. "description": "今日采购额(今采购额)",
  13770. "type": "number"
  13771. },
  13772. "todaybuyaverageprice": {
  13773. "description": "今日采购均价",
  13774. "type": "number"
  13775. },
  13776. "todaybuyqty": {
  13777. "description": "今日采购量(今采购量)",
  13778. "type": "number"
  13779. },
  13780. "todayinqty": {
  13781. "description": "今日入库量(今入库量)",
  13782. "type": "number"
  13783. },
  13784. "todayoutqty": {
  13785. "description": "今日出库量(今出库量)",
  13786. "type": "number"
  13787. },
  13788. "todaysellamount": {
  13789. "description": "今日销售额(今销售额)",
  13790. "type": "number"
  13791. },
  13792. "todaysellaverageprice": {
  13793. "description": "今日销售均价",
  13794. "type": "number"
  13795. },
  13796. "todaysellqty": {
  13797. "description": "今日销售量(今销售量)",
  13798. "type": "number"
  13799. },
  13800. "unitid": {
  13801. "description": "品类单位id",
  13802. "type": "integer"
  13803. },
  13804. "unitidname": {
  13805. "description": "品类单位名称",
  13806. "type": "string"
  13807. },
  13808. "updatetime": {
  13809. "description": "更新时间",
  13810. "type": "string"
  13811. },
  13812. "wrfactortypeid": {
  13813. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  13814. "type": "integer"
  13815. },
  13816. "wrstandardcode": {
  13817. "description": "品类代码",
  13818. "type": "string"
  13819. },
  13820. "wrstandardid": {
  13821. "description": "现货品类ID",
  13822. "type": "string"
  13823. },
  13824. "wrstandardname": {
  13825. "description": "品类名称",
  13826. "type": "string"
  13827. }
  13828. }
  13829. },
  13830. "models.Ermcp3ReportAreaSpotSub": {
  13831. "type": "object",
  13832. "required": [
  13833. "areauserid"
  13834. ],
  13835. "properties": {
  13836. "accountid": {
  13837. "description": "期货账户ID",
  13838. "type": "integer"
  13839. },
  13840. "accountname": {
  13841. "description": "所属机构名称",
  13842. "type": "string"
  13843. },
  13844. "areauserid": {
  13845. "description": "账户所属机构",
  13846. "type": "integer"
  13847. },
  13848. "biztype": {
  13849. "description": "业务类型 1-套保 2-套利",
  13850. "type": "integer"
  13851. },
  13852. "brandname": {
  13853. "description": "品牌名称",
  13854. "type": "string"
  13855. },
  13856. "buycontractinqty": {
  13857. "description": "采购合同入库量【期末】",
  13858. "type": "number"
  13859. },
  13860. "buypricedamount": {
  13861. "description": "采购合同已定价金额【期末】",
  13862. "type": "number"
  13863. },
  13864. "buypricedqty": {
  13865. "description": "采购合同已定价数量【期末】",
  13866. "type": "number"
  13867. },
  13868. "buyreckonqty": {
  13869. "description": "采购合同交收量【期末】",
  13870. "type": "number"
  13871. },
  13872. "currencyid": {
  13873. "description": "币种id",
  13874. "type": "integer"
  13875. },
  13876. "currencyname": {
  13877. "description": "币种名称",
  13878. "type": "string"
  13879. },
  13880. "cycletime": {
  13881. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13882. "type": "string"
  13883. },
  13884. "cycletype": {
  13885. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13886. "type": "integer"
  13887. },
  13888. "deliverygoodscode": {
  13889. "description": "现货商品代码",
  13890. "type": "string"
  13891. },
  13892. "deliverygoodsid": {
  13893. "description": "现货品种ID",
  13894. "type": "integer"
  13895. },
  13896. "deliverygoodsname": {
  13897. "description": "现货商品名称",
  13898. "type": "string"
  13899. },
  13900. "enumdicname": {
  13901. "description": "现货商品单位名称",
  13902. "type": "string"
  13903. },
  13904. "goodsunitid": {
  13905. "description": "现货商品单位id",
  13906. "type": "integer"
  13907. },
  13908. "oribuycontractinqty": {
  13909. "description": "期初采购合同入库量【期初】",
  13910. "type": "number"
  13911. },
  13912. "oribuypricedamount": {
  13913. "description": "期初采购合同已定价金额【期初】",
  13914. "type": "number"
  13915. },
  13916. "oribuypricedqty": {
  13917. "description": "期初采购合同已定价数量【期初】",
  13918. "type": "number"
  13919. },
  13920. "oribuyreckonqty": {
  13921. "description": "期初采购合同交收量【期初】",
  13922. "type": "number"
  13923. },
  13924. "oriproduceinqty": {
  13925. "description": "期初生产入库量【期初】",
  13926. "type": "number"
  13927. },
  13928. "oriproduceoutqty": {
  13929. "description": "期初生产出库量【期初】",
  13930. "type": "number"
  13931. },
  13932. "orisellcontractoutqty": {
  13933. "description": "期初销售合同出库量【期初】",
  13934. "type": "number"
  13935. },
  13936. "orisellpricedamount": {
  13937. "description": "期初销售合同已定价金额【期初】",
  13938. "type": "number"
  13939. },
  13940. "orisellpricedqty": {
  13941. "description": "期初销售合同已定价数量【期初】",
  13942. "type": "number"
  13943. },
  13944. "orisellreckonqty": {
  13945. "description": "期初销售合同交收量【期初】",
  13946. "type": "number"
  13947. },
  13948. "produceinqty": {
  13949. "description": "生产入库量【期末】",
  13950. "type": "number"
  13951. },
  13952. "produceoutqty": {
  13953. "description": "生产出库量【期末】",
  13954. "type": "number"
  13955. },
  13956. "sellcontractoutqty": {
  13957. "description": "销售合同出库量【期末】",
  13958. "type": "number"
  13959. },
  13960. "sellpricedamount": {
  13961. "description": "销售合同已定价金额【期末】",
  13962. "type": "number"
  13963. },
  13964. "sellpricedqty": {
  13965. "description": "销售合同已定价数量【期末】",
  13966. "type": "number"
  13967. },
  13968. "sellreckonqty": {
  13969. "description": "销售合同交收量【期末】",
  13970. "type": "number"
  13971. },
  13972. "spotgoodsbrandid": {
  13973. "description": "现货品牌ID",
  13974. "type": "integer"
  13975. },
  13976. "todaybuyreckonqty": {
  13977. "description": "今日采购合同已确定数量【汇总】",
  13978. "type": "number"
  13979. },
  13980. "todaysellreckonqty": {
  13981. "description": "今日销售合同已确定数量【汇总】",
  13982. "type": "number"
  13983. },
  13984. "totalbuypricedqty": {
  13985. "description": "采购定价量 = 期末 - 期初",
  13986. "type": "number"
  13987. },
  13988. "totalsellpricedqty": {
  13989. "description": "销售定价量 = 期末 - 期初",
  13990. "type": "number"
  13991. },
  13992. "totalspotqty": {
  13993. "description": "现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量【期末】",
  13994. "type": "number"
  13995. },
  13996. "updatetime": {
  13997. "description": "更新时间",
  13998. "type": "string"
  13999. },
  14000. "wrfactortypeid": {
  14001. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14002. "type": "integer"
  14003. },
  14004. "wrstandardcode": {
  14005. "description": "品类代码",
  14006. "type": "string"
  14007. },
  14008. "wrstandardid": {
  14009. "description": "品类ID",
  14010. "type": "integer"
  14011. },
  14012. "wrstandardname": {
  14013. "description": "品类名称",
  14014. "type": "string"
  14015. }
  14016. }
  14017. },
  14018. "models.Ermcp3ReportExpourse": {
  14019. "type": "object",
  14020. "properties": {
  14021. "accountid": {
  14022. "description": "期货账户ID (作废, 默认为0)",
  14023. "type": "integer"
  14024. },
  14025. "accountname": {
  14026. "description": "机构名称",
  14027. "type": "string"
  14028. },
  14029. "arbitrageqty": {
  14030. "description": "套利量",
  14031. "type": "number"
  14032. },
  14033. "areauserid": {
  14034. "description": "所属机构\\交易用户ID",
  14035. "type": "integer"
  14036. },
  14037. "buyfutureqty": {
  14038. "description": "买入期货数量",
  14039. "type": "number"
  14040. },
  14041. "buyplanqty": {
  14042. "description": "采购计划数量",
  14043. "type": "number"
  14044. },
  14045. "buypricedqty": {
  14046. "description": "采购合同已定价数量",
  14047. "type": "number"
  14048. },
  14049. "cycletime": {
  14050. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14051. "type": "string"
  14052. },
  14053. "cycletype": {
  14054. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14055. "type": "integer"
  14056. },
  14057. "diffexposure": {
  14058. "description": "变动量(套保敞口)",
  14059. "type": "number"
  14060. },
  14061. "difffutuqty": {
  14062. "description": "变动量(期货)",
  14063. "type": "number"
  14064. },
  14065. "diffhedgeqty": {
  14066. "description": "变动量(现货应套保总量)",
  14067. "type": "number"
  14068. },
  14069. "diffmgqtya": {
  14070. "description": "套保变动量",
  14071. "type": "number"
  14072. },
  14073. "diffmgqtyb": {
  14074. "description": "套利变动量",
  14075. "type": "number"
  14076. },
  14077. "diffqty": {
  14078. "description": "变动量(总敞口)",
  14079. "type": "number"
  14080. },
  14081. "diffspotqty": {
  14082. "description": "变动量(现货)",
  14083. "type": "number"
  14084. },
  14085. "enumdicname": {
  14086. "description": "单位名称",
  14087. "type": "string"
  14088. },
  14089. "hedgeqty": {
  14090. "description": "套保量",
  14091. "type": "number"
  14092. },
  14093. "mgneedhedgeratio": {
  14094. "description": "套保比例(套保品的)",
  14095. "type": "number"
  14096. },
  14097. "middlegoodsid": {
  14098. "description": "套保品种ID",
  14099. "type": "integer"
  14100. },
  14101. "middlegoodsnam": {
  14102. "description": "套保商品名称",
  14103. "type": "string"
  14104. },
  14105. "middlgoodscode": {
  14106. "description": "套保商品代码",
  14107. "type": "string"
  14108. },
  14109. "needarbitrageqty": {
  14110. "description": "应套利量",
  14111. "type": "number"
  14112. },
  14113. "needarbitrageratio": {
  14114. "description": "套利比例(套保品的)",
  14115. "type": "number"
  14116. },
  14117. "needhedgeexposoure": {
  14118. "description": "应套保敞口(套保敞口)",
  14119. "type": "number"
  14120. },
  14121. "needhedgeqty": {
  14122. "description": "应套保量",
  14123. "type": "number"
  14124. },
  14125. "needhedgeratio": {
  14126. "description": "应套保敞口比例",
  14127. "type": "number"
  14128. },
  14129. "oriarbitrageqty": {
  14130. "description": "期初套利量",
  14131. "type": "number"
  14132. },
  14133. "oribuyfutureqty": {
  14134. "description": "期初买入期货数量",
  14135. "type": "number"
  14136. },
  14137. "oribuyplanqty": {
  14138. "description": "期初采购计划数量",
  14139. "type": "number"
  14140. },
  14141. "oribuypricedqty": {
  14142. "description": "期初采购合同已定价数量",
  14143. "type": "number"
  14144. },
  14145. "orihedgeqty": {
  14146. "description": "期初套保量",
  14147. "type": "number"
  14148. },
  14149. "orineedarbitrageqty": {
  14150. "description": "期初应套利量",
  14151. "type": "number"
  14152. },
  14153. "orineedhedgeexposoure": {
  14154. "description": "期初应套保敞口",
  14155. "type": "number"
  14156. },
  14157. "orineedhedgeqty": {
  14158. "description": "期初应套保量",
  14159. "type": "number"
  14160. },
  14161. "orisellfutureqty": {
  14162. "description": "期初卖出期货数量",
  14163. "type": "number"
  14164. },
  14165. "orisellplanqty": {
  14166. "description": "期初销售计划数量",
  14167. "type": "number"
  14168. },
  14169. "orisellpricedqty": {
  14170. "description": "期初销售合同已定价数量",
  14171. "type": "number"
  14172. },
  14173. "oritotalexposure": {
  14174. "description": "期初实时总敞口",
  14175. "type": "number"
  14176. },
  14177. "oritotalfutureqty": {
  14178. "description": "期初期货头寸总量",
  14179. "type": "number"
  14180. },
  14181. "oritotalneedhedgeqty": {
  14182. "description": "期初应套保总量",
  14183. "type": "number"
  14184. },
  14185. "oritotalspotqty": {
  14186. "description": "期初现货头寸总量",
  14187. "type": "number"
  14188. },
  14189. "sellfutureqty": {
  14190. "description": "卖出期货数量",
  14191. "type": "number"
  14192. },
  14193. "sellplanqty": {
  14194. "description": "销售计划数量",
  14195. "type": "number"
  14196. },
  14197. "sellpricedqty": {
  14198. "description": "销售合同已定价数量",
  14199. "type": "number"
  14200. },
  14201. "totalexposure": {
  14202. "description": "实时总敞口(总敞口)",
  14203. "type": "number"
  14204. },
  14205. "totalfutureqty": {
  14206. "description": "期货头寸总量(期货总量)",
  14207. "type": "number"
  14208. },
  14209. "totalhedgeratio": {
  14210. "description": "敞口比例",
  14211. "type": "number"
  14212. },
  14213. "totalneedhedgeqty": {
  14214. "description": "应套保总量(现货应套保总量)",
  14215. "type": "number"
  14216. },
  14217. "totalspotqty": {
  14218. "description": "现货头寸总量",
  14219. "type": "number"
  14220. },
  14221. "unitid": {
  14222. "description": "单位id",
  14223. "type": "integer"
  14224. },
  14225. "updatetime": {
  14226. "description": "更新时间",
  14227. "type": "string"
  14228. }
  14229. }
  14230. },
  14231. "models.Ermcp3ReportOPLog": {
  14232. "type": "object",
  14233. "properties": {
  14234. "applyid": {
  14235. "description": "操作人",
  14236. "type": "integer"
  14237. },
  14238. "applyname": {
  14239. "description": "操作人名称",
  14240. "type": "string"
  14241. },
  14242. "biztype": {
  14243. "description": "业务类型 - 1:套保计划 2:现货合同",
  14244. "type": "integer"
  14245. },
  14246. "brandname": {
  14247. "description": "品牌名称",
  14248. "type": "string"
  14249. },
  14250. "contracttype": {
  14251. "description": "现货合同类型 - 1:采购 -1:销售",
  14252. "type": "integer"
  14253. },
  14254. "deliverygoodscode": {
  14255. "description": "现货品种代码",
  14256. "type": "string"
  14257. },
  14258. "deliverygoodsid": {
  14259. "description": "现货品种id",
  14260. "type": "integer"
  14261. },
  14262. "deliverygoodsname": {
  14263. "description": "现货品种名称",
  14264. "type": "string"
  14265. },
  14266. "enumdicName": {
  14267. "description": "单位名称",
  14268. "type": "string"
  14269. },
  14270. "logdatetime": {
  14271. "description": "流水日期(时间)",
  14272. "type": "string"
  14273. },
  14274. "logid": {
  14275. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  14276. "type": "string"
  14277. },
  14278. "logtypename": {
  14279. "description": "合同类型(名称)",
  14280. "type": "string"
  14281. },
  14282. "logvalue": {
  14283. "description": "数值",
  14284. "type": "string"
  14285. },
  14286. "operatelogtype": {
  14287. "description": "操作流水类型 -",
  14288. "type": "integer"
  14289. },
  14290. "optypename": {
  14291. "description": "流水类型名称",
  14292. "type": "string"
  14293. },
  14294. "relatedid": {
  14295. "description": "现货合同ID\\套保计划",
  14296. "type": "string"
  14297. },
  14298. "relatedno": {
  14299. "description": "合同编号",
  14300. "type": "string"
  14301. },
  14302. "spotgoodsbrandid": {
  14303. "description": "品牌id",
  14304. "type": "integer"
  14305. },
  14306. "tradedate": {
  14307. "description": "交易日(yyyyMMdd)",
  14308. "type": "string"
  14309. },
  14310. "userid": {
  14311. "description": "机构ID",
  14312. "type": "integer"
  14313. },
  14314. "wrstandardcode": {
  14315. "description": "品类代码",
  14316. "type": "string"
  14317. },
  14318. "wrstandardid": {
  14319. "description": "品类id",
  14320. "type": "integer"
  14321. },
  14322. "wrstandardname": {
  14323. "description": "品类名称",
  14324. "type": "string"
  14325. }
  14326. }
  14327. },
  14328. "models.Ermcp3SellBuyContract": {
  14329. "type": "object",
  14330. "properties": {
  14331. "accountname": {
  14332. "description": "账户名称",
  14333. "type": "string"
  14334. },
  14335. "attachment": {
  14336. "description": "附件",
  14337. "type": "string"
  14338. },
  14339. "audittime": {
  14340. "description": "审核时间",
  14341. "type": "string"
  14342. },
  14343. "brandname": {
  14344. "description": "品牌名称",
  14345. "type": "string"
  14346. },
  14347. "contracctstatus": {
  14348. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14349. "type": "integer"
  14350. },
  14351. "contractmargin": {
  14352. "description": "合同保证金",
  14353. "type": "number"
  14354. },
  14355. "contractno": {
  14356. "description": "合同编号",
  14357. "type": "string"
  14358. },
  14359. "contracttype": {
  14360. "description": "合同类型 1-采购, -1-销售",
  14361. "type": "integer"
  14362. },
  14363. "convertfactor": {
  14364. "description": "标仓系数(品类)",
  14365. "type": "number"
  14366. },
  14367. "createtime": {
  14368. "description": "创建时间",
  14369. "type": "string"
  14370. },
  14371. "daikaiamount": {
  14372. "description": "应收(开)票额",
  14373. "type": "number"
  14374. },
  14375. "deliveryenddate": {
  14376. "description": "交割结束日",
  14377. "type": "string"
  14378. },
  14379. "deliverygoodscode": {
  14380. "description": "现货品种代码",
  14381. "type": "string"
  14382. },
  14383. "deliverygoodsid": {
  14384. "description": "现货商品ID",
  14385. "type": "integer"
  14386. },
  14387. "deliverygoodsname": {
  14388. "description": "现货品种名称",
  14389. "type": "string"
  14390. },
  14391. "deliverystartdate": {
  14392. "description": "交割开始日",
  14393. "type": "string"
  14394. },
  14395. "enddate": {
  14396. "description": "点价结束日",
  14397. "type": "string"
  14398. },
  14399. "enumdicname": {
  14400. "description": "单位名称",
  14401. "type": "string"
  14402. },
  14403. "goodscode": {
  14404. "description": "点价商品代码",
  14405. "type": "string"
  14406. },
  14407. "goodsid": {
  14408. "description": "点价商品ID",
  14409. "type": "integer"
  14410. },
  14411. "goodsname": {
  14412. "description": "点价商品名称",
  14413. "type": "string"
  14414. },
  14415. "invoiceamount": {
  14416. "description": "已开票额",
  14417. "type": "number"
  14418. },
  14419. "loanamount": {
  14420. "description": "贷款总额=已定价额+调整金额",
  14421. "type": "number"
  14422. },
  14423. "margin": {
  14424. "description": "保证金",
  14425. "type": "number"
  14426. },
  14427. "nickname": {
  14428. "description": "账户昵称",
  14429. "type": "string"
  14430. },
  14431. "payamount": {
  14432. "description": "已收付额(收款或付款)",
  14433. "type": "number"
  14434. },
  14435. "preinvoiceamount": {
  14436. "description": "预收(开)票额",
  14437. "type": "number"
  14438. },
  14439. "prepayamount": {
  14440. "description": "预收付额",
  14441. "type": "number"
  14442. },
  14443. "price": {
  14444. "description": "价格",
  14445. "type": "number"
  14446. },
  14447. "pricedamount": {
  14448. "description": "已定价额",
  14449. "type": "number"
  14450. },
  14451. "pricedavg": {
  14452. "description": "已点均价",
  14453. "type": "number"
  14454. },
  14455. "pricedqty": {
  14456. "description": "已定价量",
  14457. "type": "number"
  14458. },
  14459. "pricemove": {
  14460. "description": "升贴水",
  14461. "type": "number"
  14462. },
  14463. "pricetype": {
  14464. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14465. "type": "integer"
  14466. },
  14467. "producttype": {
  14468. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14469. "type": "integer"
  14470. },
  14471. "qty": {
  14472. "description": "合同量",
  14473. "type": "number"
  14474. },
  14475. "reckonadjustamount": {
  14476. "description": "调整金额",
  14477. "type": "number"
  14478. },
  14479. "reckonedamount": {
  14480. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  14481. "type": "number"
  14482. },
  14483. "reckonotheramount": {
  14484. "description": "其它费用",
  14485. "type": "number"
  14486. },
  14487. "reckonrealqty": {
  14488. "description": "已确定量",
  14489. "type": "number"
  14490. },
  14491. "remark": {
  14492. "description": "备注",
  14493. "type": "string"
  14494. },
  14495. "spotcontractid": {
  14496. "description": "合同ID",
  14497. "type": "string"
  14498. },
  14499. "spotgoodsbrandid": {
  14500. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14501. "type": "integer"
  14502. },
  14503. "spotgoodsdesc": {
  14504. "description": "商品型号(商品规格)",
  14505. "type": "string"
  14506. },
  14507. "startdate": {
  14508. "description": "点价开始日",
  14509. "type": "string"
  14510. },
  14511. "totalamount": {
  14512. "description": "合计总额",
  14513. "type": "number"
  14514. },
  14515. "unpayamount": {
  14516. "description": "应收付款额(应支付或应收款)",
  14517. "type": "number"
  14518. },
  14519. "unpricedqty": {
  14520. "description": "未定价量",
  14521. "type": "number"
  14522. },
  14523. "unsureqty": {
  14524. "description": "未确定量",
  14525. "type": "number"
  14526. },
  14527. "userid": {
  14528. "description": "机构ID",
  14529. "type": "integer"
  14530. },
  14531. "wrstandardcode": {
  14532. "description": "品类代码",
  14533. "type": "string"
  14534. },
  14535. "wrstandardid": {
  14536. "description": "品类ID",
  14537. "type": "integer"
  14538. },
  14539. "wrstandardname": {
  14540. "description": "品类名称",
  14541. "type": "string"
  14542. }
  14543. }
  14544. },
  14545. "models.Ermcp3SpotGoodsPrice": {
  14546. "type": "object",
  14547. "properties": {
  14548. "areauserid": {
  14549. "description": "所属机构id",
  14550. "type": "integer"
  14551. },
  14552. "brandname": {
  14553. "description": "品牌名称",
  14554. "type": "string"
  14555. },
  14556. "currencyid": {
  14557. "description": "报价货币ID",
  14558. "type": "integer"
  14559. },
  14560. "currencyname": {
  14561. "description": "币种名称",
  14562. "type": "string"
  14563. },
  14564. "deliverygoodscode": {
  14565. "description": "现货商品代码",
  14566. "type": "string"
  14567. },
  14568. "deliverygoodsid": {
  14569. "description": "现货商品id",
  14570. "type": "integer"
  14571. },
  14572. "deliverygoodsname": {
  14573. "description": "现货商品名称",
  14574. "type": "string"
  14575. },
  14576. "enumdicname": {
  14577. "description": "现货商品单位名称",
  14578. "type": "string"
  14579. },
  14580. "gbenumdicname": {
  14581. "description": "品类单位名称",
  14582. "type": "string"
  14583. },
  14584. "gmunitid": {
  14585. "description": "品类单位id",
  14586. "type": "integer"
  14587. },
  14588. "isvalid": {
  14589. "description": "是否有效 - 0:无效 1:有效",
  14590. "type": "integer"
  14591. },
  14592. "operateid": {
  14593. "description": "最后操作人",
  14594. "type": "integer"
  14595. },
  14596. "operatesrc": {
  14597. "description": "最后操作来源 - 1:管理端 2:终端",
  14598. "type": "integer"
  14599. },
  14600. "operatetime": {
  14601. "description": "最后操作时间",
  14602. "type": "string"
  14603. },
  14604. "operatorname": {
  14605. "description": "操作人名称",
  14606. "type": "string"
  14607. },
  14608. "spotgoodsbrandid": {
  14609. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14610. "type": "integer"
  14611. },
  14612. "spotgoodsprice": {
  14613. "description": "现货价格",
  14614. "type": "number"
  14615. },
  14616. "tradedate": {
  14617. "description": "交易日(yyyyMMdd)",
  14618. "type": "string"
  14619. },
  14620. "unitid": {
  14621. "description": "现货商品单位id",
  14622. "type": "integer"
  14623. },
  14624. "wrstandardcode": {
  14625. "description": "品类代码",
  14626. "type": "string"
  14627. },
  14628. "wrstandardid": {
  14629. "description": "现货品类ID(通用则为0)",
  14630. "type": "integer"
  14631. },
  14632. "wrstandardname": {
  14633. "description": "品类名称",
  14634. "type": "string"
  14635. }
  14636. }
  14637. },
  14638. "models.Ermcp3SpotGoodsPriceLog": {
  14639. "type": "object",
  14640. "properties": {
  14641. "areauserid": {
  14642. "description": "所属机构id",
  14643. "type": "integer"
  14644. },
  14645. "brandname": {
  14646. "description": "品牌名称",
  14647. "type": "string"
  14648. },
  14649. "currencyid": {
  14650. "description": "报价货币ID",
  14651. "type": "integer"
  14652. },
  14653. "deliverygoodscode": {
  14654. "description": "现货商品代码",
  14655. "type": "string"
  14656. },
  14657. "deliverygoodsid": {
  14658. "description": "现货商品id",
  14659. "type": "integer"
  14660. },
  14661. "deliverygoodsname": {
  14662. "description": "现货商品名称",
  14663. "type": "string"
  14664. },
  14665. "enumdicname": {
  14666. "description": "现货商品单位名称",
  14667. "type": "string"
  14668. },
  14669. "gbenumdicname": {
  14670. "description": "品类单位名称",
  14671. "type": "string"
  14672. },
  14673. "gmunitid": {
  14674. "description": "品类单位id",
  14675. "type": "integer"
  14676. },
  14677. "logid": {
  14678. "description": "日志id",
  14679. "type": "integer"
  14680. },
  14681. "operateid": {
  14682. "description": "最后操作人",
  14683. "type": "integer"
  14684. },
  14685. "operatesrc": {
  14686. "description": "最后操作来源 - 1:管理端 2:终端",
  14687. "type": "integer"
  14688. },
  14689. "operatetime": {
  14690. "description": "最后操作时间",
  14691. "type": "string"
  14692. },
  14693. "operatorname": {
  14694. "description": "操作人名称",
  14695. "type": "string"
  14696. },
  14697. "spotgoodsbrandid": {
  14698. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14699. "type": "integer"
  14700. },
  14701. "spotgoodsprice": {
  14702. "description": "现货价格",
  14703. "type": "number"
  14704. },
  14705. "tradedate": {
  14706. "description": "交易日(yyyyMMdd)",
  14707. "type": "string"
  14708. },
  14709. "unitid": {
  14710. "description": "现货商品单位id",
  14711. "type": "integer"
  14712. },
  14713. "wrstandardcode": {
  14714. "description": "品类代码",
  14715. "type": "string"
  14716. },
  14717. "wrstandardid": {
  14718. "description": "现货品类ID(通用则为0)",
  14719. "type": "integer"
  14720. },
  14721. "wrstandardname": {
  14722. "description": "品类名称",
  14723. "type": "string"
  14724. }
  14725. }
  14726. },
  14727. "models.Ermcp3Wrstandard": {
  14728. "type": "object",
  14729. "properties": {
  14730. "areauserid": {
  14731. "description": "所属机构",
  14732. "type": "integer"
  14733. },
  14734. "convertfactor": {
  14735. "description": "标仓系数",
  14736. "type": "number"
  14737. },
  14738. "createtime": {
  14739. "description": "创建时间",
  14740. "type": "string"
  14741. },
  14742. "creatorid": {
  14743. "description": "创建人",
  14744. "type": "integer"
  14745. },
  14746. "deliverygoodsid": {
  14747. "description": "现货品种ID",
  14748. "type": "integer"
  14749. },
  14750. "enumdicname": {
  14751. "description": "品类单位名称",
  14752. "type": "string"
  14753. },
  14754. "isvalid": {
  14755. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  14756. "type": "integer"
  14757. },
  14758. "minivalue": {
  14759. "description": "最小变动值",
  14760. "type": "integer"
  14761. },
  14762. "minivaluedp": {
  14763. "description": "最小变动值小数位",
  14764. "type": "integer"
  14765. },
  14766. "realminivalue": {
  14767. "description": "实际最小变动值",
  14768. "type": "integer"
  14769. },
  14770. "realminivaluedp": {
  14771. "description": "实际最小变动值小数位",
  14772. "type": "integer"
  14773. },
  14774. "remark": {
  14775. "description": "备注",
  14776. "type": "string"
  14777. },
  14778. "unitid": {
  14779. "description": "品类单位ID",
  14780. "type": "integer"
  14781. },
  14782. "updatetime": {
  14783. "description": "更新时间",
  14784. "type": "string"
  14785. },
  14786. "wrstandardcode": {
  14787. "description": "品类代码",
  14788. "type": "string"
  14789. },
  14790. "wrstandardid": {
  14791. "description": "品类ID(SEQ_WRSTANDARD)",
  14792. "type": "integer"
  14793. },
  14794. "wrstandardname": {
  14795. "description": "品类名称",
  14796. "type": "string"
  14797. }
  14798. }
  14799. },
  14800. "models.ErmcpAreaSpotDetailModel": {
  14801. "type": "object",
  14802. "properties": {
  14803. "contracttype": {
  14804. "description": "合同类型 1-采购 -1-销售",
  14805. "type": "integer"
  14806. },
  14807. "createtime": {
  14808. "description": "创建时间",
  14809. "type": "string"
  14810. },
  14811. "enumdicname": {
  14812. "description": "现货商品单位名称",
  14813. "type": "string"
  14814. },
  14815. "logtype": {
  14816. "description": "记录类型 1-套保 2-现货合同",
  14817. "type": "integer"
  14818. },
  14819. "qty": {
  14820. "description": "数量",
  14821. "type": "number"
  14822. },
  14823. "recordname": {
  14824. "description": "类型名称",
  14825. "type": "string"
  14826. },
  14827. "relatedid": {
  14828. "description": "套保计划ID/现货合同ID",
  14829. "type": "string"
  14830. },
  14831. "relatedno": {
  14832. "description": "编号",
  14833. "type": "string"
  14834. },
  14835. "strtime": {
  14836. "description": "时间",
  14837. "type": "string"
  14838. },
  14839. "wrstandardcode": {
  14840. "description": "现货商品代码",
  14841. "type": "string"
  14842. },
  14843. "wrstandardname": {
  14844. "description": "现货商品名称",
  14845. "type": "string"
  14846. }
  14847. }
  14848. },
  14849. "models.ErmcpAvalidGoodsGroupModel": {
  14850. "type": "object",
  14851. "properties": {
  14852. "goodsgroupid": {
  14853. "description": "期货品种id",
  14854. "type": "integer"
  14855. },
  14856. "goodsgroupname": {
  14857. "description": "期货品种名称",
  14858. "type": "string"
  14859. },
  14860. "goodunitid": {
  14861. "description": "品种单位id",
  14862. "type": "integer"
  14863. },
  14864. "goodunitname": {
  14865. "description": "品种单位名称",
  14866. "type": "string"
  14867. },
  14868. "outergroupcode": {
  14869. "description": "期货品种代码",
  14870. "type": "string"
  14871. }
  14872. }
  14873. },
  14874. "models.ErmcpBizGroupEx": {
  14875. "type": "object",
  14876. "properties": {
  14877. "acclist": {
  14878. "description": "账号列表",
  14879. "type": "array",
  14880. "items": {
  14881. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  14882. }
  14883. },
  14884. "bizgroupid": {
  14885. "description": "业务分组id",
  14886. "type": "integer"
  14887. },
  14888. "biztype": {
  14889. "description": "业务类型 1-套保 2-套利",
  14890. "type": "integer"
  14891. },
  14892. "wrlist": {
  14893. "description": "现货商品表",
  14894. "type": "array",
  14895. "items": {
  14896. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  14897. }
  14898. }
  14899. }
  14900. },
  14901. "models.ErmcpBizGroupSpotGoods": {
  14902. "type": "object",
  14903. "properties": {
  14904. "areauserid": {
  14905. "description": "所属机构id",
  14906. "type": "integer"
  14907. },
  14908. "bizgroupid": {
  14909. "description": "分组id",
  14910. "type": "integer"
  14911. },
  14912. "biztype": {
  14913. "description": "业务类型 1-套保 2-套利",
  14914. "type": "integer"
  14915. },
  14916. "deliverygoodscode": {
  14917. "description": "现货商品代码",
  14918. "type": "string"
  14919. },
  14920. "deliverygoodsid": {
  14921. "description": "现货商品id",
  14922. "type": "integer"
  14923. },
  14924. "deliverygoodsname": {
  14925. "description": "现货商品名称",
  14926. "type": "string"
  14927. },
  14928. "unitid": {
  14929. "description": "现货商品单位id",
  14930. "type": "integer"
  14931. }
  14932. }
  14933. },
  14934. "models.ErmcpBizGroupTaAccount": {
  14935. "type": "object",
  14936. "properties": {
  14937. "accountid": {
  14938. "description": "账号id",
  14939. "type": "integer"
  14940. },
  14941. "accountname": {
  14942. "description": "账号名称",
  14943. "type": "string"
  14944. },
  14945. "areauserid": {
  14946. "description": "所属机构id",
  14947. "type": "integer"
  14948. },
  14949. "bizgroupid": {
  14950. "description": "业务分组id",
  14951. "type": "integer"
  14952. },
  14953. "ismain": {
  14954. "description": "是否主账号 1-是 0-否",
  14955. "type": "integer"
  14956. }
  14957. }
  14958. },
  14959. "models.ErmcpDGFactoryItem": {
  14960. "type": "object",
  14961. "properties": {
  14962. "areauserid": {
  14963. "description": "用户id",
  14964. "type": "integer"
  14965. },
  14966. "deliverygoodsid": {
  14967. "description": "现货品种ID",
  14968. "type": "integer"
  14969. },
  14970. "dgfactoryitemid": {
  14971. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  14972. "type": "integer"
  14973. },
  14974. "dgfactoryitemtypeid": {
  14975. "description": "要素项类型",
  14976. "type": "integer"
  14977. },
  14978. "dgfactoryitemvalue": {
  14979. "description": "要素项值(类型为仓库时填写仓库名称)",
  14980. "type": "string"
  14981. },
  14982. "isvalid": {
  14983. "description": "是否有效 - 0:无效 1:有效",
  14984. "type": "integer"
  14985. },
  14986. "orderindex": {
  14987. "description": "顺序",
  14988. "type": "integer"
  14989. },
  14990. "warehouseid": {
  14991. "description": "仓库ID(类型为仓库时填写)",
  14992. "type": "integer"
  14993. }
  14994. }
  14995. },
  14996. "models.ErmcpDeliveryGoods": {
  14997. "type": "object",
  14998. "properties": {
  14999. "agreeunit": {
  15000. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  15001. "type": "integer"
  15002. },
  15003. "areauserid": {
  15004. "description": "所属机构",
  15005. "type": "integer"
  15006. },
  15007. "auditflag": {
  15008. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  15009. "type": "integer"
  15010. },
  15011. "categoryid": {
  15012. "description": "类别ID(SEQ_WRCATEGORY)",
  15013. "type": "integer"
  15014. },
  15015. "deliverygoodscode": {
  15016. "description": "现货品种代码",
  15017. "type": "string"
  15018. },
  15019. "deliverygoodsid": {
  15020. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  15021. "type": "integer"
  15022. },
  15023. "deliverygoodsname": {
  15024. "description": "现货品种名称",
  15025. "type": "string"
  15026. },
  15027. "deliverygoodstype": {
  15028. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  15029. "type": "integer"
  15030. },
  15031. "dgstatus": {
  15032. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  15033. "type": "integer"
  15034. },
  15035. "enumdicname": {
  15036. "description": "现货品种单位名称",
  15037. "type": "string"
  15038. },
  15039. "goodsunitid": {
  15040. "description": "现货品种单位ID",
  15041. "type": "integer"
  15042. },
  15043. "isvalid": {
  15044. "description": "是否有效 - 0:无效 1:有效",
  15045. "type": "integer"
  15046. },
  15047. "qtydecimalplace": {
  15048. "description": "成交量小数位",
  15049. "type": "integer"
  15050. },
  15051. "remark": {
  15052. "description": "备注",
  15053. "type": "string"
  15054. },
  15055. "standardqty": {
  15056. "description": "标准数量(库位数量) [标准品特有]",
  15057. "type": "integer"
  15058. },
  15059. "standardqtyrange": {
  15060. "description": "标准数量偏差范围 [标准品特有]",
  15061. "type": "integer"
  15062. }
  15063. }
  15064. },
  15065. "models.ErmcpDeliveryGoodsDetail2": {
  15066. "type": "object",
  15067. "properties": {
  15068. "convertratio": {
  15069. "description": "套保系数(折算系数)",
  15070. "type": "number"
  15071. },
  15072. "data": {
  15073. "description": "现货商品基本信息(交割品种)",
  15074. "type": "object",
  15075. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15076. },
  15077. "gblist": {
  15078. "description": "品牌列表",
  15079. "type": "array",
  15080. "items": {
  15081. "$ref": "#/definitions/models.Ermcp3Brand"
  15082. }
  15083. },
  15084. "gmlist": {
  15085. "description": "品类列表(仓单标准)",
  15086. "type": "array",
  15087. "items": {
  15088. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15089. }
  15090. }
  15091. }
  15092. },
  15093. "models.ErmcpDeliveryGoodsDetailEx": {
  15094. "type": "object",
  15095. "properties": {
  15096. "data": {
  15097. "description": "现货商品基本信息(交割品种)",
  15098. "type": "object",
  15099. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15100. },
  15101. "gblist": {
  15102. "description": "品牌列表",
  15103. "type": "array",
  15104. "items": {
  15105. "$ref": "#/definitions/models.Ermcp3Brand"
  15106. }
  15107. },
  15108. "gmlist": {
  15109. "description": "品类列表(仓单标准)",
  15110. "type": "array",
  15111. "items": {
  15112. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15113. }
  15114. },
  15115. "mgList": {
  15116. "description": "套保列表",
  15117. "type": "array",
  15118. "items": {
  15119. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  15120. }
  15121. }
  15122. }
  15123. },
  15124. "models.ErmcpExposureDetailModel": {
  15125. "type": "object",
  15126. "properties": {
  15127. "areauserid": {
  15128. "description": "机构ID",
  15129. "type": "integer"
  15130. },
  15131. "changeQty": {
  15132. "description": "套保变动量",
  15133. "type": "number"
  15134. },
  15135. "contracttype": {
  15136. "description": "现货合同类型 - 1:采购 -1:销售",
  15137. "type": "integer"
  15138. },
  15139. "convertfactor": {
  15140. "description": "标仓系数",
  15141. "type": "number"
  15142. },
  15143. "convertratio": {
  15144. "description": "套保系数",
  15145. "type": "number"
  15146. },
  15147. "createtime": {
  15148. "description": "时间",
  15149. "type": "string"
  15150. },
  15151. "enumdicname": {
  15152. "description": "现货商品单位名称",
  15153. "type": "string"
  15154. },
  15155. "logtype": {
  15156. "description": "类型 - 1:套保计划 2:现货合同",
  15157. "type": "integer"
  15158. },
  15159. "middlegoodsId": {
  15160. "description": "套保商品id",
  15161. "type": "integer"
  15162. },
  15163. "middlegoodscode": {
  15164. "description": "套保商品代码",
  15165. "type": "string"
  15166. },
  15167. "middlegoodsname": {
  15168. "description": "套保商品名称",
  15169. "type": "string"
  15170. },
  15171. "qty": {
  15172. "description": "数量",
  15173. "type": "number"
  15174. },
  15175. "relateNo": {
  15176. "description": "现货合同/套保计划编号",
  15177. "type": "string"
  15178. },
  15179. "wrstandardcode": {
  15180. "description": "现货商品代码",
  15181. "type": "string"
  15182. },
  15183. "wrstandardid": {
  15184. "description": "现货商品ID",
  15185. "type": "integer"
  15186. },
  15187. "wrstandardname": {
  15188. "description": "现货商品名称",
  15189. "type": "string"
  15190. }
  15191. }
  15192. },
  15193. "models.ErmcpExposurePostion": {
  15194. "type": "object",
  15195. "properties": {
  15196. "agreeunit": {
  15197. "description": "合约单位",
  15198. "type": "string"
  15199. },
  15200. "areauserid": {
  15201. "description": "所属机构id",
  15202. "type": "integer"
  15203. },
  15204. "convertratio": {
  15205. "description": "期货品种系数(折算系数)",
  15206. "type": "number"
  15207. },
  15208. "curqty": {
  15209. "description": "当前持仓",
  15210. "type": "integer"
  15211. },
  15212. "diffhedgeqty": {
  15213. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  15214. "type": "number"
  15215. },
  15216. "diffqty": {
  15217. "description": "持仓变动量=当前持仓-昨日持仓",
  15218. "type": "integer"
  15219. },
  15220. "goodscode": {
  15221. "description": "商品代码",
  15222. "type": "string"
  15223. },
  15224. "goodsid": {
  15225. "description": "商品id",
  15226. "type": "integer"
  15227. },
  15228. "goodsname": {
  15229. "description": "商品名称",
  15230. "type": "string"
  15231. },
  15232. "middlegoodsid": {
  15233. "description": "套保商品id",
  15234. "type": "integer"
  15235. },
  15236. "ydqty": {
  15237. "description": "昨日持仓",
  15238. "type": "integer"
  15239. }
  15240. }
  15241. },
  15242. "models.ErmcpFuturesCompany": {
  15243. "type": "object",
  15244. "properties": {
  15245. "brokerid": {
  15246. "description": "经纪公司代码",
  15247. "type": "string"
  15248. },
  15249. "channeladdress": {
  15250. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  15251. "type": "string"
  15252. },
  15253. "channelid": {
  15254. "description": "对冲渠道ID",
  15255. "type": "string"
  15256. },
  15257. "createtime": {
  15258. "description": "创建时间",
  15259. "type": "string"
  15260. },
  15261. "creatorid": {
  15262. "description": "创建人",
  15263. "type": "string"
  15264. },
  15265. "fcid": {
  15266. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  15267. "type": "integer"
  15268. },
  15269. "fcname": {
  15270. "description": "期货公司名称",
  15271. "type": "string"
  15272. },
  15273. "isvalid": {
  15274. "description": "是否有效 - 0:无效 1:有效",
  15275. "type": "integer"
  15276. },
  15277. "mhpaddress": {
  15278. "description": "MHP服务地址(IP:Port)",
  15279. "type": "string"
  15280. },
  15281. "riskrulegroupid": {
  15282. "description": "风控规则组ID",
  15283. "type": "string"
  15284. },
  15285. "tradefeetmpid": {
  15286. "description": "手续费模板ID[TradeConfigTmpType为2]",
  15287. "type": "string"
  15288. },
  15289. "trademargintmpid": {
  15290. "description": "保证金模板ID [TradeConfigTmpType为1]",
  15291. "type": "string"
  15292. },
  15293. "traderatetmpid": {
  15294. "description": "汇率模板ID[TradeConfigTmpType为3]",
  15295. "type": "string"
  15296. },
  15297. "updatetime": {
  15298. "description": "更新时间",
  15299. "type": "string"
  15300. },
  15301. "updatorid": {
  15302. "description": "更新人",
  15303. "type": "string"
  15304. }
  15305. }
  15306. },
  15307. "models.ErmcpGGConvertCfg": {
  15308. "type": "object",
  15309. "properties": {
  15310. "convertratio": {
  15311. "description": "折算系数",
  15312. "type": "number"
  15313. },
  15314. "destgoodsgroupid": {
  15315. "description": "目标品种ID",
  15316. "type": "integer"
  15317. },
  15318. "dstcode": {
  15319. "description": "目录品种代码",
  15320. "type": "string"
  15321. },
  15322. "dstexchangecode": {
  15323. "description": "目标期货交易所",
  15324. "type": "string"
  15325. },
  15326. "dstname": {
  15327. "description": "目标品种名称",
  15328. "type": "string"
  15329. },
  15330. "dstunitid": {
  15331. "description": "目标品种单位ID",
  15332. "type": "integer"
  15333. },
  15334. "dstunitidname": {
  15335. "description": "目标品种单位名称",
  15336. "type": "string"
  15337. },
  15338. "modifytime": {
  15339. "description": "修改时间",
  15340. "type": "string"
  15341. },
  15342. "srccode": {
  15343. "description": "源品种代码",
  15344. "type": "string"
  15345. },
  15346. "srcexchangecode": {
  15347. "description": "源期货交易所",
  15348. "type": "string"
  15349. },
  15350. "srcgoodsgroupid": {
  15351. "description": "源品种ID",
  15352. "type": "integer"
  15353. },
  15354. "srcname": {
  15355. "description": "源品种名称",
  15356. "type": "string"
  15357. },
  15358. "srcunitid": {
  15359. "description": "源品种单位ID",
  15360. "type": "integer"
  15361. },
  15362. "srcunitidname": {
  15363. "description": "源品种单位名称",
  15364. "type": "string"
  15365. }
  15366. }
  15367. },
  15368. "models.ErmcpGoodsBrand": {
  15369. "type": "object",
  15370. "properties": {
  15371. "areauserid": {
  15372. "description": "所属机构",
  15373. "type": "integer"
  15374. },
  15375. "brandid": {
  15376. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  15377. "type": "integer"
  15378. },
  15379. "brandname": {
  15380. "description": "品牌名称",
  15381. "type": "string"
  15382. },
  15383. "createtime": {
  15384. "description": "创建时间",
  15385. "type": "string"
  15386. },
  15387. "creatorid": {
  15388. "description": "创建人",
  15389. "type": "integer"
  15390. },
  15391. "creatorsrc": {
  15392. "description": "创建人来源 - 1:管理端 2:终端",
  15393. "type": "integer"
  15394. },
  15395. "deliverygoodsid": {
  15396. "description": "现货品种ID",
  15397. "type": "integer"
  15398. },
  15399. "isvalid": {
  15400. "description": "是否有效 - 0:无效 1:有效",
  15401. "type": "integer"
  15402. },
  15403. "updatetime": {
  15404. "description": "更新时间",
  15405. "type": "string"
  15406. },
  15407. "updatorid": {
  15408. "description": "更新人",
  15409. "type": "integer"
  15410. },
  15411. "updatorsrc": {
  15412. "description": "更新人来源 - 1:管理端 2:终端",
  15413. "type": "integer"
  15414. },
  15415. "wrstandardid": {
  15416. "description": "现货商品ID",
  15417. "type": "integer"
  15418. }
  15419. }
  15420. },
  15421. "models.ErmcpGoodsModel": {
  15422. "type": "object",
  15423. "properties": {
  15424. "areauserid": {
  15425. "description": "所属机构",
  15426. "type": "integer"
  15427. },
  15428. "convertfactor": {
  15429. "description": "标仓系数",
  15430. "type": "number"
  15431. },
  15432. "createtime": {
  15433. "description": "创建时间",
  15434. "type": "string"
  15435. },
  15436. "creatorid": {
  15437. "description": "创建人",
  15438. "type": "integer"
  15439. },
  15440. "creatorsrc": {
  15441. "description": "创建人来源 - 1:管理端 2:终端",
  15442. "type": "integer"
  15443. },
  15444. "deliverygoodsid": {
  15445. "description": "现货品种ID",
  15446. "type": "integer"
  15447. },
  15448. "isvalid": {
  15449. "description": "是否有效 - 0:无效 1:有效",
  15450. "type": "integer"
  15451. },
  15452. "modelid": {
  15453. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  15454. "type": "integer"
  15455. },
  15456. "modelname": {
  15457. "description": "型号名称",
  15458. "type": "string"
  15459. },
  15460. "updatetime": {
  15461. "description": "更新时间",
  15462. "type": "string"
  15463. },
  15464. "updatorid": {
  15465. "description": "更新人",
  15466. "type": "integer"
  15467. },
  15468. "updatorsrc": {
  15469. "description": "更新人来源 - 1:管理端 2:终端",
  15470. "type": "integer"
  15471. },
  15472. "wrstandardid": {
  15473. "description": "现货商品ID",
  15474. "type": "integer"
  15475. }
  15476. }
  15477. },
  15478. "models.ErmcpHedgePosition": {
  15479. "type": "object",
  15480. "properties": {
  15481. "accountid": {
  15482. "description": "资金账号[外部母账户]",
  15483. "type": "integer"
  15484. },
  15485. "curbuyposition": {
  15486. "description": "期末买头寸",
  15487. "type": "integer"
  15488. },
  15489. "cursellposition": {
  15490. "description": "期末卖头寸",
  15491. "type": "integer"
  15492. },
  15493. "curtdbuyposition": {
  15494. "description": "期末今日买头寸",
  15495. "type": "integer"
  15496. },
  15497. "curtdsellposition": {
  15498. "description": "期末今日卖头寸",
  15499. "type": "integer"
  15500. },
  15501. "curydbuyposition": {
  15502. "description": "期末上日买头寸",
  15503. "type": "integer"
  15504. },
  15505. "curydsellposition": {
  15506. "description": "期末上日卖头寸",
  15507. "type": "integer"
  15508. },
  15509. "decreaseqty": {
  15510. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15511. "type": "integer"
  15512. },
  15513. "fretdbuyposition": {
  15514. "description": "冻结今日买头寸",
  15515. "type": "integer"
  15516. },
  15517. "fretdsellposition": {
  15518. "description": "冻结今日卖头寸",
  15519. "type": "integer"
  15520. },
  15521. "freydbuyposition": {
  15522. "description": "冻结上日买头寸",
  15523. "type": "integer"
  15524. },
  15525. "freydsellposition": {
  15526. "description": "冻结上日卖头寸",
  15527. "type": "integer"
  15528. },
  15529. "goodscode": {
  15530. "description": "商品代码",
  15531. "type": "string"
  15532. },
  15533. "goodsid": {
  15534. "description": "商品id",
  15535. "type": "integer"
  15536. },
  15537. "goodsname": {
  15538. "description": "商品名称",
  15539. "type": "string"
  15540. },
  15541. "hedgeaccountcode": {
  15542. "description": "对冲账号",
  15543. "type": "string"
  15544. },
  15545. "hedgegoodsid": {
  15546. "description": "对冲合约ID",
  15547. "type": "integer"
  15548. },
  15549. "increaseqty": {
  15550. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15551. "type": "integer"
  15552. },
  15553. "marketid": {
  15554. "description": "市场ID",
  15555. "type": "integer"
  15556. },
  15557. "relateduserid": {
  15558. "description": "关联用户id",
  15559. "type": "integer"
  15560. },
  15561. "totalcurqty": {
  15562. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15563. "type": "integer"
  15564. },
  15565. "totalydqty": {
  15566. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15567. "type": "integer"
  15568. },
  15569. "tradedate": {
  15570. "description": "交易日(yyyyMMdd)",
  15571. "type": "string"
  15572. },
  15573. "ydbuyposition": {
  15574. "description": "期初买头寸",
  15575. "type": "integer"
  15576. },
  15577. "ydsellposition": {
  15578. "description": "期初卖头寸",
  15579. "type": "integer"
  15580. }
  15581. }
  15582. },
  15583. "models.ErmcpHedgePositionDetail": {
  15584. "type": "object",
  15585. "properties": {
  15586. "buyorsell": {
  15587. "description": "买卖方向 0-买 1-卖",
  15588. "type": "integer"
  15589. },
  15590. "channelbuildtype": {
  15591. "description": "开平方向 1-建仓 2-平仓",
  15592. "type": "integer"
  15593. },
  15594. "goodscode": {
  15595. "description": "商品代码",
  15596. "type": "string"
  15597. },
  15598. "goodsname": {
  15599. "description": "商品名称",
  15600. "type": "string"
  15601. },
  15602. "hedgegoodsid": {
  15603. "description": "商品id",
  15604. "type": "integer"
  15605. },
  15606. "tradeqty": {
  15607. "description": "数量(成交数量)",
  15608. "type": "integer"
  15609. },
  15610. "tradetime": {
  15611. "description": "时间(成交时间)",
  15612. "type": "string"
  15613. }
  15614. }
  15615. },
  15616. "models.ErmcpHisExposure": {
  15617. "type": "object",
  15618. "properties": {
  15619. "needhedgeexposoure": {
  15620. "description": "应套保敞口",
  15621. "type": "number"
  15622. },
  15623. "reckondate": {
  15624. "description": "日照时期(yyyyMMdd)",
  15625. "type": "string"
  15626. },
  15627. "totalexposure": {
  15628. "description": "总敞口",
  15629. "type": "number"
  15630. }
  15631. }
  15632. },
  15633. "models.ErmcpHisExposureS": {
  15634. "type": "object",
  15635. "properties": {
  15636. "data": {
  15637. "description": "历史敞口",
  15638. "type": "array",
  15639. "items": {
  15640. "$ref": "#/definitions/models.ErmcpHisExposure"
  15641. }
  15642. },
  15643. "enumdicname": {
  15644. "description": "单位名称",
  15645. "type": "string"
  15646. },
  15647. "middlegoodscode": {
  15648. "description": "套保品种代码",
  15649. "type": "string"
  15650. },
  15651. "middlegoodsid": {
  15652. "description": "套保品种ID",
  15653. "type": "integer"
  15654. },
  15655. "middlegoodsname": {
  15656. "description": "套保品种名称",
  15657. "type": "string"
  15658. }
  15659. }
  15660. },
  15661. "models.ErmcpLoginTaAccount": {
  15662. "type": "object",
  15663. "properties": {
  15664. "accountid": {
  15665. "description": "账号id",
  15666. "type": "integer"
  15667. },
  15668. "accountname": {
  15669. "description": "账号名称",
  15670. "type": "string"
  15671. }
  15672. }
  15673. },
  15674. "models.ErmcpLoginUser": {
  15675. "type": "object",
  15676. "properties": {
  15677. "acclist": {
  15678. "description": "关联资金账号",
  15679. "type": "array",
  15680. "items": {
  15681. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  15682. }
  15683. },
  15684. "accountname": {
  15685. "description": "用户名称",
  15686. "type": "string"
  15687. },
  15688. "clientroleid": {
  15689. "description": "角色id(usertype=2)",
  15690. "type": "integer"
  15691. },
  15692. "createtime": {
  15693. "description": "创建时间",
  15694. "type": "string"
  15695. },
  15696. "logincode": {
  15697. "description": "登录代码",
  15698. "type": "string"
  15699. },
  15700. "loginid": {
  15701. "description": "登录id(LOGINID)",
  15702. "type": "integer"
  15703. },
  15704. "loginname": {
  15705. "description": "登录名称(loginaccount表中的accountname字段)",
  15706. "type": "string"
  15707. },
  15708. "loginstatus": {
  15709. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  15710. "type": "integer"
  15711. },
  15712. "memberuserid": {
  15713. "description": "所属会员id",
  15714. "type": "integer"
  15715. },
  15716. "mobile": {
  15717. "description": "手机号",
  15718. "type": "string"
  15719. },
  15720. "modifytime": {
  15721. "description": "修改时间",
  15722. "type": "string"
  15723. },
  15724. "password": {
  15725. "description": "密码(不可解密)",
  15726. "type": "string"
  15727. },
  15728. "rolename": {
  15729. "description": "角色名称",
  15730. "type": "string"
  15731. },
  15732. "rolestatus": {
  15733. "description": "角色状态 1-启用 2-停用",
  15734. "type": "integer"
  15735. },
  15736. "roletype": {
  15737. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  15738. "type": "string"
  15739. },
  15740. "userid": {
  15741. "description": "用户id",
  15742. "type": "integer"
  15743. },
  15744. "usertype": {
  15745. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  15746. "type": "integer"
  15747. }
  15748. }
  15749. },
  15750. "models.ErmcpLoginUserEx": {
  15751. "type": "object",
  15752. "properties": {
  15753. "accountstatus": {
  15754. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  15755. "type": "integer"
  15756. },
  15757. "mobile": {
  15758. "description": "手机号",
  15759. "type": "string"
  15760. },
  15761. "querytype": {
  15762. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  15763. "type": "integer"
  15764. },
  15765. "roleid": {
  15766. "description": "角色id(交易账户-\u003e用户id)",
  15767. "type": "integer"
  15768. },
  15769. "rolename": {
  15770. "description": "角色名称(交易账户-\u003e用户名称)",
  15771. "type": "string"
  15772. },
  15773. "userlist": {
  15774. "description": "用户列表",
  15775. "type": "array",
  15776. "items": {
  15777. "$ref": "#/definitions/models.ErmcpLoginUser"
  15778. }
  15779. },
  15780. "usertype": {
  15781. "description": "用户类型 2-机构 7-企业成员(云平台)",
  15782. "type": "integer"
  15783. }
  15784. }
  15785. },
  15786. "models.ErmcpMiddleGoodsChangeLog": {
  15787. "type": "object",
  15788. "properties": {
  15789. "aftervalue": {
  15790. "description": "变更后",
  15791. "type": "number"
  15792. },
  15793. "applyid": {
  15794. "description": "操作人",
  15795. "type": "integer"
  15796. },
  15797. "applyname": {
  15798. "description": "操作人名称",
  15799. "type": "string"
  15800. },
  15801. "applysrc": {
  15802. "description": "操作来源 - 1:管理端 2:终端",
  15803. "type": "integer"
  15804. },
  15805. "beforevalue": {
  15806. "description": "变更前",
  15807. "type": "number"
  15808. },
  15809. "changelogtype": {
  15810. "description": "变更流水类型 - 1:套保比率变更",
  15811. "type": "integer"
  15812. },
  15813. "handlestatus": {
  15814. "description": "处理状态",
  15815. "type": "integer"
  15816. },
  15817. "logdatetime": {
  15818. "description": "流水日期",
  15819. "type": "string"
  15820. },
  15821. "logid": {
  15822. "description": "流水ID",
  15823. "type": "integer"
  15824. },
  15825. "logremark": {
  15826. "description": "流水备注",
  15827. "type": "string"
  15828. },
  15829. "middlegoodsid": {
  15830. "description": "套保品种ID",
  15831. "type": "integer"
  15832. },
  15833. "tradedate": {
  15834. "description": "交易日(yyyyMMdd)",
  15835. "type": "string"
  15836. },
  15837. "updatetime": {
  15838. "description": "更新时间",
  15839. "type": "string"
  15840. }
  15841. }
  15842. },
  15843. "models.ErmcpMiddleGoodsDetail": {
  15844. "type": "object",
  15845. "properties": {
  15846. "cvList": {
  15847. "description": "期货品种折算列表",
  15848. "type": "array",
  15849. "items": {
  15850. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  15851. }
  15852. },
  15853. "mg": {
  15854. "description": "套保品种基本信息",
  15855. "type": "object",
  15856. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15857. },
  15858. "wrcList": {
  15859. "description": "现货品种列表(现货商品折算配置)",
  15860. "type": "array",
  15861. "items": {
  15862. "$ref": "#/definitions/models.WRSConverTDetail"
  15863. }
  15864. }
  15865. }
  15866. },
  15867. "models.ErmcpMiddleGoodsModel": {
  15868. "type": "object",
  15869. "properties": {
  15870. "areauserid": {
  15871. "description": "机构用户ID",
  15872. "type": "integer"
  15873. },
  15874. "createtime": {
  15875. "description": "修改时间",
  15876. "type": "string"
  15877. },
  15878. "enumdicname": {
  15879. "description": "单位名称",
  15880. "type": "string"
  15881. },
  15882. "evaluateratio": {
  15883. "description": "估价系数",
  15884. "type": "number"
  15885. },
  15886. "goodsgroupid": {
  15887. "description": "关联期货品种ID",
  15888. "type": "integer"
  15889. },
  15890. "goodsunitid": {
  15891. "description": "单位ID",
  15892. "type": "integer"
  15893. },
  15894. "isvalid": {
  15895. "description": "状态 0-无效(停用) 1-有效(正常)",
  15896. "type": "integer"
  15897. },
  15898. "middlegoodscode": {
  15899. "description": "套保品种代码",
  15900. "type": "string"
  15901. },
  15902. "middlegoodsid": {
  15903. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15904. "type": "integer"
  15905. },
  15906. "middlegoodsname": {
  15907. "description": "套保品种名称",
  15908. "type": "string"
  15909. },
  15910. "modifytime": {
  15911. "description": "修改时间",
  15912. "type": "string"
  15913. },
  15914. "needhedgeratio": {
  15915. "description": "套保比率",
  15916. "type": "number"
  15917. },
  15918. "qtydecimalplace": {
  15919. "description": "数量小数位",
  15920. "type": "integer"
  15921. },
  15922. "relatedgoodsid": {
  15923. "description": "关联交易商品ID",
  15924. "type": "integer"
  15925. },
  15926. "relatedgoodstype": {
  15927. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  15928. "type": "integer"
  15929. },
  15930. "remark": {
  15931. "description": "备注",
  15932. "type": "string"
  15933. }
  15934. }
  15935. },
  15936. "models.ErmcpOPLogModel": {
  15937. "type": "object",
  15938. "properties": {
  15939. "aftervalue": {
  15940. "description": "变更后",
  15941. "type": "number"
  15942. },
  15943. "applyid": {
  15944. "description": "操作人ID",
  15945. "type": "string"
  15946. },
  15947. "applyname": {
  15948. "description": "操作人名称",
  15949. "type": "string"
  15950. },
  15951. "beforevalue": {
  15952. "description": "变更前",
  15953. "type": "number"
  15954. },
  15955. "biztype": {
  15956. "description": "业务类型 - 1:套保计划 2:现货合同",
  15957. "type": "integer"
  15958. },
  15959. "contracttype": {
  15960. "description": "现货合同类型 - 1:采购 -1:销售",
  15961. "type": "integer"
  15962. },
  15963. "logvalue": {
  15964. "description": "数值",
  15965. "type": "number"
  15966. },
  15967. "operatelogtype": {
  15968. "description": "操作流水类型",
  15969. "type": "integer"
  15970. },
  15971. "operatelogtypedesc": {
  15972. "description": "操作流水类型名称",
  15973. "type": "string"
  15974. },
  15975. "relatedid": {
  15976. "description": "现货合同ID\\套保计划",
  15977. "type": "string"
  15978. },
  15979. "updatetime": {
  15980. "description": "更新时间",
  15981. "type": "string"
  15982. }
  15983. }
  15984. },
  15985. "models.ErmcpPendingAudit": {
  15986. "type": "object",
  15987. "properties": {
  15988. "areastockqty": {
  15989. "description": "待审核数量: 库存申请",
  15990. "type": "integer"
  15991. },
  15992. "businessdjqty": {
  15993. "description": "待审核数量: 点价",
  15994. "type": "integer"
  15995. },
  15996. "businessfpqty": {
  15997. "description": "待审核数量: 发票",
  15998. "type": "integer"
  15999. },
  16000. "businessjsqty": {
  16001. "description": "待审核数量: 结算",
  16002. "type": "integer"
  16003. },
  16004. "businesskxqty": {
  16005. "description": "待审核数量: 款项",
  16006. "type": "integer"
  16007. },
  16008. "hedgeplanqty": {
  16009. "description": "待审核数量: 套保计划",
  16010. "type": "integer"
  16011. },
  16012. "spotcontractqty": {
  16013. "description": "待审核数量: 现货合同",
  16014. "type": "integer"
  16015. },
  16016. "userqty": {
  16017. "description": "待审核数量: 用户",
  16018. "type": "integer"
  16019. }
  16020. }
  16021. },
  16022. "models.ErmcpRealExposureModel": {
  16023. "type": "object",
  16024. "properties": {
  16025. "AreaUserID": {
  16026. "description": "所属机构",
  16027. "type": "integer"
  16028. },
  16029. "BuyFutureQty": {
  16030. "description": "买入期货数量",
  16031. "type": "number"
  16032. },
  16033. "BuyPlanQty": {
  16034. "description": "采购计划数量",
  16035. "type": "number"
  16036. },
  16037. "BuyPricedQty": {
  16038. "description": "采购合同已定价数量",
  16039. "type": "number"
  16040. },
  16041. "MiddleGoodsCode": {
  16042. "description": "套保品种代码",
  16043. "type": "string"
  16044. },
  16045. "MiddleGoodsHedgeRatio": {
  16046. "description": "应套保比例",
  16047. "type": "number"
  16048. },
  16049. "MiddleGoodsID": {
  16050. "description": "套保品种",
  16051. "type": "integer"
  16052. },
  16053. "MiddleGoodsName": {
  16054. "description": "套保品种名称",
  16055. "type": "string"
  16056. },
  16057. "NeedHedgeExposoure": {
  16058. "description": "应套保敞口",
  16059. "type": "number"
  16060. },
  16061. "NeedHedgeRatio": {
  16062. "description": "应套保敞口比例",
  16063. "type": "number"
  16064. },
  16065. "OriBuyFutureQty": {
  16066. "description": "期初买入期货数量",
  16067. "type": "number"
  16068. },
  16069. "OriBuyPlanQty": {
  16070. "description": "期初采购计划数量",
  16071. "type": "number"
  16072. },
  16073. "OriBuyPricedQty": {
  16074. "description": "期初采购合同已定价数量",
  16075. "type": "number"
  16076. },
  16077. "OriSellFutureQty": {
  16078. "description": "期初卖出期货数量",
  16079. "type": "number"
  16080. },
  16081. "OriSellPlanQty": {
  16082. "description": "期初销售计划数量",
  16083. "type": "number"
  16084. },
  16085. "OriSellPricedQty": {
  16086. "description": "期初销售合同已定价数量",
  16087. "type": "number"
  16088. },
  16089. "SellFutureQty": {
  16090. "description": "卖出期货数量",
  16091. "type": "number"
  16092. },
  16093. "SellPlanQty": {
  16094. "description": "销售计划数量",
  16095. "type": "number"
  16096. },
  16097. "SellPricedQty": {
  16098. "description": "销售合同已定价数量",
  16099. "type": "number"
  16100. },
  16101. "TotalExposure": {
  16102. "description": "总敞口",
  16103. "type": "number"
  16104. },
  16105. "TotalFutureQty": {
  16106. "description": "期货数量",
  16107. "type": "number"
  16108. },
  16109. "TotalHedgeRatio": {
  16110. "description": "敞口比例",
  16111. "type": "number"
  16112. },
  16113. "TotalNeedHedgeQty": {
  16114. "description": "期货应套保量",
  16115. "type": "number"
  16116. },
  16117. "TotalSpotQty": {
  16118. "description": "现货数量",
  16119. "type": "number"
  16120. },
  16121. "arbitrageqty": {
  16122. "description": "套利量",
  16123. "type": "number"
  16124. },
  16125. "diffFutuQty": {
  16126. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  16127. "type": "number"
  16128. },
  16129. "diffSpotQty": {
  16130. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  16131. "type": "number"
  16132. },
  16133. "enumdicname": {
  16134. "description": "单位名称",
  16135. "type": "string"
  16136. },
  16137. "hedgeqty": {
  16138. "description": "套保量",
  16139. "type": "number"
  16140. },
  16141. "needarbitrageqty": {
  16142. "description": "应套利量",
  16143. "type": "number"
  16144. },
  16145. "needarbitrageratio": {
  16146. "description": "套利比例",
  16147. "type": "number"
  16148. },
  16149. "needhedgeqty": {
  16150. "description": "应套保量",
  16151. "type": "number"
  16152. },
  16153. "oriTotalFutuQty": {
  16154. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16155. "type": "number"
  16156. },
  16157. "oriTotalSpotQty": {
  16158. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16159. "type": "number"
  16160. }
  16161. }
  16162. },
  16163. "models.ErmcpRole": {
  16164. "type": "object",
  16165. "properties": {
  16166. "areauserid": {
  16167. "description": "所属机构",
  16168. "type": "integer"
  16169. },
  16170. "autoid": {
  16171. "description": "角色ID(自增ID)",
  16172. "type": "integer"
  16173. },
  16174. "modifierid": {
  16175. "description": "修改人(创建人)",
  16176. "type": "integer"
  16177. },
  16178. "modifiername": {
  16179. "description": "修改人名称",
  16180. "type": "string"
  16181. },
  16182. "modifytime": {
  16183. "description": "修改时间(创建时间)",
  16184. "type": "string"
  16185. },
  16186. "rolename": {
  16187. "description": "角色名称",
  16188. "type": "string"
  16189. },
  16190. "rolestatus": {
  16191. "description": "角色状态 - 1:启用 2:停用",
  16192. "type": "integer"
  16193. },
  16194. "roletype": {
  16195. "description": "角色类型 - 1- 管理端 2- 交易端",
  16196. "type": "integer"
  16197. }
  16198. }
  16199. },
  16200. "models.ErmcpRoleMenu": {
  16201. "type": "object",
  16202. "properties": {
  16203. "iconame": {
  16204. "description": "菜单图标",
  16205. "type": "string"
  16206. },
  16207. "ishadrole": {
  16208. "description": "是否有权限",
  16209. "type": "boolean"
  16210. },
  16211. "menutype": {
  16212. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  16213. "type": "integer"
  16214. },
  16215. "parentcode": {
  16216. "description": "上级资源代码",
  16217. "type": "string"
  16218. },
  16219. "remark": {
  16220. "description": "菜单备注",
  16221. "type": "string"
  16222. },
  16223. "resourcecode": {
  16224. "description": "菜单代码",
  16225. "type": "string"
  16226. },
  16227. "resourcelevel": {
  16228. "description": "级别",
  16229. "type": "integer"
  16230. },
  16231. "resourcename": {
  16232. "description": "菜单名称",
  16233. "type": "string"
  16234. },
  16235. "roleid": {
  16236. "description": "角色id",
  16237. "type": "integer"
  16238. },
  16239. "sort": {
  16240. "description": "排序",
  16241. "type": "integer"
  16242. },
  16243. "url": {
  16244. "description": "URL",
  16245. "type": "string"
  16246. },
  16247. "userid": {
  16248. "description": "用户id",
  16249. "type": "integer"
  16250. }
  16251. }
  16252. },
  16253. "models.ErmcpRoleMenuEx": {
  16254. "type": "object",
  16255. "properties": {
  16256. "menu": {
  16257. "description": "父级菜单",
  16258. "type": "object",
  16259. "$ref": "#/definitions/models.ErmcpRoleMenu"
  16260. },
  16261. "subMenu": {
  16262. "description": "子级菜单",
  16263. "type": "array",
  16264. "items": {
  16265. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  16266. }
  16267. }
  16268. }
  16269. },
  16270. "models.ErmcpTaAccount": {
  16271. "type": "object",
  16272. "properties": {
  16273. "accountid": {
  16274. "description": "账户id",
  16275. "type": "integer"
  16276. },
  16277. "accountname": {
  16278. "description": "账户名称",
  16279. "type": "string"
  16280. },
  16281. "currencyid": {
  16282. "description": "币种id",
  16283. "type": "integer"
  16284. },
  16285. "hedgeaccountcode": {
  16286. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  16287. "type": "string"
  16288. },
  16289. "ismain": {
  16290. "description": "是否主账户 0-否 1-是",
  16291. "type": "integer"
  16292. },
  16293. "parentaccountid": {
  16294. "description": "父账户id",
  16295. "type": "integer"
  16296. },
  16297. "relateduserid": {
  16298. "description": "关联userid",
  16299. "type": "integer"
  16300. },
  16301. "tradestatus": {
  16302. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16303. "type": "integer"
  16304. },
  16305. "userid": {
  16306. "description": "用户id",
  16307. "type": "integer"
  16308. }
  16309. }
  16310. },
  16311. "models.ErmcpTaAccountEx": {
  16312. "type": "object",
  16313. "properties": {
  16314. "mainAcc": {
  16315. "description": "主账号",
  16316. "type": "object",
  16317. "$ref": "#/definitions/models.ErmcpTaAccountM"
  16318. },
  16319. "subacclist": {
  16320. "description": "子账号列表",
  16321. "type": "array",
  16322. "items": {
  16323. "$ref": "#/definitions/models.ErmcpTaAccount"
  16324. }
  16325. }
  16326. }
  16327. },
  16328. "models.ErmcpTaAccountInfo": {
  16329. "type": "object",
  16330. "properties": {
  16331. "accountid": {
  16332. "description": "资金账户ID",
  16333. "type": "integer"
  16334. },
  16335. "accountname": {
  16336. "description": "账户名称",
  16337. "type": "string"
  16338. },
  16339. "balance": {
  16340. "description": "期初余额",
  16341. "type": "number"
  16342. },
  16343. "capitalbalance": {
  16344. "description": "本金余额[外部子账户实际出入金余额]",
  16345. "type": "number"
  16346. },
  16347. "closepl": {
  16348. "description": "今日平仓盈亏",
  16349. "type": "number"
  16350. },
  16351. "creditdecrease": {
  16352. "description": "今日授信减少",
  16353. "type": "number"
  16354. },
  16355. "creditincrease": {
  16356. "description": "今日授信增加",
  16357. "type": "number"
  16358. },
  16359. "curdebt": {
  16360. "description": "期末欠款",
  16361. "type": "number"
  16362. },
  16363. "currencyid": {
  16364. "description": "货币ID",
  16365. "type": "integer"
  16366. },
  16367. "currentbalance": {
  16368. "description": "期末余额",
  16369. "type": "number"
  16370. },
  16371. "freezecharge": {
  16372. "description": "手续费冻结",
  16373. "type": "number"
  16374. },
  16375. "freezemargin": {
  16376. "description": "冻结保证金",
  16377. "type": "number"
  16378. },
  16379. "fromaccountid": {
  16380. "description": "所属上级账户",
  16381. "type": "integer"
  16382. },
  16383. "inamount": {
  16384. "description": "今日入金金额(包括三方入金)",
  16385. "type": "number"
  16386. },
  16387. "ismain": {
  16388. "description": "是否母账号 0:不是母账户 1:是母账户",
  16389. "type": "integer"
  16390. },
  16391. "mortgagecredit": {
  16392. "description": "授信金额",
  16393. "type": "number"
  16394. },
  16395. "oridebt": {
  16396. "description": "期初欠款",
  16397. "type": "number"
  16398. },
  16399. "orifreezecharge": {
  16400. "description": "期初手续费冻结",
  16401. "type": "number"
  16402. },
  16403. "orifreezemargin": {
  16404. "description": "期初冻结保证金",
  16405. "type": "number"
  16406. },
  16407. "orimortgagecredit": {
  16408. "description": "期初授信金额",
  16409. "type": "number"
  16410. },
  16411. "oriothercredit": {
  16412. "description": "期初其它授信金额",
  16413. "type": "number"
  16414. },
  16415. "oriotherfreezemargin": {
  16416. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16417. "type": "number"
  16418. },
  16419. "orioutamountfreeze": {
  16420. "description": "期初出金冻结",
  16421. "type": "number"
  16422. },
  16423. "oriusedmargin": {
  16424. "description": "期初占用保证金",
  16425. "type": "number"
  16426. },
  16427. "othercredit": {
  16428. "description": "其它授信金额",
  16429. "type": "number"
  16430. },
  16431. "othercreditdecrease": {
  16432. "description": "今日其它授信减少",
  16433. "type": "number"
  16434. },
  16435. "othercreditincrease": {
  16436. "description": "今日其它授信增加",
  16437. "type": "number"
  16438. },
  16439. "otherfreezemargin": {
  16440. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16441. "type": "number"
  16442. },
  16443. "outamount": {
  16444. "description": "今日出金金额(包括三方出金)",
  16445. "type": "number"
  16446. },
  16447. "outamountfreeze": {
  16448. "description": "出金冻结",
  16449. "type": "number"
  16450. },
  16451. "outthreshold": {
  16452. "description": "出金阈值",
  16453. "type": "number"
  16454. },
  16455. "parentaccountid": {
  16456. "description": "所属根账号",
  16457. "type": "integer"
  16458. },
  16459. "paycharge": {
  16460. "description": "今日手续费支出",
  16461. "type": "number"
  16462. },
  16463. "relateduserid": {
  16464. "description": "关联用户",
  16465. "type": "integer"
  16466. },
  16467. "signstatus": {
  16468. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  16469. "type": "integer"
  16470. },
  16471. "sublevelpath": {
  16472. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  16473. "type": "string"
  16474. },
  16475. "taaccounttype": {
  16476. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16477. "type": "integer"
  16478. },
  16479. "thirdinamount": {
  16480. "description": "今日三方入金",
  16481. "type": "number"
  16482. },
  16483. "thirdoutamount": {
  16484. "description": "今日三方出金",
  16485. "type": "number"
  16486. },
  16487. "tradestatus": {
  16488. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16489. "type": "integer"
  16490. },
  16491. "transferamount": {
  16492. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  16493. "type": "number"
  16494. },
  16495. "usedmargin": {
  16496. "description": "占用保证金",
  16497. "type": "number"
  16498. },
  16499. "userid": {
  16500. "description": "用户ID",
  16501. "type": "integer"
  16502. }
  16503. }
  16504. },
  16505. "models.ErmcpTaAccountM": {
  16506. "type": "object",
  16507. "properties": {
  16508. "accountid": {
  16509. "description": "账户id",
  16510. "type": "integer"
  16511. },
  16512. "accountname": {
  16513. "description": "账户名称",
  16514. "type": "string"
  16515. },
  16516. "currencyid": {
  16517. "description": "币种id",
  16518. "type": "integer"
  16519. },
  16520. "fcid": {
  16521. "description": "期货公司id",
  16522. "type": "integer"
  16523. },
  16524. "fcname": {
  16525. "description": "期货公司代码",
  16526. "type": "string"
  16527. },
  16528. "hedgeaccountcode": {
  16529. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  16530. "type": "string"
  16531. },
  16532. "ismain": {
  16533. "description": "是否主账户 0-否 1-是",
  16534. "type": "integer"
  16535. },
  16536. "parentaccountid": {
  16537. "description": "父账户id",
  16538. "type": "integer"
  16539. },
  16540. "relateduserid": {
  16541. "description": "关联userid",
  16542. "type": "integer"
  16543. },
  16544. "tradestatus": {
  16545. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16546. "type": "integer"
  16547. },
  16548. "userid": {
  16549. "description": "用户id",
  16550. "type": "integer"
  16551. }
  16552. }
  16553. },
  16554. "models.ErmcpTradeConfigTMP": {
  16555. "type": "object",
  16556. "properties": {
  16557. "areauserid": {
  16558. "description": "所属机构",
  16559. "type": "integer"
  16560. },
  16561. "basiccurrencyid": {
  16562. "description": "基本币种ID[汇率] - 目标币种",
  16563. "type": "integer"
  16564. },
  16565. "mainaccountid": {
  16566. "description": "主账户ID",
  16567. "type": "integer"
  16568. },
  16569. "modifierid": {
  16570. "description": "修改人",
  16571. "type": "integer"
  16572. },
  16573. "remark": {
  16574. "description": "备注",
  16575. "type": "string"
  16576. },
  16577. "tradeconfigtmpid": {
  16578. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  16579. "type": "integer"
  16580. },
  16581. "tradeconfigtmpname": {
  16582. "description": "交易配置模板名称",
  16583. "type": "string"
  16584. },
  16585. "tradeconfigtmptype": {
  16586. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  16587. "type": "integer"
  16588. },
  16589. "updatetime": {
  16590. "description": "更新时间",
  16591. "type": "string"
  16592. }
  16593. }
  16594. },
  16595. "models.ErmcpUserModel": {
  16596. "type": "object",
  16597. "properties": {
  16598. "address": {
  16599. "description": "通讯地址",
  16600. "type": "string"
  16601. },
  16602. "attachment1": {
  16603. "description": "附件1",
  16604. "type": "string"
  16605. },
  16606. "audittime": {
  16607. "description": "审核时间",
  16608. "type": "string"
  16609. },
  16610. "cardbackphotourl": {
  16611. "description": "证件反面图片地址",
  16612. "type": "string"
  16613. },
  16614. "cardfrontphotourl": {
  16615. "description": "证件正面图片地址",
  16616. "type": "string"
  16617. },
  16618. "cardnum": {
  16619. "description": "证件号码",
  16620. "type": "string"
  16621. },
  16622. "cardtype": {
  16623. "description": "证件类型",
  16624. "type": "integer"
  16625. },
  16626. "cardtypename": {
  16627. "description": "证件类型名称",
  16628. "type": "string"
  16629. },
  16630. "cityid": {
  16631. "description": "市",
  16632. "type": "integer"
  16633. },
  16634. "contactname": {
  16635. "description": "联系人",
  16636. "type": "string"
  16637. },
  16638. "countryid": {
  16639. "description": "国家",
  16640. "type": "integer"
  16641. },
  16642. "createtime": {
  16643. "description": "创建时间",
  16644. "type": "string"
  16645. },
  16646. "customername": {
  16647. "description": "企业名称",
  16648. "type": "string"
  16649. },
  16650. "districtid": {
  16651. "description": "区域",
  16652. "type": "integer"
  16653. },
  16654. "email": {
  16655. "description": "邮件",
  16656. "type": "string"
  16657. },
  16658. "legalpersonname": {
  16659. "description": "法人姓名(企业)",
  16660. "type": "string"
  16661. },
  16662. "memberuserid": {
  16663. "description": "所属机构ID",
  16664. "type": "integer"
  16665. },
  16666. "mobile": {
  16667. "description": "手机号码",
  16668. "type": "string"
  16669. },
  16670. "modifytime": {
  16671. "description": "修改时间",
  16672. "type": "string"
  16673. },
  16674. "nickname": {
  16675. "description": "昵称",
  16676. "type": "string"
  16677. },
  16678. "provinceid": {
  16679. "description": "省",
  16680. "type": "integer"
  16681. },
  16682. "remark": {
  16683. "description": "备注",
  16684. "type": "string"
  16685. },
  16686. "status": {
  16687. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16688. "type": "integer"
  16689. },
  16690. "statusdesc": {
  16691. "description": "账户状态中文描述",
  16692. "type": "string"
  16693. },
  16694. "taxpayernum": {
  16695. "description": "纳税人识别号",
  16696. "type": "string"
  16697. },
  16698. "telphone": {
  16699. "description": "联系电话",
  16700. "type": "string"
  16701. },
  16702. "userid": {
  16703. "description": "用户ID",
  16704. "type": "integer"
  16705. },
  16706. "userinfotype": {
  16707. "description": "客户类型",
  16708. "type": "string"
  16709. }
  16710. }
  16711. },
  16712. "models.ErmcpWareHouseInfo": {
  16713. "type": "object",
  16714. "properties": {
  16715. "address": {
  16716. "description": "详细地址",
  16717. "type": "string"
  16718. },
  16719. "areauserid": {
  16720. "description": "所属机构",
  16721. "type": "integer"
  16722. },
  16723. "autoid": {
  16724. "description": "自增ID(仓库ID)",
  16725. "type": "integer"
  16726. },
  16727. "cityid": {
  16728. "description": "市",
  16729. "type": "integer"
  16730. },
  16731. "contactname": {
  16732. "description": "联系人",
  16733. "type": "string"
  16734. },
  16735. "contactnum": {
  16736. "description": "联系电话",
  16737. "type": "string"
  16738. },
  16739. "countryid": {
  16740. "description": "国家",
  16741. "type": "integer"
  16742. },
  16743. "createtime": {
  16744. "description": "创建时间",
  16745. "type": "string"
  16746. },
  16747. "districtid": {
  16748. "description": "区",
  16749. "type": "integer"
  16750. },
  16751. "hasvideo": {
  16752. "description": "是否有视频 - 0:无 1:有",
  16753. "type": "integer"
  16754. },
  16755. "provinceid": {
  16756. "description": "省",
  16757. "type": "integer"
  16758. },
  16759. "remark": {
  16760. "description": "审核备注",
  16761. "type": "string"
  16762. },
  16763. "videourl": {
  16764. "description": "视频地址",
  16765. "type": "string"
  16766. },
  16767. "warehousecode": {
  16768. "description": "仓库代码",
  16769. "type": "string"
  16770. },
  16771. "warehousename": {
  16772. "description": "仓库名称",
  16773. "type": "string"
  16774. },
  16775. "warehousestatus": {
  16776. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16777. "type": "integer"
  16778. },
  16779. "warehousetype": {
  16780. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16781. "type": "integer"
  16782. }
  16783. }
  16784. },
  16785. "models.Externalexchange": {
  16786. "type": "object",
  16787. "required": [
  16788. "autoid"
  16789. ],
  16790. "properties": {
  16791. "autoid": {
  16792. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  16793. "type": "integer"
  16794. },
  16795. "exchangefullname": {
  16796. "description": "外部交易所全称",
  16797. "type": "string"
  16798. },
  16799. "exexchangecode": {
  16800. "description": "外部交易所代码",
  16801. "type": "string"
  16802. },
  16803. "exexchangename": {
  16804. "description": "外部交易所名称(简称)",
  16805. "type": "string"
  16806. },
  16807. "ismarketprice": {
  16808. "description": "是否支持市价 - 0:不支持 1:支持",
  16809. "type": "integer"
  16810. },
  16811. "quotegear": {
  16812. "description": "行情档位(1-10)",
  16813. "type": "integer"
  16814. },
  16815. "showbrokerflag": {
  16816. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  16817. "type": "integer"
  16818. },
  16819. "updatetime": {
  16820. "description": "更新时间",
  16821. "type": "string"
  16822. }
  16823. }
  16824. },
  16825. "models.Funcmenulist": {
  16826. "type": "object",
  16827. "required": [
  16828. "resourcecode"
  16829. ],
  16830. "properties": {
  16831. "iconame": {
  16832. "description": "菜单图标",
  16833. "type": "string"
  16834. },
  16835. "menutype": {
  16836. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  16837. "type": "integer"
  16838. },
  16839. "parentcode": {
  16840. "description": "上级资源代码",
  16841. "type": "string"
  16842. },
  16843. "remark": {
  16844. "description": "备注",
  16845. "type": "string"
  16846. },
  16847. "resourcecode": {
  16848. "description": "资源代码",
  16849. "type": "string"
  16850. },
  16851. "resourcelevel": {
  16852. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  16853. "type": "integer"
  16854. },
  16855. "resourcename": {
  16856. "description": "资源名",
  16857. "type": "string"
  16858. },
  16859. "sort": {
  16860. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  16861. "type": "integer"
  16862. },
  16863. "url": {
  16864. "description": "URL",
  16865. "type": "string"
  16866. }
  16867. }
  16868. },
  16869. "models.Goods": {
  16870. "type": "object",
  16871. "required": [
  16872. "goodscode",
  16873. "goodsid",
  16874. "goodsname",
  16875. "marketid"
  16876. ],
  16877. "properties": {
  16878. "agreeunit": {
  16879. "description": "合约单位",
  16880. "type": "number"
  16881. },
  16882. "auditaccountid": {
  16883. "description": "审核操作员账号",
  16884. "type": "integer"
  16885. },
  16886. "audittime": {
  16887. "description": "审核时间",
  16888. "type": "string"
  16889. },
  16890. "cancelaccountid": {
  16891. "description": "注销操作员账号",
  16892. "type": "integer"
  16893. },
  16894. "canceltime": {
  16895. "description": "注销时间",
  16896. "type": "string"
  16897. },
  16898. "closepricemode": {
  16899. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16900. "type": "integer"
  16901. },
  16902. "closepriceparam": {
  16903. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  16904. "type": "number"
  16905. },
  16906. "createtime": {
  16907. "description": "创建时间",
  16908. "type": "string"
  16909. },
  16910. "creatorid": {
  16911. "description": "创建人",
  16912. "type": "integer"
  16913. },
  16914. "currencyid": {
  16915. "description": "报价货币ID",
  16916. "type": "integer"
  16917. },
  16918. "cutmode": {
  16919. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  16920. "type": "integer"
  16921. },
  16922. "decimalplace": {
  16923. "description": "报价小数位",
  16924. "type": "integer"
  16925. },
  16926. "delistingdate": {
  16927. "description": "商品退市时间(状态:退市) -- 已作废",
  16928. "type": "string"
  16929. },
  16930. "delistingmode": {
  16931. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  16932. "type": "integer"
  16933. },
  16934. "deliveryflag": {
  16935. "description": "交割标志 - 0:不可交割 1:可交割",
  16936. "type": "integer"
  16937. },
  16938. "forceclosemode": {
  16939. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  16940. "type": "integer"
  16941. },
  16942. "forceclosevalue": {
  16943. "description": "定期强平参数 [收益权]",
  16944. "type": "integer"
  16945. },
  16946. "goodscode": {
  16947. "description": "商品代码(内部)",
  16948. "type": "string"
  16949. },
  16950. "goodscurrencyid": {
  16951. "description": "合约货币ID",
  16952. "type": "integer"
  16953. },
  16954. "goodsgroupid": {
  16955. "description": "所属商品组ID",
  16956. "type": "integer"
  16957. },
  16958. "goodsid": {
  16959. "description": "商品ID(自增ID SEQ_GOODS)",
  16960. "type": "integer"
  16961. },
  16962. "goodsname": {
  16963. "description": "商品名称",
  16964. "type": "string"
  16965. },
  16966. "goodsquotetype": {
  16967. "description": "合约报价类型: 1-直接报价 2-间接报价",
  16968. "type": "integer"
  16969. },
  16970. "goodsstatus": {
  16971. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  16972. "type": "integer"
  16973. },
  16974. "goodstradetype": {
  16975. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  16976. "type": "integer"
  16977. },
  16978. "goodunitid": {
  16979. "description": "报价单位ID",
  16980. "type": "integer"
  16981. },
  16982. "hasquoter": {
  16983. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  16984. "type": "integer"
  16985. },
  16986. "hqprotecttime": {
  16987. "description": "行情保护时间(秒)",
  16988. "type": "integer"
  16989. },
  16990. "innerdealmode": {
  16991. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16992. "type": "integer"
  16993. },
  16994. "isbuylimited": {
  16995. "description": "是否限制建仓量 - 0:不限制 1:限制",
  16996. "type": "integer"
  16997. },
  16998. "lasttradedate": {
  16999. "description": "最后交易日期(状态:待退市)",
  17000. "type": "string"
  17001. },
  17002. "listingdate": {
  17003. "description": "交易开始日期",
  17004. "type": "string"
  17005. },
  17006. "marketid": {
  17007. "description": "所属市场ID",
  17008. "type": "integer"
  17009. },
  17010. "modifierid": {
  17011. "description": "修改人",
  17012. "type": "integer"
  17013. },
  17014. "modifystatus": {
  17015. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17016. "type": "integer"
  17017. },
  17018. "modifytime": {
  17019. "description": "修改时间",
  17020. "type": "string"
  17021. },
  17022. "outerdealmode": {
  17023. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17024. "type": "integer"
  17025. },
  17026. "outgoodscode": {
  17027. "description": "商品代码(外部)",
  17028. "type": "string"
  17029. },
  17030. "qtydecimalplace": {
  17031. "description": "成交量小数位",
  17032. "type": "integer"
  17033. },
  17034. "quotegear": {
  17035. "description": "行情档位(1-10)",
  17036. "type": "integer"
  17037. },
  17038. "quoteminunit": {
  17039. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17040. "type": "integer"
  17041. },
  17042. "quoteshowtype": {
  17043. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17044. "type": "integer"
  17045. },
  17046. "quoteshowtypeinterval": {
  17047. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17048. "type": "integer"
  17049. },
  17050. "remark": {
  17051. "description": "备注",
  17052. "type": "string"
  17053. }
  17054. }
  17055. },
  17056. "models.GoodsIDAndName": {
  17057. "type": "object",
  17058. "required": [
  17059. "goodscode",
  17060. "goodsid",
  17061. "goodsname",
  17062. "marketid"
  17063. ],
  17064. "properties": {
  17065. "goodscode": {
  17066. "description": "商品代码(内部)",
  17067. "type": "string"
  17068. },
  17069. "goodsid": {
  17070. "description": "商品ID(自增ID SEQ_GOODS)",
  17071. "type": "integer"
  17072. },
  17073. "goodsname": {
  17074. "description": "商品名称",
  17075. "type": "string"
  17076. },
  17077. "marketid": {
  17078. "description": "所属市场ID",
  17079. "type": "integer"
  17080. }
  17081. }
  17082. },
  17083. "models.Goodsgroup": {
  17084. "type": "object",
  17085. "required": [
  17086. "goodsgroupid",
  17087. "goodsgroupname",
  17088. "goodsgroupstatus",
  17089. "marketid"
  17090. ],
  17091. "properties": {
  17092. "agreeunit": {
  17093. "description": "合约单位",
  17094. "type": "number"
  17095. },
  17096. "canshort": {
  17097. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  17098. "type": "integer"
  17099. },
  17100. "closepricemode": {
  17101. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17102. "type": "integer"
  17103. },
  17104. "closepriceparam": {
  17105. "description": "强平最新价浮动比例 - 方式为2时使用",
  17106. "type": "number"
  17107. },
  17108. "createtime": {
  17109. "description": "创建时间",
  17110. "type": "string"
  17111. },
  17112. "creatorid": {
  17113. "description": "创建人",
  17114. "type": "integer"
  17115. },
  17116. "currencyid": {
  17117. "description": "报价货币ID",
  17118. "type": "integer"
  17119. },
  17120. "decimalplace": {
  17121. "description": "报价小数位",
  17122. "type": "integer"
  17123. },
  17124. "exercisetype": {
  17125. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  17126. "type": "integer"
  17127. },
  17128. "exexchangeid": {
  17129. "description": "外部交易所ID[通道交易]",
  17130. "type": "integer"
  17131. },
  17132. "goodsgroupid": {
  17133. "description": "商品组ID(自增ID)",
  17134. "type": "integer"
  17135. },
  17136. "goodsgroupname": {
  17137. "description": "商品组名称",
  17138. "type": "string"
  17139. },
  17140. "goodsgroupstatus": {
  17141. "description": "商品组状态 - 1:正常 2:注销",
  17142. "type": "integer"
  17143. },
  17144. "goodunitid": {
  17145. "description": "报价单位ID",
  17146. "type": "integer"
  17147. },
  17148. "innerdealmode": {
  17149. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17150. "type": "integer"
  17151. },
  17152. "isbuylimited": {
  17153. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17154. "type": "integer"
  17155. },
  17156. "marketid": {
  17157. "description": "所属市场ID",
  17158. "type": "integer"
  17159. },
  17160. "modifierid": {
  17161. "description": "修改人",
  17162. "type": "integer"
  17163. },
  17164. "modifytime": {
  17165. "description": "修改时间",
  17166. "type": "string"
  17167. },
  17168. "outerdealmode": {
  17169. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17170. "type": "integer"
  17171. },
  17172. "outergroupcode": {
  17173. "description": "外部商品组代码[通道交易]",
  17174. "type": "string"
  17175. },
  17176. "premiumdecimalplace": {
  17177. "description": "权利金小数位[场外期权]",
  17178. "type": "integer"
  17179. },
  17180. "premiumspreadalgorithm": {
  17181. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  17182. "type": "integer"
  17183. },
  17184. "premiumspreadvalue": {
  17185. "description": "权利金点差值[场外期权]",
  17186. "type": "number"
  17187. },
  17188. "qtydecimalplace": {
  17189. "description": "成交量小数位",
  17190. "type": "integer"
  17191. },
  17192. "quotegear": {
  17193. "description": "行情档位(1-10)",
  17194. "type": "integer"
  17195. },
  17196. "quoteminunit": {
  17197. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17198. "type": "integer"
  17199. },
  17200. "quoterid": {
  17201. "description": "报价商ID[场外期权]",
  17202. "type": "integer"
  17203. },
  17204. "quotesourcegroupid": {
  17205. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17206. "type": "integer"
  17207. },
  17208. "syncgoodsqty": {
  17209. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17210. "type": "integer"
  17211. }
  17212. }
  17213. },
  17214. "models.Goodssortbypreposition": {
  17215. "type": "object",
  17216. "required": [
  17217. "goodscode",
  17218. "tradedate"
  17219. ],
  17220. "properties": {
  17221. "goodscode": {
  17222. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  17223. "type": "string"
  17224. },
  17225. "goodsgroupcode": {
  17226. "description": "品种代码",
  17227. "type": "string"
  17228. },
  17229. "prepositionqty": {
  17230. "description": "昨持仓量",
  17231. "type": "integer"
  17232. },
  17233. "sortindex": {
  17234. "description": "排序",
  17235. "type": "integer"
  17236. },
  17237. "tradedate": {
  17238. "description": "交易日",
  17239. "type": "string"
  17240. },
  17241. "updatetime": {
  17242. "description": "更新时间",
  17243. "type": "string"
  17244. }
  17245. }
  17246. },
  17247. "models.Hedgeinnerholderdetail": {
  17248. "type": "object",
  17249. "required": [
  17250. "buyorsell",
  17251. "tradeid"
  17252. ],
  17253. "properties": {
  17254. "accountid": {
  17255. "description": "账号ID",
  17256. "type": "integer"
  17257. },
  17258. "buyorsell": {
  17259. "description": "方向 - 0:买 1:卖",
  17260. "type": "integer"
  17261. },
  17262. "freezeqty": {
  17263. "description": "冻结数量 - 按单平使用",
  17264. "type": "integer"
  17265. },
  17266. "goodsid": {
  17267. "description": "商品ID",
  17268. "type": "integer"
  17269. },
  17270. "holderamount": {
  17271. "description": "持仓金额 [商品币种]",
  17272. "type": "number"
  17273. },
  17274. "holderdays": {
  17275. "description": "剩余冻结天数",
  17276. "type": "integer"
  17277. },
  17278. "holderprice": {
  17279. "description": "持仓价格",
  17280. "type": "number"
  17281. },
  17282. "holderqty": {
  17283. "description": "持仓数量",
  17284. "type": "integer"
  17285. },
  17286. "marketid": {
  17287. "description": "市场ID",
  17288. "type": "integer"
  17289. },
  17290. "openprice": {
  17291. "description": "建仓价格",
  17292. "type": "number"
  17293. },
  17294. "openqty": {
  17295. "description": "建仓数量",
  17296. "type": "integer"
  17297. },
  17298. "parentaccountid": {
  17299. "description": "所属母账户",
  17300. "type": "integer"
  17301. },
  17302. "releaseamount": {
  17303. "description": "释放持仓金额[商品币种]",
  17304. "type": "number"
  17305. },
  17306. "tradeamount": {
  17307. "description": "成交金额[账户]",
  17308. "type": "number"
  17309. },
  17310. "tradedate": {
  17311. "description": "交易日(yyyyMMdd)",
  17312. "type": "string"
  17313. },
  17314. "tradeid": {
  17315. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17316. "type": "string"
  17317. },
  17318. "tradetime": {
  17319. "description": "交易时间",
  17320. "type": "string"
  17321. }
  17322. }
  17323. },
  17324. "models.Hedgemarketopenlog": {
  17325. "type": "object",
  17326. "required": [
  17327. "accountid"
  17328. ],
  17329. "properties": {
  17330. "accountid": {
  17331. "description": "资金账号[外部母账户]",
  17332. "type": "integer"
  17333. },
  17334. "fcname": {
  17335. "description": "期货公司名称",
  17336. "type": "string"
  17337. },
  17338. "handlestatus": {
  17339. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  17340. "type": "integer"
  17341. },
  17342. "marketid": {
  17343. "description": "市场ID",
  17344. "type": "integer"
  17345. },
  17346. "status": {
  17347. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  17348. "type": "integer"
  17349. },
  17350. "tradedate": {
  17351. "description": "交易日(yyyyMMdd)",
  17352. "type": "string"
  17353. },
  17354. "updatetime": {
  17355. "description": "更新时间",
  17356. "type": "string"
  17357. }
  17358. }
  17359. },
  17360. "models.HsbyBuyMyPayOrder": {
  17361. "type": "object",
  17362. "required": [
  17363. "goodscode",
  17364. "goodsname",
  17365. "tradeid",
  17366. "trademode"
  17367. ],
  17368. "properties": {
  17369. "agreeunit": {
  17370. "description": "合约单位",
  17371. "type": "number"
  17372. },
  17373. "buyaccountid": {
  17374. "description": "买方账号ID[报价币种]",
  17375. "type": "integer"
  17376. },
  17377. "buyorderid": {
  17378. "description": "买方委托单号",
  17379. "type": "string"
  17380. },
  17381. "createtime": {
  17382. "description": "创建时间",
  17383. "type": "string"
  17384. },
  17385. "currencysign": {
  17386. "description": "货币符号",
  17387. "type": "string"
  17388. },
  17389. "decimalplace": {
  17390. "description": "报价小数位",
  17391. "type": "integer"
  17392. },
  17393. "goodscode": {
  17394. "description": "商品代码(内部)",
  17395. "type": "string"
  17396. },
  17397. "goodsid": {
  17398. "description": "商品ID",
  17399. "type": "integer"
  17400. },
  17401. "goodsname": {
  17402. "description": "商品名称",
  17403. "type": "string"
  17404. },
  17405. "marketid": {
  17406. "description": "市场ID",
  17407. "type": "integer"
  17408. },
  17409. "offamount": {
  17410. "description": "优惠金额",
  17411. "type": "number"
  17412. },
  17413. "originalamount": {
  17414. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  17415. "type": "number"
  17416. },
  17417. "payamount": {
  17418. "description": "支付金额 = TradeAmount + TradeCharge",
  17419. "type": "number"
  17420. },
  17421. "payflag": {
  17422. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  17423. "type": "integer"
  17424. },
  17425. "paylimitedtime": {
  17426. "description": "支付期限",
  17427. "type": "string"
  17428. },
  17429. "paytime": {
  17430. "description": "付款时间",
  17431. "type": "string"
  17432. },
  17433. "picurls1": {
  17434. "description": "预售商品介绍图片[多张用逗号分隔]",
  17435. "type": "string"
  17436. },
  17437. "picurls2": {
  17438. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17439. "type": "string"
  17440. },
  17441. "sellaccountid": {
  17442. "description": "卖方账号ID[报价币种]",
  17443. "type": "integer"
  17444. },
  17445. "sellorderid": {
  17446. "description": "卖方委托单号",
  17447. "type": "string"
  17448. },
  17449. "tradeamount": {
  17450. "description": "成交金额",
  17451. "type": "number"
  17452. },
  17453. "tradecharge": {
  17454. "description": "成交手续费(买方)",
  17455. "type": "number"
  17456. },
  17457. "tradedate": {
  17458. "description": "交易日(yyyyMMdd)",
  17459. "type": "string"
  17460. },
  17461. "tradeid": {
  17462. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17463. "type": "string"
  17464. },
  17465. "trademode": {
  17466. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17467. "type": "integer"
  17468. },
  17469. "tradeprice": {
  17470. "description": "成交价格",
  17471. "type": "number"
  17472. },
  17473. "tradeqty": {
  17474. "description": "成交数量",
  17475. "type": "integer"
  17476. },
  17477. "vendorname1": {
  17478. "description": "预售商品供应商名称",
  17479. "type": "string"
  17480. },
  17481. "vendorname2": {
  17482. "description": "挂牌商品供应商名称",
  17483. "type": "string"
  17484. }
  17485. }
  17486. },
  17487. "models.HsbyBuyMyTradeDetail": {
  17488. "type": "object",
  17489. "required": [
  17490. "accountid",
  17491. "buyorsell",
  17492. "goodscode",
  17493. "goodsid",
  17494. "goodsname",
  17495. "marketid",
  17496. "orderid",
  17497. "qty",
  17498. "time",
  17499. "trademode"
  17500. ],
  17501. "properties": {
  17502. "accountid": {
  17503. "description": "账户ID[报价币种]",
  17504. "type": "integer"
  17505. },
  17506. "agreeunit": {
  17507. "description": "合约单位",
  17508. "type": "number"
  17509. },
  17510. "amount": {
  17511. "description": "金额 = 价格 * 数量 * 合约单位",
  17512. "type": "number"
  17513. },
  17514. "buyorsell": {
  17515. "description": "买卖 - 0:买 1:卖",
  17516. "type": "integer"
  17517. },
  17518. "currencysign": {
  17519. "description": "货币符号",
  17520. "type": "string"
  17521. },
  17522. "decimalplace": {
  17523. "description": "报价小数位",
  17524. "type": "integer"
  17525. },
  17526. "goodscode": {
  17527. "description": "商品代码(内部)",
  17528. "type": "string"
  17529. },
  17530. "goodsid": {
  17531. "description": "商品ID",
  17532. "type": "integer"
  17533. },
  17534. "goodsname": {
  17535. "description": "商品名称",
  17536. "type": "string"
  17537. },
  17538. "marketid": {
  17539. "description": "市场ID",
  17540. "type": "integer"
  17541. },
  17542. "orderamount": {
  17543. "description": "委托金额",
  17544. "type": "number"
  17545. },
  17546. "orderid": {
  17547. "description": "单号(成交单号)",
  17548. "type": "string"
  17549. },
  17550. "picurls1": {
  17551. "description": "预售商品介绍图片[多张用逗号分隔]",
  17552. "type": "string"
  17553. },
  17554. "picurls2": {
  17555. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17556. "type": "string"
  17557. },
  17558. "price": {
  17559. "description": "价格",
  17560. "type": "number"
  17561. },
  17562. "qty": {
  17563. "description": "数量",
  17564. "type": "integer"
  17565. },
  17566. "time": {
  17567. "description": "时间",
  17568. "type": "string"
  17569. },
  17570. "trademode": {
  17571. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17572. "type": "integer"
  17573. },
  17574. "vendorname1": {
  17575. "description": "预售商品供应商名称",
  17576. "type": "string"
  17577. },
  17578. "vendorname2": {
  17579. "description": "挂牌商品供应商名称",
  17580. "type": "string"
  17581. }
  17582. }
  17583. },
  17584. "models.HsbyGoodsOrderDetail": {
  17585. "type": "object",
  17586. "required": [
  17587. "buyorsell",
  17588. "orderid",
  17589. "ordertime"
  17590. ],
  17591. "properties": {
  17592. "buyorsell": {
  17593. "description": "买卖 - 0:买 1:卖",
  17594. "type": "integer"
  17595. },
  17596. "currencysign": {
  17597. "description": "货币符号",
  17598. "type": "string"
  17599. },
  17600. "customername": {
  17601. "description": "客户名称(企业名称),已脱敏",
  17602. "type": "string"
  17603. },
  17604. "enableqty": {
  17605. "description": "可用数量",
  17606. "type": "integer"
  17607. },
  17608. "goodunit": {
  17609. "description": "报价单位",
  17610. "type": "string"
  17611. },
  17612. "orderid": {
  17613. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17614. "type": "string"
  17615. },
  17616. "orderprice": {
  17617. "description": "委托价格",
  17618. "type": "number"
  17619. },
  17620. "ordertime": {
  17621. "description": "委托时间",
  17622. "type": "string"
  17623. }
  17624. }
  17625. },
  17626. "models.HsbyListingGoodsDetail": {
  17627. "type": "object",
  17628. "required": [
  17629. "goodscode",
  17630. "goodsid",
  17631. "goodsname",
  17632. "marketid",
  17633. "trademode"
  17634. ],
  17635. "properties": {
  17636. "agreeunit": {
  17637. "description": "合约单位",
  17638. "type": "number"
  17639. },
  17640. "buymaxqty": {
  17641. "description": "购买上限 [71] - 0为不限",
  17642. "type": "integer"
  17643. },
  17644. "currency": {
  17645. "description": "货币",
  17646. "type": "string"
  17647. },
  17648. "currencysign": {
  17649. "description": "货币符号",
  17650. "type": "string"
  17651. },
  17652. "decimalplace": {
  17653. "description": "报价小数位",
  17654. "type": "integer"
  17655. },
  17656. "desccityid": {
  17657. "description": "目的地(市)ID",
  17658. "type": "integer"
  17659. },
  17660. "descprovinceid": {
  17661. "description": "目的地(省)ID",
  17662. "type": "integer"
  17663. },
  17664. "goodscode": {
  17665. "description": "商品代码(内部)",
  17666. "type": "string"
  17667. },
  17668. "goodsdesc": {
  17669. "description": "商品详情",
  17670. "type": "string"
  17671. },
  17672. "goodsid": {
  17673. "description": "商品ID(自增ID SEQ_GOODS)",
  17674. "type": "integer"
  17675. },
  17676. "goodsname": {
  17677. "description": "商品名称",
  17678. "type": "string"
  17679. },
  17680. "goodsprice": {
  17681. "description": "商品价格",
  17682. "type": "number"
  17683. },
  17684. "hotindex": {
  17685. "description": "景点热度",
  17686. "type": "integer"
  17687. },
  17688. "last": {
  17689. "description": "现价",
  17690. "type": "number"
  17691. },
  17692. "limitdown": {
  17693. "description": "跌停价",
  17694. "type": "number"
  17695. },
  17696. "limitup": {
  17697. "description": "涨停价",
  17698. "type": "number"
  17699. },
  17700. "lotsize": {
  17701. "description": "手数最小变动单位",
  17702. "type": "integer"
  17703. },
  17704. "marketid": {
  17705. "description": "所属市场ID",
  17706. "type": "integer"
  17707. },
  17708. "picurls": {
  17709. "description": "介绍图片[多张用逗号分隔]",
  17710. "type": "string"
  17711. },
  17712. "quoteminunit": {
  17713. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17714. "type": "integer"
  17715. },
  17716. "stepvalue": {
  17717. "description": "价格最小变动单位",
  17718. "type": "number"
  17719. },
  17720. "trademode": {
  17721. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17722. "type": "integer"
  17723. },
  17724. "vendorattr": {
  17725. "description": "供应商附件(多张,逗号分隔)",
  17726. "type": "string"
  17727. },
  17728. "vendorname": {
  17729. "description": "供应商名称",
  17730. "type": "string"
  17731. },
  17732. "vendorphone": {
  17733. "description": "供应商客服电话",
  17734. "type": "string"
  17735. },
  17736. "videourls": {
  17737. "description": "介绍视频[多张用逗号分隔]",
  17738. "type": "string"
  17739. }
  17740. }
  17741. },
  17742. "models.HsbyMarketGoods": {
  17743. "type": "object",
  17744. "required": [
  17745. "accountid",
  17746. "buyorsell",
  17747. "goodscode",
  17748. "goodsid",
  17749. "goodsname",
  17750. "marketid",
  17751. "orderid",
  17752. "trademode"
  17753. ],
  17754. "properties": {
  17755. "accountid": {
  17756. "description": "账户ID[报价币种]",
  17757. "type": "integer"
  17758. },
  17759. "agreeunit": {
  17760. "description": "合约单位",
  17761. "type": "number"
  17762. },
  17763. "buyorsell": {
  17764. "description": "买卖 - 0:买 1:卖",
  17765. "type": "integer"
  17766. },
  17767. "categoryid": {
  17768. "description": "类别ID(WRCATEGORY)",
  17769. "type": "integer"
  17770. },
  17771. "currency": {
  17772. "description": "货币",
  17773. "type": "string"
  17774. },
  17775. "currencysign": {
  17776. "description": "货币符号",
  17777. "type": "string"
  17778. },
  17779. "customername": {
  17780. "description": "卖家名称",
  17781. "type": "string"
  17782. },
  17783. "decimalplace": {
  17784. "description": "报价小数位",
  17785. "type": "integer"
  17786. },
  17787. "goodscode": {
  17788. "description": "商品代码(内部)",
  17789. "type": "string"
  17790. },
  17791. "goodsid": {
  17792. "description": "商品ID",
  17793. "type": "integer"
  17794. },
  17795. "goodsname": {
  17796. "description": "商品名称",
  17797. "type": "string"
  17798. },
  17799. "goodsprice": {
  17800. "description": "商品价格",
  17801. "type": "number"
  17802. },
  17803. "hascoupon": {
  17804. "description": "是否可用优惠卷",
  17805. "type": "boolean"
  17806. },
  17807. "hotindex": {
  17808. "description": "景点热度",
  17809. "type": "integer"
  17810. },
  17811. "marketid": {
  17812. "description": "市场ID",
  17813. "type": "integer"
  17814. },
  17815. "orderid": {
  17816. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17817. "type": "string"
  17818. },
  17819. "orderprice": {
  17820. "description": "委托价格",
  17821. "type": "number"
  17822. },
  17823. "orderstatus": {
  17824. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17825. "type": "integer"
  17826. },
  17827. "picurls": {
  17828. "description": "介绍图片[多张用逗号分隔]",
  17829. "type": "string"
  17830. },
  17831. "quoteminunit": {
  17832. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17833. "type": "integer"
  17834. },
  17835. "sellUserID": {
  17836. "description": "卖方UserID",
  17837. "type": "integer"
  17838. },
  17839. "trademode": {
  17840. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17841. "type": "integer"
  17842. },
  17843. "videourls": {
  17844. "description": "介绍视频[多张用逗号分隔]",
  17845. "type": "string"
  17846. }
  17847. }
  17848. },
  17849. "models.HsbyMarketGoodsDetail": {
  17850. "type": "object",
  17851. "required": [
  17852. "accountid",
  17853. "buyorsell",
  17854. "goodscode",
  17855. "goodsid",
  17856. "goodsname",
  17857. "marketid",
  17858. "orderid",
  17859. "orderqty",
  17860. "trademode"
  17861. ],
  17862. "properties": {
  17863. "accountid": {
  17864. "description": "账户ID[报价币种]",
  17865. "type": "integer"
  17866. },
  17867. "agreeunit": {
  17868. "description": "合约单位",
  17869. "type": "number"
  17870. },
  17871. "buymaxqty": {
  17872. "description": "购买上限 [71] - 0为不限",
  17873. "type": "integer"
  17874. },
  17875. "buyorsell": {
  17876. "description": "买卖 - 0:买 1:卖",
  17877. "type": "integer"
  17878. },
  17879. "cancelqty": {
  17880. "description": "撤单数量",
  17881. "type": "integer"
  17882. },
  17883. "categoryid": {
  17884. "description": "类别ID(WRCATEGORY)",
  17885. "type": "integer"
  17886. },
  17887. "currency": {
  17888. "description": "货币",
  17889. "type": "string"
  17890. },
  17891. "currencysign": {
  17892. "description": "货币符号",
  17893. "type": "string"
  17894. },
  17895. "customername": {
  17896. "description": "卖家名称",
  17897. "type": "string"
  17898. },
  17899. "decimalplace": {
  17900. "description": "报价小数位",
  17901. "type": "integer"
  17902. },
  17903. "goodscode": {
  17904. "description": "商品代码(内部)",
  17905. "type": "string"
  17906. },
  17907. "goodsdesc": {
  17908. "description": "商品详情",
  17909. "type": "string"
  17910. },
  17911. "goodsid": {
  17912. "description": "商品ID",
  17913. "type": "integer"
  17914. },
  17915. "goodsname": {
  17916. "description": "商品名称",
  17917. "type": "string"
  17918. },
  17919. "goodsprice": {
  17920. "description": "商品价格",
  17921. "type": "number"
  17922. },
  17923. "hotindex": {
  17924. "description": "景点热度",
  17925. "type": "integer"
  17926. },
  17927. "lotsize": {
  17928. "description": "手数最小变动单位",
  17929. "type": "integer"
  17930. },
  17931. "marketid": {
  17932. "description": "市场ID",
  17933. "type": "integer"
  17934. },
  17935. "orderid": {
  17936. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17937. "type": "string"
  17938. },
  17939. "orderprice": {
  17940. "description": "委托价格",
  17941. "type": "number"
  17942. },
  17943. "orderqty": {
  17944. "description": "委托数量",
  17945. "type": "integer"
  17946. },
  17947. "orderstatus": {
  17948. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17949. "type": "integer"
  17950. },
  17951. "picurls": {
  17952. "description": "介绍图片[多张用逗号分隔]",
  17953. "type": "string"
  17954. },
  17955. "quoteminunit": {
  17956. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17957. "type": "integer"
  17958. },
  17959. "sellUserID": {
  17960. "description": "卖方UserID",
  17961. "type": "integer"
  17962. },
  17963. "trademode": {
  17964. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17965. "type": "integer"
  17966. },
  17967. "tradeqty": {
  17968. "description": "成交数量",
  17969. "type": "integer"
  17970. },
  17971. "vendorattr": {
  17972. "description": "供应商附件(多张,逗号分隔)",
  17973. "type": "string"
  17974. },
  17975. "vendorname": {
  17976. "description": "供应商名称",
  17977. "type": "string"
  17978. },
  17979. "vendorphone": {
  17980. "description": "供应商客服电话",
  17981. "type": "string"
  17982. },
  17983. "videourls": {
  17984. "description": "介绍视频[多张用逗号分隔]",
  17985. "type": "string"
  17986. }
  17987. }
  17988. },
  17989. "models.HsbyMarketInfo": {
  17990. "type": "object",
  17991. "required": [
  17992. "marketid",
  17993. "marketstatus",
  17994. "trademode"
  17995. ],
  17996. "properties": {
  17997. "marketid": {
  17998. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  17999. "type": "integer"
  18000. },
  18001. "marketname": {
  18002. "description": "市场名称",
  18003. "type": "string"
  18004. },
  18005. "marketstatus": {
  18006. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  18007. "type": "integer"
  18008. },
  18009. "trademode": {
  18010. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18011. "type": "integer"
  18012. }
  18013. }
  18014. },
  18015. "models.HsbyMyGoods": {
  18016. "type": "object",
  18017. "required": [
  18018. "accountid",
  18019. "goodscode",
  18020. "goodsid",
  18021. "goodsname",
  18022. "marketid",
  18023. "trademode"
  18024. ],
  18025. "properties": {
  18026. "accountid": {
  18027. "description": "账号Id",
  18028. "type": "integer"
  18029. },
  18030. "agreeunit": {
  18031. "description": "合约单位",
  18032. "type": "number"
  18033. },
  18034. "buyaverageprice": {
  18035. "description": "持仓均价",
  18036. "type": "number"
  18037. },
  18038. "buycurholderamount": {
  18039. "description": "买当前持仓总金额[商品币种]",
  18040. "type": "number"
  18041. },
  18042. "buycurpositionqty": {
  18043. "description": "买当前持仓总数量",
  18044. "type": "integer"
  18045. },
  18046. "buymaxqty": {
  18047. "description": "购买上限 [71] - 0为不限",
  18048. "type": "integer"
  18049. },
  18050. "currencysign": {
  18051. "description": "货币符号",
  18052. "type": "string"
  18053. },
  18054. "decimalplace": {
  18055. "description": "报价小数位",
  18056. "type": "integer"
  18057. },
  18058. "enableqty": {
  18059. "description": "可用数量",
  18060. "type": "integer"
  18061. },
  18062. "goodscode": {
  18063. "description": "商品代码(内部)",
  18064. "type": "string"
  18065. },
  18066. "goodsid": {
  18067. "description": "商品Id",
  18068. "type": "integer"
  18069. },
  18070. "goodsname": {
  18071. "description": "商品名称",
  18072. "type": "string"
  18073. },
  18074. "goodsprice": {
  18075. "description": "商品价格",
  18076. "type": "number"
  18077. },
  18078. "goodsstatus": {
  18079. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18080. "type": "integer"
  18081. },
  18082. "last": {
  18083. "description": "现价(仅使用于挂牌点选)",
  18084. "type": "number"
  18085. },
  18086. "limitdown": {
  18087. "description": "跌停价(仅使用于挂牌点选)",
  18088. "type": "number"
  18089. },
  18090. "limitup": {
  18091. "description": "涨停价(仅使用于挂牌点选)",
  18092. "type": "number"
  18093. },
  18094. "lotsize": {
  18095. "description": "手数最小变动单位",
  18096. "type": "integer"
  18097. },
  18098. "marketid": {
  18099. "description": "所属市场ID",
  18100. "type": "integer"
  18101. },
  18102. "picurls": {
  18103. "description": "介绍图片[多张用逗号分隔]",
  18104. "type": "string"
  18105. },
  18106. "quoteminunit": {
  18107. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18108. "type": "integer"
  18109. },
  18110. "stepvalue": {
  18111. "description": "价格最小变动单位",
  18112. "type": "number"
  18113. },
  18114. "trademode": {
  18115. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18116. "type": "integer"
  18117. }
  18118. }
  18119. },
  18120. "models.HsbyMyPackage": {
  18121. "type": "object",
  18122. "required": [
  18123. "goodscode",
  18124. "goodsname",
  18125. "takeorderid",
  18126. "trademode"
  18127. ],
  18128. "properties": {
  18129. "accountid": {
  18130. "description": "账户ID",
  18131. "type": "integer"
  18132. },
  18133. "address": {
  18134. "description": "提货人详细地址",
  18135. "type": "string"
  18136. },
  18137. "agreeunit": {
  18138. "description": "合约单位",
  18139. "type": "number"
  18140. },
  18141. "amount": {
  18142. "description": "提货金额",
  18143. "type": "number"
  18144. },
  18145. "auditer": {
  18146. "description": "审核人",
  18147. "type": "integer"
  18148. },
  18149. "audittime": {
  18150. "description": "审核时间",
  18151. "type": "string"
  18152. },
  18153. "averageprice": {
  18154. "description": "均价",
  18155. "type": "number"
  18156. },
  18157. "cardnum": {
  18158. "description": "提货人证件号码",
  18159. "type": "string"
  18160. },
  18161. "cardtypeid": {
  18162. "description": "提货人证件类型",
  18163. "type": "integer"
  18164. },
  18165. "checkremark": {
  18166. "description": "审核备注",
  18167. "type": "string"
  18168. },
  18169. "currencysign": {
  18170. "description": "货币符号",
  18171. "type": "string"
  18172. },
  18173. "decimalplace": {
  18174. "description": "报价小数位",
  18175. "type": "integer"
  18176. },
  18177. "goodscode": {
  18178. "description": "商品代码(内部)",
  18179. "type": "string"
  18180. },
  18181. "goodsid": {
  18182. "description": "商品ID",
  18183. "type": "integer"
  18184. },
  18185. "goodsname": {
  18186. "description": "商品名称",
  18187. "type": "string"
  18188. },
  18189. "handlestatus": {
  18190. "description": "处理状态",
  18191. "type": "integer"
  18192. },
  18193. "marketid": {
  18194. "description": "市场ID",
  18195. "type": "integer"
  18196. },
  18197. "phonenum": {
  18198. "description": "提货人联系方式",
  18199. "type": "string"
  18200. },
  18201. "picurls": {
  18202. "description": "介绍图片[多张用逗号分隔]",
  18203. "type": "string"
  18204. },
  18205. "qty": {
  18206. "description": "提货数量",
  18207. "type": "number"
  18208. },
  18209. "recivername": {
  18210. "description": "提货人姓名",
  18211. "type": "string"
  18212. },
  18213. "reqtime": {
  18214. "description": "更新时间",
  18215. "type": "string"
  18216. },
  18217. "takemode": {
  18218. "description": "提货方式 - 2:自提 3:配送",
  18219. "type": "integer"
  18220. },
  18221. "takeorderid": {
  18222. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  18223. "type": "string"
  18224. },
  18225. "takeorderstatus": {
  18226. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  18227. "type": "integer"
  18228. },
  18229. "takeremark": {
  18230. "description": "提货备注",
  18231. "type": "string"
  18232. },
  18233. "tradedate": {
  18234. "description": "交易日(yyyyMMdd)",
  18235. "type": "string"
  18236. },
  18237. "trademode": {
  18238. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18239. "type": "integer"
  18240. },
  18241. "userid": {
  18242. "description": "用户ID",
  18243. "type": "integer"
  18244. },
  18245. "vendorname": {
  18246. "description": "供应商名称",
  18247. "type": "string"
  18248. }
  18249. }
  18250. },
  18251. "models.HsbyPreGoods": {
  18252. "type": "object",
  18253. "required": [
  18254. "goodscode",
  18255. "goodsid",
  18256. "goodsname",
  18257. "marketid",
  18258. "trademode"
  18259. ],
  18260. "properties": {
  18261. "agreeunit": {
  18262. "description": "合约单位",
  18263. "type": "number"
  18264. },
  18265. "currency": {
  18266. "description": "货币",
  18267. "type": "string"
  18268. },
  18269. "currencysign": {
  18270. "description": "货币符号",
  18271. "type": "string"
  18272. },
  18273. "decimalplace": {
  18274. "description": "报价小数位",
  18275. "type": "integer"
  18276. },
  18277. "desccityid": {
  18278. "description": "目的地(市)",
  18279. "type": "integer"
  18280. },
  18281. "descprovinceid": {
  18282. "description": "目的地(省)",
  18283. "type": "integer"
  18284. },
  18285. "enableqty": {
  18286. "description": "剩余数量",
  18287. "type": "integer"
  18288. },
  18289. "goodscode": {
  18290. "description": "商品代码(内部)",
  18291. "type": "string"
  18292. },
  18293. "goodsid": {
  18294. "description": "商品ID(自增ID SEQ_GOODS)",
  18295. "type": "integer"
  18296. },
  18297. "goodsname": {
  18298. "description": "商品名称",
  18299. "type": "string"
  18300. },
  18301. "goodsstatus": {
  18302. "description": "商品状态- 2:未上市 3:上市",
  18303. "type": "integer"
  18304. },
  18305. "lasttradedate": {
  18306. "description": "最后交易日期(状态:待退市)",
  18307. "type": "string"
  18308. },
  18309. "listingdate": {
  18310. "description": "交易开始日期",
  18311. "type": "string"
  18312. },
  18313. "marketid": {
  18314. "description": "所属市场ID",
  18315. "type": "integer"
  18316. },
  18317. "picurls": {
  18318. "description": "介绍图片[多张用逗号分隔]",
  18319. "type": "string"
  18320. },
  18321. "presaledqty": {
  18322. "description": "已预售量(预售结束时更新)",
  18323. "type": "integer"
  18324. },
  18325. "presaleqty": {
  18326. "description": "预售数量",
  18327. "type": "integer"
  18328. },
  18329. "quoteminunit": {
  18330. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18331. "type": "integer"
  18332. },
  18333. "refprice": {
  18334. "description": "参考价格[一口价]",
  18335. "type": "number"
  18336. },
  18337. "relatedgoodsid": {
  18338. "description": "关联交易合约ID",
  18339. "type": "integer"
  18340. },
  18341. "trademode": {
  18342. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18343. "type": "integer"
  18344. },
  18345. "videourls": {
  18346. "description": "介绍视频[多张用逗号分隔]",
  18347. "type": "string"
  18348. }
  18349. }
  18350. },
  18351. "models.HsbyPreGoodsDetail": {
  18352. "type": "object",
  18353. "required": [
  18354. "goodscode",
  18355. "goodsid",
  18356. "goodsname",
  18357. "marketid",
  18358. "trademode"
  18359. ],
  18360. "properties": {
  18361. "agreeunit": {
  18362. "description": "合约单位",
  18363. "type": "number"
  18364. },
  18365. "buymaxqty": {
  18366. "description": "购买上限 [71] - 0为不限",
  18367. "type": "integer"
  18368. },
  18369. "currency": {
  18370. "description": "货币",
  18371. "type": "string"
  18372. },
  18373. "currencysign": {
  18374. "description": "货币符号",
  18375. "type": "string"
  18376. },
  18377. "customername": {
  18378. "description": "发行单位",
  18379. "type": "string"
  18380. },
  18381. "decimalplace": {
  18382. "description": "报价小数位",
  18383. "type": "integer"
  18384. },
  18385. "desccityid": {
  18386. "description": "目的地(市)ID",
  18387. "type": "integer"
  18388. },
  18389. "descprovinceid": {
  18390. "description": "目的地(省)ID",
  18391. "type": "integer"
  18392. },
  18393. "enableqty": {
  18394. "description": "剩余数量",
  18395. "type": "integer"
  18396. },
  18397. "goodscode": {
  18398. "description": "商品代码(内部)",
  18399. "type": "string"
  18400. },
  18401. "goodsdesc": {
  18402. "description": "商品详情",
  18403. "type": "string"
  18404. },
  18405. "goodsid": {
  18406. "description": "商品ID(自增ID SEQ_GOODS)",
  18407. "type": "integer"
  18408. },
  18409. "goodsname": {
  18410. "description": "商品名称",
  18411. "type": "string"
  18412. },
  18413. "goodsstatus": {
  18414. "description": "商品状态- 2:未上市 3:上市",
  18415. "type": "integer"
  18416. },
  18417. "goodunit": {
  18418. "description": "报价单位",
  18419. "type": "string"
  18420. },
  18421. "lasttradedate": {
  18422. "description": "最后交易日期(状态:待退市)",
  18423. "type": "string"
  18424. },
  18425. "listingdate": {
  18426. "description": "交易开始日期",
  18427. "type": "string"
  18428. },
  18429. "lotsize": {
  18430. "description": "手数最小变动单位",
  18431. "type": "integer"
  18432. },
  18433. "marketid": {
  18434. "description": "所属市场ID",
  18435. "type": "integer"
  18436. },
  18437. "picurls": {
  18438. "description": "介绍图片[多张用逗号分隔]",
  18439. "type": "string"
  18440. },
  18441. "presaledqty": {
  18442. "description": "已预售量(预售结束时更新)",
  18443. "type": "integer"
  18444. },
  18445. "presaleqty": {
  18446. "description": "预售数量",
  18447. "type": "integer"
  18448. },
  18449. "quoteminunit": {
  18450. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18451. "type": "integer"
  18452. },
  18453. "refprice": {
  18454. "description": "参考价格[一口价]",
  18455. "type": "number"
  18456. },
  18457. "relatedgoodsid": {
  18458. "description": "关联交易合约ID",
  18459. "type": "integer"
  18460. },
  18461. "stepvalue": {
  18462. "description": "价格最小变动单位",
  18463. "type": "number"
  18464. },
  18465. "trademode": {
  18466. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18467. "type": "integer"
  18468. },
  18469. "vendorattr": {
  18470. "description": "供应商附件(多张,逗号分隔)",
  18471. "type": "string"
  18472. },
  18473. "vendorname": {
  18474. "description": "供应商名称",
  18475. "type": "string"
  18476. },
  18477. "vendorphone": {
  18478. "description": "供应商客服电话",
  18479. "type": "string"
  18480. },
  18481. "videourls": {
  18482. "description": "介绍视频[多张用逗号分隔]",
  18483. "type": "string"
  18484. }
  18485. }
  18486. },
  18487. "models.HsbySellCollectionOrder": {
  18488. "type": "object",
  18489. "required": [
  18490. "goodscode",
  18491. "goodsname",
  18492. "tradeid",
  18493. "trademode"
  18494. ],
  18495. "properties": {
  18496. "agreeunit": {
  18497. "description": "合约单位",
  18498. "type": "number"
  18499. },
  18500. "buyaccountid": {
  18501. "description": "买方账号ID[报价币种]",
  18502. "type": "integer"
  18503. },
  18504. "buyorderid": {
  18505. "description": "买方委托单号",
  18506. "type": "string"
  18507. },
  18508. "createtime": {
  18509. "description": "创建时间",
  18510. "type": "string"
  18511. },
  18512. "currencysign": {
  18513. "description": "货币符号",
  18514. "type": "string"
  18515. },
  18516. "decimalplace": {
  18517. "description": "报价小数位",
  18518. "type": "integer"
  18519. },
  18520. "goodscode": {
  18521. "description": "商品代码(内部)",
  18522. "type": "string"
  18523. },
  18524. "goodsid": {
  18525. "description": "商品ID",
  18526. "type": "integer"
  18527. },
  18528. "goodsname": {
  18529. "description": "商品名称",
  18530. "type": "string"
  18531. },
  18532. "marketid": {
  18533. "description": "市场ID",
  18534. "type": "integer"
  18535. },
  18536. "offamount": {
  18537. "description": "优惠金额",
  18538. "type": "number"
  18539. },
  18540. "payamount": {
  18541. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  18542. "type": "number"
  18543. },
  18544. "payflag": {
  18545. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  18546. "type": "integer"
  18547. },
  18548. "paylimitedtime": {
  18549. "description": "支付期限",
  18550. "type": "string"
  18551. },
  18552. "paytime": {
  18553. "description": "付款时间",
  18554. "type": "string"
  18555. },
  18556. "picurls": {
  18557. "description": "商品介绍图片[多张用逗号分隔]",
  18558. "type": "string"
  18559. },
  18560. "sellaccountid": {
  18561. "description": "卖方账号ID[报价币种]",
  18562. "type": "integer"
  18563. },
  18564. "sellorderid": {
  18565. "description": "卖方委托单号",
  18566. "type": "string"
  18567. },
  18568. "tradeamount": {
  18569. "description": "成交金额",
  18570. "type": "number"
  18571. },
  18572. "tradecharge": {
  18573. "description": "成交手续费(买方)",
  18574. "type": "number"
  18575. },
  18576. "tradedate": {
  18577. "description": "交易日(yyyyMMdd)",
  18578. "type": "string"
  18579. },
  18580. "tradeid": {
  18581. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18582. "type": "string"
  18583. },
  18584. "trademode": {
  18585. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18586. "type": "integer"
  18587. },
  18588. "tradeprice": {
  18589. "description": "成交价格",
  18590. "type": "number"
  18591. },
  18592. "tradeqty": {
  18593. "description": "成交数量",
  18594. "type": "integer"
  18595. }
  18596. }
  18597. },
  18598. "models.HsbySellMyDetail": {
  18599. "type": "object",
  18600. "required": [
  18601. "accountid",
  18602. "buyorsell",
  18603. "goodscode",
  18604. "goodsid",
  18605. "goodsname",
  18606. "marketid",
  18607. "orderid",
  18608. "time",
  18609. "trademode"
  18610. ],
  18611. "properties": {
  18612. "accountid": {
  18613. "description": "账户ID[报价币种]",
  18614. "type": "integer"
  18615. },
  18616. "agreeunit": {
  18617. "description": "合约单位",
  18618. "type": "number"
  18619. },
  18620. "buyorsell": {
  18621. "description": "买卖 - 0:买 1:卖",
  18622. "type": "integer"
  18623. },
  18624. "currencysign": {
  18625. "description": "货币符号",
  18626. "type": "string"
  18627. },
  18628. "decimalplace": {
  18629. "description": "报价小数位",
  18630. "type": "integer"
  18631. },
  18632. "goodscode": {
  18633. "description": "商品代码(内部)",
  18634. "type": "string"
  18635. },
  18636. "goodsid": {
  18637. "description": "商品ID",
  18638. "type": "integer"
  18639. },
  18640. "goodsname": {
  18641. "description": "商品名称",
  18642. "type": "string"
  18643. },
  18644. "marketid": {
  18645. "description": "市场ID",
  18646. "type": "integer"
  18647. },
  18648. "orderid": {
  18649. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  18650. "type": "string"
  18651. },
  18652. "ordertype": {
  18653. "description": "单据类型:0 - 发布中, 1 - 已完成",
  18654. "type": "integer"
  18655. },
  18656. "picurls": {
  18657. "description": "介绍图片[多张用逗号分隔]",
  18658. "type": "string"
  18659. },
  18660. "price": {
  18661. "description": "价格",
  18662. "type": "number"
  18663. },
  18664. "qty": {
  18665. "description": "数量",
  18666. "type": "integer"
  18667. },
  18668. "time": {
  18669. "description": "时间",
  18670. "type": "string"
  18671. },
  18672. "trademode": {
  18673. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18674. "type": "integer"
  18675. },
  18676. "vendorname": {
  18677. "description": "供应商名称",
  18678. "type": "string"
  18679. }
  18680. }
  18681. },
  18682. "models.HsbyTopGoods": {
  18683. "type": "object",
  18684. "required": [
  18685. "goodscode",
  18686. "goodsid",
  18687. "goodsname",
  18688. "marketid",
  18689. "trademode"
  18690. ],
  18691. "properties": {
  18692. "agreeunit": {
  18693. "description": "合约单位",
  18694. "type": "number"
  18695. },
  18696. "currency": {
  18697. "description": "货币",
  18698. "type": "string"
  18699. },
  18700. "currencysign": {
  18701. "description": "货币符号",
  18702. "type": "string"
  18703. },
  18704. "decimalplace": {
  18705. "description": "报价小数位",
  18706. "type": "integer"
  18707. },
  18708. "desccityid": {
  18709. "description": "目的地(市)",
  18710. "type": "integer"
  18711. },
  18712. "descprovinceid": {
  18713. "description": "目的地(省)",
  18714. "type": "integer"
  18715. },
  18716. "goodscode": {
  18717. "description": "商品代码(内部)",
  18718. "type": "string"
  18719. },
  18720. "goodsid": {
  18721. "description": "商品ID(自增ID SEQ_GOODS)",
  18722. "type": "integer"
  18723. },
  18724. "goodsname": {
  18725. "description": "商品名称",
  18726. "type": "string"
  18727. },
  18728. "hotindex": {
  18729. "description": "景点热度",
  18730. "type": "integer"
  18731. },
  18732. "last": {
  18733. "description": "现价",
  18734. "type": "number"
  18735. },
  18736. "marketid": {
  18737. "description": "所属市场ID",
  18738. "type": "integer"
  18739. },
  18740. "picurls": {
  18741. "description": "介绍图片[多张用逗号分隔]",
  18742. "type": "string"
  18743. },
  18744. "quoteminunit": {
  18745. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18746. "type": "integer"
  18747. },
  18748. "trademode": {
  18749. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18750. "type": "integer"
  18751. },
  18752. "videourls": {
  18753. "description": "介绍视频[多张用逗号分隔]",
  18754. "type": "string"
  18755. }
  18756. }
  18757. },
  18758. "models.HybsMyBuyOrderDetail": {
  18759. "type": "object",
  18760. "required": [
  18761. "accountid",
  18762. "buyorsell",
  18763. "goodscode",
  18764. "goodsid",
  18765. "goodsname",
  18766. "marketid",
  18767. "orderid",
  18768. "orderqty",
  18769. "ordertime",
  18770. "trademode"
  18771. ],
  18772. "properties": {
  18773. "accountid": {
  18774. "description": "账户ID[报价币种]",
  18775. "type": "integer"
  18776. },
  18777. "agreeunit": {
  18778. "description": "合约单位",
  18779. "type": "number"
  18780. },
  18781. "buyorsell": {
  18782. "description": "买卖 - 0:买 1:卖",
  18783. "type": "integer"
  18784. },
  18785. "cancelqty": {
  18786. "description": "撤单数量",
  18787. "type": "integer"
  18788. },
  18789. "currencysign": {
  18790. "description": "货币符号",
  18791. "type": "string"
  18792. },
  18793. "decimalplace": {
  18794. "description": "报价小数位",
  18795. "type": "integer"
  18796. },
  18797. "goodscode": {
  18798. "description": "商品代码(内部)",
  18799. "type": "string"
  18800. },
  18801. "goodsid": {
  18802. "description": "商品ID",
  18803. "type": "integer"
  18804. },
  18805. "goodsname": {
  18806. "description": "商品名称",
  18807. "type": "string"
  18808. },
  18809. "listingselecttype": {
  18810. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18811. "type": "integer"
  18812. },
  18813. "marketid": {
  18814. "description": "市场ID",
  18815. "type": "integer"
  18816. },
  18817. "mybuystatus": {
  18818. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  18819. "type": "integer"
  18820. },
  18821. "orderamount": {
  18822. "description": "委托金额",
  18823. "type": "number"
  18824. },
  18825. "orderid": {
  18826. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18827. "type": "string"
  18828. },
  18829. "orderprice": {
  18830. "description": "委托价格",
  18831. "type": "number"
  18832. },
  18833. "orderqty": {
  18834. "description": "委托数量",
  18835. "type": "integer"
  18836. },
  18837. "orderstatus": {
  18838. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18839. "type": "integer"
  18840. },
  18841. "ordertime": {
  18842. "description": "委托时间",
  18843. "type": "string"
  18844. },
  18845. "picurls1": {
  18846. "description": "预售商品介绍图片[多张用逗号分隔]",
  18847. "type": "string"
  18848. },
  18849. "picurls2": {
  18850. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18851. "type": "string"
  18852. },
  18853. "trademode": {
  18854. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18855. "type": "integer"
  18856. },
  18857. "tradeqty": {
  18858. "description": "成交数量",
  18859. "type": "integer"
  18860. },
  18861. "vendorname1": {
  18862. "description": "预售商品供应商名称",
  18863. "type": "string"
  18864. },
  18865. "vendorname2": {
  18866. "description": "挂牌商品供应商名称",
  18867. "type": "string"
  18868. }
  18869. }
  18870. },
  18871. "models.Loginaccount": {
  18872. "type": "object",
  18873. "required": [
  18874. "loginid"
  18875. ],
  18876. "properties": {
  18877. "canoutin": {
  18878. "description": "是否可出入金 - 0:不可 1:可",
  18879. "type": "integer"
  18880. },
  18881. "clientroleid": {
  18882. "description": "终端角色ID",
  18883. "type": "integer"
  18884. },
  18885. "haslogined": {
  18886. "description": "是否已登录 - 0:未登录 1:已登录",
  18887. "type": "integer"
  18888. },
  18889. "hasupdatedpwd": {
  18890. "description": "是否已更改密码 - 0:未修改 1:已修改",
  18891. "type": "integer"
  18892. },
  18893. "lastloginip": {
  18894. "description": "最新登录地址",
  18895. "type": "string"
  18896. },
  18897. "lastloginmode": {
  18898. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18899. "type": "integer"
  18900. },
  18901. "lastloginremark": {
  18902. "description": "最新登录描述",
  18903. "type": "string"
  18904. },
  18905. "lastlogintime": {
  18906. "description": "最新登录时间",
  18907. "type": "string"
  18908. },
  18909. "logincode": {
  18910. "description": "登录代码",
  18911. "type": "string"
  18912. },
  18913. "loginfailnum": {
  18914. "description": "连续登录失败次数(登录成功时清零)",
  18915. "type": "integer"
  18916. },
  18917. "loginid": {
  18918. "description": "登陆账号",
  18919. "type": "integer"
  18920. },
  18921. "loginport": {
  18922. "description": "最新登录端口",
  18923. "type": "integer"
  18924. },
  18925. "loginstatus": {
  18926. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  18927. "type": "integer"
  18928. },
  18929. "loginusertype": {
  18930. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  18931. "type": "integer"
  18932. },
  18933. "modifierid": {
  18934. "description": "修改人",
  18935. "type": "integer"
  18936. },
  18937. "modifytime": {
  18938. "description": "修改时间",
  18939. "type": "string"
  18940. },
  18941. "pwdwrongcount": {
  18942. "description": "密码错误次数",
  18943. "type": "integer"
  18944. },
  18945. "taaccountrighttype": {
  18946. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  18947. "type": "integer"
  18948. },
  18949. "unfreezetime": {
  18950. "description": "账户解冻时间",
  18951. "type": "string"
  18952. },
  18953. "userid": {
  18954. "description": "用户ID",
  18955. "type": "integer"
  18956. }
  18957. }
  18958. },
  18959. "models.MainAccountInfo": {
  18960. "type": "object",
  18961. "properties": {
  18962. "accountid": {
  18963. "description": "账号id",
  18964. "type": "integer"
  18965. },
  18966. "accountname": {
  18967. "description": "账号名称(taaccount表中的名称)",
  18968. "type": "string"
  18969. },
  18970. "appid": {
  18971. "description": "AppID",
  18972. "type": "string"
  18973. },
  18974. "authcode": {
  18975. "description": "授权码",
  18976. "type": "string"
  18977. },
  18978. "brokerid": {
  18979. "description": "经纪商id",
  18980. "type": "string"
  18981. },
  18982. "fcid": {
  18983. "description": "期货公司id",
  18984. "type": "integer"
  18985. },
  18986. "fcname": {
  18987. "description": "期货公司代码",
  18988. "type": "string"
  18989. },
  18990. "hedgeaccountcode": {
  18991. "description": "外部账号代码(主账号登录代码)",
  18992. "type": "string"
  18993. },
  18994. "hedgeaccountpwd": {
  18995. "description": "密码",
  18996. "type": "string"
  18997. },
  18998. "ismain": {
  18999. "description": "是否主账号",
  19000. "type": "integer"
  19001. },
  19002. "relateduserid": {
  19003. "description": "关联用户id",
  19004. "type": "integer"
  19005. },
  19006. "userid": {
  19007. "description": "关联用户id",
  19008. "type": "integer"
  19009. }
  19010. }
  19011. },
  19012. "models.Market": {
  19013. "type": "object",
  19014. "required": [
  19015. "marketid",
  19016. "marketstatus",
  19017. "openmethod",
  19018. "reckonpricealgorithm",
  19019. "trademode",
  19020. "tradeproperty"
  19021. ],
  19022. "properties": {
  19023. "auctionwrtype": {
  19024. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  19025. "type": "integer"
  19026. },
  19027. "canacceptquote": {
  19028. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  19029. "type": "integer"
  19030. },
  19031. "cangoodsexercise": {
  19032. "description": "[期权]是否可现货行权- 0:否 1:是",
  19033. "type": "integer"
  19034. },
  19035. "cangoodsexercisetype": {
  19036. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  19037. "type": "integer"
  19038. },
  19039. "canmanualquotestrike": {
  19040. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  19041. "type": "integer"
  19042. },
  19043. "canmutistage": {
  19044. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  19045. "type": "integer"
  19046. },
  19047. "canpreexercise": {
  19048. "description": "[期权]是否可预申报- 0:否 1:是",
  19049. "type": "integer"
  19050. },
  19051. "clearinterval": {
  19052. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  19053. "type": "integer"
  19054. },
  19055. "contracttmp": {
  19056. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  19057. "type": "string"
  19058. },
  19059. "exchareaid": {
  19060. "description": "所属交易所,可以没有",
  19061. "type": "integer"
  19062. },
  19063. "goodstype": {
  19064. "description": "商品类型 - 1:交易商品 2:仓单商品",
  19065. "type": "integer"
  19066. },
  19067. "hasrebate": {
  19068. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  19069. "type": "integer"
  19070. },
  19071. "hastradecredit": {
  19072. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  19073. "type": "integer"
  19074. },
  19075. "haswr": {
  19076. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  19077. "type": "integer"
  19078. },
  19079. "isdeductmargin": {
  19080. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  19081. "type": "integer"
  19082. },
  19083. "isrecordsource": {
  19084. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  19085. "type": "integer"
  19086. },
  19087. "isreleasemargin": {
  19088. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  19089. "type": "integer"
  19090. },
  19091. "marginformula": {
  19092. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19093. "type": "integer"
  19094. },
  19095. "marginformula2": {
  19096. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19097. "type": "integer"
  19098. },
  19099. "marketid": {
  19100. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19101. "type": "integer"
  19102. },
  19103. "marketname": {
  19104. "description": "市场名称",
  19105. "type": "string"
  19106. },
  19107. "marketserviceid": {
  19108. "description": "市场服务ID",
  19109. "type": "integer"
  19110. },
  19111. "marketstatus": {
  19112. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19113. "type": "integer"
  19114. },
  19115. "markettype": {
  19116. "description": "市场类型- 1:非交易服务 2:交易服务",
  19117. "type": "integer"
  19118. },
  19119. "matchermode": {
  19120. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  19121. "type": "integer"
  19122. },
  19123. "openmethod": {
  19124. "description": "开盘模式 - 0 自动 1手动",
  19125. "type": "integer"
  19126. },
  19127. "otcuserid": {
  19128. "description": "场外期权做市商[场外期权]",
  19129. "type": "integer"
  19130. },
  19131. "outersynctime": {
  19132. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  19133. "type": "string"
  19134. },
  19135. "pendingflag": {
  19136. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  19137. "type": "integer"
  19138. },
  19139. "pendingtime": {
  19140. "description": "待开市时间[通道交易-对冲](HH:mm)",
  19141. "type": "string"
  19142. },
  19143. "performancetempid": {
  19144. "description": "履约计划模板ID - 作废",
  19145. "type": "integer"
  19146. },
  19147. "premiumquotemode": {
  19148. "description": "权利金报价方式 - 1:自动 2:手动",
  19149. "type": "integer"
  19150. },
  19151. "rebateratio": {
  19152. "description": "返利比率[竞价式]",
  19153. "type": "number"
  19154. },
  19155. "reckonorder": {
  19156. "description": "结算顺序",
  19157. "type": "integer"
  19158. },
  19159. "reckonpricealgorithm": {
  19160. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  19161. "type": "integer"
  19162. },
  19163. "reckonpriceparam": {
  19164. "description": "结算价参数",
  19165. "type": "integer"
  19166. },
  19167. "reckontime": {
  19168. "description": "结算时间[通道交易-对冲](HH:mm)",
  19169. "type": "string"
  19170. },
  19171. "roleprioritytype": {
  19172. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  19173. "type": "integer"
  19174. },
  19175. "selllistingauditflag": {
  19176. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  19177. "type": "integer"
  19178. },
  19179. "trademarkettype": {
  19180. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  19181. "type": "integer"
  19182. },
  19183. "trademode": {
  19184. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19185. "type": "integer"
  19186. },
  19187. "tradeproperty": {
  19188. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  19189. "type": "integer"
  19190. },
  19191. "tradetype": {
  19192. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  19193. "type": "integer"
  19194. }
  19195. }
  19196. },
  19197. "models.Marketrun": {
  19198. "type": "object",
  19199. "required": [
  19200. "marketid",
  19201. "nexttradedate",
  19202. "reckonflag",
  19203. "runstatus",
  19204. "tradedate",
  19205. "tradedate2"
  19206. ],
  19207. "properties": {
  19208. "afternexttradedate": {
  19209. "description": "下下交易日",
  19210. "type": "string"
  19211. },
  19212. "clearquoteflag": {
  19213. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  19214. "type": "integer"
  19215. },
  19216. "lastreckondate": {
  19217. "description": "最新交易日(结算成功)",
  19218. "type": "string"
  19219. },
  19220. "machinedate": {
  19221. "description": "机器时间",
  19222. "type": "string"
  19223. },
  19224. "manualflag": {
  19225. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  19226. "type": "integer"
  19227. },
  19228. "marketid": {
  19229. "description": "市场ID",
  19230. "type": "integer"
  19231. },
  19232. "nexttradedate": {
  19233. "description": "下一交易日",
  19234. "type": "string"
  19235. },
  19236. "pretradedate": {
  19237. "description": "上一交易日",
  19238. "type": "string"
  19239. },
  19240. "reckonflag": {
  19241. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  19242. "type": "integer"
  19243. },
  19244. "runstatus": {
  19245. "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.今日免清算",
  19246. "type": "integer"
  19247. },
  19248. "sectionid": {
  19249. "description": "时间段号[多时段时用]",
  19250. "type": "integer"
  19251. },
  19252. "tradedate": {
  19253. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  19254. "type": "string"
  19255. },
  19256. "tradedate2": {
  19257. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  19258. "type": "string"
  19259. },
  19260. "updatetime": {
  19261. "description": "更新时间",
  19262. "type": "string"
  19263. }
  19264. }
  19265. },
  19266. "models.Messageboard": {
  19267. "type": "object",
  19268. "required": [
  19269. "messageboardid"
  19270. ],
  19271. "properties": {
  19272. "contactnum": {
  19273. "description": "联系电话",
  19274. "type": "string"
  19275. },
  19276. "createtime": {
  19277. "description": "创建时间",
  19278. "type": "string"
  19279. },
  19280. "message": {
  19281. "description": "留言信息",
  19282. "type": "string"
  19283. },
  19284. "messageboardid": {
  19285. "description": "留言簿ID(SEQ_MessageBoard)",
  19286. "type": "integer"
  19287. },
  19288. "userid": {
  19289. "description": "用户ID",
  19290. "type": "integer"
  19291. }
  19292. }
  19293. },
  19294. "models.MyCoupon": {
  19295. "type": "object",
  19296. "required": [
  19297. "accountid",
  19298. "coupontypeid"
  19299. ],
  19300. "properties": {
  19301. "accountid": {
  19302. "description": "资金账户ID",
  19303. "type": "integer"
  19304. },
  19305. "areauserid": {
  19306. "description": "所属机构",
  19307. "type": "integer"
  19308. },
  19309. "conditionvalue": {
  19310. "description": "条件阈值(可为0)",
  19311. "type": "number"
  19312. },
  19313. "couponcategroy": {
  19314. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  19315. "type": "integer"
  19316. },
  19317. "couponname": {
  19318. "description": "优惠券名称",
  19319. "type": "string"
  19320. },
  19321. "coupontypeid": {
  19322. "description": "优惠券类型ID",
  19323. "type": "string"
  19324. },
  19325. "couponvalue": {
  19326. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19327. "type": "number"
  19328. },
  19329. "curfreezeqty": {
  19330. "description": "期末冻结数量",
  19331. "type": "integer"
  19332. },
  19333. "curqty": {
  19334. "description": "期末数量",
  19335. "type": "integer"
  19336. },
  19337. "isgeneral": {
  19338. "description": "是否通用券 - 0:否 1:是",
  19339. "type": "integer"
  19340. },
  19341. "isunusable": {
  19342. "description": "是否不可用",
  19343. "type": "boolean"
  19344. },
  19345. "limitedflag": {
  19346. "description": "是否指定商品 - 0:不限 1:限制",
  19347. "type": "integer"
  19348. },
  19349. "limitedgoodsids": {
  19350. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  19351. "type": "string"
  19352. },
  19353. "orifreezeqty": {
  19354. "description": "期初冻结数量",
  19355. "type": "integer"
  19356. },
  19357. "oriqty": {
  19358. "description": "期初数量",
  19359. "type": "integer"
  19360. },
  19361. "reasontype": {
  19362. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  19363. "type": "integer"
  19364. },
  19365. "todaydecrease": {
  19366. "description": "今日减少",
  19367. "type": "integer"
  19368. },
  19369. "todayincrease": {
  19370. "description": "今日增加",
  19371. "type": "integer"
  19372. },
  19373. "userid": {
  19374. "description": "用户ID",
  19375. "type": "integer"
  19376. },
  19377. "userscope": {
  19378. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  19379. "type": "string"
  19380. }
  19381. }
  19382. },
  19383. "models.MyCouponHold": {
  19384. "type": "object",
  19385. "required": [
  19386. "couponholdid"
  19387. ],
  19388. "properties": {
  19389. "accountid": {
  19390. "description": "资金账户ID",
  19391. "type": "integer"
  19392. },
  19393. "conditionvalue": {
  19394. "description": "条件阈值(可为0)",
  19395. "type": "number"
  19396. },
  19397. "couponcategroy": {
  19398. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  19399. "type": "integer"
  19400. },
  19401. "couponholdid": {
  19402. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  19403. "type": "string"
  19404. },
  19405. "couponname": {
  19406. "description": "优惠券名称",
  19407. "type": "string"
  19408. },
  19409. "coupontypeid": {
  19410. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  19411. "type": "string"
  19412. },
  19413. "couponvalue": {
  19414. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19415. "type": "number"
  19416. },
  19417. "createtime": {
  19418. "description": "创建时间",
  19419. "type": "string"
  19420. },
  19421. "enddate": {
  19422. "description": "结束日期",
  19423. "type": "string"
  19424. },
  19425. "giveapplyid": {
  19426. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  19427. "type": "integer"
  19428. },
  19429. "holdstatus": {
  19430. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  19431. "type": "integer"
  19432. },
  19433. "isgeneral": {
  19434. "description": "是否通用券 - 0:否 1:是",
  19435. "type": "integer"
  19436. },
  19437. "limitedflag": {
  19438. "description": "是否指定商品 - 0:不限 1:限制",
  19439. "type": "integer"
  19440. },
  19441. "limitedgoodsids": {
  19442. "description": "指定商品IDs[逗号分隔]",
  19443. "type": "string"
  19444. },
  19445. "qty": {
  19446. "description": "数量(按1平铺)",
  19447. "type": "integer"
  19448. },
  19449. "startdate": {
  19450. "description": "开始日期",
  19451. "type": "string"
  19452. },
  19453. "userid": {
  19454. "description": "用户ID",
  19455. "type": "integer"
  19456. },
  19457. "userscope": {
  19458. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  19459. "type": "string"
  19460. }
  19461. }
  19462. },
  19463. "models.MyUsedCoupon": {
  19464. "type": "object",
  19465. "required": [
  19466. "coupontypeid",
  19467. "orderid"
  19468. ],
  19469. "properties": {
  19470. "accountid": {
  19471. "description": "资金账户ID(买方)",
  19472. "type": "integer"
  19473. },
  19474. "conditionvalue": {
  19475. "description": "条件阈值(可为0)",
  19476. "type": "number"
  19477. },
  19478. "couponcategroy": {
  19479. "description": "种类 - 1:现金券 2:折扣券",
  19480. "type": "integer"
  19481. },
  19482. "couponname": {
  19483. "description": "优惠券名称",
  19484. "type": "string"
  19485. },
  19486. "coupontypeid": {
  19487. "description": "优惠券类型ID(买方)",
  19488. "type": "string"
  19489. },
  19490. "couponvalue": {
  19491. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  19492. "type": "number"
  19493. },
  19494. "createtime": {
  19495. "description": "创建时间",
  19496. "type": "string"
  19497. },
  19498. "goodsid": {
  19499. "description": "商品ID",
  19500. "type": "integer"
  19501. },
  19502. "handlestatus": {
  19503. "description": "处理状态",
  19504. "type": "integer"
  19505. },
  19506. "marketid": {
  19507. "description": "市场ID",
  19508. "type": "integer"
  19509. },
  19510. "offamount": {
  19511. "description": "优惠金额",
  19512. "type": "number"
  19513. },
  19514. "orderid": {
  19515. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19516. "type": "string"
  19517. },
  19518. "sellaccountid": {
  19519. "description": "资金账户ID(卖方)",
  19520. "type": "integer"
  19521. },
  19522. "tradeamount": {
  19523. "description": "成交金额",
  19524. "type": "number"
  19525. },
  19526. "tradeid": {
  19527. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19528. "type": "string"
  19529. },
  19530. "usedqty": {
  19531. "description": "使用数量",
  19532. "type": "integer"
  19533. }
  19534. }
  19535. },
  19536. "models.OperationPrimaryMenu": {
  19537. "type": "object",
  19538. "properties": {
  19539. "Children": {
  19540. "description": "二级功能菜单",
  19541. "type": "array",
  19542. "items": {
  19543. "$ref": "#/definitions/models.OperationSecondaryMenu"
  19544. }
  19545. },
  19546. "Key": {
  19547. "description": "菜单KEY",
  19548. "type": "string"
  19549. },
  19550. "Label": {
  19551. "description": "菜单标题",
  19552. "type": "string"
  19553. }
  19554. }
  19555. },
  19556. "models.OperationSecondaryMenu": {
  19557. "type": "object",
  19558. "properties": {
  19559. "Key": {
  19560. "description": "菜单KEY",
  19561. "type": "string"
  19562. },
  19563. "Label": {
  19564. "description": "菜单标题",
  19565. "type": "string"
  19566. },
  19567. "TabList": {
  19568. "description": "三级功能菜单",
  19569. "type": "array",
  19570. "items": {
  19571. "$ref": "#/definitions/models.OperationTabMenu"
  19572. }
  19573. }
  19574. }
  19575. },
  19576. "models.OperationTabMenu": {
  19577. "type": "object",
  19578. "properties": {
  19579. "Key": {
  19580. "description": "菜单KEY",
  19581. "type": "string"
  19582. },
  19583. "Label": {
  19584. "description": "菜单标题",
  19585. "type": "string"
  19586. }
  19587. }
  19588. },
  19589. "models.PendingAuditBizModel": {
  19590. "type": "object",
  19591. "properties": {
  19592. "accountid": {
  19593. "description": "现货账户",
  19594. "type": "string"
  19595. },
  19596. "areaname": {
  19597. "description": "所属部门",
  19598. "type": "string"
  19599. },
  19600. "bizid": {
  19601. "description": "业务ID",
  19602. "type": "string"
  19603. },
  19604. "bizname": {
  19605. "description": "业务名称",
  19606. "type": "string"
  19607. },
  19608. "status": {
  19609. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19610. "type": "integer"
  19611. },
  19612. "type": {
  19613. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  19614. "type": "integer"
  19615. }
  19616. }
  19617. },
  19618. "models.QueryErrorInfosRsp": {
  19619. "type": "object",
  19620. "required": [
  19621. "errorid"
  19622. ],
  19623. "properties": {
  19624. "description": {
  19625. "description": "异常描述",
  19626. "type": "string"
  19627. },
  19628. "errorcode": {
  19629. "description": "异常代码",
  19630. "type": "string"
  19631. },
  19632. "errorid": {
  19633. "description": "异常ID",
  19634. "type": "integer"
  19635. },
  19636. "modulecode": {
  19637. "description": "所属模块",
  19638. "type": "string"
  19639. },
  19640. "operatecode": {
  19641. "description": "所属操作",
  19642. "type": "string"
  19643. },
  19644. "rownumber": {
  19645. "description": "行号",
  19646. "type": "string"
  19647. }
  19648. }
  19649. },
  19650. "models.QueryHedgeOrderDetailRsp": {
  19651. "type": "object",
  19652. "properties": {
  19653. "accountid": {
  19654. "description": "账户ID",
  19655. "type": "integer"
  19656. },
  19657. "buyorsell": {
  19658. "description": "买卖 - 0:买 1:卖",
  19659. "type": "integer"
  19660. },
  19661. "cancellogincode": {
  19662. "description": "撤单人",
  19663. "type": "string"
  19664. },
  19665. "channelbuildtype": {
  19666. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  19667. "type": "integer"
  19668. },
  19669. "channelinnerorderstatus": {
  19670. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  19671. "type": "integer"
  19672. },
  19673. "channeloperatetype": {
  19674. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  19675. "type": "integer"
  19676. },
  19677. "closetype": {
  19678. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19679. "type": "integer"
  19680. },
  19681. "curexchangerate": {
  19682. "description": "当前汇率",
  19683. "type": "number"
  19684. },
  19685. "exchangefullname": {
  19686. "description": "外部交易所全称",
  19687. "type": "string"
  19688. },
  19689. "goodscode": {
  19690. "description": "商品代码(内部)",
  19691. "type": "string"
  19692. },
  19693. "goodsid": {
  19694. "description": "商品ID",
  19695. "type": "integer"
  19696. },
  19697. "goodsname": {
  19698. "description": "商品名称",
  19699. "type": "string"
  19700. },
  19701. "marketid": {
  19702. "description": "市场ID",
  19703. "type": "integer"
  19704. },
  19705. "openfreezemargin": {
  19706. "description": "冻结保证金(冻结交易金额)",
  19707. "type": "number"
  19708. },
  19709. "orderid": {
  19710. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19711. "type": "string"
  19712. },
  19713. "orderlogincode": {
  19714. "description": "委托人",
  19715. "type": "string"
  19716. },
  19717. "orderprice": {
  19718. "description": "委托价格(账户)",
  19719. "type": "number"
  19720. },
  19721. "orderqty": {
  19722. "description": "委托数量",
  19723. "type": "integer"
  19724. },
  19725. "ordertime": {
  19726. "description": "委托时间",
  19727. "type": "string"
  19728. },
  19729. "pricemode": {
  19730. "description": "取价方式 - 1:市价 2: 限价",
  19731. "type": "integer"
  19732. },
  19733. "tradedate": {
  19734. "description": "交易日(yyyyMMdd)",
  19735. "type": "string"
  19736. },
  19737. "tradeqty": {
  19738. "description": "成交数量",
  19739. "type": "integer"
  19740. }
  19741. }
  19742. },
  19743. "models.QueryHedgeTradeDetailRsp": {
  19744. "type": "object",
  19745. "properties": {
  19746. "accountid": {
  19747. "description": "账号ID",
  19748. "type": "integer"
  19749. },
  19750. "buyorsell": {
  19751. "description": "方向 - 0:买 1:卖",
  19752. "type": "integer"
  19753. },
  19754. "channelbuildtype": {
  19755. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19756. "type": "integer"
  19757. },
  19758. "closecharge": {
  19759. "description": "平仓手续费(账户)",
  19760. "type": "number"
  19761. },
  19762. "closecharge2": {
  19763. "description": "平仓手续费(商品)",
  19764. "type": "number"
  19765. },
  19766. "closepl": {
  19767. "description": "平仓盈亏(账户)",
  19768. "type": "number"
  19769. },
  19770. "closepl2": {
  19771. "description": "平仓盈亏(商品)",
  19772. "type": "number"
  19773. },
  19774. "closepl3": {
  19775. "description": "平仓盈亏(账户)(逐笔)",
  19776. "type": "number"
  19777. },
  19778. "closepl4": {
  19779. "description": "平仓盈亏(商品)(逐笔)",
  19780. "type": "number"
  19781. },
  19782. "closetype": {
  19783. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19784. "type": "integer"
  19785. },
  19786. "curexchangerate": {
  19787. "description": "当前汇率",
  19788. "type": "number"
  19789. },
  19790. "exchangefullname": {
  19791. "description": "外部交易所全称",
  19792. "type": "string"
  19793. },
  19794. "goodscode": {
  19795. "description": "商品代码(内部)",
  19796. "type": "string"
  19797. },
  19798. "goodsid": {
  19799. "description": "商品ID",
  19800. "type": "integer"
  19801. },
  19802. "goodsname": {
  19803. "description": "商品名称",
  19804. "type": "string"
  19805. },
  19806. "marketid": {
  19807. "description": "市场ID",
  19808. "type": "integer"
  19809. },
  19810. "opencharge": {
  19811. "description": "建仓手续费(账户)",
  19812. "type": "number"
  19813. },
  19814. "opencharge2": {
  19815. "description": "建仓手续费(商品)",
  19816. "type": "number"
  19817. },
  19818. "orderid": {
  19819. "description": "委托单号",
  19820. "type": "string"
  19821. },
  19822. "orderlogincode": {
  19823. "description": "委托人",
  19824. "type": "string"
  19825. },
  19826. "tradeamount": {
  19827. "description": "成交金额(账户)",
  19828. "type": "number"
  19829. },
  19830. "tradedate": {
  19831. "description": "交易日(yyyyMMdd)",
  19832. "type": "string"
  19833. },
  19834. "tradeid": {
  19835. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19836. "type": "string"
  19837. },
  19838. "tradeprice": {
  19839. "description": "成交价格",
  19840. "type": "number"
  19841. },
  19842. "tradeqty": {
  19843. "description": "成交数量",
  19844. "type": "integer"
  19845. },
  19846. "tradetime": {
  19847. "description": "成交时间",
  19848. "type": "string"
  19849. },
  19850. "tradetype": {
  19851. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  19852. "type": "integer"
  19853. }
  19854. }
  19855. },
  19856. "models.QuotePrimaryMenu": {
  19857. "type": "object",
  19858. "properties": {
  19859. "Index": {
  19860. "description": "序号",
  19861. "type": "integer"
  19862. },
  19863. "Key": {
  19864. "description": "键名",
  19865. "type": "string"
  19866. },
  19867. "Name": {
  19868. "description": "菜单名称",
  19869. "type": "string"
  19870. },
  19871. "SubMenus": {
  19872. "description": "子菜单",
  19873. "type": "array",
  19874. "items": {
  19875. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  19876. }
  19877. },
  19878. "SubTitleType": {
  19879. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  19880. "type": "integer"
  19881. },
  19882. "TradeModes": {
  19883. "description": "包含市场交易类型",
  19884. "type": "string"
  19885. }
  19886. }
  19887. },
  19888. "models.QuoteSecondaryMenu": {
  19889. "type": "object",
  19890. "properties": {
  19891. "ExExchangeCode": {
  19892. "description": "外部交易所代码",
  19893. "type": "string"
  19894. },
  19895. "ExExchangeID": {
  19896. "description": "外部交易所ID",
  19897. "type": "integer"
  19898. },
  19899. "GoodsGroupIDs": {
  19900. "description": "商品组ID列表",
  19901. "type": "array",
  19902. "items": {
  19903. "type": "integer"
  19904. }
  19905. },
  19906. "Index": {
  19907. "description": "序号",
  19908. "type": "integer"
  19909. },
  19910. "MarketID": {
  19911. "description": "市场ID",
  19912. "type": "integer"
  19913. },
  19914. "MenuTitle": {
  19915. "description": "菜单标题(市场名称或外部交易所名称)",
  19916. "type": "string"
  19917. },
  19918. "TradeMode": {
  19919. "description": "交易模式",
  19920. "type": "integer"
  19921. }
  19922. }
  19923. },
  19924. "models.SearchGoods": {
  19925. "type": "object",
  19926. "required": [
  19927. "goodscode",
  19928. "goodsid",
  19929. "goodsname",
  19930. "marketid",
  19931. "trademode"
  19932. ],
  19933. "properties": {
  19934. "goodscode": {
  19935. "description": "商品代码(内部)",
  19936. "type": "string"
  19937. },
  19938. "goodsid": {
  19939. "description": "商品ID(自增ID SEQ_GOODS)",
  19940. "type": "integer"
  19941. },
  19942. "goodsname": {
  19943. "description": "商品名称",
  19944. "type": "string"
  19945. },
  19946. "marketid": {
  19947. "description": "所属市场ID",
  19948. "type": "integer"
  19949. },
  19950. "marketname": {
  19951. "description": "市场名称",
  19952. "type": "string"
  19953. },
  19954. "trademode": {
  19955. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19956. "type": "integer"
  19957. }
  19958. }
  19959. },
  19960. "models.Systemparam": {
  19961. "type": "object",
  19962. "required": [
  19963. "paramcode"
  19964. ],
  19965. "properties": {
  19966. "loginid": {
  19967. "description": "更新用户账号,登录账号",
  19968. "type": "string"
  19969. },
  19970. "modifyflag": {
  19971. "description": "修改标志0 不允许修改 1 允许修改",
  19972. "type": "integer"
  19973. },
  19974. "paramcode": {
  19975. "description": "参数代码",
  19976. "type": "string"
  19977. },
  19978. "paramname": {
  19979. "description": "参数名",
  19980. "type": "string"
  19981. },
  19982. "paramtype": {
  19983. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  19984. "type": "integer"
  19985. },
  19986. "paramvalue": {
  19987. "description": "参数值",
  19988. "type": "string"
  19989. },
  19990. "paramvalue2": {
  19991. "description": "参数值(CLOB)",
  19992. "type": "string"
  19993. },
  19994. "regexpress": {
  19995. "description": "正则表达式",
  19996. "type": "string"
  19997. },
  19998. "remark": {
  19999. "description": "备注",
  20000. "type": "string"
  20001. },
  20002. "serverip": {
  20003. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  20004. "type": "string"
  20005. },
  20006. "showflag": {
  20007. "description": "是否显示0 不显示 1 显示",
  20008. "type": "integer"
  20009. },
  20010. "updatetime": {
  20011. "description": "更新时间",
  20012. "type": "string"
  20013. },
  20014. "userid": {
  20015. "description": "更新用户ID",
  20016. "type": "integer"
  20017. }
  20018. }
  20019. },
  20020. "models.Szdz3convertconfig": {
  20021. "type": "object",
  20022. "required": [
  20023. "converttype",
  20024. "innergoodsid",
  20025. "outergoodscode"
  20026. ],
  20027. "properties": {
  20028. "canin": {
  20029. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  20030. "type": "integer"
  20031. },
  20032. "canout": {
  20033. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  20034. "type": "integer"
  20035. },
  20036. "converttype": {
  20037. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  20038. "type": "integer"
  20039. },
  20040. "createtime": {
  20041. "description": "创建时间",
  20042. "type": "string"
  20043. },
  20044. "creatorid": {
  20045. "description": "创建人",
  20046. "type": "integer"
  20047. },
  20048. "daymaxvalue": {
  20049. "description": "当日最大转入限制",
  20050. "type": "number"
  20051. },
  20052. "freezedays": {
  20053. "description": "冻结天数 [5:花生米转交易]",
  20054. "type": "integer"
  20055. },
  20056. "innergoodsid": {
  20057. "description": "内部商品ID[交易]",
  20058. "type": "integer"
  20059. },
  20060. "inratio": {
  20061. "description": "目标值",
  20062. "type": "integer"
  20063. },
  20064. "modifierid": {
  20065. "description": "修改人",
  20066. "type": "integer"
  20067. },
  20068. "modifytime": {
  20069. "description": "修改时间",
  20070. "type": "string"
  20071. },
  20072. "outergoodscode": {
  20073. "description": "外部商品代码[JD\\PD]",
  20074. "type": "string"
  20075. },
  20076. "outratio": {
  20077. "description": "源值",
  20078. "type": "integer"
  20079. },
  20080. "pddecimalplace": {
  20081. "description": "PD小数位",
  20082. "type": "integer"
  20083. },
  20084. "timemaxvalue": {
  20085. "description": "单次最大转入限制",
  20086. "type": "number"
  20087. },
  20088. "timeminvalue": {
  20089. "description": "单次最小转入限制",
  20090. "type": "number"
  20091. }
  20092. }
  20093. },
  20094. "models.Szdz3searchwhitelist": {
  20095. "type": "object",
  20096. "required": [
  20097. "userid"
  20098. ],
  20099. "properties": {
  20100. "createtime": {
  20101. "description": "创建时间",
  20102. "type": "string"
  20103. },
  20104. "creatorid": {
  20105. "description": "创建人",
  20106. "type": "integer"
  20107. },
  20108. "modifierid": {
  20109. "description": "修改人",
  20110. "type": "integer"
  20111. },
  20112. "modifytime": {
  20113. "description": "修改时间",
  20114. "type": "string"
  20115. },
  20116. "userid": {
  20117. "description": "用户ID",
  20118. "type": "integer"
  20119. }
  20120. }
  20121. },
  20122. "models.Taaccount": {
  20123. "type": "object",
  20124. "required": [
  20125. "accountid",
  20126. "userid"
  20127. ],
  20128. "properties": {
  20129. "accountflag": {
  20130. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  20131. "type": "integer"
  20132. },
  20133. "accountid": {
  20134. "description": "资金账户ID",
  20135. "type": "integer"
  20136. },
  20137. "accountname": {
  20138. "description": "账户名称",
  20139. "type": "string"
  20140. },
  20141. "balance": {
  20142. "description": "期初余额",
  20143. "type": "number"
  20144. },
  20145. "capitalbalance": {
  20146. "description": "本金余额[外部子账户实际出入金余额]",
  20147. "type": "number"
  20148. },
  20149. "changeflag": {
  20150. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  20151. "type": "integer"
  20152. },
  20153. "changetime": {
  20154. "description": "账户状态变更时间",
  20155. "type": "string"
  20156. },
  20157. "closepl": {
  20158. "description": "今日平仓盈亏",
  20159. "type": "number"
  20160. },
  20161. "creditdecrease": {
  20162. "description": "今日授信减少",
  20163. "type": "number"
  20164. },
  20165. "creditincrease": {
  20166. "description": "今日授信增加",
  20167. "type": "number"
  20168. },
  20169. "currencyid": {
  20170. "description": "货币ID",
  20171. "type": "integer"
  20172. },
  20173. "currentbalance": {
  20174. "description": "期末余额",
  20175. "type": "number"
  20176. },
  20177. "freezecharge": {
  20178. "description": "手续费冻结",
  20179. "type": "number"
  20180. },
  20181. "freezemargin": {
  20182. "description": "冻结保证金",
  20183. "type": "number"
  20184. },
  20185. "fromaccountid": {
  20186. "description": "所属上级账户",
  20187. "type": "integer"
  20188. },
  20189. "inamount": {
  20190. "description": "今日入金金额(包括三方入金)",
  20191. "type": "number"
  20192. },
  20193. "ismain": {
  20194. "description": "是否母账号 0:不是母账户 1:是母账户",
  20195. "type": "integer"
  20196. },
  20197. "ismarketaccount": {
  20198. "description": "是否机构接单账号 0:不是 1:是",
  20199. "type": "integer"
  20200. },
  20201. "isreckonaccount": {
  20202. "description": "是否机构分润账号 0:不是 1:是",
  20203. "type": "integer"
  20204. },
  20205. "mortgagecredit": {
  20206. "description": "授信金额",
  20207. "type": "number"
  20208. },
  20209. "orifreezecharge": {
  20210. "description": "期初手续费冻结",
  20211. "type": "number"
  20212. },
  20213. "orifreezemargin": {
  20214. "description": "期初冻结保证金",
  20215. "type": "number"
  20216. },
  20217. "orimortgagecredit": {
  20218. "description": "期初授信金额",
  20219. "type": "number"
  20220. },
  20221. "oriothercredit": {
  20222. "description": "期初其它授信金额",
  20223. "type": "number"
  20224. },
  20225. "oriotherfreezemargin": {
  20226. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  20227. "type": "number"
  20228. },
  20229. "orioutamountfreeze": {
  20230. "description": "期初出金冻结",
  20231. "type": "number"
  20232. },
  20233. "oriusedmargin": {
  20234. "description": "期初占用保证金",
  20235. "type": "number"
  20236. },
  20237. "othercredit": {
  20238. "description": "其它授信金额",
  20239. "type": "number"
  20240. },
  20241. "othercreditdecrease": {
  20242. "description": "今日其它授信减少",
  20243. "type": "number"
  20244. },
  20245. "othercreditincrease": {
  20246. "description": "今日其它授信增加",
  20247. "type": "number"
  20248. },
  20249. "otherfreezemargin": {
  20250. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  20251. "type": "number"
  20252. },
  20253. "otherincome": {
  20254. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  20255. "type": "number"
  20256. },
  20257. "otherpay": {
  20258. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  20259. "type": "number"
  20260. },
  20261. "outamount": {
  20262. "description": "今日出金金额(包括三方出金)",
  20263. "type": "number"
  20264. },
  20265. "outamountfreeze": {
  20266. "description": "出金冻结",
  20267. "type": "number"
  20268. },
  20269. "outthreshold": {
  20270. "description": "出金阈值",
  20271. "type": "number"
  20272. },
  20273. "parentaccountid": {
  20274. "description": "所属根账号",
  20275. "type": "integer"
  20276. },
  20277. "paycharge": {
  20278. "description": "今日手续费支出",
  20279. "type": "number"
  20280. },
  20281. "relatedaccountstatus": {
  20282. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  20283. "type": "integer"
  20284. },
  20285. "relateduserid": {
  20286. "description": "关联用户",
  20287. "type": "integer"
  20288. },
  20289. "serivcegroup": {
  20290. "description": "服务分组",
  20291. "type": "integer"
  20292. },
  20293. "signstatus": {
  20294. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  20295. "type": "integer"
  20296. },
  20297. "sublevelpath": {
  20298. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  20299. "type": "string"
  20300. },
  20301. "taaccounttype": {
  20302. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  20303. "type": "integer"
  20304. },
  20305. "thirdinamount": {
  20306. "description": "今日三方入金",
  20307. "type": "number"
  20308. },
  20309. "thirdoutamount": {
  20310. "description": "今日三方出金",
  20311. "type": "number"
  20312. },
  20313. "tradestatus": {
  20314. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20315. "type": "integer"
  20316. },
  20317. "tradestatuschangetime": {
  20318. "description": "激活时间",
  20319. "type": "string"
  20320. },
  20321. "transferamount": {
  20322. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  20323. "type": "number"
  20324. },
  20325. "usedmargin": {
  20326. "description": "占用保证金",
  20327. "type": "number"
  20328. },
  20329. "userid": {
  20330. "description": "用户ID",
  20331. "type": "integer"
  20332. }
  20333. }
  20334. },
  20335. "models.Tablecolumnconfig": {
  20336. "type": "object",
  20337. "required": [
  20338. "autoid"
  20339. ],
  20340. "properties": {
  20341. "aligntype": {
  20342. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  20343. "type": "integer"
  20344. },
  20345. "autoid": {
  20346. "description": "AutoID",
  20347. "type": "integer"
  20348. },
  20349. "columnfield": {
  20350. "description": "列字段",
  20351. "type": "string"
  20352. },
  20353. "columntitle": {
  20354. "description": "列Title",
  20355. "type": "string"
  20356. },
  20357. "columnwidth": {
  20358. "description": "列宽",
  20359. "type": "string"
  20360. },
  20361. "formatterstring": {
  20362. "description": "格式化字符",
  20363. "type": "string"
  20364. },
  20365. "formattertype": {
  20366. "description": "格式化类型",
  20367. "type": "string"
  20368. },
  20369. "groupname": {
  20370. "description": "表头分组名称",
  20371. "type": "string"
  20372. },
  20373. "isshow": {
  20374. "description": "是否显示 - 0:不显示 1:显示",
  20375. "type": "integer"
  20376. },
  20377. "needsummary": {
  20378. "description": "是否需要汇总 - 0:不需要 1:需要",
  20379. "type": "integer"
  20380. },
  20381. "orderindex": {
  20382. "description": "顺序",
  20383. "type": "integer"
  20384. },
  20385. "remark": {
  20386. "description": "备注",
  20387. "type": "string"
  20388. },
  20389. "summarytype": {
  20390. "description": "汇总类型 - 1:加总 2:最后一个",
  20391. "type": "integer"
  20392. },
  20393. "tablekey": {
  20394. "description": "列表Key",
  20395. "type": "string"
  20396. }
  20397. }
  20398. },
  20399. "models.Useraccount": {
  20400. "type": "object",
  20401. "required": [
  20402. "userid"
  20403. ],
  20404. "properties": {
  20405. "accountname": {
  20406. "description": "账户名称(机构名称)",
  20407. "type": "string"
  20408. },
  20409. "accountstatus": {
  20410. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  20411. "type": "integer"
  20412. },
  20413. "auditremark": {
  20414. "description": "审核备注",
  20415. "type": "string"
  20416. },
  20417. "audittime": {
  20418. "description": "审核时间",
  20419. "type": "string"
  20420. },
  20421. "audituserid": {
  20422. "description": "审核人",
  20423. "type": "integer"
  20424. },
  20425. "broker": {
  20426. "description": "所属经纪人ID",
  20427. "type": "integer"
  20428. },
  20429. "canceltime": {
  20430. "description": "销户时间",
  20431. "type": "string"
  20432. },
  20433. "canceluserid": {
  20434. "description": "销户人",
  20435. "type": "integer"
  20436. },
  20437. "createtime": {
  20438. "description": "创建时间",
  20439. "type": "string"
  20440. },
  20441. "creatorid": {
  20442. "description": "创建人",
  20443. "type": "integer"
  20444. },
  20445. "hasauth": {
  20446. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  20447. "type": "integer"
  20448. },
  20449. "isanonymous": {
  20450. "description": "是否匿名下单 - 0:否 1:是",
  20451. "type": "integer"
  20452. },
  20453. "maxinvestornum": {
  20454. "description": "最大用户数(经纪会员下投资者个数)",
  20455. "type": "integer"
  20456. },
  20457. "memberuserid": {
  20458. "description": "所属会员ID",
  20459. "type": "integer"
  20460. },
  20461. "modifierid": {
  20462. "description": "修改人",
  20463. "type": "integer"
  20464. },
  20465. "modifyremark": {
  20466. "description": "变更备注",
  20467. "type": "string"
  20468. },
  20469. "modifystatus": {
  20470. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  20471. "type": "integer"
  20472. },
  20473. "modifytime": {
  20474. "description": "修改时间",
  20475. "type": "string"
  20476. },
  20477. "parentuserid": {
  20478. "description": "所属机构ID",
  20479. "type": "integer"
  20480. },
  20481. "reckonaccountid": {
  20482. "description": "默认结算资金账号ID(机构分润使用) 作废",
  20483. "type": "integer"
  20484. },
  20485. "refercount": {
  20486. "description": "推荐总人数",
  20487. "type": "integer"
  20488. },
  20489. "refereeuserid": {
  20490. "description": "推荐人ID",
  20491. "type": "integer"
  20492. },
  20493. "refernum": {
  20494. "description": "推荐码",
  20495. "type": "string"
  20496. },
  20497. "subarealevelpath": {
  20498. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  20499. "type": "string"
  20500. },
  20501. "userid": {
  20502. "description": "用户ID",
  20503. "type": "integer"
  20504. },
  20505. "usertype": {
  20506. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  20507. "type": "integer"
  20508. }
  20509. }
  20510. },
  20511. "models.Userfavoritegoods": {
  20512. "type": "object",
  20513. "required": [
  20514. "goodsid"
  20515. ],
  20516. "properties": {
  20517. "goodsid": {
  20518. "description": "商品ID",
  20519. "type": "integer"
  20520. }
  20521. }
  20522. },
  20523. "models.Userinfo": {
  20524. "type": "object",
  20525. "required": [
  20526. "userid"
  20527. ],
  20528. "properties": {
  20529. "address": {
  20530. "description": "地址",
  20531. "type": "string"
  20532. },
  20533. "attachment1": {
  20534. "description": "附件1",
  20535. "type": "string"
  20536. },
  20537. "attachment2": {
  20538. "description": "附件2",
  20539. "type": "string"
  20540. },
  20541. "bankaccount": {
  20542. "description": "银行帐号 (加密存储)",
  20543. "type": "string"
  20544. },
  20545. "bankaccountname": {
  20546. "description": "收款人名称",
  20547. "type": "string"
  20548. },
  20549. "bankcardfrontphotourl": {
  20550. "description": "银行卡正面照地址",
  20551. "type": "string"
  20552. },
  20553. "bankid": {
  20554. "description": "银行编码",
  20555. "type": "string"
  20556. },
  20557. "bankname": {
  20558. "description": "银行名称",
  20559. "type": "string"
  20560. },
  20561. "biznature": {
  20562. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20563. "type": "integer"
  20564. },
  20565. "bizscope": {
  20566. "description": "企业经营范围(企业)",
  20567. "type": "string"
  20568. },
  20569. "cardbackphotourl": {
  20570. "description": "证件背面图片地址",
  20571. "type": "string"
  20572. },
  20573. "cardfrontphotourl": {
  20574. "description": "证件正面图片地址",
  20575. "type": "string"
  20576. },
  20577. "cardnum": {
  20578. "description": "证件号码(加密存储)",
  20579. "type": "string"
  20580. },
  20581. "cardtypeid": {
  20582. "description": "证件类型ID",
  20583. "type": "integer"
  20584. },
  20585. "cityid": {
  20586. "description": "市",
  20587. "type": "integer"
  20588. },
  20589. "company": {
  20590. "description": "公司(个人)",
  20591. "type": "string"
  20592. },
  20593. "contactname": {
  20594. "description": "联系人",
  20595. "type": "string"
  20596. },
  20597. "countryid": {
  20598. "description": "国家",
  20599. "type": "integer"
  20600. },
  20601. "createtime": {
  20602. "description": "创建时间",
  20603. "type": "string"
  20604. },
  20605. "creatorid": {
  20606. "description": "创建人",
  20607. "type": "integer"
  20608. },
  20609. "customername": {
  20610. "description": "客户名称(企业名称)",
  20611. "type": "string"
  20612. },
  20613. "districtid": {
  20614. "description": "地区",
  20615. "type": "integer"
  20616. },
  20617. "email": {
  20618. "description": "邮件(加密存储)",
  20619. "type": "string"
  20620. },
  20621. "fax": {
  20622. "description": "传真(加密存储)",
  20623. "type": "string"
  20624. },
  20625. "halfbodyphotourl": {
  20626. "description": "半身照地址",
  20627. "type": "string"
  20628. },
  20629. "hasencrypt": {
  20630. "description": "数据是否已加密 - 0:未加密 1:已加密",
  20631. "type": "integer"
  20632. },
  20633. "headurl": {
  20634. "description": "头像地址",
  20635. "type": "string"
  20636. },
  20637. "legalcardbackphotourl": {
  20638. "description": "法人身份证背面照地址",
  20639. "type": "string"
  20640. },
  20641. "legalcardfrontphotourl": {
  20642. "description": "法人身份证正面照地址",
  20643. "type": "string"
  20644. },
  20645. "legalpersonname": {
  20646. "description": "法人姓名(企业)",
  20647. "type": "string"
  20648. },
  20649. "mobile": {
  20650. "description": "手机号码(加密存储)",
  20651. "type": "string"
  20652. },
  20653. "mobile2": {
  20654. "description": "手机号码[明文-尚志]",
  20655. "type": "string"
  20656. },
  20657. "modifierid": {
  20658. "description": "修改人",
  20659. "type": "integer"
  20660. },
  20661. "modifiertime": {
  20662. "description": "修改时间",
  20663. "type": "string"
  20664. },
  20665. "needinvoice": {
  20666. "description": "是否需要发票 - 0:不需要 1:需要",
  20667. "type": "integer"
  20668. },
  20669. "nickname": {
  20670. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  20671. "type": "string"
  20672. },
  20673. "openmode": {
  20674. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  20675. "type": "integer"
  20676. },
  20677. "otherurl": {
  20678. "description": "其它图片地址[使用分号分隔]",
  20679. "type": "string"
  20680. },
  20681. "postalcode": {
  20682. "description": "邮政编码",
  20683. "type": "string"
  20684. },
  20685. "provinceid": {
  20686. "description": "省",
  20687. "type": "integer"
  20688. },
  20689. "qq": {
  20690. "description": "QQ(加密存储",
  20691. "type": "string"
  20692. },
  20693. "remark": {
  20694. "description": "备注",
  20695. "type": "string"
  20696. },
  20697. "sex": {
  20698. "description": "用户性别 0: 女 1: 男",
  20699. "type": "integer"
  20700. },
  20701. "signpdfurl": {
  20702. "description": "签约pdf文件",
  20703. "type": "string"
  20704. },
  20705. "telphone": {
  20706. "description": "联系电话(加密存储)",
  20707. "type": "string"
  20708. },
  20709. "userid": {
  20710. "description": "用户ID",
  20711. "type": "integer"
  20712. },
  20713. "userinfotype": {
  20714. "description": "用户信息类型 - 1:个人 2:企业",
  20715. "type": "integer"
  20716. },
  20717. "userstatus": {
  20718. "description": "用户状态 - 1:正常 2:注销",
  20719. "type": "integer"
  20720. },
  20721. "usertype": {
  20722. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  20723. "type": "integer"
  20724. },
  20725. "wechat": {
  20726. "description": "微信(加密存储)",
  20727. "type": "string"
  20728. },
  20729. "wskhinfo": {
  20730. "description": "开户申请信息(JSON)",
  20731. "type": "string"
  20732. }
  20733. }
  20734. },
  20735. "models.WRSConverTDetail": {
  20736. "type": "object",
  20737. "properties": {
  20738. "convertratio": {
  20739. "description": "套保系数",
  20740. "type": "number"
  20741. },
  20742. "deliverygoodscode": {
  20743. "description": "现货商品代码",
  20744. "type": "string"
  20745. },
  20746. "deliverygoodsid": {
  20747. "description": "现货品种ID",
  20748. "type": "integer"
  20749. },
  20750. "deliverygoodsname": {
  20751. "description": "现货商品名称",
  20752. "type": "string"
  20753. },
  20754. "enumdicname": {
  20755. "description": "单位名称",
  20756. "type": "string"
  20757. },
  20758. "goodsunitid": {
  20759. "description": "套保品种单位id",
  20760. "type": "integer"
  20761. },
  20762. "middlegoodscode": {
  20763. "description": "套保品种代码",
  20764. "type": "string"
  20765. },
  20766. "middlegoodsid": {
  20767. "description": "套保品种ID",
  20768. "type": "integer"
  20769. },
  20770. "middlegoodsname": {
  20771. "description": "套保品种名称",
  20772. "type": "string"
  20773. },
  20774. "modifytime": {
  20775. "description": "修改时间",
  20776. "type": "string"
  20777. },
  20778. "wrstandardid": {
  20779. "description": "品类ID",
  20780. "type": "integer"
  20781. }
  20782. }
  20783. },
  20784. "models.WRStandardInfo": {
  20785. "type": "object",
  20786. "required": [
  20787. "wrstandardid"
  20788. ],
  20789. "properties": {
  20790. "areauserid": {
  20791. "description": "所属机构",
  20792. "type": "integer"
  20793. },
  20794. "convertfactor": {
  20795. "description": "标仓系数",
  20796. "type": "number"
  20797. },
  20798. "createtime": {
  20799. "description": "创建时间",
  20800. "type": "string"
  20801. },
  20802. "creatorid": {
  20803. "description": "创建人",
  20804. "type": "integer"
  20805. },
  20806. "deliverygoodsid": {
  20807. "description": "品种ID",
  20808. "type": "integer"
  20809. },
  20810. "deliverygoodsname": {
  20811. "description": "交割商品名称",
  20812. "type": "string"
  20813. },
  20814. "factoryitemjson": {
  20815. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  20816. "type": "string"
  20817. },
  20818. "isvalid": {
  20819. "description": "是否有效 - 0:无效 1:有效",
  20820. "type": "integer"
  20821. },
  20822. "minivalue": {
  20823. "description": "最小变动值",
  20824. "type": "integer"
  20825. },
  20826. "minivaluedp": {
  20827. "description": "最小变动值小数位",
  20828. "type": "integer"
  20829. },
  20830. "realminivalue": {
  20831. "description": "实际最小变动值",
  20832. "type": "integer"
  20833. },
  20834. "realminivaluedp": {
  20835. "description": "实际最小变动值小数位",
  20836. "type": "integer"
  20837. },
  20838. "remark": {
  20839. "description": "备注",
  20840. "type": "string"
  20841. },
  20842. "unitid": {
  20843. "description": "单位ID",
  20844. "type": "integer"
  20845. },
  20846. "unitname": {
  20847. "description": "单位",
  20848. "type": "string"
  20849. },
  20850. "updatetime": {
  20851. "description": "更新时间",
  20852. "type": "string"
  20853. },
  20854. "updatorid": {
  20855. "description": "更新人",
  20856. "type": "integer"
  20857. },
  20858. "wrsstatus": {
  20859. "description": "状态 - 作废 - 0:未激活 1:正常",
  20860. "type": "integer"
  20861. },
  20862. "wrstandardcode": {
  20863. "description": "现货品类代码",
  20864. "type": "string"
  20865. },
  20866. "wrstandardid": {
  20867. "description": "现货品类ID(SEQ_WRSTANDARD)",
  20868. "type": "integer"
  20869. },
  20870. "wrstandardname": {
  20871. "description": "现货品类名称",
  20872. "type": "string"
  20873. }
  20874. }
  20875. },
  20876. "models.Warehouseinfo": {
  20877. "type": "object",
  20878. "required": [
  20879. "autoid",
  20880. "warehousecode"
  20881. ],
  20882. "properties": {
  20883. "address": {
  20884. "description": "详细地址",
  20885. "type": "string"
  20886. },
  20887. "areauserid": {
  20888. "description": "所属机构",
  20889. "type": "integer"
  20890. },
  20891. "autoid": {
  20892. "description": "自增ID",
  20893. "type": "integer"
  20894. },
  20895. "cityid": {
  20896. "description": "市",
  20897. "type": "integer"
  20898. },
  20899. "contactname": {
  20900. "description": "联系人",
  20901. "type": "string"
  20902. },
  20903. "contactnum": {
  20904. "description": "联系电话",
  20905. "type": "string"
  20906. },
  20907. "countryid": {
  20908. "description": "国家",
  20909. "type": "integer"
  20910. },
  20911. "createtime": {
  20912. "description": "创建时间",
  20913. "type": "string"
  20914. },
  20915. "districtid": {
  20916. "description": "区",
  20917. "type": "integer"
  20918. },
  20919. "hasvideo": {
  20920. "description": "是否有视频 - 0:无 1:有",
  20921. "type": "integer"
  20922. },
  20923. "provinceid": {
  20924. "description": "省",
  20925. "type": "integer"
  20926. },
  20927. "remark": {
  20928. "description": "审核备注",
  20929. "type": "string"
  20930. },
  20931. "videourl": {
  20932. "description": "视频地址",
  20933. "type": "string"
  20934. },
  20935. "warehousecode": {
  20936. "description": "仓库代码",
  20937. "type": "string"
  20938. },
  20939. "warehousename": {
  20940. "description": "仓库名称",
  20941. "type": "string"
  20942. },
  20943. "warehousestatus": {
  20944. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  20945. "type": "integer"
  20946. },
  20947. "warehousetype": {
  20948. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20949. "type": "integer"
  20950. }
  20951. }
  20952. },
  20953. "order.QueryHisTradeDetailRsp": {
  20954. "type": "object",
  20955. "required": [
  20956. "accountid",
  20957. "buyorsell",
  20958. "goodsid",
  20959. "histradedate",
  20960. "marketid",
  20961. "memberuserid",
  20962. "orderid",
  20963. "tradeamount",
  20964. "tradedate",
  20965. "tradeid",
  20966. "tradeprice",
  20967. "tradeqty",
  20968. "tradetime"
  20969. ],
  20970. "properties": {
  20971. "accountid": {
  20972. "description": "账户ID[报价币种]",
  20973. "type": "integer"
  20974. },
  20975. "buildtype": {
  20976. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  20977. "type": "integer"
  20978. },
  20979. "buyorsell": {
  20980. "description": "方向 - 0:买 1:卖",
  20981. "type": "integer"
  20982. },
  20983. "charge": {
  20984. "description": "手续费",
  20985. "type": "number"
  20986. },
  20987. "closecharge": {
  20988. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20989. "type": "number"
  20990. },
  20991. "closeexchagechargevalue": {
  20992. "description": "平仓交易所手续费设置值",
  20993. "type": "number"
  20994. },
  20995. "closefeealgorithm": {
  20996. "description": "平仓手续费收取方式 1:比率 2:固定",
  20997. "type": "integer"
  20998. },
  20999. "closememberchargevalue": {
  21000. "description": "平仓会员手续费设置值",
  21001. "type": "number"
  21002. },
  21003. "closepl": {
  21004. "description": "平仓盈亏",
  21005. "type": "number"
  21006. },
  21007. "closepl2": {
  21008. "description": "平仓盈亏[逐笔]",
  21009. "type": "number"
  21010. },
  21011. "closeqty": {
  21012. "description": "平仓数量(先建后平操作 需要记录)",
  21013. "type": "integer"
  21014. },
  21015. "creditamount": {
  21016. "description": "授信金额",
  21017. "type": "number"
  21018. },
  21019. "gcaccountid": {
  21020. "description": "账户ID[合约币种]",
  21021. "type": "integer"
  21022. },
  21023. "goodscode": {
  21024. "description": "商品代码",
  21025. "type": "string"
  21026. },
  21027. "goodsid": {
  21028. "description": "商品ID",
  21029. "type": "integer"
  21030. },
  21031. "goodsname": {
  21032. "description": "商品名称",
  21033. "type": "string"
  21034. },
  21035. "histradedate": {
  21036. "description": "历史交易日",
  21037. "type": "string"
  21038. },
  21039. "intclosepl": {
  21040. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  21041. "type": "integer"
  21042. },
  21043. "isconfirmexercise": {
  21044. "description": "是否确认行权- 0:否 1:是",
  21045. "type": "integer"
  21046. },
  21047. "ismain": {
  21048. "description": "是否主单 - 0:不是 1:是",
  21049. "type": "integer"
  21050. },
  21051. "ispreexercise": {
  21052. "description": "是否预申报- 0:否 1:是",
  21053. "type": "integer"
  21054. },
  21055. "isreckoned": {
  21056. "description": "是否结算 - 0:未结算 1:已结算",
  21057. "type": "integer"
  21058. },
  21059. "isvaliddata": {
  21060. "description": "是否有效 - 0:无效 1:有效",
  21061. "type": "integer"
  21062. },
  21063. "listingselecttype": {
  21064. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21065. "type": "integer"
  21066. },
  21067. "marketid": {
  21068. "description": "市场ID",
  21069. "type": "integer"
  21070. },
  21071. "marketname": {
  21072. "description": "市场名称",
  21073. "type": "string"
  21074. },
  21075. "matchaccountid": {
  21076. "description": "对手账号id",
  21077. "type": "integer"
  21078. },
  21079. "memberuserid": {
  21080. "description": "会员id 个人投资者 需要填写",
  21081. "type": "integer"
  21082. },
  21083. "opencharge": {
  21084. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21085. "type": "number"
  21086. },
  21087. "openexchagechargevalue": {
  21088. "description": "建仓交易所手续费设置值",
  21089. "type": "number"
  21090. },
  21091. "openfeealgorithm": {
  21092. "description": "建仓手续费收取方式 1:比率 2:固定",
  21093. "type": "integer"
  21094. },
  21095. "openmemberchargevalue": {
  21096. "description": "建仓会员手续费设置值",
  21097. "type": "number"
  21098. },
  21099. "openqty": {
  21100. "description": "开仓数量(先建后平操作 需要记录)",
  21101. "type": "integer"
  21102. },
  21103. "optiontype": {
  21104. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  21105. "type": "integer"
  21106. },
  21107. "orderid": {
  21108. "description": "委托单号",
  21109. "type": "string"
  21110. },
  21111. "performanceplanid": {
  21112. "description": "履约计划ID[期权]",
  21113. "type": "integer"
  21114. },
  21115. "performancestatus": {
  21116. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  21117. "type": "integer"
  21118. },
  21119. "preexerciseprice": {
  21120. "description": "预申报价格",
  21121. "type": "number"
  21122. },
  21123. "premium": {
  21124. "description": "权利金 - [持仓单的权利金]",
  21125. "type": "number"
  21126. },
  21127. "relatedouttradeid": {
  21128. "description": "关联外部成交单ID",
  21129. "type": "integer"
  21130. },
  21131. "status": {
  21132. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  21133. "type": "integer"
  21134. },
  21135. "tradeamount": {
  21136. "description": "成交金额[账户币种,用于所有权]",
  21137. "type": "number"
  21138. },
  21139. "tradedate": {
  21140. "description": "交易日(yyyyMMdd)",
  21141. "type": "string"
  21142. },
  21143. "tradeid": {
  21144. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21145. "type": "string"
  21146. },
  21147. "trademode": {
  21148. "description": "交易模式",
  21149. "type": "integer"
  21150. },
  21151. "tradeprice": {
  21152. "description": "成交价格",
  21153. "type": "number"
  21154. },
  21155. "tradeproperty": {
  21156. "description": "交易属性",
  21157. "type": "integer"
  21158. },
  21159. "tradeqty": {
  21160. "description": "成交数量",
  21161. "type": "integer"
  21162. },
  21163. "tradetime": {
  21164. "description": "成交时间",
  21165. "type": "string"
  21166. },
  21167. "tradetype": {
  21168. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  21169. "type": "integer"
  21170. }
  21171. }
  21172. },
  21173. "order.QueryHisTradeOrderDetailRsp": {
  21174. "type": "object",
  21175. "required": [
  21176. "accountid",
  21177. "buildtype",
  21178. "buyorsell",
  21179. "goodsid",
  21180. "histradedate",
  21181. "marketid",
  21182. "memberuserid",
  21183. "operatetype",
  21184. "orderid",
  21185. "orderqty",
  21186. "ordertime",
  21187. "pricemode",
  21188. "tradedate",
  21189. "validtype"
  21190. ],
  21191. "properties": {
  21192. "accountid": {
  21193. "description": "账户ID[报价币种]",
  21194. "type": "integer"
  21195. },
  21196. "buildtype": {
  21197. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  21198. "type": "integer"
  21199. },
  21200. "buyorsell": {
  21201. "description": "买卖 - 0:买 1:卖",
  21202. "type": "integer"
  21203. },
  21204. "cancelorderid": {
  21205. "description": "撤单单号(撤单时填写)",
  21206. "type": "string"
  21207. },
  21208. "cancelqty": {
  21209. "description": "撤单数量",
  21210. "type": "integer"
  21211. },
  21212. "clientordertime": {
  21213. "description": "客户端委托时间",
  21214. "type": "string"
  21215. },
  21216. "clientticket": {
  21217. "description": "客户端流水号",
  21218. "type": "string"
  21219. },
  21220. "clienttype": {
  21221. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21222. "type": "integer"
  21223. },
  21224. "closeexchagechargevalue": {
  21225. "description": "平仓交易所手续费设置值",
  21226. "type": "number"
  21227. },
  21228. "closefeealgorithm": {
  21229. "description": "平仓手续费收取方式 1:比率 2:固定",
  21230. "type": "integer"
  21231. },
  21232. "closefreezecharge": {
  21233. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  21234. "type": "number"
  21235. },
  21236. "closememberchargevalue": {
  21237. "description": "平仓会员手续费设置值",
  21238. "type": "number"
  21239. },
  21240. "closeqty": {
  21241. "description": "平仓数量(先建后平操作 需要记录)",
  21242. "type": "integer"
  21243. },
  21244. "closetradeqty": {
  21245. "description": "平仓成交数量(先建后平操作,需要记录)",
  21246. "type": "integer"
  21247. },
  21248. "closeunfreezecharge": {
  21249. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  21250. "type": "number"
  21251. },
  21252. "delistingtype": {
  21253. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  21254. "type": "integer"
  21255. },
  21256. "freezecharge": {
  21257. "description": "冻结手续费",
  21258. "type": "number"
  21259. },
  21260. "freezemargin": {
  21261. "description": "冻结保证金(冻结交易金额)",
  21262. "type": "number"
  21263. },
  21264. "gcaccountid": {
  21265. "description": "账户ID[合约币种]",
  21266. "type": "integer"
  21267. },
  21268. "goodscode": {
  21269. "description": "商品代码",
  21270. "type": "string"
  21271. },
  21272. "goodsid": {
  21273. "description": "商品ID",
  21274. "type": "integer"
  21275. },
  21276. "goodsname": {
  21277. "description": "商品名称",
  21278. "type": "string"
  21279. },
  21280. "histradedate": {
  21281. "description": "历史交易日",
  21282. "type": "string"
  21283. },
  21284. "isconfirmexercise": {
  21285. "description": "是否确认行权- 0:否 1:是",
  21286. "type": "integer"
  21287. },
  21288. "ispreexercise": {
  21289. "description": "是否预申报- 0:否 1:是",
  21290. "type": "integer"
  21291. },
  21292. "isvaliddata": {
  21293. "description": "是否有效 - 0:无效 1:有效",
  21294. "type": "integer"
  21295. },
  21296. "listingselecttype": {
  21297. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21298. "type": "integer"
  21299. },
  21300. "marginalgorithm": {
  21301. "description": "保证金收取方式 1:比率 2:固定",
  21302. "type": "integer"
  21303. },
  21304. "marginvalue": {
  21305. "description": "即市保证金设置值",
  21306. "type": "number"
  21307. },
  21308. "marketid": {
  21309. "description": "市场ID",
  21310. "type": "integer"
  21311. },
  21312. "marketmaxsub": {
  21313. "description": "市价最大偏移范围",
  21314. "type": "number"
  21315. },
  21316. "marketname": {
  21317. "description": "市场名称",
  21318. "type": "string"
  21319. },
  21320. "memberuserid": {
  21321. "description": "所属会员UserID",
  21322. "type": "integer"
  21323. },
  21324. "openexchagechargevalue": {
  21325. "description": "建仓交易所手续费设置值",
  21326. "type": "number"
  21327. },
  21328. "openfeealgorithm": {
  21329. "description": "建仓手续费收取方式 1:比率 2:固定",
  21330. "type": "integer"
  21331. },
  21332. "openfreezecharge": {
  21333. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  21334. "type": "number"
  21335. },
  21336. "openmemberchargevalue": {
  21337. "description": "建仓会员手续费设置值",
  21338. "type": "number"
  21339. },
  21340. "openqty": {
  21341. "description": "开仓数量(先建后平操作,需要记录)",
  21342. "type": "integer"
  21343. },
  21344. "opentradeqty": {
  21345. "description": "开仓成交数量(先建后平操作,需要记录)",
  21346. "type": "integer"
  21347. },
  21348. "openunfreezecharge": {
  21349. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  21350. "type": "number"
  21351. },
  21352. "operatetype": {
  21353. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  21354. "type": "integer"
  21355. },
  21356. "operatorid": {
  21357. "description": "登录账号(LoginID)",
  21358. "type": "integer"
  21359. },
  21360. "optiontype": {
  21361. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  21362. "type": "integer"
  21363. },
  21364. "orderid": {
  21365. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21366. "type": "string"
  21367. },
  21368. "orderprice": {
  21369. "description": "委托价格",
  21370. "type": "number"
  21371. },
  21372. "orderqty": {
  21373. "description": "委托数量",
  21374. "type": "integer"
  21375. },
  21376. "ordersrc": {
  21377. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  21378. "type": "integer"
  21379. },
  21380. "orderstatus": {
  21381. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21382. "type": "integer"
  21383. },
  21384. "ordertime": {
  21385. "description": "委托时间",
  21386. "type": "string"
  21387. },
  21388. "preexerciseprice": {
  21389. "description": "预申报价格",
  21390. "type": "number"
  21391. },
  21392. "premium": {
  21393. "description": "权利金",
  21394. "type": "number"
  21395. },
  21396. "preorderid": {
  21397. "description": "关联预埋单号(止盈止损单时填写)",
  21398. "type": "string"
  21399. },
  21400. "pricemode": {
  21401. "description": "取价方式 - 1:市价 2: 限价",
  21402. "type": "integer"
  21403. },
  21404. "quoteid": {
  21405. "description": "报价单ID",
  21406. "type": "integer"
  21407. },
  21408. "relatedid": {
  21409. "description": "关联单号(交割单)",
  21410. "type": "string"
  21411. },
  21412. "retcode": {
  21413. "description": "错误代码",
  21414. "type": "integer"
  21415. },
  21416. "sessionid": {
  21417. "description": "会话ID",
  21418. "type": "integer"
  21419. },
  21420. "tradedate": {
  21421. "description": "交易日(yyyyMMdd)",
  21422. "type": "string"
  21423. },
  21424. "trademode": {
  21425. "description": "交易模式",
  21426. "type": "integer"
  21427. },
  21428. "tradeproperty": {
  21429. "description": "交易属性",
  21430. "type": "integer"
  21431. },
  21432. "tradeqty": {
  21433. "description": "成交数量",
  21434. "type": "integer"
  21435. },
  21436. "unfreezecharge": {
  21437. "description": "解冻手续费",
  21438. "type": "number"
  21439. },
  21440. "unfreezemargin": {
  21441. "description": "解冻保证金",
  21442. "type": "number"
  21443. },
  21444. "updatetime": {
  21445. "description": "更新时间",
  21446. "type": "string"
  21447. },
  21448. "uuid": {
  21449. "description": "发起端唯一id",
  21450. "type": "string"
  21451. },
  21452. "validtime": {
  21453. "description": "有效期限",
  21454. "type": "string"
  21455. },
  21456. "validtype": {
  21457. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  21458. "type": "integer"
  21459. },
  21460. "volumetype": {
  21461. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  21462. "type": "integer"
  21463. }
  21464. }
  21465. },
  21466. "order.QueryTradeDetailRsp": {
  21467. "type": "object",
  21468. "required": [
  21469. "accountid",
  21470. "buyorsell",
  21471. "goodsid",
  21472. "marketid",
  21473. "memberuserid",
  21474. "orderid",
  21475. "tradeamount",
  21476. "tradedate",
  21477. "tradeid",
  21478. "tradeprice",
  21479. "tradeqty",
  21480. "tradetime"
  21481. ],
  21482. "properties": {
  21483. "accountid": {
  21484. "description": "账户ID[报价币种]",
  21485. "type": "integer"
  21486. },
  21487. "buildtype": {
  21488. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  21489. "type": "integer"
  21490. },
  21491. "buyorsell": {
  21492. "description": "方向 - 0:买 1:卖",
  21493. "type": "integer"
  21494. },
  21495. "charge": {
  21496. "description": "手续费",
  21497. "type": "number"
  21498. },
  21499. "closecharge": {
  21500. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21501. "type": "number"
  21502. },
  21503. "closeexchagechargevalue": {
  21504. "description": "平仓交易所手续费设置值",
  21505. "type": "number"
  21506. },
  21507. "closefeealgorithm": {
  21508. "description": "平仓手续费收取方式 1:比率 2:固定",
  21509. "type": "integer"
  21510. },
  21511. "closememberchargevalue": {
  21512. "description": "平仓会员手续费设置值",
  21513. "type": "number"
  21514. },
  21515. "closepl": {
  21516. "description": "平仓盈亏",
  21517. "type": "number"
  21518. },
  21519. "closepl2": {
  21520. "description": "平仓盈亏[逐笔]",
  21521. "type": "number"
  21522. },
  21523. "closeqty": {
  21524. "description": "平仓数量(先建后平操作 需要记录)",
  21525. "type": "integer"
  21526. },
  21527. "creditamount": {
  21528. "description": "授信金额",
  21529. "type": "number"
  21530. },
  21531. "gcaccountid": {
  21532. "description": "账户ID[合约币种]",
  21533. "type": "integer"
  21534. },
  21535. "goodscode": {
  21536. "description": "商品代码",
  21537. "type": "string"
  21538. },
  21539. "goodsid": {
  21540. "description": "商品ID",
  21541. "type": "integer"
  21542. },
  21543. "goodsname": {
  21544. "description": "商品名称",
  21545. "type": "string"
  21546. },
  21547. "intclosepl": {
  21548. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  21549. "type": "integer"
  21550. },
  21551. "isconfirmexercise": {
  21552. "description": "是否确认行权- 0:否 1:是",
  21553. "type": "integer"
  21554. },
  21555. "ismain": {
  21556. "description": "是否主单 - 0:不是 1:是",
  21557. "type": "integer"
  21558. },
  21559. "ispreexercise": {
  21560. "description": "是否预申报- 0:否 1:是",
  21561. "type": "integer"
  21562. },
  21563. "isreckoned": {
  21564. "description": "是否结算 - 0:未结算 1:已结算",
  21565. "type": "integer"
  21566. },
  21567. "listingselecttype": {
  21568. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21569. "type": "integer"
  21570. },
  21571. "marketid": {
  21572. "description": "市场ID",
  21573. "type": "integer"
  21574. },
  21575. "marketname": {
  21576. "description": "市场名称",
  21577. "type": "string"
  21578. },
  21579. "matchaccountid": {
  21580. "description": "对手账号id",
  21581. "type": "integer"
  21582. },
  21583. "memberuserid": {
  21584. "description": "会员id 个人投资者 需要填写",
  21585. "type": "integer"
  21586. },
  21587. "opencharge": {
  21588. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21589. "type": "number"
  21590. },
  21591. "openexchagechargevalue": {
  21592. "description": "建仓交易所手续费设置值",
  21593. "type": "number"
  21594. },
  21595. "openfeealgorithm": {
  21596. "description": "建仓手续费收取方式 1:比率 2:固定",
  21597. "type": "integer"
  21598. },
  21599. "openmemberchargevalue": {
  21600. "description": "建仓会员手续费设置值",
  21601. "type": "number"
  21602. },
  21603. "openqty": {
  21604. "description": "开仓数量(先建后平操作 需要记录)",
  21605. "type": "integer"
  21606. },
  21607. "optiontype": {
  21608. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  21609. "type": "integer"
  21610. },
  21611. "orderid": {
  21612. "description": "委托单号",
  21613. "type": "string"
  21614. },
  21615. "performanceplanid": {
  21616. "description": "履约计划ID[期权]",
  21617. "type": "integer"
  21618. },
  21619. "performancestatus": {
  21620. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  21621. "type": "integer"
  21622. },
  21623. "preexerciseprice": {
  21624. "description": "预申报价格",
  21625. "type": "number"
  21626. },
  21627. "premium": {
  21628. "description": "权利金 - [持仓单的权利金]",
  21629. "type": "number"
  21630. },
  21631. "relatedouttradeid": {
  21632. "description": "关联外部成交单ID",
  21633. "type": "integer"
  21634. },
  21635. "status": {
  21636. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  21637. "type": "integer"
  21638. },
  21639. "tradeamount": {
  21640. "description": "成交金额[账户币种,用于所有权]",
  21641. "type": "number"
  21642. },
  21643. "tradedate": {
  21644. "description": "交易日(yyyyMMdd)",
  21645. "type": "string"
  21646. },
  21647. "tradeid": {
  21648. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21649. "type": "string"
  21650. },
  21651. "trademode": {
  21652. "description": "交易模式",
  21653. "type": "integer"
  21654. },
  21655. "tradeprice": {
  21656. "description": "成交价格",
  21657. "type": "number"
  21658. },
  21659. "tradeproperty": {
  21660. "description": "交易属性",
  21661. "type": "integer"
  21662. },
  21663. "tradeqty": {
  21664. "description": "成交数量",
  21665. "type": "integer"
  21666. },
  21667. "tradetime": {
  21668. "description": "成交时间",
  21669. "type": "string"
  21670. },
  21671. "tradetype": {
  21672. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  21673. "type": "integer"
  21674. }
  21675. }
  21676. },
  21677. "order.QueryTradeOrderDetailRsp": {
  21678. "type": "object",
  21679. "required": [
  21680. "accountid",
  21681. "buildtype",
  21682. "buyorsell",
  21683. "goodsid",
  21684. "marketid",
  21685. "operatetype",
  21686. "orderqty",
  21687. "ordertime",
  21688. "pricemode",
  21689. "tradedate",
  21690. "validtype"
  21691. ],
  21692. "properties": {
  21693. "accountid": {
  21694. "description": "账户ID[报价币种]",
  21695. "type": "integer"
  21696. },
  21697. "buildtype": {
  21698. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  21699. "type": "integer"
  21700. },
  21701. "buyorsell": {
  21702. "description": "买卖 - 0:买 1:卖",
  21703. "type": "integer"
  21704. },
  21705. "cancelorderid": {
  21706. "description": "撤单单号(撤单时填写)",
  21707. "type": "string"
  21708. },
  21709. "cancelqty": {
  21710. "description": "撤单数量",
  21711. "type": "integer"
  21712. },
  21713. "clienttype": {
  21714. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21715. "type": "integer"
  21716. },
  21717. "closefreezecharge": {
  21718. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  21719. "type": "number"
  21720. },
  21721. "closeqty": {
  21722. "description": "平仓数量(先建后平操作 需要记录)",
  21723. "type": "integer"
  21724. },
  21725. "closetradeqty": {
  21726. "description": "平仓成交数量(先建后平操作,需要记录)",
  21727. "type": "integer"
  21728. },
  21729. "closeunfreezecharge": {
  21730. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  21731. "type": "number"
  21732. },
  21733. "delistingtype": {
  21734. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  21735. "type": "integer"
  21736. },
  21737. "enableqty": {
  21738. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  21739. "type": "integer"
  21740. },
  21741. "freezecharge": {
  21742. "description": "冻结手续费",
  21743. "type": "number"
  21744. },
  21745. "freezemargin": {
  21746. "description": "冻结保证金(冻结交易金额)",
  21747. "type": "number"
  21748. },
  21749. "goodscode": {
  21750. "description": "商品代码",
  21751. "type": "string"
  21752. },
  21753. "goodsid": {
  21754. "description": "商品ID",
  21755. "type": "integer"
  21756. },
  21757. "goodsname": {
  21758. "description": "商品名称",
  21759. "type": "string"
  21760. },
  21761. "listingselecttype": {
  21762. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21763. "type": "integer"
  21764. },
  21765. "marketid": {
  21766. "description": "市场ID",
  21767. "type": "integer"
  21768. },
  21769. "marketname": {
  21770. "description": "市场名称",
  21771. "type": "string"
  21772. },
  21773. "openfreezecharge": {
  21774. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  21775. "type": "number"
  21776. },
  21777. "openqty": {
  21778. "description": "开仓数量(先建后平操作,需要记录)",
  21779. "type": "integer"
  21780. },
  21781. "opentradeqty": {
  21782. "description": "开仓成交数量(先建后平操作,需要记录)",
  21783. "type": "integer"
  21784. },
  21785. "openunfreezecharge": {
  21786. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  21787. "type": "number"
  21788. },
  21789. "operatetype": {
  21790. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  21791. "type": "integer"
  21792. },
  21793. "operatorid": {
  21794. "description": "登录账号(LoginID)",
  21795. "type": "integer"
  21796. },
  21797. "orderid": {
  21798. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21799. "type": "string"
  21800. },
  21801. "orderprice": {
  21802. "description": "委托价格",
  21803. "type": "number"
  21804. },
  21805. "orderqty": {
  21806. "description": "委托数量",
  21807. "type": "integer"
  21808. },
  21809. "ordersrc": {
  21810. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  21811. "type": "integer"
  21812. },
  21813. "orderstatus": {
  21814. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21815. "type": "integer"
  21816. },
  21817. "ordertime": {
  21818. "description": "委托时间",
  21819. "type": "string"
  21820. },
  21821. "preorderid": {
  21822. "description": "关联预埋单号(止盈止损单时填写)",
  21823. "type": "string"
  21824. },
  21825. "pricemode": {
  21826. "description": "取价方式 - 1:市价 2: 限价",
  21827. "type": "integer"
  21828. },
  21829. "relatedid": {
  21830. "description": "关联单号(交割单)",
  21831. "type": "string"
  21832. },
  21833. "tradedate": {
  21834. "description": "交易日(yyyyMMdd)",
  21835. "type": "string"
  21836. },
  21837. "trademode": {
  21838. "description": "交易模式",
  21839. "type": "integer"
  21840. },
  21841. "tradeqty": {
  21842. "description": "成交数量",
  21843. "type": "integer"
  21844. },
  21845. "unfreezecharge": {
  21846. "description": "解冻手续费",
  21847. "type": "number"
  21848. },
  21849. "unfreezemargin": {
  21850. "description": "解冻保证金",
  21851. "type": "number"
  21852. },
  21853. "validtime": {
  21854. "description": "有效期限",
  21855. "type": "string"
  21856. },
  21857. "validtype": {
  21858. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  21859. "type": "integer"
  21860. },
  21861. "volumetype": {
  21862. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  21863. "type": "integer"
  21864. }
  21865. }
  21866. },
  21867. "order.QueryTradePositionRsp": {
  21868. "type": "object",
  21869. "required": [
  21870. "goodsid"
  21871. ],
  21872. "properties": {
  21873. "accountid": {
  21874. "description": "资金账户",
  21875. "type": "integer"
  21876. },
  21877. "agreeunit": {
  21878. "description": "合约单位",
  21879. "type": "number"
  21880. },
  21881. "averageprice": {
  21882. "description": "持仓均价",
  21883. "type": "number"
  21884. },
  21885. "buyorsell": {
  21886. "description": "方向 - 0:买 1:卖",
  21887. "type": "integer"
  21888. },
  21889. "closetotalqty": {
  21890. "description": "平仓总数量",
  21891. "type": "integer"
  21892. },
  21893. "curholderamount": {
  21894. "description": "当前持仓总金额[商品币种]",
  21895. "type": "number"
  21896. },
  21897. "curpositionqty": {
  21898. "description": "当前持仓总数量",
  21899. "type": "integer"
  21900. },
  21901. "currencyid": {
  21902. "description": "报价货币ID",
  21903. "type": "integer"
  21904. },
  21905. "curtdposition": {
  21906. "description": "期末今日头寸",
  21907. "type": "integer"
  21908. },
  21909. "decimalplace": {
  21910. "description": "报价小数位",
  21911. "type": "integer"
  21912. },
  21913. "enableqty": {
  21914. "description": "可用量",
  21915. "type": "integer"
  21916. },
  21917. "fretdposition": {
  21918. "description": "冻结今日头寸",
  21919. "type": "integer"
  21920. },
  21921. "frozenqty": {
  21922. "description": "持仓冻结数量",
  21923. "type": "integer"
  21924. },
  21925. "goodscode": {
  21926. "description": "商品代码",
  21927. "type": "string"
  21928. },
  21929. "goodsid": {
  21930. "description": "商品Id",
  21931. "type": "integer"
  21932. },
  21933. "goodsname": {
  21934. "description": "商品名称",
  21935. "type": "string"
  21936. },
  21937. "goodunit": {
  21938. "description": "报价单位",
  21939. "type": "string"
  21940. },
  21941. "goodunitid": {
  21942. "description": "报价单位ID",
  21943. "type": "integer"
  21944. },
  21945. "holderamount": {
  21946. "description": "期初持仓总金额[商品币种]",
  21947. "type": "number"
  21948. },
  21949. "marketid": {
  21950. "description": "所属市场ID",
  21951. "type": "integer"
  21952. },
  21953. "openreqqty": {
  21954. "description": "开仓申请数量(用于比较最大持仓数量)",
  21955. "type": "integer"
  21956. },
  21957. "opentotalqty": {
  21958. "description": "开仓总数量",
  21959. "type": "integer"
  21960. },
  21961. "otherfrozenqty": {
  21962. "description": "持仓其他冻结数量(交割冻结)",
  21963. "type": "integer"
  21964. },
  21965. "positionqty": {
  21966. "description": "期初持仓数量",
  21967. "type": "integer"
  21968. },
  21969. "tnqty": {
  21970. "description": "T+N冻结总量",
  21971. "type": "integer"
  21972. },
  21973. "tnusedqty": {
  21974. "description": "T+N使用量(可以使用T+N的冻结数量)",
  21975. "type": "integer"
  21976. },
  21977. "trademode": {
  21978. "description": "交易模式",
  21979. "type": "integer"
  21980. },
  21981. "usedmargin": {
  21982. "description": "占用保证金[商品币种]",
  21983. "type": "number"
  21984. }
  21985. }
  21986. },
  21987. "quote.HistoryData": {
  21988. "type": "object",
  21989. "properties": {
  21990. "c": {
  21991. "description": "收盘价",
  21992. "type": "number"
  21993. },
  21994. "f": {
  21995. "description": "是否补充数据",
  21996. "type": "boolean"
  21997. },
  21998. "h": {
  21999. "description": "最高价",
  22000. "type": "number"
  22001. },
  22002. "hv": {
  22003. "description": "持仓量",
  22004. "type": "integer"
  22005. },
  22006. "l": {
  22007. "description": "最低价",
  22008. "type": "number"
  22009. },
  22010. "o": {
  22011. "description": "开盘价",
  22012. "type": "number"
  22013. },
  22014. "s": {
  22015. "description": "结算价,日线周期(包括)以上才有",
  22016. "type": "number"
  22017. },
  22018. "ts": {
  22019. "description": "时间",
  22020. "type": "string"
  22021. },
  22022. "tt": {
  22023. "description": "总金额",
  22024. "type": "number"
  22025. },
  22026. "tv": {
  22027. "description": "总量",
  22028. "type": "integer"
  22029. }
  22030. }
  22031. },
  22032. "quote.HistoryTikData": {
  22033. "type": "object",
  22034. "properties": {
  22035. "AV": {
  22036. "description": "卖量",
  22037. "type": "integer"
  22038. },
  22039. "Ask": {
  22040. "description": "卖价",
  22041. "type": "number"
  22042. },
  22043. "BV": {
  22044. "description": "买量",
  22045. "type": "integer"
  22046. },
  22047. "Bid": {
  22048. "description": "买价",
  22049. "type": "number"
  22050. },
  22051. "HI": {
  22052. "description": "单笔持仓",
  22053. "type": "integer"
  22054. },
  22055. "HV": {
  22056. "description": "持仓量",
  22057. "type": "integer"
  22058. },
  22059. "PE": {
  22060. "description": "现价",
  22061. "type": "number"
  22062. },
  22063. "TDR": {
  22064. "description": "交易方向,0:买 1:卖",
  22065. "type": "integer"
  22066. },
  22067. "TK": {
  22068. "description": "交易类型",
  22069. "type": "integer"
  22070. },
  22071. "TS": {
  22072. "description": "行情时间文本",
  22073. "type": "string"
  22074. },
  22075. "TT": {
  22076. "description": "现金额",
  22077. "type": "number"
  22078. },
  22079. "Vol": {
  22080. "description": "现量",
  22081. "type": "integer"
  22082. }
  22083. }
  22084. },
  22085. "quote.QueryQuoteDayRsp": {
  22086. "type": "object",
  22087. "properties": {
  22088. "ask": {
  22089. "description": "卖1",
  22090. "type": "number"
  22091. },
  22092. "ask10": {
  22093. "description": "卖10",
  22094. "type": "number"
  22095. },
  22096. "ask2": {
  22097. "description": "卖2",
  22098. "type": "number"
  22099. },
  22100. "ask3": {
  22101. "description": "卖3",
  22102. "type": "number"
  22103. },
  22104. "ask4": {
  22105. "description": "卖4",
  22106. "type": "number"
  22107. },
  22108. "ask5": {
  22109. "description": "卖5",
  22110. "type": "number"
  22111. },
  22112. "ask6": {
  22113. "description": "卖6",
  22114. "type": "number"
  22115. },
  22116. "ask7": {
  22117. "description": "卖7",
  22118. "type": "number"
  22119. },
  22120. "ask8": {
  22121. "description": "卖8",
  22122. "type": "number"
  22123. },
  22124. "ask9": {
  22125. "description": "卖9",
  22126. "type": "number"
  22127. },
  22128. "askorderid": {
  22129. "description": "卖单号1",
  22130. "type": "integer"
  22131. },
  22132. "askorderid2": {
  22133. "description": "卖单号2",
  22134. "type": "integer"
  22135. },
  22136. "askorderid3": {
  22137. "description": "卖单号3",
  22138. "type": "integer"
  22139. },
  22140. "askorderid4": {
  22141. "description": "卖单号4",
  22142. "type": "integer"
  22143. },
  22144. "askorderid5": {
  22145. "description": "卖单号5",
  22146. "type": "integer"
  22147. },
  22148. "askordervolume": {
  22149. "description": "卖单量1",
  22150. "type": "integer"
  22151. },
  22152. "askordervolume10": {
  22153. "description": "卖单量10",
  22154. "type": "integer"
  22155. },
  22156. "askordervolume2": {
  22157. "description": "卖单量2",
  22158. "type": "integer"
  22159. },
  22160. "askordervolume3": {
  22161. "description": "卖单量3",
  22162. "type": "integer"
  22163. },
  22164. "askordervolume4": {
  22165. "description": "卖单量4",
  22166. "type": "integer"
  22167. },
  22168. "askordervolume5": {
  22169. "description": "卖单量5",
  22170. "type": "integer"
  22171. },
  22172. "askordervolume6": {
  22173. "description": "卖单量6",
  22174. "type": "integer"
  22175. },
  22176. "askordervolume7": {
  22177. "description": "卖单量7",
  22178. "type": "integer"
  22179. },
  22180. "askordervolume8": {
  22181. "description": "卖单量8",
  22182. "type": "integer"
  22183. },
  22184. "askordervolume9": {
  22185. "description": "卖单量9",
  22186. "type": "integer"
  22187. },
  22188. "askqueueinfo": {
  22189. "description": "大利市卖港股用",
  22190. "type": "string"
  22191. },
  22192. "askvolume": {
  22193. "description": "卖量1",
  22194. "type": "integer"
  22195. },
  22196. "askvolume10": {
  22197. "description": "卖量10",
  22198. "type": "integer"
  22199. },
  22200. "askvolume2": {
  22201. "description": "卖量2",
  22202. "type": "integer"
  22203. },
  22204. "askvolume3": {
  22205. "description": "卖量3",
  22206. "type": "integer"
  22207. },
  22208. "askvolume4": {
  22209. "description": "卖量4",
  22210. "type": "integer"
  22211. },
  22212. "askvolume5": {
  22213. "description": "卖量5",
  22214. "type": "integer"
  22215. },
  22216. "askvolume6": {
  22217. "description": "卖量6",
  22218. "type": "integer"
  22219. },
  22220. "askvolume7": {
  22221. "description": "卖量7",
  22222. "type": "integer"
  22223. },
  22224. "askvolume8": {
  22225. "description": "卖量8",
  22226. "type": "integer"
  22227. },
  22228. "askvolume9": {
  22229. "description": "卖量9",
  22230. "type": "integer"
  22231. },
  22232. "averageprice": {
  22233. "description": "均价",
  22234. "type": "number"
  22235. },
  22236. "bid": {
  22237. "description": "买1",
  22238. "type": "number"
  22239. },
  22240. "bid10": {
  22241. "description": "买10",
  22242. "type": "number"
  22243. },
  22244. "bid2": {
  22245. "description": "买2",
  22246. "type": "number"
  22247. },
  22248. "bid3": {
  22249. "description": "买3",
  22250. "type": "number"
  22251. },
  22252. "bid4": {
  22253. "description": "买4",
  22254. "type": "number"
  22255. },
  22256. "bid5": {
  22257. "description": "买5",
  22258. "type": "number"
  22259. },
  22260. "bid6": {
  22261. "description": "买6",
  22262. "type": "number"
  22263. },
  22264. "bid7": {
  22265. "description": "买7",
  22266. "type": "number"
  22267. },
  22268. "bid8": {
  22269. "description": "买8",
  22270. "type": "number"
  22271. },
  22272. "bid9": {
  22273. "description": "买9",
  22274. "type": "number"
  22275. },
  22276. "bidorderid": {
  22277. "description": "买单号1",
  22278. "type": "integer"
  22279. },
  22280. "bidorderid2": {
  22281. "description": "买单号2",
  22282. "type": "integer"
  22283. },
  22284. "bidorderid3": {
  22285. "description": "买单号3",
  22286. "type": "integer"
  22287. },
  22288. "bidorderid4": {
  22289. "description": "买单号4",
  22290. "type": "integer"
  22291. },
  22292. "bidorderid5": {
  22293. "description": "买单号5",
  22294. "type": "integer"
  22295. },
  22296. "bidordervolume": {
  22297. "description": "买单量1",
  22298. "type": "integer"
  22299. },
  22300. "bidordervolume10": {
  22301. "description": "买单量10",
  22302. "type": "integer"
  22303. },
  22304. "bidordervolume2": {
  22305. "description": "买单量2",
  22306. "type": "integer"
  22307. },
  22308. "bidordervolume3": {
  22309. "description": "买单量3",
  22310. "type": "integer"
  22311. },
  22312. "bidordervolume4": {
  22313. "description": "买单量4",
  22314. "type": "integer"
  22315. },
  22316. "bidordervolume5": {
  22317. "description": "买单量5",
  22318. "type": "integer"
  22319. },
  22320. "bidordervolume6": {
  22321. "description": "买单量6",
  22322. "type": "integer"
  22323. },
  22324. "bidordervolume7": {
  22325. "description": "买单量7",
  22326. "type": "integer"
  22327. },
  22328. "bidordervolume8": {
  22329. "description": "买单量8",
  22330. "type": "integer"
  22331. },
  22332. "bidordervolume9": {
  22333. "description": "买单量9",
  22334. "type": "integer"
  22335. },
  22336. "bidqueueinfo": {
  22337. "description": "大利市买港股用",
  22338. "type": "string"
  22339. },
  22340. "bidvolume": {
  22341. "description": "买量1",
  22342. "type": "integer"
  22343. },
  22344. "bidvolume10": {
  22345. "description": "买量10",
  22346. "type": "integer"
  22347. },
  22348. "bidvolume2": {
  22349. "description": "买量2",
  22350. "type": "integer"
  22351. },
  22352. "bidvolume3": {
  22353. "description": "买量3",
  22354. "type": "integer"
  22355. },
  22356. "bidvolume4": {
  22357. "description": "买量4",
  22358. "type": "integer"
  22359. },
  22360. "bidvolume5": {
  22361. "description": "买量5",
  22362. "type": "integer"
  22363. },
  22364. "bidvolume6": {
  22365. "description": "买量6",
  22366. "type": "integer"
  22367. },
  22368. "bidvolume7": {
  22369. "description": "买量7",
  22370. "type": "integer"
  22371. },
  22372. "bidvolume8": {
  22373. "description": "买量8",
  22374. "type": "integer"
  22375. },
  22376. "bidvolume9": {
  22377. "description": "买量9",
  22378. "type": "integer"
  22379. },
  22380. "calloptionpremiums": {
  22381. "description": "认购期权1",
  22382. "type": "integer"
  22383. },
  22384. "calloptionpremiums2": {
  22385. "description": "认购期权2",
  22386. "type": "integer"
  22387. },
  22388. "calloptionpremiums3": {
  22389. "description": "认购期权3",
  22390. "type": "integer"
  22391. },
  22392. "calloptionpremiums4": {
  22393. "description": "认购期权4",
  22394. "type": "integer"
  22395. },
  22396. "calloptionpremiums5": {
  22397. "description": "认购期权5",
  22398. "type": "integer"
  22399. },
  22400. "cleartime": {
  22401. "description": "清盘时间",
  22402. "type": "integer"
  22403. },
  22404. "exchangecode": {
  22405. "description": "交易所代码",
  22406. "type": "integer"
  22407. },
  22408. "exchangedate": {
  22409. "description": "交易日",
  22410. "type": "integer"
  22411. },
  22412. "goodscode": {
  22413. "description": "商品代码",
  22414. "type": "string"
  22415. },
  22416. "grepmarketprice": {
  22417. "description": "暗盘价 港股专用",
  22418. "type": "number"
  22419. },
  22420. "highest": {
  22421. "description": "最高价",
  22422. "type": "number"
  22423. },
  22424. "holdincrement": {
  22425. "description": "单笔持仓",
  22426. "type": "integer"
  22427. },
  22428. "holdvolume": {
  22429. "description": "持仓",
  22430. "type": "integer"
  22431. },
  22432. "iep": {
  22433. "description": "平衡价 港股专用",
  22434. "type": "number"
  22435. },
  22436. "iev": {
  22437. "description": "平衡量 港股专用",
  22438. "type": "number"
  22439. },
  22440. "inventory": {
  22441. "description": "库存",
  22442. "type": "integer"
  22443. },
  22444. "iscleared": {
  22445. "description": "是否清盘标志",
  22446. "type": "integer"
  22447. },
  22448. "issettled": {
  22449. "description": "是否结算标志",
  22450. "type": "integer"
  22451. },
  22452. "last": {
  22453. "description": "最新价",
  22454. "type": "number"
  22455. },
  22456. "lastlot": {
  22457. "description": "最新成交手数",
  22458. "type": "integer"
  22459. },
  22460. "lasttime": {
  22461. "description": "行情时间(只有现价变化行情时间才变化)",
  22462. "type": "string"
  22463. },
  22464. "lastturnover": {
  22465. "description": "最新成交金额",
  22466. "type": "number"
  22467. },
  22468. "lastvolume": {
  22469. "description": "最新成交量",
  22470. "type": "integer"
  22471. },
  22472. "limitdown": {
  22473. "description": "跌停价",
  22474. "type": "number"
  22475. },
  22476. "limitup": {
  22477. "description": "涨停价",
  22478. "type": "number"
  22479. },
  22480. "lowest": {
  22481. "description": "最低价",
  22482. "type": "number"
  22483. },
  22484. "nontotalholdervolume": {
  22485. "description": "非交易持仓量",
  22486. "type": "integer"
  22487. },
  22488. "nontotallot": {
  22489. "description": "非交易总手数",
  22490. "type": "integer"
  22491. },
  22492. "nontotalturnover": {
  22493. "description": "非交易总金额",
  22494. "type": "integer"
  22495. },
  22496. "nontotalvolume": {
  22497. "description": "非交易总量",
  22498. "type": "integer"
  22499. },
  22500. "opened": {
  22501. "description": "开盘价",
  22502. "type": "number"
  22503. },
  22504. "opentime": {
  22505. "description": "开盘时间",
  22506. "type": "string"
  22507. },
  22508. "orderid": {
  22509. "description": "序号",
  22510. "type": "integer"
  22511. },
  22512. "preclose": {
  22513. "description": "昨收",
  22514. "type": "number"
  22515. },
  22516. "preholdvolume": {
  22517. "description": "昨持仓",
  22518. "type": "integer"
  22519. },
  22520. "presettle": {
  22521. "description": "昨结价",
  22522. "type": "number"
  22523. },
  22524. "publictradetype": {
  22525. "description": "公共交易标志类型 港股专用",
  22526. "type": "string"
  22527. },
  22528. "putoptionpremiums": {
  22529. "description": "认沽期权1",
  22530. "type": "integer"
  22531. },
  22532. "putoptionpremiums2": {
  22533. "description": "认沽期权2",
  22534. "type": "integer"
  22535. },
  22536. "putoptionpremiums3": {
  22537. "description": "认沽期权3",
  22538. "type": "integer"
  22539. },
  22540. "putoptionpremiums4": {
  22541. "description": "认沽期权4",
  22542. "type": "integer"
  22543. },
  22544. "putoptionpremiums5": {
  22545. "description": "认沽期权5",
  22546. "type": "integer"
  22547. },
  22548. "settle": {
  22549. "description": "结算价",
  22550. "type": "number"
  22551. },
  22552. "strikeprice": {
  22553. "description": "发行价",
  22554. "type": "number"
  22555. },
  22556. "totalaskvolume": {
  22557. "description": "内盘",
  22558. "type": "integer"
  22559. },
  22560. "totalbidvolume": {
  22561. "description": "外盘",
  22562. "type": "integer"
  22563. },
  22564. "totallot": {
  22565. "description": "总手数",
  22566. "type": "integer"
  22567. },
  22568. "totalturnover": {
  22569. "description": "总金额",
  22570. "type": "number"
  22571. },
  22572. "totalvolume": {
  22573. "description": "总量",
  22574. "type": "integer"
  22575. },
  22576. "utclasttime": {
  22577. "description": "utc的行情时间",
  22578. "type": "string"
  22579. }
  22580. }
  22581. },
  22582. "quote.QueryTSDataRsp": {
  22583. "type": "object",
  22584. "properties": {
  22585. "Count": {
  22586. "description": "交易日应有数据个数",
  22587. "type": "integer"
  22588. },
  22589. "decimalPlace": {
  22590. "description": "小数位",
  22591. "type": "integer"
  22592. },
  22593. "endTime": {
  22594. "description": "结束时间",
  22595. "type": "string"
  22596. },
  22597. "goodsCode": {
  22598. "description": "商品代码",
  22599. "type": "string"
  22600. },
  22601. "historyDatas": {
  22602. "description": "历史数据",
  22603. "type": "array",
  22604. "items": {
  22605. "$ref": "#/definitions/quote.HistoryData"
  22606. }
  22607. },
  22608. "outGoodsCode": {
  22609. "description": "外部商品代码",
  22610. "type": "string"
  22611. },
  22612. "preSettle": {
  22613. "description": "昨结价",
  22614. "type": "number"
  22615. },
  22616. "runSteps": {
  22617. "description": "交易日开休市计划",
  22618. "type": "array",
  22619. "items": {
  22620. "$ref": "#/definitions/quote.TSDataRunStep"
  22621. }
  22622. },
  22623. "startTime": {
  22624. "description": "开始时间",
  22625. "type": "string"
  22626. },
  22627. "tradeDate": {
  22628. "description": "交易日",
  22629. "type": "string"
  22630. }
  22631. }
  22632. },
  22633. "quote.TSDataRunStep": {
  22634. "type": "object",
  22635. "properties": {
  22636. "end": {
  22637. "description": "真实结束时间",
  22638. "type": "string"
  22639. },
  22640. "endflag": {
  22641. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  22642. "type": "integer"
  22643. },
  22644. "endtime": {
  22645. "description": "结束时间(HH:mm)",
  22646. "type": "string"
  22647. },
  22648. "endweekday": {
  22649. "description": "结束周几",
  22650. "type": "integer"
  22651. },
  22652. "groupid": {
  22653. "description": "分组ID",
  22654. "type": "integer"
  22655. },
  22656. "runstep": {
  22657. "description": "运行阶段 - 2:连续交易",
  22658. "type": "integer"
  22659. },
  22660. "sectionid": {
  22661. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  22662. "type": "integer"
  22663. },
  22664. "start": {
  22665. "description": "真实开始时间",
  22666. "type": "string"
  22667. },
  22668. "startflag": {
  22669. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  22670. "type": "integer"
  22671. },
  22672. "starttime": {
  22673. "description": "起始时间(HH:mm)",
  22674. "type": "string"
  22675. },
  22676. "startweekday": {
  22677. "description": "起始周几",
  22678. "type": "integer"
  22679. },
  22680. "tradeweekday": {
  22681. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  22682. "type": "integer"
  22683. }
  22684. }
  22685. },
  22686. "szdz.QueryConvertLogRsp": {
  22687. "type": "object",
  22688. "required": [
  22689. "logid"
  22690. ],
  22691. "properties": {
  22692. "accountid": {
  22693. "description": "资金账户ID",
  22694. "type": "integer"
  22695. },
  22696. "clientticket": {
  22697. "description": "客户端流水号",
  22698. "type": "string"
  22699. },
  22700. "converttype": {
  22701. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  22702. "type": "integer"
  22703. },
  22704. "createtime": {
  22705. "description": "记账时间",
  22706. "type": "string"
  22707. },
  22708. "daymaxvalue": {
  22709. "description": "配置当日最大转入限制",
  22710. "type": "number"
  22711. },
  22712. "daymaxvalue2": {
  22713. "description": "配置当日最大转入限制(转入)",
  22714. "type": "number"
  22715. },
  22716. "goodscode": {
  22717. "description": "商品代码",
  22718. "type": "string"
  22719. },
  22720. "goodsname": {
  22721. "description": "商品名称",
  22722. "type": "string"
  22723. },
  22724. "handlestatus": {
  22725. "description": "处理状态",
  22726. "type": "integer"
  22727. },
  22728. "innergoodsid": {
  22729. "description": "内部商品ID",
  22730. "type": "integer"
  22731. },
  22732. "inratio": {
  22733. "description": "配置转入比值",
  22734. "type": "integer"
  22735. },
  22736. "invalue": {
  22737. "description": "目标值",
  22738. "type": "number"
  22739. },
  22740. "logid": {
  22741. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22742. "type": "integer"
  22743. },
  22744. "mobile": {
  22745. "description": "手机号码(加密存储)",
  22746. "type": "string"
  22747. },
  22748. "outergoodscode": {
  22749. "description": "外部商品代码[JD\\PD]",
  22750. "type": "string"
  22751. },
  22752. "outratio": {
  22753. "description": "配置转出比值",
  22754. "type": "integer"
  22755. },
  22756. "outvalue": {
  22757. "description": "源值",
  22758. "type": "number"
  22759. },
  22760. "pddecimalplace": {
  22761. "description": "PD小数位",
  22762. "type": "integer"
  22763. },
  22764. "qty": {
  22765. "description": "数量",
  22766. "type": "string"
  22767. },
  22768. "remark": {
  22769. "description": "备注",
  22770. "type": "string"
  22771. },
  22772. "sessionid": {
  22773. "description": "会话ID",
  22774. "type": "integer"
  22775. },
  22776. "timemaxvalue": {
  22777. "description": "配置单次最大转入限制",
  22778. "type": "number"
  22779. },
  22780. "timemaxvalue2": {
  22781. "description": "配置单次最大转入限制(转入)",
  22782. "type": "number"
  22783. },
  22784. "timeminvalue": {
  22785. "description": "配置单次最小数量限制",
  22786. "type": "number"
  22787. },
  22788. "timeminvalue2": {
  22789. "description": "配置单次最小数量限制(转入)",
  22790. "type": "number"
  22791. },
  22792. "tradedate": {
  22793. "description": "交易日(yyyyMMdd)",
  22794. "type": "string"
  22795. },
  22796. "userid": {
  22797. "description": "用户ID",
  22798. "type": "integer"
  22799. }
  22800. }
  22801. },
  22802. "szdz.QueryGoodsPickupRsp": {
  22803. "type": "object",
  22804. "required": [
  22805. "takeorderid"
  22806. ],
  22807. "properties": {
  22808. "accountid": {
  22809. "description": "账户ID",
  22810. "type": "integer"
  22811. },
  22812. "address": {
  22813. "description": "提货人详细地址",
  22814. "type": "string"
  22815. },
  22816. "auditer": {
  22817. "description": "审核人",
  22818. "type": "integer"
  22819. },
  22820. "audittime": {
  22821. "description": "审核时间",
  22822. "type": "string"
  22823. },
  22824. "cardnum": {
  22825. "description": "提货人证件号码",
  22826. "type": "string"
  22827. },
  22828. "cardtypeid": {
  22829. "description": "提货人证件类型",
  22830. "type": "integer"
  22831. },
  22832. "checkremark": {
  22833. "description": "审核备注",
  22834. "type": "string"
  22835. },
  22836. "goodscode": {
  22837. "description": "商品代码",
  22838. "type": "string"
  22839. },
  22840. "goodsid": {
  22841. "description": "商品ID",
  22842. "type": "integer"
  22843. },
  22844. "goodsname": {
  22845. "description": "商品名称",
  22846. "type": "string"
  22847. },
  22848. "handlestatus": {
  22849. "description": "处理状态",
  22850. "type": "integer"
  22851. },
  22852. "marketid": {
  22853. "description": "市场ID",
  22854. "type": "integer"
  22855. },
  22856. "phonenum": {
  22857. "description": "提货人联系方式",
  22858. "type": "string"
  22859. },
  22860. "qty": {
  22861. "description": "提货数量",
  22862. "type": "number"
  22863. },
  22864. "recivername": {
  22865. "description": "提货人姓名",
  22866. "type": "string"
  22867. },
  22868. "reqtime": {
  22869. "description": "更新时间",
  22870. "type": "string"
  22871. },
  22872. "takemode": {
  22873. "description": "提货方式 - 2:自提 3:配送",
  22874. "type": "integer"
  22875. },
  22876. "takeorderid": {
  22877. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  22878. "type": "string"
  22879. },
  22880. "takeorderstatus": {
  22881. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  22882. "type": "integer"
  22883. },
  22884. "takeremark": {
  22885. "description": "提货备注",
  22886. "type": "string"
  22887. },
  22888. "tradedate": {
  22889. "description": "交易日(yyyyMMdd)",
  22890. "type": "string"
  22891. },
  22892. "userid": {
  22893. "description": "用户ID",
  22894. "type": "integer"
  22895. }
  22896. }
  22897. },
  22898. "szdz.QueryRecieptOrderRsp": {
  22899. "type": "object",
  22900. "required": [
  22901. "ordertime"
  22902. ],
  22903. "properties": {
  22904. "accountName": {
  22905. "description": "所属账号名称(已脱敏)",
  22906. "type": "string"
  22907. },
  22908. "accountid": {
  22909. "description": "资金账号",
  22910. "type": "integer"
  22911. },
  22912. "buyorsell": {
  22913. "description": "方向 - 0:买 1:卖",
  22914. "type": "integer"
  22915. },
  22916. "enableqty": {
  22917. "description": "可摘数量",
  22918. "type": "integer"
  22919. },
  22920. "goodscode": {
  22921. "description": "商品代码",
  22922. "type": "string"
  22923. },
  22924. "goodsid": {
  22925. "description": "商品ID",
  22926. "type": "integer"
  22927. },
  22928. "goodsname": {
  22929. "description": "商品名称",
  22930. "type": "string"
  22931. },
  22932. "orderid": {
  22933. "description": "委托单号",
  22934. "type": "string"
  22935. },
  22936. "orderprice": {
  22937. "description": "委托价格",
  22938. "type": "number"
  22939. },
  22940. "ordertime": {
  22941. "description": "委托时间",
  22942. "type": "string"
  22943. },
  22944. "tradedate": {
  22945. "description": "交易日(yyyyMMdd)",
  22946. "type": "string"
  22947. }
  22948. }
  22949. },
  22950. "szdz.QuerySZDZTradePositionRsp": {
  22951. "type": "object",
  22952. "properties": {
  22953. "accountid": {
  22954. "description": "账号Id",
  22955. "type": "integer"
  22956. },
  22957. "agreeunit": {
  22958. "description": "合约单位",
  22959. "type": "number"
  22960. },
  22961. "averageprice": {
  22962. "description": "持仓均价",
  22963. "type": "number"
  22964. },
  22965. "buyorsell": {
  22966. "description": "方向 - 0:买 1:卖",
  22967. "type": "integer"
  22968. },
  22969. "closetotalqty": {
  22970. "description": "平仓总数量",
  22971. "type": "integer"
  22972. },
  22973. "curholderamount": {
  22974. "description": "当前持仓总金额",
  22975. "type": "number"
  22976. },
  22977. "curpositionqty": {
  22978. "description": "当前持仓总数量",
  22979. "type": "integer"
  22980. },
  22981. "currencyid": {
  22982. "description": "报价货币ID",
  22983. "type": "integer"
  22984. },
  22985. "curtdposition": {
  22986. "description": "期末今日头寸",
  22987. "type": "integer"
  22988. },
  22989. "decimalplace": {
  22990. "description": "报价小数位",
  22991. "type": "integer"
  22992. },
  22993. "enableqty": {
  22994. "description": "可用量",
  22995. "type": "integer"
  22996. },
  22997. "fretdposition": {
  22998. "description": "冻结今日头寸",
  22999. "type": "integer"
  23000. },
  23001. "frozenqty": {
  23002. "description": "持仓冻结数量",
  23003. "type": "integer"
  23004. },
  23005. "goodscode": {
  23006. "description": "商品代码(内部)",
  23007. "type": "string"
  23008. },
  23009. "goodsid": {
  23010. "description": "商品Id",
  23011. "type": "integer"
  23012. },
  23013. "goodsname": {
  23014. "description": "商品名称",
  23015. "type": "string"
  23016. },
  23017. "goodunit": {
  23018. "description": "报价单位",
  23019. "type": "string"
  23020. },
  23021. "goodunitid": {
  23022. "description": "报价单位ID",
  23023. "type": "integer"
  23024. },
  23025. "holderamount": {
  23026. "description": "期初持仓总金额",
  23027. "type": "number"
  23028. },
  23029. "marketid": {
  23030. "description": "市场ID",
  23031. "type": "integer"
  23032. },
  23033. "openreqqty": {
  23034. "description": "开仓申请数量",
  23035. "type": "integer"
  23036. },
  23037. "opentotalqty": {
  23038. "description": "开仓总数量",
  23039. "type": "integer"
  23040. },
  23041. "otherfrozenqty": {
  23042. "description": "持仓其他冻结数量(交割冻结)",
  23043. "type": "integer"
  23044. },
  23045. "positionqty": {
  23046. "description": "期初持仓数量",
  23047. "type": "integer"
  23048. },
  23049. "szdz3freezqty": {
  23050. "description": "尚志大宗转换冻结总数量",
  23051. "type": "integer"
  23052. },
  23053. "tnqty": {
  23054. "description": "T+N冻结总量",
  23055. "type": "integer"
  23056. },
  23057. "tnusedqty": {
  23058. "description": "T+N使用量",
  23059. "type": "integer"
  23060. },
  23061. "trademode": {
  23062. "description": "交易模式",
  23063. "type": "integer"
  23064. },
  23065. "usedmargin": {
  23066. "description": "占用保证金",
  23067. "type": "number"
  23068. }
  23069. }
  23070. },
  23071. "taaccount.QueryAmountLogRsp": {
  23072. "type": "object",
  23073. "required": [
  23074. "accountid",
  23075. "amount",
  23076. "amountadjusttype",
  23077. "autoid",
  23078. "balance",
  23079. "createtime",
  23080. "currentbalance",
  23081. "operatetype"
  23082. ],
  23083. "properties": {
  23084. "OPERATETYPENAME": {
  23085. "description": "资金操作类型名称",
  23086. "type": "string"
  23087. },
  23088. "accountid": {
  23089. "description": "资金账户ID",
  23090. "type": "integer"
  23091. },
  23092. "agoodscode": {
  23093. "description": "竞拍商品代码",
  23094. "type": "string"
  23095. },
  23096. "agoodsname": {
  23097. "description": "竞拍商品名称",
  23098. "type": "string"
  23099. },
  23100. "amount": {
  23101. "description": "资金金额",
  23102. "type": "number"
  23103. },
  23104. "amountadjusttype": {
  23105. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  23106. "type": "integer"
  23107. },
  23108. "autoid": {
  23109. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  23110. "type": "integer"
  23111. },
  23112. "balance": {
  23113. "description": "期初余额",
  23114. "type": "number"
  23115. },
  23116. "businesscode": {
  23117. "description": "业务编号",
  23118. "type": "integer"
  23119. },
  23120. "createtime": {
  23121. "description": "发生时间",
  23122. "type": "string"
  23123. },
  23124. "currencyid": {
  23125. "description": "币种ID",
  23126. "type": "integer"
  23127. },
  23128. "currentbalance": {
  23129. "description": "期末余额(变动后金额)",
  23130. "type": "number"
  23131. },
  23132. "dgoodscode": {
  23133. "description": "交割商品代码",
  23134. "type": "string"
  23135. },
  23136. "dgoodsname": {
  23137. "description": "交割商品名称",
  23138. "type": "string"
  23139. },
  23140. "goodscode": {
  23141. "description": "商品代码",
  23142. "type": "string"
  23143. },
  23144. "goodsid": {
  23145. "description": "商品ID",
  23146. "type": "integer"
  23147. },
  23148. "goodsname": {
  23149. "description": "商品名称",
  23150. "type": "string"
  23151. },
  23152. "marketid": {
  23153. "description": "市场ID",
  23154. "type": "integer"
  23155. },
  23156. "marketname": {
  23157. "description": "市场名称",
  23158. "type": "string"
  23159. },
  23160. "moneyticket": {
  23161. "description": "资金流水号:银行端流水号",
  23162. "type": "integer"
  23163. },
  23164. "operatetype": {
  23165. "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:营销收款",
  23166. "type": "integer"
  23167. },
  23168. "relationorderid": {
  23169. "description": "关联单号",
  23170. "type": "string"
  23171. },
  23172. "remark": {
  23173. "description": "备注",
  23174. "type": "string"
  23175. },
  23176. "trademode": {
  23177. "description": "交易模式",
  23178. "type": "integer"
  23179. }
  23180. }
  23181. },
  23182. "taaccount.QueryHisAmountLogRsp": {
  23183. "type": "object",
  23184. "required": [
  23185. "accountid",
  23186. "amount",
  23187. "amountadjusttype",
  23188. "autoid",
  23189. "balance",
  23190. "createtime",
  23191. "currentbalance",
  23192. "histradedate",
  23193. "operatetype"
  23194. ],
  23195. "properties": {
  23196. "OPERATETYPENAME": {
  23197. "description": "资金操作类型名称",
  23198. "type": "string"
  23199. },
  23200. "accountid": {
  23201. "description": "资金账户ID",
  23202. "type": "integer"
  23203. },
  23204. "agoodscode": {
  23205. "description": "竞拍商品代码",
  23206. "type": "string"
  23207. },
  23208. "agoodsname": {
  23209. "description": "竞拍商品名称",
  23210. "type": "string"
  23211. },
  23212. "amount": {
  23213. "description": "资金金额",
  23214. "type": "number"
  23215. },
  23216. "amountadjusttype": {
  23217. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  23218. "type": "integer"
  23219. },
  23220. "autoid": {
  23221. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  23222. "type": "integer"
  23223. },
  23224. "balance": {
  23225. "description": "期初余额",
  23226. "type": "number"
  23227. },
  23228. "businesscode": {
  23229. "description": "业务编号",
  23230. "type": "integer"
  23231. },
  23232. "createtime": {
  23233. "description": "发生时间",
  23234. "type": "string"
  23235. },
  23236. "currencyid": {
  23237. "description": "币种ID",
  23238. "type": "integer"
  23239. },
  23240. "currentbalance": {
  23241. "description": "期末余额(变动后金额)",
  23242. "type": "number"
  23243. },
  23244. "dgoodscode": {
  23245. "description": "交割商品代码",
  23246. "type": "string"
  23247. },
  23248. "dgoodsname": {
  23249. "description": "交割商品名称",
  23250. "type": "string"
  23251. },
  23252. "goodscode": {
  23253. "description": "商品代码",
  23254. "type": "string"
  23255. },
  23256. "goodsid": {
  23257. "description": "商品ID",
  23258. "type": "integer"
  23259. },
  23260. "goodsname": {
  23261. "description": "商品名称",
  23262. "type": "string"
  23263. },
  23264. "histradedate": {
  23265. "description": "历史交易日",
  23266. "type": "string"
  23267. },
  23268. "isvaliddata": {
  23269. "description": "是否有效 - 0:无效 1:有效",
  23270. "type": "integer"
  23271. },
  23272. "marketid": {
  23273. "description": "市场ID",
  23274. "type": "integer"
  23275. },
  23276. "marketname": {
  23277. "description": "市场名称",
  23278. "type": "string"
  23279. },
  23280. "moneyticket": {
  23281. "description": "资金流水号:银行端流水号",
  23282. "type": "integer"
  23283. },
  23284. "operatetype": {
  23285. "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:营销收款",
  23286. "type": "integer"
  23287. },
  23288. "relationorderid": {
  23289. "description": "关联单号",
  23290. "type": "string"
  23291. },
  23292. "remark": {
  23293. "description": "备注",
  23294. "type": "string"
  23295. },
  23296. "trademode": {
  23297. "description": "交易模式",
  23298. "type": "integer"
  23299. }
  23300. }
  23301. },
  23302. "trade.QueryRecieptOrderRsp": {
  23303. "type": "object",
  23304. "required": [
  23305. "ordertime"
  23306. ],
  23307. "properties": {
  23308. "accountName": {
  23309. "description": "所属账号名称(已脱敏)",
  23310. "type": "string"
  23311. },
  23312. "accountid": {
  23313. "description": "资金账号",
  23314. "type": "integer"
  23315. },
  23316. "buyorsell": {
  23317. "description": "方向 - 0:买 1:卖",
  23318. "type": "integer"
  23319. },
  23320. "enableqty": {
  23321. "description": "可摘数量",
  23322. "type": "integer"
  23323. },
  23324. "goodscode": {
  23325. "description": "商品代码",
  23326. "type": "string"
  23327. },
  23328. "goodsid": {
  23329. "description": "商品ID",
  23330. "type": "integer"
  23331. },
  23332. "goodsname": {
  23333. "description": "商品名称",
  23334. "type": "string"
  23335. },
  23336. "orderid": {
  23337. "description": "委托单号",
  23338. "type": "string"
  23339. },
  23340. "orderprice": {
  23341. "description": "委托价格",
  23342. "type": "number"
  23343. },
  23344. "ordertime": {
  23345. "description": "委托时间",
  23346. "type": "string"
  23347. },
  23348. "tradedate": {
  23349. "description": "交易日(yyyyMMdd)",
  23350. "type": "string"
  23351. }
  23352. }
  23353. },
  23354. "user.LoginQueryRsp": {
  23355. "type": "object",
  23356. "properties": {
  23357. "areaRoles": {
  23358. "description": "所属角色信息",
  23359. "type": "array",
  23360. "items": {
  23361. "$ref": "#/definitions/models.Arearole"
  23362. }
  23363. },
  23364. "externalExchanges": {
  23365. "description": "外部交易所",
  23366. "type": "array",
  23367. "items": {
  23368. "$ref": "#/definitions/models.Externalexchange"
  23369. }
  23370. },
  23371. "goodsgroups": {
  23372. "description": "商品组",
  23373. "type": "array",
  23374. "items": {
  23375. "$ref": "#/definitions/models.Goodsgroup"
  23376. }
  23377. },
  23378. "loginAccount": {
  23379. "description": "登录账号",
  23380. "type": "object",
  23381. "$ref": "#/definitions/models.Loginaccount"
  23382. },
  23383. "markets": {
  23384. "description": "市场",
  23385. "type": "array",
  23386. "items": {
  23387. "$ref": "#/definitions/models.Market"
  23388. }
  23389. },
  23390. "systemParams": {
  23391. "description": "系统参数",
  23392. "type": "array",
  23393. "items": {
  23394. "$ref": "#/definitions/models.Systemparam"
  23395. }
  23396. },
  23397. "userAccount": {
  23398. "description": "用户账号",
  23399. "type": "object",
  23400. "$ref": "#/definitions/models.Useraccount"
  23401. },
  23402. "userInfo": {
  23403. "description": "用户信息",
  23404. "type": "object",
  23405. "$ref": "#/definitions/models.Userinfo"
  23406. },
  23407. "username": {
  23408. "description": "用户姓名",
  23409. "type": "string"
  23410. }
  23411. }
  23412. }
  23413. },
  23414. "securityDefinitions": {
  23415. "ApiKeyAuth": {
  23416. "type": "apiKey",
  23417. "name": "Authorization",
  23418. "in": "header"
  23419. }
  23420. }
  23421. }