swagger.yaml 459 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. common.QueryTableDefineRsp:
  168. properties:
  169. columns:
  170. description: 列头信息数组
  171. items:
  172. $ref: '#/definitions/models.Tablecolumnconfig'
  173. type: array
  174. remark:
  175. description: Remark
  176. type: string
  177. tabelmenu:
  178. description: 列表菜单
  179. type: string
  180. tablekey:
  181. description: 列表Key
  182. type: string
  183. tablename:
  184. description: 列表名称
  185. type: string
  186. tabletype:
  187. description: 列表类型 - 1:管理端 2:终端
  188. type: integer
  189. required:
  190. - tablekey
  191. type: object
  192. common.QueryTraderMenuRsp:
  193. properties:
  194. OperationMenu:
  195. description: 功能菜单
  196. items:
  197. $ref: '#/definitions/models.OperationPrimaryMenu'
  198. type: array
  199. QuoteMenu:
  200. description: 报价牌分类菜单
  201. items:
  202. $ref: '#/definitions/models.QuotePrimaryMenu'
  203. type: array
  204. type: object
  205. cptrade.Cptradepositioncancel:
  206. properties:
  207. accountid:
  208. description: 申请人账户ID
  209. type: integer
  210. applystatus:
  211. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  212. type: integer
  213. applytime:
  214. description: 申请时间
  215. type: string
  216. cancelid:
  217. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  218. type: integer
  219. cancelqty:
  220. description: 注销数量
  221. type: integer
  222. createtime:
  223. description: 创建时间
  224. type: string
  225. creatorid:
  226. description: 创建人ID
  227. type: integer
  228. creatorname:
  229. description: 创建人
  230. type: string
  231. goodscode:
  232. description: 订单商品代码
  233. type: string
  234. goodsid:
  235. description: 商品ID
  236. type: integer
  237. goodsname:
  238. description: 订单商品名称
  239. type: string
  240. goodunit:
  241. description: 报价单位
  242. type: string
  243. handlestatus:
  244. description: 处理状态
  245. type: integer
  246. marketid:
  247. description: 市场ID
  248. type: integer
  249. marketname:
  250. description: 市场名称
  251. type: string
  252. tradedate:
  253. description: 交易日(yyyyMMdd)
  254. type: string
  255. userid:
  256. description: 申请人ID
  257. type: integer
  258. required:
  259. - cancelid
  260. type: object
  261. cptrade.Cptradepresaleapply:
  262. properties:
  263. accountid:
  264. description: 申请人账户ID
  265. type: integer
  266. applyid:
  267. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  268. type: integer
  269. applyremark:
  270. description: 申请备注
  271. type: string
  272. applystatus:
  273. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  274. type: integer
  275. applytime:
  276. description: 申请时间
  277. type: string
  278. attachmenturl:
  279. description: 附件地址
  280. type: string
  281. endtime:
  282. description: 预售结束时间
  283. type: string
  284. goodscode:
  285. description: 商品代码
  286. type: string
  287. goodsid:
  288. description: 商品ID
  289. type: integer
  290. goodsname:
  291. description: 商品名称
  292. type: string
  293. goodunit:
  294. description: 报价单位
  295. type: string
  296. handlestatus:
  297. description: 处理状态
  298. type: integer
  299. marketid:
  300. description: 预售市场ID
  301. type: integer
  302. marketname:
  303. description: 预售市场名称
  304. type: string
  305. presaleqty:
  306. description: 预售数量
  307. type: integer
  308. relatedgoodscode:
  309. description: 关联交易合约代码
  310. type: string
  311. relatedgoodsid:
  312. description: 关联交易合约ID
  313. type: integer
  314. relatedgoodsname:
  315. description: 关联交易合约名称
  316. type: string
  317. starttime:
  318. description: 预售开始时间
  319. type: string
  320. tradedate:
  321. description: 交易日(yyyyMMdd)
  322. type: string
  323. trademode:
  324. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  325. type: integer
  326. userid:
  327. description: 申请人ID
  328. type: integer
  329. required:
  330. - applyid
  331. type: object
  332. cptrade.Cptradeusergoodsdata:
  333. properties:
  334. EnabledQty:
  335. description: 可用量
  336. type: integer
  337. GoodsCode:
  338. description: 订单商品代码
  339. type: string
  340. GoodsName:
  341. description: 订单商品名称
  342. type: string
  343. WRStandardCode:
  344. description: 仓单标准代码
  345. type: string
  346. WRStandardName:
  347. description: 仓单标准名称
  348. type: string
  349. accountid:
  350. description: 账户ID
  351. type: integer
  352. cancelqty:
  353. description: 注销量
  354. type: integer
  355. curpresaleqty:
  356. description: 当前预售量
  357. type: integer
  358. deliveryqty:
  359. description: 交割量
  360. type: integer
  361. freezeamount:
  362. description: 冻结金额
  363. type: number
  364. goodsid:
  365. description: 商品ID
  366. type: integer
  367. goodunit:
  368. description: 报价单位
  369. type: string
  370. hasspotfreeze:
  371. description: 是否有现货冻结 - 0:否 1:有
  372. type: integer
  373. inqty:
  374. description: 转入量(总数量)
  375. type: integer
  376. marketid:
  377. description: 市场ID
  378. type: integer
  379. presaledamount:
  380. description: 已预售总金额
  381. type: integer
  382. presaledqty:
  383. description: 已预售量
  384. type: integer
  385. userid:
  386. description: 用户ID
  387. type: integer
  388. wrstandardid:
  389. description: 仓单标准ID
  390. type: integer
  391. required:
  392. - accountid
  393. - goodsid
  394. type: object
  395. cptrade.QueryCPTradeMyBidRsp:
  396. properties:
  397. accountid:
  398. description: 账户ID[报价币种]
  399. type: integer
  400. goodsid:
  401. description: 商品ID
  402. type: integer
  403. goodunit:
  404. description: 报价单位
  405. type: string
  406. marketid:
  407. description: 市场ID
  408. type: integer
  409. orderid:
  410. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  411. type: integer
  412. orderprice:
  413. description: 委托价格
  414. type: number
  415. orderqty:
  416. description: 委托数量
  417. type: integer
  418. ordertime:
  419. description: 委托时间
  420. type: string
  421. ordertotalprice:
  422. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  423. type: number
  424. ordertotalweight:
  425. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  426. type: integer
  427. totaltotalprice:
  428. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  429. type: number
  430. tradeprice:
  431. description: 成交价格
  432. type: number
  433. tradeqty:
  434. description: 成交数量
  435. type: integer
  436. required:
  437. - accountid
  438. - goodsid
  439. - marketid
  440. - orderid
  441. - orderqty
  442. - ordertime
  443. - tradeprice
  444. - tradeqty
  445. type: object
  446. cptrade.QueryCPTradeOrderDetailRsq:
  447. properties:
  448. accountid:
  449. description: 账户ID[报价币种]
  450. type: integer
  451. buildtype:
  452. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  453. type: integer
  454. buyorsell:
  455. description: 买卖 - 0:买 1:卖
  456. type: integer
  457. cancelorderid:
  458. description: 撤单单号(撤单时填写)
  459. type: integer
  460. cancelqty:
  461. description: 撤单数量
  462. type: integer
  463. clientordertime:
  464. description: 客户端委托时间
  465. type: string
  466. clientticket:
  467. description: 客户端流水号
  468. type: string
  469. clienttype:
  470. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  471. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  472. type: integer
  473. closeexchagechargevalue:
  474. description: 平仓交易所手续费设置值
  475. type: number
  476. closefeealgorithm:
  477. description: 平仓手续费收取方式 1:比率 2:固定
  478. type: integer
  479. closefreezecharge:
  480. description: 平仓冻结手续费(先建后平操作,需要记录)
  481. type: number
  482. closememberchargevalue:
  483. description: 平仓会员手续费设置值
  484. type: number
  485. closeqty:
  486. description: 平仓数量(先建后平操作 需要记录)
  487. type: integer
  488. closetradeqty:
  489. description: 平仓成交数量(先建后平操作,需要记录)
  490. type: integer
  491. closeunfreezecharge:
  492. description: 平仓解冻手续费(先建后平操作,需要记录)
  493. type: number
  494. delistingtype:
  495. description: 摘牌类型 - 1:价格最优 2:点选成交
  496. type: integer
  497. freezecharge:
  498. description: 冻结手续费
  499. type: number
  500. freezemargin:
  501. description: 冻结保证金(冻结交易金额)
  502. type: number
  503. gcaccountid:
  504. description: 账户ID[合约币种]
  505. type: integer
  506. goodsid:
  507. description: 商品ID
  508. type: integer
  509. isconfirmexercise:
  510. description: 是否确认行权- 0:否 1:是
  511. type: integer
  512. ispreexercise:
  513. description: 是否预申报- 0:否 1:是
  514. type: integer
  515. listingselecttype:
  516. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  517. type: integer
  518. marginalgorithm:
  519. description: 保证金收取方式 1:比率 2:固定
  520. type: integer
  521. marginvalue:
  522. description: 即市保证金设置值
  523. type: number
  524. marketid:
  525. description: 市场ID
  526. type: integer
  527. marketmaxsub:
  528. description: 市价最大偏移范围
  529. type: number
  530. memberuserid:
  531. description: 所属会员UserID
  532. type: integer
  533. openexchagechargevalue:
  534. description: 建仓交易所手续费设置值
  535. type: number
  536. openfeealgorithm:
  537. description: 建仓手续费收取方式 1:比率 2:固定
  538. type: integer
  539. openfreezecharge:
  540. description: 开仓冻结手续费(先建后平操作,需要记录)
  541. type: number
  542. openmemberchargevalue:
  543. description: 建仓会员手续费设置值
  544. type: number
  545. openqty:
  546. description: 开仓数量(先建后平操作,需要记录)
  547. type: integer
  548. opentradeqty:
  549. description: 开仓成交数量(先建后平操作,需要记录)
  550. type: integer
  551. openunfreezecharge:
  552. description: 开仓解冻手续费(先建后平操作,需要记录)
  553. type: number
  554. operatetype:
  555. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  556. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  557. 15:管理端协议转让
  558. type: integer
  559. operatorid:
  560. description: 登录账号(LoginID)
  561. type: integer
  562. optiontype:
  563. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  564. type: integer
  565. orderprice:
  566. description: 委托价格
  567. type: number
  568. orderqty:
  569. description: 委托数量
  570. type: integer
  571. ordersrc:
  572. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  573. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  574. type: integer
  575. orderstatus:
  576. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  577. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  578. 16:成交失败违约(荷兰式竞拍专用)
  579. type: integer
  580. ordertime:
  581. description: 委托时间
  582. type: string
  583. preexerciseprice:
  584. description: 预申报价格
  585. type: number
  586. premium:
  587. description: 权利金
  588. type: number
  589. preorderid:
  590. description: 关联预埋单号(止盈止损单时填写)
  591. type: integer
  592. pricemode:
  593. description: '取价方式 - 1:市价 2: 限价'
  594. type: integer
  595. quoteid:
  596. description: 报价单ID
  597. type: integer
  598. relatedid:
  599. description: 关联单号(交割单)
  600. type: integer
  601. retcode:
  602. description: 错误代码
  603. type: integer
  604. sessionid:
  605. description: 会话ID
  606. type: integer
  607. strorderid:
  608. description: 委托单号
  609. type: string
  610. tradedate:
  611. description: 交易日(yyyyMMdd)
  612. type: string
  613. tradeproperty:
  614. description: 交易属性
  615. type: integer
  616. tradeqty:
  617. description: 成交数量
  618. type: integer
  619. unfreezecharge:
  620. description: 解冻手续费
  621. type: number
  622. unfreezemargin:
  623. description: 解冻保证金
  624. type: number
  625. updatetime:
  626. description: 更新时间
  627. type: string
  628. uuid:
  629. description: 发起端唯一id
  630. type: string
  631. validtime:
  632. description: 有效期限
  633. type: string
  634. validtype:
  635. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  636. type: integer
  637. volumetype:
  638. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  639. type: integer
  640. required:
  641. - accountid
  642. - buildtype
  643. - buyorsell
  644. - goodsid
  645. - marketid
  646. - memberuserid
  647. - operatetype
  648. - orderqty
  649. - ordertime
  650. - pricemode
  651. - strorderid
  652. - tradedate
  653. - validtype
  654. type: object
  655. cptrade.QueryMyCPTradeGoodsRsp:
  656. properties:
  657. accountid:
  658. description: 卖方账户ID
  659. type: integer
  660. agreeunit:
  661. description: 合约单位
  662. type: number
  663. applyid:
  664. description: 关联申请ID
  665. type: integer
  666. attachmenturl:
  667. description: 附件地址
  668. type: string
  669. createtime:
  670. description: 创建时间
  671. type: string
  672. currencyid:
  673. description: 报价货币ID
  674. type: integer
  675. decimalplace:
  676. description: 报价小数位
  677. type: integer
  678. endtime:
  679. description: 预售结束时间
  680. type: string
  681. floorprice:
  682. description: 底价[大宗式竞拍]
  683. type: number
  684. goodscode:
  685. description: 商品代码(预售)
  686. type: string
  687. goodsdetail:
  688. description: 详情[大宗]
  689. type: string
  690. goodsid:
  691. description: 商品ID(自增ID SEQ_GOODS)
  692. type: integer
  693. goodsname:
  694. description: 商品名称(预售)
  695. type: string
  696. goodunit:
  697. description: 报价单位
  698. type: string
  699. goodunitid:
  700. description: 报价单位ID
  701. type: integer
  702. marketid:
  703. description: 所属市场ID
  704. type: integer
  705. marketname:
  706. description: 预售市场名称
  707. type: string
  708. presaledamount:
  709. description: 已预售总金额(预售结束时更新)
  710. type: number
  711. presaledqty:
  712. description: 已预售量(预售结束时更新)
  713. type: integer
  714. presalemode:
  715. description: 预售模式 - 1:一口价 2:大宗式竞拍
  716. type: integer
  717. presaleqty:
  718. description: 预售数量
  719. type: integer
  720. refprice:
  721. description: 参考价格[一口价]
  722. type: number
  723. relatedgoodscode:
  724. description: 商品代码(订单)
  725. type: string
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedgoodsname:
  730. description: 商品名称(订单)
  731. type: string
  732. relatedmarketid:
  733. description: 关联交易合约市场ID
  734. type: integer
  735. sellstatus:
  736. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  737. type: integer
  738. startprice:
  739. description: 起拍价[大宗式竞拍]
  740. type: number
  741. starttime:
  742. description: 预售开始时间
  743. type: string
  744. tradedate:
  745. description: 交易日(yyyyMMdd)
  746. type: string
  747. tradeprice:
  748. description: 成交价[大宗]
  749. type: number
  750. userid:
  751. description: 卖方用户ID
  752. type: integer
  753. required:
  754. - goodscode
  755. - goodsid
  756. - goodsname
  757. - marketid
  758. - relatedgoodscode
  759. - relatedgoodsname
  760. type: object
  761. cptrade.QueryPresaleGoodsExRsp:
  762. properties:
  763. attachmenturl:
  764. description: 附件地址
  765. type: string
  766. createtime:
  767. description: 创建时间
  768. type: string
  769. endtime:
  770. description: 预售结束时间
  771. type: string
  772. floorprice:
  773. description: 底价[大宗式竞拍]
  774. type: number
  775. goodsdetail:
  776. description: 详情[大宗]
  777. type: string
  778. goodsid:
  779. description: 商品ID(预售)
  780. type: integer
  781. goodunit:
  782. description: 报价单位
  783. type: string
  784. marketid:
  785. description: 预售市场ID - 根据预售模式选择市场
  786. type: integer
  787. presaledamount:
  788. description: 已预售总金额(预售结束时更新)
  789. type: number
  790. presaledqty:
  791. description: 已预售量(预售结束时更新)
  792. type: integer
  793. presalemode:
  794. description: 预售模式 - 1:一口价 2:大宗式竞拍
  795. type: integer
  796. presaleqty:
  797. description: 预售数量
  798. type: integer
  799. refprice:
  800. description: 参考价格[一口价]
  801. type: number
  802. relatedgoodsid:
  803. description: 关联交易合约ID
  804. type: integer
  805. relatedmarketid:
  806. description: 关联交易合约市场ID
  807. type: integer
  808. sellstatus:
  809. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  810. type: integer
  811. startprice:
  812. description: 起拍价[大宗式竞拍]
  813. type: number
  814. starttime:
  815. description: 预售开始时间
  816. type: string
  817. tradedate:
  818. description: 交易日(yyyyMMdd)
  819. type: string
  820. tradeprice:
  821. description: 成交价[大宗]
  822. type: number
  823. required:
  824. - goodsid
  825. type: object
  826. delivery.QueryDeliveryRelationRsp:
  827. properties:
  828. begindate:
  829. description: 起始日期(yyyyMMdd)
  830. type: string
  831. buytemplateid:
  832. description: 买履约计划模板ID
  833. type: integer
  834. deliverygoodscode:
  835. description: 品种代码
  836. type: string
  837. deliverygoodsid:
  838. description: 交割商品
  839. type: integer
  840. deliverygoodsname:
  841. description: 品种名称
  842. type: string
  843. deliverymode:
  844. description: 交割方式 - 1:点选式 2:申报式
  845. type: integer
  846. deliverypricerule:
  847. description: 交割价规则- 1:行情价 2:建仓价
  848. type: integer
  849. deliverytype:
  850. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  851. type: integer
  852. enddate:
  853. description: 结束日期(yyyyMMdd)
  854. type: string
  855. goodscode:
  856. description: 商品代码
  857. type: string
  858. goodsid:
  859. description: 交易合约ID
  860. type: integer
  861. goodsname:
  862. description: 商品名称
  863. type: string
  864. marketid:
  865. description: 市场ID
  866. type: integer
  867. mindeliveryqty:
  868. description: 最小交割系数(K)
  869. type: integer
  870. p2deliveryprice:
  871. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  872. type: number
  873. p2deliveryratio:
  874. description: P2合约系数(p)
  875. type: integer
  876. p2goodsid:
  877. description: P2合约ID
  878. type: integer
  879. p2pricemode:
  880. description: P2合约价格方式 - 1:商品价 2:固定值
  881. type: integer
  882. pdeliveryprice:
  883. description: P合约价格(商品价时填写0,固定值时填写固定值)
  884. type: number
  885. pdeliveryratio:
  886. description: P合约系数(n)
  887. type: integer
  888. pgoodsid:
  889. description: P合约ID
  890. type: integer
  891. ppricemode:
  892. description: P合约价格方式 - 1:商品价 2:固定值
  893. type: integer
  894. rratio:
  895. description: 兑换系数(R)
  896. type: integer
  897. rratio1:
  898. description: 兑换系数(交易合约)(R1)
  899. type: integer
  900. rratio2:
  901. description: 兑换系数(仓单标准)(R2)
  902. type: integer
  903. selltemplateid:
  904. description: 卖履约计划模板ID
  905. type: integer
  906. wrstandardid:
  907. description: 仓单标准ID
  908. type: integer
  909. xdeliveryratio:
  910. description: 交易合约系数(m)
  911. type: integer
  912. required:
  913. - begindate
  914. - enddate
  915. - goodsid
  916. - mindeliveryqty
  917. - xdeliveryratio
  918. type: object
  919. ermcp.ExposureDetailRsp:
  920. properties:
  921. areauserid:
  922. description: 机构ID
  923. type: integer
  924. changeQty:
  925. description: 套保变动量
  926. type: number
  927. contracttype:
  928. description: 现货合同类型 - 1:采购 -1:销售
  929. type: integer
  930. convertfactor:
  931. description: 标仓系数
  932. type: number
  933. convertratio:
  934. description: 套保系数
  935. type: number
  936. createtime:
  937. description: 时间
  938. type: string
  939. enumdicname:
  940. description: 现货商品单位名称
  941. type: string
  942. logtype:
  943. description: 类型 - 1:套保计划 2:现货合同
  944. type: integer
  945. middlegoodsId:
  946. description: 套保商品id
  947. type: integer
  948. middlegoodscode:
  949. description: 套保商品代码
  950. type: string
  951. middlegoodsname:
  952. description: 套保商品名称
  953. type: string
  954. qty:
  955. description: 数量
  956. type: number
  957. relateNo:
  958. description: 现货合同/套保计划编号
  959. type: string
  960. wrstandardcode:
  961. description: 现货商品代码
  962. type: string
  963. wrstandardid:
  964. description: 现货商品ID
  965. type: integer
  966. wrstandardname:
  967. description: 现货商品名称
  968. type: string
  969. type: object
  970. ermcp.ExposureHedgePosDetailRsp:
  971. properties:
  972. buyorsell:
  973. description: 买卖方向 0-买 1-卖
  974. type: integer
  975. channelbuildtype:
  976. description: 开平方向 1-建仓 2-平仓
  977. type: integer
  978. goodscode:
  979. description: 商品代码
  980. type: string
  981. goodsname:
  982. description: 商品名称
  983. type: string
  984. hedgegoodsid:
  985. description: 商品id
  986. type: integer
  987. tradeqty:
  988. description: 数量(成交数量)
  989. type: integer
  990. tradetime:
  991. description: 时间(成交时间)
  992. type: string
  993. type: object
  994. ermcp.ExposureHedgePositionRsp:
  995. properties:
  996. accountid:
  997. description: 资金账号[外部母账户]
  998. type: integer
  999. curbuyposition:
  1000. description: 期末买头寸
  1001. type: integer
  1002. cursellposition:
  1003. description: 期末卖头寸
  1004. type: integer
  1005. curtdbuyposition:
  1006. description: 期末今日买头寸
  1007. type: integer
  1008. curtdsellposition:
  1009. description: 期末今日卖头寸
  1010. type: integer
  1011. curydbuyposition:
  1012. description: 期末上日买头寸
  1013. type: integer
  1014. curydsellposition:
  1015. description: 期末上日卖头寸
  1016. type: integer
  1017. decreaseqty:
  1018. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1019. type: integer
  1020. fretdbuyposition:
  1021. description: 冻结今日买头寸
  1022. type: integer
  1023. fretdsellposition:
  1024. description: 冻结今日卖头寸
  1025. type: integer
  1026. freydbuyposition:
  1027. description: 冻结上日买头寸
  1028. type: integer
  1029. freydsellposition:
  1030. description: 冻结上日卖头寸
  1031. type: integer
  1032. goodscode:
  1033. description: 商品代码
  1034. type: string
  1035. goodsid:
  1036. description: 商品id
  1037. type: integer
  1038. goodsname:
  1039. description: 商品名称
  1040. type: string
  1041. hedgeaccountcode:
  1042. description: 对冲账号
  1043. type: string
  1044. hedgegoodsid:
  1045. description: 对冲合约ID
  1046. type: integer
  1047. increaseqty:
  1048. description: 增加数量 = 期末买头寸 - 期初买头寸
  1049. type: integer
  1050. marketid:
  1051. description: 市场ID
  1052. type: integer
  1053. relateduserid:
  1054. description: 关联用户id
  1055. type: integer
  1056. totalcurqty:
  1057. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1058. type: integer
  1059. totalydqty:
  1060. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1061. type: integer
  1062. tradedate:
  1063. description: 交易日(yyyyMMdd)
  1064. type: string
  1065. ydbuyposition:
  1066. description: 期初买头寸
  1067. type: integer
  1068. ydsellposition:
  1069. description: 期初卖头寸
  1070. type: integer
  1071. type: object
  1072. ermcp.ExposureSpotDetailRsp:
  1073. properties:
  1074. contracttype:
  1075. description: 合同类型 1-采购 -1-销售
  1076. type: integer
  1077. createtime:
  1078. description: 创建时间
  1079. type: string
  1080. enumdicname:
  1081. description: 现货商品单位名称
  1082. type: string
  1083. logtype:
  1084. description: 记录类型 1-套保 2-现货合同
  1085. type: integer
  1086. qty:
  1087. description: 数量
  1088. type: number
  1089. recordname:
  1090. description: 类型名称
  1091. type: string
  1092. relatedid:
  1093. description: 套保计划ID/现货合同ID
  1094. type: string
  1095. relatedno:
  1096. description: 编号
  1097. type: string
  1098. strtime:
  1099. description: 时间
  1100. type: string
  1101. wrstandardcode:
  1102. description: 现货商品代码
  1103. type: string
  1104. wrstandardname:
  1105. description: 现货商品名称
  1106. type: string
  1107. type: object
  1108. ermcp.ExposureSpotRsp:
  1109. properties:
  1110. areauserid:
  1111. description: 所属机构
  1112. type: integer
  1113. decreaseqty:
  1114. description: 减少数量=-(销售已定价数量+采购计划数量)
  1115. type: number
  1116. increaseqty:
  1117. description: 增加数量=销售计划数量+采购已定价数量
  1118. type: number
  1119. oritoalspotqty:
  1120. description: 昨日数量
  1121. type: number
  1122. totalspotqty:
  1123. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1124. type: number
  1125. updatetime:
  1126. description: 更新时间
  1127. type: string
  1128. wrstandardcode:
  1129. description: 现货品种代码
  1130. type: string
  1131. wrstandardid:
  1132. description: 现货商品ID
  1133. type: integer
  1134. wrstandardname:
  1135. description: 现货品种
  1136. type: string
  1137. type: object
  1138. ermcp.HisExposureRsp:
  1139. properties:
  1140. data:
  1141. description: 历史敞口
  1142. items:
  1143. $ref: '#/definitions/models.ErmcpHisExposure'
  1144. type: array
  1145. enumdicname:
  1146. description: 单位名称
  1147. type: string
  1148. middlegoodscode:
  1149. description: 套保品种代码
  1150. type: string
  1151. middlegoodsid:
  1152. description: 套保品种ID
  1153. type: integer
  1154. middlegoodsname:
  1155. description: 套保品种名称
  1156. type: string
  1157. type: object
  1158. ermcp.PendingAuditCntRsp:
  1159. properties:
  1160. areastockqty:
  1161. description: '待审核数量: 库存申请'
  1162. type: integer
  1163. businessdjqty:
  1164. description: '待审核数量: 点价'
  1165. type: integer
  1166. businessfpqty:
  1167. description: '待审核数量: 发票'
  1168. type: integer
  1169. businessjsqty:
  1170. description: '待审核数量: 结算'
  1171. type: integer
  1172. businesskxqty:
  1173. description: '待审核数量: 款项'
  1174. type: integer
  1175. hedgeplanqty:
  1176. description: '待审核数量: 套保计划'
  1177. type: integer
  1178. spotcontractqty:
  1179. description: '待审核数量: 现货合同'
  1180. type: integer
  1181. userqty:
  1182. description: '待审核数量: 用户'
  1183. type: integer
  1184. type: object
  1185. ermcp.QryAvalidGPRsp:
  1186. properties:
  1187. goodsgroupid:
  1188. description: 期货品种id
  1189. type: integer
  1190. goodsgroupname:
  1191. description: 期货品种名称
  1192. type: string
  1193. goodunitid:
  1194. description: 品种单位id
  1195. type: integer
  1196. goodunitname:
  1197. description: 品种单位名称
  1198. type: string
  1199. outergroupcode:
  1200. description: 期货品种代码
  1201. type: string
  1202. type: object
  1203. ermcp.QryBusinessDjRsp:
  1204. properties:
  1205. amount:
  1206. description: 点价金额=(点价价格+升贴水)*点价数量
  1207. type: number
  1208. applyid:
  1209. description: 申请人
  1210. type: string
  1211. applyname:
  1212. description: 申请人名称
  1213. type: string
  1214. applystatus:
  1215. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1216. type: integer
  1217. applytime:
  1218. description: 申请时间
  1219. type: string
  1220. attachurl:
  1221. description: 附件
  1222. type: string
  1223. auditid:
  1224. description: 审核人ID
  1225. type: string
  1226. auditname:
  1227. description: 审核人名称
  1228. type: string
  1229. audittime:
  1230. description: 审核时间
  1231. type: string
  1232. buyusername:
  1233. description: 采购方名称
  1234. type: string
  1235. contractno:
  1236. description: 合同编号
  1237. type: string
  1238. contractstatus:
  1239. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1240. type: integer
  1241. contracttype:
  1242. description: 现货合同类型 - 1:采购 -1:销售
  1243. type: integer
  1244. deliverygoodscode:
  1245. description: 现货品种代码
  1246. type: string
  1247. deliverygoodsid:
  1248. description: 现货商品ID
  1249. type: integer
  1250. deliverygoodsname:
  1251. description: 现货品种名称
  1252. type: string
  1253. enumdicname:
  1254. description: 单位名称
  1255. type: string
  1256. goodscode:
  1257. description: 点价合约
  1258. type: string
  1259. goodsname:
  1260. description: 商品名称
  1261. type: string
  1262. operateapplyid:
  1263. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1264. type: string
  1265. operateapplytype:
  1266. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1267. type: integer
  1268. pricedPrice:
  1269. description: 点价价格(非必填)
  1270. type: number
  1271. pricedQty:
  1272. description: 点价数量(非必填)
  1273. type: number
  1274. pricemove:
  1275. description: 升贴水
  1276. type: number
  1277. pricetype:
  1278. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1279. type: integer
  1280. relatedid:
  1281. description: 现货合同ID
  1282. type: string
  1283. sellusername:
  1284. description: 销售方名字
  1285. type: string
  1286. userid:
  1287. description: 用户ID
  1288. type: integer
  1289. wrstandardcode:
  1290. description: 品类代码
  1291. type: string
  1292. wrstandardid:
  1293. description: 品类id
  1294. type: integer
  1295. wrstandardname:
  1296. description: 品类名称
  1297. type: string
  1298. type: object
  1299. ermcp.QryBussinessFpRsp:
  1300. properties:
  1301. applyid:
  1302. description: 申请人
  1303. type: string
  1304. applyname:
  1305. description: 申请人名称
  1306. type: string
  1307. applystatus:
  1308. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1309. type: integer
  1310. applytime:
  1311. description: 申请时间
  1312. type: string
  1313. attachurl:
  1314. description: 附件
  1315. type: string
  1316. auditid:
  1317. description: 审核人ID
  1318. type: string
  1319. auditname:
  1320. description: 审核人名称
  1321. type: string
  1322. audittime:
  1323. description: 审核时间
  1324. type: string
  1325. buyusername:
  1326. description: 采购方名称
  1327. type: string
  1328. contractno:
  1329. description: 合同编号
  1330. type: string
  1331. contractstatus:
  1332. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1333. type: integer
  1334. contracttype:
  1335. description: 现货合同类型 - 1:采购 -1:销售
  1336. type: integer
  1337. deliverygoodscode:
  1338. description: 现货品种代码
  1339. type: string
  1340. deliverygoodsid:
  1341. description: 现货商品ID
  1342. type: integer
  1343. deliverygoodsname:
  1344. description: 现货品种名称
  1345. type: string
  1346. enumdicname:
  1347. description: 单位名称
  1348. type: string
  1349. goodscode:
  1350. description: 点价合约
  1351. type: string
  1352. goodsname:
  1353. description: 商品名称
  1354. type: string
  1355. invoiceAmount:
  1356. description: 已开收票金额(销售为开票,采购为收票)
  1357. type: number
  1358. operateapplyid:
  1359. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1360. type: string
  1361. operateapplytype:
  1362. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1363. type: integer
  1364. pricemove:
  1365. description: 升贴水
  1366. type: number
  1367. pricetype:
  1368. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1369. type: integer
  1370. relatedid:
  1371. description: 现货合同ID
  1372. type: string
  1373. sellusername:
  1374. description: 销售方名字
  1375. type: string
  1376. userid:
  1377. description: 用户ID
  1378. type: integer
  1379. wrstandardcode:
  1380. description: 品类代码
  1381. type: string
  1382. wrstandardid:
  1383. description: 品类id
  1384. type: integer
  1385. wrstandardname:
  1386. description: 品类名称
  1387. type: string
  1388. type: object
  1389. ermcp.QryBussinessJsExRsp:
  1390. properties:
  1391. applyid:
  1392. description: 申请人
  1393. type: string
  1394. applyname:
  1395. description: 申请人名称
  1396. type: string
  1397. applystatus:
  1398. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1399. type: integer
  1400. applytime:
  1401. description: 申请时间
  1402. type: string
  1403. attachurl:
  1404. description: 附件
  1405. type: string
  1406. auditid:
  1407. description: 审核人ID
  1408. type: string
  1409. auditname:
  1410. description: 审核人名称
  1411. type: string
  1412. audittime:
  1413. description: 审核时间
  1414. type: string
  1415. buyusername:
  1416. description: 采购方名称
  1417. type: string
  1418. contractno:
  1419. description: 合同编号
  1420. type: string
  1421. contractstatus:
  1422. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1423. type: integer
  1424. contracttype:
  1425. description: 现货合同类型 - 1:采购 -1:销售
  1426. type: integer
  1427. deliverygoodscode:
  1428. description: 现货品种代码
  1429. type: string
  1430. deliverygoodsid:
  1431. description: 现货商品ID
  1432. type: integer
  1433. deliverygoodsname:
  1434. description: 现货品种名称
  1435. type: string
  1436. enumdicname:
  1437. description: 单位名称
  1438. type: string
  1439. goodscode:
  1440. description: 点价合约
  1441. type: string
  1442. goodsname:
  1443. description: 商品名称
  1444. type: string
  1445. operateapplyid:
  1446. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1447. type: string
  1448. operateapplytype:
  1449. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1450. type: integer
  1451. pricemove:
  1452. description: 升贴水
  1453. type: number
  1454. pricetype:
  1455. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1456. type: integer
  1457. reckontype:
  1458. description: 结算类型
  1459. type: string
  1460. reckonvalue:
  1461. description: 值
  1462. type: number
  1463. relatedid:
  1464. description: 现货合同ID
  1465. type: string
  1466. sellusername:
  1467. description: 销售方名字
  1468. type: string
  1469. userid:
  1470. description: 用户ID
  1471. type: integer
  1472. wrstandardcode:
  1473. description: 品类代码
  1474. type: string
  1475. wrstandardid:
  1476. description: 品类id
  1477. type: integer
  1478. wrstandardname:
  1479. description: 品类名称
  1480. type: string
  1481. type: object
  1482. ermcp.QryBussinessJsRsp:
  1483. properties:
  1484. addmargin:
  1485. description: 追加保证金(非必填)
  1486. type: number
  1487. applyid:
  1488. description: 申请人
  1489. type: string
  1490. applyname:
  1491. description: 申请人名称
  1492. type: string
  1493. applystatus:
  1494. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1495. type: integer
  1496. applytime:
  1497. description: 申请时间
  1498. type: string
  1499. attachurl:
  1500. description: 附件
  1501. type: string
  1502. auditid:
  1503. description: 审核人ID
  1504. type: string
  1505. auditname:
  1506. description: 审核人名称
  1507. type: string
  1508. audittime:
  1509. description: 审核时间
  1510. type: string
  1511. buyusername:
  1512. description: 采购方名称
  1513. type: string
  1514. contractno:
  1515. description: 合同编号
  1516. type: string
  1517. contractstatus:
  1518. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1519. type: integer
  1520. contracttype:
  1521. description: 现货合同类型 - 1:采购 -1:销售
  1522. type: integer
  1523. decmargin:
  1524. description: 减少保证金(非必填)
  1525. type: number
  1526. deliverygoodscode:
  1527. description: 现货品种代码
  1528. type: string
  1529. deliverygoodsid:
  1530. description: 现货商品ID
  1531. type: integer
  1532. deliverygoodsname:
  1533. description: 现货品种名称
  1534. type: string
  1535. enumdicname:
  1536. description: 单位名称
  1537. type: string
  1538. goodscode:
  1539. description: 点价合约
  1540. type: string
  1541. goodsname:
  1542. description: 商品名称
  1543. type: string
  1544. operateapplyid:
  1545. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1546. type: string
  1547. operateapplytype:
  1548. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1549. type: integer
  1550. pricemove:
  1551. description: 升贴水
  1552. type: number
  1553. pricetype:
  1554. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1555. type: integer
  1556. reckonadjustamount:
  1557. description: 结算调整金额(非必填)
  1558. type: number
  1559. reckonosamount:
  1560. description: 结算溢短金额(非必填)
  1561. type: number
  1562. reckonotheramount:
  1563. description: 结算其他费用(非必填)
  1564. type: number
  1565. reckonrealqty:
  1566. description: 结算实际数量(非必填)
  1567. type: number
  1568. relatedid:
  1569. description: 现货合同ID
  1570. type: string
  1571. sellusername:
  1572. description: 销售方名字
  1573. type: string
  1574. userid:
  1575. description: 用户ID
  1576. type: integer
  1577. wrstandardcode:
  1578. description: 品类代码
  1579. type: string
  1580. wrstandardid:
  1581. description: 品类id
  1582. type: integer
  1583. wrstandardname:
  1584. description: 品类名称
  1585. type: string
  1586. type: object
  1587. ermcp.QryBussinessKxRsp:
  1588. properties:
  1589. applyid:
  1590. description: 申请人
  1591. type: string
  1592. applyname:
  1593. description: 申请人名称
  1594. type: string
  1595. applystatus:
  1596. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1597. type: integer
  1598. applytime:
  1599. description: 申请时间
  1600. type: string
  1601. attachurl:
  1602. description: 附件
  1603. type: string
  1604. auditid:
  1605. description: 审核人ID
  1606. type: string
  1607. auditname:
  1608. description: 审核人名称
  1609. type: string
  1610. audittime:
  1611. description: 审核时间
  1612. type: string
  1613. buyusername:
  1614. description: 采购方名称
  1615. type: string
  1616. contractno:
  1617. description: 合同编号
  1618. type: string
  1619. contractstatus:
  1620. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1621. type: integer
  1622. contracttype:
  1623. description: 现货合同类型 - 1:采购 -1:销售
  1624. type: integer
  1625. deductamount:
  1626. description: 退款(非必填)
  1627. type: number
  1628. deliverygoodscode:
  1629. description: 现货品种代码
  1630. type: string
  1631. deliverygoodsid:
  1632. description: 现货商品ID
  1633. type: integer
  1634. deliverygoodsname:
  1635. description: 现货品种名称
  1636. type: string
  1637. enumdicname:
  1638. description: 单位名称
  1639. type: string
  1640. goodscode:
  1641. description: 点价合约
  1642. type: string
  1643. goodsname:
  1644. description: 商品名称
  1645. type: string
  1646. kxtype:
  1647. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1648. type: integer
  1649. operateapplyid:
  1650. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1651. type: string
  1652. operateapplytype:
  1653. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1654. type: integer
  1655. payamount:
  1656. description: 收付款(非必填)
  1657. type: number
  1658. pricemove:
  1659. description: 升贴水
  1660. type: number
  1661. pricetype:
  1662. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1663. type: integer
  1664. relatedid:
  1665. description: 现货合同ID
  1666. type: string
  1667. sellusername:
  1668. description: 销售方名字
  1669. type: string
  1670. userid:
  1671. description: 用户ID
  1672. type: integer
  1673. wrstandardcode:
  1674. description: 品类代码
  1675. type: string
  1676. wrstandardid:
  1677. description: 品类id
  1678. type: integer
  1679. wrstandardname:
  1680. description: 品类名称
  1681. type: string
  1682. type: object
  1683. ermcp.QryGGCovertCfgRsp:
  1684. properties:
  1685. convertratio:
  1686. description: 折算系数
  1687. type: number
  1688. destgoodsgroupid:
  1689. description: 目标品种ID
  1690. type: integer
  1691. dstcode:
  1692. description: 目录品种代码
  1693. type: string
  1694. dstexchangecode:
  1695. description: 目标期货交易所
  1696. type: string
  1697. dstname:
  1698. description: 目标品种名称
  1699. type: string
  1700. dstunitid:
  1701. description: 目标品种单位ID
  1702. type: integer
  1703. dstunitidname:
  1704. description: 目标品种单位名称
  1705. type: string
  1706. modifytime:
  1707. description: 修改时间
  1708. type: string
  1709. srccode:
  1710. description: 源品种代码
  1711. type: string
  1712. srcexchangecode:
  1713. description: 源期货交易所
  1714. type: string
  1715. srcgoodsgroupid:
  1716. description: 源品种ID
  1717. type: integer
  1718. srcname:
  1719. description: 源品种名称
  1720. type: string
  1721. srcunitid:
  1722. description: 源品种单位ID
  1723. type: integer
  1724. srcunitidname:
  1725. description: 源品种单位名称
  1726. type: string
  1727. type: object
  1728. ermcp.QryMGChangeLogRsp:
  1729. properties:
  1730. aftervalue:
  1731. description: 变更后
  1732. type: number
  1733. applyid:
  1734. description: 操作人
  1735. type: integer
  1736. applyname:
  1737. description: 操作人名称
  1738. type: string
  1739. applysrc:
  1740. description: 操作来源 - 1:管理端 2:终端
  1741. type: integer
  1742. beforevalue:
  1743. description: 变更前
  1744. type: number
  1745. changelogtype:
  1746. description: 变更流水类型 - 1:套保比率变更
  1747. type: integer
  1748. handlestatus:
  1749. description: 处理状态
  1750. type: integer
  1751. logdatetime:
  1752. description: 流水日期
  1753. type: string
  1754. logid:
  1755. description: 流水ID
  1756. type: integer
  1757. logremark:
  1758. description: 流水备注
  1759. type: string
  1760. middlegoodsid:
  1761. description: 套保品种ID
  1762. type: integer
  1763. tradedate:
  1764. description: 交易日(yyyyMMdd)
  1765. type: string
  1766. updatetime:
  1767. description: 更新时间
  1768. type: string
  1769. type: object
  1770. ermcp.QryMiddleGoodsDetailRsp:
  1771. properties:
  1772. cvList:
  1773. description: 期货品种折算列表
  1774. items:
  1775. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1776. type: array
  1777. mg:
  1778. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1779. description: 套保品种基本信息
  1780. wrcList:
  1781. description: 现货品种列表(现货商品折算配置)
  1782. items:
  1783. $ref: '#/definitions/models.WRSConverTDetail'
  1784. type: array
  1785. type: object
  1786. ermcp.QryMiddleGoodsRsp:
  1787. properties:
  1788. areauserid:
  1789. description: 机构用户ID
  1790. type: integer
  1791. createtime:
  1792. description: 修改时间
  1793. type: string
  1794. enumdicname:
  1795. description: 单位名称
  1796. type: string
  1797. evaluateratio:
  1798. description: 估价系数
  1799. type: number
  1800. goodsgroupid:
  1801. description: 关联期货品种ID
  1802. type: integer
  1803. goodsunitid:
  1804. description: 单位ID
  1805. type: integer
  1806. isvalid:
  1807. description: 状态 0-无效(停用) 1-有效(正常)
  1808. type: integer
  1809. middlegoodscode:
  1810. description: 套保品种代码
  1811. type: string
  1812. middlegoodsid:
  1813. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1814. type: integer
  1815. middlegoodsname:
  1816. description: 套保品种名称
  1817. type: string
  1818. modifytime:
  1819. description: 修改时间
  1820. type: string
  1821. needhedgeratio:
  1822. description: 套保比率
  1823. type: number
  1824. qtydecimalplace:
  1825. description: 数量小数位
  1826. type: integer
  1827. relatedgoodsid:
  1828. description: 关联交易商品ID
  1829. type: integer
  1830. relatedgoodstype:
  1831. description: 关联商品类型 - 1:期货合约 2:现货品种
  1832. type: integer
  1833. remark:
  1834. description: 备注
  1835. type: string
  1836. type: object
  1837. ermcp.QryOPLogRsp:
  1838. properties:
  1839. aftervalue:
  1840. description: 变更后
  1841. type: number
  1842. applyid:
  1843. description: 操作人ID
  1844. type: string
  1845. applyname:
  1846. description: 操作人名称
  1847. type: string
  1848. beforevalue:
  1849. description: 变更前
  1850. type: number
  1851. biztype:
  1852. description: 业务类型 - 1:套保计划 2:现货合同
  1853. type: integer
  1854. contracttype:
  1855. description: 现货合同类型 - 1:采购 -1:销售
  1856. type: integer
  1857. logvalue:
  1858. description: 数值
  1859. type: number
  1860. operatelogtype:
  1861. description: 操作流水类型
  1862. type: integer
  1863. operatelogtypedesc:
  1864. description: 操作流水类型名称
  1865. type: string
  1866. relatedid:
  1867. description: 现货合同ID\套保计划
  1868. type: string
  1869. updatetime:
  1870. description: 更新时间
  1871. type: string
  1872. type: object
  1873. ermcp.QryUserInfoRsp:
  1874. properties:
  1875. address:
  1876. description: 通讯地址
  1877. type: string
  1878. attachment1:
  1879. description: 附件1
  1880. type: string
  1881. audittime:
  1882. description: 审核时间
  1883. type: string
  1884. cardbackphotourl:
  1885. description: 证件反面图片地址
  1886. type: string
  1887. cardfrontphotourl:
  1888. description: 证件正面图片地址
  1889. type: string
  1890. cardnum:
  1891. description: 证件号码
  1892. type: string
  1893. cardtype:
  1894. description: 证件类型
  1895. type: integer
  1896. cardtypename:
  1897. description: 证件类型名称
  1898. type: string
  1899. cityid:
  1900. description: 市
  1901. type: integer
  1902. contactname:
  1903. description: 联系人
  1904. type: string
  1905. countryid:
  1906. description: 国家
  1907. type: integer
  1908. createtime:
  1909. description: 创建时间
  1910. type: string
  1911. customername:
  1912. description: 企业名称
  1913. type: string
  1914. districtid:
  1915. description: 区域
  1916. type: integer
  1917. email:
  1918. description: 邮件
  1919. type: string
  1920. legalpersonname:
  1921. description: 法人姓名(企业)
  1922. type: string
  1923. memberuserid:
  1924. description: 所属机构ID
  1925. type: integer
  1926. mobile:
  1927. description: 手机号码
  1928. type: string
  1929. modifytime:
  1930. description: 修改时间
  1931. type: string
  1932. nickname:
  1933. description: 昵称
  1934. type: string
  1935. provinceid:
  1936. description: 省
  1937. type: integer
  1938. remark:
  1939. description: 备注
  1940. type: string
  1941. status:
  1942. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  1943. type: integer
  1944. statusdesc:
  1945. description: 账户状态中文描述
  1946. type: string
  1947. taxpayernum:
  1948. description: 纳税人识别号
  1949. type: string
  1950. telphone:
  1951. description: 联系电话
  1952. type: string
  1953. userid:
  1954. description: 用户ID
  1955. type: integer
  1956. userinfotype:
  1957. description: 客户类型
  1958. type: string
  1959. type: object
  1960. ermcp.QryWarehouseRsp:
  1961. properties:
  1962. address:
  1963. description: 详细地址
  1964. type: string
  1965. areauserid:
  1966. description: 所属机构
  1967. type: integer
  1968. autoid:
  1969. description: 自增ID(仓库ID)
  1970. type: integer
  1971. cityid:
  1972. description: 市
  1973. type: integer
  1974. contactname:
  1975. description: 联系人
  1976. type: string
  1977. contactnum:
  1978. description: 联系电话
  1979. type: string
  1980. countryid:
  1981. description: 国家
  1982. type: integer
  1983. createtime:
  1984. description: 创建时间
  1985. type: string
  1986. districtid:
  1987. description: 区
  1988. type: integer
  1989. hasvideo:
  1990. description: 是否有视频 - 0:无 1:有
  1991. type: integer
  1992. provinceid:
  1993. description: 省
  1994. type: integer
  1995. remark:
  1996. description: 审核备注
  1997. type: string
  1998. videourl:
  1999. description: 视频地址
  2000. type: string
  2001. warehousecode:
  2002. description: 仓库代码
  2003. type: string
  2004. warehousename:
  2005. description: 仓库名称
  2006. type: string
  2007. warehousestatus:
  2008. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2009. type: integer
  2010. warehousetype:
  2011. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2012. type: integer
  2013. type: object
  2014. ermcp.QueryErmcpTradePositionRsp:
  2015. properties:
  2016. agreeunit:
  2017. description: 合约单位
  2018. type: number
  2019. buyorsell:
  2020. description: 方向 - 0:买 1:卖
  2021. type: integer
  2022. curpositionqty:
  2023. description: 持仓(总仓数量, 期末头寸)
  2024. type: integer
  2025. curtdposition:
  2026. description: 今仓数量(期末今日头寸)
  2027. type: integer
  2028. curtdpositionenabled:
  2029. description: 今仓可用
  2030. type: integer
  2031. decimalplace:
  2032. description: 报价小数位
  2033. type: integer
  2034. enableqty:
  2035. description: 可用(总仓可用)
  2036. type: integer
  2037. exexchangename:
  2038. description: 外部交易所名称
  2039. type: string
  2040. goodscode:
  2041. description: 商品代码(内部)
  2042. type: string
  2043. goodsid:
  2044. description: 商品ID(自增ID SEQ_GOODS)
  2045. type: integer
  2046. goodsname:
  2047. description: 商品名称
  2048. type: string
  2049. last:
  2050. description: 现价
  2051. type: number
  2052. marketid:
  2053. description: 所属市场ID
  2054. type: integer
  2055. openaverageprice:
  2056. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2057. type: number
  2058. opencost:
  2059. description: 开仓成本
  2060. type: number
  2061. openpl:
  2062. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2063. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2064. type: number
  2065. outgoodscode:
  2066. description: 商品代码(外部)
  2067. type: string
  2068. positionaverageprice:
  2069. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2070. type: number
  2071. positioncost:
  2072. description: 持仓成本
  2073. type: number
  2074. positionpl:
  2075. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2076. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2077. type: number
  2078. positionplrate:
  2079. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2080. type: number
  2081. usedmargin:
  2082. description: 占用保证金
  2083. type: number
  2084. type: object
  2085. ermcp.RealtimeExposurePositionRsp:
  2086. properties:
  2087. agreeunit:
  2088. description: 合约单位
  2089. type: string
  2090. areauserid:
  2091. description: 所属机构id
  2092. type: integer
  2093. convertratio:
  2094. description: 期货品种系数(折算系数)
  2095. type: number
  2096. curqty:
  2097. description: 当前持仓
  2098. type: integer
  2099. diffhedgeqty:
  2100. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2101. type: number
  2102. diffqty:
  2103. description: 持仓变动量=当前持仓-昨日持仓
  2104. type: integer
  2105. goodscode:
  2106. description: 商品代码
  2107. type: string
  2108. goodsid:
  2109. description: 商品id
  2110. type: integer
  2111. goodsname:
  2112. description: 商品名称
  2113. type: string
  2114. middlegoodsid:
  2115. description: 套保商品id
  2116. type: integer
  2117. ydqty:
  2118. description: 昨日持仓
  2119. type: integer
  2120. type: object
  2121. ermcp.RealtimeExposureRsp:
  2122. properties:
  2123. AreaUserID:
  2124. description: 所属机构
  2125. type: integer
  2126. BuyFutureQty:
  2127. description: 买入期货数量
  2128. type: number
  2129. BuyPlanQty:
  2130. description: 采购计划数量
  2131. type: number
  2132. BuyPricedQty:
  2133. description: 采购合同已定价数量
  2134. type: number
  2135. MiddleGoodsCode:
  2136. description: 套保品种代码
  2137. type: string
  2138. MiddleGoodsHedgeRatio:
  2139. description: 套保比例
  2140. type: number
  2141. MiddleGoodsID:
  2142. description: 套保品种
  2143. type: integer
  2144. MiddleGoodsName:
  2145. description: 套保品种名称
  2146. type: string
  2147. NeedHedgeExposoure:
  2148. description: 应套保敞口(套保敞口)
  2149. type: number
  2150. NeedHedgeRatio:
  2151. description: 应套保敞口比例
  2152. type: number
  2153. OriBuyFutureQty:
  2154. description: 期初买入期货数量
  2155. type: number
  2156. OriBuyPlanQty:
  2157. description: 期初采购计划数量
  2158. type: number
  2159. OriBuyPricedQty:
  2160. description: 期初采购合同已定价数量
  2161. type: number
  2162. OriSellFutureQty:
  2163. description: 期初卖出期货数量
  2164. type: number
  2165. OriSellPlanQty:
  2166. description: 期初销售计划数量
  2167. type: number
  2168. OriSellPricedQty:
  2169. description: 期初销售合同已定价数量
  2170. type: number
  2171. SellFutureQty:
  2172. description: 卖出期货数量
  2173. type: number
  2174. SellPlanQty:
  2175. description: 销售计划数量
  2176. type: number
  2177. SellPricedQty:
  2178. description: 销售合同已定价数量
  2179. type: number
  2180. TotalExposure:
  2181. description: 总敞口
  2182. type: number
  2183. TotalFutureQty:
  2184. description: 期货总量
  2185. type: number
  2186. TotalHedgeRatio:
  2187. description: 敞口比例
  2188. type: number
  2189. TotalNeedHedgeQty:
  2190. description: 应套保总量(现货应套保总量)
  2191. type: number
  2192. TotalSpotQty:
  2193. description: 现货总量
  2194. type: number
  2195. arbitrageqty:
  2196. description: 套利量
  2197. type: number
  2198. diffArbitrageQty:
  2199. description: 套利变动量
  2200. type: number
  2201. diffExposoureQty:
  2202. description: 变动量(套保敞口)
  2203. type: number
  2204. diffFutuQty:
  2205. description: 变动量(期货总量)
  2206. type: number
  2207. diffHedgeQty:
  2208. description: 套保变动量
  2209. type: number
  2210. diffQty:
  2211. description: 变动量(总敞口)
  2212. type: number
  2213. diffSpotHedgeQty:
  2214. description: 变动量(现货应套保总量)
  2215. type: number
  2216. diffSpotQty:
  2217. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  2218. type: number
  2219. enumdicname:
  2220. description: 单位名称
  2221. type: string
  2222. hedgeqty:
  2223. description: 套保量
  2224. type: number
  2225. needarbitrageqty:
  2226. description: 应套利量
  2227. type: number
  2228. needarbitrageratio:
  2229. description: 套利比例
  2230. type: number
  2231. needhedgeqty:
  2232. description: 应套保量
  2233. type: number
  2234. oriTotalFutuQty:
  2235. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2236. type: number
  2237. oriTotalSpotQty:
  2238. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2239. type: number
  2240. oriarbitrageqty:
  2241. description: 期初套利量
  2242. type: number
  2243. orihedgeqty:
  2244. description: 期初套保量
  2245. type: number
  2246. orineedhedgeexposoure:
  2247. description: 期初套保敞口
  2248. type: number
  2249. oritotalexposure:
  2250. description: 期初总敞口
  2251. type: number
  2252. oritotalfutureqty:
  2253. description: 期初期货总量
  2254. type: number
  2255. oritotalneedhedgeqty:
  2256. description: 期初现货应套保量
  2257. type: number
  2258. type: object
  2259. erms2.QueryArbitrageStrategyRsp:
  2260. properties:
  2261. applybasis:
  2262. description: 申请基差
  2263. type: number
  2264. asapplyid:
  2265. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2266. type: string
  2267. asname:
  2268. description: 策略名称
  2269. type: string
  2270. asno:
  2271. description: 策略编号
  2272. type: string
  2273. basischangepl:
  2274. description: 基差变动损益[结算更新]
  2275. type: number
  2276. biztype:
  2277. description: 业务类型 - 1:正向套利 -1:反向套利
  2278. type: integer
  2279. closetradedate:
  2280. description: 完结交易日(yyyyMMdd)
  2281. type: string
  2282. curbasis:
  2283. description: 当前基差[结算更新]
  2284. type: number
  2285. deliverygoodsid:
  2286. description: 现货品种ID
  2287. type: integer
  2288. futureavgprice:
  2289. description: 期货建仓均价
  2290. type: number
  2291. futurecloseamount:
  2292. description: 期货平仓金额
  2293. type: number
  2294. futurecloseqty:
  2295. description: 期货平仓数量
  2296. type: number
  2297. futureopenamount:
  2298. description: 期货开仓金额
  2299. type: number
  2300. futureopenqty:
  2301. description: 期货开仓数量
  2302. type: number
  2303. futurepl:
  2304. description: 期货总盈亏[结算更新]
  2305. type: number
  2306. futureqty:
  2307. description: 期货持仓数量
  2308. type: number
  2309. futurequote:
  2310. description: 期货额度
  2311. type: number
  2312. goodsgroupid:
  2313. description: 期货品种ID
  2314. type: integer
  2315. marketid:
  2316. description: 市场ID
  2317. type: integer
  2318. netexposure:
  2319. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2320. type: number
  2321. netexposurepl:
  2322. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2323. type: number
  2324. netexposurerate:
  2325. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2326. type: number
  2327. openbasis:
  2328. description: 建仓基差
  2329. type: number
  2330. pricedspotqty:
  2331. description: 已定价现货数量
  2332. type: number
  2333. pricedspotqtynotax:
  2334. description: 已定价现货不含税数量
  2335. type: number
  2336. remark:
  2337. description: 备注
  2338. type: string
  2339. spotavgprice:
  2340. description: 现货均价
  2341. type: number
  2342. spotbuyamount:
  2343. description: 现货采购金额
  2344. type: number
  2345. spotbuyqty:
  2346. description: 现货采购数量
  2347. type: number
  2348. spotpl:
  2349. description: 现货总盈亏[结算更新]
  2350. type: number
  2351. spotquota:
  2352. description: 现货额度
  2353. type: number
  2354. spotsellamount:
  2355. description: 现货销售金额
  2356. type: number
  2357. spotsellqty:
  2358. description: 现货销售数量
  2359. type: number
  2360. spotusedquota:
  2361. description: 现货占用资金
  2362. type: number
  2363. strategystatus:
  2364. description: 策略状态 - 0:未结束 1:已结束
  2365. type: integer
  2366. totalpl:
  2367. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2368. type: number
  2369. tradedate:
  2370. description: 交易日(yyyyMMdd)
  2371. type: string
  2372. updatetime:
  2373. description: 更新时间
  2374. type: string
  2375. usedquota:
  2376. description: 已占用资金
  2377. type: number
  2378. userid:
  2379. description: 所属机构
  2380. type: integer
  2381. required:
  2382. - asapplyid
  2383. type: object
  2384. erms2.QueryInnerTradeDetailRsp:
  2385. properties:
  2386. accountid:
  2387. description: 账号ID
  2388. type: integer
  2389. agreeunit:
  2390. description: 合约单位
  2391. type: number
  2392. asapplyid:
  2393. description: 策略申请ID
  2394. type: integer
  2395. asname:
  2396. description: 策略名称
  2397. type: string
  2398. asno:
  2399. description: 策略编号
  2400. type: string
  2401. buyorsell:
  2402. description: 方向 - 0:买 1:卖
  2403. type: integer
  2404. channelbuildtype:
  2405. description: 委托单据类型 0:无 1:建仓 2:平仓
  2406. type: integer
  2407. closetype:
  2408. description: 平仓方式 - 0:无 1:平今 2:平昨
  2409. type: integer
  2410. decimalplace:
  2411. description: 报价小数位
  2412. type: integer
  2413. detailtype:
  2414. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2415. type: integer
  2416. exexchangecode:
  2417. description: 外部交易所代码
  2418. type: string
  2419. exexchangename:
  2420. description: 外部交易所名称
  2421. type: string
  2422. goodscode:
  2423. description: 商品代码(合约)
  2424. type: string
  2425. goodsgroupid:
  2426. description: 商品组ID(品种ID)
  2427. type: integer
  2428. goodsgroupname:
  2429. description: 商品组名称(品种)
  2430. type: string
  2431. goodsid:
  2432. description: 商品ID
  2433. type: integer
  2434. goodsname:
  2435. description: 商品名称(合约)
  2436. type: string
  2437. goodunit:
  2438. description: 报价单位
  2439. type: string
  2440. marketid:
  2441. description: 市场ID
  2442. type: integer
  2443. orderid:
  2444. description: 委托单号
  2445. type: string
  2446. outgoodscode:
  2447. description: 商品代码(外部)
  2448. type: string
  2449. relatedouttradeid:
  2450. description: 关联外部成交单ID
  2451. type: string
  2452. remark:
  2453. description: 备注
  2454. type: string
  2455. spotcontractid:
  2456. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2457. type: integer
  2458. spotcontractno:
  2459. description: 现货合同编号
  2460. type: string
  2461. tradeid:
  2462. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2463. type: string
  2464. tradeprice:
  2465. description: 成交价格
  2466. type: number
  2467. tradeqty:
  2468. description: 成交数量
  2469. type: integer
  2470. tradetime:
  2471. description: 成交时间
  2472. type: string
  2473. updatetime:
  2474. description: 更新时间
  2475. type: string
  2476. required:
  2477. - asapplyid
  2478. - buyorsell
  2479. - goodscode
  2480. - goodsgroupid
  2481. - goodsgroupname
  2482. - goodsname
  2483. - tradeid
  2484. type: object
  2485. erms2.QuerySpotContractRsp:
  2486. properties:
  2487. accountid:
  2488. description: 资金账户ID
  2489. type: integer
  2490. areauserid:
  2491. description: 所属机构
  2492. type: integer
  2493. closedate:
  2494. description: 终止日期
  2495. type: string
  2496. closeremark:
  2497. description: 结束备注
  2498. type: string
  2499. closetradedate:
  2500. description: 完结交易日(yyyyMMdd)
  2501. type: string
  2502. closetype:
  2503. description: 终止类型 - 1:违约 2:提前终止
  2504. type: integer
  2505. contractamount:
  2506. description: 合同金额
  2507. type: number
  2508. contractattachment:
  2509. description: 合同附件
  2510. type: string
  2511. contractno:
  2512. description: 现货合同编号
  2513. type: string
  2514. contractqty:
  2515. description: 合同数量(数值) (用于计算)
  2516. type: number
  2517. contractqtychar:
  2518. description: 合同数量\已订价数量 (用于显示)
  2519. type: string
  2520. contractstatus:
  2521. description: 合同状态 - 0:未结束 1:已结束
  2522. type: integer
  2523. contracttype:
  2524. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2525. type: integer
  2526. customeraccountid:
  2527. description: 客户资金账户ID
  2528. type: integer
  2529. customeruserid:
  2530. description: 客户ID
  2531. type: integer
  2532. deliverygoodsdesc:
  2533. description: 品种说明
  2534. type: string
  2535. deliverygoodsid:
  2536. description: 现货品种ID
  2537. type: integer
  2538. handlestatus:
  2539. description: 处理状态
  2540. type: integer
  2541. invoiceatt:
  2542. description: 发票附件
  2543. type: string
  2544. invoicedatetime:
  2545. description: 开收票更新时间
  2546. type: string
  2547. invoiceopentime:
  2548. description: 开票时间
  2549. type: string
  2550. invoiceremark:
  2551. description: 发票备注
  2552. type: string
  2553. invoicestatus:
  2554. description: 开收票状态 - 0:未开票 1:已开票
  2555. type: integer
  2556. lastdate:
  2557. description: 交货时间
  2558. type: string
  2559. marketid:
  2560. description: 市场ID
  2561. type: integer
  2562. paydatetime:
  2563. description: 收付款更新时间
  2564. type: string
  2565. payremark:
  2566. description: 收付款备注
  2567. type: string
  2568. paystatus:
  2569. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2570. type: integer
  2571. positionqty:
  2572. description: 头寸数量 - 合同数量去小数部分
  2573. type: integer
  2574. producttype:
  2575. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2576. type: integer
  2577. relatedqty:
  2578. description: 已关联数量
  2579. type: number
  2580. relatedstatus:
  2581. description: 关联完结状态 - 0:未结束 1:已结束
  2582. type: integer
  2583. remark:
  2584. description: 备注
  2585. type: string
  2586. signdate:
  2587. description: 签订日期
  2588. type: string
  2589. spotcontractid:
  2590. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2591. type: string
  2592. spotdatetime:
  2593. description: 收发货更新时间
  2594. type: string
  2595. spotprice:
  2596. description: 价格
  2597. type: number
  2598. spotremark:
  2599. description: 收发货备注
  2600. type: string
  2601. spotstatus:
  2602. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2603. type: integer
  2604. tradedate:
  2605. description: 交易日(yyyyMMdd)
  2606. type: string
  2607. userid:
  2608. description: 业务员用户ID
  2609. type: integer
  2610. warehouseid:
  2611. description: 仓库ID
  2612. type: integer
  2613. wrfactortypeid:
  2614. description: 仓单要素类型ID
  2615. type: integer
  2616. wrstandardid:
  2617. description: 仓单标准ID(SEQ_WRSTANDARD)
  2618. type: integer
  2619. required:
  2620. - spotcontractid
  2621. type: object
  2622. erms3.AddErms2ASApplyReq:
  2623. properties:
  2624. applybasis:
  2625. description: 申请基差
  2626. type: number
  2627. applystatus:
  2628. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2629. type: integer
  2630. asapplyid:
  2631. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2632. type: integer
  2633. asname:
  2634. description: 策略名称
  2635. type: string
  2636. asno:
  2637. description: 策略编号
  2638. type: string
  2639. auditid:
  2640. description: 审核人
  2641. type: integer
  2642. auditremark:
  2643. description: 审核备注
  2644. type: string
  2645. audittime:
  2646. description: 审核时间
  2647. type: string
  2648. biztype:
  2649. description: 业务类型 - 1:正向套利 2:反向套利
  2650. type: integer
  2651. createtime:
  2652. description: 创建时间
  2653. type: string
  2654. creatorid:
  2655. description: 创建人
  2656. type: integer
  2657. deliverygoodsid:
  2658. description: 现货品种ID
  2659. type: integer
  2660. futurequote:
  2661. description: 期货额度
  2662. type: number
  2663. goodsgroupid:
  2664. description: 期货品种ID
  2665. type: integer
  2666. marketid:
  2667. description: 市场ID
  2668. type: integer
  2669. remark:
  2670. description: 备注
  2671. type: string
  2672. spotquota:
  2673. description: 现货额度
  2674. type: number
  2675. tradedate:
  2676. description: 交易日(yyyyMMdd)
  2677. type: string
  2678. userid:
  2679. description: 所属机构
  2680. type: integer
  2681. required:
  2682. - asapplyid
  2683. type: object
  2684. erms3.AddErms2SpotTradeApplyReq:
  2685. properties:
  2686. applyjsondetail:
  2687. description: 申请明细(JSON)
  2688. type: string
  2689. applystatus:
  2690. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2691. type: integer
  2692. areauserid:
  2693. description: 所属机构
  2694. type: integer
  2695. auditid:
  2696. description: 审核人
  2697. type: integer
  2698. auditremark:
  2699. description: 审核备注
  2700. type: string
  2701. audittime:
  2702. description: 审核时间
  2703. type: string
  2704. createtime:
  2705. description: 创建时间
  2706. type: string
  2707. creatorid:
  2708. description: 创建人
  2709. type: integer
  2710. deliverygoodsid:
  2711. description: 现货品种ID
  2712. type: integer
  2713. futureaccountid:
  2714. description: 期货资金账户
  2715. type: integer
  2716. goodsgroupid:
  2717. description: 期货品种
  2718. type: integer
  2719. marketid:
  2720. description: 市场ID
  2721. type: integer
  2722. remark:
  2723. description: 备注
  2724. type: string
  2725. spotaccountid:
  2726. description: 现货资金账户
  2727. type: integer
  2728. spottradeid:
  2729. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2730. type: integer
  2731. spottradename:
  2732. description: 业务名称
  2733. type: string
  2734. spottradeno:
  2735. description: 业务编号
  2736. type: string
  2737. tradedate:
  2738. description: 交易日(yyyyMMdd)
  2739. type: string
  2740. wrstandardid:
  2741. description: 仓单标准ID
  2742. type: integer
  2743. required:
  2744. - spottradeid
  2745. type: object
  2746. erms3.AddSpotContractApplyReq:
  2747. properties:
  2748. accountid:
  2749. description: 资金账户ID
  2750. type: integer
  2751. areauserid:
  2752. description: 所属机构
  2753. type: integer
  2754. contractattachment:
  2755. description: 合同附件
  2756. type: string
  2757. contractno:
  2758. description: 现货合同编号
  2759. type: string
  2760. contracttype:
  2761. description: 现货合同类型 - 1:采购 -1:销售
  2762. type: integer
  2763. creatorid:
  2764. description: 申请人
  2765. type: integer
  2766. customeraccountid:
  2767. description: 客户资金账户ID
  2768. type: integer
  2769. customeruserid:
  2770. description: 客户ID
  2771. type: integer
  2772. details:
  2773. description: 明细
  2774. items:
  2775. $ref: '#/definitions/erms3.SoptContractDetail'
  2776. type: array
  2777. orimargin:
  2778. description: 初始保证金
  2779. type: number
  2780. remark:
  2781. description: 备注
  2782. type: string
  2783. signdate:
  2784. description: 签订日期
  2785. type: string
  2786. required:
  2787. - accountid
  2788. - areauserid
  2789. - contractno
  2790. - contracttype
  2791. - customeraccountid
  2792. - customeruserid
  2793. - details
  2794. - orimargin
  2795. - signdate
  2796. type: object
  2797. erms3.AddSpotContractApplyRsp:
  2798. properties:
  2799. contractno:
  2800. description: 现货合同编号
  2801. type: string
  2802. spotcontractid:
  2803. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2804. type: integer
  2805. required:
  2806. - contractno
  2807. type: object
  2808. erms3.AddUserInfoApplyReq:
  2809. properties:
  2810. accountid:
  2811. description: 交易系统帐号Id (加密存储)
  2812. type: integer
  2813. areacode:
  2814. description: 机构代码
  2815. type: string
  2816. areaid:
  2817. description: 机构Id
  2818. type: integer
  2819. attachment1:
  2820. description: 附件1
  2821. type: string
  2822. attachment2:
  2823. description: 附件2
  2824. type: string
  2825. attachment3:
  2826. description: 附件3
  2827. type: string
  2828. attachment4:
  2829. description: 附件4
  2830. type: string
  2831. attachment5:
  2832. description: 附件5
  2833. type: string
  2834. auditedby:
  2835. description: 审核人
  2836. type: string
  2837. auditime:
  2838. description: 审核时间
  2839. type: string
  2840. auditsrc:
  2841. description: 审核来源 - 1:管理端 2:终端
  2842. type: integer
  2843. bankaccount:
  2844. description: 银行帐号 (加密存储)
  2845. type: string
  2846. bankaccountname:
  2847. description: 收款人名称
  2848. type: string
  2849. bankcardbackphotourl:
  2850. description: 银行卡背面照地址
  2851. type: string
  2852. bankcardfrontphotourl:
  2853. description: 银行卡正面照地址
  2854. type: string
  2855. bankid:
  2856. description: 银行编码
  2857. type: string
  2858. bankname:
  2859. description: 银行名称
  2860. type: string
  2861. bankpictureurl:
  2862. description: 银行卡正面地址
  2863. type: string
  2864. biznature:
  2865. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2866. type: integer
  2867. bizscope:
  2868. description: 企业经营范围(企业)
  2869. type: string
  2870. biztype:
  2871. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2872. type: integer
  2873. brokerid:
  2874. description: 经纪人ID(加密存储)
  2875. type: string
  2876. cardaddress:
  2877. description: 证件地址 (加密存储)
  2878. type: string
  2879. cardbackphotourl:
  2880. description: 背面证件照地址
  2881. type: string
  2882. cardfrontphotourl:
  2883. description: 正面证件照地址
  2884. type: string
  2885. cardnum:
  2886. description: 证件号码 (加密存储)
  2887. type: string
  2888. cardtype:
  2889. description: 证件类型
  2890. type: integer
  2891. cityid:
  2892. description: 市
  2893. type: integer
  2894. company:
  2895. description: 公司(个人)
  2896. type: string
  2897. contactcardbackphotourl:
  2898. description: 联系人证件背面图片地址
  2899. type: string
  2900. contactcardfrontphotourl:
  2901. description: 联系人证件正面图片地址
  2902. type: string
  2903. contactname:
  2904. description: 联系人
  2905. type: string
  2906. countryid:
  2907. description: 国家
  2908. type: integer
  2909. createtime:
  2910. description: 开户申请时间
  2911. type: string
  2912. cusbankid:
  2913. description: 签约类型
  2914. type: string
  2915. cusbankname:
  2916. description: 签约类型名称
  2917. type: string
  2918. customername:
  2919. description: 客户名称(企业名称)
  2920. type: string
  2921. districtid:
  2922. description: 地区
  2923. type: integer
  2924. email:
  2925. description: Email地址(加密存储)
  2926. type: string
  2927. halfbodyphotourl:
  2928. description: 半身照地址
  2929. type: string
  2930. headurl:
  2931. description: 头像地址
  2932. type: string
  2933. ipaddress:
  2934. description: IP地址
  2935. type: string
  2936. isvalidate:
  2937. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2938. type: string
  2939. legalcardbackphotourl:
  2940. description: 法人身份证背面照地址
  2941. type: string
  2942. legalcardfrontphotourl:
  2943. description: 法人身份证正面照地址
  2944. type: string
  2945. legalpersonname:
  2946. description: 法人姓名(企业)
  2947. type: string
  2948. logincode:
  2949. description: 登录帐号 (加密存储)
  2950. type: string
  2951. memberareaid:
  2952. description: 所属会员ID
  2953. type: integer
  2954. mobile2:
  2955. description: 手机号码[明文-尚志]
  2956. type: string
  2957. mobilephone:
  2958. description: 手机号码 (加密存储)
  2959. type: string
  2960. modifiedby:
  2961. description: 修改人帐号
  2962. type: integer
  2963. modifiedtime:
  2964. description: 修改时间
  2965. type: string
  2966. nickname:
  2967. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2968. type: string
  2969. openmode:
  2970. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2971. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2972. type: integer
  2973. otherurl:
  2974. description: 其它图片地址[使用分号分隔]
  2975. type: string
  2976. postalcode:
  2977. description: 邮政编码
  2978. type: string
  2979. provinceid:
  2980. description: 省
  2981. type: integer
  2982. proxystatementurl:
  2983. description: 授权委托书
  2984. type: string
  2985. qq:
  2986. description: QQ(加密存储
  2987. type: string
  2988. referral:
  2989. description: 推荐人编码
  2990. type: string
  2991. remark:
  2992. description: 备注
  2993. type: string
  2994. removebeforestatus:
  2995. description: REMOVEBEFORESTATUS
  2996. type: integer
  2997. sex:
  2998. description: 性别 - 0:女 1:男
  2999. type: integer
  3000. signedstatus:
  3001. description: 账户一号签签约状态
  3002. type: integer
  3003. signpdfurl:
  3004. description: 签约pdf文件
  3005. type: string
  3006. subbranch:
  3007. description: 开户支行
  3008. type: string
  3009. taxpayernum:
  3010. description: 纳税人识别号
  3011. type: string
  3012. telphone:
  3013. description: 联系电话(加密存储)
  3014. type: string
  3015. userid:
  3016. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3017. type: integer
  3018. userinfotype:
  3019. description: 用户信息类型 - 1:个人 2:企业
  3020. type: integer
  3021. username:
  3022. description: 用户姓名
  3023. type: string
  3024. userstate:
  3025. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3026. type: integer
  3027. usertype:
  3028. description: 用户类型 - 1:投资者 2:机构
  3029. type: integer
  3030. videourl:
  3031. description: 视频地址
  3032. type: string
  3033. wechat:
  3034. description: 微信号 (加密存储)
  3035. type: string
  3036. required:
  3037. - userid
  3038. type: object
  3039. erms3.CustomerInfo:
  3040. properties:
  3041. accountids:
  3042. description: 资金账户ID列表
  3043. items:
  3044. type: integer
  3045. type: array
  3046. customername:
  3047. description: 名称(企业名称)
  3048. type: string
  3049. mobile:
  3050. description: 手机号码
  3051. type: string
  3052. userid:
  3053. description: 用户ID
  3054. type: integer
  3055. required:
  3056. - userid
  3057. type: object
  3058. erms3.ModifyUserInfoApplyReq:
  3059. properties:
  3060. accountid:
  3061. description: 交易系统帐号Id (加密存储)
  3062. type: integer
  3063. areacode:
  3064. description: 机构代码
  3065. type: string
  3066. areaid:
  3067. description: 机构Id
  3068. type: integer
  3069. attachment1:
  3070. description: 附件1
  3071. type: string
  3072. attachment2:
  3073. description: 附件2
  3074. type: string
  3075. attachment3:
  3076. description: 附件3
  3077. type: string
  3078. attachment4:
  3079. description: 附件4
  3080. type: string
  3081. attachment5:
  3082. description: 附件5
  3083. type: string
  3084. auditedby:
  3085. description: 审核人
  3086. type: string
  3087. auditime:
  3088. description: 审核时间
  3089. type: string
  3090. auditsrc:
  3091. description: 审核来源 - 1:管理端 2:终端
  3092. type: integer
  3093. bankaccount:
  3094. description: 银行帐号 (加密存储)
  3095. type: string
  3096. bankaccountname:
  3097. description: 收款人名称
  3098. type: string
  3099. bankcardbackphotourl:
  3100. description: 银行卡背面照地址
  3101. type: string
  3102. bankcardfrontphotourl:
  3103. description: 银行卡正面照地址
  3104. type: string
  3105. bankid:
  3106. description: 银行编码
  3107. type: string
  3108. bankname:
  3109. description: 银行名称
  3110. type: string
  3111. bankpictureurl:
  3112. description: 银行卡正面地址
  3113. type: string
  3114. biznature:
  3115. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3116. type: integer
  3117. bizscope:
  3118. description: 企业经营范围(企业)
  3119. type: string
  3120. biztype:
  3121. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3122. type: integer
  3123. brokerid:
  3124. description: 经纪人ID(加密存储)
  3125. type: string
  3126. cardaddress:
  3127. description: 证件地址 (加密存储)
  3128. type: string
  3129. cardbackphotourl:
  3130. description: 背面证件照地址
  3131. type: string
  3132. cardfrontphotourl:
  3133. description: 正面证件照地址
  3134. type: string
  3135. cardnum:
  3136. description: 证件号码 (加密存储)
  3137. type: string
  3138. cardtype:
  3139. description: 证件类型
  3140. type: integer
  3141. cityid:
  3142. description: 市
  3143. type: integer
  3144. company:
  3145. description: 公司(个人)
  3146. type: string
  3147. contactcardbackphotourl:
  3148. description: 联系人证件背面图片地址
  3149. type: string
  3150. contactcardfrontphotourl:
  3151. description: 联系人证件正面图片地址
  3152. type: string
  3153. contactname:
  3154. description: 联系人
  3155. type: string
  3156. countryid:
  3157. description: 国家
  3158. type: integer
  3159. createtime:
  3160. description: 开户申请时间
  3161. type: string
  3162. cusbankid:
  3163. description: 签约类型
  3164. type: string
  3165. cusbankname:
  3166. description: 签约类型名称
  3167. type: string
  3168. customername:
  3169. description: 客户名称(企业名称)
  3170. type: string
  3171. districtid:
  3172. description: 地区
  3173. type: integer
  3174. email:
  3175. description: Email地址(加密存储)
  3176. type: string
  3177. halfbodyphotourl:
  3178. description: 半身照地址
  3179. type: string
  3180. headurl:
  3181. description: 头像地址
  3182. type: string
  3183. ipaddress:
  3184. description: IP地址
  3185. type: string
  3186. isvalidate:
  3187. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3188. type: string
  3189. legalcardbackphotourl:
  3190. description: 法人身份证背面照地址
  3191. type: string
  3192. legalcardfrontphotourl:
  3193. description: 法人身份证正面照地址
  3194. type: string
  3195. legalpersonname:
  3196. description: 法人姓名(企业)
  3197. type: string
  3198. logincode:
  3199. description: 登录帐号 (加密存储)
  3200. type: string
  3201. memberareaid:
  3202. description: 所属会员ID
  3203. type: integer
  3204. mobile2:
  3205. description: 手机号码[明文-尚志]
  3206. type: string
  3207. mobilephone:
  3208. description: 手机号码 (加密存储)
  3209. type: string
  3210. modifiedby:
  3211. description: 修改人帐号
  3212. type: integer
  3213. modifiedtime:
  3214. description: 修改时间
  3215. type: string
  3216. nickname:
  3217. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3218. type: string
  3219. openmode:
  3220. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3221. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3222. type: integer
  3223. otherurl:
  3224. description: 其它图片地址[使用分号分隔]
  3225. type: string
  3226. postalcode:
  3227. description: 邮政编码
  3228. type: string
  3229. provinceid:
  3230. description: 省
  3231. type: integer
  3232. proxystatementurl:
  3233. description: 授权委托书
  3234. type: string
  3235. qq:
  3236. description: QQ(加密存储
  3237. type: string
  3238. referral:
  3239. description: 推荐人编码
  3240. type: string
  3241. remark:
  3242. description: 备注
  3243. type: string
  3244. removebeforestatus:
  3245. description: REMOVEBEFORESTATUS
  3246. type: integer
  3247. sex:
  3248. description: 性别 - 0:女 1:男
  3249. type: integer
  3250. signedstatus:
  3251. description: 账户一号签签约状态
  3252. type: integer
  3253. signpdfurl:
  3254. description: 签约pdf文件
  3255. type: string
  3256. subbranch:
  3257. description: 开户支行
  3258. type: string
  3259. taxpayernum:
  3260. description: 纳税人识别号
  3261. type: string
  3262. telphone:
  3263. description: 联系电话(加密存储)
  3264. type: string
  3265. userid:
  3266. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3267. type: integer
  3268. userinfotype:
  3269. description: 用户信息类型 - 1:个人 2:企业
  3270. type: integer
  3271. username:
  3272. description: 用户姓名
  3273. type: string
  3274. userstate:
  3275. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3276. type: integer
  3277. usertype:
  3278. description: 用户类型 - 1:投资者 2:机构
  3279. type: integer
  3280. videourl:
  3281. description: 视频地址
  3282. type: string
  3283. wechat:
  3284. description: 微信号 (加密存储)
  3285. type: string
  3286. required:
  3287. - userid
  3288. type: object
  3289. erms3.QryAuditContractRsp:
  3290. properties:
  3291. accountid:
  3292. description: 交易员ID
  3293. type: string
  3294. applystatus:
  3295. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3296. type: integer
  3297. curdeliveryqty:
  3298. description: 未交收量
  3299. type: integer
  3300. customername:
  3301. description: 采购方ID
  3302. type: string
  3303. deliverygoodsid:
  3304. description: 品种ID
  3305. type: string
  3306. deliveryqty:
  3307. description: 交收量
  3308. type: integer
  3309. enumdicname:
  3310. description: 单位名称
  3311. type: string
  3312. matchaccountid:
  3313. description: 业务员ID
  3314. type: string
  3315. matchcustomername:
  3316. description: 销售方ID
  3317. type: string
  3318. pricedqty:
  3319. description: 定价量
  3320. type: number
  3321. signdate:
  3322. description: 签订日期
  3323. type: string
  3324. spotcontractid:
  3325. description: 合同ID
  3326. type: string
  3327. totaldqty:
  3328. description: 合同量
  3329. type: number
  3330. unpricedqty:
  3331. description: 未定价量
  3332. type: number
  3333. wrstandardname:
  3334. description: 商品名称
  3335. type: string
  3336. required:
  3337. - matchcustomername
  3338. - spotcontractid
  3339. type: object
  3340. erms3.QryPendingBizRsp:
  3341. properties:
  3342. accountid:
  3343. description: 现货账户
  3344. type: string
  3345. areaname:
  3346. description: 所属部门
  3347. type: string
  3348. bizid:
  3349. description: 业务ID
  3350. type: string
  3351. bizname:
  3352. description: 业务名称
  3353. type: string
  3354. status:
  3355. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3356. type: integer
  3357. type:
  3358. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3359. type: integer
  3360. type: object
  3361. erms3.QueryBusinessInfoRsp:
  3362. properties:
  3363. businessid:
  3364. description: 业务ID.
  3365. type: integer
  3366. buyamount:
  3367. description: 采购额.
  3368. type: number
  3369. buyqty:
  3370. description: 采购量.
  3371. type: string
  3372. futurepl:
  3373. description: 期货盈亏.
  3374. type: number
  3375. futureqty:
  3376. description: 期货敞口.
  3377. type: string
  3378. goodsid:
  3379. description: 商品名称/商品代码.
  3380. type: string
  3381. hedgingqty:
  3382. description: 套保量.
  3383. type: string
  3384. sellamount:
  3385. description: 销售额.
  3386. type: number
  3387. sellqty:
  3388. description: 销售量.
  3389. type: string
  3390. spotmarketvalue:
  3391. description: 现货市值.
  3392. type: number
  3393. spotpl:
  3394. description: 浮动权益.
  3395. type: number
  3396. spotqty:
  3397. description: 现货量.
  3398. type: string
  3399. statu:
  3400. description: 状态,0-未结束 1-已结束.
  3401. type: integer
  3402. totalpl:
  3403. description: 总盈亏.
  3404. type: number
  3405. totalqty:
  3406. description: 总敞口.
  3407. type: string
  3408. type:
  3409. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3410. type: integer
  3411. type: object
  3412. erms3.QuerySpotContractAppleFormRsp:
  3413. properties:
  3414. goodses:
  3415. description: 合约列表
  3416. items:
  3417. $ref: '#/definitions/models.GoodsIDAndName'
  3418. type: array
  3419. oppositeusers:
  3420. description: 对方账号列表
  3421. items:
  3422. $ref: '#/definitions/erms3.CustomerInfo'
  3423. type: array
  3424. ouruser:
  3425. $ref: '#/definitions/erms3.CustomerInfo'
  3426. description: 我方账号
  3427. warehouseinfos:
  3428. description: 仓库信息列表
  3429. items:
  3430. $ref: '#/definitions/models.Warehouseinfo'
  3431. type: array
  3432. wrstandards:
  3433. description: 仓单标准列表
  3434. items:
  3435. $ref: '#/definitions/models.WRStandardInfo'
  3436. type: array
  3437. type: object
  3438. erms3.QuerySpotContractInfoRsp:
  3439. properties:
  3440. accountid:
  3441. description: 表示交易员ID.
  3442. type: integer
  3443. curdeliveryqty:
  3444. description: 表示未交收量.
  3445. type: number
  3446. customername:
  3447. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3448. type: string
  3449. deliverygoodsid:
  3450. description: 表示品种ID.
  3451. type: string
  3452. deliveryqty:
  3453. description: 表示交收量.
  3454. type: number
  3455. matchaccountid:
  3456. description: 表示业务员ID.
  3457. type: integer
  3458. matchcustomername:
  3459. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3460. type: string
  3461. priceqty:
  3462. description: 表示定价量.
  3463. type: number
  3464. relatedbizid:
  3465. description: 表示业务ID.
  3466. type: string
  3467. signdate:
  3468. description: 表示签订日期.
  3469. type: string
  3470. spotcontractid:
  3471. description: 合同ID
  3472. type: string
  3473. status:
  3474. description: 表示状态,0-履约中 1-已完成.
  3475. type: integer
  3476. totalqty:
  3477. description: 表示合同量.
  3478. type: number
  3479. unpricedqty:
  3480. description: 表示未定价量.
  3481. type: number
  3482. wrstandardname:
  3483. description: 表示商品ID.
  3484. type: string
  3485. type: object
  3486. erms3.QueryUserInfoAppliesRsp:
  3487. properties:
  3488. biznature:
  3489. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3490. type: integer
  3491. contactname:
  3492. description: 联系人
  3493. type: string
  3494. createtime:
  3495. description: 开户申请时间
  3496. type: string
  3497. userid:
  3498. description: 用户ID(自增ID)
  3499. type: integer
  3500. userinfotype:
  3501. description: 用户信息类型 - 1:个人 2:企业
  3502. type: integer
  3503. username:
  3504. description: 用户姓名
  3505. type: string
  3506. userstate:
  3507. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3508. type: integer
  3509. required:
  3510. - userid
  3511. type: object
  3512. erms3.QueryUserInfosRsp:
  3513. properties:
  3514. biznature:
  3515. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3516. type: integer
  3517. contactname:
  3518. description: 联系人
  3519. type: string
  3520. customername:
  3521. description: 客户名称(企业名称)
  3522. type: string
  3523. userid:
  3524. description: 用户ID
  3525. type: integer
  3526. userinfotype:
  3527. description: 用户信息类型 - 1:个人 2:企业
  3528. type: integer
  3529. userstatus:
  3530. description: 用户状态 - 1:正常 2:注销
  3531. type: integer
  3532. required:
  3533. - userid
  3534. type: object
  3535. erms3.SoptContractDetail:
  3536. properties:
  3537. deliverygoodsdesc:
  3538. description: 现货品种说明
  3539. type: string
  3540. deliverygoodsid:
  3541. description: 现货品种ID
  3542. type: integer
  3543. deliverygoodsname:
  3544. description: 现货品种名称
  3545. type: string
  3546. pointdesc:
  3547. description: 点价描述
  3548. type: string
  3549. producttype:
  3550. description: 产品类型 1:标准仓单 2:等标 3:非标
  3551. type: integer
  3552. producttypename:
  3553. description: 产品类型名称
  3554. type: string
  3555. spotPointOrderVoList:
  3556. description: 点价列表
  3557. items:
  3558. $ref: '#/definitions/erms3.SpotPointOrder'
  3559. type: array
  3560. spotPriceOrderList:
  3561. description: 定价列表
  3562. items:
  3563. $ref: '#/definitions/erms3.SpotPriceOrder'
  3564. type: array
  3565. unitname:
  3566. description: 单位名称
  3567. type: string
  3568. warehouseid:
  3569. description: 仓库ID
  3570. type: integer
  3571. warehousename:
  3572. description: 仓库名称
  3573. type: string
  3574. wrstandardid:
  3575. description: 交易标的ID
  3576. type: integer
  3577. wrstandardname:
  3578. description: 交易标的名称
  3579. type: string
  3580. required:
  3581. - deliverygoodsid
  3582. - producttype
  3583. - unitname
  3584. - warehouseid
  3585. - wrstandardid
  3586. - wrstandardname
  3587. type: object
  3588. erms3.SpotPointOrder:
  3589. properties:
  3590. basic:
  3591. description: 基差
  3592. type: number
  3593. deliveryenddate:
  3594. description: 交收结束日期
  3595. type: string
  3596. deliverystartdate:
  3597. description: 交收开始日期
  3598. type: string
  3599. enddate:
  3600. description: 点价结束日期
  3601. type: string
  3602. goodsid:
  3603. description: 商品ID
  3604. type: integer
  3605. goodsname:
  3606. description: 商品名称
  3607. type: string
  3608. qty:
  3609. description: 数量
  3610. type: number
  3611. startdate:
  3612. description: 点价开始日期
  3613. type: string
  3614. required:
  3615. - basic
  3616. - goodsid
  3617. - qty
  3618. type: object
  3619. erms3.SpotPriceOrder:
  3620. properties:
  3621. amount:
  3622. description: 金额
  3623. type: number
  3624. deliveryenddate:
  3625. description: 交收结束日期
  3626. type: string
  3627. deliverystartdate:
  3628. description: 交收开始日期
  3629. type: string
  3630. price:
  3631. description: 价格
  3632. type: number
  3633. qty:
  3634. description: 数量
  3635. type: number
  3636. required:
  3637. - amount
  3638. - price
  3639. - qty
  3640. type: object
  3641. hsby.GetHsbyMyCountRsp:
  3642. properties:
  3643. myCouponCount:
  3644. description: 我的优惠卷数量
  3645. type: integer
  3646. myOrderDetailListingCount:
  3647. description: 我的订单求购中数量
  3648. type: integer
  3649. myOrderDetailPreCount:
  3650. description: 我的订单抢购中数量
  3651. type: integer
  3652. myPackageUnReceiveCount:
  3653. description: 我的包裹待收货数量
  3654. type: integer
  3655. myPackageUnSendCount:
  3656. description: 我的包裹待发货数量
  3657. type: integer
  3658. myPayOrderCount:
  3659. description: 我的订单待付款数量
  3660. type: integer
  3661. type: object
  3662. hsby.QueryProvincesAndCitiesRsp:
  3663. properties:
  3664. cities:
  3665. description: 市
  3666. items:
  3667. $ref: '#/definitions/models.Division'
  3668. type: array
  3669. province:
  3670. $ref: '#/definitions/models.Division'
  3671. description: 省
  3672. type: object
  3673. models.Arearole:
  3674. properties:
  3675. createtime:
  3676. description: 创建时间
  3677. type: string
  3678. creatorid:
  3679. description: 创建人ID
  3680. type: integer
  3681. isreturnscore:
  3682. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3683. type: integer
  3684. modifierid:
  3685. description: 修改人ID
  3686. type: integer
  3687. modifytime:
  3688. description: 修改时间
  3689. type: string
  3690. orgtype:
  3691. description: 组织机构类型 1:机构 2:交易员
  3692. type: integer
  3693. outuserid:
  3694. description: 外部账户[场外期权做市商]
  3695. type: string
  3696. parentuserid:
  3697. description: 上级组织机构(组织机构)
  3698. type: integer
  3699. roletype:
  3700. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3701. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3702. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员
  3703. type: integer
  3704. rootuserid:
  3705. description: 顶级组织机构用户ID(组织机构)
  3706. type: integer
  3707. shoppassword:
  3708. description: 商城店铺登陆密码(商城店铺角色使用)
  3709. type: string
  3710. sublevelpath:
  3711. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3712. type: string
  3713. tradeaccountid:
  3714. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3715. type: integer
  3716. transurl:
  3717. description: 物流地址(物流机构)
  3718. type: string
  3719. userid:
  3720. description: 机构用户ID其他做市关系,都设置为 1
  3721. type: integer
  3722. required:
  3723. - roletype
  3724. - userid
  3725. type: object
  3726. models.Clientfixedadconfig:
  3727. properties:
  3728. adsort:
  3729. description: 排序
  3730. type: integer
  3731. adtype:
  3732. description: 广告位类型 - 1:新品抢购(HSBY)
  3733. type: integer
  3734. areauserid:
  3735. description: 所属机构ID
  3736. type: integer
  3737. createdate:
  3738. description: 创建时间
  3739. type: string
  3740. creatorid:
  3741. description: 创建人
  3742. type: integer
  3743. imagepath:
  3744. description: 图片
  3745. type: string
  3746. isshow:
  3747. description: 是否展示 - 0:不展示 1:展示
  3748. type: integer
  3749. modifierid:
  3750. description: 操作人
  3751. type: integer
  3752. recsize:
  3753. description: 推荐尺寸
  3754. type: string
  3755. title:
  3756. description: 标题
  3757. type: string
  3758. updatedate:
  3759. description: 更新时间
  3760. type: string
  3761. urlcontent:
  3762. description: 链接(地址或商品ID)
  3763. type: string
  3764. urltype:
  3765. description: 链接类型 - 1:直接地址 2:商品ID
  3766. type: integer
  3767. required:
  3768. - adsort
  3769. - adtype
  3770. type: object
  3771. models.Division:
  3772. properties:
  3773. autoid:
  3774. description: 自增ID
  3775. type: integer
  3776. divisioncode:
  3777. description: 行政代码
  3778. type: string
  3779. divisionlevel:
  3780. description: 行政级别
  3781. type: string
  3782. divisionname:
  3783. description: 行政名称
  3784. type: string
  3785. modifierid:
  3786. description: 修改人
  3787. type: integer
  3788. modifytime:
  3789. description: 修改时间
  3790. type: string
  3791. parentcode:
  3792. description: 上级行政代码
  3793. type: string
  3794. pathname:
  3795. description: 路径名称
  3796. type: string
  3797. postcode:
  3798. description: 邮政编码
  3799. type: string
  3800. separablename:
  3801. description: 可拆分的全称
  3802. type: string
  3803. shortcode:
  3804. description: 地区简码
  3805. type: string
  3806. required:
  3807. - autoid
  3808. - divisioncode
  3809. type: object
  3810. models.Enumdicitem:
  3811. properties:
  3812. autoid:
  3813. description: 自增ID
  3814. type: integer
  3815. bankmappedvalue:
  3816. description: 银行服务对应值
  3817. type: string
  3818. enumdiccode:
  3819. description: 所属枚举代码
  3820. type: string
  3821. enumdicid:
  3822. description: 所属枚举ID
  3823. type: integer
  3824. enumdicname:
  3825. description: 枚举项名称
  3826. type: string
  3827. enumitemname:
  3828. description: 枚举项值
  3829. type: integer
  3830. enumitemstatus:
  3831. description: 枚举项状态 - 1.启用 2.不启用
  3832. type: integer
  3833. enumitemvalue:
  3834. description: 通用值 - [币种通用简写]
  3835. type: string
  3836. param1:
  3837. description: 参数1[币种:币种小数位]
  3838. type: string
  3839. param2:
  3840. description: 参数1[币种:币种显示单位]
  3841. type: string
  3842. remark:
  3843. description: 备注
  3844. type: string
  3845. required:
  3846. - autoid
  3847. - enumdiccode
  3848. - enumdicid
  3849. - enumitemname
  3850. type: object
  3851. models.Ermcp3AreaSpot:
  3852. properties:
  3853. areauserid:
  3854. description: 所属机构
  3855. type: integer
  3856. decreaseqty:
  3857. description: 减少数量=-(销售已定价数量+采购计划数量)
  3858. type: number
  3859. deliverygoodscode:
  3860. description: 现货品种代码
  3861. type: string
  3862. deliverygoodsid:
  3863. description: 现货品种id
  3864. type: integer
  3865. deliverygoodsname:
  3866. description: 现货品种名称
  3867. type: string
  3868. enumdicname:
  3869. description: 单位名称
  3870. type: string
  3871. goodsunitid:
  3872. description: 现货品种单位id
  3873. type: integer
  3874. increaseqty:
  3875. description: 增加数量=销售计划数量+采购已定价数量
  3876. type: number
  3877. oritoalspotqty:
  3878. description: 昨日数量
  3879. type: number
  3880. totalspotqty:
  3881. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3882. type: number
  3883. updatetime:
  3884. description: 更新时间
  3885. type: string
  3886. type: object
  3887. models.Ermcp3AreaSpotDetail:
  3888. properties:
  3889. contracttype:
  3890. description: 合同类型 1-采购 -1-销售
  3891. type: integer
  3892. createtime:
  3893. description: 创建时间
  3894. type: string
  3895. deliverygoodscode:
  3896. description: 现货品种代码
  3897. type: string
  3898. deliverygoodsid:
  3899. description: 现货品种id
  3900. type: integer
  3901. deliverygoodsname:
  3902. description: 现货品种名称
  3903. type: string
  3904. enumdicname:
  3905. description: 现货商品单位名称
  3906. type: string
  3907. logtype:
  3908. description: 记录类型 1-套保 2-现货合同
  3909. type: integer
  3910. qty:
  3911. description: 数量
  3912. type: number
  3913. recordname:
  3914. description: 类型名称
  3915. type: string
  3916. relatedid:
  3917. description: 套保计划ID/现货合同ID
  3918. type: string
  3919. relatedno:
  3920. description: 编号
  3921. type: string
  3922. strtime:
  3923. description: 时间
  3924. type: string
  3925. type: object
  3926. models.Ermcp3AreaSpotPLReport:
  3927. properties:
  3928. accountid:
  3929. description: 期货账户ID (作废, 默认为0)
  3930. type: integer
  3931. accountname:
  3932. description: 机构名称
  3933. type: string
  3934. actualpl:
  3935. description: 现货损益
  3936. type: number
  3937. areauserid:
  3938. description: 所属机构\交易用户ID
  3939. type: integer
  3940. begindate:
  3941. description: 开始交易日
  3942. type: string
  3943. biztype:
  3944. description: 业务类型 - 1:套保 2:套利
  3945. type: integer
  3946. brandname:
  3947. description: 品牌名称
  3948. type: string
  3949. curamount:
  3950. description: 期末额
  3951. type: number
  3952. curaverageprice:
  3953. description: 期末均价
  3954. type: number
  3955. curbuyamount:
  3956. description: 期末采购总额
  3957. type: number
  3958. curbuyqty:
  3959. description: 期末采购总量
  3960. type: number
  3961. curmarketvalue:
  3962. description: 参考市值(期末市值)
  3963. type: number
  3964. curqty:
  3965. description: 期末量
  3966. type: number
  3967. currencyid:
  3968. description: 结算币种ID【原值】
  3969. type: integer
  3970. currencyname:
  3971. description: 币种名称
  3972. type: string
  3973. cursellamount:
  3974. description: 期末销售总额
  3975. type: number
  3976. cursellqty:
  3977. description: 期末销售总量
  3978. type: number
  3979. curspotprice:
  3980. description: 参考市价(最新价)
  3981. type: number
  3982. cycletime:
  3983. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3984. type: string
  3985. cycletype:
  3986. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3987. type: integer
  3988. deliverygoodscode:
  3989. description: 现货商品代码
  3990. type: string
  3991. deliverygoodsid:
  3992. description: 现货品种ID
  3993. type: integer
  3994. deliverygoodsname:
  3995. description: 现货商品名称
  3996. type: string
  3997. enddate:
  3998. description: 结束交易日
  3999. type: string
  4000. enumdicname:
  4001. description: 现货商品单位名称
  4002. type: string
  4003. floatpl:
  4004. description: 浮动损益
  4005. type: number
  4006. goodsunitid:
  4007. description: 现货商品单位id
  4008. type: integer
  4009. oriamount:
  4010. description: 期初额
  4011. type: number
  4012. oriaverageprice:
  4013. description: 期初均价
  4014. type: number
  4015. oribuyamount:
  4016. description: 期初采购总额
  4017. type: number
  4018. oribuyqty:
  4019. description: 期初采购总量
  4020. type: number
  4021. oriqty:
  4022. description: 期初量
  4023. type: number
  4024. orisellamount:
  4025. description: 期初销售总额
  4026. type: number
  4027. orisellqty:
  4028. description: 期初销售总量
  4029. type: number
  4030. reckondate:
  4031. description: 日照时期(yyyyMMdd)
  4032. type: string
  4033. spotgoodsbrandid:
  4034. description: 现货品牌ID
  4035. type: integer
  4036. todaybuyamount:
  4037. description: 今日采购额(今采购额)
  4038. type: number
  4039. todaybuyaverageprice:
  4040. description: 今日采购均价
  4041. type: number
  4042. todaybuyqty:
  4043. description: 今日采购量(今采购量)
  4044. type: number
  4045. todayinqty:
  4046. description: 今日入库量(今入库量)
  4047. type: number
  4048. todayoutqty:
  4049. description: 今日出库量(今出库量)
  4050. type: number
  4051. todaysellamount:
  4052. description: 今日销售额(今销售额)
  4053. type: number
  4054. todaysellaverageprice:
  4055. description: 今日销售均价
  4056. type: number
  4057. todaysellqty:
  4058. description: 今日销售量(今销售量)
  4059. type: number
  4060. unitid:
  4061. description: 品类单位id
  4062. type: integer
  4063. unitidname:
  4064. description: 品类单位名称
  4065. type: string
  4066. updatetime:
  4067. description: 更新时间
  4068. type: string
  4069. wrfactortypeid:
  4070. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4071. type: integer
  4072. wrstandardcode:
  4073. description: 品类代码
  4074. type: string
  4075. wrstandardid:
  4076. description: 现货品类ID
  4077. type: integer
  4078. wrstandardname:
  4079. description: 品类名称
  4080. type: string
  4081. type: object
  4082. models.Ermcp3AreaStock:
  4083. properties:
  4084. brandname:
  4085. description: 品牌名称
  4086. type: string
  4087. curstock:
  4088. description: 期末库存量(今日量)
  4089. type: number
  4090. deliverygoodscode:
  4091. description: 现货品种代码
  4092. type: string
  4093. deliverygoodsid:
  4094. description: 现货品种id
  4095. type: integer
  4096. deliverygoodsname:
  4097. description: 现货品种名称
  4098. type: string
  4099. enumdicname:
  4100. description: 单位名称
  4101. type: string
  4102. goodsunitid:
  4103. description: 现货商品单位id
  4104. type: integer
  4105. oristock:
  4106. description: 期初库存量(昨日量)
  4107. type: number
  4108. spotgoodsbrandid:
  4109. description: 现货品牌ID
  4110. type: integer
  4111. todaybuyinqty:
  4112. description: 今日采购入库量
  4113. type: number
  4114. todayproduceinqty:
  4115. description: 今日生产入库量
  4116. type: number
  4117. todayproduceoutqty:
  4118. description: 今日生产出库量
  4119. type: number
  4120. todayselloutqty:
  4121. description: 今日销售出库量
  4122. type: number
  4123. unitid:
  4124. description: 单位id
  4125. type: integer
  4126. updatetime:
  4127. description: 更新时间
  4128. type: string
  4129. userid:
  4130. description: 机构ID
  4131. type: integer
  4132. username:
  4133. description: 机构名称
  4134. type: string
  4135. warehousecode:
  4136. description: 仓库代码
  4137. type: string
  4138. warehouseinfoid:
  4139. description: 仓库ID
  4140. type: string
  4141. warehousename:
  4142. description: 仓库名称
  4143. type: string
  4144. warehousetype:
  4145. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4146. type: integer
  4147. wrstandardcode:
  4148. description: 品类代码
  4149. type: string
  4150. wrstandardid:
  4151. description: 品类ID
  4152. type: string
  4153. wrstandardname:
  4154. description: 品类名称
  4155. type: string
  4156. required:
  4157. - userid
  4158. type: object
  4159. models.Ermcp3AreaStockApply:
  4160. properties:
  4161. applyid:
  4162. description: 申请人
  4163. type: integer
  4164. applyname:
  4165. description: 申请人名称
  4166. type: string
  4167. applyremark:
  4168. description: 申请备注
  4169. type: string
  4170. applysrc:
  4171. description: 申请来源 - 1:管理端 2:终端
  4172. type: integer
  4173. applystatus:
  4174. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4175. type: integer
  4176. applytime:
  4177. description: 申请时间
  4178. type: string
  4179. auditid:
  4180. description: 审核人
  4181. type: integer
  4182. auditname:
  4183. description: 审核人名称
  4184. type: string
  4185. auditremark:
  4186. description: 审核备注
  4187. type: string
  4188. auditsrc:
  4189. description: 审核来源 - 1:管理端 2:终端
  4190. type: integer
  4191. audittime:
  4192. description: 审核时间
  4193. type: string
  4194. audittradedate:
  4195. description: 审核交易日(yyyyMMdd)
  4196. type: string
  4197. brandname:
  4198. description: 品牌名称
  4199. type: string
  4200. buynickname:
  4201. description: 采购方昵称
  4202. type: string
  4203. buyuserid:
  4204. description: 采购方userid
  4205. type: integer
  4206. buyusername:
  4207. description: 采购方名称
  4208. type: string
  4209. contractno:
  4210. description: 合同编号
  4211. type: string
  4212. contractqty:
  4213. description: 合同量
  4214. type: number
  4215. contracttype:
  4216. description: 现货合同类型 - 1:采购 -1:销售
  4217. type: integer
  4218. deliverygoodscode:
  4219. description: 现货品种代码
  4220. type: string
  4221. deliverygoodsid:
  4222. description: 现货品种id
  4223. type: integer
  4224. deliverygoodsname:
  4225. description: 现货品种名称
  4226. type: string
  4227. detailjson:
  4228. description: 明细数据
  4229. type: string
  4230. enumdicname:
  4231. description: 现货商品单位名称
  4232. type: string
  4233. inoutapplyid:
  4234. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4235. type: string
  4236. inouttype:
  4237. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4238. type: integer
  4239. pricetype:
  4240. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4241. type: integer
  4242. qty:
  4243. description: 数量
  4244. type: number
  4245. sellnickname:
  4246. description: 销售方昵称
  4247. type: string
  4248. selluserid:
  4249. description: 销售方userid
  4250. type: integer
  4251. sellusername:
  4252. description: 销售方名称
  4253. type: string
  4254. spotcontractid:
  4255. description: 关联现货合同ID
  4256. type: string
  4257. spotgoodsbrandid:
  4258. description: 现货品牌ID
  4259. type: integer
  4260. unitid:
  4261. description: 单位id
  4262. type: integer
  4263. userid:
  4264. description: 机构ID
  4265. type: integer
  4266. warehousecode:
  4267. description: 仓库代码
  4268. type: string
  4269. warehouseinfoid:
  4270. description: 现货仓库ID
  4271. type: string
  4272. warehousename:
  4273. description: 仓库名称
  4274. type: string
  4275. warehousetype:
  4276. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4277. type: integer
  4278. wrstandardcode:
  4279. description: 品类代码
  4280. type: string
  4281. wrstandardid:
  4282. description: 品类ID
  4283. type: integer
  4284. wrstandardname:
  4285. description: 品类名称
  4286. type: string
  4287. type: object
  4288. models.Ermcp3AreaStockApplySum:
  4289. properties:
  4290. brandname:
  4291. description: 品牌名称
  4292. type: string
  4293. inouttype:
  4294. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4295. type: integer
  4296. spotcontractid:
  4297. description: 关联现货合同ID
  4298. type: string
  4299. spotgoodsbrandid:
  4300. description: 品牌id
  4301. type: integer
  4302. totalqty:
  4303. description: 总数量
  4304. type: number
  4305. wrstandardid:
  4306. description: 品类id
  4307. type: integer
  4308. wrstandardname:
  4309. description: 品类名称
  4310. type: string
  4311. type: object
  4312. models.Ermcp3AreaStockReportEx:
  4313. properties:
  4314. begindate:
  4315. description: 开始交易日
  4316. type: string
  4317. brandname:
  4318. description: 品牌名称
  4319. type: string
  4320. curstock:
  4321. description: 期末库存量
  4322. type: number
  4323. cycletime:
  4324. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4325. type: string
  4326. cycletype:
  4327. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4328. type: integer
  4329. deliverygoodscode:
  4330. description: 现货品种代码
  4331. type: string
  4332. deliverygoodsid:
  4333. description: 现货品种id
  4334. type: integer
  4335. deliverygoodsname:
  4336. description: 现货品种名称
  4337. type: string
  4338. diffqty:
  4339. description: 库存变化量 = 期末 - 期初
  4340. type: number
  4341. enddate:
  4342. description: 结束交易日
  4343. type: string
  4344. enumdicname:
  4345. description: 单位名称
  4346. type: string
  4347. goodsunitid:
  4348. description: 现货单位id
  4349. type: integer
  4350. oristock:
  4351. description: 期初库存量
  4352. type: number
  4353. reckondate:
  4354. description: 日照时期(yyyyMMdd)
  4355. type: string
  4356. spotgoodsbrandid:
  4357. description: 现货品牌ID
  4358. type: integer
  4359. todaybuyinqty:
  4360. description: 今采购入库量
  4361. type: number
  4362. todayproduceinqty:
  4363. description: 今内部入库量
  4364. type: number
  4365. todayproduceoutqty:
  4366. description: 今内部出库量
  4367. type: number
  4368. todayselloutqty:
  4369. description: 今销售出库量
  4370. type: number
  4371. unbuyinqty:
  4372. description: 采购未入库量(数据库未找到相关字段?)
  4373. type: number
  4374. unitid:
  4375. description: 品类单位id
  4376. type: integer
  4377. unselloutqty:
  4378. description: 销售未出库量(数据库未找到相关字段?)
  4379. type: number
  4380. updatetime:
  4381. description: 更新时间
  4382. type: string
  4383. userid:
  4384. description: 机构ID
  4385. type: integer
  4386. username:
  4387. description: 机构名称
  4388. type: string
  4389. warehousecode:
  4390. description: 仓库代码
  4391. type: string
  4392. warehouseinfoid:
  4393. description: 仓库ID
  4394. type: string
  4395. warehousename:
  4396. description: 仓库名称
  4397. type: string
  4398. warehousetype:
  4399. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4400. type: integer
  4401. wrstandardcode:
  4402. description: 品类代码
  4403. type: string
  4404. wrstandardid:
  4405. description: 品类ID
  4406. type: integer
  4407. wrstandardname:
  4408. description: 品类名称
  4409. type: string
  4410. type: object
  4411. models.Ermcp3ArealSumPL:
  4412. properties:
  4413. areauserid:
  4414. description: 所属机构\交易用户ID
  4415. type: integer
  4416. begindate:
  4417. description: 开始交易日
  4418. type: string
  4419. currencyid:
  4420. description: 结算币种ID
  4421. type: integer
  4422. currencyname:
  4423. description: 币种名称
  4424. type: string
  4425. cycletime:
  4426. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4427. type: string
  4428. cycletype:
  4429. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4430. type: integer
  4431. enddate:
  4432. description: 结束交易日
  4433. type: string
  4434. futureactualpl:
  4435. description: 期货损益
  4436. type: number
  4437. futurefloatpl:
  4438. description: 期货浮动损益
  4439. type: number
  4440. middlegoodsid:
  4441. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4442. type: integer
  4443. reckondate:
  4444. description: 日照时期(yyyyMMdd)
  4445. type: string
  4446. spotactualpl:
  4447. description: 现货损益
  4448. type: number
  4449. spotfloatpl:
  4450. description: 现货浮动损益
  4451. type: number
  4452. sumactualpl:
  4453. description: 实际损益 = (ActualPL + FutureActualPL)
  4454. type: number
  4455. sumpl:
  4456. description: 汇总损益
  4457. type: number
  4458. updatetime:
  4459. description: 更新时间
  4460. type: string
  4461. type: object
  4462. models.Ermcp3Brand:
  4463. properties:
  4464. areauserid:
  4465. description: 用户id
  4466. type: integer
  4467. brandid:
  4468. description: 品牌id
  4469. type: integer
  4470. brandname:
  4471. description: 品牌名称
  4472. type: string
  4473. deliverygoodsid:
  4474. description: 品种ID
  4475. type: integer
  4476. type: object
  4477. models.Ermcp3Contract:
  4478. properties:
  4479. accountid:
  4480. description: 期货账户id
  4481. type: string
  4482. amount:
  4483. description: 金额 [1:一口价、3:暂定价]
  4484. type: number
  4485. attachment:
  4486. description: 附件
  4487. type: string
  4488. auditremark:
  4489. description: 审核意见
  4490. type: string
  4491. audittime:
  4492. description: 审核时间
  4493. type: string
  4494. biztype:
  4495. description: 业务类型 1-套保 2-套利
  4496. type: integer
  4497. brandname:
  4498. description: 品牌名称
  4499. type: string
  4500. buynickname:
  4501. description: 销售方昵称
  4502. type: string
  4503. buyuserid:
  4504. description: 采购方ID
  4505. type: integer
  4506. buyusername:
  4507. description: 采购方名称
  4508. type: string
  4509. contracctstatus:
  4510. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4511. type: integer
  4512. contractmargin:
  4513. description: 合同保证金
  4514. type: number
  4515. contractno:
  4516. description: 现货合同编号
  4517. type: string
  4518. contracttype:
  4519. description: 现货合同类型 - 1:采购 -1:销售
  4520. type: integer
  4521. convertfactor:
  4522. description: 标仓系数(品类)
  4523. type: number
  4524. createtime:
  4525. description: 创建时间
  4526. type: string
  4527. currencyid:
  4528. description: 币种id
  4529. type: integer
  4530. currencyname:
  4531. description: 币种名称
  4532. type: string
  4533. deliveryenddate:
  4534. description: 交收期(结束)
  4535. type: string
  4536. deliverygoodscode:
  4537. description: 现货品种代码
  4538. type: string
  4539. deliverygoodsid:
  4540. description: 现货品种ID
  4541. type: integer
  4542. deliverygoodsname:
  4543. description: 现货品种名称
  4544. type: string
  4545. deliverystartdate:
  4546. description: 交收期(开始)
  4547. type: string
  4548. enddate:
  4549. description: 点价结束日期 [2:点价 3:暂定价]
  4550. type: string
  4551. enumdicname:
  4552. description: 单位名称
  4553. type: string
  4554. goodscode:
  4555. description: 点价合约代码
  4556. type: string
  4557. goodsid:
  4558. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4559. type: integer
  4560. goodsname:
  4561. description: 点价商品名称
  4562. type: string
  4563. margin:
  4564. description: 当前保证金
  4565. type: number
  4566. meruserid:
  4567. description: 跟单员id
  4568. type: integer
  4569. meruserlogincode:
  4570. description: 跟单员登录代码
  4571. type: string
  4572. price:
  4573. description: 价格\暂定价 [1:一口价、3:暂定价]
  4574. type: number
  4575. pricemove:
  4576. description: 升贴水 [2:点价 3:暂定价]
  4577. type: number
  4578. pricetype:
  4579. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4580. type: integer
  4581. producttype:
  4582. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4583. type: integer
  4584. qty:
  4585. description: 数量
  4586. type: number
  4587. remark:
  4588. description: 备注
  4589. type: string
  4590. saleuserid:
  4591. description: 业务员id
  4592. type: integer
  4593. saleuserlogincode:
  4594. description: 业务员登录代码
  4595. type: string
  4596. sellnickname:
  4597. description: 采购方昵称
  4598. type: string
  4599. selluserid:
  4600. description: 销售方ID
  4601. type: integer
  4602. sellusername:
  4603. description: 销售方名称
  4604. type: string
  4605. spotcontractid:
  4606. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4607. type: string
  4608. spotgoodsbrandid:
  4609. description: 现货品牌ID(DGFactoryItem表的ID)
  4610. type: integer
  4611. spotgoodsdesc:
  4612. description: 商品型号
  4613. type: string
  4614. startdate:
  4615. description: 点价开始日期 [2:点价 3:暂定价]
  4616. type: string
  4617. tradeuserid:
  4618. description: 交易员id
  4619. type: integer
  4620. tradeuserlogincode:
  4621. description: 交易员登录代码
  4622. type: string
  4623. tradeusername:
  4624. description: 交易员名称
  4625. type: string
  4626. unitid:
  4627. description: 单位id(取品类上的单位id)
  4628. type: integer
  4629. updatetime:
  4630. description: 更新时间
  4631. type: string
  4632. userid:
  4633. description: 所属机构ID
  4634. type: integer
  4635. wrstandardcode:
  4636. description: 品类代码
  4637. type: string
  4638. wrstandardid:
  4639. description: 品类ID
  4640. type: integer
  4641. wrstandardname:
  4642. description: 品类名称
  4643. type: string
  4644. type: object
  4645. models.Ermcp3ExposureContractDetail:
  4646. properties:
  4647. biztype:
  4648. description: 业务类型 1-套保 2-套利
  4649. type: integer
  4650. brandname:
  4651. description: 品牌名称
  4652. type: string
  4653. buyuserid:
  4654. description: 采购方id
  4655. type: integer
  4656. buyusername:
  4657. description: 采购方名称
  4658. type: string
  4659. contractno:
  4660. description: 合同编号
  4661. type: string
  4662. contracttype:
  4663. description: 现货合同类型 - 1:采购 -1:销售
  4664. type: integer
  4665. convertratio:
  4666. description: 折算系数(套保品种)
  4667. type: number
  4668. curqty:
  4669. description: 今定价量
  4670. type: number
  4671. deliverygoodscode:
  4672. description: 现货商品代码
  4673. type: string
  4674. deliverygoodsid:
  4675. description: 现货商品id
  4676. type: integer
  4677. deliverygoodsname:
  4678. description: 现货商品名称
  4679. type: string
  4680. diffqty:
  4681. description: 套保品种今变动量
  4682. type: number
  4683. enumdicname:
  4684. description: 单位名称
  4685. type: string
  4686. middlegoodscode:
  4687. description: 套保品种代码
  4688. type: string
  4689. middlegoodsid:
  4690. description: 套保品种id
  4691. type: integer
  4692. middlegoodsname:
  4693. description: 套保品种名称
  4694. type: string
  4695. needarbitrageratio:
  4696. description: 应套利比例
  4697. type: number
  4698. needhedgeratio:
  4699. description: 应套保比例
  4700. type: number
  4701. pricedqty:
  4702. description: 已定价量
  4703. type: number
  4704. qty:
  4705. description: 合同量
  4706. type: number
  4707. selluserid:
  4708. description: 销售方id
  4709. type: integer
  4710. sellusername:
  4711. description: 销售方名称
  4712. type: string
  4713. spotcontractid:
  4714. description: 合同id
  4715. type: string
  4716. tradedate:
  4717. description: 交易日
  4718. type: string
  4719. unitid:
  4720. description: 品类单位id
  4721. type: integer
  4722. userid:
  4723. description: 机构id
  4724. type: integer
  4725. wrstandardcode:
  4726. description: 品类代码
  4727. type: string
  4728. wrstandardid:
  4729. description: 品类id
  4730. type: integer
  4731. wrstandardname:
  4732. description: 品类名称
  4733. type: string
  4734. type: object
  4735. models.Ermcp3ExposureDetail:
  4736. properties:
  4737. areauserid:
  4738. description: 机构ID
  4739. type: integer
  4740. changeQty:
  4741. description: 套保变动量
  4742. type: number
  4743. contracttype:
  4744. description: 现货合同类型 - 1:采购 -1:销售
  4745. type: integer
  4746. convertfactor:
  4747. description: 标仓系数
  4748. type: number
  4749. convertratio:
  4750. description: 套保系数
  4751. type: number
  4752. createtime:
  4753. description: 时间
  4754. type: string
  4755. deliverygoodscode:
  4756. description: 现货品种代码
  4757. type: string
  4758. deliverygoodsid:
  4759. description: 现货品种id
  4760. type: integer
  4761. deliverygoodsname:
  4762. description: 现货品种名称
  4763. type: string
  4764. enumdicname:
  4765. description: 现货商品单位名称
  4766. type: string
  4767. logtype:
  4768. description: 类型 - 1:套保计划 2:现货合同
  4769. type: integer
  4770. mgunitid:
  4771. description: 套保品种单位id
  4772. type: integer
  4773. mgunitidname:
  4774. description: 套保品种单位名称
  4775. type: string
  4776. middlegoodsId:
  4777. description: 套保商品id
  4778. type: integer
  4779. middlegoodscode:
  4780. description: 套保商品代码
  4781. type: string
  4782. middlegoodsname:
  4783. description: 套保商品名称
  4784. type: string
  4785. qty:
  4786. description: 数量
  4787. type: number
  4788. relateNo:
  4789. description: 现货合同/套保计划编号
  4790. type: string
  4791. type: object
  4792. models.Ermcp3ExposureHedgeplanDetail:
  4793. properties:
  4794. biztype:
  4795. description: 业务类型 1-套保 2-套利
  4796. type: integer
  4797. changqty:
  4798. description: 应套保总量变化量
  4799. type: number
  4800. contracttype:
  4801. description: 计划类型 - 1:采购 -1:销售
  4802. type: integer
  4803. convertratio:
  4804. description: 折算系数(套保品种)
  4805. type: number
  4806. deliverygoodsid:
  4807. description: 现货商品id
  4808. type: integer
  4809. diffqty:
  4810. description: 套保品种今变动量
  4811. type: number
  4812. enumdicname:
  4813. description: 单位名称(品类)
  4814. type: string
  4815. hedgeplanid:
  4816. description: 套保计划id
  4817. type: string
  4818. hedgeplanno:
  4819. description: 套保计划编号
  4820. type: string
  4821. hedgeplanstatus:
  4822. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4823. type: integer
  4824. mgunitidname:
  4825. description: 单位名称(套保商品)
  4826. type: string
  4827. middlegoodscode:
  4828. description: 套保品种代码
  4829. type: string
  4830. middlegoodsid:
  4831. description: 套保品种id
  4832. type: integer
  4833. middlegoodsname:
  4834. description: 套保品种名称
  4835. type: string
  4836. needarbitrageratio:
  4837. description: 应套利比例
  4838. type: number
  4839. needhedgeratio:
  4840. description: 应套保比例
  4841. type: number
  4842. pricedqty:
  4843. description: 已定价量
  4844. type: number
  4845. qty:
  4846. description: 合同量
  4847. type: number
  4848. tradedate:
  4849. description: 交易日(登记日)
  4850. type: string
  4851. unitid:
  4852. description: 品类单位id
  4853. type: integer
  4854. userid:
  4855. description: 机构id
  4856. type: integer
  4857. wrstandardcode:
  4858. description: 品类代码
  4859. type: string
  4860. wrstandardid:
  4861. description: 品类id
  4862. type: integer
  4863. wrstandardname:
  4864. description: 品类名称
  4865. type: string
  4866. type: object
  4867. models.Ermcp3ExpourseReport:
  4868. properties:
  4869. accountid:
  4870. description: 期货账户ID (作废, 默认为0)
  4871. type: integer
  4872. accountname:
  4873. description: 机构名称
  4874. type: string
  4875. arbitrageqty:
  4876. description: 套利量
  4877. type: number
  4878. areauserid:
  4879. description: 所属机构\交易用户ID
  4880. type: integer
  4881. begindate:
  4882. description: 开始交易日
  4883. type: string
  4884. buyfutureqty:
  4885. description: 买入期货数量
  4886. type: number
  4887. buyplanqty:
  4888. description: 采购计划数量
  4889. type: number
  4890. buypricedqty:
  4891. description: 采购合同已定价数量
  4892. type: number
  4893. cycletime:
  4894. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4895. type: string
  4896. cycletype:
  4897. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4898. type: integer
  4899. diffexposure:
  4900. description: 变动量(套保敞口)
  4901. type: number
  4902. difffutuqty:
  4903. description: 变动量(期货)
  4904. type: number
  4905. diffhedgeqty:
  4906. description: 变动量(现货应套保总量)
  4907. type: number
  4908. diffmgqtya:
  4909. description: 套保变动量
  4910. type: number
  4911. diffmgqtyb:
  4912. description: 套利变动量
  4913. type: number
  4914. diffqty:
  4915. description: 变动量(总敞口)
  4916. type: number
  4917. diffspotqty:
  4918. description: 变动量(现货)
  4919. type: number
  4920. enddate:
  4921. description: 结束交易日
  4922. type: string
  4923. enumdicname:
  4924. description: 单位名称
  4925. type: string
  4926. hedgeqty:
  4927. description: 套保量
  4928. type: number
  4929. mgneedhedgeratio:
  4930. description: 套保比例(套保品的)
  4931. type: number
  4932. middlegoodsid:
  4933. description: 套保品种ID
  4934. type: integer
  4935. middlegoodsname:
  4936. description: 套保商品名称
  4937. type: string
  4938. middlgoodscode:
  4939. description: 套保商品代码
  4940. type: string
  4941. needarbitrageqty:
  4942. description: 应套利量
  4943. type: number
  4944. needarbitrageratio:
  4945. description: 套利比例(套保品的)
  4946. type: number
  4947. needhedgeexposoure:
  4948. description: 应套保敞口(套保敞口)
  4949. type: number
  4950. needhedgeqty:
  4951. description: 应套保量
  4952. type: number
  4953. needhedgeratio:
  4954. description: 应套保敞口比例
  4955. type: number
  4956. oriarbitrageqty:
  4957. description: 期初套利量
  4958. type: number
  4959. oribuyfutureqty:
  4960. description: 期初买入期货数量
  4961. type: number
  4962. oribuyplanqty:
  4963. description: 期初采购计划数量
  4964. type: number
  4965. oribuypricedqty:
  4966. description: 期初采购合同已定价数量
  4967. type: number
  4968. orihedgeqty:
  4969. description: 期初套保量
  4970. type: number
  4971. orineedarbitrageqty:
  4972. description: 期初应套利量
  4973. type: number
  4974. orineedhedgeexposoure:
  4975. description: 期初应套保敞口
  4976. type: number
  4977. orineedhedgeqty:
  4978. description: 期初应套保量
  4979. type: number
  4980. orisellfutureqty:
  4981. description: 期初卖出期货数量
  4982. type: number
  4983. orisellplanqty:
  4984. description: 期初销售计划数量
  4985. type: number
  4986. orisellpricedqty:
  4987. description: 期初销售合同已定价数量
  4988. type: number
  4989. oritotalexposure:
  4990. description: 期初实时总敞口
  4991. type: number
  4992. oritotalfutureqty:
  4993. description: 期初期货头寸总量
  4994. type: number
  4995. oritotalneedhedgeqty:
  4996. description: 期初应套保总量
  4997. type: number
  4998. oritotalspotqty:
  4999. description: 期初现货头寸总量
  5000. type: number
  5001. reckondate:
  5002. description: 日照时期(yyyyMMdd)
  5003. type: string
  5004. sellfutureqty:
  5005. description: 卖出期货数量
  5006. type: number
  5007. sellplanqty:
  5008. description: 销售计划数量
  5009. type: number
  5010. sellpricedqty:
  5011. description: 销售合同已定价数量
  5012. type: number
  5013. totalexposure:
  5014. description: 实时总敞口(总敞口)
  5015. type: number
  5016. totalfutureqty:
  5017. description: 期货头寸总量(期货总量)
  5018. type: number
  5019. totalhedgeratio:
  5020. description: 敞口比例
  5021. type: number
  5022. totalneedhedgeqty:
  5023. description: 应套保总量(现货应套保总量)
  5024. type: number
  5025. totalspotqty:
  5026. description: 现货头寸总量
  5027. type: number
  5028. unitid:
  5029. description: 单位id
  5030. type: integer
  5031. updatetime:
  5032. description: 更新时间
  5033. type: string
  5034. type: object
  5035. models.Ermcp3FinanceReport:
  5036. properties:
  5037. areauserid:
  5038. description: 所属机构\交易用户ID
  5039. type: integer
  5040. begindate:
  5041. description: 开始交易日
  5042. type: string
  5043. biztype:
  5044. description: 业务类型 - 1:套保 2:套利
  5045. type: integer
  5046. brandname:
  5047. description: 品牌名称
  5048. type: string
  5049. buypreinvoicedamount:
  5050. description: 采购预收票额(预收票额)
  5051. type: number
  5052. buyprepaidamount:
  5053. description: 采购预付款额(预付货款额)
  5054. type: number
  5055. buytodayinvoiceamount:
  5056. description: 采购今收票额(今收票额)
  5057. type: number
  5058. buytodayrefundamount:
  5059. description: 采购今收退款额(今收退款额)
  5060. type: number
  5061. buytodaysettleamount:
  5062. description: 采购今付款额(今付货款额)
  5063. type: number
  5064. buyuninvoicedamount:
  5065. description: 采购应收票额(应收票额)
  5066. type: number
  5067. buyunpaidamount:
  5068. description: 采购应付款额(应付货款额)
  5069. type: number
  5070. currencyid:
  5071. description: 结算币种ID
  5072. type: integer
  5073. currencyname:
  5074. description: 币种名称
  5075. type: string
  5076. cycletime:
  5077. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5078. type: string
  5079. cycletype:
  5080. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5081. type: integer
  5082. deliverygoodscode:
  5083. description: 现货品种代码
  5084. type: string
  5085. deliverygoodsid:
  5086. description: 现货品种ID
  5087. type: integer
  5088. deliverygoodsname:
  5089. description: 现货品种名称
  5090. type: string
  5091. enddate:
  5092. description: 结束交易日
  5093. type: string
  5094. reckondate:
  5095. description: 日照时期(yyyyMMdd)
  5096. type: string
  5097. sellpreinvoicedamount:
  5098. description: 销售预开票额(预开票额)
  5099. type: number
  5100. sellprepaidamount:
  5101. description: 销售预收款额(预收货款额)
  5102. type: number
  5103. selltodayinvoiceamount:
  5104. description: 销售今开票额(今开票额)
  5105. type: number
  5106. selltodayrefundamount:
  5107. description: 销售今付退款额(今付退款额)
  5108. type: number
  5109. selltodaysettleamount:
  5110. description: 销售今收款额(今收货款额)
  5111. type: number
  5112. selluninvoicedamount:
  5113. description: 销售应开票额(应开票额)
  5114. type: number
  5115. sellunpaidamount:
  5116. description: 销售应收款额(应收货款额)
  5117. type: number
  5118. spotgoodsbrandid:
  5119. description: 现货品牌ID
  5120. type: integer
  5121. todaypaysum:
  5122. description: 今付款合计
  5123. type: number
  5124. todayreceivesum:
  5125. description: 今收款合计
  5126. type: number
  5127. updatetime:
  5128. description: 更新时间
  5129. type: string
  5130. wrfactortypeid:
  5131. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5132. type: integer
  5133. wrstandardcode:
  5134. description: 品类代码
  5135. type: string
  5136. wrstandardid:
  5137. description: 现货商品ID
  5138. type: integer
  5139. wrstandardname:
  5140. description: 品类名称
  5141. type: string
  5142. type: object
  5143. models.Ermcp3Goods:
  5144. properties:
  5145. agreeunit:
  5146. description: 合约单位(合约乘数)
  5147. type: number
  5148. enumdicname:
  5149. description: 单位名称
  5150. type: string
  5151. exexchangecode:
  5152. description: 交易所代码
  5153. type: string
  5154. goodscode:
  5155. description: 期货商品代码
  5156. type: string
  5157. goodsid:
  5158. description: 期货商品id
  5159. type: integer
  5160. goodsname:
  5161. description: 期货商品名称
  5162. type: string
  5163. type: object
  5164. models.Ermcp3GoodsGroup:
  5165. properties:
  5166. agreeunit:
  5167. description: 合约单位
  5168. type: number
  5169. areauserid:
  5170. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5171. type: integer
  5172. canshort:
  5173. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5174. type: integer
  5175. closepricemode:
  5176. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5177. type: integer
  5178. createtime:
  5179. description: 创建时间
  5180. type: string
  5181. creatorid:
  5182. description: 创建人
  5183. type: integer
  5184. currencyid:
  5185. description: 报价货币ID
  5186. type: integer
  5187. decimalplace:
  5188. description: 报价小数位
  5189. type: integer
  5190. enumdicname:
  5191. description: 单位名称
  5192. type: string
  5193. excludecfg:
  5194. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5195. type: integer
  5196. exexchangeid:
  5197. description: 外部交易所ID[通道交易]
  5198. type: integer
  5199. goodsgroupid:
  5200. description: 商品组ID(自增ID)
  5201. type: integer
  5202. goodsgroupname:
  5203. description: 商品组名称
  5204. type: string
  5205. goodsgroupstatus:
  5206. description: 商品组状态 - 1:正常 2:注销
  5207. type: integer
  5208. goodunitid:
  5209. description: 报价单位ID
  5210. type: integer
  5211. groupcategroyid:
  5212. description: 品种分类ID
  5213. type: integer
  5214. innerdealmode:
  5215. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5216. type: integer
  5217. marketid:
  5218. description: 所属市场ID
  5219. type: integer
  5220. modifierid:
  5221. description: 修改人
  5222. type: integer
  5223. modifytime:
  5224. description: 修改时间
  5225. type: string
  5226. outerdealmode:
  5227. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5228. type: integer
  5229. outergroupcode:
  5230. description: 外部商品组代码[通道交易]
  5231. type: string
  5232. quoteminunit:
  5233. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5234. type: integer
  5235. quotesourcegroupid:
  5236. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5237. type: integer
  5238. syncgoodsqty:
  5239. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5240. type: integer
  5241. required:
  5242. - areauserid
  5243. type: object
  5244. models.Ermcp3GoodsGroupEx:
  5245. properties:
  5246. convertratio:
  5247. description: 折算系数(品种系数)
  5248. type: number
  5249. enumdicname:
  5250. description: 单位名称
  5251. type: string
  5252. exexchangecode:
  5253. description: 交易所代码
  5254. type: string
  5255. glist:
  5256. description: 合约列表
  5257. items:
  5258. $ref: '#/definitions/models.Ermcp3Goods'
  5259. type: array
  5260. goodsgroupid:
  5261. description: 商品组id
  5262. type: integer
  5263. goodsgroupname:
  5264. description: 商品组名称
  5265. type: string
  5266. goodsunitid:
  5267. description: 单位id
  5268. type: integer
  5269. middlegoodsid:
  5270. description: 套保商品id
  5271. type: integer
  5272. type: object
  5273. models.Ermcp3HedgePlan:
  5274. properties:
  5275. accountid:
  5276. description: 资金账号
  5277. type: integer
  5278. areauserid:
  5279. description: 用户ID
  5280. type: integer
  5281. audittime:
  5282. description: 审核时间
  5283. type: string
  5284. contracttype:
  5285. description: 计划类型 - 1:采购 -1:销售
  5286. type: integer
  5287. convertfactor:
  5288. description: 标仓系数
  5289. type: number
  5290. createtime:
  5291. description: 创建时间
  5292. type: string
  5293. currencyid:
  5294. description: 币种id
  5295. type: integer
  5296. currencyname:
  5297. description: 币种名称
  5298. type: string
  5299. deliverygoodscode:
  5300. description: 现货品种代码
  5301. type: string
  5302. deliverygoodsid:
  5303. description: 现货品种ID
  5304. type: integer
  5305. deliverygoodsname:
  5306. description: 现货品种名称
  5307. type: string
  5308. enumdicname:
  5309. description: 单位名称(现货商品)
  5310. type: string
  5311. hedgeplanid:
  5312. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5313. type: string
  5314. hedgeplanno:
  5315. description: 套保计划编号(名称)
  5316. type: string
  5317. hedgeplanstatus:
  5318. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5319. type: integer
  5320. planqty:
  5321. description: 计划数量
  5322. type: number
  5323. plantime:
  5324. description: 计划时间
  5325. type: string
  5326. producttype:
  5327. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5328. type: integer
  5329. remark:
  5330. description: 备注
  5331. type: string
  5332. spotgoodsdesc:
  5333. description: 商品型号
  5334. type: string
  5335. taaccountname:
  5336. description: 资金账号名称
  5337. type: string
  5338. tradeuserid:
  5339. description: 交易用户id
  5340. type: integer
  5341. tradeusername:
  5342. description: 交易用户名称
  5343. type: string
  5344. unitid:
  5345. description: 单位id(现货商品)
  5346. type: integer
  5347. updatetime:
  5348. description: 更新时间
  5349. type: string
  5350. wrstandardcode:
  5351. description: 品类代码
  5352. type: string
  5353. wrstandardid:
  5354. description: 品类id
  5355. type: integer
  5356. wrstandardname:
  5357. description: 品类名称
  5358. type: string
  5359. wrunitid:
  5360. description: 品类单位id
  5361. type: integer
  5362. wrunitidame:
  5363. description: 品类单位名称
  5364. type: string
  5365. type: object
  5366. models.Ermcp3MiddleGoodsDetail2:
  5367. properties:
  5368. convertratio:
  5369. description: 套保系数(折算系数)
  5370. type: number
  5371. gplist:
  5372. description: 关联商品组列表
  5373. items:
  5374. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  5375. type: array
  5376. mg:
  5377. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5378. description: 套保商品信息
  5379. type: object
  5380. models.Ermcp3MiddleGoodsDetailEx:
  5381. properties:
  5382. dglist:
  5383. description: 关联的现货品种列表
  5384. items:
  5385. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  5386. type: array
  5387. gplist:
  5388. description: 关联商品组列表
  5389. items:
  5390. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  5391. type: array
  5392. mg:
  5393. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5394. description: 套保商品信息
  5395. type: object
  5396. models.Ermcp3SellBuyContract:
  5397. properties:
  5398. accountid:
  5399. description: 期货账户id
  5400. type: string
  5401. accountname:
  5402. description: 账户名称
  5403. type: string
  5404. attachment:
  5405. description: 附件
  5406. type: string
  5407. audittime:
  5408. description: 审核时间
  5409. type: string
  5410. biztype:
  5411. description: 业务类型 1-套保 2-套利
  5412. type: integer
  5413. brandname:
  5414. description: 品牌名称
  5415. type: string
  5416. contracctstatus:
  5417. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5418. type: integer
  5419. contractmargin:
  5420. description: 合同保证金
  5421. type: number
  5422. contractno:
  5423. description: 合同编号
  5424. type: string
  5425. contracttype:
  5426. description: 合同类型 1-采购, -1-销售
  5427. type: integer
  5428. convertfactor:
  5429. description: 标仓系数(品类)
  5430. type: number
  5431. createtime:
  5432. description: 创建时间
  5433. type: string
  5434. currencyid:
  5435. description: 币种id
  5436. type: integer
  5437. currencyname:
  5438. description: 币种名称
  5439. type: string
  5440. daikaiamount:
  5441. description: 应收(开)票额
  5442. type: number
  5443. deliveryenddate:
  5444. description: 交割结束日
  5445. type: string
  5446. deliverygoodscode:
  5447. description: 现货品种代码
  5448. type: string
  5449. deliverygoodsid:
  5450. description: 现货商品ID
  5451. type: integer
  5452. deliverygoodsname:
  5453. description: 现货品种名称
  5454. type: string
  5455. deliverystartdate:
  5456. description: 交割开始日
  5457. type: string
  5458. enddate:
  5459. description: 点价结束日
  5460. type: string
  5461. enumdicname:
  5462. description: 单位名称
  5463. type: string
  5464. goodscode:
  5465. description: 点价商品代码
  5466. type: string
  5467. goodsid:
  5468. description: 点价商品ID
  5469. type: integer
  5470. goodsname:
  5471. description: 点价商品名称
  5472. type: string
  5473. invoiceamount:
  5474. description: 已开票额
  5475. type: number
  5476. loanamount:
  5477. description: 贷款总额=已定价额+调整金额
  5478. type: number
  5479. margin:
  5480. description: 保证金
  5481. type: number
  5482. meruserid:
  5483. description: 跟单员id
  5484. type: integer
  5485. meruserlogincode:
  5486. description: 跟单员登录代码
  5487. type: string
  5488. nickname:
  5489. description: 账户昵称
  5490. type: string
  5491. payamount:
  5492. description: 已收付额(收款或付款)
  5493. type: number
  5494. preinvoiceamount:
  5495. description: 预收(开)票额
  5496. type: number
  5497. prepayamount:
  5498. description: 预收付额
  5499. type: number
  5500. price:
  5501. description: 价格
  5502. type: number
  5503. pricedamount:
  5504. description: 已定价额
  5505. type: number
  5506. pricedavg:
  5507. description: 已点均价
  5508. type: number
  5509. pricedqty:
  5510. description: 已定价量
  5511. type: number
  5512. pricemove:
  5513. description: 升贴水
  5514. type: number
  5515. pricetype:
  5516. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5517. type: integer
  5518. producttype:
  5519. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5520. type: integer
  5521. qty:
  5522. description: 合同量
  5523. type: number
  5524. reckonadjustamount:
  5525. description: 调整金额
  5526. type: number
  5527. reckonedamount:
  5528. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5529. type: number
  5530. reckonotheramount:
  5531. description: 其它费用
  5532. type: number
  5533. reckonrealqty:
  5534. description: 已确定量
  5535. type: number
  5536. remark:
  5537. description: 备注
  5538. type: string
  5539. saleuserid:
  5540. description: 业务员id
  5541. type: integer
  5542. saleuserlogincode:
  5543. description: 业务员登录代码
  5544. type: string
  5545. spotcontractid:
  5546. description: 合同ID
  5547. type: string
  5548. spotgoodsbrandid:
  5549. description: 现货品牌ID(DGFactoryItem表的ID)
  5550. type: integer
  5551. spotgoodsdesc:
  5552. description: 商品型号(商品规格)
  5553. type: string
  5554. startdate:
  5555. description: 点价开始日
  5556. type: string
  5557. totalamount:
  5558. description: 合计总额
  5559. type: number
  5560. tradeuserid:
  5561. description: 交易员id
  5562. type: integer
  5563. tradeuserlogincode:
  5564. description: 交易员登录代码
  5565. type: string
  5566. tradeusername:
  5567. description: 交易员名称
  5568. type: string
  5569. unpayamount:
  5570. description: 应收付款额(应支付或应收款)
  5571. type: number
  5572. unpricedqty:
  5573. description: 未定价量
  5574. type: number
  5575. unsureqty:
  5576. description: 未确定量
  5577. type: number
  5578. userid:
  5579. description: 机构ID
  5580. type: integer
  5581. wrstandardcode:
  5582. description: 品类代码
  5583. type: string
  5584. wrstandardid:
  5585. description: 品类ID
  5586. type: integer
  5587. wrstandardname:
  5588. description: 品类名称
  5589. type: string
  5590. type: object
  5591. models.Ermcp3SpotGoodsPrice:
  5592. properties:
  5593. areauserid:
  5594. description: 所属机构id
  5595. type: integer
  5596. brandname:
  5597. description: 品牌名称
  5598. type: string
  5599. currencyid:
  5600. description: 报价货币ID
  5601. type: integer
  5602. currencyname:
  5603. description: 币种名称
  5604. type: string
  5605. deliverygoodscode:
  5606. description: 现货商品代码
  5607. type: string
  5608. deliverygoodsid:
  5609. description: 现货商品id
  5610. type: integer
  5611. deliverygoodsname:
  5612. description: 现货商品名称
  5613. type: string
  5614. enumdicname:
  5615. description: 现货商品单位名称
  5616. type: string
  5617. gbenumdicname:
  5618. description: 品类单位名称
  5619. type: string
  5620. gmunitid:
  5621. description: 品类单位id
  5622. type: integer
  5623. isvalid:
  5624. description: 是否有效 - 0:无效 1:有效
  5625. type: integer
  5626. operateid:
  5627. description: 最后操作人
  5628. type: integer
  5629. operatesrc:
  5630. description: 最后操作来源 - 1:管理端 2:终端
  5631. type: integer
  5632. operatetime:
  5633. description: 最后操作时间
  5634. type: string
  5635. operatorname:
  5636. description: 操作人名称
  5637. type: string
  5638. spotgoodsbrandid:
  5639. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5640. type: integer
  5641. spotgoodsprice:
  5642. description: 现货价格
  5643. type: number
  5644. tradedate:
  5645. description: 交易日(yyyyMMdd)
  5646. type: string
  5647. unitid:
  5648. description: 现货商品单位id
  5649. type: integer
  5650. wrstandardcode:
  5651. description: 品类代码
  5652. type: string
  5653. wrstandardid:
  5654. description: 现货品类ID(通用则为0)
  5655. type: integer
  5656. wrstandardname:
  5657. description: 品类名称
  5658. type: string
  5659. type: object
  5660. models.Ermcp3SpotGoodsPriceLog:
  5661. properties:
  5662. areauserid:
  5663. description: 所属机构id
  5664. type: integer
  5665. brandname:
  5666. description: 品牌名称
  5667. type: string
  5668. currencyid:
  5669. description: 报价货币ID
  5670. type: integer
  5671. deliverygoodscode:
  5672. description: 现货商品代码
  5673. type: string
  5674. deliverygoodsid:
  5675. description: 现货商品id
  5676. type: integer
  5677. deliverygoodsname:
  5678. description: 现货商品名称
  5679. type: string
  5680. enumdicname:
  5681. description: 现货商品单位名称
  5682. type: string
  5683. gbenumdicname:
  5684. description: 品类单位名称
  5685. type: string
  5686. gmunitid:
  5687. description: 品类单位id
  5688. type: integer
  5689. logid:
  5690. description: 日志id
  5691. type: integer
  5692. operateid:
  5693. description: 最后操作人
  5694. type: integer
  5695. operatesrc:
  5696. description: 最后操作来源 - 1:管理端 2:终端
  5697. type: integer
  5698. operatetime:
  5699. description: 最后操作时间
  5700. type: string
  5701. operatorname:
  5702. description: 操作人名称
  5703. type: string
  5704. spotgoodsbrandid:
  5705. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5706. type: integer
  5707. spotgoodsprice:
  5708. description: 现货价格
  5709. type: number
  5710. tradedate:
  5711. description: 交易日(yyyyMMdd)
  5712. type: string
  5713. unitid:
  5714. description: 现货商品单位id
  5715. type: integer
  5716. wrstandardcode:
  5717. description: 品类代码
  5718. type: string
  5719. wrstandardid:
  5720. description: 现货品类ID(通用则为0)
  5721. type: integer
  5722. wrstandardname:
  5723. description: 品类名称
  5724. type: string
  5725. type: object
  5726. models.Ermcp3Wrstandard:
  5727. properties:
  5728. areauserid:
  5729. description: 所属机构
  5730. type: integer
  5731. convertfactor:
  5732. description: 标仓系数
  5733. type: number
  5734. createtime:
  5735. description: 创建时间
  5736. type: string
  5737. creatorid:
  5738. description: 创建人
  5739. type: integer
  5740. deliverygoodsid:
  5741. description: 现货品种ID
  5742. type: integer
  5743. enumdicname:
  5744. description: 品类单位名称
  5745. type: string
  5746. isvalid:
  5747. description: 是否有效 0-无效(停用) 1-有效(正常)
  5748. type: integer
  5749. minivalue:
  5750. description: 最小变动值
  5751. type: integer
  5752. minivaluedp:
  5753. description: 最小变动值小数位
  5754. type: integer
  5755. realminivalue:
  5756. description: 实际最小变动值
  5757. type: integer
  5758. realminivaluedp:
  5759. description: 实际最小变动值小数位
  5760. type: integer
  5761. remark:
  5762. description: 备注
  5763. type: string
  5764. unitid:
  5765. description: 品类单位ID
  5766. type: integer
  5767. updatetime:
  5768. description: 更新时间
  5769. type: string
  5770. wrstandardcode:
  5771. description: 品类代码
  5772. type: string
  5773. wrstandardid:
  5774. description: 品类ID(SEQ_WRSTANDARD)
  5775. type: integer
  5776. wrstandardname:
  5777. description: 品类名称
  5778. type: string
  5779. type: object
  5780. models.ErmcpBizGroupEx:
  5781. properties:
  5782. acclist:
  5783. description: 账号列表
  5784. items:
  5785. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5786. type: array
  5787. bizgroupid:
  5788. description: 业务分组id
  5789. type: integer
  5790. biztype:
  5791. description: 业务类型 1-套保 2-套利
  5792. type: integer
  5793. wrlist:
  5794. description: 现货商品表
  5795. items:
  5796. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5797. type: array
  5798. type: object
  5799. models.ErmcpBizGroupSpotGoods:
  5800. properties:
  5801. areauserid:
  5802. description: 所属机构id
  5803. type: integer
  5804. bizgroupid:
  5805. description: 分组id
  5806. type: integer
  5807. biztype:
  5808. description: 业务类型 1-套保 2-套利
  5809. type: integer
  5810. deliverygoodscode:
  5811. description: 现货商品代码
  5812. type: string
  5813. deliverygoodsid:
  5814. description: 现货商品id
  5815. type: integer
  5816. deliverygoodsname:
  5817. description: 现货商品名称
  5818. type: string
  5819. unitid:
  5820. description: 现货商品单位id
  5821. type: integer
  5822. type: object
  5823. models.ErmcpBizGroupTaAccount:
  5824. properties:
  5825. accountid:
  5826. description: 账号id
  5827. type: integer
  5828. accountname:
  5829. description: 账号名称
  5830. type: string
  5831. areauserid:
  5832. description: 所属机构id
  5833. type: integer
  5834. bizgroupid:
  5835. description: 业务分组id
  5836. type: integer
  5837. ismain:
  5838. description: 是否主账号 1-是 0-否
  5839. type: integer
  5840. type: object
  5841. models.ErmcpDGFactoryItem:
  5842. properties:
  5843. areauserid:
  5844. description: 用户id
  5845. type: integer
  5846. deliverygoodsid:
  5847. description: 现货品种ID
  5848. type: integer
  5849. dgfactoryitemid:
  5850. description: 选择项ID(SEQ_DGFACTORYITEM)
  5851. type: integer
  5852. dgfactoryitemtypeid:
  5853. description: 要素项类型
  5854. type: integer
  5855. dgfactoryitemvalue:
  5856. description: 要素项值(类型为仓库时填写仓库名称)
  5857. type: string
  5858. isvalid:
  5859. description: 是否有效 - 0:无效 1:有效
  5860. type: integer
  5861. orderindex:
  5862. description: 顺序
  5863. type: integer
  5864. warehouseid:
  5865. description: 仓库ID(类型为仓库时填写)
  5866. type: integer
  5867. type: object
  5868. models.ErmcpDeliveryGoods:
  5869. properties:
  5870. agreeunit:
  5871. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5872. type: integer
  5873. areauserid:
  5874. description: 所属机构
  5875. type: integer
  5876. auditflag:
  5877. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5878. type: integer
  5879. categoryid:
  5880. description: 类别ID(SEQ_WRCATEGORY)
  5881. type: integer
  5882. deliverygoodscode:
  5883. description: 现货品种代码
  5884. type: string
  5885. deliverygoodsid:
  5886. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5887. type: integer
  5888. deliverygoodsname:
  5889. description: 现货品种名称
  5890. type: string
  5891. deliverygoodstype:
  5892. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5893. type: integer
  5894. dgstatus:
  5895. description: 品种状态 - 作废 - 0:未激活 1:正常
  5896. type: integer
  5897. enumdicname:
  5898. description: 现货品种单位名称
  5899. type: string
  5900. goodsunitid:
  5901. description: 现货品种单位ID
  5902. type: integer
  5903. isvalid:
  5904. description: 是否有效 - 0:无效 1:有效
  5905. type: integer
  5906. qtydecimalplace:
  5907. description: 成交量小数位
  5908. type: integer
  5909. remark:
  5910. description: 备注
  5911. type: string
  5912. standardqty:
  5913. description: 标准数量(库位数量) [标准品特有]
  5914. type: integer
  5915. standardqtyrange:
  5916. description: 标准数量偏差范围 [标准品特有]
  5917. type: integer
  5918. type: object
  5919. models.ErmcpDeliveryGoodsDetail2:
  5920. properties:
  5921. convertratio:
  5922. description: 套保系数(折算系数)
  5923. type: number
  5924. data:
  5925. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5926. description: 现货商品基本信息(交割品种)
  5927. gblist:
  5928. description: 品牌列表
  5929. items:
  5930. $ref: '#/definitions/models.Ermcp3Brand'
  5931. type: array
  5932. gmlist:
  5933. description: 品类列表(仓单标准)
  5934. items:
  5935. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5936. type: array
  5937. type: object
  5938. models.ErmcpDeliveryGoodsDetailEx:
  5939. properties:
  5940. data:
  5941. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5942. description: 现货商品基本信息(交割品种)
  5943. gblist:
  5944. description: 品牌列表
  5945. items:
  5946. $ref: '#/definitions/models.Ermcp3Brand'
  5947. type: array
  5948. gmlist:
  5949. description: 品类列表(仓单标准)
  5950. items:
  5951. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5952. type: array
  5953. mgList:
  5954. description: 套保列表
  5955. items:
  5956. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5957. type: array
  5958. type: object
  5959. models.ErmcpFuturesCompany:
  5960. properties:
  5961. brokerid:
  5962. description: 经纪公司代码
  5963. type: string
  5964. channeladdress:
  5965. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5966. type: string
  5967. channelid:
  5968. description: 对冲渠道ID
  5969. type: string
  5970. createtime:
  5971. description: 创建时间
  5972. type: string
  5973. creatorid:
  5974. description: 创建人
  5975. type: string
  5976. fcid:
  5977. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5978. type: integer
  5979. fcname:
  5980. description: 期货公司名称
  5981. type: string
  5982. isvalid:
  5983. description: 是否有效 - 0:无效 1:有效
  5984. type: integer
  5985. mhpaddress:
  5986. description: MHP服务地址(IP:Port)
  5987. type: string
  5988. riskrulegroupid:
  5989. description: 风控规则组ID
  5990. type: string
  5991. tradefeetmpid:
  5992. description: 手续费模板ID[TradeConfigTmpType为2]
  5993. type: string
  5994. trademargintmpid:
  5995. description: 保证金模板ID [TradeConfigTmpType为1]
  5996. type: string
  5997. traderatetmpid:
  5998. description: 汇率模板ID[TradeConfigTmpType为3]
  5999. type: string
  6000. updatetime:
  6001. description: 更新时间
  6002. type: string
  6003. updatorid:
  6004. description: 更新人
  6005. type: string
  6006. type: object
  6007. models.ErmcpGGConvertCfg:
  6008. properties:
  6009. convertratio:
  6010. description: 折算系数
  6011. type: number
  6012. destgoodsgroupid:
  6013. description: 目标品种ID
  6014. type: integer
  6015. dstcode:
  6016. description: 目录品种代码
  6017. type: string
  6018. dstexchangecode:
  6019. description: 目标期货交易所
  6020. type: string
  6021. dstname:
  6022. description: 目标品种名称
  6023. type: string
  6024. dstunitid:
  6025. description: 目标品种单位ID
  6026. type: integer
  6027. dstunitidname:
  6028. description: 目标品种单位名称
  6029. type: string
  6030. modifytime:
  6031. description: 修改时间
  6032. type: string
  6033. srccode:
  6034. description: 源品种代码
  6035. type: string
  6036. srcexchangecode:
  6037. description: 源期货交易所
  6038. type: string
  6039. srcgoodsgroupid:
  6040. description: 源品种ID
  6041. type: integer
  6042. srcname:
  6043. description: 源品种名称
  6044. type: string
  6045. srcunitid:
  6046. description: 源品种单位ID
  6047. type: integer
  6048. srcunitidname:
  6049. description: 源品种单位名称
  6050. type: string
  6051. type: object
  6052. models.ErmcpGoodsBrand:
  6053. properties:
  6054. areauserid:
  6055. description: 所属机构
  6056. type: integer
  6057. brandid:
  6058. description: BrandID(SEQ_SPOTGOODSBRAND)
  6059. type: integer
  6060. brandname:
  6061. description: 品牌名称
  6062. type: string
  6063. createtime:
  6064. description: 创建时间
  6065. type: string
  6066. creatorid:
  6067. description: 创建人
  6068. type: integer
  6069. creatorsrc:
  6070. description: 创建人来源 - 1:管理端 2:终端
  6071. type: integer
  6072. deliverygoodsid:
  6073. description: 现货品种ID
  6074. type: integer
  6075. isvalid:
  6076. description: 是否有效 - 0:无效 1:有效
  6077. type: integer
  6078. updatetime:
  6079. description: 更新时间
  6080. type: string
  6081. updatorid:
  6082. description: 更新人
  6083. type: integer
  6084. updatorsrc:
  6085. description: 更新人来源 - 1:管理端 2:终端
  6086. type: integer
  6087. wrstandardid:
  6088. description: 现货商品ID
  6089. type: integer
  6090. type: object
  6091. models.ErmcpGoodsModel:
  6092. properties:
  6093. areauserid:
  6094. description: 所属机构
  6095. type: integer
  6096. convertfactor:
  6097. description: 标仓系数
  6098. type: number
  6099. createtime:
  6100. description: 创建时间
  6101. type: string
  6102. creatorid:
  6103. description: 创建人
  6104. type: integer
  6105. creatorsrc:
  6106. description: 创建人来源 - 1:管理端 2:终端
  6107. type: integer
  6108. deliverygoodsid:
  6109. description: 现货品种ID
  6110. type: integer
  6111. isvalid:
  6112. description: 是否有效 - 0:无效 1:有效
  6113. type: integer
  6114. modelid:
  6115. description: ModelID(SEQ_SPOTGOODSMODEL)
  6116. type: integer
  6117. modelname:
  6118. description: 型号名称
  6119. type: string
  6120. updatetime:
  6121. description: 更新时间
  6122. type: string
  6123. updatorid:
  6124. description: 更新人
  6125. type: integer
  6126. updatorsrc:
  6127. description: 更新人来源 - 1:管理端 2:终端
  6128. type: integer
  6129. wrstandardid:
  6130. description: 现货商品ID
  6131. type: integer
  6132. type: object
  6133. models.ErmcpHisExposure:
  6134. properties:
  6135. needhedgeexposoure:
  6136. description: 应套保敞口
  6137. type: number
  6138. reckondate:
  6139. description: 日照时期(yyyyMMdd)
  6140. type: string
  6141. totalexposure:
  6142. description: 总敞口
  6143. type: number
  6144. type: object
  6145. models.ErmcpLoginTaAccount:
  6146. properties:
  6147. accountid:
  6148. description: 账号id
  6149. type: integer
  6150. accountname:
  6151. description: 账号名称
  6152. type: string
  6153. type: object
  6154. models.ErmcpLoginUser:
  6155. properties:
  6156. acclist:
  6157. description: 关联资金账号
  6158. items:
  6159. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6160. type: array
  6161. accountname:
  6162. description: 用户名称
  6163. type: string
  6164. clientroleid:
  6165. description: 角色id(usertype=2)
  6166. type: integer
  6167. createtime:
  6168. description: 创建时间
  6169. type: string
  6170. logincode:
  6171. description: 登录代码
  6172. type: string
  6173. loginid:
  6174. description: 登录id(LOGINID)
  6175. type: integer
  6176. loginname:
  6177. description: 登录名称(loginaccount表中的accountname字段)
  6178. type: string
  6179. loginstatus:
  6180. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6181. type: integer
  6182. memberuserid:
  6183. description: 所属会员id
  6184. type: integer
  6185. mobile:
  6186. description: 手机号
  6187. type: string
  6188. modifytime:
  6189. description: 修改时间
  6190. type: string
  6191. password:
  6192. description: 密码(不可解密)
  6193. type: string
  6194. rolename:
  6195. description: 角色名称
  6196. type: string
  6197. rolestatus:
  6198. description: 角色状态 1-启用 2-停用
  6199. type: integer
  6200. roletype:
  6201. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6202. type: string
  6203. userid:
  6204. description: 用户id
  6205. type: integer
  6206. usertype:
  6207. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6208. type: integer
  6209. type: object
  6210. models.ErmcpLoginUserEx:
  6211. properties:
  6212. accountstatus:
  6213. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6214. type: integer
  6215. mobile:
  6216. description: 手机号
  6217. type: string
  6218. querytype:
  6219. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6220. type: integer
  6221. roleid:
  6222. description: 角色id(交易账户->用户id)
  6223. type: integer
  6224. rolename:
  6225. description: 角色名称(交易账户->用户名称)
  6226. type: string
  6227. userlist:
  6228. description: 用户列表
  6229. items:
  6230. $ref: '#/definitions/models.ErmcpLoginUser'
  6231. type: array
  6232. usertype:
  6233. description: 用户类型 2-机构 7-企业成员(云平台)
  6234. type: integer
  6235. type: object
  6236. models.ErmcpMiddleGoodsModel:
  6237. properties:
  6238. areauserid:
  6239. description: 机构用户ID
  6240. type: integer
  6241. createtime:
  6242. description: 修改时间
  6243. type: string
  6244. enumdicname:
  6245. description: 单位名称
  6246. type: string
  6247. evaluateratio:
  6248. description: 估价系数
  6249. type: number
  6250. goodsgroupid:
  6251. description: 关联期货品种ID
  6252. type: integer
  6253. goodsunitid:
  6254. description: 单位ID
  6255. type: integer
  6256. isvalid:
  6257. description: 状态 0-无效(停用) 1-有效(正常)
  6258. type: integer
  6259. middlegoodscode:
  6260. description: 套保品种代码
  6261. type: string
  6262. middlegoodsid:
  6263. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6264. type: integer
  6265. middlegoodsname:
  6266. description: 套保品种名称
  6267. type: string
  6268. modifytime:
  6269. description: 修改时间
  6270. type: string
  6271. needhedgeratio:
  6272. description: 套保比率
  6273. type: number
  6274. qtydecimalplace:
  6275. description: 数量小数位
  6276. type: integer
  6277. relatedgoodsid:
  6278. description: 关联交易商品ID
  6279. type: integer
  6280. relatedgoodstype:
  6281. description: 关联商品类型 - 1:期货合约 2:现货品种
  6282. type: integer
  6283. remark:
  6284. description: 备注
  6285. type: string
  6286. type: object
  6287. models.ErmcpRole:
  6288. properties:
  6289. areauserid:
  6290. description: 所属机构
  6291. type: integer
  6292. autoid:
  6293. description: 角色ID(自增ID)
  6294. type: integer
  6295. modifierid:
  6296. description: 修改人(创建人)
  6297. type: integer
  6298. modifiername:
  6299. description: 修改人名称
  6300. type: string
  6301. modifytime:
  6302. description: 修改时间(创建时间)
  6303. type: string
  6304. rolename:
  6305. description: 角色名称
  6306. type: string
  6307. rolestatus:
  6308. description: 角色状态 - 1:启用 2:停用
  6309. type: integer
  6310. roletype:
  6311. description: 角色类型 - 1- 管理端 2- 交易端
  6312. type: integer
  6313. type: object
  6314. models.ErmcpRoleMenu:
  6315. properties:
  6316. iconame:
  6317. description: 菜单图标
  6318. type: string
  6319. ishadrole:
  6320. description: 是否有权限
  6321. type: boolean
  6322. menutype:
  6323. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6324. type: integer
  6325. parentcode:
  6326. description: 上级资源代码
  6327. type: string
  6328. remark:
  6329. description: 菜单备注
  6330. type: string
  6331. resourcecode:
  6332. description: 菜单代码
  6333. type: string
  6334. resourcelevel:
  6335. description: 级别
  6336. type: integer
  6337. resourcename:
  6338. description: 菜单名称
  6339. type: string
  6340. roleid:
  6341. description: 角色id
  6342. type: integer
  6343. sort:
  6344. description: 排序
  6345. type: integer
  6346. url:
  6347. description: URL
  6348. type: string
  6349. userid:
  6350. description: 用户id
  6351. type: integer
  6352. type: object
  6353. models.ErmcpRoleMenuEx:
  6354. properties:
  6355. menu:
  6356. $ref: '#/definitions/models.ErmcpRoleMenu'
  6357. description: 父级菜单
  6358. subMenu:
  6359. description: 子级菜单
  6360. items:
  6361. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6362. type: array
  6363. type: object
  6364. models.ErmcpTaAccount:
  6365. properties:
  6366. accountid:
  6367. description: 账户id
  6368. type: integer
  6369. accountname:
  6370. description: 账户名称
  6371. type: string
  6372. currencyid:
  6373. description: 币种id
  6374. type: integer
  6375. hedgeaccountcode:
  6376. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6377. type: string
  6378. ismain:
  6379. description: 是否主账户 0-否 1-是
  6380. type: integer
  6381. parentaccountid:
  6382. description: 父账户id
  6383. type: integer
  6384. relateduserid:
  6385. description: 关联userid
  6386. type: integer
  6387. tradestatus:
  6388. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6389. type: integer
  6390. userid:
  6391. description: 用户id
  6392. type: integer
  6393. type: object
  6394. models.ErmcpTaAccountEx:
  6395. properties:
  6396. mainAcc:
  6397. $ref: '#/definitions/models.ErmcpTaAccountM'
  6398. description: 主账号
  6399. subacclist:
  6400. description: 子账号列表
  6401. items:
  6402. $ref: '#/definitions/models.ErmcpTaAccount'
  6403. type: array
  6404. type: object
  6405. models.ErmcpTaAccountInfo:
  6406. properties:
  6407. accountid:
  6408. description: 资金账户ID
  6409. type: integer
  6410. accountname:
  6411. description: 账户名称
  6412. type: string
  6413. balance:
  6414. description: 期初余额
  6415. type: number
  6416. capitalbalance:
  6417. description: 本金余额[外部子账户实际出入金余额]
  6418. type: number
  6419. closepl:
  6420. description: 今日平仓盈亏
  6421. type: number
  6422. creditdecrease:
  6423. description: 今日授信减少
  6424. type: number
  6425. creditincrease:
  6426. description: 今日授信增加
  6427. type: number
  6428. curdebt:
  6429. description: 期末欠款
  6430. type: number
  6431. currencyid:
  6432. description: 货币ID
  6433. type: integer
  6434. currentbalance:
  6435. description: 期末余额
  6436. type: number
  6437. freezecharge:
  6438. description: 手续费冻结
  6439. type: number
  6440. freezemargin:
  6441. description: 冻结保证金
  6442. type: number
  6443. fromaccountid:
  6444. description: 所属上级账户
  6445. type: integer
  6446. inamount:
  6447. description: 今日入金金额(包括三方入金)
  6448. type: number
  6449. ismain:
  6450. description: 是否母账号 0:不是母账户 1:是母账户
  6451. type: integer
  6452. mortgagecredit:
  6453. description: 授信金额
  6454. type: number
  6455. oridebt:
  6456. description: 期初欠款
  6457. type: number
  6458. orifreezecharge:
  6459. description: 期初手续费冻结
  6460. type: number
  6461. orifreezemargin:
  6462. description: 期初冻结保证金
  6463. type: number
  6464. orimortgagecredit:
  6465. description: 期初授信金额
  6466. type: number
  6467. oriothercredit:
  6468. description: 期初其它授信金额
  6469. type: number
  6470. oriotherfreezemargin:
  6471. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6472. type: number
  6473. orioutamountfreeze:
  6474. description: 期初出金冻结
  6475. type: number
  6476. oriusedmargin:
  6477. description: 期初占用保证金
  6478. type: number
  6479. othercredit:
  6480. description: 其它授信金额
  6481. type: number
  6482. othercreditdecrease:
  6483. description: 今日其它授信减少
  6484. type: number
  6485. othercreditincrease:
  6486. description: 今日其它授信增加
  6487. type: number
  6488. otherfreezemargin:
  6489. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6490. type: number
  6491. outamount:
  6492. description: 今日出金金额(包括三方出金)
  6493. type: number
  6494. outamountfreeze:
  6495. description: 出金冻结
  6496. type: number
  6497. outthreshold:
  6498. description: 出金阈值
  6499. type: number
  6500. parentaccountid:
  6501. description: 所属根账号
  6502. type: integer
  6503. paycharge:
  6504. description: 今日手续费支出
  6505. type: number
  6506. relateduserid:
  6507. description: 关联用户
  6508. type: integer
  6509. signstatus:
  6510. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6511. type: integer
  6512. sublevelpath:
  6513. description: 账号层级路径(逗号分隔,首尾加逗号)
  6514. type: string
  6515. taaccounttype:
  6516. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6517. type: integer
  6518. thirdinamount:
  6519. description: 今日三方入金
  6520. type: number
  6521. thirdoutamount:
  6522. description: 今日三方出金
  6523. type: number
  6524. tradestatus:
  6525. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6526. type: integer
  6527. transferamount:
  6528. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6529. type: number
  6530. usedmargin:
  6531. description: 占用保证金
  6532. type: number
  6533. userid:
  6534. description: 用户ID
  6535. type: integer
  6536. type: object
  6537. models.ErmcpTaAccountM:
  6538. properties:
  6539. accountid:
  6540. description: 账户id
  6541. type: integer
  6542. accountname:
  6543. description: 账户名称
  6544. type: string
  6545. currencyid:
  6546. description: 币种id
  6547. type: integer
  6548. fcid:
  6549. description: 期货公司id
  6550. type: integer
  6551. fcname:
  6552. description: 期货公司代码
  6553. type: string
  6554. hedgeaccountcode:
  6555. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6556. type: string
  6557. ismain:
  6558. description: 是否主账户 0-否 1-是
  6559. type: integer
  6560. parentaccountid:
  6561. description: 父账户id
  6562. type: integer
  6563. relateduserid:
  6564. description: 关联userid
  6565. type: integer
  6566. tradestatus:
  6567. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6568. type: integer
  6569. userid:
  6570. description: 用户id
  6571. type: integer
  6572. type: object
  6573. models.ErmcpTradeConfigTMP:
  6574. properties:
  6575. areauserid:
  6576. description: 所属机构
  6577. type: integer
  6578. basiccurrencyid:
  6579. description: 基本币种ID[汇率] - 目标币种
  6580. type: integer
  6581. mainaccountid:
  6582. description: 主账户ID
  6583. type: integer
  6584. modifierid:
  6585. description: 修改人
  6586. type: integer
  6587. remark:
  6588. description: 备注
  6589. type: string
  6590. tradeconfigtmpid:
  6591. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6592. type: integer
  6593. tradeconfigtmpname:
  6594. description: 交易配置模板名称
  6595. type: string
  6596. tradeconfigtmptype:
  6597. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6598. type: integer
  6599. updatetime:
  6600. description: 更新时间
  6601. type: string
  6602. type: object
  6603. models.Externalexchange:
  6604. properties:
  6605. autoid:
  6606. description: AutoID - SEQ_EXTERNALEXCHANGE
  6607. type: integer
  6608. exchangefullname:
  6609. description: 外部交易所全称
  6610. type: string
  6611. exexchangecode:
  6612. description: 外部交易所代码
  6613. type: string
  6614. exexchangename:
  6615. description: 外部交易所名称(简称)
  6616. type: string
  6617. ismarketprice:
  6618. description: 是否支持市价 - 0:不支持 1:支持
  6619. type: integer
  6620. quotegear:
  6621. description: 行情档位(1-10)
  6622. type: integer
  6623. showbrokerflag:
  6624. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6625. type: integer
  6626. updatetime:
  6627. description: 更新时间
  6628. type: string
  6629. required:
  6630. - autoid
  6631. type: object
  6632. models.Funcmenulist:
  6633. properties:
  6634. iconame:
  6635. description: 菜单图标
  6636. type: string
  6637. menutype:
  6638. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6639. type: integer
  6640. parentcode:
  6641. description: 上级资源代码
  6642. type: string
  6643. remark:
  6644. description: 备注
  6645. type: string
  6646. resourcecode:
  6647. description: 资源代码
  6648. type: string
  6649. resourcelevel:
  6650. description: 级别 1-一级 2-二级 3-三级 4-四级
  6651. type: integer
  6652. resourcename:
  6653. description: 资源名
  6654. type: string
  6655. sort:
  6656. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6657. type: integer
  6658. url:
  6659. description: URL
  6660. type: string
  6661. required:
  6662. - resourcecode
  6663. type: object
  6664. models.Goods:
  6665. properties:
  6666. agreeunit:
  6667. description: 合约单位
  6668. type: number
  6669. auditaccountid:
  6670. description: 审核操作员账号
  6671. type: integer
  6672. audittime:
  6673. description: 审核时间
  6674. type: string
  6675. cancelaccountid:
  6676. description: 注销操作员账号
  6677. type: integer
  6678. canceltime:
  6679. description: 注销时间
  6680. type: string
  6681. closepricemode:
  6682. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6683. type: integer
  6684. closepriceparam:
  6685. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6686. type: number
  6687. createtime:
  6688. description: 创建时间
  6689. type: string
  6690. creatorid:
  6691. description: 创建人
  6692. type: integer
  6693. currencyid:
  6694. description: 报价货币ID
  6695. type: integer
  6696. cutmode:
  6697. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6698. type: integer
  6699. decimalplace:
  6700. description: 报价小数位
  6701. type: integer
  6702. delistingdate:
  6703. description: 商品退市时间(状态:退市) -- 已作废
  6704. type: string
  6705. delistingmode:
  6706. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6707. type: integer
  6708. deliveryflag:
  6709. description: 交割标志 - 0:不可交割 1:可交割
  6710. type: integer
  6711. forceclosemode:
  6712. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6713. type: integer
  6714. forceclosevalue:
  6715. description: 定期强平参数 [收益权]
  6716. type: integer
  6717. goodscode:
  6718. description: 商品代码(内部)
  6719. type: string
  6720. goodscurrencyid:
  6721. description: 合约货币ID
  6722. type: integer
  6723. goodsgroupid:
  6724. description: 所属商品组ID
  6725. type: integer
  6726. goodsid:
  6727. description: 商品ID(自增ID SEQ_GOODS)
  6728. type: integer
  6729. goodsname:
  6730. description: 商品名称
  6731. type: string
  6732. goodsquotetype:
  6733. description: '合约报价类型: 1-直接报价 2-间接报价'
  6734. type: integer
  6735. goodsstatus:
  6736. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6737. type: integer
  6738. goodstradetype:
  6739. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6740. type: integer
  6741. goodunitid:
  6742. description: 报价单位ID
  6743. type: integer
  6744. hasquoter:
  6745. description: 是否有报价商 - 0:无报价商 1:有报价商
  6746. type: integer
  6747. hqprotecttime:
  6748. description: 行情保护时间(秒)
  6749. type: integer
  6750. innerdealmode:
  6751. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6752. type: integer
  6753. isbuylimited:
  6754. description: 是否限制建仓量 - 0:不限制 1:限制
  6755. type: integer
  6756. lasttradedate:
  6757. description: 最后交易日期(状态:待退市)
  6758. type: string
  6759. listingdate:
  6760. description: 交易开始日期
  6761. type: string
  6762. marketid:
  6763. description: 所属市场ID
  6764. type: integer
  6765. modifierid:
  6766. description: 修改人
  6767. type: integer
  6768. modifystatus:
  6769. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6770. type: integer
  6771. modifytime:
  6772. description: 修改时间
  6773. type: string
  6774. outerdealmode:
  6775. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6776. type: integer
  6777. outgoodscode:
  6778. description: 商品代码(外部)
  6779. type: string
  6780. qtydecimalplace:
  6781. description: 成交量小数位
  6782. type: integer
  6783. quotegear:
  6784. description: 行情档位(1-10)
  6785. type: integer
  6786. quoteminunit:
  6787. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6788. type: integer
  6789. quoteshowtype:
  6790. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6791. type: integer
  6792. quoteshowtypeinterval:
  6793. description: 行情报价间隔时间(秒)(成交价时为0)
  6794. type: integer
  6795. remark:
  6796. description: 备注
  6797. type: string
  6798. required:
  6799. - goodscode
  6800. - goodsid
  6801. - goodsname
  6802. - marketid
  6803. type: object
  6804. models.GoodsIDAndName:
  6805. properties:
  6806. goodscode:
  6807. description: 商品代码(内部)
  6808. type: string
  6809. goodsid:
  6810. description: 商品ID(自增ID SEQ_GOODS)
  6811. type: integer
  6812. goodsname:
  6813. description: 商品名称
  6814. type: string
  6815. marketid:
  6816. description: 所属市场ID
  6817. type: integer
  6818. required:
  6819. - goodscode
  6820. - goodsid
  6821. - goodsname
  6822. - marketid
  6823. type: object
  6824. models.Goodsgroup:
  6825. properties:
  6826. agreeunit:
  6827. description: 合约单位
  6828. type: number
  6829. canshort:
  6830. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6831. type: integer
  6832. closepricemode:
  6833. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6834. type: integer
  6835. closepriceparam:
  6836. description: 强平最新价浮动比例 - 方式为2时使用
  6837. type: number
  6838. createtime:
  6839. description: 创建时间
  6840. type: string
  6841. creatorid:
  6842. description: 创建人
  6843. type: integer
  6844. currencyid:
  6845. description: 报价货币ID
  6846. type: integer
  6847. decimalplace:
  6848. description: 报价小数位
  6849. type: integer
  6850. exercisetype:
  6851. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  6852. type: integer
  6853. exexchangeid:
  6854. description: 外部交易所ID[通道交易]
  6855. type: integer
  6856. goodsgroupid:
  6857. description: 商品组ID(自增ID)
  6858. type: integer
  6859. goodsgroupname:
  6860. description: 商品组名称
  6861. type: string
  6862. goodsgroupstatus:
  6863. description: 商品组状态 - 1:正常 2:注销
  6864. type: integer
  6865. goodunitid:
  6866. description: 报价单位ID
  6867. type: integer
  6868. innerdealmode:
  6869. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6870. type: integer
  6871. isbuylimited:
  6872. description: 是否限制建仓量 - 0:不限制 1:限制
  6873. type: integer
  6874. marketid:
  6875. description: 所属市场ID
  6876. type: integer
  6877. modifierid:
  6878. description: 修改人
  6879. type: integer
  6880. modifytime:
  6881. description: 修改时间
  6882. type: string
  6883. outerdealmode:
  6884. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6885. type: integer
  6886. outergroupcode:
  6887. description: 外部商品组代码[通道交易]
  6888. type: string
  6889. premiumdecimalplace:
  6890. description: 权利金小数位[场外期权]
  6891. type: integer
  6892. premiumspreadalgorithm:
  6893. description: 权利金点差方式[场外期权] 1:比率 2:固定
  6894. type: integer
  6895. premiumspreadvalue:
  6896. description: 权利金点差值[场外期权]
  6897. type: number
  6898. qtydecimalplace:
  6899. description: 成交量小数位
  6900. type: integer
  6901. quotegear:
  6902. description: 行情档位(1-10)
  6903. type: integer
  6904. quoteminunit:
  6905. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6906. type: integer
  6907. quoterid:
  6908. description: 报价商ID[场外期权]
  6909. type: integer
  6910. quotesourcegroupid:
  6911. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6912. type: integer
  6913. syncgoodsqty:
  6914. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6915. type: integer
  6916. required:
  6917. - goodsgroupid
  6918. - goodsgroupname
  6919. - goodsgroupstatus
  6920. - marketid
  6921. type: object
  6922. models.Goodssortbypreposition:
  6923. properties:
  6924. goodscode:
  6925. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  6926. type: string
  6927. goodsgroupcode:
  6928. description: 品种代码
  6929. type: string
  6930. prepositionqty:
  6931. description: 昨持仓量
  6932. type: integer
  6933. sortindex:
  6934. description: 排序
  6935. type: integer
  6936. tradedate:
  6937. description: 交易日
  6938. type: string
  6939. updatetime:
  6940. description: 更新时间
  6941. type: string
  6942. required:
  6943. - goodscode
  6944. - tradedate
  6945. type: object
  6946. models.Hedgeinnerholderdetail:
  6947. properties:
  6948. accountid:
  6949. description: 账号ID
  6950. type: integer
  6951. buyorsell:
  6952. description: 方向 - 0:买 1:卖
  6953. type: integer
  6954. freezeqty:
  6955. description: 冻结数量 - 按单平使用
  6956. type: integer
  6957. goodsid:
  6958. description: 商品ID
  6959. type: integer
  6960. holderamount:
  6961. description: 持仓金额 [商品币种]
  6962. type: number
  6963. holderdays:
  6964. description: 剩余冻结天数
  6965. type: integer
  6966. holderprice:
  6967. description: 持仓价格
  6968. type: number
  6969. holderqty:
  6970. description: 持仓数量
  6971. type: integer
  6972. marketid:
  6973. description: 市场ID
  6974. type: integer
  6975. openprice:
  6976. description: 建仓价格
  6977. type: number
  6978. openqty:
  6979. description: 建仓数量
  6980. type: integer
  6981. parentaccountid:
  6982. description: 所属母账户
  6983. type: integer
  6984. releaseamount:
  6985. description: 释放持仓金额[商品币种]
  6986. type: number
  6987. tradeamount:
  6988. description: 成交金额[账户]
  6989. type: number
  6990. tradedate:
  6991. description: 交易日(yyyyMMdd)
  6992. type: string
  6993. tradeid:
  6994. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6995. type: string
  6996. tradetime:
  6997. description: 交易时间
  6998. type: string
  6999. required:
  7000. - buyorsell
  7001. - tradeid
  7002. type: object
  7003. models.Hedgemarketopenlog:
  7004. properties:
  7005. accountid:
  7006. description: 资金账号[外部母账户]
  7007. type: integer
  7008. fcname:
  7009. description: 期货公司名称
  7010. type: string
  7011. handlestatus:
  7012. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7013. type: integer
  7014. marketid:
  7015. description: 市场ID
  7016. type: integer
  7017. status:
  7018. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7019. type: integer
  7020. tradedate:
  7021. description: 交易日(yyyyMMdd)
  7022. type: string
  7023. updatetime:
  7024. description: 更新时间
  7025. type: string
  7026. required:
  7027. - accountid
  7028. type: object
  7029. models.HsbyBuyMyPayOrder:
  7030. properties:
  7031. agreeunit:
  7032. description: 合约单位
  7033. type: number
  7034. buyaccountid:
  7035. description: 买方账号ID[报价币种]
  7036. type: integer
  7037. buyorderid:
  7038. description: 买方委托单号
  7039. type: string
  7040. createtime:
  7041. description: 创建时间
  7042. type: string
  7043. currencysign:
  7044. description: 货币符号
  7045. type: string
  7046. decimalplace:
  7047. description: 报价小数位
  7048. type: integer
  7049. goodscode:
  7050. description: 商品代码(内部)
  7051. type: string
  7052. goodsid:
  7053. description: 商品ID
  7054. type: integer
  7055. goodsname:
  7056. description: 商品名称
  7057. type: string
  7058. marketid:
  7059. description: 市场ID
  7060. type: integer
  7061. offamount:
  7062. description: 优惠金额
  7063. type: number
  7064. originalamount:
  7065. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7066. type: number
  7067. payamount:
  7068. description: 支付金额 = TradeAmount + TradeCharge
  7069. type: number
  7070. payflag:
  7071. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7072. type: integer
  7073. paylimitedtime:
  7074. description: 支付期限
  7075. type: string
  7076. paytime:
  7077. description: 付款时间
  7078. type: string
  7079. picurls1:
  7080. description: 预售商品介绍图片[多张用逗号分隔]
  7081. type: string
  7082. picurls2:
  7083. description: 挂牌商品介绍图片[多张用逗号分隔]
  7084. type: string
  7085. sellaccountid:
  7086. description: 卖方账号ID[报价币种]
  7087. type: integer
  7088. sellorderid:
  7089. description: 卖方委托单号
  7090. type: string
  7091. tradeamount:
  7092. description: 成交金额
  7093. type: number
  7094. tradecharge:
  7095. description: 成交手续费(买方)
  7096. type: number
  7097. tradedate:
  7098. description: 交易日(yyyyMMdd)
  7099. type: string
  7100. tradeid:
  7101. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7102. type: string
  7103. trademode:
  7104. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7105. 21:竞拍-大宗式 22:受托竞价
  7106. type: integer
  7107. tradeprice:
  7108. description: 成交价格
  7109. type: number
  7110. tradeqty:
  7111. description: 成交数量
  7112. type: integer
  7113. vendorname1:
  7114. description: 预售商品供应商名称
  7115. type: string
  7116. vendorname2:
  7117. description: 挂牌商品供应商名称
  7118. type: string
  7119. required:
  7120. - goodscode
  7121. - goodsname
  7122. - tradeid
  7123. - trademode
  7124. type: object
  7125. models.HsbyBuyMyTradeDetail:
  7126. properties:
  7127. accountid:
  7128. description: 账户ID[报价币种]
  7129. type: integer
  7130. agreeunit:
  7131. description: 合约单位
  7132. type: number
  7133. amount:
  7134. description: 金额 = 价格 * 数量 * 合约单位
  7135. type: number
  7136. buyorsell:
  7137. description: 买卖 - 0:买 1:卖
  7138. type: integer
  7139. currencysign:
  7140. description: 货币符号
  7141. type: string
  7142. decimalplace:
  7143. description: 报价小数位
  7144. type: integer
  7145. goodscode:
  7146. description: 商品代码(内部)
  7147. type: string
  7148. goodsid:
  7149. description: 商品ID
  7150. type: integer
  7151. goodsname:
  7152. description: 商品名称
  7153. type: string
  7154. marketid:
  7155. description: 市场ID
  7156. type: integer
  7157. orderamount:
  7158. description: 委托金额
  7159. type: number
  7160. orderid:
  7161. description: 单号(成交单号)
  7162. type: string
  7163. picurls1:
  7164. description: 预售商品介绍图片[多张用逗号分隔]
  7165. type: string
  7166. picurls2:
  7167. description: 挂牌商品介绍图片[多张用逗号分隔]
  7168. type: string
  7169. price:
  7170. description: 价格
  7171. type: number
  7172. qty:
  7173. description: 数量
  7174. type: integer
  7175. time:
  7176. description: 时间
  7177. type: string
  7178. trademode:
  7179. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7180. 21:竞拍-大宗式 22:受托竞价
  7181. type: integer
  7182. vendorname1:
  7183. description: 预售商品供应商名称
  7184. type: string
  7185. vendorname2:
  7186. description: 挂牌商品供应商名称
  7187. type: string
  7188. required:
  7189. - accountid
  7190. - buyorsell
  7191. - goodscode
  7192. - goodsid
  7193. - goodsname
  7194. - marketid
  7195. - orderid
  7196. - qty
  7197. - time
  7198. - trademode
  7199. type: object
  7200. models.HsbyGoodsOrderDetail:
  7201. properties:
  7202. buyorsell:
  7203. description: 买卖 - 0:买 1:卖
  7204. type: integer
  7205. currencysign:
  7206. description: 货币符号
  7207. type: string
  7208. customername:
  7209. description: 客户名称(企业名称),已脱敏
  7210. type: string
  7211. enableqty:
  7212. description: 可用数量
  7213. type: integer
  7214. goodunit:
  7215. description: 报价单位
  7216. type: string
  7217. orderid:
  7218. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7219. type: string
  7220. orderprice:
  7221. description: 委托价格
  7222. type: number
  7223. ordertime:
  7224. description: 委托时间
  7225. type: string
  7226. required:
  7227. - buyorsell
  7228. - orderid
  7229. - ordertime
  7230. type: object
  7231. models.HsbyListingGoodsDetail:
  7232. properties:
  7233. agreeunit:
  7234. description: 合约单位
  7235. type: number
  7236. buymaxqty:
  7237. description: 购买上限 [71] - 0为不限
  7238. type: integer
  7239. currency:
  7240. description: 货币
  7241. type: string
  7242. currencysign:
  7243. description: 货币符号
  7244. type: string
  7245. decimalplace:
  7246. description: 报价小数位
  7247. type: integer
  7248. desccityid:
  7249. description: 目的地(市)ID
  7250. type: integer
  7251. descprovinceid:
  7252. description: 目的地(省)ID
  7253. type: integer
  7254. goodscode:
  7255. description: 商品代码(内部)
  7256. type: string
  7257. goodsdesc:
  7258. description: 商品详情
  7259. type: string
  7260. goodsid:
  7261. description: 商品ID(自增ID SEQ_GOODS)
  7262. type: integer
  7263. goodsname:
  7264. description: 商品名称
  7265. type: string
  7266. goodsprice:
  7267. description: 商品价格
  7268. type: number
  7269. hotindex:
  7270. description: 景点热度
  7271. type: integer
  7272. last:
  7273. description: 现价
  7274. type: number
  7275. limitdown:
  7276. description: 跌停价
  7277. type: number
  7278. limitup:
  7279. description: 涨停价
  7280. type: number
  7281. lotsize:
  7282. description: 手数最小变动单位
  7283. type: integer
  7284. marketid:
  7285. description: 所属市场ID
  7286. type: integer
  7287. picurls:
  7288. description: 介绍图片[多张用逗号分隔]
  7289. type: string
  7290. quoteminunit:
  7291. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7292. type: integer
  7293. stepvalue:
  7294. description: 价格最小变动单位
  7295. type: number
  7296. trademode:
  7297. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7298. 21:竞拍-大宗式 22:受托竞价
  7299. type: integer
  7300. vendorattr:
  7301. description: 供应商附件(多张,逗号分隔)
  7302. type: string
  7303. vendorname:
  7304. description: 供应商名称
  7305. type: string
  7306. vendorphone:
  7307. description: 供应商客服电话
  7308. type: string
  7309. videourls:
  7310. description: 介绍视频[多张用逗号分隔]
  7311. type: string
  7312. required:
  7313. - goodscode
  7314. - goodsid
  7315. - goodsname
  7316. - marketid
  7317. - trademode
  7318. type: object
  7319. models.HsbyMarketGoods:
  7320. properties:
  7321. accountid:
  7322. description: 账户ID[报价币种]
  7323. type: integer
  7324. agreeunit:
  7325. description: 合约单位
  7326. type: number
  7327. buyorsell:
  7328. description: 买卖 - 0:买 1:卖
  7329. type: integer
  7330. categoryid:
  7331. description: 类别ID(WRCATEGORY)
  7332. type: integer
  7333. currency:
  7334. description: 货币
  7335. type: string
  7336. currencysign:
  7337. description: 货币符号
  7338. type: string
  7339. customername:
  7340. description: 卖家名称
  7341. type: string
  7342. decimalplace:
  7343. description: 报价小数位
  7344. type: integer
  7345. goodscode:
  7346. description: 商品代码(内部)
  7347. type: string
  7348. goodsid:
  7349. description: 商品ID
  7350. type: integer
  7351. goodsname:
  7352. description: 商品名称
  7353. type: string
  7354. goodsprice:
  7355. description: 商品价格
  7356. type: number
  7357. hascoupon:
  7358. description: 是否可用优惠卷
  7359. type: boolean
  7360. hotindex:
  7361. description: 景点热度
  7362. type: integer
  7363. marketid:
  7364. description: 市场ID
  7365. type: integer
  7366. orderid:
  7367. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7368. type: string
  7369. orderprice:
  7370. description: 委托价格
  7371. type: number
  7372. orderstatus:
  7373. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7374. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7375. 16:成交失败违约(荷兰式竞拍专用)
  7376. type: integer
  7377. picurls:
  7378. description: 介绍图片[多张用逗号分隔]
  7379. type: string
  7380. quoteminunit:
  7381. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7382. type: integer
  7383. sellUserID:
  7384. description: 卖方UserID
  7385. type: integer
  7386. trademode:
  7387. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7388. 21:竞拍-大宗式 22:受托竞价
  7389. type: integer
  7390. videourls:
  7391. description: 介绍视频[多张用逗号分隔]
  7392. type: string
  7393. required:
  7394. - accountid
  7395. - buyorsell
  7396. - goodscode
  7397. - goodsid
  7398. - goodsname
  7399. - marketid
  7400. - orderid
  7401. - trademode
  7402. type: object
  7403. models.HsbyMarketGoodsDetail:
  7404. properties:
  7405. accountid:
  7406. description: 账户ID[报价币种]
  7407. type: integer
  7408. agreeunit:
  7409. description: 合约单位
  7410. type: number
  7411. buymaxqty:
  7412. description: 购买上限 [71] - 0为不限
  7413. type: integer
  7414. buyorsell:
  7415. description: 买卖 - 0:买 1:卖
  7416. type: integer
  7417. cancelqty:
  7418. description: 撤单数量
  7419. type: integer
  7420. categoryid:
  7421. description: 类别ID(WRCATEGORY)
  7422. type: integer
  7423. currency:
  7424. description: 货币
  7425. type: string
  7426. currencysign:
  7427. description: 货币符号
  7428. type: string
  7429. customername:
  7430. description: 卖家名称
  7431. type: string
  7432. decimalplace:
  7433. description: 报价小数位
  7434. type: integer
  7435. goodscode:
  7436. description: 商品代码(内部)
  7437. type: string
  7438. goodsdesc:
  7439. description: 商品详情
  7440. type: string
  7441. goodsid:
  7442. description: 商品ID
  7443. type: integer
  7444. goodsname:
  7445. description: 商品名称
  7446. type: string
  7447. goodsprice:
  7448. description: 商品价格
  7449. type: number
  7450. hotindex:
  7451. description: 景点热度
  7452. type: integer
  7453. lotsize:
  7454. description: 手数最小变动单位
  7455. type: integer
  7456. marketid:
  7457. description: 市场ID
  7458. type: integer
  7459. orderid:
  7460. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7461. type: string
  7462. orderprice:
  7463. description: 委托价格
  7464. type: number
  7465. orderqty:
  7466. description: 委托数量
  7467. type: integer
  7468. orderstatus:
  7469. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7470. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7471. 16:成交失败违约(荷兰式竞拍专用)
  7472. type: integer
  7473. picurls:
  7474. description: 介绍图片[多张用逗号分隔]
  7475. type: string
  7476. quoteminunit:
  7477. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7478. type: integer
  7479. sellUserID:
  7480. description: 卖方UserID
  7481. type: integer
  7482. trademode:
  7483. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7484. 21:竞拍-大宗式 22:受托竞价
  7485. type: integer
  7486. tradeqty:
  7487. description: 成交数量
  7488. type: integer
  7489. vendorattr:
  7490. description: 供应商附件(多张,逗号分隔)
  7491. type: string
  7492. vendorname:
  7493. description: 供应商名称
  7494. type: string
  7495. vendorphone:
  7496. description: 供应商客服电话
  7497. type: string
  7498. videourls:
  7499. description: 介绍视频[多张用逗号分隔]
  7500. type: string
  7501. required:
  7502. - accountid
  7503. - buyorsell
  7504. - goodscode
  7505. - goodsid
  7506. - goodsname
  7507. - marketid
  7508. - orderid
  7509. - orderqty
  7510. - trademode
  7511. type: object
  7512. models.HsbyMarketInfo:
  7513. properties:
  7514. marketid:
  7515. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7516. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7517. type: integer
  7518. marketname:
  7519. description: 市场名称
  7520. type: string
  7521. marketstatus:
  7522. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7523. type: integer
  7524. trademode:
  7525. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7526. 21:竞拍-大宗式 22:受托竞价
  7527. type: integer
  7528. required:
  7529. - marketid
  7530. - marketstatus
  7531. - trademode
  7532. type: object
  7533. models.HsbyMyGoods:
  7534. properties:
  7535. accountid:
  7536. description: 账号Id
  7537. type: integer
  7538. agreeunit:
  7539. description: 合约单位
  7540. type: number
  7541. buyaverageprice:
  7542. description: 持仓均价
  7543. type: number
  7544. buycurholderamount:
  7545. description: 买当前持仓总金额[商品币种]
  7546. type: number
  7547. buycurpositionqty:
  7548. description: 买当前持仓总数量
  7549. type: integer
  7550. buymaxqty:
  7551. description: 购买上限 [71] - 0为不限
  7552. type: integer
  7553. currencysign:
  7554. description: 货币符号
  7555. type: string
  7556. decimalplace:
  7557. description: 报价小数位
  7558. type: integer
  7559. enableqty:
  7560. description: 可用数量
  7561. type: integer
  7562. goodscode:
  7563. description: 商品代码(内部)
  7564. type: string
  7565. goodsid:
  7566. description: 商品Id
  7567. type: integer
  7568. goodsname:
  7569. description: 商品名称
  7570. type: string
  7571. goodsprice:
  7572. description: 商品价格
  7573. type: number
  7574. goodsstatus:
  7575. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7576. type: integer
  7577. last:
  7578. description: 现价(仅使用于挂牌点选)
  7579. type: number
  7580. limitdown:
  7581. description: 跌停价(仅使用于挂牌点选)
  7582. type: number
  7583. limitup:
  7584. description: 涨停价(仅使用于挂牌点选)
  7585. type: number
  7586. lotsize:
  7587. description: 手数最小变动单位
  7588. type: integer
  7589. marketid:
  7590. description: 所属市场ID
  7591. type: integer
  7592. picurls:
  7593. description: 介绍图片[多张用逗号分隔]
  7594. type: string
  7595. quoteminunit:
  7596. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7597. type: integer
  7598. stepvalue:
  7599. description: 价格最小变动单位
  7600. type: number
  7601. trademode:
  7602. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7603. 21:竞拍-大宗式 22:受托竞价
  7604. type: integer
  7605. required:
  7606. - accountid
  7607. - goodscode
  7608. - goodsid
  7609. - goodsname
  7610. - marketid
  7611. - trademode
  7612. type: object
  7613. models.HsbyMyPackage:
  7614. properties:
  7615. accountid:
  7616. description: 账户ID
  7617. type: integer
  7618. address:
  7619. description: 提货人详细地址
  7620. type: string
  7621. agreeunit:
  7622. description: 合约单位
  7623. type: number
  7624. amount:
  7625. description: 提货金额
  7626. type: number
  7627. auditer:
  7628. description: 审核人
  7629. type: integer
  7630. audittime:
  7631. description: 审核时间
  7632. type: string
  7633. averageprice:
  7634. description: 均价
  7635. type: number
  7636. cardnum:
  7637. description: 提货人证件号码
  7638. type: string
  7639. cardtypeid:
  7640. description: 提货人证件类型
  7641. type: integer
  7642. checkremark:
  7643. description: 审核备注
  7644. type: string
  7645. currencysign:
  7646. description: 货币符号
  7647. type: string
  7648. decimalplace:
  7649. description: 报价小数位
  7650. type: integer
  7651. goodscode:
  7652. description: 商品代码(内部)
  7653. type: string
  7654. goodsid:
  7655. description: 商品ID
  7656. type: integer
  7657. goodsname:
  7658. description: 商品名称
  7659. type: string
  7660. handlestatus:
  7661. description: 处理状态
  7662. type: integer
  7663. marketid:
  7664. description: 市场ID
  7665. type: integer
  7666. phonenum:
  7667. description: 提货人联系方式
  7668. type: string
  7669. picurls:
  7670. description: 介绍图片[多张用逗号分隔]
  7671. type: string
  7672. qty:
  7673. description: 提货数量
  7674. type: number
  7675. recivername:
  7676. description: 提货人姓名
  7677. type: string
  7678. reqtime:
  7679. description: 更新时间
  7680. type: string
  7681. takemode:
  7682. description: 提货方式 - 2:自提 3:配送
  7683. type: integer
  7684. takeorderid:
  7685. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7686. type: string
  7687. takeorderstatus:
  7688. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7689. type: integer
  7690. takeremark:
  7691. description: 提货备注
  7692. type: string
  7693. tradedate:
  7694. description: 交易日(yyyyMMdd)
  7695. type: string
  7696. trademode:
  7697. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7698. 21:竞拍-大宗式 22:受托竞价
  7699. type: integer
  7700. userid:
  7701. description: 用户ID
  7702. type: integer
  7703. vendorname:
  7704. description: 供应商名称
  7705. type: string
  7706. required:
  7707. - goodscode
  7708. - goodsname
  7709. - takeorderid
  7710. - trademode
  7711. type: object
  7712. models.HsbyPreGoods:
  7713. properties:
  7714. agreeunit:
  7715. description: 合约单位
  7716. type: number
  7717. currency:
  7718. description: 货币
  7719. type: string
  7720. currencysign:
  7721. description: 货币符号
  7722. type: string
  7723. decimalplace:
  7724. description: 报价小数位
  7725. type: integer
  7726. desccityid:
  7727. description: 目的地(市)
  7728. type: integer
  7729. descprovinceid:
  7730. description: 目的地(省)
  7731. type: integer
  7732. enableqty:
  7733. description: 剩余数量
  7734. type: integer
  7735. goodscode:
  7736. description: 商品代码(内部)
  7737. type: string
  7738. goodsid:
  7739. description: 商品ID(自增ID SEQ_GOODS)
  7740. type: integer
  7741. goodsname:
  7742. description: 商品名称
  7743. type: string
  7744. goodsstatus:
  7745. description: 商品状态- 2:未上市 3:上市
  7746. type: integer
  7747. lasttradedate:
  7748. description: 最后交易日期(状态:待退市)
  7749. type: string
  7750. listingdate:
  7751. description: 交易开始日期
  7752. type: string
  7753. marketid:
  7754. description: 所属市场ID
  7755. type: integer
  7756. picurls:
  7757. description: 介绍图片[多张用逗号分隔]
  7758. type: string
  7759. presaledqty:
  7760. description: 已预售量(预售结束时更新)
  7761. type: integer
  7762. presaleqty:
  7763. description: 预售数量
  7764. type: integer
  7765. quoteminunit:
  7766. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7767. type: integer
  7768. refprice:
  7769. description: 参考价格[一口价]
  7770. type: number
  7771. relatedgoodsid:
  7772. description: 关联交易合约ID
  7773. type: integer
  7774. trademode:
  7775. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7776. 21:竞拍-大宗式 22:受托竞价
  7777. type: integer
  7778. videourls:
  7779. description: 介绍视频[多张用逗号分隔]
  7780. type: string
  7781. required:
  7782. - goodscode
  7783. - goodsid
  7784. - goodsname
  7785. - marketid
  7786. - trademode
  7787. type: object
  7788. models.HsbyPreGoodsDetail:
  7789. properties:
  7790. agreeunit:
  7791. description: 合约单位
  7792. type: number
  7793. buymaxqty:
  7794. description: 购买上限 [71] - 0为不限
  7795. type: integer
  7796. currency:
  7797. description: 货币
  7798. type: string
  7799. currencysign:
  7800. description: 货币符号
  7801. type: string
  7802. customername:
  7803. description: 发行单位
  7804. type: string
  7805. decimalplace:
  7806. description: 报价小数位
  7807. type: integer
  7808. desccityid:
  7809. description: 目的地(市)ID
  7810. type: integer
  7811. descprovinceid:
  7812. description: 目的地(省)ID
  7813. type: integer
  7814. enableqty:
  7815. description: 剩余数量
  7816. type: integer
  7817. goodscode:
  7818. description: 商品代码(内部)
  7819. type: string
  7820. goodsdesc:
  7821. description: 商品详情
  7822. type: string
  7823. goodsid:
  7824. description: 商品ID(自增ID SEQ_GOODS)
  7825. type: integer
  7826. goodsname:
  7827. description: 商品名称
  7828. type: string
  7829. goodsstatus:
  7830. description: 商品状态- 2:未上市 3:上市
  7831. type: integer
  7832. goodunit:
  7833. description: 报价单位
  7834. type: string
  7835. lasttradedate:
  7836. description: 最后交易日期(状态:待退市)
  7837. type: string
  7838. listingdate:
  7839. description: 交易开始日期
  7840. type: string
  7841. lotsize:
  7842. description: 手数最小变动单位
  7843. type: integer
  7844. marketid:
  7845. description: 所属市场ID
  7846. type: integer
  7847. picurls:
  7848. description: 介绍图片[多张用逗号分隔]
  7849. type: string
  7850. presaledqty:
  7851. description: 已预售量(预售结束时更新)
  7852. type: integer
  7853. presaleqty:
  7854. description: 预售数量
  7855. type: integer
  7856. quoteminunit:
  7857. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7858. type: integer
  7859. refprice:
  7860. description: 参考价格[一口价]
  7861. type: number
  7862. relatedgoodsid:
  7863. description: 关联交易合约ID
  7864. type: integer
  7865. stepvalue:
  7866. description: 价格最小变动单位
  7867. type: number
  7868. trademode:
  7869. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7870. 21:竞拍-大宗式 22:受托竞价
  7871. type: integer
  7872. vendorattr:
  7873. description: 供应商附件(多张,逗号分隔)
  7874. type: string
  7875. vendorname:
  7876. description: 供应商名称
  7877. type: string
  7878. vendorphone:
  7879. description: 供应商客服电话
  7880. type: string
  7881. videourls:
  7882. description: 介绍视频[多张用逗号分隔]
  7883. type: string
  7884. required:
  7885. - goodscode
  7886. - goodsid
  7887. - goodsname
  7888. - marketid
  7889. - trademode
  7890. type: object
  7891. models.HsbySellCollectionOrder:
  7892. properties:
  7893. agreeunit:
  7894. description: 合约单位
  7895. type: number
  7896. buyaccountid:
  7897. description: 买方账号ID[报价币种]
  7898. type: integer
  7899. buyorderid:
  7900. description: 买方委托单号
  7901. type: string
  7902. createtime:
  7903. description: 创建时间
  7904. type: string
  7905. currencysign:
  7906. description: 货币符号
  7907. type: string
  7908. decimalplace:
  7909. description: 报价小数位
  7910. type: integer
  7911. goodscode:
  7912. description: 商品代码(内部)
  7913. type: string
  7914. goodsid:
  7915. description: 商品ID
  7916. type: integer
  7917. goodsname:
  7918. description: 商品名称
  7919. type: string
  7920. marketid:
  7921. description: 市场ID
  7922. type: integer
  7923. offamount:
  7924. description: 优惠金额
  7925. type: number
  7926. payamount:
  7927. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  7928. type: number
  7929. payflag:
  7930. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7931. type: integer
  7932. paylimitedtime:
  7933. description: 支付期限
  7934. type: string
  7935. paytime:
  7936. description: 付款时间
  7937. type: string
  7938. picurls:
  7939. description: 商品介绍图片[多张用逗号分隔]
  7940. type: string
  7941. sellaccountid:
  7942. description: 卖方账号ID[报价币种]
  7943. type: integer
  7944. sellorderid:
  7945. description: 卖方委托单号
  7946. type: string
  7947. tradeamount:
  7948. description: 成交金额
  7949. type: number
  7950. tradecharge:
  7951. description: 成交手续费(买方)
  7952. type: number
  7953. tradedate:
  7954. description: 交易日(yyyyMMdd)
  7955. type: string
  7956. tradeid:
  7957. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7958. type: string
  7959. trademode:
  7960. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7961. 21:竞拍-大宗式 22:受托竞价
  7962. type: integer
  7963. tradeprice:
  7964. description: 成交价格
  7965. type: number
  7966. tradeqty:
  7967. description: 成交数量
  7968. type: integer
  7969. required:
  7970. - goodscode
  7971. - goodsname
  7972. - tradeid
  7973. - trademode
  7974. type: object
  7975. models.HsbySellMyDetail:
  7976. properties:
  7977. accountid:
  7978. description: 账户ID[报价币种]
  7979. type: integer
  7980. agreeunit:
  7981. description: 合约单位
  7982. type: number
  7983. buyorsell:
  7984. description: 买卖 - 0:买 1:卖
  7985. type: integer
  7986. currencysign:
  7987. description: 货币符号
  7988. type: string
  7989. decimalplace:
  7990. description: 报价小数位
  7991. type: integer
  7992. goodscode:
  7993. description: 商品代码(内部)
  7994. type: string
  7995. goodsid:
  7996. description: 商品ID
  7997. type: integer
  7998. goodsname:
  7999. description: 商品名称
  8000. type: string
  8001. marketid:
  8002. description: 市场ID
  8003. type: integer
  8004. orderid:
  8005. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8006. type: string
  8007. ordertype:
  8008. description: 单据类型:0 - 发布中, 1 - 已完成
  8009. type: integer
  8010. picurls:
  8011. description: 介绍图片[多张用逗号分隔]
  8012. type: string
  8013. price:
  8014. description: 价格
  8015. type: number
  8016. qty:
  8017. description: 数量
  8018. type: integer
  8019. time:
  8020. description: 时间
  8021. type: string
  8022. trademode:
  8023. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8024. 21:竞拍-大宗式 22:受托竞价
  8025. type: integer
  8026. vendorname:
  8027. description: 供应商名称
  8028. type: string
  8029. required:
  8030. - accountid
  8031. - buyorsell
  8032. - goodscode
  8033. - goodsid
  8034. - goodsname
  8035. - marketid
  8036. - orderid
  8037. - time
  8038. - trademode
  8039. type: object
  8040. models.HsbyTopGoods:
  8041. properties:
  8042. agreeunit:
  8043. description: 合约单位
  8044. type: number
  8045. currency:
  8046. description: 货币
  8047. type: string
  8048. currencysign:
  8049. description: 货币符号
  8050. type: string
  8051. decimalplace:
  8052. description: 报价小数位
  8053. type: integer
  8054. desccityid:
  8055. description: 目的地(市)
  8056. type: integer
  8057. descprovinceid:
  8058. description: 目的地(省)
  8059. type: integer
  8060. goodscode:
  8061. description: 商品代码(内部)
  8062. type: string
  8063. goodsid:
  8064. description: 商品ID(自增ID SEQ_GOODS)
  8065. type: integer
  8066. goodsname:
  8067. description: 商品名称
  8068. type: string
  8069. hotindex:
  8070. description: 景点热度
  8071. type: integer
  8072. last:
  8073. description: 现价
  8074. type: number
  8075. marketid:
  8076. description: 所属市场ID
  8077. type: integer
  8078. picurls:
  8079. description: 介绍图片[多张用逗号分隔]
  8080. type: string
  8081. quoteminunit:
  8082. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8083. type: integer
  8084. trademode:
  8085. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8086. 21:竞拍-大宗式 22:受托竞价
  8087. type: integer
  8088. videourls:
  8089. description: 介绍视频[多张用逗号分隔]
  8090. type: string
  8091. required:
  8092. - goodscode
  8093. - goodsid
  8094. - goodsname
  8095. - marketid
  8096. - trademode
  8097. type: object
  8098. models.HybsMyBuyOrderDetail:
  8099. properties:
  8100. accountid:
  8101. description: 账户ID[报价币种]
  8102. type: integer
  8103. agreeunit:
  8104. description: 合约单位
  8105. type: number
  8106. buyorsell:
  8107. description: 买卖 - 0:买 1:卖
  8108. type: integer
  8109. cancelqty:
  8110. description: 撤单数量
  8111. type: integer
  8112. currencysign:
  8113. description: 货币符号
  8114. type: string
  8115. decimalplace:
  8116. description: 报价小数位
  8117. type: integer
  8118. goodscode:
  8119. description: 商品代码(内部)
  8120. type: string
  8121. goodsid:
  8122. description: 商品ID
  8123. type: integer
  8124. goodsname:
  8125. description: 商品名称
  8126. type: string
  8127. listingselecttype:
  8128. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8129. type: integer
  8130. marketid:
  8131. description: 市场ID
  8132. type: integer
  8133. mybuystatus:
  8134. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8135. type: integer
  8136. orderamount:
  8137. description: 委托金额
  8138. type: number
  8139. orderid:
  8140. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8141. type: string
  8142. orderprice:
  8143. description: 委托价格
  8144. type: number
  8145. orderqty:
  8146. description: 委托数量
  8147. type: integer
  8148. orderstatus:
  8149. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8150. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8151. 16:成交失败违约(荷兰式竞拍专用)
  8152. type: integer
  8153. ordertime:
  8154. description: 委托时间
  8155. type: string
  8156. picurls1:
  8157. description: 预售商品介绍图片[多张用逗号分隔]
  8158. type: string
  8159. picurls2:
  8160. description: 挂牌商品介绍图片[多张用逗号分隔]
  8161. type: string
  8162. trademode:
  8163. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8164. 21:竞拍-大宗式 22:受托竞价
  8165. type: integer
  8166. tradeqty:
  8167. description: 成交数量
  8168. type: integer
  8169. vendorname1:
  8170. description: 预售商品供应商名称
  8171. type: string
  8172. vendorname2:
  8173. description: 挂牌商品供应商名称
  8174. type: string
  8175. required:
  8176. - accountid
  8177. - buyorsell
  8178. - goodscode
  8179. - goodsid
  8180. - goodsname
  8181. - marketid
  8182. - orderid
  8183. - orderqty
  8184. - ordertime
  8185. - trademode
  8186. type: object
  8187. models.Loginaccount:
  8188. properties:
  8189. canoutin:
  8190. description: 是否可出入金 - 0:不可 1:可
  8191. type: integer
  8192. clientroleid:
  8193. description: 终端角色ID
  8194. type: integer
  8195. haslogined:
  8196. description: 是否已登录 - 0:未登录 1:已登录
  8197. type: integer
  8198. hasupdatedpwd:
  8199. description: 是否已更改密码 - 0:未修改 1:已修改
  8200. type: integer
  8201. lastloginip:
  8202. description: 最新登录地址
  8203. type: string
  8204. lastloginmode:
  8205. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8206. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8207. type: integer
  8208. lastloginremark:
  8209. description: 最新登录描述
  8210. type: string
  8211. lastlogintime:
  8212. description: 最新登录时间
  8213. type: string
  8214. logincode:
  8215. description: 登录代码
  8216. type: string
  8217. loginfailnum:
  8218. description: 连续登录失败次数(登录成功时清零)
  8219. type: integer
  8220. loginid:
  8221. description: 登陆账号
  8222. type: integer
  8223. loginport:
  8224. description: 最新登录端口
  8225. type: integer
  8226. loginstatus:
  8227. description: 登录账号状态 1:正常 2:冻结 3:无效
  8228. type: integer
  8229. loginusertype:
  8230. description: 登录账号类型 - 1:投资者 2:机构交易员
  8231. type: integer
  8232. modifierid:
  8233. description: 修改人
  8234. type: integer
  8235. modifytime:
  8236. description: 修改时间
  8237. type: string
  8238. pwdwrongcount:
  8239. description: 密码错误次数
  8240. type: integer
  8241. taaccountrighttype:
  8242. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8243. type: integer
  8244. unfreezetime:
  8245. description: 账户解冻时间
  8246. type: string
  8247. userid:
  8248. description: 用户ID
  8249. type: integer
  8250. required:
  8251. - loginid
  8252. type: object
  8253. models.MainAccountInfo:
  8254. properties:
  8255. accountid:
  8256. description: 账号id
  8257. type: integer
  8258. accountname:
  8259. description: 账号名称(taaccount表中的名称)
  8260. type: string
  8261. appid:
  8262. description: AppID
  8263. type: string
  8264. authcode:
  8265. description: 授权码
  8266. type: string
  8267. brokerid:
  8268. description: 经纪商id
  8269. type: string
  8270. fcid:
  8271. description: 期货公司id
  8272. type: integer
  8273. fcname:
  8274. description: 期货公司代码
  8275. type: string
  8276. hedgeaccountcode:
  8277. description: 外部账号代码(主账号登录代码)
  8278. type: string
  8279. hedgeaccountpwd:
  8280. description: 密码
  8281. type: string
  8282. ismain:
  8283. description: 是否主账号
  8284. type: integer
  8285. relateduserid:
  8286. description: 关联用户id
  8287. type: integer
  8288. userid:
  8289. description: 关联用户id
  8290. type: integer
  8291. type: object
  8292. models.Market:
  8293. properties:
  8294. auctionwrtype:
  8295. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8296. type: integer
  8297. canacceptquote:
  8298. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8299. type: integer
  8300. cangoodsexercise:
  8301. description: '[期权]是否可现货行权- 0:否 1:是'
  8302. type: integer
  8303. cangoodsexercisetype:
  8304. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8305. type: integer
  8306. canmanualquotestrike:
  8307. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8308. type: integer
  8309. canmutistage:
  8310. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8311. type: integer
  8312. canpreexercise:
  8313. description: '[期权]是否可预申报- 0:否 1:是'
  8314. type: integer
  8315. clearinterval:
  8316. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8317. type: integer
  8318. contracttmp:
  8319. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8320. type: string
  8321. exchareaid:
  8322. description: 所属交易所,可以没有
  8323. type: integer
  8324. goodstype:
  8325. description: 商品类型 - 1:交易商品 2:仓单商品
  8326. type: integer
  8327. hasrebate:
  8328. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8329. type: integer
  8330. hastradecredit:
  8331. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8332. type: integer
  8333. haswr:
  8334. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8335. type: integer
  8336. isdeductmargin:
  8337. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8338. type: integer
  8339. isrecordsource:
  8340. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8341. type: integer
  8342. isreleasemargin:
  8343. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8344. type: integer
  8345. marginformula:
  8346. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8347. type: integer
  8348. marginformula2:
  8349. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8350. type: integer
  8351. marketid:
  8352. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8353. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8354. type: integer
  8355. marketname:
  8356. description: 市场名称
  8357. type: string
  8358. marketserviceid:
  8359. description: 市场服务ID
  8360. type: integer
  8361. marketstatus:
  8362. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8363. type: integer
  8364. markettype:
  8365. description: 市场类型- 1:非交易服务 2:交易服务
  8366. type: integer
  8367. matchermode:
  8368. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8369. type: integer
  8370. openmethod:
  8371. description: 开盘模式 - 0 自动 1手动
  8372. type: integer
  8373. otcuserid:
  8374. description: 场外期权做市商[场外期权]
  8375. type: integer
  8376. outersynctime:
  8377. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8378. type: string
  8379. pendingflag:
  8380. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8381. type: integer
  8382. pendingtime:
  8383. description: 待开市时间[通道交易-对冲](HH:mm)
  8384. type: string
  8385. performancetempid:
  8386. description: 履约计划模板ID - 作废
  8387. type: integer
  8388. premiumquotemode:
  8389. description: 权利金报价方式 - 1:自动 2:手动
  8390. type: integer
  8391. rebateratio:
  8392. description: 返利比率[竞价式]
  8393. type: number
  8394. reckonorder:
  8395. description: 结算顺序
  8396. type: integer
  8397. reckonpricealgorithm:
  8398. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8399. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8400. type: integer
  8401. reckonpriceparam:
  8402. description: 结算价参数
  8403. type: integer
  8404. reckontime:
  8405. description: 结算时间[通道交易-对冲](HH:mm)
  8406. type: string
  8407. roleprioritytype:
  8408. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8409. type: integer
  8410. selllistingauditflag:
  8411. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8412. type: integer
  8413. trademarkettype:
  8414. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8415. type: integer
  8416. trademode:
  8417. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8418. 21:竞拍-大宗式 22:受托竞价
  8419. type: integer
  8420. tradeproperty:
  8421. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8422. 8:场外期权
  8423. type: integer
  8424. tradetype:
  8425. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8426. type: integer
  8427. required:
  8428. - marketid
  8429. - marketstatus
  8430. - openmethod
  8431. - reckonpricealgorithm
  8432. - trademode
  8433. - tradeproperty
  8434. type: object
  8435. models.Marketrun:
  8436. properties:
  8437. afternexttradedate:
  8438. description: 下下交易日
  8439. type: string
  8440. clearquoteflag:
  8441. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8442. type: integer
  8443. lastreckondate:
  8444. description: 最新交易日(结算成功)
  8445. type: string
  8446. machinedate:
  8447. description: 机器时间
  8448. type: string
  8449. manualflag:
  8450. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8451. type: integer
  8452. marketid:
  8453. description: 市场ID
  8454. type: integer
  8455. nexttradedate:
  8456. description: 下一交易日
  8457. type: string
  8458. pretradedate:
  8459. description: 上一交易日
  8460. type: string
  8461. reckonflag:
  8462. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8463. type: integer
  8464. runstatus:
  8465. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8466. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8467. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8468. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8469. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8470. 62.今日免清算
  8471. type: integer
  8472. sectionid:
  8473. description: 时间段号[多时段时用]
  8474. type: integer
  8475. tradedate:
  8476. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8477. type: string
  8478. tradedate2:
  8479. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8480. type: string
  8481. updatetime:
  8482. description: 更新时间
  8483. type: string
  8484. required:
  8485. - marketid
  8486. - nexttradedate
  8487. - reckonflag
  8488. - runstatus
  8489. - tradedate
  8490. - tradedate2
  8491. type: object
  8492. models.Messageboard:
  8493. properties:
  8494. contactnum:
  8495. description: 联系电话
  8496. type: string
  8497. createtime:
  8498. description: 创建时间
  8499. type: string
  8500. message:
  8501. description: 留言信息
  8502. type: string
  8503. messageboardid:
  8504. description: 留言簿ID(SEQ_MessageBoard)
  8505. type: integer
  8506. userid:
  8507. description: 用户ID
  8508. type: integer
  8509. required:
  8510. - messageboardid
  8511. type: object
  8512. models.MyCoupon:
  8513. properties:
  8514. accountid:
  8515. description: 资金账户ID
  8516. type: integer
  8517. areauserid:
  8518. description: 所属机构
  8519. type: integer
  8520. conditionvalue:
  8521. description: 条件阈值(可为0)
  8522. type: number
  8523. couponcategroy:
  8524. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8525. type: integer
  8526. couponname:
  8527. description: 优惠券名称
  8528. type: string
  8529. coupontypeid:
  8530. description: 优惠券类型ID
  8531. type: string
  8532. couponvalue:
  8533. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8534. type: number
  8535. curfreezeqty:
  8536. description: 期末冻结数量
  8537. type: integer
  8538. curqty:
  8539. description: 期末数量
  8540. type: integer
  8541. isgeneral:
  8542. description: 是否通用券 - 0:否 1:是
  8543. type: integer
  8544. isunusable:
  8545. description: 是否不可用
  8546. type: boolean
  8547. limitedflag:
  8548. description: 是否指定商品 - 0:不限 1:限制
  8549. type: integer
  8550. limitedgoodsids:
  8551. description: 指定商品IDs[逗号分隔,前后加逗号]
  8552. type: string
  8553. orifreezeqty:
  8554. description: 期初冻结数量
  8555. type: integer
  8556. oriqty:
  8557. description: 期初数量
  8558. type: integer
  8559. reasontype:
  8560. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8561. type: integer
  8562. todaydecrease:
  8563. description: 今日减少
  8564. type: integer
  8565. todayincrease:
  8566. description: 今日增加
  8567. type: integer
  8568. userid:
  8569. description: 用户ID
  8570. type: integer
  8571. userscope:
  8572. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8573. type: string
  8574. required:
  8575. - accountid
  8576. - coupontypeid
  8577. type: object
  8578. models.MyCouponHold:
  8579. properties:
  8580. accountid:
  8581. description: 资金账户ID
  8582. type: integer
  8583. conditionvalue:
  8584. description: 条件阈值(可为0)
  8585. type: number
  8586. couponcategroy:
  8587. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8588. type: integer
  8589. couponholdid:
  8590. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8591. type: string
  8592. couponname:
  8593. description: 优惠券名称
  8594. type: string
  8595. coupontypeid:
  8596. description: 优惠券类型ID - SEQ_COUPONTYPE
  8597. type: string
  8598. couponvalue:
  8599. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8600. type: number
  8601. createtime:
  8602. description: 创建时间
  8603. type: string
  8604. enddate:
  8605. description: 结束日期
  8606. type: string
  8607. giveapplyid:
  8608. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8609. type: integer
  8610. holdstatus:
  8611. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8612. type: integer
  8613. isgeneral:
  8614. description: 是否通用券 - 0:否 1:是
  8615. type: integer
  8616. limitedflag:
  8617. description: 是否指定商品 - 0:不限 1:限制
  8618. type: integer
  8619. limitedgoodsids:
  8620. description: 指定商品IDs[逗号分隔]
  8621. type: string
  8622. qty:
  8623. description: 数量(按1平铺)
  8624. type: integer
  8625. startdate:
  8626. description: 开始日期
  8627. type: string
  8628. userid:
  8629. description: 用户ID
  8630. type: integer
  8631. userscope:
  8632. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8633. type: string
  8634. required:
  8635. - couponholdid
  8636. type: object
  8637. models.MyUsedCoupon:
  8638. properties:
  8639. accountid:
  8640. description: 资金账户ID(买方)
  8641. type: integer
  8642. conditionvalue:
  8643. description: 条件阈值(可为0)
  8644. type: number
  8645. couponcategroy:
  8646. description: 种类 - 1:现金券 2:折扣券
  8647. type: integer
  8648. couponname:
  8649. description: 优惠券名称
  8650. type: string
  8651. coupontypeid:
  8652. description: 优惠券类型ID(买方)
  8653. type: string
  8654. couponvalue:
  8655. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8656. type: number
  8657. createtime:
  8658. description: 创建时间
  8659. type: string
  8660. goodsid:
  8661. description: 商品ID
  8662. type: integer
  8663. handlestatus:
  8664. description: 处理状态
  8665. type: integer
  8666. marketid:
  8667. description: 市场ID
  8668. type: integer
  8669. offamount:
  8670. description: 优惠金额
  8671. type: number
  8672. orderid:
  8673. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8674. type: string
  8675. sellaccountid:
  8676. description: 资金账户ID(卖方)
  8677. type: integer
  8678. tradeamount:
  8679. description: 成交金额
  8680. type: number
  8681. tradeid:
  8682. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8683. type: string
  8684. usedqty:
  8685. description: 使用数量
  8686. type: integer
  8687. required:
  8688. - coupontypeid
  8689. - orderid
  8690. type: object
  8691. models.OperationPrimaryMenu:
  8692. properties:
  8693. Children:
  8694. description: 二级功能菜单
  8695. items:
  8696. $ref: '#/definitions/models.OperationSecondaryMenu'
  8697. type: array
  8698. Key:
  8699. description: 菜单KEY
  8700. type: string
  8701. Label:
  8702. description: 菜单标题
  8703. type: string
  8704. type: object
  8705. models.OperationSecondaryMenu:
  8706. properties:
  8707. Key:
  8708. description: 菜单KEY
  8709. type: string
  8710. Label:
  8711. description: 菜单标题
  8712. type: string
  8713. TabList:
  8714. description: 三级功能菜单
  8715. items:
  8716. $ref: '#/definitions/models.OperationTabMenu'
  8717. type: array
  8718. type: object
  8719. models.OperationTabMenu:
  8720. properties:
  8721. Key:
  8722. description: 菜单KEY
  8723. type: string
  8724. Label:
  8725. description: 菜单标题
  8726. type: string
  8727. type: object
  8728. models.QueryErrorInfosRsp:
  8729. properties:
  8730. description:
  8731. description: 异常描述
  8732. type: string
  8733. errorcode:
  8734. description: 异常代码
  8735. type: string
  8736. errorid:
  8737. description: 异常ID
  8738. type: integer
  8739. modulecode:
  8740. description: 所属模块
  8741. type: string
  8742. operatecode:
  8743. description: 所属操作
  8744. type: string
  8745. rownumber:
  8746. description: 行号
  8747. type: string
  8748. required:
  8749. - errorid
  8750. type: object
  8751. models.QueryHedgeOrderDetailRsp:
  8752. properties:
  8753. accountid:
  8754. description: 账户ID
  8755. type: integer
  8756. buyorsell:
  8757. description: 买卖 - 0:买 1:卖
  8758. type: integer
  8759. cancellogincode:
  8760. description: 撤单人
  8761. type: string
  8762. channelbuildtype:
  8763. description: 开平标志 - 0:无 1:建仓 2:平仓
  8764. type: integer
  8765. channelinnerorderstatus:
  8766. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  8767. 9:全部成交
  8768. type: integer
  8769. channeloperatetype:
  8770. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  8771. type: integer
  8772. closetype:
  8773. description: 平仓方式 - 0:无 1:平今 2:平昨
  8774. type: integer
  8775. curexchangerate:
  8776. description: 当前汇率
  8777. type: number
  8778. exchangefullname:
  8779. description: 外部交易所全称
  8780. type: string
  8781. goodscode:
  8782. description: 商品代码(内部)
  8783. type: string
  8784. goodsid:
  8785. description: 商品ID
  8786. type: integer
  8787. goodsname:
  8788. description: 商品名称
  8789. type: string
  8790. marketid:
  8791. description: 市场ID
  8792. type: integer
  8793. openfreezemargin:
  8794. description: 冻结保证金(冻结交易金额)
  8795. type: number
  8796. orderid:
  8797. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8798. type: string
  8799. orderlogincode:
  8800. description: 委托人
  8801. type: string
  8802. orderprice:
  8803. description: 委托价格(账户)
  8804. type: number
  8805. orderqty:
  8806. description: 委托数量
  8807. type: integer
  8808. ordertime:
  8809. description: 委托时间
  8810. type: string
  8811. pricemode:
  8812. description: '取价方式 - 1:市价 2: 限价'
  8813. type: integer
  8814. tradedate:
  8815. description: 交易日(yyyyMMdd)
  8816. type: string
  8817. tradeqty:
  8818. description: 成交数量
  8819. type: integer
  8820. type: object
  8821. models.QueryHedgeTradeDetailRsp:
  8822. properties:
  8823. accountid:
  8824. description: 账号ID
  8825. type: integer
  8826. buyorsell:
  8827. description: 方向 - 0:买 1:卖
  8828. type: integer
  8829. channelbuildtype:
  8830. description: 委托单据类型 0:无 1:建仓 2:平仓
  8831. type: integer
  8832. closecharge:
  8833. description: 平仓手续费(账户)
  8834. type: number
  8835. closecharge2:
  8836. description: 平仓手续费(商品)
  8837. type: number
  8838. closepl:
  8839. description: 平仓盈亏(账户)
  8840. type: number
  8841. closepl2:
  8842. description: 平仓盈亏(商品)
  8843. type: number
  8844. closepl3:
  8845. description: 平仓盈亏(账户)(逐笔)
  8846. type: number
  8847. closepl4:
  8848. description: 平仓盈亏(商品)(逐笔)
  8849. type: number
  8850. closetype:
  8851. description: 平仓方式 - 0:无 1:平今 2:平昨
  8852. type: integer
  8853. curexchangerate:
  8854. description: 当前汇率
  8855. type: number
  8856. exchangefullname:
  8857. description: 外部交易所全称
  8858. type: string
  8859. goodscode:
  8860. description: 商品代码(内部)
  8861. type: string
  8862. goodsid:
  8863. description: 商品ID
  8864. type: integer
  8865. goodsname:
  8866. description: 商品名称
  8867. type: string
  8868. marketid:
  8869. description: 市场ID
  8870. type: integer
  8871. opencharge:
  8872. description: 建仓手续费(账户)
  8873. type: number
  8874. opencharge2:
  8875. description: 建仓手续费(商品)
  8876. type: number
  8877. orderid:
  8878. description: 委托单号
  8879. type: string
  8880. orderlogincode:
  8881. description: 委托人
  8882. type: string
  8883. tradeamount:
  8884. description: 成交金额(账户)
  8885. type: number
  8886. tradedate:
  8887. description: 交易日(yyyyMMdd)
  8888. type: string
  8889. tradeid:
  8890. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8891. type: string
  8892. tradeprice:
  8893. description: 成交价格
  8894. type: number
  8895. tradeqty:
  8896. description: 成交数量
  8897. type: integer
  8898. tradetime:
  8899. description: 成交时间
  8900. type: string
  8901. tradetype:
  8902. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  8903. type: integer
  8904. type: object
  8905. models.QuotePrimaryMenu:
  8906. properties:
  8907. Index:
  8908. description: 序号
  8909. type: integer
  8910. Key:
  8911. description: 键名
  8912. type: string
  8913. Name:
  8914. description: 菜单名称
  8915. type: string
  8916. SubMenus:
  8917. description: 子菜单
  8918. items:
  8919. $ref: '#/definitions/models.QuoteSecondaryMenu'
  8920. type: array
  8921. SubTitleType:
  8922. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  8923. type: integer
  8924. TradeModes:
  8925. description: 包含市场交易类型
  8926. type: string
  8927. type: object
  8928. models.QuoteSecondaryMenu:
  8929. properties:
  8930. ExExchangeCode:
  8931. description: 外部交易所代码
  8932. type: string
  8933. ExExchangeID:
  8934. description: 外部交易所ID
  8935. type: integer
  8936. GoodsGroupIDs:
  8937. description: 商品组ID列表
  8938. items:
  8939. type: integer
  8940. type: array
  8941. Index:
  8942. description: 序号
  8943. type: integer
  8944. MarketID:
  8945. description: 市场ID
  8946. type: integer
  8947. MenuTitle:
  8948. description: 菜单标题(市场名称或外部交易所名称)
  8949. type: string
  8950. TradeMode:
  8951. description: 交易模式
  8952. type: integer
  8953. type: object
  8954. models.SearchGoods:
  8955. properties:
  8956. goodscode:
  8957. description: 商品代码(内部)
  8958. type: string
  8959. goodsid:
  8960. description: 商品ID(自增ID SEQ_GOODS)
  8961. type: integer
  8962. goodsname:
  8963. description: 商品名称
  8964. type: string
  8965. marketid:
  8966. description: 所属市场ID
  8967. type: integer
  8968. marketname:
  8969. description: 市场名称
  8970. type: string
  8971. trademode:
  8972. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8973. 21:竞拍-大宗式 22:受托竞价
  8974. type: integer
  8975. required:
  8976. - goodscode
  8977. - goodsid
  8978. - goodsname
  8979. - marketid
  8980. - trademode
  8981. type: object
  8982. models.Systemparam:
  8983. properties:
  8984. loginid:
  8985. description: 更新用户账号,登录账号
  8986. type: string
  8987. modifyflag:
  8988. description: 修改标志0 不允许修改 1 允许修改
  8989. type: integer
  8990. paramcode:
  8991. description: 参数代码
  8992. type: string
  8993. paramname:
  8994. description: 参数名
  8995. type: string
  8996. paramtype:
  8997. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  8998. type: integer
  8999. paramvalue:
  9000. description: 参数值
  9001. type: string
  9002. paramvalue2:
  9003. description: 参数值(CLOB)
  9004. type: string
  9005. regexpress:
  9006. description: 正则表达式
  9007. type: string
  9008. remark:
  9009. description: 备注
  9010. type: string
  9011. serverip:
  9012. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9013. type: string
  9014. showflag:
  9015. description: 是否显示0 不显示 1 显示
  9016. type: integer
  9017. updatetime:
  9018. description: 更新时间
  9019. type: string
  9020. userid:
  9021. description: 更新用户ID
  9022. type: integer
  9023. required:
  9024. - paramcode
  9025. type: object
  9026. models.Szdz3convertconfig:
  9027. properties:
  9028. canin:
  9029. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9030. type: integer
  9031. canout:
  9032. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9033. type: integer
  9034. converttype:
  9035. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9036. 6:交易转花生米(不设置)
  9037. type: integer
  9038. createtime:
  9039. description: 创建时间
  9040. type: string
  9041. creatorid:
  9042. description: 创建人
  9043. type: integer
  9044. daymaxvalue:
  9045. description: 当日最大转入限制
  9046. type: number
  9047. freezedays:
  9048. description: 冻结天数 [5:花生米转交易]
  9049. type: integer
  9050. innergoodsid:
  9051. description: 内部商品ID[交易]
  9052. type: integer
  9053. inratio:
  9054. description: 目标值
  9055. type: integer
  9056. modifierid:
  9057. description: 修改人
  9058. type: integer
  9059. modifytime:
  9060. description: 修改时间
  9061. type: string
  9062. outergoodscode:
  9063. description: 外部商品代码[JD\PD]
  9064. type: string
  9065. outratio:
  9066. description: 源值
  9067. type: integer
  9068. pddecimalplace:
  9069. description: PD小数位
  9070. type: integer
  9071. timemaxvalue:
  9072. description: 单次最大转入限制
  9073. type: number
  9074. timeminvalue:
  9075. description: 单次最小转入限制
  9076. type: number
  9077. required:
  9078. - converttype
  9079. - innergoodsid
  9080. - outergoodscode
  9081. type: object
  9082. models.Szdz3searchwhitelist:
  9083. properties:
  9084. createtime:
  9085. description: 创建时间
  9086. type: string
  9087. creatorid:
  9088. description: 创建人
  9089. type: integer
  9090. modifierid:
  9091. description: 修改人
  9092. type: integer
  9093. modifytime:
  9094. description: 修改时间
  9095. type: string
  9096. userid:
  9097. description: 用户ID
  9098. type: integer
  9099. required:
  9100. - userid
  9101. type: object
  9102. models.Taaccount:
  9103. properties:
  9104. accountflag:
  9105. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9106. type: integer
  9107. accountid:
  9108. description: 资金账户ID
  9109. type: integer
  9110. accountname:
  9111. description: 账户名称
  9112. type: string
  9113. balance:
  9114. description: 期初余额
  9115. type: number
  9116. capitalbalance:
  9117. description: 本金余额[外部子账户实际出入金余额]
  9118. type: number
  9119. changeflag:
  9120. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9121. type: integer
  9122. changetime:
  9123. description: 账户状态变更时间
  9124. type: string
  9125. closepl:
  9126. description: 今日平仓盈亏
  9127. type: number
  9128. creditdecrease:
  9129. description: 今日授信减少
  9130. type: number
  9131. creditincrease:
  9132. description: 今日授信增加
  9133. type: number
  9134. currencyid:
  9135. description: 货币ID
  9136. type: integer
  9137. currentbalance:
  9138. description: 期末余额
  9139. type: number
  9140. freezecharge:
  9141. description: 手续费冻结
  9142. type: number
  9143. freezemargin:
  9144. description: 冻结保证金
  9145. type: number
  9146. fromaccountid:
  9147. description: 所属上级账户
  9148. type: integer
  9149. inamount:
  9150. description: 今日入金金额(包括三方入金)
  9151. type: number
  9152. ismain:
  9153. description: 是否母账号 0:不是母账户 1:是母账户
  9154. type: integer
  9155. ismarketaccount:
  9156. description: 是否机构接单账号 0:不是 1:是
  9157. type: integer
  9158. isreckonaccount:
  9159. description: 是否机构分润账号 0:不是 1:是
  9160. type: integer
  9161. mortgagecredit:
  9162. description: 授信金额
  9163. type: number
  9164. orifreezecharge:
  9165. description: 期初手续费冻结
  9166. type: number
  9167. orifreezemargin:
  9168. description: 期初冻结保证金
  9169. type: number
  9170. orimortgagecredit:
  9171. description: 期初授信金额
  9172. type: number
  9173. oriothercredit:
  9174. description: 期初其它授信金额
  9175. type: number
  9176. oriotherfreezemargin:
  9177. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9178. type: number
  9179. orioutamountfreeze:
  9180. description: 期初出金冻结
  9181. type: number
  9182. oriusedmargin:
  9183. description: 期初占用保证金
  9184. type: number
  9185. othercredit:
  9186. description: 其它授信金额
  9187. type: number
  9188. othercreditdecrease:
  9189. description: 今日其它授信减少
  9190. type: number
  9191. othercreditincrease:
  9192. description: 今日其它授信增加
  9193. type: number
  9194. otherfreezemargin:
  9195. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9196. type: number
  9197. otherincome:
  9198. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9199. type: number
  9200. otherpay:
  9201. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9202. type: number
  9203. outamount:
  9204. description: 今日出金金额(包括三方出金)
  9205. type: number
  9206. outamountfreeze:
  9207. description: 出金冻结
  9208. type: number
  9209. outthreshold:
  9210. description: 出金阈值
  9211. type: number
  9212. parentaccountid:
  9213. description: 所属根账号
  9214. type: integer
  9215. paycharge:
  9216. description: 今日手续费支出
  9217. type: number
  9218. relatedaccountstatus:
  9219. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9220. type: integer
  9221. relateduserid:
  9222. description: 关联用户
  9223. type: integer
  9224. serivcegroup:
  9225. description: 服务分组
  9226. type: integer
  9227. signstatus:
  9228. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9229. type: integer
  9230. sublevelpath:
  9231. description: 账号层级路径(逗号分隔,首尾加逗号)
  9232. type: string
  9233. taaccounttype:
  9234. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9235. type: integer
  9236. thirdinamount:
  9237. description: 今日三方入金
  9238. type: number
  9239. thirdoutamount:
  9240. description: 今日三方出金
  9241. type: number
  9242. tradestatus:
  9243. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9244. type: integer
  9245. tradestatuschangetime:
  9246. description: 激活时间
  9247. type: string
  9248. transferamount:
  9249. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9250. type: number
  9251. usedmargin:
  9252. description: 占用保证金
  9253. type: number
  9254. userid:
  9255. description: 用户ID
  9256. type: integer
  9257. required:
  9258. - accountid
  9259. - userid
  9260. type: object
  9261. models.Tablecolumnconfig:
  9262. properties:
  9263. aligntype:
  9264. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9265. type: integer
  9266. autoid:
  9267. description: AutoID
  9268. type: integer
  9269. columnfield:
  9270. description: 列字段
  9271. type: string
  9272. columntitle:
  9273. description: 列Title
  9274. type: string
  9275. columnwidth:
  9276. description: 列宽
  9277. type: string
  9278. formatterstring:
  9279. description: 格式化字符
  9280. type: string
  9281. formattertype:
  9282. description: 格式化类型
  9283. type: string
  9284. groupname:
  9285. description: 表头分组名称
  9286. type: string
  9287. isshow:
  9288. description: 是否显示 - 0:不显示 1:显示
  9289. type: integer
  9290. needsummary:
  9291. description: 是否需要汇总 - 0:不需要 1:需要
  9292. type: integer
  9293. orderindex:
  9294. description: 顺序
  9295. type: integer
  9296. remark:
  9297. description: 备注
  9298. type: string
  9299. summarytype:
  9300. description: 汇总类型 - 1:加总 2:最后一个
  9301. type: integer
  9302. tablekey:
  9303. description: 列表Key
  9304. type: string
  9305. required:
  9306. - autoid
  9307. type: object
  9308. models.Useraccount:
  9309. properties:
  9310. accountname:
  9311. description: 账户名称(机构名称)
  9312. type: string
  9313. accountstatus:
  9314. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9315. type: integer
  9316. auditremark:
  9317. description: 审核备注
  9318. type: string
  9319. audittime:
  9320. description: 审核时间
  9321. type: string
  9322. audituserid:
  9323. description: 审核人
  9324. type: integer
  9325. broker:
  9326. description: 所属经纪人ID
  9327. type: integer
  9328. canceltime:
  9329. description: 销户时间
  9330. type: string
  9331. canceluserid:
  9332. description: 销户人
  9333. type: integer
  9334. createtime:
  9335. description: 创建时间
  9336. type: string
  9337. creatorid:
  9338. description: 创建人
  9339. type: integer
  9340. hasauth:
  9341. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  9342. type: integer
  9343. isanonymous:
  9344. description: 是否匿名下单 - 0:否 1:是
  9345. type: integer
  9346. maxinvestornum:
  9347. description: 最大用户数(经纪会员下投资者个数)
  9348. type: integer
  9349. memberuserid:
  9350. description: 所属会员ID
  9351. type: integer
  9352. modifierid:
  9353. description: 修改人
  9354. type: integer
  9355. modifyremark:
  9356. description: 变更备注
  9357. type: string
  9358. modifystatus:
  9359. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  9360. type: integer
  9361. modifytime:
  9362. description: 修改时间
  9363. type: string
  9364. parentuserid:
  9365. description: 所属机构ID
  9366. type: integer
  9367. reckonaccountid:
  9368. description: 默认结算资金账号ID(机构分润使用) 作废
  9369. type: integer
  9370. refercount:
  9371. description: 推荐总人数
  9372. type: integer
  9373. refereeuserid:
  9374. description: 推荐人ID
  9375. type: integer
  9376. refernum:
  9377. description: 推荐码
  9378. type: string
  9379. subarealevelpath:
  9380. description: 子机构层级路径(逗号分隔,首尾加逗号)
  9381. type: string
  9382. userid:
  9383. description: 用户ID
  9384. type: integer
  9385. usertype:
  9386. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9387. type: integer
  9388. required:
  9389. - userid
  9390. type: object
  9391. models.Userfavoritegoods:
  9392. properties:
  9393. goodsid:
  9394. description: 商品ID
  9395. type: integer
  9396. required:
  9397. - goodsid
  9398. type: object
  9399. models.Userinfo:
  9400. properties:
  9401. address:
  9402. description: 地址
  9403. type: string
  9404. attachment1:
  9405. description: 附件1
  9406. type: string
  9407. attachment2:
  9408. description: 附件2
  9409. type: string
  9410. bankaccount:
  9411. description: 银行帐号 (加密存储)
  9412. type: string
  9413. bankaccountname:
  9414. description: 收款人名称
  9415. type: string
  9416. bankcardfrontphotourl:
  9417. description: 银行卡正面照地址
  9418. type: string
  9419. bankid:
  9420. description: 银行编码
  9421. type: string
  9422. bankname:
  9423. description: 银行名称
  9424. type: string
  9425. biznature:
  9426. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  9427. type: integer
  9428. bizscope:
  9429. description: 企业经营范围(企业)
  9430. type: string
  9431. cardbackphotourl:
  9432. description: 证件背面图片地址
  9433. type: string
  9434. cardfrontphotourl:
  9435. description: 证件正面图片地址
  9436. type: string
  9437. cardnum:
  9438. description: 证件号码(加密存储)
  9439. type: string
  9440. cardtypeid:
  9441. description: 证件类型ID
  9442. type: integer
  9443. cityid:
  9444. description: 市
  9445. type: integer
  9446. company:
  9447. description: 公司(个人)
  9448. type: string
  9449. contactname:
  9450. description: 联系人
  9451. type: string
  9452. countryid:
  9453. description: 国家
  9454. type: integer
  9455. createtime:
  9456. description: 创建时间
  9457. type: string
  9458. creatorid:
  9459. description: 创建人
  9460. type: integer
  9461. customername:
  9462. description: 客户名称(企业名称)
  9463. type: string
  9464. districtid:
  9465. description: 地区
  9466. type: integer
  9467. email:
  9468. description: 邮件(加密存储)
  9469. type: string
  9470. fax:
  9471. description: 传真(加密存储)
  9472. type: string
  9473. halfbodyphotourl:
  9474. description: 半身照地址
  9475. type: string
  9476. hasencrypt:
  9477. description: 数据是否已加密 - 0:未加密 1:已加密
  9478. type: integer
  9479. headurl:
  9480. description: 头像地址
  9481. type: string
  9482. legalcardbackphotourl:
  9483. description: 法人身份证背面照地址
  9484. type: string
  9485. legalcardfrontphotourl:
  9486. description: 法人身份证正面照地址
  9487. type: string
  9488. legalpersonname:
  9489. description: 法人姓名(企业)
  9490. type: string
  9491. mobile:
  9492. description: 手机号码(加密存储)
  9493. type: string
  9494. mobile2:
  9495. description: 手机号码[明文-尚志]
  9496. type: string
  9497. modifierid:
  9498. description: 修改人
  9499. type: integer
  9500. modifiertime:
  9501. description: 修改时间
  9502. type: string
  9503. needinvoice:
  9504. description: 是否需要发票 - 0:不需要 1:需要
  9505. type: integer
  9506. nickname:
  9507. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  9508. type: string
  9509. openmode:
  9510. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  9511. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  9512. type: integer
  9513. otherurl:
  9514. description: 其它图片地址[使用分号分隔]
  9515. type: string
  9516. postalcode:
  9517. description: 邮政编码
  9518. type: string
  9519. provinceid:
  9520. description: 省
  9521. type: integer
  9522. qq:
  9523. description: QQ(加密存储
  9524. type: string
  9525. remark:
  9526. description: 备注
  9527. type: string
  9528. sex:
  9529. description: '用户性别 0: 女 1: 男'
  9530. type: integer
  9531. signpdfurl:
  9532. description: 签约pdf文件
  9533. type: string
  9534. telphone:
  9535. description: 联系电话(加密存储)
  9536. type: string
  9537. userid:
  9538. description: 用户ID
  9539. type: integer
  9540. userinfotype:
  9541. description: 用户信息类型 - 1:个人 2:企业
  9542. type: integer
  9543. userstatus:
  9544. description: 用户状态 - 1:正常 2:注销
  9545. type: integer
  9546. usertype:
  9547. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9548. type: integer
  9549. wechat:
  9550. description: 微信(加密存储)
  9551. type: string
  9552. wskhinfo:
  9553. description: 开户申请信息(JSON)
  9554. type: string
  9555. required:
  9556. - userid
  9557. type: object
  9558. models.WRSConverTDetail:
  9559. properties:
  9560. convertratio:
  9561. description: 套保系数
  9562. type: number
  9563. deliverygoodscode:
  9564. description: 现货商品代码
  9565. type: string
  9566. deliverygoodsid:
  9567. description: 现货品种ID
  9568. type: integer
  9569. deliverygoodsname:
  9570. description: 现货商品名称
  9571. type: string
  9572. enumdicname:
  9573. description: 单位名称
  9574. type: string
  9575. goodsunitid:
  9576. description: 套保品种单位id
  9577. type: integer
  9578. middlegoodscode:
  9579. description: 套保品种代码
  9580. type: string
  9581. middlegoodsid:
  9582. description: 套保品种ID
  9583. type: integer
  9584. middlegoodsname:
  9585. description: 套保品种名称
  9586. type: string
  9587. modifytime:
  9588. description: 修改时间
  9589. type: string
  9590. wrstandardid:
  9591. description: 品类ID
  9592. type: integer
  9593. type: object
  9594. models.WRStandardInfo:
  9595. properties:
  9596. areauserid:
  9597. description: 所属机构
  9598. type: integer
  9599. convertfactor:
  9600. description: 标仓系数
  9601. type: number
  9602. createtime:
  9603. description: 创建时间
  9604. type: string
  9605. creatorid:
  9606. description: 创建人
  9607. type: integer
  9608. deliverygoodsid:
  9609. description: 品种ID
  9610. type: integer
  9611. deliverygoodsname:
  9612. description: 交割商品名称
  9613. type: string
  9614. factoryitemjson:
  9615. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  9616. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  9617. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  9618. 逗号分隔'
  9619. type: string
  9620. isvalid:
  9621. description: 是否有效 - 0:无效 1:有效
  9622. type: integer
  9623. minivalue:
  9624. description: 最小变动值
  9625. type: integer
  9626. minivaluedp:
  9627. description: 最小变动值小数位
  9628. type: integer
  9629. realminivalue:
  9630. description: 实际最小变动值
  9631. type: integer
  9632. realminivaluedp:
  9633. description: 实际最小变动值小数位
  9634. type: integer
  9635. remark:
  9636. description: 备注
  9637. type: string
  9638. unitid:
  9639. description: 单位ID
  9640. type: integer
  9641. unitname:
  9642. description: 单位
  9643. type: string
  9644. updatetime:
  9645. description: 更新时间
  9646. type: string
  9647. updatorid:
  9648. description: 更新人
  9649. type: integer
  9650. wrsstatus:
  9651. description: 状态 - 作废 - 0:未激活 1:正常
  9652. type: integer
  9653. wrstandardcode:
  9654. description: 现货品类代码
  9655. type: string
  9656. wrstandardid:
  9657. description: 现货品类ID(SEQ_WRSTANDARD)
  9658. type: integer
  9659. wrstandardname:
  9660. description: 现货品类名称
  9661. type: string
  9662. required:
  9663. - wrstandardid
  9664. type: object
  9665. models.Warehouseinfo:
  9666. properties:
  9667. address:
  9668. description: 详细地址
  9669. type: string
  9670. areauserid:
  9671. description: 所属机构
  9672. type: integer
  9673. autoid:
  9674. description: 自增ID
  9675. type: integer
  9676. cityid:
  9677. description: 市
  9678. type: integer
  9679. contactname:
  9680. description: 联系人
  9681. type: string
  9682. contactnum:
  9683. description: 联系电话
  9684. type: string
  9685. countryid:
  9686. description: 国家
  9687. type: integer
  9688. createtime:
  9689. description: 创建时间
  9690. type: string
  9691. districtid:
  9692. description: 区
  9693. type: integer
  9694. hasvideo:
  9695. description: 是否有视频 - 0:无 1:有
  9696. type: integer
  9697. provinceid:
  9698. description: 省
  9699. type: integer
  9700. remark:
  9701. description: 审核备注
  9702. type: string
  9703. videourl:
  9704. description: 视频地址
  9705. type: string
  9706. warehousecode:
  9707. description: 仓库代码
  9708. type: string
  9709. warehousename:
  9710. description: 仓库名称
  9711. type: string
  9712. warehousestatus:
  9713. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9714. type: integer
  9715. warehousetype:
  9716. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9717. type: integer
  9718. required:
  9719. - autoid
  9720. - warehousecode
  9721. type: object
  9722. order.QueryHisTradeDetailRsp:
  9723. properties:
  9724. accountid:
  9725. description: 账户ID[报价币种]
  9726. type: integer
  9727. buildtype:
  9728. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9729. type: integer
  9730. buyorsell:
  9731. description: 方向 - 0:买 1:卖
  9732. type: integer
  9733. charge:
  9734. description: 手续费
  9735. type: number
  9736. closecharge:
  9737. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9738. type: number
  9739. closeexchagechargevalue:
  9740. description: 平仓交易所手续费设置值
  9741. type: number
  9742. closefeealgorithm:
  9743. description: 平仓手续费收取方式 1:比率 2:固定
  9744. type: integer
  9745. closememberchargevalue:
  9746. description: 平仓会员手续费设置值
  9747. type: number
  9748. closepl:
  9749. description: 平仓盈亏
  9750. type: number
  9751. closepl2:
  9752. description: 平仓盈亏[逐笔]
  9753. type: number
  9754. closeqty:
  9755. description: 平仓数量(先建后平操作 需要记录)
  9756. type: integer
  9757. creditamount:
  9758. description: 授信金额
  9759. type: number
  9760. gcaccountid:
  9761. description: 账户ID[合约币种]
  9762. type: integer
  9763. goodscode:
  9764. description: 商品代码
  9765. type: string
  9766. goodsid:
  9767. description: 商品ID
  9768. type: integer
  9769. goodsname:
  9770. description: 商品名称
  9771. type: string
  9772. histradedate:
  9773. description: 历史交易日
  9774. type: string
  9775. intclosepl:
  9776. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9777. type: integer
  9778. isconfirmexercise:
  9779. description: 是否确认行权- 0:否 1:是
  9780. type: integer
  9781. ismain:
  9782. description: 是否主单 - 0:不是 1:是
  9783. type: integer
  9784. ispreexercise:
  9785. description: 是否预申报- 0:否 1:是
  9786. type: integer
  9787. isreckoned:
  9788. description: 是否结算 - 0:未结算 1:已结算
  9789. type: integer
  9790. isvaliddata:
  9791. description: 是否有效 - 0:无效 1:有效
  9792. type: integer
  9793. listingselecttype:
  9794. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9795. type: integer
  9796. marketid:
  9797. description: 市场ID
  9798. type: integer
  9799. marketname:
  9800. description: 市场名称
  9801. type: string
  9802. matchaccountid:
  9803. description: 对手账号id
  9804. type: integer
  9805. memberuserid:
  9806. description: 会员id 个人投资者 需要填写
  9807. type: integer
  9808. opencharge:
  9809. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9810. type: number
  9811. openexchagechargevalue:
  9812. description: 建仓交易所手续费设置值
  9813. type: number
  9814. openfeealgorithm:
  9815. description: 建仓手续费收取方式 1:比率 2:固定
  9816. type: integer
  9817. openmemberchargevalue:
  9818. description: 建仓会员手续费设置值
  9819. type: number
  9820. openqty:
  9821. description: 开仓数量(先建后平操作 需要记录)
  9822. type: integer
  9823. optiontype:
  9824. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9825. type: integer
  9826. orderid:
  9827. description: 委托单号
  9828. type: string
  9829. performanceplanid:
  9830. description: 履约计划ID[期权]
  9831. type: integer
  9832. performancestatus:
  9833. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9834. type: integer
  9835. preexerciseprice:
  9836. description: 预申报价格
  9837. type: number
  9838. premium:
  9839. description: 权利金 - [持仓单的权利金]
  9840. type: number
  9841. relatedouttradeid:
  9842. description: 关联外部成交单ID
  9843. type: integer
  9844. status:
  9845. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9846. type: integer
  9847. tradeamount:
  9848. description: 成交金额[账户币种,用于所有权]
  9849. type: number
  9850. tradedate:
  9851. description: 交易日(yyyyMMdd)
  9852. type: string
  9853. tradeid:
  9854. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9855. type: string
  9856. trademode:
  9857. description: 交易模式
  9858. type: integer
  9859. tradeprice:
  9860. description: 成交价格
  9861. type: number
  9862. tradeproperty:
  9863. description: 交易属性
  9864. type: integer
  9865. tradeqty:
  9866. description: 成交数量
  9867. type: integer
  9868. tradetime:
  9869. description: 成交时间
  9870. type: string
  9871. tradetype:
  9872. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9873. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9874. type: integer
  9875. required:
  9876. - accountid
  9877. - buyorsell
  9878. - goodsid
  9879. - histradedate
  9880. - marketid
  9881. - memberuserid
  9882. - orderid
  9883. - tradeamount
  9884. - tradedate
  9885. - tradeid
  9886. - tradeprice
  9887. - tradeqty
  9888. - tradetime
  9889. type: object
  9890. order.QueryHisTradeOrderDetailRsp:
  9891. properties:
  9892. accountid:
  9893. description: 账户ID[报价币种]
  9894. type: integer
  9895. buildtype:
  9896. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9897. type: integer
  9898. buyorsell:
  9899. description: 买卖 - 0:买 1:卖
  9900. type: integer
  9901. cancelorderid:
  9902. description: 撤单单号(撤单时填写)
  9903. type: string
  9904. cancelqty:
  9905. description: 撤单数量
  9906. type: integer
  9907. clientordertime:
  9908. description: 客户端委托时间
  9909. type: string
  9910. clientticket:
  9911. description: 客户端流水号
  9912. type: string
  9913. clienttype:
  9914. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9915. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9916. type: integer
  9917. closeexchagechargevalue:
  9918. description: 平仓交易所手续费设置值
  9919. type: number
  9920. closefeealgorithm:
  9921. description: 平仓手续费收取方式 1:比率 2:固定
  9922. type: integer
  9923. closefreezecharge:
  9924. description: 平仓冻结手续费(先建后平操作,需要记录)
  9925. type: number
  9926. closememberchargevalue:
  9927. description: 平仓会员手续费设置值
  9928. type: number
  9929. closeqty:
  9930. description: 平仓数量(先建后平操作 需要记录)
  9931. type: integer
  9932. closetradeqty:
  9933. description: 平仓成交数量(先建后平操作,需要记录)
  9934. type: integer
  9935. closeunfreezecharge:
  9936. description: 平仓解冻手续费(先建后平操作,需要记录)
  9937. type: number
  9938. delistingtype:
  9939. description: 摘牌类型 - 1:价格最优 2:点选成交
  9940. type: integer
  9941. freezecharge:
  9942. description: 冻结手续费
  9943. type: number
  9944. freezemargin:
  9945. description: 冻结保证金(冻结交易金额)
  9946. type: number
  9947. gcaccountid:
  9948. description: 账户ID[合约币种]
  9949. type: integer
  9950. goodscode:
  9951. description: 商品代码
  9952. type: string
  9953. goodsid:
  9954. description: 商品ID
  9955. type: integer
  9956. goodsname:
  9957. description: 商品名称
  9958. type: string
  9959. histradedate:
  9960. description: 历史交易日
  9961. type: string
  9962. isconfirmexercise:
  9963. description: 是否确认行权- 0:否 1:是
  9964. type: integer
  9965. ispreexercise:
  9966. description: 是否预申报- 0:否 1:是
  9967. type: integer
  9968. isvaliddata:
  9969. description: 是否有效 - 0:无效 1:有效
  9970. type: integer
  9971. listingselecttype:
  9972. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9973. type: integer
  9974. marginalgorithm:
  9975. description: 保证金收取方式 1:比率 2:固定
  9976. type: integer
  9977. marginvalue:
  9978. description: 即市保证金设置值
  9979. type: number
  9980. marketid:
  9981. description: 市场ID
  9982. type: integer
  9983. marketmaxsub:
  9984. description: 市价最大偏移范围
  9985. type: number
  9986. marketname:
  9987. description: 市场名称
  9988. type: string
  9989. memberuserid:
  9990. description: 所属会员UserID
  9991. type: integer
  9992. openexchagechargevalue:
  9993. description: 建仓交易所手续费设置值
  9994. type: number
  9995. openfeealgorithm:
  9996. description: 建仓手续费收取方式 1:比率 2:固定
  9997. type: integer
  9998. openfreezecharge:
  9999. description: 开仓冻结手续费(先建后平操作,需要记录)
  10000. type: number
  10001. openmemberchargevalue:
  10002. description: 建仓会员手续费设置值
  10003. type: number
  10004. openqty:
  10005. description: 开仓数量(先建后平操作,需要记录)
  10006. type: integer
  10007. opentradeqty:
  10008. description: 开仓成交数量(先建后平操作,需要记录)
  10009. type: integer
  10010. openunfreezecharge:
  10011. description: 开仓解冻手续费(先建后平操作,需要记录)
  10012. type: number
  10013. operatetype:
  10014. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10015. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10016. 15:管理端协议转让
  10017. type: integer
  10018. operatorid:
  10019. description: 登录账号(LoginID)
  10020. type: integer
  10021. optiontype:
  10022. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10023. type: integer
  10024. orderid:
  10025. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10026. type: string
  10027. orderprice:
  10028. description: 委托价格
  10029. type: number
  10030. orderqty:
  10031. description: 委托数量
  10032. type: integer
  10033. ordersrc:
  10034. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10035. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10036. type: integer
  10037. orderstatus:
  10038. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10039. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10040. 16:成交失败违约(荷兰式竞拍专用)
  10041. type: integer
  10042. ordertime:
  10043. description: 委托时间
  10044. type: string
  10045. preexerciseprice:
  10046. description: 预申报价格
  10047. type: number
  10048. premium:
  10049. description: 权利金
  10050. type: number
  10051. preorderid:
  10052. description: 关联预埋单号(止盈止损单时填写)
  10053. type: string
  10054. pricemode:
  10055. description: '取价方式 - 1:市价 2: 限价'
  10056. type: integer
  10057. quoteid:
  10058. description: 报价单ID
  10059. type: integer
  10060. relatedid:
  10061. description: 关联单号(交割单)
  10062. type: string
  10063. retcode:
  10064. description: 错误代码
  10065. type: integer
  10066. sessionid:
  10067. description: 会话ID
  10068. type: integer
  10069. tradedate:
  10070. description: 交易日(yyyyMMdd)
  10071. type: string
  10072. trademode:
  10073. description: 交易模式
  10074. type: integer
  10075. tradeproperty:
  10076. description: 交易属性
  10077. type: integer
  10078. tradeqty:
  10079. description: 成交数量
  10080. type: integer
  10081. unfreezecharge:
  10082. description: 解冻手续费
  10083. type: number
  10084. unfreezemargin:
  10085. description: 解冻保证金
  10086. type: number
  10087. updatetime:
  10088. description: 更新时间
  10089. type: string
  10090. uuid:
  10091. description: 发起端唯一id
  10092. type: string
  10093. validtime:
  10094. description: 有效期限
  10095. type: string
  10096. validtype:
  10097. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10098. type: integer
  10099. volumetype:
  10100. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10101. type: integer
  10102. required:
  10103. - accountid
  10104. - buildtype
  10105. - buyorsell
  10106. - goodsid
  10107. - histradedate
  10108. - marketid
  10109. - memberuserid
  10110. - operatetype
  10111. - orderid
  10112. - orderqty
  10113. - ordertime
  10114. - pricemode
  10115. - tradedate
  10116. - validtype
  10117. type: object
  10118. order.QueryTradeDetailRsp:
  10119. properties:
  10120. accountid:
  10121. description: 账户ID[报价币种]
  10122. type: integer
  10123. buildtype:
  10124. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10125. type: integer
  10126. buyorsell:
  10127. description: 方向 - 0:买 1:卖
  10128. type: integer
  10129. charge:
  10130. description: 手续费
  10131. type: number
  10132. closecharge:
  10133. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10134. type: number
  10135. closeexchagechargevalue:
  10136. description: 平仓交易所手续费设置值
  10137. type: number
  10138. closefeealgorithm:
  10139. description: 平仓手续费收取方式 1:比率 2:固定
  10140. type: integer
  10141. closememberchargevalue:
  10142. description: 平仓会员手续费设置值
  10143. type: number
  10144. closepl:
  10145. description: 平仓盈亏
  10146. type: number
  10147. closepl2:
  10148. description: 平仓盈亏[逐笔]
  10149. type: number
  10150. closeqty:
  10151. description: 平仓数量(先建后平操作 需要记录)
  10152. type: integer
  10153. creditamount:
  10154. description: 授信金额
  10155. type: number
  10156. gcaccountid:
  10157. description: 账户ID[合约币种]
  10158. type: integer
  10159. goodscode:
  10160. description: 商品代码
  10161. type: string
  10162. goodsid:
  10163. description: 商品ID
  10164. type: integer
  10165. goodsname:
  10166. description: 商品名称
  10167. type: string
  10168. intclosepl:
  10169. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10170. type: integer
  10171. isconfirmexercise:
  10172. description: 是否确认行权- 0:否 1:是
  10173. type: integer
  10174. ismain:
  10175. description: 是否主单 - 0:不是 1:是
  10176. type: integer
  10177. ispreexercise:
  10178. description: 是否预申报- 0:否 1:是
  10179. type: integer
  10180. isreckoned:
  10181. description: 是否结算 - 0:未结算 1:已结算
  10182. type: integer
  10183. listingselecttype:
  10184. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10185. type: integer
  10186. marketid:
  10187. description: 市场ID
  10188. type: integer
  10189. marketname:
  10190. description: 市场名称
  10191. type: string
  10192. matchaccountid:
  10193. description: 对手账号id
  10194. type: integer
  10195. memberuserid:
  10196. description: 会员id 个人投资者 需要填写
  10197. type: integer
  10198. opencharge:
  10199. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10200. type: number
  10201. openexchagechargevalue:
  10202. description: 建仓交易所手续费设置值
  10203. type: number
  10204. openfeealgorithm:
  10205. description: 建仓手续费收取方式 1:比率 2:固定
  10206. type: integer
  10207. openmemberchargevalue:
  10208. description: 建仓会员手续费设置值
  10209. type: number
  10210. openqty:
  10211. description: 开仓数量(先建后平操作 需要记录)
  10212. type: integer
  10213. optiontype:
  10214. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10215. type: integer
  10216. orderid:
  10217. description: 委托单号
  10218. type: string
  10219. performanceplanid:
  10220. description: 履约计划ID[期权]
  10221. type: integer
  10222. performancestatus:
  10223. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10224. type: integer
  10225. preexerciseprice:
  10226. description: 预申报价格
  10227. type: number
  10228. premium:
  10229. description: 权利金 - [持仓单的权利金]
  10230. type: number
  10231. relatedouttradeid:
  10232. description: 关联外部成交单ID
  10233. type: integer
  10234. status:
  10235. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10236. type: integer
  10237. tradeamount:
  10238. description: 成交金额[账户币种,用于所有权]
  10239. type: number
  10240. tradedate:
  10241. description: 交易日(yyyyMMdd)
  10242. type: string
  10243. tradeid:
  10244. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10245. type: string
  10246. trademode:
  10247. description: 交易模式
  10248. type: integer
  10249. tradeprice:
  10250. description: 成交价格
  10251. type: number
  10252. tradeproperty:
  10253. description: 交易属性
  10254. type: integer
  10255. tradeqty:
  10256. description: 成交数量
  10257. type: integer
  10258. tradetime:
  10259. description: 成交时间
  10260. type: string
  10261. tradetype:
  10262. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10263. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10264. type: integer
  10265. required:
  10266. - accountid
  10267. - buyorsell
  10268. - goodsid
  10269. - marketid
  10270. - memberuserid
  10271. - orderid
  10272. - tradeamount
  10273. - tradedate
  10274. - tradeid
  10275. - tradeprice
  10276. - tradeqty
  10277. - tradetime
  10278. type: object
  10279. order.QueryTradeOrderDetailRsp:
  10280. properties:
  10281. accountid:
  10282. description: 账户ID[报价币种]
  10283. type: integer
  10284. buildtype:
  10285. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10286. type: integer
  10287. buyorsell:
  10288. description: 买卖 - 0:买 1:卖
  10289. type: integer
  10290. cancelorderid:
  10291. description: 撤单单号(撤单时填写)
  10292. type: string
  10293. cancelqty:
  10294. description: 撤单数量
  10295. type: integer
  10296. clienttype:
  10297. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10298. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10299. type: integer
  10300. closefreezecharge:
  10301. description: 平仓冻结手续费(先建后平操作,需要记录)
  10302. type: number
  10303. closeqty:
  10304. description: 平仓数量(先建后平操作 需要记录)
  10305. type: integer
  10306. closetradeqty:
  10307. description: 平仓成交数量(先建后平操作,需要记录)
  10308. type: integer
  10309. closeunfreezecharge:
  10310. description: 平仓解冻手续费(先建后平操作,需要记录)
  10311. type: number
  10312. delistingtype:
  10313. description: 摘牌类型 - 1:价格最优 2:点选成交
  10314. type: integer
  10315. enableqty:
  10316. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  10317. type: integer
  10318. freezecharge:
  10319. description: 冻结手续费
  10320. type: number
  10321. freezemargin:
  10322. description: 冻结保证金(冻结交易金额)
  10323. type: number
  10324. goodscode:
  10325. description: 商品代码
  10326. type: string
  10327. goodsid:
  10328. description: 商品ID
  10329. type: integer
  10330. goodsname:
  10331. description: 商品名称
  10332. type: string
  10333. listingselecttype:
  10334. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10335. type: integer
  10336. marketid:
  10337. description: 市场ID
  10338. type: integer
  10339. marketname:
  10340. description: 市场名称
  10341. type: string
  10342. openfreezecharge:
  10343. description: 开仓冻结手续费(先建后平操作,需要记录)
  10344. type: number
  10345. openqty:
  10346. description: 开仓数量(先建后平操作,需要记录)
  10347. type: integer
  10348. opentradeqty:
  10349. description: 开仓成交数量(先建后平操作,需要记录)
  10350. type: integer
  10351. openunfreezecharge:
  10352. description: 开仓解冻手续费(先建后平操作,需要记录)
  10353. type: number
  10354. operatetype:
  10355. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10356. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10357. 15:管理端协议转让
  10358. type: integer
  10359. operatorid:
  10360. description: 登录账号(LoginID)
  10361. type: integer
  10362. orderid:
  10363. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10364. type: string
  10365. orderprice:
  10366. description: 委托价格
  10367. type: number
  10368. orderqty:
  10369. description: 委托数量
  10370. type: integer
  10371. ordersrc:
  10372. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10373. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10374. type: integer
  10375. orderstatus:
  10376. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10377. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10378. 16:成交失败违约(荷兰式竞拍专用)
  10379. type: integer
  10380. ordertime:
  10381. description: 委托时间
  10382. type: string
  10383. preorderid:
  10384. description: 关联预埋单号(止盈止损单时填写)
  10385. type: string
  10386. pricemode:
  10387. description: '取价方式 - 1:市价 2: 限价'
  10388. type: integer
  10389. relatedid:
  10390. description: 关联单号(交割单)
  10391. type: string
  10392. tradedate:
  10393. description: 交易日(yyyyMMdd)
  10394. type: string
  10395. trademode:
  10396. description: 交易模式
  10397. type: integer
  10398. tradeqty:
  10399. description: 成交数量
  10400. type: integer
  10401. unfreezecharge:
  10402. description: 解冻手续费
  10403. type: number
  10404. unfreezemargin:
  10405. description: 解冻保证金
  10406. type: number
  10407. validtime:
  10408. description: 有效期限
  10409. type: string
  10410. validtype:
  10411. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10412. type: integer
  10413. volumetype:
  10414. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10415. type: integer
  10416. required:
  10417. - accountid
  10418. - buildtype
  10419. - buyorsell
  10420. - goodsid
  10421. - marketid
  10422. - operatetype
  10423. - orderqty
  10424. - ordertime
  10425. - pricemode
  10426. - tradedate
  10427. - validtype
  10428. type: object
  10429. order.QueryTradePositionRsp:
  10430. properties:
  10431. accountid:
  10432. description: 资金账户
  10433. type: integer
  10434. agreeunit:
  10435. description: 合约单位
  10436. type: number
  10437. averageprice:
  10438. description: 持仓均价
  10439. type: number
  10440. buyorsell:
  10441. description: 方向 - 0:买 1:卖
  10442. type: integer
  10443. closetotalqty:
  10444. description: 平仓总数量
  10445. type: integer
  10446. curholderamount:
  10447. description: 当前持仓总金额[商品币种]
  10448. type: number
  10449. curpositionqty:
  10450. description: 当前持仓总数量
  10451. type: integer
  10452. currencyid:
  10453. description: 报价货币ID
  10454. type: integer
  10455. curtdposition:
  10456. description: 期末今日头寸
  10457. type: integer
  10458. decimalplace:
  10459. description: 报价小数位
  10460. type: integer
  10461. enableqty:
  10462. description: 可用量
  10463. type: integer
  10464. fretdposition:
  10465. description: 冻结今日头寸
  10466. type: integer
  10467. frozenqty:
  10468. description: 持仓冻结数量
  10469. type: integer
  10470. goodscode:
  10471. description: 商品代码
  10472. type: string
  10473. goodsid:
  10474. description: 商品Id
  10475. type: integer
  10476. goodsname:
  10477. description: 商品名称
  10478. type: string
  10479. goodunit:
  10480. description: 报价单位
  10481. type: string
  10482. goodunitid:
  10483. description: 报价单位ID
  10484. type: integer
  10485. holderamount:
  10486. description: 期初持仓总金额[商品币种]
  10487. type: number
  10488. marketid:
  10489. description: 所属市场ID
  10490. type: integer
  10491. openreqqty:
  10492. description: 开仓申请数量(用于比较最大持仓数量)
  10493. type: integer
  10494. opentotalqty:
  10495. description: 开仓总数量
  10496. type: integer
  10497. otherfrozenqty:
  10498. description: 持仓其他冻结数量(交割冻结)
  10499. type: integer
  10500. positionqty:
  10501. description: 期初持仓数量
  10502. type: integer
  10503. tnqty:
  10504. description: T+N冻结总量
  10505. type: integer
  10506. tnusedqty:
  10507. description: T+N使用量(可以使用T+N的冻结数量)
  10508. type: integer
  10509. trademode:
  10510. description: 交易模式
  10511. type: integer
  10512. usedmargin:
  10513. description: 占用保证金[商品币种]
  10514. type: number
  10515. required:
  10516. - goodsid
  10517. type: object
  10518. quote.HistoryData:
  10519. properties:
  10520. c:
  10521. description: 收盘价
  10522. type: number
  10523. f:
  10524. description: 是否补充数据
  10525. type: boolean
  10526. h:
  10527. description: 最高价
  10528. type: number
  10529. hv:
  10530. description: 持仓量
  10531. type: integer
  10532. l:
  10533. description: 最低价
  10534. type: number
  10535. o:
  10536. description: 开盘价
  10537. type: number
  10538. s:
  10539. description: 结算价,日线周期(包括)以上才有
  10540. type: number
  10541. ts:
  10542. description: 时间
  10543. type: string
  10544. tt:
  10545. description: 总金额
  10546. type: number
  10547. tv:
  10548. description: 总量
  10549. type: integer
  10550. type: object
  10551. quote.HistoryTikData:
  10552. properties:
  10553. AV:
  10554. description: 卖量
  10555. type: integer
  10556. Ask:
  10557. description: 卖价
  10558. type: number
  10559. BV:
  10560. description: 买量
  10561. type: integer
  10562. Bid:
  10563. description: 买价
  10564. type: number
  10565. HI:
  10566. description: 单笔持仓
  10567. type: integer
  10568. HV:
  10569. description: 持仓量
  10570. type: integer
  10571. PE:
  10572. description: 现价
  10573. type: number
  10574. TDR:
  10575. description: 交易方向,0:买 1:卖
  10576. type: integer
  10577. TK:
  10578. description: 交易类型
  10579. type: integer
  10580. TS:
  10581. description: 行情时间文本
  10582. type: string
  10583. TT:
  10584. description: 现金额
  10585. type: number
  10586. Vol:
  10587. description: 现量
  10588. type: integer
  10589. type: object
  10590. quote.QueryQuoteDayRsp:
  10591. properties:
  10592. ask:
  10593. description: 卖1
  10594. type: number
  10595. ask2:
  10596. description: 卖2
  10597. type: number
  10598. ask3:
  10599. description: 卖3
  10600. type: number
  10601. ask4:
  10602. description: 卖4
  10603. type: number
  10604. ask5:
  10605. description: 卖5
  10606. type: number
  10607. ask6:
  10608. description: 卖6
  10609. type: number
  10610. ask7:
  10611. description: 卖7
  10612. type: number
  10613. ask8:
  10614. description: 卖8
  10615. type: number
  10616. ask9:
  10617. description: 卖9
  10618. type: number
  10619. ask10:
  10620. description: 卖10
  10621. type: number
  10622. askorderid:
  10623. description: 卖单号1
  10624. type: integer
  10625. askorderid2:
  10626. description: 卖单号2
  10627. type: integer
  10628. askorderid3:
  10629. description: 卖单号3
  10630. type: integer
  10631. askorderid4:
  10632. description: 卖单号4
  10633. type: integer
  10634. askorderid5:
  10635. description: 卖单号5
  10636. type: integer
  10637. askordervolume:
  10638. description: 卖单量1
  10639. type: integer
  10640. askordervolume2:
  10641. description: 卖单量2
  10642. type: integer
  10643. askordervolume3:
  10644. description: 卖单量3
  10645. type: integer
  10646. askordervolume4:
  10647. description: 卖单量4
  10648. type: integer
  10649. askordervolume5:
  10650. description: 卖单量5
  10651. type: integer
  10652. askordervolume6:
  10653. description: 卖单量6
  10654. type: integer
  10655. askordervolume7:
  10656. description: 卖单量7
  10657. type: integer
  10658. askordervolume8:
  10659. description: 卖单量8
  10660. type: integer
  10661. askordervolume9:
  10662. description: 卖单量9
  10663. type: integer
  10664. askordervolume10:
  10665. description: 卖单量10
  10666. type: integer
  10667. askqueueinfo:
  10668. description: 大利市卖港股用
  10669. type: string
  10670. askvolume:
  10671. description: 卖量1
  10672. type: integer
  10673. askvolume2:
  10674. description: 卖量2
  10675. type: integer
  10676. askvolume3:
  10677. description: 卖量3
  10678. type: integer
  10679. askvolume4:
  10680. description: 卖量4
  10681. type: integer
  10682. askvolume5:
  10683. description: 卖量5
  10684. type: integer
  10685. askvolume6:
  10686. description: 卖量6
  10687. type: integer
  10688. askvolume7:
  10689. description: 卖量7
  10690. type: integer
  10691. askvolume8:
  10692. description: 卖量8
  10693. type: integer
  10694. askvolume9:
  10695. description: 卖量9
  10696. type: integer
  10697. askvolume10:
  10698. description: 卖量10
  10699. type: integer
  10700. averageprice:
  10701. description: 均价
  10702. type: number
  10703. bid:
  10704. description: 买1
  10705. type: number
  10706. bid2:
  10707. description: 买2
  10708. type: number
  10709. bid3:
  10710. description: 买3
  10711. type: number
  10712. bid4:
  10713. description: 买4
  10714. type: number
  10715. bid5:
  10716. description: 买5
  10717. type: number
  10718. bid6:
  10719. description: 买6
  10720. type: number
  10721. bid7:
  10722. description: 买7
  10723. type: number
  10724. bid8:
  10725. description: 买8
  10726. type: number
  10727. bid9:
  10728. description: 买9
  10729. type: number
  10730. bid10:
  10731. description: 买10
  10732. type: number
  10733. bidorderid:
  10734. description: 买单号1
  10735. type: integer
  10736. bidorderid2:
  10737. description: 买单号2
  10738. type: integer
  10739. bidorderid3:
  10740. description: 买单号3
  10741. type: integer
  10742. bidorderid4:
  10743. description: 买单号4
  10744. type: integer
  10745. bidorderid5:
  10746. description: 买单号5
  10747. type: integer
  10748. bidordervolume:
  10749. description: 买单量1
  10750. type: integer
  10751. bidordervolume2:
  10752. description: 买单量2
  10753. type: integer
  10754. bidordervolume3:
  10755. description: 买单量3
  10756. type: integer
  10757. bidordervolume4:
  10758. description: 买单量4
  10759. type: integer
  10760. bidordervolume5:
  10761. description: 买单量5
  10762. type: integer
  10763. bidordervolume6:
  10764. description: 买单量6
  10765. type: integer
  10766. bidordervolume7:
  10767. description: 买单量7
  10768. type: integer
  10769. bidordervolume8:
  10770. description: 买单量8
  10771. type: integer
  10772. bidordervolume9:
  10773. description: 买单量9
  10774. type: integer
  10775. bidordervolume10:
  10776. description: 买单量10
  10777. type: integer
  10778. bidqueueinfo:
  10779. description: 大利市买港股用
  10780. type: string
  10781. bidvolume:
  10782. description: 买量1
  10783. type: integer
  10784. bidvolume2:
  10785. description: 买量2
  10786. type: integer
  10787. bidvolume3:
  10788. description: 买量3
  10789. type: integer
  10790. bidvolume4:
  10791. description: 买量4
  10792. type: integer
  10793. bidvolume5:
  10794. description: 买量5
  10795. type: integer
  10796. bidvolume6:
  10797. description: 买量6
  10798. type: integer
  10799. bidvolume7:
  10800. description: 买量7
  10801. type: integer
  10802. bidvolume8:
  10803. description: 买量8
  10804. type: integer
  10805. bidvolume9:
  10806. description: 买量9
  10807. type: integer
  10808. bidvolume10:
  10809. description: 买量10
  10810. type: integer
  10811. calloptionpremiums:
  10812. description: 认购期权1
  10813. type: integer
  10814. calloptionpremiums2:
  10815. description: 认购期权2
  10816. type: integer
  10817. calloptionpremiums3:
  10818. description: 认购期权3
  10819. type: integer
  10820. calloptionpremiums4:
  10821. description: 认购期权4
  10822. type: integer
  10823. calloptionpremiums5:
  10824. description: 认购期权5
  10825. type: integer
  10826. cleartime:
  10827. description: 清盘时间
  10828. type: integer
  10829. exchangecode:
  10830. description: 交易所代码
  10831. type: integer
  10832. exchangedate:
  10833. description: 交易日
  10834. type: integer
  10835. goodscode:
  10836. description: 商品代码
  10837. type: string
  10838. grepmarketprice:
  10839. description: 暗盘价 港股专用
  10840. type: number
  10841. highest:
  10842. description: 最高价
  10843. type: number
  10844. holdincrement:
  10845. description: 单笔持仓
  10846. type: integer
  10847. holdvolume:
  10848. description: 持仓
  10849. type: integer
  10850. iep:
  10851. description: 平衡价 港股专用
  10852. type: number
  10853. iev:
  10854. description: 平衡量 港股专用
  10855. type: number
  10856. inventory:
  10857. description: 库存
  10858. type: integer
  10859. iscleared:
  10860. description: 是否清盘标志
  10861. type: integer
  10862. issettled:
  10863. description: 是否结算标志
  10864. type: integer
  10865. last:
  10866. description: 最新价
  10867. type: number
  10868. lastlot:
  10869. description: 最新成交手数
  10870. type: integer
  10871. lasttime:
  10872. description: 行情时间(只有现价变化行情时间才变化)
  10873. type: string
  10874. lastturnover:
  10875. description: 最新成交金额
  10876. type: number
  10877. lastvolume:
  10878. description: 最新成交量
  10879. type: integer
  10880. limitdown:
  10881. description: 跌停价
  10882. type: number
  10883. limitup:
  10884. description: 涨停价
  10885. type: number
  10886. lowest:
  10887. description: 最低价
  10888. type: number
  10889. nontotalholdervolume:
  10890. description: 非交易持仓量
  10891. type: integer
  10892. nontotallot:
  10893. description: 非交易总手数
  10894. type: integer
  10895. nontotalturnover:
  10896. description: 非交易总金额
  10897. type: integer
  10898. nontotalvolume:
  10899. description: 非交易总量
  10900. type: integer
  10901. opened:
  10902. description: 开盘价
  10903. type: number
  10904. opentime:
  10905. description: 开盘时间
  10906. type: string
  10907. orderid:
  10908. description: 序号
  10909. type: integer
  10910. preclose:
  10911. description: 昨收
  10912. type: number
  10913. preholdvolume:
  10914. description: 昨持仓
  10915. type: integer
  10916. presettle:
  10917. description: 昨结价
  10918. type: number
  10919. publictradetype:
  10920. description: 公共交易标志类型 港股专用
  10921. type: string
  10922. putoptionpremiums:
  10923. description: 认沽期权1
  10924. type: integer
  10925. putoptionpremiums2:
  10926. description: 认沽期权2
  10927. type: integer
  10928. putoptionpremiums3:
  10929. description: 认沽期权3
  10930. type: integer
  10931. putoptionpremiums4:
  10932. description: 认沽期权4
  10933. type: integer
  10934. putoptionpremiums5:
  10935. description: 认沽期权5
  10936. type: integer
  10937. settle:
  10938. description: 结算价
  10939. type: number
  10940. strikeprice:
  10941. description: 发行价
  10942. type: number
  10943. totalaskvolume:
  10944. description: 内盘
  10945. type: integer
  10946. totalbidvolume:
  10947. description: 外盘
  10948. type: integer
  10949. totallot:
  10950. description: 总手数
  10951. type: integer
  10952. totalturnover:
  10953. description: 总金额
  10954. type: number
  10955. totalvolume:
  10956. description: 总量
  10957. type: integer
  10958. utclasttime:
  10959. description: utc的行情时间
  10960. type: string
  10961. type: object
  10962. quote.QueryTSDataRsp:
  10963. properties:
  10964. Count:
  10965. description: 交易日应有数据个数
  10966. type: integer
  10967. decimalPlace:
  10968. description: 小数位
  10969. type: integer
  10970. endTime:
  10971. description: 结束时间
  10972. type: string
  10973. goodsCode:
  10974. description: 商品代码
  10975. type: string
  10976. historyDatas:
  10977. description: 历史数据
  10978. items:
  10979. $ref: '#/definitions/quote.HistoryData'
  10980. type: array
  10981. outGoodsCode:
  10982. description: 外部商品代码
  10983. type: string
  10984. preSettle:
  10985. description: 昨结价
  10986. type: number
  10987. runSteps:
  10988. description: 交易日开休市计划
  10989. items:
  10990. $ref: '#/definitions/quote.TSDataRunStep'
  10991. type: array
  10992. startTime:
  10993. description: 开始时间
  10994. type: string
  10995. tradeDate:
  10996. description: 交易日
  10997. type: string
  10998. type: object
  10999. quote.TSDataRunStep:
  11000. properties:
  11001. end:
  11002. description: 真实结束时间
  11003. type: string
  11004. endflag:
  11005. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11006. type: integer
  11007. endtime:
  11008. description: 结束时间(HH:mm)
  11009. type: string
  11010. endweekday:
  11011. description: 结束周几
  11012. type: integer
  11013. groupid:
  11014. description: 分组ID
  11015. type: integer
  11016. runstep:
  11017. description: 运行阶段 - 2:连续交易
  11018. type: integer
  11019. sectionid:
  11020. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11021. 结束时间=结算时间 结束周几=结算周几
  11022. type: integer
  11023. start:
  11024. description: 真实开始时间
  11025. type: string
  11026. startflag:
  11027. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11028. type: integer
  11029. starttime:
  11030. description: 起始时间(HH:mm)
  11031. type: string
  11032. startweekday:
  11033. description: 起始周几
  11034. type: integer
  11035. tradeweekday:
  11036. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11037. type: integer
  11038. type: object
  11039. szdz.QueryConvertLogRsp:
  11040. properties:
  11041. accountid:
  11042. description: 资金账户ID
  11043. type: integer
  11044. clientticket:
  11045. description: 客户端流水号
  11046. type: string
  11047. converttype:
  11048. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11049. type: integer
  11050. createtime:
  11051. description: 记账时间
  11052. type: string
  11053. daymaxvalue:
  11054. description: 配置当日最大转入限制
  11055. type: number
  11056. daymaxvalue2:
  11057. description: 配置当日最大转入限制(转入)
  11058. type: number
  11059. goodscode:
  11060. description: 商品代码
  11061. type: string
  11062. goodsname:
  11063. description: 商品名称
  11064. type: string
  11065. handlestatus:
  11066. description: 处理状态
  11067. type: integer
  11068. innergoodsid:
  11069. description: 内部商品ID
  11070. type: integer
  11071. inratio:
  11072. description: 配置转入比值
  11073. type: integer
  11074. invalue:
  11075. description: 目标值
  11076. type: number
  11077. logid:
  11078. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11079. type: integer
  11080. mobile:
  11081. description: 手机号码(加密存储)
  11082. type: string
  11083. outergoodscode:
  11084. description: 外部商品代码[JD\PD]
  11085. type: string
  11086. outratio:
  11087. description: 配置转出比值
  11088. type: integer
  11089. outvalue:
  11090. description: 源值
  11091. type: number
  11092. pddecimalplace:
  11093. description: PD小数位
  11094. type: integer
  11095. qty:
  11096. description: 数量
  11097. type: string
  11098. remark:
  11099. description: 备注
  11100. type: string
  11101. sessionid:
  11102. description: 会话ID
  11103. type: integer
  11104. timemaxvalue:
  11105. description: 配置单次最大转入限制
  11106. type: number
  11107. timemaxvalue2:
  11108. description: 配置单次最大转入限制(转入)
  11109. type: number
  11110. timeminvalue:
  11111. description: 配置单次最小数量限制
  11112. type: number
  11113. timeminvalue2:
  11114. description: 配置单次最小数量限制(转入)
  11115. type: number
  11116. tradedate:
  11117. description: 交易日(yyyyMMdd)
  11118. type: string
  11119. userid:
  11120. description: 用户ID
  11121. type: integer
  11122. required:
  11123. - logid
  11124. type: object
  11125. szdz.QueryGoodsPickupRsp:
  11126. properties:
  11127. accountid:
  11128. description: 账户ID
  11129. type: integer
  11130. address:
  11131. description: 提货人详细地址
  11132. type: string
  11133. auditer:
  11134. description: 审核人
  11135. type: integer
  11136. audittime:
  11137. description: 审核时间
  11138. type: string
  11139. cardnum:
  11140. description: 提货人证件号码
  11141. type: string
  11142. cardtypeid:
  11143. description: 提货人证件类型
  11144. type: integer
  11145. checkremark:
  11146. description: 审核备注
  11147. type: string
  11148. goodscode:
  11149. description: 商品代码
  11150. type: string
  11151. goodsid:
  11152. description: 商品ID
  11153. type: integer
  11154. goodsname:
  11155. description: 商品名称
  11156. type: string
  11157. handlestatus:
  11158. description: 处理状态
  11159. type: integer
  11160. marketid:
  11161. description: 市场ID
  11162. type: integer
  11163. phonenum:
  11164. description: 提货人联系方式
  11165. type: string
  11166. qty:
  11167. description: 提货数量
  11168. type: number
  11169. recivername:
  11170. description: 提货人姓名
  11171. type: string
  11172. reqtime:
  11173. description: 更新时间
  11174. type: string
  11175. takemode:
  11176. description: 提货方式 - 2:自提 3:配送
  11177. type: integer
  11178. takeorderid:
  11179. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11180. type: string
  11181. takeorderstatus:
  11182. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11183. type: integer
  11184. takeremark:
  11185. description: 提货备注
  11186. type: string
  11187. tradedate:
  11188. description: 交易日(yyyyMMdd)
  11189. type: string
  11190. userid:
  11191. description: 用户ID
  11192. type: integer
  11193. required:
  11194. - takeorderid
  11195. type: object
  11196. szdz.QueryRecieptOrderRsp:
  11197. properties:
  11198. accountName:
  11199. description: 所属账号名称(已脱敏)
  11200. type: string
  11201. accountid:
  11202. description: 资金账号
  11203. type: integer
  11204. buyorsell:
  11205. description: 方向 - 0:买 1:卖
  11206. type: integer
  11207. enableqty:
  11208. description: 可摘数量
  11209. type: integer
  11210. goodscode:
  11211. description: 商品代码
  11212. type: string
  11213. goodsid:
  11214. description: 商品ID
  11215. type: integer
  11216. goodsname:
  11217. description: 商品名称
  11218. type: string
  11219. orderid:
  11220. description: 委托单号
  11221. type: string
  11222. orderprice:
  11223. description: 委托价格
  11224. type: number
  11225. ordertime:
  11226. description: 委托时间
  11227. type: string
  11228. tradedate:
  11229. description: 交易日(yyyyMMdd)
  11230. type: string
  11231. required:
  11232. - ordertime
  11233. type: object
  11234. szdz.QuerySZDZTradePositionRsp:
  11235. properties:
  11236. accountid:
  11237. description: 账号Id
  11238. type: integer
  11239. agreeunit:
  11240. description: 合约单位
  11241. type: number
  11242. averageprice:
  11243. description: 持仓均价
  11244. type: number
  11245. buyorsell:
  11246. description: 方向 - 0:买 1:卖
  11247. type: integer
  11248. closetotalqty:
  11249. description: 平仓总数量
  11250. type: integer
  11251. curholderamount:
  11252. description: 当前持仓总金额
  11253. type: number
  11254. curpositionqty:
  11255. description: 当前持仓总数量
  11256. type: integer
  11257. currencyid:
  11258. description: 报价货币ID
  11259. type: integer
  11260. curtdposition:
  11261. description: 期末今日头寸
  11262. type: integer
  11263. decimalplace:
  11264. description: 报价小数位
  11265. type: integer
  11266. enableqty:
  11267. description: 可用量
  11268. type: integer
  11269. fretdposition:
  11270. description: 冻结今日头寸
  11271. type: integer
  11272. frozenqty:
  11273. description: 持仓冻结数量
  11274. type: integer
  11275. goodscode:
  11276. description: 商品代码(内部)
  11277. type: string
  11278. goodsid:
  11279. description: 商品Id
  11280. type: integer
  11281. goodsname:
  11282. description: 商品名称
  11283. type: string
  11284. goodunit:
  11285. description: 报价单位
  11286. type: string
  11287. goodunitid:
  11288. description: 报价单位ID
  11289. type: integer
  11290. holderamount:
  11291. description: 期初持仓总金额
  11292. type: number
  11293. marketid:
  11294. description: 市场ID
  11295. type: integer
  11296. openreqqty:
  11297. description: 开仓申请数量
  11298. type: integer
  11299. opentotalqty:
  11300. description: 开仓总数量
  11301. type: integer
  11302. otherfrozenqty:
  11303. description: 持仓其他冻结数量(交割冻结)
  11304. type: integer
  11305. positionqty:
  11306. description: 期初持仓数量
  11307. type: integer
  11308. szdz3freezqty:
  11309. description: 尚志大宗转换冻结总数量
  11310. type: integer
  11311. tnqty:
  11312. description: T+N冻结总量
  11313. type: integer
  11314. tnusedqty:
  11315. description: T+N使用量
  11316. type: integer
  11317. trademode:
  11318. description: 交易模式
  11319. type: integer
  11320. usedmargin:
  11321. description: 占用保证金
  11322. type: number
  11323. type: object
  11324. taaccount.QueryAmountLogRsp:
  11325. properties:
  11326. OPERATETYPENAME:
  11327. description: 资金操作类型名称
  11328. type: string
  11329. accountid:
  11330. description: 资金账户ID
  11331. type: integer
  11332. agoodscode:
  11333. description: 竞拍商品代码
  11334. type: string
  11335. agoodsname:
  11336. description: 竞拍商品名称
  11337. type: string
  11338. amount:
  11339. description: 资金金额
  11340. type: number
  11341. amountadjusttype:
  11342. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11343. type: integer
  11344. autoid:
  11345. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11346. type: integer
  11347. balance:
  11348. description: 期初余额
  11349. type: number
  11350. businesscode:
  11351. description: 业务编号
  11352. type: integer
  11353. createtime:
  11354. description: 发生时间
  11355. type: string
  11356. currencyid:
  11357. description: 币种ID
  11358. type: integer
  11359. currentbalance:
  11360. description: 期末余额(变动后金额)
  11361. type: number
  11362. dgoodscode:
  11363. description: 交割商品代码
  11364. type: string
  11365. dgoodsname:
  11366. description: 交割商品名称
  11367. type: string
  11368. goodscode:
  11369. description: 商品代码
  11370. type: string
  11371. goodsid:
  11372. description: 商品ID
  11373. type: integer
  11374. goodsname:
  11375. description: 商品名称
  11376. type: string
  11377. marketid:
  11378. description: 市场ID
  11379. type: integer
  11380. marketname:
  11381. description: 市场名称
  11382. type: string
  11383. moneyticket:
  11384. description: 资金流水号:银行端流水号
  11385. type: integer
  11386. operatetype:
  11387. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11388. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11389. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11390. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11391. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11392. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11393. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11394. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11395. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11396. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11397. type: integer
  11398. relationorderid:
  11399. description: 关联单号
  11400. type: string
  11401. remark:
  11402. description: 备注
  11403. type: string
  11404. trademode:
  11405. description: 交易模式
  11406. type: integer
  11407. required:
  11408. - accountid
  11409. - amount
  11410. - amountadjusttype
  11411. - autoid
  11412. - balance
  11413. - createtime
  11414. - currentbalance
  11415. - operatetype
  11416. type: object
  11417. taaccount.QueryHisAmountLogRsp:
  11418. properties:
  11419. OPERATETYPENAME:
  11420. description: 资金操作类型名称
  11421. type: string
  11422. accountid:
  11423. description: 资金账户ID
  11424. type: integer
  11425. agoodscode:
  11426. description: 竞拍商品代码
  11427. type: string
  11428. agoodsname:
  11429. description: 竞拍商品名称
  11430. type: string
  11431. amount:
  11432. description: 资金金额
  11433. type: number
  11434. amountadjusttype:
  11435. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11436. type: integer
  11437. autoid:
  11438. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11439. type: integer
  11440. balance:
  11441. description: 期初余额
  11442. type: number
  11443. businesscode:
  11444. description: 业务编号
  11445. type: integer
  11446. createtime:
  11447. description: 发生时间
  11448. type: string
  11449. currencyid:
  11450. description: 币种ID
  11451. type: integer
  11452. currentbalance:
  11453. description: 期末余额(变动后金额)
  11454. type: number
  11455. dgoodscode:
  11456. description: 交割商品代码
  11457. type: string
  11458. dgoodsname:
  11459. description: 交割商品名称
  11460. type: string
  11461. goodscode:
  11462. description: 商品代码
  11463. type: string
  11464. goodsid:
  11465. description: 商品ID
  11466. type: integer
  11467. goodsname:
  11468. description: 商品名称
  11469. type: string
  11470. histradedate:
  11471. description: 历史交易日
  11472. type: string
  11473. isvaliddata:
  11474. description: 是否有效 - 0:无效 1:有效
  11475. type: integer
  11476. marketid:
  11477. description: 市场ID
  11478. type: integer
  11479. marketname:
  11480. description: 市场名称
  11481. type: string
  11482. moneyticket:
  11483. description: 资金流水号:银行端流水号
  11484. type: integer
  11485. operatetype:
  11486. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11487. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11488. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11489. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11490. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11491. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11492. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11493. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11494. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11495. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11496. type: integer
  11497. relationorderid:
  11498. description: 关联单号
  11499. type: string
  11500. remark:
  11501. description: 备注
  11502. type: string
  11503. trademode:
  11504. description: 交易模式
  11505. type: integer
  11506. required:
  11507. - accountid
  11508. - amount
  11509. - amountadjusttype
  11510. - autoid
  11511. - balance
  11512. - createtime
  11513. - currentbalance
  11514. - histradedate
  11515. - operatetype
  11516. type: object
  11517. trade.QueryRecieptOrderRsp:
  11518. properties:
  11519. accountName:
  11520. description: 所属账号名称(已脱敏)
  11521. type: string
  11522. accountid:
  11523. description: 资金账号
  11524. type: integer
  11525. buyorsell:
  11526. description: 方向 - 0:买 1:卖
  11527. type: integer
  11528. enableqty:
  11529. description: 可摘数量
  11530. type: integer
  11531. goodscode:
  11532. description: 商品代码
  11533. type: string
  11534. goodsid:
  11535. description: 商品ID
  11536. type: integer
  11537. goodsname:
  11538. description: 商品名称
  11539. type: string
  11540. orderid:
  11541. description: 委托单号
  11542. type: string
  11543. orderprice:
  11544. description: 委托价格
  11545. type: number
  11546. ordertime:
  11547. description: 委托时间
  11548. type: string
  11549. tradedate:
  11550. description: 交易日(yyyyMMdd)
  11551. type: string
  11552. required:
  11553. - ordertime
  11554. type: object
  11555. user.LoginQueryRsp:
  11556. properties:
  11557. areaRoles:
  11558. description: 所属角色信息
  11559. items:
  11560. $ref: '#/definitions/models.Arearole'
  11561. type: array
  11562. externalExchanges:
  11563. description: 外部交易所
  11564. items:
  11565. $ref: '#/definitions/models.Externalexchange'
  11566. type: array
  11567. goodsgroups:
  11568. description: 商品组
  11569. items:
  11570. $ref: '#/definitions/models.Goodsgroup'
  11571. type: array
  11572. loginAccount:
  11573. $ref: '#/definitions/models.Loginaccount'
  11574. description: 登录账号
  11575. markets:
  11576. description: 市场
  11577. items:
  11578. $ref: '#/definitions/models.Market'
  11579. type: array
  11580. systemParams:
  11581. description: 系统参数
  11582. items:
  11583. $ref: '#/definitions/models.Systemparam'
  11584. type: array
  11585. userAccount:
  11586. $ref: '#/definitions/models.Useraccount'
  11587. description: 用户账号
  11588. userInfo:
  11589. $ref: '#/definitions/models.Userinfo'
  11590. description: 用户信息
  11591. username:
  11592. description: 用户姓名
  11593. type: string
  11594. type: object
  11595. info:
  11596. contact: {}
  11597. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  11598. termsOfService: http://muchinfo.cn
  11599. title: MTP2.0 查询服务 API
  11600. version: "1.0"
  11601. paths:
  11602. /CPTrade/QueryCPTradeMyBidInfos:
  11603. get:
  11604. parameters:
  11605. - description: 资金账户
  11606. in: query
  11607. name: accountid
  11608. required: true
  11609. type: integer
  11610. - description: 预售市场ID
  11611. in: query
  11612. name: marketid
  11613. type: integer
  11614. - description: 预售商品ID
  11615. in: query
  11616. name: goodsid
  11617. type: integer
  11618. produces:
  11619. - application/json
  11620. responses:
  11621. "200":
  11622. description: OK
  11623. schema:
  11624. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  11625. "500":
  11626. description: Internal Server Error
  11627. schema:
  11628. $ref: '#/definitions/app.Response'
  11629. security:
  11630. - ApiKeyAuth: []
  11631. summary: 查询产能预售我的出价信息
  11632. tags:
  11633. - 产能预售
  11634. /CPTrade/QueryCPTradeOrderDetail:
  11635. get:
  11636. parameters:
  11637. - description: 预售商品ID
  11638. in: query
  11639. name: goodsid
  11640. type: integer
  11641. - description: 预售市场ID
  11642. in: query
  11643. name: marketid
  11644. type: integer
  11645. - description: 预售商品ID列表 - 格式:1,2,3
  11646. in: query
  11647. name: goodsids
  11648. type: string
  11649. produces:
  11650. - application/json
  11651. responses:
  11652. "200":
  11653. description: OK
  11654. schema:
  11655. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  11656. "500":
  11657. description: Internal Server Error
  11658. schema:
  11659. $ref: '#/definitions/app.Response'
  11660. security:
  11661. - ApiKeyAuth: []
  11662. summary: 查询产能预售委托单信息
  11663. tags:
  11664. - 产能预售
  11665. /CPTrade/QueryMyCPTradeGoods:
  11666. get:
  11667. parameters:
  11668. - description: 资金账户
  11669. in: query
  11670. name: accountid
  11671. required: true
  11672. type: integer
  11673. produces:
  11674. - application/json
  11675. responses:
  11676. "200":
  11677. description: OK
  11678. schema:
  11679. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  11680. "500":
  11681. description: Internal Server Error
  11682. schema:
  11683. $ref: '#/definitions/app.Response'
  11684. security:
  11685. - ApiKeyAuth: []
  11686. summary: 查询我的预售信息
  11687. tags:
  11688. - 产能预售
  11689. /CPTrade/QueryPositionCancel:
  11690. get:
  11691. parameters:
  11692. - description: 账户ID
  11693. in: query
  11694. name: userid
  11695. required: true
  11696. type: integer
  11697. - description: 注销ID
  11698. in: query
  11699. name: cancelid
  11700. type: integer
  11701. - description: 资金账户ID
  11702. in: query
  11703. name: accountid
  11704. type: integer
  11705. produces:
  11706. - application/json
  11707. responses:
  11708. "200":
  11709. description: OK
  11710. schema:
  11711. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  11712. "500":
  11713. description: Internal Server Error
  11714. schema:
  11715. $ref: '#/definitions/app.Response'
  11716. security:
  11717. - ApiKeyAuth: []
  11718. summary: 查询远期订单注销申请信息
  11719. tags:
  11720. - 产能预售
  11721. /CPTrade/QueryPreasleApply:
  11722. get:
  11723. parameters:
  11724. - description: 账户ID
  11725. in: query
  11726. name: userid
  11727. required: true
  11728. type: integer
  11729. - description: 申请ID
  11730. in: query
  11731. name: applyid
  11732. type: integer
  11733. - description: 资金账户ID
  11734. in: query
  11735. name: accountid
  11736. type: integer
  11737. produces:
  11738. - application/json
  11739. responses:
  11740. "200":
  11741. description: OK
  11742. schema:
  11743. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  11744. "500":
  11745. description: Internal Server Error
  11746. schema:
  11747. $ref: '#/definitions/app.Response'
  11748. security:
  11749. - ApiKeyAuth: []
  11750. summary: 查询产能预售申请信息
  11751. tags:
  11752. - 产能预售
  11753. /CPTrade/QueryPresaleGoodsEx:
  11754. get:
  11755. parameters:
  11756. - description: 预售商品ID
  11757. in: query
  11758. name: goodsid
  11759. type: integer
  11760. - description: 预售市场ID
  11761. in: query
  11762. name: marketid
  11763. type: integer
  11764. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  11765. in: query
  11766. name: presalemode
  11767. type: integer
  11768. - description: 预售商品ID列表 - 格式:1,2,3
  11769. in: query
  11770. name: goodsids
  11771. type: string
  11772. - description: 预售商品代码
  11773. in: query
  11774. name: goodscode
  11775. type: string
  11776. produces:
  11777. - application/json
  11778. responses:
  11779. "200":
  11780. description: OK
  11781. schema:
  11782. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  11783. "500":
  11784. description: Internal Server Error
  11785. schema:
  11786. $ref: '#/definitions/app.Response'
  11787. security:
  11788. - ApiKeyAuth: []
  11789. summary: 查询产能预售商品扩展信息
  11790. tags:
  11791. - 产能预售
  11792. /CPTrade/QueryUserGoodsData:
  11793. get:
  11794. parameters:
  11795. - description: 资金账户ID
  11796. in: query
  11797. name: accountid
  11798. required: true
  11799. type: integer
  11800. produces:
  11801. - application/json
  11802. responses:
  11803. "200":
  11804. description: OK
  11805. schema:
  11806. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  11807. "500":
  11808. description: Internal Server Error
  11809. schema:
  11810. $ref: '#/definitions/app.Response'
  11811. security:
  11812. - ApiKeyAuth: []
  11813. summary: 查询远期订单信息
  11814. tags:
  11815. - 产能预售
  11816. /Common/GetAllEnums:
  11817. get:
  11818. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  11819. parameters:
  11820. - description: 起始自增ID
  11821. in: query
  11822. name: autoid
  11823. type: integer
  11824. produces:
  11825. - application/json
  11826. responses:
  11827. "200":
  11828. description: OK
  11829. schema:
  11830. $ref: '#/definitions/models.Enumdicitem'
  11831. "500":
  11832. description: Internal Server Error
  11833. schema:
  11834. $ref: '#/definitions/app.Response'
  11835. summary: 获取所有枚举信息
  11836. tags:
  11837. - 通用服务
  11838. /Common/GetClientMenus:
  11839. get:
  11840. parameters:
  11841. - description: 登录账号
  11842. in: query
  11843. name: loginID
  11844. required: true
  11845. type: integer
  11846. - description: 终端类型,0:PC 1:Mobile
  11847. in: query
  11848. name: clientType
  11849. type: integer
  11850. produces:
  11851. - application/json
  11852. responses:
  11853. "200":
  11854. description: OK
  11855. schema:
  11856. items:
  11857. $ref: '#/definitions/common.ClientMenu'
  11858. type: array
  11859. "500":
  11860. description: Internal Server Error
  11861. schema:
  11862. $ref: '#/definitions/app.Response'
  11863. security:
  11864. - ApiKeyAuth: []
  11865. summary: 获取交易端菜单
  11866. tags:
  11867. - 通用服务
  11868. /Common/GetDivisions:
  11869. get:
  11870. produces:
  11871. - application/json
  11872. responses:
  11873. "200":
  11874. description: OK
  11875. schema:
  11876. $ref: '#/definitions/models.Division'
  11877. "500":
  11878. description: Internal Server Error
  11879. schema:
  11880. $ref: '#/definitions/app.Response'
  11881. summary: 查询区域信息
  11882. tags:
  11883. - 通用服务
  11884. /Common/GetServerTime:
  11885. get:
  11886. produces:
  11887. - application/json
  11888. responses:
  11889. "200":
  11890. description: OK
  11891. schema:
  11892. $ref: '#/definitions/app.Response'
  11893. "500":
  11894. description: Internal Server Error
  11895. schema:
  11896. $ref: '#/definitions/app.Response'
  11897. summary: 获取服务器时间
  11898. tags:
  11899. - 通用服务
  11900. /Common/NoticeReaded:
  11901. post:
  11902. parameters:
  11903. - description: 登录账号
  11904. in: query
  11905. name: loginID
  11906. required: true
  11907. type: integer
  11908. - description: 通知公告ID
  11909. in: query
  11910. name: noticeID
  11911. required: true
  11912. type: integer
  11913. produces:
  11914. - application/json
  11915. responses:
  11916. "200":
  11917. description: OK
  11918. schema:
  11919. $ref: '#/definitions/app.Response'
  11920. "500":
  11921. description: Internal Server Error
  11922. schema:
  11923. $ref: '#/definitions/app.Response'
  11924. security:
  11925. - ApiKeyAuth: []
  11926. summary: 通知公告设置已读请求
  11927. tags:
  11928. - 通用服务
  11929. /Common/QueryErrorInfos:
  11930. get:
  11931. description: 如果传入rowNumber,则返回此rowNumber后的数据
  11932. parameters:
  11933. - description: 起始行号前索引
  11934. in: query
  11935. name: rowNumber
  11936. type: string
  11937. produces:
  11938. - application/json
  11939. responses:
  11940. "200":
  11941. description: OK
  11942. schema:
  11943. $ref: '#/definitions/models.QueryErrorInfosRsp'
  11944. "500":
  11945. description: Internal Server Error
  11946. schema:
  11947. $ref: '#/definitions/app.Response'
  11948. summary: 获取数据库错误信息
  11949. tags:
  11950. - 通用服务
  11951. /Common/QueryImageConfigs:
  11952. get:
  11953. parameters:
  11954. - description: 类型 - 1:App首页轮播 2:我的
  11955. in: query
  11956. name: imageType
  11957. type: integer
  11958. produces:
  11959. - application/json
  11960. responses:
  11961. "200":
  11962. description: OK
  11963. schema:
  11964. $ref: '#/definitions/common.QueryImageConfigsRsp'
  11965. "500":
  11966. description: Internal Server Error
  11967. schema:
  11968. $ref: '#/definitions/app.Response'
  11969. summary: 查询轮播图配置信息
  11970. tags:
  11971. - 通用服务
  11972. /Common/QueryNotice:
  11973. get:
  11974. parameters:
  11975. - description: 页码
  11976. in: query
  11977. name: page
  11978. type: integer
  11979. - description: 每页条数
  11980. in: query
  11981. name: pagesize
  11982. type: integer
  11983. - description: 登录账号
  11984. in: query
  11985. name: loginID
  11986. required: true
  11987. type: integer
  11988. - description: 消息类型 - 1:公告通知 2:系统消息
  11989. in: query
  11990. name: msgType
  11991. type: integer
  11992. - description: 是否只获取未读信息
  11993. in: query
  11994. name: onlyUnRead
  11995. type: boolean
  11996. - description: 自增ID,传入后会返回这个ID后面的记录
  11997. in: query
  11998. name: lastID
  11999. type: integer
  12000. produces:
  12001. - application/json
  12002. responses:
  12003. "200":
  12004. description: OK
  12005. schema:
  12006. $ref: '#/definitions/common.QueryNoticeRsp'
  12007. "500":
  12008. description: Internal Server Error
  12009. schema:
  12010. $ref: '#/definitions/app.Response'
  12011. security:
  12012. - ApiKeyAuth: []
  12013. summary: 通知公告系统消息查询
  12014. tags:
  12015. - 通用服务
  12016. /Common/QueryProvincesAndCities:
  12017. get:
  12018. parameters:
  12019. - description: 省ID
  12020. in: query
  12021. name: provinceID
  12022. type: integer
  12023. produces:
  12024. - application/json
  12025. responses:
  12026. "200":
  12027. description: OK
  12028. schema:
  12029. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12030. "500":
  12031. description: Internal Server Error
  12032. schema:
  12033. $ref: '#/definitions/app.Response'
  12034. summary: 查询省市信息(不包括区)
  12035. tags:
  12036. - 通用服务
  12037. /Common/QueryTableDefine:
  12038. get:
  12039. parameters:
  12040. - description: 表key
  12041. in: query
  12042. name: tableKey
  12043. type: string
  12044. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12045. in: query
  12046. name: tableType
  12047. type: integer
  12048. produces:
  12049. - application/json
  12050. responses:
  12051. "200":
  12052. description: OK
  12053. schema:
  12054. $ref: '#/definitions/common.QueryTableDefineRsp'
  12055. "500":
  12056. description: Internal Server Error
  12057. schema:
  12058. $ref: '#/definitions/app.Response'
  12059. summary: 查询交易端列表头信息
  12060. tags:
  12061. - 通用服务
  12062. /Common/QueryTraderMenu:
  12063. get:
  12064. parameters:
  12065. - description: 登录账号
  12066. in: query
  12067. name: loginid
  12068. required: true
  12069. type: integer
  12070. produces:
  12071. - application/json
  12072. responses:
  12073. "200":
  12074. description: OK
  12075. schema:
  12076. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12077. "500":
  12078. description: Internal Server Error
  12079. schema:
  12080. $ref: '#/definitions/app.Response'
  12081. summary: 查询交易端菜单
  12082. tags:
  12083. - 通用服务
  12084. /Delivery/QueryDeliveryRelation:
  12085. get:
  12086. parameters:
  12087. - description: 商品ID
  12088. in: query
  12089. name: goodsid
  12090. type: integer
  12091. - description: 品种ID
  12092. in: query
  12093. name: deliverygoodsid
  12094. type: integer
  12095. - description: 市场ID
  12096. in: query
  12097. name: marketid
  12098. type: integer
  12099. produces:
  12100. - application/json
  12101. responses:
  12102. "200":
  12103. description: OK
  12104. schema:
  12105. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12106. "500":
  12107. description: Internal Server Error
  12108. schema:
  12109. $ref: '#/definitions/app.Response'
  12110. security:
  12111. - ApiKeyAuth: []
  12112. summary: 查询商品交割关系表
  12113. tags:
  12114. - 交割服务
  12115. /Ermcp/GetErmcpGoods:
  12116. get:
  12117. parameters:
  12118. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12119. in: query
  12120. name: lastUpdateTime
  12121. type: string
  12122. produces:
  12123. - application/json
  12124. responses:
  12125. "200":
  12126. description: OK
  12127. schema:
  12128. $ref: '#/definitions/models.Goods'
  12129. "500":
  12130. description: Internal Server Error
  12131. schema:
  12132. $ref: '#/definitions/app.Response'
  12133. security:
  12134. - ApiKeyAuth: []
  12135. summary: 查询企业风管期货商品信息
  12136. tags:
  12137. - 企业风险管理(app)
  12138. /Ermcp/GetErmcpGoodsSortByPosition:
  12139. get:
  12140. parameters:
  12141. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12142. in: query
  12143. name: sortIndex
  12144. type: string
  12145. produces:
  12146. - application/json
  12147. responses:
  12148. "200":
  12149. description: OK
  12150. schema:
  12151. $ref: '#/definitions/models.Goodssortbypreposition'
  12152. "500":
  12153. description: Internal Server Error
  12154. schema:
  12155. $ref: '#/definitions/app.Response'
  12156. security:
  12157. - ApiKeyAuth: []
  12158. summary: 查询企业风管期货主力、次主力商品信息
  12159. tags:
  12160. - 企业风险管理(app)
  12161. /Ermcp/GetErmcpOutAccountStatus:
  12162. get:
  12163. parameters:
  12164. - description: 登录账号
  12165. in: query
  12166. name: loginID
  12167. required: true
  12168. type: integer
  12169. produces:
  12170. - application/json
  12171. responses:
  12172. "200":
  12173. description: OK
  12174. schema:
  12175. $ref: '#/definitions/models.Hedgemarketopenlog'
  12176. "500":
  12177. description: Internal Server Error
  12178. schema:
  12179. $ref: '#/definitions/app.Response'
  12180. security:
  12181. - ApiKeyAuth: []
  12182. summary: 获取目标登录账号当前对冲账号在线状态
  12183. tags:
  12184. - 企业风险管理(app)
  12185. /Ermcp/GetErmcpRoleFuncMenuLists:
  12186. get:
  12187. parameters:
  12188. - description: 登录账号
  12189. in: query
  12190. name: loginID
  12191. required: true
  12192. type: integer
  12193. produces:
  12194. - application/json
  12195. responses:
  12196. "200":
  12197. description: OK
  12198. schema:
  12199. $ref: '#/definitions/models.Funcmenulist'
  12200. "500":
  12201. description: Internal Server Error
  12202. schema:
  12203. $ref: '#/definitions/app.Response'
  12204. security:
  12205. - ApiKeyAuth: []
  12206. summary: 获取企业风管终端权限
  12207. tags:
  12208. - 企业风险管理(app)
  12209. /Ermcp/QueryAccMgrBizGroupSet:
  12210. get:
  12211. parameters:
  12212. - description: 用户ID
  12213. in: query
  12214. name: userid
  12215. required: true
  12216. type: integer
  12217. - description: 现货商品id
  12218. in: query
  12219. name: deliverygoodsid
  12220. type: integer
  12221. produces:
  12222. - application/json
  12223. responses:
  12224. "200":
  12225. description: OK
  12226. schema:
  12227. items:
  12228. $ref: '#/definitions/models.ErmcpBizGroupEx'
  12229. type: array
  12230. "500":
  12231. description: Internal Server Error
  12232. schema:
  12233. $ref: '#/definitions/app.Response'
  12234. security:
  12235. - ApiKeyAuth: []
  12236. summary: 查询业务类型分组(账户管理/账户设置)
  12237. tags:
  12238. - 企业风险管理(app)
  12239. /Ermcp/QueryAccMgrLoginUser:
  12240. get:
  12241. parameters:
  12242. - description: 用户ID
  12243. in: query
  12244. name: userid
  12245. required: true
  12246. type: integer
  12247. - description: 用户类型 2-机构 7-企业成员
  12248. in: query
  12249. name: usertype
  12250. type: integer
  12251. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  12252. in: query
  12253. name: querytype
  12254. required: true
  12255. type: integer
  12256. produces:
  12257. - application/json
  12258. responses:
  12259. "200":
  12260. description: OK
  12261. schema:
  12262. items:
  12263. $ref: '#/definitions/models.ErmcpLoginUserEx'
  12264. type: array
  12265. "500":
  12266. description: Internal Server Error
  12267. schema:
  12268. $ref: '#/definitions/app.Response'
  12269. security:
  12270. - ApiKeyAuth: []
  12271. summary: 查询账户管理登录账号(账户管理/登录账号)
  12272. tags:
  12273. - 企业风险管理(app)
  12274. /Ermcp/QueryAccMgrMainAccountInfo:
  12275. get:
  12276. parameters:
  12277. - description: 用户ID
  12278. in: query
  12279. name: userid
  12280. type: integer
  12281. - description: 主账号id
  12282. in: query
  12283. name: accountid
  12284. type: integer
  12285. produces:
  12286. - application/json
  12287. responses:
  12288. "200":
  12289. description: OK
  12290. schema:
  12291. items:
  12292. $ref: '#/definitions/models.MainAccountInfo'
  12293. type: array
  12294. "500":
  12295. description: Internal Server Error
  12296. schema:
  12297. $ref: '#/definitions/app.Response'
  12298. security:
  12299. - ApiKeyAuth: []
  12300. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  12301. tags:
  12302. - 企业风险管理(app)
  12303. /Ermcp/QueryAccMgrRole:
  12304. get:
  12305. parameters:
  12306. - description: 用户ID
  12307. in: query
  12308. name: userid
  12309. required: true
  12310. type: integer
  12311. produces:
  12312. - application/json
  12313. responses:
  12314. "200":
  12315. description: OK
  12316. schema:
  12317. items:
  12318. $ref: '#/definitions/models.ErmcpRole'
  12319. type: array
  12320. "500":
  12321. description: Internal Server Error
  12322. schema:
  12323. $ref: '#/definitions/app.Response'
  12324. security:
  12325. - ApiKeyAuth: []
  12326. summary: 查询账户管理角色设置(账户管理/角色设置)
  12327. tags:
  12328. - 企业风险管理(app)
  12329. /Ermcp/QueryAccMgrRoleMenu:
  12330. get:
  12331. parameters:
  12332. - description: 用户ID
  12333. in: query
  12334. name: userid
  12335. required: true
  12336. type: integer
  12337. - description: 角色id(可多个,逗号隔开)
  12338. in: query
  12339. name: roleid
  12340. type: string
  12341. produces:
  12342. - application/json
  12343. responses:
  12344. "200":
  12345. description: OK
  12346. schema:
  12347. items:
  12348. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  12349. type: array
  12350. "500":
  12351. description: Internal Server Error
  12352. schema:
  12353. $ref: '#/definitions/app.Response'
  12354. security:
  12355. - ApiKeyAuth: []
  12356. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  12357. tags:
  12358. - 企业风险管理(app)
  12359. /Ermcp/QueryAccMgrTaAccountInfo:
  12360. get:
  12361. parameters:
  12362. - description: 用户ID
  12363. in: query
  12364. name: userid
  12365. required: true
  12366. type: integer
  12367. - description: 账号id
  12368. in: query
  12369. name: accountid
  12370. type: integer
  12371. produces:
  12372. - application/json
  12373. responses:
  12374. "200":
  12375. description: OK
  12376. schema:
  12377. items:
  12378. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  12379. type: array
  12380. "500":
  12381. description: Internal Server Error
  12382. schema:
  12383. $ref: '#/definitions/app.Response'
  12384. security:
  12385. - ApiKeyAuth: []
  12386. summary: 查询账户管理授信(账户管理/账户设置/授信)
  12387. tags:
  12388. - 企业风险管理(app)
  12389. /Ermcp/QueryAccMgrTaaccount:
  12390. get:
  12391. parameters:
  12392. - description: 用户ID
  12393. in: query
  12394. name: userid
  12395. required: true
  12396. type: integer
  12397. produces:
  12398. - application/json
  12399. responses:
  12400. "200":
  12401. description: OK
  12402. schema:
  12403. items:
  12404. $ref: '#/definitions/models.ErmcpTaAccountEx'
  12405. type: array
  12406. "500":
  12407. description: Internal Server Error
  12408. schema:
  12409. $ref: '#/definitions/app.Response'
  12410. security:
  12411. - ApiKeyAuth: []
  12412. summary: 查询账户管理期货账号(账户管理/期货账号)
  12413. tags:
  12414. - 企业风险管理(app)
  12415. /Ermcp/QueryAvaildGoodsGroup:
  12416. get:
  12417. parameters:
  12418. - description: 所属机构ID
  12419. in: query
  12420. name: userid
  12421. required: true
  12422. type: integer
  12423. produces:
  12424. - application/json
  12425. responses:
  12426. "200":
  12427. description: OK
  12428. schema:
  12429. items:
  12430. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  12431. type: array
  12432. "500":
  12433. description: Internal Server Error
  12434. schema:
  12435. $ref: '#/definitions/app.Response'
  12436. security:
  12437. - ApiKeyAuth: []
  12438. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  12439. tags:
  12440. - 企业风险管理(app)
  12441. /Ermcp/QueryBusinessDj:
  12442. get:
  12443. parameters:
  12444. - description: 用户ID
  12445. in: query
  12446. name: UserId
  12447. required: true
  12448. type: integer
  12449. - description: 用户类型 2-机构 7-企业成员
  12450. in: query
  12451. name: usertype
  12452. type: integer
  12453. - description: 现货合同ID, 不填则查所有
  12454. in: query
  12455. name: relatedid
  12456. type: string
  12457. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12458. in: query
  12459. name: applystatus
  12460. type: string
  12461. produces:
  12462. - application/json
  12463. responses:
  12464. "200":
  12465. description: OK
  12466. schema:
  12467. items:
  12468. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  12469. type: array
  12470. "500":
  12471. description: Internal Server Error
  12472. schema:
  12473. $ref: '#/definitions/app.Response'
  12474. security:
  12475. - ApiKeyAuth: []
  12476. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  12477. tags:
  12478. - 企业风险管理(app)
  12479. /Ermcp/QueryBusinessFp:
  12480. get:
  12481. parameters:
  12482. - description: 用户ID
  12483. in: query
  12484. name: UserId
  12485. required: true
  12486. type: integer
  12487. - description: 用户类型 2-机构 7-企业成员
  12488. in: query
  12489. name: usertype
  12490. type: integer
  12491. - description: 现货合同ID, 不填则查所有
  12492. in: query
  12493. name: relatedid
  12494. type: string
  12495. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12496. in: query
  12497. name: applystatus
  12498. type: string
  12499. produces:
  12500. - application/json
  12501. responses:
  12502. "200":
  12503. description: OK
  12504. schema:
  12505. items:
  12506. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  12507. type: array
  12508. "500":
  12509. description: Internal Server Error
  12510. schema:
  12511. $ref: '#/definitions/app.Response'
  12512. security:
  12513. - ApiKeyAuth: []
  12514. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  12515. tags:
  12516. - 企业风险管理(app)
  12517. /Ermcp/QueryBusinessJs:
  12518. get:
  12519. parameters:
  12520. - description: 用户ID
  12521. in: query
  12522. name: UserId
  12523. required: true
  12524. type: integer
  12525. - description: 用户类型 2-机构 7-企业成员
  12526. in: query
  12527. name: usertype
  12528. type: integer
  12529. - description: 现货合同ID, 不填则查所有
  12530. in: query
  12531. name: relatedid
  12532. type: string
  12533. - description: 操作申请id
  12534. in: query
  12535. name: operateapplyid
  12536. type: string
  12537. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12538. in: query
  12539. name: applystatus
  12540. type: string
  12541. produces:
  12542. - application/json
  12543. responses:
  12544. "200":
  12545. description: OK
  12546. schema:
  12547. items:
  12548. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  12549. type: array
  12550. "500":
  12551. description: Internal Server Error
  12552. schema:
  12553. $ref: '#/definitions/app.Response'
  12554. security:
  12555. - ApiKeyAuth: []
  12556. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  12557. tags:
  12558. - 企业风险管理(app)
  12559. /Ermcp/QueryBusinessJsEx:
  12560. get:
  12561. parameters:
  12562. - description: 用户ID
  12563. in: query
  12564. name: UserId
  12565. required: true
  12566. type: integer
  12567. - description: 用户类型 2-机构 7-企业成员
  12568. in: query
  12569. name: usertype
  12570. type: integer
  12571. - description: 现货合同ID, 不填则查所有
  12572. in: query
  12573. name: relatedid
  12574. type: string
  12575. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12576. in: query
  12577. name: applystatus
  12578. type: string
  12579. produces:
  12580. - application/json
  12581. responses:
  12582. "200":
  12583. description: OK
  12584. schema:
  12585. items:
  12586. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  12587. type: array
  12588. "500":
  12589. description: Internal Server Error
  12590. schema:
  12591. $ref: '#/definitions/app.Response'
  12592. security:
  12593. - ApiKeyAuth: []
  12594. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  12595. tags:
  12596. - 企业风险管理(app)
  12597. /Ermcp/QueryBusinessKx:
  12598. get:
  12599. parameters:
  12600. - description: 用户ID
  12601. in: query
  12602. name: UserId
  12603. required: true
  12604. type: integer
  12605. - description: 用户类型 2-机构 7-企业成员
  12606. in: query
  12607. name: usertype
  12608. type: integer
  12609. - description: 现货合同ID, 不填则查所有
  12610. in: query
  12611. name: relatedid
  12612. type: string
  12613. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12614. in: query
  12615. name: applystatus
  12616. type: string
  12617. produces:
  12618. - application/json
  12619. responses:
  12620. "200":
  12621. description: OK
  12622. schema:
  12623. items:
  12624. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  12625. type: array
  12626. "500":
  12627. description: Internal Server Error
  12628. schema:
  12629. $ref: '#/definitions/app.Response'
  12630. security:
  12631. - ApiKeyAuth: []
  12632. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  12633. tags:
  12634. - 企业风险管理(app)
  12635. /Ermcp/QueryChangeLog:
  12636. get:
  12637. parameters:
  12638. - description: 合同ID
  12639. in: query
  12640. name: RelatedId
  12641. required: true
  12642. type: string
  12643. produces:
  12644. - application/json
  12645. responses:
  12646. "200":
  12647. description: OK
  12648. schema:
  12649. items:
  12650. $ref: '#/definitions/ermcp.QryOPLogRsp'
  12651. type: array
  12652. "500":
  12653. description: Internal Server Error
  12654. schema:
  12655. $ref: '#/definitions/app.Response'
  12656. security:
  12657. - ApiKeyAuth: []
  12658. summary: 查询变更记录
  12659. tags:
  12660. - 企业风险管理(app)
  12661. /Ermcp/QueryErmcpHisOrderDetails:
  12662. get:
  12663. parameters:
  12664. - description: 资金账户ID
  12665. in: query
  12666. name: accountID
  12667. required: true
  12668. type: integer
  12669. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12670. in: query
  12671. name: startDate
  12672. type: string
  12673. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12674. in: query
  12675. name: endDate
  12676. type: string
  12677. produces:
  12678. - application/json
  12679. responses:
  12680. "200":
  12681. description: OK
  12682. schema:
  12683. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12684. "500":
  12685. description: Internal Server Error
  12686. schema:
  12687. $ref: '#/definitions/app.Response'
  12688. security:
  12689. - ApiKeyAuth: []
  12690. summary: 获取企业风管期货历史委托单信息
  12691. tags:
  12692. - 企业风险管理(app)
  12693. /Ermcp/QueryErmcpHisTradeDetails:
  12694. get:
  12695. parameters:
  12696. - description: 资金账户ID
  12697. in: query
  12698. name: accountID
  12699. required: true
  12700. type: integer
  12701. - description: 商品ID
  12702. in: query
  12703. name: goodsID
  12704. type: integer
  12705. - description: 买卖方向,0:买 1:卖
  12706. in: query
  12707. name: buyOrSell
  12708. type: integer
  12709. - description: 关联委托单号
  12710. in: query
  12711. name: orderID
  12712. type: integer
  12713. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12714. in: query
  12715. name: startDate
  12716. type: string
  12717. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12718. in: query
  12719. name: endDate
  12720. type: string
  12721. produces:
  12722. - application/json
  12723. responses:
  12724. "200":
  12725. description: OK
  12726. schema:
  12727. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12728. "500":
  12729. description: Internal Server Error
  12730. schema:
  12731. $ref: '#/definitions/app.Response'
  12732. security:
  12733. - ApiKeyAuth: []
  12734. summary: 获取企业风管期货历史成交单信息
  12735. tags:
  12736. - 企业风险管理(app)
  12737. /Ermcp/QueryErmcpInnerHolderDetails:
  12738. get:
  12739. parameters:
  12740. - description: 资金账户ID
  12741. in: query
  12742. name: accountID
  12743. required: true
  12744. type: integer
  12745. - description: 商品ID
  12746. in: query
  12747. name: goodsID
  12748. type: integer
  12749. - description: 买卖方向,0:买 1:卖
  12750. in: query
  12751. name: buyOrSell
  12752. type: integer
  12753. produces:
  12754. - application/json
  12755. responses:
  12756. "200":
  12757. description: OK
  12758. schema:
  12759. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  12760. "500":
  12761. description: Internal Server Error
  12762. schema:
  12763. $ref: '#/definitions/app.Response'
  12764. security:
  12765. - ApiKeyAuth: []
  12766. summary: 获取企业风管期货内部持仓单信息
  12767. tags:
  12768. - 企业风险管理(app)
  12769. /Ermcp/QueryErmcpOrderDetails:
  12770. get:
  12771. parameters:
  12772. - description: 资金账户ID
  12773. in: query
  12774. name: accountID
  12775. required: true
  12776. type: integer
  12777. produces:
  12778. - application/json
  12779. responses:
  12780. "200":
  12781. description: OK
  12782. schema:
  12783. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12784. "500":
  12785. description: Internal Server Error
  12786. schema:
  12787. $ref: '#/definitions/app.Response'
  12788. security:
  12789. - ApiKeyAuth: []
  12790. summary: 获取企业风管期货委托单信息
  12791. tags:
  12792. - 企业风险管理(app)
  12793. /Ermcp/QueryErmcpTradeDetails:
  12794. get:
  12795. parameters:
  12796. - description: 资金账户ID
  12797. in: query
  12798. name: accountID
  12799. required: true
  12800. type: integer
  12801. - description: 商品ID
  12802. in: query
  12803. name: goodsID
  12804. type: integer
  12805. - description: 买卖方向,0:买 1:卖
  12806. in: query
  12807. name: buyOrSell
  12808. type: integer
  12809. - description: 关联委托单号
  12810. in: query
  12811. name: orderID
  12812. type: integer
  12813. produces:
  12814. - application/json
  12815. responses:
  12816. "200":
  12817. description: OK
  12818. schema:
  12819. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12820. "500":
  12821. description: Internal Server Error
  12822. schema:
  12823. $ref: '#/definitions/app.Response'
  12824. security:
  12825. - ApiKeyAuth: []
  12826. summary: 获取企业风管期货成交单信息
  12827. tags:
  12828. - 企业风险管理(app)
  12829. /Ermcp/QueryErmcpTradePosition:
  12830. get:
  12831. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  12832. parameters:
  12833. - description: 资金账户ID
  12834. in: query
  12835. name: accountID
  12836. required: true
  12837. type: integer
  12838. - description: 所属市场ID
  12839. in: query
  12840. name: marketID
  12841. type: integer
  12842. produces:
  12843. - application/json
  12844. responses:
  12845. "200":
  12846. description: OK
  12847. schema:
  12848. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  12849. "500":
  12850. description: Internal Server Error
  12851. schema:
  12852. $ref: '#/definitions/app.Response'
  12853. security:
  12854. - ApiKeyAuth: []
  12855. summary: 获取企业风管期货持仓头寸信息
  12856. tags:
  12857. - 企业风险管理(app)
  12858. /Ermcp/QueryExposureDetail:
  12859. get:
  12860. parameters:
  12861. - description: 所属机构ID
  12862. in: query
  12863. name: areaUserId
  12864. required: true
  12865. type: integer
  12866. - description: 套保商品
  12867. in: query
  12868. name: middleGoodsId
  12869. required: true
  12870. type: integer
  12871. produces:
  12872. - application/json
  12873. responses:
  12874. "200":
  12875. description: OK
  12876. schema:
  12877. items:
  12878. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  12879. type: array
  12880. "500":
  12881. description: Internal Server Error
  12882. schema:
  12883. $ref: '#/definitions/app.Response'
  12884. security:
  12885. - ApiKeyAuth: []
  12886. summary: 查询敞口现货明细
  12887. tags:
  12888. - 企业风险管理(app)
  12889. /Ermcp/QueryExposureHedgePosition:
  12890. get:
  12891. parameters:
  12892. - description: 用户id
  12893. in: query
  12894. name: userid
  12895. required: true
  12896. type: integer
  12897. produces:
  12898. - application/json
  12899. responses:
  12900. "200":
  12901. description: OK
  12902. schema:
  12903. items:
  12904. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  12905. type: array
  12906. "500":
  12907. description: Internal Server Error
  12908. schema:
  12909. $ref: '#/definitions/app.Response'
  12910. security:
  12911. - ApiKeyAuth: []
  12912. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  12913. tags:
  12914. - 企业风险管理(app)
  12915. /Ermcp/QueryExposureHedgePositionDetail:
  12916. get:
  12917. parameters:
  12918. - description: 所属机构ID
  12919. in: query
  12920. name: userid
  12921. required: true
  12922. type: integer
  12923. - description: 商品id
  12924. in: query
  12925. name: goodsId
  12926. required: true
  12927. type: integer
  12928. produces:
  12929. - application/json
  12930. responses:
  12931. "200":
  12932. description: OK
  12933. schema:
  12934. items:
  12935. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  12936. type: array
  12937. "500":
  12938. description: Internal Server Error
  12939. schema:
  12940. $ref: '#/definitions/app.Response'
  12941. security:
  12942. - ApiKeyAuth: []
  12943. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  12944. tags:
  12945. - 企业风险管理(app)
  12946. /Ermcp/QueryExposureSpot:
  12947. get:
  12948. parameters:
  12949. - description: 所属机构ID
  12950. in: query
  12951. name: areaUserId
  12952. required: true
  12953. type: integer
  12954. produces:
  12955. - application/json
  12956. responses:
  12957. "200":
  12958. description: OK
  12959. schema:
  12960. items:
  12961. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  12962. type: array
  12963. "500":
  12964. description: Internal Server Error
  12965. schema:
  12966. $ref: '#/definitions/app.Response'
  12967. security:
  12968. - ApiKeyAuth: []
  12969. summary: 查询敞口现货头寸(敞口/现货头寸)
  12970. tags:
  12971. - 企业风险管理(app)
  12972. /Ermcp/QueryExposureSpotDetail:
  12973. get:
  12974. parameters:
  12975. - description: 所属机构ID
  12976. in: query
  12977. name: areaUserId
  12978. required: true
  12979. type: integer
  12980. - description: 现货品种ID
  12981. in: query
  12982. name: wrstandardId
  12983. required: true
  12984. type: integer
  12985. produces:
  12986. - application/json
  12987. responses:
  12988. "200":
  12989. description: OK
  12990. schema:
  12991. items:
  12992. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  12993. type: array
  12994. "500":
  12995. description: Internal Server Error
  12996. schema:
  12997. $ref: '#/definitions/app.Response'
  12998. security:
  12999. - ApiKeyAuth: []
  13000. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13001. tags:
  13002. - 企业风险管理(app)
  13003. /Ermcp/QueryFuturesCompany:
  13004. get:
  13005. produces:
  13006. - application/json
  13007. responses:
  13008. "200":
  13009. description: OK
  13010. schema:
  13011. items:
  13012. $ref: '#/definitions/models.ErmcpFuturesCompany'
  13013. type: array
  13014. "500":
  13015. description: Internal Server Error
  13016. schema:
  13017. $ref: '#/definitions/app.Response'
  13018. security:
  13019. - ApiKeyAuth: []
  13020. summary: 查询期货公司
  13021. tags:
  13022. - 企业风险管理(app)
  13023. /Ermcp/QueryGGConvertConfig:
  13024. get:
  13025. parameters:
  13026. - description: 品种id(不填则查所有)
  13027. in: query
  13028. name: goodsgroupid
  13029. type: integer
  13030. produces:
  13031. - application/json
  13032. responses:
  13033. "200":
  13034. description: OK
  13035. schema:
  13036. items:
  13037. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  13038. type: array
  13039. "500":
  13040. description: Internal Server Error
  13041. schema:
  13042. $ref: '#/definitions/app.Response'
  13043. security:
  13044. - ApiKeyAuth: []
  13045. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  13046. tags:
  13047. - 企业风险管理(app)
  13048. /Ermcp/QueryGoodsBrand:
  13049. get:
  13050. parameters:
  13051. - description: 用户ID
  13052. in: query
  13053. name: userid
  13054. required: true
  13055. type: integer
  13056. - description: 现货商品ID
  13057. in: query
  13058. name: wrstandardid
  13059. type: integer
  13060. produces:
  13061. - application/json
  13062. responses:
  13063. "200":
  13064. description: OK
  13065. schema:
  13066. items:
  13067. $ref: '#/definitions/models.ErmcpGoodsBrand'
  13068. type: array
  13069. "500":
  13070. description: Internal Server Error
  13071. schema:
  13072. $ref: '#/definitions/app.Response'
  13073. security:
  13074. - ApiKeyAuth: []
  13075. summary: 查询商品品牌
  13076. tags:
  13077. - 企业风险管理(app)
  13078. /Ermcp/QueryGoodsModel:
  13079. get:
  13080. parameters:
  13081. - description: 用户ID
  13082. in: query
  13083. name: userid
  13084. required: true
  13085. type: integer
  13086. produces:
  13087. - application/json
  13088. responses:
  13089. "200":
  13090. description: OK
  13091. schema:
  13092. items:
  13093. $ref: '#/definitions/models.ErmcpGoodsModel'
  13094. type: array
  13095. "500":
  13096. description: Internal Server Error
  13097. schema:
  13098. $ref: '#/definitions/app.Response'
  13099. security:
  13100. - ApiKeyAuth: []
  13101. summary: 查询商品型号
  13102. tags:
  13103. - 企业风险管理(app)
  13104. /Ermcp/QueryHisExposure:
  13105. get:
  13106. parameters:
  13107. - description: 用户id
  13108. in: query
  13109. name: userid
  13110. required: true
  13111. type: integer
  13112. - description: 每个品种记录数
  13113. in: query
  13114. name: lastNum
  13115. required: true
  13116. type: integer
  13117. produces:
  13118. - application/json
  13119. responses:
  13120. "200":
  13121. description: OK
  13122. schema:
  13123. items:
  13124. $ref: '#/definitions/ermcp.HisExposureRsp'
  13125. type: array
  13126. "500":
  13127. description: Internal Server Error
  13128. schema:
  13129. $ref: '#/definitions/app.Response'
  13130. security:
  13131. - ApiKeyAuth: []
  13132. summary: 查询历史敞口(菜单:敞口/历史敞口)
  13133. tags:
  13134. - 企业风险管理(app)
  13135. /Ermcp/QueryMiddleGoods:
  13136. get:
  13137. parameters:
  13138. - description: 所属机构ID
  13139. in: query
  13140. name: userid
  13141. required: true
  13142. type: integer
  13143. - description: 状态 0-停用 1-正常
  13144. in: query
  13145. name: status
  13146. required: true
  13147. type: integer
  13148. produces:
  13149. - application/json
  13150. responses:
  13151. "200":
  13152. description: OK
  13153. schema:
  13154. items:
  13155. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  13156. type: array
  13157. "500":
  13158. description: Internal Server Error
  13159. schema:
  13160. $ref: '#/definitions/app.Response'
  13161. security:
  13162. - ApiKeyAuth: []
  13163. summary: 查询套保品种(菜单:套保品种)
  13164. tags:
  13165. - 企业风险管理(app)
  13166. /Ermcp/QueryMiddleGoodsChangeLog:
  13167. get:
  13168. parameters:
  13169. - description: 所属机构ID
  13170. in: query
  13171. name: userid
  13172. required: true
  13173. type: integer
  13174. - description: 套保品种id
  13175. in: query
  13176. name: middlegoodsid
  13177. required: true
  13178. type: integer
  13179. produces:
  13180. - application/json
  13181. responses:
  13182. "200":
  13183. description: OK
  13184. schema:
  13185. items:
  13186. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  13187. type: array
  13188. "500":
  13189. description: Internal Server Error
  13190. schema:
  13191. $ref: '#/definitions/app.Response'
  13192. security:
  13193. - ApiKeyAuth: []
  13194. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  13195. tags:
  13196. - 企业风险管理(app)
  13197. /Ermcp/QueryMiddleGoodsDetail:
  13198. get:
  13199. parameters:
  13200. - description: 所属机构ID
  13201. in: query
  13202. name: userid
  13203. required: true
  13204. type: integer
  13205. - description: 套保品种id
  13206. in: query
  13207. name: middlegoodsid
  13208. type: integer
  13209. produces:
  13210. - application/json
  13211. responses:
  13212. "200":
  13213. description: OK
  13214. schema:
  13215. items:
  13216. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  13217. type: array
  13218. "500":
  13219. description: Internal Server Error
  13220. schema:
  13221. $ref: '#/definitions/app.Response'
  13222. security:
  13223. - ApiKeyAuth: []
  13224. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  13225. tags:
  13226. - 企业风险管理(app)
  13227. /Ermcp/QueryPendingAuditInfo:
  13228. get:
  13229. parameters:
  13230. - description: 用户ID
  13231. in: query
  13232. name: UserId
  13233. required: true
  13234. type: integer
  13235. produces:
  13236. - application/json
  13237. responses:
  13238. "200":
  13239. description: OK
  13240. schema:
  13241. items:
  13242. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  13243. type: array
  13244. "500":
  13245. description: Internal Server Error
  13246. schema:
  13247. $ref: '#/definitions/app.Response'
  13248. security:
  13249. - ApiKeyAuth: []
  13250. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  13251. tags:
  13252. - 企业风险管理(app)
  13253. /Ermcp/QueryRealtimeExposure:
  13254. get:
  13255. parameters:
  13256. - description: 所属机构ID
  13257. in: query
  13258. name: userid
  13259. required: true
  13260. type: integer
  13261. produces:
  13262. - application/json
  13263. responses:
  13264. "200":
  13265. description: OK
  13266. schema:
  13267. items:
  13268. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  13269. type: array
  13270. "500":
  13271. description: Internal Server Error
  13272. schema:
  13273. $ref: '#/definitions/app.Response'
  13274. security:
  13275. - ApiKeyAuth: []
  13276. summary: 查询实时敞口
  13277. tags:
  13278. - 企业风险管理(app)
  13279. /Ermcp/QueryRealtimeExposurePosition:
  13280. get:
  13281. parameters:
  13282. - description: 用户id
  13283. in: query
  13284. name: userid
  13285. required: true
  13286. type: integer
  13287. - description: 套保商品ID
  13288. in: query
  13289. name: middleGoodsId
  13290. required: true
  13291. type: integer
  13292. produces:
  13293. - application/json
  13294. responses:
  13295. "200":
  13296. description: OK
  13297. schema:
  13298. items:
  13299. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  13300. type: array
  13301. "500":
  13302. description: Internal Server Error
  13303. schema:
  13304. $ref: '#/definitions/app.Response'
  13305. security:
  13306. - ApiKeyAuth: []
  13307. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  13308. tags:
  13309. - 企业风险管理(app)
  13310. /Ermcp/QueryTradeConfigTMP:
  13311. get:
  13312. parameters:
  13313. - description: 所属机构id
  13314. in: query
  13315. name: areauserid
  13316. type: integer
  13317. produces:
  13318. - application/json
  13319. responses:
  13320. "200":
  13321. description: OK
  13322. schema:
  13323. items:
  13324. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  13325. type: array
  13326. "500":
  13327. description: Internal Server Error
  13328. schema:
  13329. $ref: '#/definitions/app.Response'
  13330. security:
  13331. - ApiKeyAuth: []
  13332. summary: 查询交易模板配置
  13333. tags:
  13334. - 企业风险管理(app)
  13335. /Ermcp/QueryUserInfo:
  13336. get:
  13337. parameters:
  13338. - description: 所属机构用户ID
  13339. in: query
  13340. name: MemberUserID
  13341. required: true
  13342. type: integer
  13343. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  13344. in: query
  13345. name: queryType
  13346. required: true
  13347. type: integer
  13348. produces:
  13349. - application/json
  13350. responses:
  13351. "200":
  13352. description: OK
  13353. schema:
  13354. items:
  13355. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  13356. type: array
  13357. "500":
  13358. description: Internal Server Error
  13359. schema:
  13360. $ref: '#/definitions/app.Response'
  13361. security:
  13362. - ApiKeyAuth: []
  13363. summary: 查询客户资料
  13364. tags:
  13365. - 企业风险管理(app)
  13366. /Ermcp/QueryWarehouseInfo:
  13367. get:
  13368. parameters:
  13369. - description: 用户ID
  13370. in: query
  13371. name: userid
  13372. required: true
  13373. type: integer
  13374. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  13375. in: query
  13376. name: status
  13377. type: string
  13378. produces:
  13379. - application/json
  13380. responses:
  13381. "200":
  13382. description: OK
  13383. schema:
  13384. items:
  13385. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  13386. type: array
  13387. "500":
  13388. description: Internal Server Error
  13389. schema:
  13390. $ref: '#/definitions/app.Response'
  13391. security:
  13392. - ApiKeyAuth: []
  13393. summary: 查询仓库信息
  13394. tags:
  13395. - 企业风险管理(app)
  13396. /Ermcp3/QryAreaExpourseContractDetail:
  13397. get:
  13398. parameters:
  13399. - description: 用户ID
  13400. in: query
  13401. name: userid
  13402. required: true
  13403. type: integer
  13404. - description: 套保商品id
  13405. in: query
  13406. name: middlegoodsid
  13407. required: true
  13408. type: integer
  13409. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13410. in: query
  13411. name: cycletype
  13412. required: true
  13413. type: integer
  13414. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13415. 全(0)【原值】
  13416. in: query
  13417. name: cycletime
  13418. required: true
  13419. type: string
  13420. produces:
  13421. - application/json
  13422. responses:
  13423. "200":
  13424. description: OK
  13425. schema:
  13426. items:
  13427. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  13428. type: array
  13429. "500":
  13430. description: Internal Server Error
  13431. schema:
  13432. $ref: '#/definitions/app.Response'
  13433. security:
  13434. - ApiKeyAuth: []
  13435. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  13436. tags:
  13437. - 企业风险管理v3(app)
  13438. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  13439. get:
  13440. parameters:
  13441. - description: 用户ID
  13442. in: query
  13443. name: userid
  13444. required: true
  13445. type: integer
  13446. - description: 套保商品id
  13447. in: query
  13448. name: middlegoodsid
  13449. required: true
  13450. type: integer
  13451. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13452. in: query
  13453. name: cycletype
  13454. required: true
  13455. type: integer
  13456. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13457. 全(0)【原值】
  13458. in: query
  13459. name: cycletime
  13460. required: true
  13461. type: string
  13462. produces:
  13463. - application/json
  13464. responses:
  13465. "200":
  13466. description: OK
  13467. schema:
  13468. items:
  13469. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  13470. type: array
  13471. "500":
  13472. description: Internal Server Error
  13473. schema:
  13474. $ref: '#/definitions/app.Response'
  13475. security:
  13476. - ApiKeyAuth: []
  13477. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  13478. tags:
  13479. - 企业风险管理v3(app)
  13480. /Ermcp3/QryAreaExpourseReport:
  13481. get:
  13482. parameters:
  13483. - description: 用户ID
  13484. in: query
  13485. name: userid
  13486. required: true
  13487. type: integer
  13488. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  13489. in: query
  13490. name: querytype
  13491. required: true
  13492. type: integer
  13493. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13494. in: query
  13495. name: cycletype
  13496. required: true
  13497. type: integer
  13498. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13499. 全(0)【原值】
  13500. in: query
  13501. name: cycletime
  13502. required: true
  13503. type: string
  13504. produces:
  13505. - application/json
  13506. responses:
  13507. "200":
  13508. description: OK
  13509. schema:
  13510. items:
  13511. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  13512. type: array
  13513. "500":
  13514. description: Internal Server Error
  13515. schema:
  13516. $ref: '#/definitions/app.Response'
  13517. security:
  13518. - ApiKeyAuth: []
  13519. summary: 查询敞口报表
  13520. tags:
  13521. - 企业风险管理v3(app)
  13522. /Ermcp3/QryAreaSpotplReport:
  13523. get:
  13524. parameters:
  13525. - description: 用户ID
  13526. in: query
  13527. name: userid
  13528. required: true
  13529. type: integer
  13530. - description: 查询类型 1-报表 2-报表明细
  13531. in: query
  13532. name: querytype
  13533. required: true
  13534. type: integer
  13535. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13536. in: query
  13537. name: cycletype
  13538. required: true
  13539. type: integer
  13540. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13541. 全(0)【原值】
  13542. in: query
  13543. name: cycletime
  13544. required: true
  13545. type: string
  13546. - description: 现货品种id(明细必填)
  13547. in: query
  13548. name: deliverygoodsid
  13549. type: integer
  13550. - description: 品类id(明细必填)
  13551. in: query
  13552. name: wrstandardid
  13553. type: integer
  13554. - description: 币种id(明细必填)
  13555. in: query
  13556. name: currencyid
  13557. type: integer
  13558. produces:
  13559. - application/json
  13560. responses:
  13561. "200":
  13562. description: OK
  13563. schema:
  13564. items:
  13565. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  13566. type: array
  13567. "500":
  13568. description: Internal Server Error
  13569. schema:
  13570. $ref: '#/definitions/app.Response'
  13571. security:
  13572. - ApiKeyAuth: []
  13573. summary: 查询现货报表
  13574. tags:
  13575. - 企业风险管理v3(app)
  13576. /Ermcp3/QryAreaStockReport:
  13577. get:
  13578. parameters:
  13579. - description: 用户ID
  13580. in: query
  13581. name: userid
  13582. required: true
  13583. type: integer
  13584. - description: 查询类型 1-报表 2-报表明细
  13585. in: query
  13586. name: querytype
  13587. required: true
  13588. type: integer
  13589. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13590. in: query
  13591. name: cycletype
  13592. required: true
  13593. type: integer
  13594. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13595. 全(0)【原值】
  13596. in: query
  13597. name: cycletime
  13598. required: true
  13599. type: string
  13600. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  13601. in: query
  13602. name: sumfields
  13603. type: string
  13604. - description: 品种ID
  13605. in: query
  13606. name: deliverygoodsid
  13607. type: integer
  13608. - description: 品类ID
  13609. in: query
  13610. name: wrstandardid
  13611. type: integer
  13612. - description: 品牌ID
  13613. in: query
  13614. name: spotgoodsbrandid
  13615. type: integer
  13616. - description: 仓库ID
  13617. in: query
  13618. name: warehouseinfoid
  13619. type: integer
  13620. produces:
  13621. - application/json
  13622. responses:
  13623. "200":
  13624. description: OK
  13625. schema:
  13626. items:
  13627. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  13628. type: array
  13629. "500":
  13630. description: Internal Server Error
  13631. schema:
  13632. $ref: '#/definitions/app.Response'
  13633. security:
  13634. - ApiKeyAuth: []
  13635. summary: 查询库存报表
  13636. tags:
  13637. - 企业风险管理v3(app)
  13638. /Ermcp3/QryAreaSumPL:
  13639. get:
  13640. parameters:
  13641. - description: 用户ID
  13642. in: query
  13643. name: userid
  13644. required: true
  13645. type: integer
  13646. - description: 查询类型 1-报表 2-报表明细
  13647. in: query
  13648. name: querytype
  13649. required: true
  13650. type: integer
  13651. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13652. in: query
  13653. name: cycletype
  13654. required: true
  13655. type: integer
  13656. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13657. 全(0)【原值】
  13658. in: query
  13659. name: cycletime
  13660. required: true
  13661. type: string
  13662. - description: 币种id(明细必填)
  13663. in: query
  13664. name: currencyid
  13665. type: integer
  13666. produces:
  13667. - application/json
  13668. responses:
  13669. "200":
  13670. description: OK
  13671. schema:
  13672. items:
  13673. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  13674. type: array
  13675. "500":
  13676. description: Internal Server Error
  13677. schema:
  13678. $ref: '#/definitions/app.Response'
  13679. security:
  13680. - ApiKeyAuth: []
  13681. summary: 查询汇总损益表
  13682. tags:
  13683. - 企业风险管理v3(app)
  13684. /Ermcp3/QryFinanceReport:
  13685. get:
  13686. parameters:
  13687. - description: 用户ID
  13688. in: query
  13689. name: userid
  13690. required: true
  13691. type: integer
  13692. - description: 查询类型 1-报表 2-报表明细
  13693. in: query
  13694. name: querytype
  13695. required: true
  13696. type: integer
  13697. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13698. in: query
  13699. name: cycletype
  13700. required: true
  13701. type: integer
  13702. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13703. 全(0)【原值】
  13704. in: query
  13705. name: cycletime
  13706. required: true
  13707. type: string
  13708. - description: 币种id(日报表明细)
  13709. in: query
  13710. name: currencyid
  13711. type: integer
  13712. produces:
  13713. - application/json
  13714. responses:
  13715. "200":
  13716. description: OK
  13717. schema:
  13718. items:
  13719. $ref: '#/definitions/models.Ermcp3FinanceReport'
  13720. type: array
  13721. "500":
  13722. description: Internal Server Error
  13723. schema:
  13724. $ref: '#/definitions/app.Response'
  13725. security:
  13726. - ApiKeyAuth: []
  13727. summary: 查询财务报表
  13728. tags:
  13729. - 企业风险管理v3(app)
  13730. /Ermcp3/QueryAreaStock:
  13731. get:
  13732. parameters:
  13733. - description: 用户ID
  13734. in: query
  13735. name: userid
  13736. required: true
  13737. type: integer
  13738. produces:
  13739. - application/json
  13740. responses:
  13741. "200":
  13742. description: OK
  13743. schema:
  13744. items:
  13745. $ref: '#/definitions/models.Ermcp3AreaStock'
  13746. type: array
  13747. "500":
  13748. description: Internal Server Error
  13749. schema:
  13750. $ref: '#/definitions/app.Response'
  13751. security:
  13752. - ApiKeyAuth: []
  13753. summary: 查询机构库存(库存管理/当前库存)
  13754. tags:
  13755. - 企业风险管理v3(app)
  13756. /Ermcp3/QueryAreaStockApply:
  13757. get:
  13758. parameters:
  13759. - description: 用户ID
  13760. in: query
  13761. name: userid
  13762. required: true
  13763. type: integer
  13764. - description: 用户类型 2-机构 7-企业成员
  13765. in: query
  13766. name: usertype
  13767. type: integer
  13768. - description: 现货商品ID
  13769. in: query
  13770. name: deliverygoodsid
  13771. type: integer
  13772. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  13773. in: query
  13774. name: inouttype
  13775. type: string
  13776. - description: 合同ID
  13777. in: query
  13778. name: spotcontractid
  13779. type: integer
  13780. - description: 品类ID
  13781. in: query
  13782. name: wrstandardid
  13783. type: integer
  13784. - description: 品牌ID
  13785. in: query
  13786. name: spotgoodsbrandid
  13787. type: integer
  13788. - description: 仓库ID
  13789. in: query
  13790. name: warehouseinfoid
  13791. type: integer
  13792. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13793. in: query
  13794. name: applystatus
  13795. type: string
  13796. produces:
  13797. - application/json
  13798. responses:
  13799. "200":
  13800. description: OK
  13801. schema:
  13802. items:
  13803. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  13804. type: array
  13805. "500":
  13806. description: Internal Server Error
  13807. schema:
  13808. $ref: '#/definitions/app.Response'
  13809. security:
  13810. - ApiKeyAuth: []
  13811. summary: 查询库存申请(出入库记录|库存审核)
  13812. tags:
  13813. - 企业风险管理v3(app)
  13814. /Ermcp3/QueryAreaStockApplySum:
  13815. get:
  13816. parameters:
  13817. - description: 合同ID
  13818. in: query
  13819. name: spotcontractid
  13820. type: integer
  13821. produces:
  13822. - application/json
  13823. responses:
  13824. "200":
  13825. description: OK
  13826. schema:
  13827. items:
  13828. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  13829. type: array
  13830. "500":
  13831. description: Internal Server Error
  13832. schema:
  13833. $ref: '#/definitions/app.Response'
  13834. security:
  13835. - ApiKeyAuth: []
  13836. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13837. tags:
  13838. - 企业风险管理v3(app)
  13839. /Ermcp3/QueryDGFactoryItem:
  13840. get:
  13841. parameters:
  13842. - description: 用户id
  13843. in: query
  13844. name: userid
  13845. type: integer
  13846. - description: 用户类型 2-机构 7-企业成员
  13847. in: query
  13848. name: usertype
  13849. type: integer
  13850. - description: 选择项ID(SEQ_DGFACTORYITEM)
  13851. in: query
  13852. name: dgfactoryitemid
  13853. type: integer
  13854. - description: 现货品种ID
  13855. in: query
  13856. name: deliverygoodsid
  13857. type: integer
  13858. - description: 要素项类型
  13859. in: query
  13860. name: dgfactoryitemtypeid
  13861. type: integer
  13862. - description: 顺序
  13863. in: query
  13864. name: orderindex
  13865. type: integer
  13866. produces:
  13867. - application/json
  13868. responses:
  13869. "200":
  13870. description: OK
  13871. schema:
  13872. items:
  13873. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  13874. type: array
  13875. "500":
  13876. description: Internal Server Error
  13877. schema:
  13878. $ref: '#/definitions/app.Response'
  13879. security:
  13880. - ApiKeyAuth: []
  13881. summary: 查询品种要素定义项
  13882. tags:
  13883. - 企业风险管理v3(app)
  13884. /Ermcp3/QueryDeliveryGoods:
  13885. get:
  13886. parameters:
  13887. - description: 用户id
  13888. in: query
  13889. name: userid
  13890. required: true
  13891. type: integer
  13892. - description: 用户类型 2-机构 7-企业成员
  13893. in: query
  13894. name: usertype
  13895. type: integer
  13896. - description: 排除已配置的业务类型商品 1-套保 2-套利
  13897. in: query
  13898. name: excludecfg
  13899. type: integer
  13900. produces:
  13901. - application/json
  13902. responses:
  13903. "200":
  13904. description: OK
  13905. schema:
  13906. items:
  13907. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  13908. type: array
  13909. "500":
  13910. description: Internal Server Error
  13911. schema:
  13912. $ref: '#/definitions/app.Response'
  13913. security:
  13914. - ApiKeyAuth: []
  13915. summary: 查询现货商品
  13916. tags:
  13917. - 企业风险管理v3(app)
  13918. /Ermcp3/QueryDeliveryGoodsDetail:
  13919. get:
  13920. parameters:
  13921. - description: 用户id
  13922. in: query
  13923. name: userid
  13924. required: true
  13925. type: integer
  13926. - description: 用户类型 2-机构 7-企业成员
  13927. in: query
  13928. name: usertype
  13929. type: integer
  13930. - description: 现货商品id
  13931. in: query
  13932. name: deliverygoodsid
  13933. type: integer
  13934. produces:
  13935. - application/json
  13936. responses:
  13937. "200":
  13938. description: OK
  13939. schema:
  13940. items:
  13941. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  13942. type: array
  13943. "500":
  13944. description: Internal Server Error
  13945. schema:
  13946. $ref: '#/definitions/app.Response'
  13947. security:
  13948. - ApiKeyAuth: []
  13949. summary: 查询现货商品详情
  13950. tags:
  13951. - 企业风险管理v3(app)
  13952. /Ermcp3/QueryExposureDetail:
  13953. get:
  13954. parameters:
  13955. - description: 用户id
  13956. in: query
  13957. name: userid
  13958. required: true
  13959. type: integer
  13960. - description: 用户类型 2-机构 7-企业成员
  13961. in: query
  13962. name: usertype
  13963. type: integer
  13964. - description: 套保商品
  13965. in: query
  13966. name: middlegoodsid
  13967. required: true
  13968. type: integer
  13969. produces:
  13970. - application/json
  13971. responses:
  13972. "200":
  13973. description: OK
  13974. schema:
  13975. items:
  13976. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  13977. type: array
  13978. "500":
  13979. description: Internal Server Error
  13980. schema:
  13981. $ref: '#/definitions/app.Response'
  13982. security:
  13983. - ApiKeyAuth: []
  13984. summary: 查询敞口现货明细
  13985. tags:
  13986. - 企业风险管理v3(app)
  13987. /Ermcp3/QueryExposureSpot:
  13988. get:
  13989. parameters:
  13990. - description: 用户id
  13991. in: query
  13992. name: userid
  13993. required: true
  13994. type: integer
  13995. - description: 用户类型 2-机构 7-企业成员
  13996. in: query
  13997. name: usertype
  13998. type: integer
  13999. produces:
  14000. - application/json
  14001. responses:
  14002. "200":
  14003. description: OK
  14004. schema:
  14005. items:
  14006. $ref: '#/definitions/models.Ermcp3AreaSpot'
  14007. type: array
  14008. "500":
  14009. description: Internal Server Error
  14010. schema:
  14011. $ref: '#/definitions/app.Response'
  14012. security:
  14013. - ApiKeyAuth: []
  14014. summary: 查询敞口现货头寸(敞口/现货头寸)
  14015. tags:
  14016. - 企业风险管理v3(app)
  14017. /Ermcp3/QueryExposureSpotDetail:
  14018. get:
  14019. parameters:
  14020. - description: 用户id
  14021. in: query
  14022. name: userid
  14023. required: true
  14024. type: integer
  14025. - description: 用户类型 2-机构 7-企业成员
  14026. in: query
  14027. name: usertype
  14028. type: integer
  14029. - description: 现货品种ID
  14030. in: query
  14031. name: deliverygoodsid
  14032. required: true
  14033. type: integer
  14034. produces:
  14035. - application/json
  14036. responses:
  14037. "200":
  14038. description: OK
  14039. schema:
  14040. items:
  14041. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  14042. type: array
  14043. "500":
  14044. description: Internal Server Error
  14045. schema:
  14046. $ref: '#/definitions/app.Response'
  14047. security:
  14048. - ApiKeyAuth: []
  14049. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14050. tags:
  14051. - 企业风险管理v3(app)
  14052. /Ermcp3/QueryGoodsGroup:
  14053. get:
  14054. parameters:
  14055. - description: 用户id
  14056. in: query
  14057. name: userid
  14058. required: true
  14059. type: integer
  14060. - description: 用户类型 2-机构 7-企业成员
  14061. in: query
  14062. name: usertype
  14063. type: integer
  14064. - description: 排除套保品中已关联的商品组 1-排除
  14065. in: query
  14066. name: excludecfg
  14067. type: integer
  14068. produces:
  14069. - application/json
  14070. responses:
  14071. "200":
  14072. description: OK
  14073. schema:
  14074. items:
  14075. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  14076. type: array
  14077. "500":
  14078. description: Internal Server Error
  14079. schema:
  14080. $ref: '#/definitions/app.Response'
  14081. security:
  14082. - ApiKeyAuth: []
  14083. summary: 查询期货商品组
  14084. tags:
  14085. - 企业风险管理v3(app)
  14086. /Ermcp3/QueryGoodsWrstandard:
  14087. get:
  14088. parameters:
  14089. - description: 用户id
  14090. in: query
  14091. name: userid
  14092. required: true
  14093. type: integer
  14094. - description: 用户类型 2-机构 7-企业成员
  14095. in: query
  14096. name: usertype
  14097. type: integer
  14098. - description: 现货商品id
  14099. in: query
  14100. name: deliverygoodsid
  14101. type: integer
  14102. produces:
  14103. - application/json
  14104. responses:
  14105. "200":
  14106. description: OK
  14107. schema:
  14108. items:
  14109. $ref: '#/definitions/models.Ermcp3Wrstandard'
  14110. type: array
  14111. "500":
  14112. description: Internal Server Error
  14113. schema:
  14114. $ref: '#/definitions/app.Response'
  14115. security:
  14116. - ApiKeyAuth: []
  14117. summary: 查询商品品类
  14118. tags:
  14119. - 企业风险管理v3(app)
  14120. /Ermcp3/QueryGoodsbrand:
  14121. get:
  14122. parameters:
  14123. - description: 用户id
  14124. in: query
  14125. name: userid
  14126. required: true
  14127. type: integer
  14128. - description: 用户类型 2-机构 7-企业成员
  14129. in: query
  14130. name: usertype
  14131. type: integer
  14132. produces:
  14133. - application/json
  14134. responses:
  14135. "200":
  14136. description: OK
  14137. schema:
  14138. items:
  14139. $ref: '#/definitions/models.Ermcp3Brand'
  14140. type: array
  14141. "500":
  14142. description: Internal Server Error
  14143. schema:
  14144. $ref: '#/definitions/app.Response'
  14145. security:
  14146. - ApiKeyAuth: []
  14147. summary: 查询商品品牌
  14148. tags:
  14149. - 企业风险管理v3(app)
  14150. /Ermcp3/QueryHedgePlan:
  14151. get:
  14152. parameters:
  14153. - description: 用户ID
  14154. in: query
  14155. name: userid
  14156. required: true
  14157. type: integer
  14158. - description: 用户类型 2-机构 7-企业成员
  14159. in: query
  14160. name: usertype
  14161. type: integer
  14162. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14163. in: query
  14164. name: hedgeplanstatus
  14165. required: true
  14166. type: string
  14167. produces:
  14168. - application/json
  14169. responses:
  14170. "200":
  14171. description: OK
  14172. schema:
  14173. items:
  14174. $ref: '#/definitions/models.Ermcp3HedgePlan'
  14175. type: array
  14176. "500":
  14177. description: Internal Server Error
  14178. schema:
  14179. $ref: '#/definitions/app.Response'
  14180. security:
  14181. - ApiKeyAuth: []
  14182. summary: 查询套保计划
  14183. tags:
  14184. - 企业风险管理v3(app)
  14185. /Ermcp3/QueryMiddleGoodsDetail:
  14186. get:
  14187. parameters:
  14188. - description: 用户id
  14189. in: query
  14190. name: userid
  14191. required: true
  14192. type: integer
  14193. - description: 用户类型 2-机构 7-企业成员
  14194. in: query
  14195. name: usertype
  14196. type: integer
  14197. - description: 套保品种id
  14198. in: query
  14199. name: middlegoodsid
  14200. type: integer
  14201. produces:
  14202. - application/json
  14203. responses:
  14204. "200":
  14205. description: OK
  14206. schema:
  14207. items:
  14208. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  14209. type: array
  14210. "500":
  14211. description: Internal Server Error
  14212. schema:
  14213. $ref: '#/definitions/app.Response'
  14214. security:
  14215. - ApiKeyAuth: []
  14216. summary: 查询套保品种详情(套保品种/商品详情)
  14217. tags:
  14218. - 企业风险管理v3(app)
  14219. /Ermcp3/QuerySpotContract:
  14220. get:
  14221. parameters:
  14222. - description: 用户id
  14223. in: query
  14224. name: userid
  14225. required: true
  14226. type: integer
  14227. - description: 用户类型 2-机构 7-企业成员
  14228. in: query
  14229. name: usertype
  14230. type: integer
  14231. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14232. in: query
  14233. name: querytype
  14234. required: true
  14235. type: integer
  14236. - description: 合同ID(SpotContractId)
  14237. in: query
  14238. name: contractid
  14239. type: string
  14240. produces:
  14241. - application/json
  14242. responses:
  14243. "200":
  14244. description: OK
  14245. schema:
  14246. items:
  14247. $ref: '#/definitions/models.Ermcp3Contract'
  14248. type: array
  14249. "500":
  14250. description: Internal Server Error
  14251. schema:
  14252. $ref: '#/definitions/app.Response'
  14253. security:
  14254. - ApiKeyAuth: []
  14255. summary: 查询现货合同
  14256. tags:
  14257. - 企业风险管理v3(app)
  14258. /Ermcp3/QuerySpotContractBS:
  14259. get:
  14260. parameters:
  14261. - description: 用户id
  14262. in: query
  14263. name: userid
  14264. required: true
  14265. type: integer
  14266. - description: 用户类型 2-机构 7-企业成员
  14267. in: query
  14268. name: usertype
  14269. type: integer
  14270. - description: 合同类型 1-采购, -1-销售
  14271. in: query
  14272. name: contracttype
  14273. required: true
  14274. type: integer
  14275. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  14276. in: query
  14277. name: querytype
  14278. required: true
  14279. type: integer
  14280. - description: 合同ID(SpotContractId)
  14281. in: query
  14282. name: contractid
  14283. type: string
  14284. produces:
  14285. - application/json
  14286. responses:
  14287. "200":
  14288. description: OK
  14289. schema:
  14290. items:
  14291. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  14292. type: array
  14293. "500":
  14294. description: Internal Server Error
  14295. schema:
  14296. $ref: '#/definitions/app.Response'
  14297. security:
  14298. - ApiKeyAuth: []
  14299. summary: 查询合同(采购/销售)
  14300. tags:
  14301. - 企业风险管理v3(app)
  14302. /Ermcp3/QuerySpotGoodsPrice:
  14303. get:
  14304. parameters:
  14305. - description: 用户ID
  14306. in: query
  14307. name: userid
  14308. required: true
  14309. type: integer
  14310. produces:
  14311. - application/json
  14312. responses:
  14313. "200":
  14314. description: OK
  14315. schema:
  14316. items:
  14317. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  14318. type: array
  14319. "500":
  14320. description: Internal Server Error
  14321. schema:
  14322. $ref: '#/definitions/app.Response'
  14323. security:
  14324. - ApiKeyAuth: []
  14325. summary: 查询现货市价(现货市价)
  14326. tags:
  14327. - 企业风险管理v3(app)
  14328. /Ermcp3/QuerySpotGoodsPriceLog:
  14329. get:
  14330. parameters:
  14331. - description: 用户ID
  14332. in: query
  14333. name: userid
  14334. required: true
  14335. type: integer
  14336. - description: 现货商品ID
  14337. in: query
  14338. name: deliverygoodsid
  14339. required: true
  14340. type: integer
  14341. - description: 品牌ID
  14342. in: query
  14343. name: brandid
  14344. type: integer
  14345. - description: 品类ID
  14346. in: query
  14347. name: wrstandardid
  14348. type: integer
  14349. produces:
  14350. - application/json
  14351. responses:
  14352. "200":
  14353. description: OK
  14354. schema:
  14355. items:
  14356. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  14357. type: array
  14358. "500":
  14359. description: Internal Server Error
  14360. schema:
  14361. $ref: '#/definitions/app.Response'
  14362. security:
  14363. - ApiKeyAuth: []
  14364. summary: 查询现货市价详情(现货市价/详情)
  14365. tags:
  14366. - 企业风险管理v3(app)
  14367. /Erms2/QueryArbitrageStrategy:
  14368. get:
  14369. parameters:
  14370. - description: 账户ID
  14371. in: query
  14372. name: userid
  14373. required: true
  14374. type: integer
  14375. - description: 商品组ID(品种ID)
  14376. in: query
  14377. name: goodsgroupid
  14378. type: string
  14379. produces:
  14380. - application/json
  14381. responses:
  14382. "200":
  14383. description: OK
  14384. schema:
  14385. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  14386. "500":
  14387. description: Internal Server Error
  14388. schema:
  14389. $ref: '#/definitions/app.Response'
  14390. security:
  14391. - ApiKeyAuth: []
  14392. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  14393. tags:
  14394. - 风险管理
  14395. /Erms2/QueryInnerTradeDetail:
  14396. get:
  14397. parameters:
  14398. - description: 资金账户
  14399. in: query
  14400. name: accountid
  14401. required: true
  14402. type: integer
  14403. produces:
  14404. - application/json
  14405. responses:
  14406. "200":
  14407. description: OK
  14408. schema:
  14409. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  14410. "500":
  14411. description: Internal Server Error
  14412. schema:
  14413. $ref: '#/definitions/app.Response'
  14414. security:
  14415. - ApiKeyAuth: []
  14416. summary: 查询内部成交单信息
  14417. tags:
  14418. - 风险管理
  14419. /Erms2/QuerySpotContract:
  14420. get:
  14421. parameters:
  14422. - description: 策略申请ID
  14423. in: query
  14424. name: asapplyid
  14425. required: true
  14426. type: integer
  14427. - description: 现货合同ID
  14428. in: query
  14429. name: spotcontractid
  14430. type: integer
  14431. produces:
  14432. - application/json
  14433. responses:
  14434. "200":
  14435. description: OK
  14436. schema:
  14437. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  14438. "500":
  14439. description: Internal Server Error
  14440. schema:
  14441. $ref: '#/definitions/app.Response'
  14442. security:
  14443. - ApiKeyAuth: []
  14444. summary: 查询现货合同表信息(指定策略ID、未结束的)
  14445. tags:
  14446. - 风险管理
  14447. /Erms3/AddErms2ASApply:
  14448. post:
  14449. parameters:
  14450. - description: 申请参数
  14451. in: body
  14452. name: jsonBody
  14453. required: true
  14454. schema:
  14455. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  14456. produces:
  14457. - application/json
  14458. responses:
  14459. "200":
  14460. description: OK
  14461. schema:
  14462. $ref: '#/definitions/app.Response'
  14463. "500":
  14464. description: Internal Server Error
  14465. schema:
  14466. $ref: '#/definitions/app.Response'
  14467. security:
  14468. - ApiKeyAuth: []
  14469. summary: 新增期现套利业务申请
  14470. tags:
  14471. - 风险管理v3
  14472. /Erms3/AddErms2SpotTradeApply:
  14473. post:
  14474. parameters:
  14475. - description: 申请参数
  14476. in: body
  14477. name: jsonBody
  14478. required: true
  14479. schema:
  14480. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  14481. produces:
  14482. - application/json
  14483. responses:
  14484. "200":
  14485. description: OK
  14486. schema:
  14487. $ref: '#/definitions/app.Response'
  14488. "500":
  14489. description: Internal Server Error
  14490. schema:
  14491. $ref: '#/definitions/app.Response'
  14492. security:
  14493. - ApiKeyAuth: []
  14494. summary: 新增现货贸易业务申请
  14495. tags:
  14496. - 风险管理v3
  14497. /Erms3/AddSpotContractApply:
  14498. post:
  14499. parameters:
  14500. - description: 申请参数
  14501. in: body
  14502. name: jsonBody
  14503. required: true
  14504. schema:
  14505. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  14506. produces:
  14507. - application/json
  14508. responses:
  14509. "200":
  14510. description: OK
  14511. schema:
  14512. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  14513. "500":
  14514. description: Internal Server Error
  14515. schema:
  14516. $ref: '#/definitions/app.Response'
  14517. security:
  14518. - ApiKeyAuth: []
  14519. summary: 新增现货合同申请
  14520. tags:
  14521. - 风险管理v3
  14522. /Erms3/AddUserInfoApply:
  14523. post:
  14524. parameters:
  14525. - description: 用户信息
  14526. in: body
  14527. name: jsonBody
  14528. required: true
  14529. schema:
  14530. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  14531. produces:
  14532. - application/json
  14533. responses:
  14534. "200":
  14535. description: OK
  14536. schema:
  14537. $ref: '#/definitions/app.Response'
  14538. "500":
  14539. description: Internal Server Error
  14540. schema:
  14541. $ref: '#/definitions/app.Response'
  14542. security:
  14543. - ApiKeyAuth: []
  14544. summary: 新增客户申请
  14545. tags:
  14546. - 风险管理v3
  14547. /Erms3/DeleteUserInfoApply:
  14548. get:
  14549. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  14550. parameters:
  14551. - description: 用户ID
  14552. in: query
  14553. name: userID
  14554. required: true
  14555. type: integer
  14556. produces:
  14557. - application/json
  14558. responses:
  14559. "200":
  14560. description: OK
  14561. schema:
  14562. $ref: '#/definitions/app.Response'
  14563. "500":
  14564. description: Internal Server Error
  14565. schema:
  14566. $ref: '#/definitions/app.Response'
  14567. security:
  14568. - ApiKeyAuth: []
  14569. summary: 删除客户申请
  14570. tags:
  14571. - 风险管理v3
  14572. /Erms3/ModifyUserInfoApply:
  14573. post:
  14574. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  14575. int, "userstate": 2 }'
  14576. parameters:
  14577. - description: 用户信息
  14578. in: body
  14579. name: jsonBody
  14580. required: true
  14581. schema:
  14582. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  14583. produces:
  14584. - application/json
  14585. responses:
  14586. "200":
  14587. description: OK
  14588. schema:
  14589. $ref: '#/definitions/app.Response'
  14590. "500":
  14591. description: Internal Server Error
  14592. schema:
  14593. $ref: '#/definitions/app.Response'
  14594. security:
  14595. - ApiKeyAuth: []
  14596. summary: 修改客户申请
  14597. tags:
  14598. - 风险管理v3
  14599. /Erms3/QueryBusinessInfo:
  14600. get:
  14601. parameters:
  14602. - description: 资金账号ID列表,用逗号分隔
  14603. in: query
  14604. name: accountids
  14605. required: true
  14606. type: string
  14607. - description: 状态,0为未结束 1为已结束
  14608. in: query
  14609. name: status
  14610. required: true
  14611. type: integer
  14612. produces:
  14613. - application/json
  14614. responses:
  14615. "200":
  14616. description: OK
  14617. schema:
  14618. items:
  14619. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  14620. type: array
  14621. "500":
  14622. description: Internal Server Error
  14623. schema:
  14624. $ref: '#/definitions/app.Response'
  14625. security:
  14626. - ApiKeyAuth: []
  14627. summary: 查询业务表单数据
  14628. tags:
  14629. - 风险管理v3
  14630. /Erms3/QueryPendingAuditContract:
  14631. get:
  14632. parameters:
  14633. - description: 资金账号ID列表,逗号隔开
  14634. in: query
  14635. name: accountids
  14636. required: true
  14637. type: string
  14638. - description: 合同类型 1-采购 -1-销售
  14639. in: query
  14640. name: contracttype
  14641. required: true
  14642. type: integer
  14643. - description: 合同模式 1-普通 2-回购
  14644. in: query
  14645. name: contractmode
  14646. required: true
  14647. type: integer
  14648. produces:
  14649. - application/json
  14650. responses:
  14651. "200":
  14652. description: OK
  14653. schema:
  14654. items:
  14655. $ref: '#/definitions/erms3.QryAuditContractRsp'
  14656. type: array
  14657. "500":
  14658. description: Internal Server Error
  14659. schema:
  14660. $ref: '#/definitions/app.Response'
  14661. security:
  14662. - ApiKeyAuth: []
  14663. summary: 查询待审核合同
  14664. tags:
  14665. - 风险管理v3
  14666. /Erms3/QueryPendingBusiness:
  14667. get:
  14668. parameters:
  14669. - description: 资金账号ID列表,逗号隔开
  14670. in: query
  14671. name: accountids
  14672. required: true
  14673. type: string
  14674. produces:
  14675. - application/json
  14676. responses:
  14677. "200":
  14678. description: OK
  14679. schema:
  14680. items:
  14681. $ref: '#/definitions/erms3.QryPendingBizRsp'
  14682. type: array
  14683. "500":
  14684. description: Internal Server Error
  14685. schema:
  14686. $ref: '#/definitions/app.Response'
  14687. security:
  14688. - ApiKeyAuth: []
  14689. summary: 查询待审核基差贸易业务
  14690. tags:
  14691. - 风险管理v3
  14692. /Erms3/QuerySpotContractAppleForm:
  14693. get:
  14694. parameters:
  14695. - description: 登录账号
  14696. in: query
  14697. name: loginID
  14698. required: true
  14699. type: integer
  14700. produces:
  14701. - application/json
  14702. responses:
  14703. "200":
  14704. description: OK
  14705. schema:
  14706. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  14707. "500":
  14708. description: Internal Server Error
  14709. schema:
  14710. $ref: '#/definitions/app.Response'
  14711. security:
  14712. - ApiKeyAuth: []
  14713. summary: 查询合同申请表单数据
  14714. tags:
  14715. - 风险管理v3
  14716. /Erms3/QuerySpotContractDetail:
  14717. get:
  14718. parameters:
  14719. - description: 资金账号ID列表,用逗号分隔
  14720. in: query
  14721. name: accountids
  14722. required: true
  14723. type: string
  14724. - description: 合同类型,1为采购合同 -1为销售合同
  14725. in: query
  14726. name: contracttype
  14727. required: true
  14728. type: integer
  14729. - description: 合同模式,1为普通合同 2为回购销售合同
  14730. in: query
  14731. name: contractmode
  14732. required: true
  14733. type: integer
  14734. - description: 状态,0为履约中 1为已完成
  14735. in: query
  14736. name: status
  14737. required: true
  14738. type: integer
  14739. produces:
  14740. - application/json
  14741. responses:
  14742. "200":
  14743. description: OK
  14744. schema:
  14745. items:
  14746. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  14747. type: array
  14748. "500":
  14749. description: Internal Server Error
  14750. schema:
  14751. $ref: '#/definitions/app.Response'
  14752. security:
  14753. - ApiKeyAuth: []
  14754. summary: 查询合同详细信息
  14755. tags:
  14756. - 风险管理v3
  14757. /Erms3/QueryUserInfoApplies:
  14758. get:
  14759. parameters:
  14760. - description: 页码
  14761. in: query
  14762. name: page
  14763. type: integer
  14764. - description: 每页条数
  14765. in: query
  14766. name: pagesize
  14767. type: integer
  14768. - description: 客户名称,支持模糊查询
  14769. in: query
  14770. name: userName
  14771. type: string
  14772. produces:
  14773. - application/json
  14774. responses:
  14775. "200":
  14776. description: OK
  14777. schema:
  14778. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  14779. "500":
  14780. description: Internal Server Error
  14781. schema:
  14782. $ref: '#/definitions/app.Response'
  14783. security:
  14784. - ApiKeyAuth: []
  14785. summary: 客户申请信息查询
  14786. tags:
  14787. - 风险管理v3
  14788. /Erms3/QueryUserInfos:
  14789. get:
  14790. parameters:
  14791. - description: 页码
  14792. in: query
  14793. name: page
  14794. type: integer
  14795. - description: 每页条数
  14796. in: query
  14797. name: pagesize
  14798. type: integer
  14799. - description: 客户名称,支持模糊查询
  14800. in: query
  14801. name: userName
  14802. type: string
  14803. produces:
  14804. - application/json
  14805. responses:
  14806. "200":
  14807. description: OK
  14808. schema:
  14809. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  14810. "500":
  14811. description: Internal Server Error
  14812. schema:
  14813. $ref: '#/definitions/app.Response'
  14814. security:
  14815. - ApiKeyAuth: []
  14816. summary: 客户信息查询
  14817. tags:
  14818. - 风险管理v3
  14819. /HSBY/GetHsbyMyCount:
  14820. get:
  14821. description: 说明: 不包括已完成的数量。
  14822. parameters:
  14823. - description: 资金账户列表,格式:1,2,3
  14824. in: query
  14825. name: accountIDs
  14826. required: true
  14827. type: string
  14828. produces:
  14829. - application/json
  14830. responses:
  14831. "200":
  14832. description: OK
  14833. schema:
  14834. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  14835. "500":
  14836. description: Internal Server Error
  14837. schema:
  14838. $ref: '#/definitions/app.Response'
  14839. security:
  14840. - ApiKeyAuth: []
  14841. summary: 获取我的订单与包裹数量
  14842. tags:
  14843. - 定制【海商报业】
  14844. /HSBY/QueryClientFixedADConfigs:
  14845. get:
  14846. produces:
  14847. - application/json
  14848. responses:
  14849. "200":
  14850. description: OK
  14851. schema:
  14852. $ref: '#/definitions/models.Clientfixedadconfig'
  14853. "500":
  14854. description: Internal Server Error
  14855. schema:
  14856. $ref: '#/definitions/app.Response'
  14857. security:
  14858. - ApiKeyAuth: []
  14859. summary: 获取终端固定广告配置
  14860. tags:
  14861. - 定制【海商报业】
  14862. /HSBY/QueryHsbyBuyMyTradeDetail:
  14863. get:
  14864. parameters:
  14865. - description: 页码
  14866. in: query
  14867. name: page
  14868. type: integer
  14869. - description: 每页条数
  14870. in: query
  14871. name: pagesize
  14872. type: integer
  14873. - description: 资金账户列表,格式:1,2,3
  14874. in: query
  14875. name: accountIDs
  14876. required: true
  14877. type: string
  14878. produces:
  14879. - application/json
  14880. responses:
  14881. "200":
  14882. description: OK
  14883. schema:
  14884. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  14885. "500":
  14886. description: Internal Server Error
  14887. schema:
  14888. $ref: '#/definitions/app.Response'
  14889. security:
  14890. - ApiKeyAuth: []
  14891. summary: 查询"我的订单 - 已完成"单据信息
  14892. tags:
  14893. - 定制【海商报业】
  14894. /HSBY/QueryHsbyGoodsOrderDetails:
  14895. get:
  14896. description: 说明:查询结果已按委托价格和委托时间排序
  14897. parameters:
  14898. - description: 商品ID
  14899. in: query
  14900. name: goodsID
  14901. required: true
  14902. type: integer
  14903. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  14904. in: query
  14905. name: accountIDs
  14906. type: string
  14907. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  14908. in: query
  14909. name: buyOrSell
  14910. type: integer
  14911. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  14912. in: query
  14913. name: price
  14914. type: number
  14915. - description: 档位,不传则默认为3档
  14916. in: query
  14917. name: speed
  14918. type: integer
  14919. produces:
  14920. - application/json
  14921. responses:
  14922. "200":
  14923. description: OK
  14924. schema:
  14925. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  14926. "500":
  14927. description: Internal Server Error
  14928. schema:
  14929. $ref: '#/definitions/app.Response'
  14930. security:
  14931. - ApiKeyAuth: []
  14932. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  14933. tags:
  14934. - 定制【海商报业】
  14935. /HSBY/QueryHsbyListingGoodsDetail:
  14936. get:
  14937. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  14938. parameters:
  14939. - description: 商品ID
  14940. in: query
  14941. name: goodsID
  14942. required: true
  14943. type: integer
  14944. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  14945. in: query
  14946. name: accountID
  14947. type: integer
  14948. produces:
  14949. - application/json
  14950. responses:
  14951. "200":
  14952. description: OK
  14953. schema:
  14954. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  14955. "500":
  14956. description: Internal Server Error
  14957. schema:
  14958. $ref: '#/definitions/app.Response'
  14959. security:
  14960. - ApiKeyAuth: []
  14961. summary: 查询二级市场(挂牌点选)商品信息详情
  14962. tags:
  14963. - 定制【海商报业】
  14964. /HSBY/QueryHsbyMarketGoodsDetail:
  14965. get:
  14966. parameters:
  14967. - description: 委托单号
  14968. in: query
  14969. name: orderID
  14970. required: true
  14971. type: integer
  14972. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  14973. in: query
  14974. name: accountID
  14975. type: integer
  14976. produces:
  14977. - application/json
  14978. responses:
  14979. "200":
  14980. description: OK
  14981. schema:
  14982. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  14983. "500":
  14984. description: Internal Server Error
  14985. schema:
  14986. $ref: '#/definitions/app.Response'
  14987. security:
  14988. - ApiKeyAuth: []
  14989. summary: 查询三级市场(商城)商品信息详情
  14990. tags:
  14991. - 定制【海商报业】
  14992. /HSBY/QueryHsbyMarketGoodses:
  14993. get:
  14994. parameters:
  14995. - description: 页码
  14996. in: query
  14997. name: page
  14998. type: integer
  14999. - description: 每页条数
  15000. in: query
  15001. name: pagesize
  15002. type: integer
  15003. - description: 市场ID列表,格式:1,2,3
  15004. in: query
  15005. name: marketIDs
  15006. required: true
  15007. type: string
  15008. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  15009. in: query
  15010. name: accountID
  15011. required: true
  15012. type: integer
  15013. - description: 类别ID
  15014. in: query
  15015. name: categoryID
  15016. type: integer
  15017. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15018. in: query
  15019. name: goodsIDs
  15020. type: string
  15021. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  15022. in: query
  15023. name: couponTypeID
  15024. type: integer
  15025. produces:
  15026. - application/json
  15027. responses:
  15028. "200":
  15029. description: OK
  15030. schema:
  15031. $ref: '#/definitions/models.HsbyMarketGoods'
  15032. "500":
  15033. description: Internal Server Error
  15034. schema:
  15035. $ref: '#/definitions/app.Response'
  15036. security:
  15037. - ApiKeyAuth: []
  15038. summary: 查询特卖商品列表(三级商城)
  15039. tags:
  15040. - 定制【海商报业】
  15041. /HSBY/QueryHsbyMarkets:
  15042. get:
  15043. produces:
  15044. - application/json
  15045. responses:
  15046. "200":
  15047. description: OK
  15048. schema:
  15049. $ref: '#/definitions/models.HsbyMarketInfo'
  15050. "500":
  15051. description: Internal Server Error
  15052. schema:
  15053. $ref: '#/definitions/app.Response'
  15054. security:
  15055. - ApiKeyAuth: []
  15056. summary: 查询海商报业相关市场信息
  15057. tags:
  15058. - 定制【海商报业】
  15059. /HSBY/QueryHsbyMyBuyOrderDetails:
  15060. get:
  15061. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  15062. parameters:
  15063. - description: 资金账户列表,格式:1,2,3
  15064. in: query
  15065. name: accountIDs
  15066. required: true
  15067. type: string
  15068. produces:
  15069. - application/json
  15070. responses:
  15071. "200":
  15072. description: OK
  15073. schema:
  15074. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  15075. "500":
  15076. description: Internal Server Error
  15077. schema:
  15078. $ref: '#/definitions/app.Response'
  15079. security:
  15080. - ApiKeyAuth: []
  15081. summary: 查询“我的订单”信息
  15082. tags:
  15083. - 定制【海商报业】
  15084. /HSBY/QueryHsbyMyGoods:
  15085. get:
  15086. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  15087. parameters:
  15088. - description: 资金账户列表,格式:1,2,3
  15089. in: query
  15090. name: accountIDs
  15091. required: true
  15092. type: string
  15093. produces:
  15094. - application/json
  15095. responses:
  15096. "200":
  15097. description: OK
  15098. schema:
  15099. $ref: '#/definitions/models.HsbyMyGoods'
  15100. "500":
  15101. description: Internal Server Error
  15102. schema:
  15103. $ref: '#/definitions/app.Response'
  15104. security:
  15105. - ApiKeyAuth: []
  15106. summary: 查询“我的商品”信息
  15107. tags:
  15108. - 定制【海商报业】
  15109. /HSBY/QueryHsbyMyPackages:
  15110. get:
  15111. parameters:
  15112. - description: 资金账户列表,格式:1,2,3
  15113. in: query
  15114. name: accountIDs
  15115. required: true
  15116. type: string
  15117. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15118. in: query
  15119. name: takeOrderStatus
  15120. type: integer
  15121. produces:
  15122. - application/json
  15123. responses:
  15124. "200":
  15125. description: OK
  15126. schema:
  15127. $ref: '#/definitions/models.HsbyMyPackage'
  15128. "500":
  15129. description: Internal Server Error
  15130. schema:
  15131. $ref: '#/definitions/app.Response'
  15132. security:
  15133. - ApiKeyAuth: []
  15134. summary: 查询我的包裹信息
  15135. tags:
  15136. - 定制【海商报业】
  15137. /HSBY/QueryHsbyPreGoodsDetail:
  15138. get:
  15139. parameters:
  15140. - description: 商品ID
  15141. in: query
  15142. name: goodsID
  15143. required: true
  15144. type: integer
  15145. - description: 资金账户,主要用于获取预售商品购买上限
  15146. in: query
  15147. name: accountID
  15148. type: integer
  15149. produces:
  15150. - application/json
  15151. responses:
  15152. "200":
  15153. description: OK
  15154. schema:
  15155. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  15156. "500":
  15157. description: Internal Server Error
  15158. schema:
  15159. $ref: '#/definitions/app.Response'
  15160. security:
  15161. - ApiKeyAuth: []
  15162. summary: 查询一级市场(预售)商品信息详情
  15163. tags:
  15164. - 定制【海商报业】
  15165. /HSBY/QueryHsbyPreGoodses:
  15166. get:
  15167. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  15168. parameters:
  15169. - description: 页码
  15170. in: query
  15171. name: page
  15172. type: integer
  15173. - description: 每页条数
  15174. in: query
  15175. name: pagesize
  15176. type: integer
  15177. - description: 市场ID列表,格式:1,2,3
  15178. in: query
  15179. name: marketIDs
  15180. required: true
  15181. type: string
  15182. - description: 目的地(省)ID
  15183. in: query
  15184. name: descProvinceID
  15185. type: integer
  15186. - description: 目的地(市)ID
  15187. in: query
  15188. name: descCityID
  15189. type: integer
  15190. produces:
  15191. - application/json
  15192. responses:
  15193. "200":
  15194. description: OK
  15195. schema:
  15196. $ref: '#/definitions/models.HsbyPreGoods'
  15197. "500":
  15198. description: Internal Server Error
  15199. schema:
  15200. $ref: '#/definitions/app.Response'
  15201. security:
  15202. - ApiKeyAuth: []
  15203. summary: 查询新品上市商品列表(一级市场预售)
  15204. tags:
  15205. - 定制【海商报业】
  15206. /HSBY/QueryHsbySellMyDetails:
  15207. get:
  15208. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  15209. parameters:
  15210. - description: 页码
  15211. in: query
  15212. name: page
  15213. type: integer
  15214. - description: 每页条数
  15215. in: query
  15216. name: pagesize
  15217. type: integer
  15218. - description: 资金账户列表,格式:1,2,3
  15219. in: query
  15220. name: accountIDs
  15221. required: true
  15222. type: string
  15223. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  15224. in: query
  15225. name: orderType
  15226. type: integer
  15227. produces:
  15228. - application/json
  15229. responses:
  15230. "200":
  15231. description: OK
  15232. schema:
  15233. $ref: '#/definitions/models.HsbySellMyDetail'
  15234. "500":
  15235. description: Internal Server Error
  15236. schema:
  15237. $ref: '#/definitions/app.Response'
  15238. security:
  15239. - ApiKeyAuth: []
  15240. summary: 查询"我的闲置"单据信息
  15241. tags:
  15242. - 定制【海商报业】
  15243. /HSBY/QueryHsbyTopGoodses:
  15244. get:
  15245. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  15246. parameters:
  15247. - description: 页码
  15248. in: query
  15249. name: page
  15250. type: integer
  15251. - description: 每页条数
  15252. in: query
  15253. name: pagesize
  15254. type: integer
  15255. - description: 市场ID列表,格式:1,2,3
  15256. in: query
  15257. name: marketIDs
  15258. required: true
  15259. type: string
  15260. - description: 目的地(省)ID
  15261. in: query
  15262. name: descProvinceID
  15263. type: integer
  15264. - description: 目的地(市)ID
  15265. in: query
  15266. name: descCityID
  15267. type: integer
  15268. produces:
  15269. - application/json
  15270. responses:
  15271. "200":
  15272. description: OK
  15273. schema:
  15274. $ref: '#/definitions/models.HsbyTopGoods'
  15275. "500":
  15276. description: Internal Server Error
  15277. schema:
  15278. $ref: '#/definitions/app.Response'
  15279. security:
  15280. - ApiKeyAuth: []
  15281. summary: 查询热卖商品列表(二级市场挂牌点选)
  15282. tags:
  15283. - 定制【海商报业】
  15284. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  15285. get:
  15286. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  15287. parameters:
  15288. - description: 商品ID
  15289. in: query
  15290. name: goodsID
  15291. required: true
  15292. type: integer
  15293. produces:
  15294. - application/json
  15295. responses:
  15296. "200":
  15297. description: OK
  15298. schema:
  15299. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15300. "500":
  15301. description: Internal Server Error
  15302. schema:
  15303. $ref: '#/definitions/app.Response'
  15304. security:
  15305. - ApiKeyAuth: []
  15306. summary: 查询游客三级市场(商城)商品信息详情
  15307. tags:
  15308. - 定制【海商报业】
  15309. /HSBY/QueryHsbyVisitorMarketGoodses:
  15310. get:
  15311. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  15312. parameters:
  15313. - description: 页码
  15314. in: query
  15315. name: page
  15316. type: integer
  15317. - description: 每页条数
  15318. in: query
  15319. name: pagesize
  15320. type: integer
  15321. - description: 市场ID列表,格式:1,2,3
  15322. in: query
  15323. name: marketIDs
  15324. required: true
  15325. type: string
  15326. - description: 类别ID
  15327. in: query
  15328. name: categoryID
  15329. type: integer
  15330. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15331. in: query
  15332. name: goodsIDs
  15333. type: string
  15334. produces:
  15335. - application/json
  15336. responses:
  15337. "200":
  15338. description: OK
  15339. schema:
  15340. $ref: '#/definitions/models.HsbyMarketGoods'
  15341. "500":
  15342. description: Internal Server Error
  15343. schema:
  15344. $ref: '#/definitions/app.Response'
  15345. security:
  15346. - ApiKeyAuth: []
  15347. summary: 查询游客特卖商品列表(三级商城)
  15348. tags:
  15349. - 定制【海商报业】
  15350. /HSBY/QueryMyCollectionOrders:
  15351. get:
  15352. parameters:
  15353. - description: 页码
  15354. in: query
  15355. name: page
  15356. type: integer
  15357. - description: 每页条数
  15358. in: query
  15359. name: pagesize
  15360. type: integer
  15361. - description: 资金账户,格式:1,2,3
  15362. in: query
  15363. name: accountIDs
  15364. required: true
  15365. type: string
  15366. produces:
  15367. - application/json
  15368. responses:
  15369. "200":
  15370. description: OK
  15371. schema:
  15372. $ref: '#/definitions/models.HsbySellCollectionOrder'
  15373. "500":
  15374. description: Internal Server Error
  15375. schema:
  15376. $ref: '#/definitions/app.Response'
  15377. security:
  15378. - ApiKeyAuth: []
  15379. summary: 我的闲置中收款信息查询
  15380. tags:
  15381. - 定制【海商报业】
  15382. /HSBY/QueryMyCouponHolds:
  15383. get:
  15384. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  15385. parameters:
  15386. - description: 资金账户列表,格式:1,2,3
  15387. in: query
  15388. name: accountIDs
  15389. required: true
  15390. type: string
  15391. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  15392. in: query
  15393. name: holdStatus
  15394. type: string
  15395. produces:
  15396. - application/json
  15397. responses:
  15398. "200":
  15399. description: OK
  15400. schema:
  15401. $ref: '#/definitions/models.MyCouponHold'
  15402. "500":
  15403. description: Internal Server Error
  15404. schema:
  15405. $ref: '#/definitions/app.Response'
  15406. security:
  15407. - ApiKeyAuth: []
  15408. summary: 我的优惠卷持仓查询
  15409. tags:
  15410. - 定制【海商报业】
  15411. /HSBY/QueryMyCoupons:
  15412. get:
  15413. parameters:
  15414. - description: 资金账户列表,格式:1,2,3
  15415. in: query
  15416. name: accountIDs
  15417. required: true
  15418. type: string
  15419. - description: 商品ID, 一般与sellUserID配套传入
  15420. in: query
  15421. name: goodsID
  15422. type: integer
  15423. - description: 卖方UserID
  15424. in: query
  15425. name: sellUserID
  15426. type: integer
  15427. produces:
  15428. - application/json
  15429. responses:
  15430. "200":
  15431. description: OK
  15432. schema:
  15433. $ref: '#/definitions/models.MyCoupon'
  15434. "500":
  15435. description: Internal Server Error
  15436. schema:
  15437. $ref: '#/definitions/app.Response'
  15438. security:
  15439. - ApiKeyAuth: []
  15440. summary: 我的优惠卷查询
  15441. tags:
  15442. - 定制【海商报业】
  15443. /HSBY/QueryMyPayOrders:
  15444. get:
  15445. parameters:
  15446. - description: 页码
  15447. in: query
  15448. name: page
  15449. type: integer
  15450. - description: 每页条数
  15451. in: query
  15452. name: pagesize
  15453. type: integer
  15454. - description: 资金账户列表,格式:1,2,3
  15455. in: query
  15456. name: accountIDs
  15457. required: true
  15458. type: string
  15459. - description: 买方委托单号
  15460. in: query
  15461. name: buyOrderID
  15462. type: integer
  15463. - description: 卖方委托单号
  15464. in: query
  15465. name: sellOrderID
  15466. type: integer
  15467. produces:
  15468. - application/json
  15469. responses:
  15470. "200":
  15471. description: OK
  15472. schema:
  15473. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  15474. "500":
  15475. description: Internal Server Error
  15476. schema:
  15477. $ref: '#/definitions/app.Response'
  15478. security:
  15479. - ApiKeyAuth: []
  15480. summary: 获取我的订单中待付款信息
  15481. tags:
  15482. - 定制【海商报业】
  15483. /HSBY/QueryMyUsedCoupon:
  15484. get:
  15485. parameters:
  15486. - description: 资金账户列表,格式:1,2,3
  15487. in: query
  15488. name: accountIDs
  15489. required: true
  15490. type: string
  15491. produces:
  15492. - application/json
  15493. responses:
  15494. "200":
  15495. description: OK
  15496. schema:
  15497. $ref: '#/definitions/models.MyUsedCoupon'
  15498. "500":
  15499. description: Internal Server Error
  15500. schema:
  15501. $ref: '#/definitions/app.Response'
  15502. security:
  15503. - ApiKeyAuth: []
  15504. summary: 已使用优惠卷查询
  15505. tags:
  15506. - 定制【海商报业】
  15507. /HSBY/QueryProvincesAndCities:
  15508. get:
  15509. description: 查询结果只包括二级市场商品已关连的省市信息。
  15510. parameters:
  15511. - description: 省ID
  15512. in: query
  15513. name: provinceID
  15514. type: integer
  15515. produces:
  15516. - application/json
  15517. responses:
  15518. "200":
  15519. description: OK
  15520. schema:
  15521. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  15522. "500":
  15523. description: Internal Server Error
  15524. schema:
  15525. $ref: '#/definitions/app.Response'
  15526. security:
  15527. - ApiKeyAuth: []
  15528. summary: 查询省市信息(不包括区)
  15529. tags:
  15530. - 定制【海商报业】
  15531. /HSBY/SetHsbyMyPackagesStatus:
  15532. post:
  15533. parameters:
  15534. - description: 提货单号
  15535. in: query
  15536. name: takeOrderID
  15537. required: true
  15538. type: string
  15539. - description: 资金账号
  15540. in: query
  15541. name: accountID
  15542. required: true
  15543. type: integer
  15544. produces:
  15545. - application/json
  15546. responses:
  15547. "200":
  15548. description: OK
  15549. schema:
  15550. $ref: '#/definitions/app.Response'
  15551. "500":
  15552. description: Internal Server Error
  15553. schema:
  15554. $ref: '#/definitions/app.Response'
  15555. security:
  15556. - ApiKeyAuth: []
  15557. summary: 设置我的包裹已收货状态
  15558. tags:
  15559. - 定制【海商报业】
  15560. /Market/QueryGoodsesByLoginID:
  15561. get:
  15562. parameters:
  15563. - description: 登录账号
  15564. in: query
  15565. name: loginID
  15566. required: true
  15567. type: integer
  15568. - description: 市场ID列表,格式:1,2,3
  15569. in: query
  15570. name: marketIDs
  15571. type: string
  15572. produces:
  15573. - application/json
  15574. responses:
  15575. "200":
  15576. description: OK
  15577. schema:
  15578. $ref: '#/definitions/models.Goods'
  15579. "500":
  15580. description: Internal Server Error
  15581. schema:
  15582. $ref: '#/definitions/app.Response'
  15583. security:
  15584. - ApiKeyAuth: []
  15585. summary: 获取登录账号有权限的商品信息
  15586. tags:
  15587. - 通用市场
  15588. /Market/QueryMarketRun:
  15589. get:
  15590. parameters:
  15591. - description: 市场ID,不传返回所有
  15592. in: query
  15593. name: marketID
  15594. type: integer
  15595. produces:
  15596. - application/json
  15597. responses:
  15598. "200":
  15599. description: OK
  15600. schema:
  15601. $ref: '#/definitions/models.Marketrun'
  15602. "500":
  15603. description: Internal Server Error
  15604. schema:
  15605. $ref: '#/definitions/app.Response'
  15606. security:
  15607. - ApiKeyAuth: []
  15608. summary: 查询市场运行信息
  15609. tags:
  15610. - 通用市场
  15611. /Market/QueryMarketsByLoginID:
  15612. get:
  15613. parameters:
  15614. - description: 登录账号
  15615. in: query
  15616. name: loginID
  15617. required: true
  15618. type: integer
  15619. produces:
  15620. - application/json
  15621. responses:
  15622. "200":
  15623. description: OK
  15624. schema:
  15625. $ref: '#/definitions/models.Market'
  15626. "500":
  15627. description: Internal Server Error
  15628. schema:
  15629. $ref: '#/definitions/app.Response'
  15630. security:
  15631. - ApiKeyAuth: []
  15632. summary: 获取登录账号有权限的市场信息
  15633. tags:
  15634. - 通用市场
  15635. /Order/QueryHisTradeDetail:
  15636. get:
  15637. parameters:
  15638. - description: 资金账户 - 格式:1,2,3
  15639. in: query
  15640. name: accountID
  15641. required: true
  15642. type: string
  15643. - description: 成交单号
  15644. in: query
  15645. name: tradeID
  15646. type: integer
  15647. - description: 委托单号
  15648. in: query
  15649. name: orderID
  15650. type: integer
  15651. - description: 交易模式 - 格式:1,2,3
  15652. in: query
  15653. name: tradeMode
  15654. type: string
  15655. - description: 委托单据类型
  15656. in: query
  15657. name: buildType
  15658. type: integer
  15659. - description: 成交类别 - 格式:1,2,3
  15660. in: query
  15661. name: tradeType
  15662. type: string
  15663. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15664. in: query
  15665. name: startDate
  15666. type: string
  15667. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15668. in: query
  15669. name: endDate
  15670. type: string
  15671. produces:
  15672. - application/json
  15673. responses:
  15674. "200":
  15675. description: OK
  15676. schema:
  15677. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  15678. "500":
  15679. description: Internal Server Error
  15680. schema:
  15681. $ref: '#/definitions/app.Response'
  15682. security:
  15683. - ApiKeyAuth: []
  15684. summary: 历史成交单查询(合约市场)
  15685. tags:
  15686. - 通用单据
  15687. /Order/QueryHisTradeOrderDetail:
  15688. get:
  15689. parameters:
  15690. - description: 资金账户 - 格式:1,2,3
  15691. in: query
  15692. name: accountID
  15693. required: true
  15694. type: string
  15695. - description: 交易模式 - 格式:1,2,3
  15696. in: query
  15697. name: tradeMode
  15698. type: string
  15699. - description: 委托状态 - 格式:1,2,3
  15700. in: query
  15701. name: orderStatus
  15702. type: string
  15703. - description: 委托单号
  15704. in: query
  15705. name: orderID
  15706. type: integer
  15707. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15708. in: query
  15709. name: startDate
  15710. type: string
  15711. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15712. in: query
  15713. name: endDate
  15714. type: string
  15715. produces:
  15716. - application/json
  15717. responses:
  15718. "200":
  15719. description: OK
  15720. schema:
  15721. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  15722. "500":
  15723. description: Internal Server Error
  15724. schema:
  15725. $ref: '#/definitions/app.Response'
  15726. security:
  15727. - ApiKeyAuth: []
  15728. summary: 历史委托单查询请求(合约市场)
  15729. tags:
  15730. - 通用单据
  15731. /Order/QueryTradeDetail:
  15732. get:
  15733. parameters:
  15734. - description: 资金账户 - 格式:1,2,3
  15735. in: query
  15736. name: accountID
  15737. required: true
  15738. type: string
  15739. - description: 成交单号
  15740. in: query
  15741. name: tradeID
  15742. type: integer
  15743. - description: 委托单号
  15744. in: query
  15745. name: orderID
  15746. type: integer
  15747. - description: 交易模式 - 格式:1,2,3
  15748. in: query
  15749. name: tradeMode
  15750. type: string
  15751. - description: 委托单据类型
  15752. in: query
  15753. name: buildType
  15754. type: integer
  15755. - description: 成交类别 - 格式:1,2,3
  15756. in: query
  15757. name: tradeType
  15758. type: string
  15759. produces:
  15760. - application/json
  15761. responses:
  15762. "200":
  15763. description: OK
  15764. schema:
  15765. $ref: '#/definitions/order.QueryTradeDetailRsp'
  15766. "500":
  15767. description: Internal Server Error
  15768. schema:
  15769. $ref: '#/definitions/app.Response'
  15770. security:
  15771. - ApiKeyAuth: []
  15772. summary: 成交单查询(合约市场)
  15773. tags:
  15774. - 通用单据
  15775. /Order/QueryTradeOrderDetail:
  15776. get:
  15777. parameters:
  15778. - description: 资金账户 - 格式:1,2,3
  15779. in: query
  15780. name: accountID
  15781. required: true
  15782. type: string
  15783. - description: 交易模式 - 格式:1,2,3
  15784. in: query
  15785. name: tradeMode
  15786. type: string
  15787. - description: 委托状态 - 格式:1,2,3
  15788. in: query
  15789. name: orderStatus
  15790. type: string
  15791. - description: 委托单号
  15792. in: query
  15793. name: orderID
  15794. type: integer
  15795. produces:
  15796. - application/json
  15797. responses:
  15798. "200":
  15799. description: OK
  15800. schema:
  15801. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  15802. "500":
  15803. description: Internal Server Error
  15804. schema:
  15805. $ref: '#/definitions/app.Response'
  15806. security:
  15807. - ApiKeyAuth: []
  15808. summary: 委托单查询请求(合约市场)
  15809. tags:
  15810. - 通用单据
  15811. /Order/QueryTradePosition:
  15812. get:
  15813. parameters:
  15814. - description: 资金账户 - 格式:1,2,3
  15815. in: query
  15816. name: accountID
  15817. required: true
  15818. type: string
  15819. - description: 交易模式 - 格式:1,2,3
  15820. in: query
  15821. name: tradeMode
  15822. type: string
  15823. produces:
  15824. - application/json
  15825. responses:
  15826. "200":
  15827. description: OK
  15828. schema:
  15829. $ref: '#/definitions/order.QueryTradePositionRsp'
  15830. "500":
  15831. description: Internal Server Error
  15832. schema:
  15833. $ref: '#/definitions/app.Response'
  15834. security:
  15835. - ApiKeyAuth: []
  15836. summary: 持仓汇总查询(合约市场)
  15837. tags:
  15838. - 通用单据
  15839. /Quote/QueryHistoryDatas:
  15840. get:
  15841. parameters:
  15842. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  15843. 日线'
  15844. in: query
  15845. name: cycleType
  15846. required: true
  15847. type: integer
  15848. - description: 商品代码
  15849. in: query
  15850. name: goodsCode
  15851. required: true
  15852. type: string
  15853. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15854. in: query
  15855. name: startTime
  15856. type: string
  15857. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15858. in: query
  15859. name: endTime
  15860. type: string
  15861. - description: 条数
  15862. in: query
  15863. name: count
  15864. type: integer
  15865. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15866. in: query
  15867. name: isAsc
  15868. type: boolean
  15869. produces:
  15870. - application/json
  15871. responses:
  15872. "200":
  15873. description: OK
  15874. schema:
  15875. $ref: '#/definitions/quote.HistoryData'
  15876. "500":
  15877. description: Internal Server Error
  15878. schema:
  15879. $ref: '#/definitions/app.Response'
  15880. security:
  15881. - ApiKeyAuth: []
  15882. summary: 查询行情历史数据
  15883. tags:
  15884. - 行情服务
  15885. /Quote/QueryHistoryTikDatas:
  15886. get:
  15887. parameters:
  15888. - description: 商品代码
  15889. in: query
  15890. name: goodsCode
  15891. required: true
  15892. type: string
  15893. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15894. in: query
  15895. name: startTime
  15896. type: string
  15897. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15898. in: query
  15899. name: endTime
  15900. type: string
  15901. - description: 条数
  15902. in: query
  15903. name: count
  15904. type: integer
  15905. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15906. in: query
  15907. name: isAsc
  15908. type: boolean
  15909. produces:
  15910. - application/json
  15911. responses:
  15912. "200":
  15913. description: OK
  15914. schema:
  15915. $ref: '#/definitions/quote.HistoryTikData'
  15916. "500":
  15917. description: Internal Server Error
  15918. schema:
  15919. $ref: '#/definitions/app.Response'
  15920. security:
  15921. - ApiKeyAuth: []
  15922. summary: 查询行情Tik数据
  15923. tags:
  15924. - 行情服务
  15925. /Quote/QueryQuoteDay:
  15926. get:
  15927. parameters:
  15928. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  15929. in: query
  15930. name: goodsCodes
  15931. required: true
  15932. type: string
  15933. produces:
  15934. - application/json
  15935. responses:
  15936. "200":
  15937. description: OK
  15938. schema:
  15939. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  15940. "500":
  15941. description: Internal Server Error
  15942. schema:
  15943. $ref: '#/definitions/app.Response'
  15944. security:
  15945. - ApiKeyAuth: []
  15946. summary: 获取商品盘面信息
  15947. tags:
  15948. - 行情服务
  15949. /Quote/QueryTSData:
  15950. get:
  15951. parameters:
  15952. - description: 商品代码
  15953. in: query
  15954. name: goodsCode
  15955. required: true
  15956. type: string
  15957. produces:
  15958. - application/json
  15959. responses:
  15960. "200":
  15961. description: OK
  15962. schema:
  15963. $ref: '#/definitions/quote.QueryTSDataRsp'
  15964. "500":
  15965. description: Internal Server Error
  15966. schema:
  15967. $ref: '#/definitions/app.Response'
  15968. security:
  15969. - ApiKeyAuth: []
  15970. summary: 分时图数据查询
  15971. tags:
  15972. - 行情服务
  15973. /SZDZ/QueryConvertConfig:
  15974. get:
  15975. parameters:
  15976. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15977. 6:交易转花生米(不设置)
  15978. in: query
  15979. name: convertType
  15980. type: integer
  15981. - description: 外部商品代码[JD\PD]
  15982. in: query
  15983. name: outerGoodsCode
  15984. type: string
  15985. - description: 内部商品ID列表[交易],格式:1,2,3
  15986. in: query
  15987. name: innerGoodsIDs
  15988. type: string
  15989. produces:
  15990. - application/json
  15991. responses:
  15992. "200":
  15993. description: OK
  15994. schema:
  15995. $ref: '#/definitions/models.Szdz3convertconfig'
  15996. "500":
  15997. description: Internal Server Error
  15998. schema:
  15999. $ref: '#/definitions/app.Response'
  16000. security:
  16001. - ApiKeyAuth: []
  16002. summary: 查询交易系统转换设置
  16003. tags:
  16004. - 定制【尚志大宗】
  16005. /SZDZ/QueryConvertLog:
  16006. get:
  16007. parameters:
  16008. - description: 资金账户 - 格式:1,2,3
  16009. in: query
  16010. name: accountID
  16011. required: true
  16012. type: string
  16013. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16014. in: query
  16015. name: startDate
  16016. type: string
  16017. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16018. in: query
  16019. name: endDate
  16020. type: string
  16021. produces:
  16022. - application/json
  16023. responses:
  16024. "200":
  16025. description: OK
  16026. schema:
  16027. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  16028. "500":
  16029. description: Internal Server Error
  16030. schema:
  16031. $ref: '#/definitions/app.Response'
  16032. security:
  16033. - ApiKeyAuth: []
  16034. summary: 交易系统转换流水查询
  16035. tags:
  16036. - 定制【尚志大宗】
  16037. /SZDZ/QueryGoodsPickup:
  16038. get:
  16039. parameters:
  16040. - description: 资金账户 - 格式:1,2,3
  16041. in: query
  16042. name: accountID
  16043. required: true
  16044. type: string
  16045. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16046. in: query
  16047. name: takeOrderStatus
  16048. type: integer
  16049. produces:
  16050. - application/json
  16051. responses:
  16052. "200":
  16053. description: OK
  16054. schema:
  16055. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  16056. "500":
  16057. description: Internal Server Error
  16058. schema:
  16059. $ref: '#/definitions/app.Response'
  16060. security:
  16061. - ApiKeyAuth: []
  16062. summary: 商品提货单查询
  16063. tags:
  16064. - 定制【尚志大宗】
  16065. /SZDZ/QueryRecieptOrder:
  16066. get:
  16067. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16068. parameters:
  16069. - description: 页码
  16070. in: query
  16071. name: page
  16072. type: integer
  16073. - description: 每页条数
  16074. in: query
  16075. name: pagesize
  16076. type: integer
  16077. - description: 商品ID
  16078. in: query
  16079. name: goodsID
  16080. required: true
  16081. type: integer
  16082. - description: 所属账户名称
  16083. in: query
  16084. name: accountName
  16085. type: string
  16086. - description: 市场ID
  16087. in: query
  16088. name: marketID
  16089. type: integer
  16090. - description: 方向 - 0:买 1:卖
  16091. in: query
  16092. name: buyorsell
  16093. required: true
  16094. type: integer
  16095. produces:
  16096. - application/json
  16097. responses:
  16098. "200":
  16099. description: OK
  16100. schema:
  16101. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  16102. "500":
  16103. description: Internal Server Error
  16104. schema:
  16105. $ref: '#/definitions/app.Response'
  16106. security:
  16107. - ApiKeyAuth: []
  16108. summary: 点选挂牌委托单据查询(摘牌大厅)
  16109. tags:
  16110. - 定制【尚志大宗】
  16111. /SZDZ/QuerySZDZTradePosition:
  16112. get:
  16113. parameters:
  16114. - description: 资金账户
  16115. in: query
  16116. name: accountID
  16117. required: true
  16118. type: integer
  16119. produces:
  16120. - application/json
  16121. responses:
  16122. "200":
  16123. description: OK
  16124. schema:
  16125. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  16126. "500":
  16127. description: Internal Server Error
  16128. schema:
  16129. $ref: '#/definitions/app.Response'
  16130. security:
  16131. - ApiKeyAuth: []
  16132. summary: 持仓汇总查询(尚志大宗)
  16133. tags:
  16134. - 定制【尚志大宗】
  16135. /SZDZ/SearchWhite:
  16136. get:
  16137. parameters:
  16138. - description: 用户ID
  16139. in: query
  16140. name: userID
  16141. required: true
  16142. type: integer
  16143. produces:
  16144. - application/json
  16145. responses:
  16146. "200":
  16147. description: OK
  16148. schema:
  16149. $ref: '#/definitions/models.Szdz3searchwhitelist'
  16150. "500":
  16151. description: Internal Server Error
  16152. schema:
  16153. $ref: '#/definitions/app.Response'
  16154. security:
  16155. - ApiKeyAuth: []
  16156. summary: 搜索白名单
  16157. tags:
  16158. - 定制【尚志大宗】
  16159. /Search/SearchGoodses:
  16160. get:
  16161. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  16162. parameters:
  16163. - description: 检索内容
  16164. in: query
  16165. name: content
  16166. required: true
  16167. type: string
  16168. - description: 交易模式,格式:1,2,3
  16169. in: query
  16170. name: tradeModes
  16171. type: string
  16172. produces:
  16173. - application/json
  16174. responses:
  16175. "200":
  16176. description: OK
  16177. schema:
  16178. $ref: '#/definitions/models.SearchGoods'
  16179. "500":
  16180. description: Internal Server Error
  16181. schema:
  16182. $ref: '#/definitions/app.Response'
  16183. summary: 检索商品信息
  16184. tags:
  16185. - 检索服务
  16186. /TaAccount/GetTaAccounts:
  16187. get:
  16188. parameters:
  16189. - description: 登录账户
  16190. in: query
  16191. name: loginID
  16192. required: true
  16193. type: integer
  16194. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16195. in: query
  16196. name: taAccountType
  16197. type: integer
  16198. produces:
  16199. - application/json
  16200. responses:
  16201. "200":
  16202. description: OK
  16203. schema:
  16204. $ref: '#/definitions/models.Taaccount'
  16205. "500":
  16206. description: Internal Server Error
  16207. schema:
  16208. $ref: '#/definitions/app.Response'
  16209. security:
  16210. - ApiKeyAuth: []
  16211. summary: 获取资金账户信息
  16212. tags:
  16213. - 资金账户
  16214. /TaAccount/QueryAmountLog:
  16215. get:
  16216. parameters:
  16217. - description: 页码
  16218. in: query
  16219. name: page
  16220. type: integer
  16221. - description: 每页条数
  16222. in: query
  16223. name: pagesize
  16224. type: integer
  16225. - description: 资金账户 - 格式:1,2,3
  16226. in: query
  16227. name: accountID
  16228. required: true
  16229. type: string
  16230. - description: 资金操作类型 - 格式:1,2,3
  16231. in: query
  16232. name: OperateType
  16233. type: string
  16234. produces:
  16235. - application/json
  16236. responses:
  16237. "200":
  16238. description: OK
  16239. schema:
  16240. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  16241. "500":
  16242. description: Internal Server Error
  16243. schema:
  16244. $ref: '#/definitions/app.Response'
  16245. security:
  16246. - ApiKeyAuth: []
  16247. summary: 资金流水查询(当前)
  16248. tags:
  16249. - 资金账户
  16250. /TaAccount/QueryHisAmountLog:
  16251. get:
  16252. parameters:
  16253. - description: 页码
  16254. in: query
  16255. name: page
  16256. type: integer
  16257. - description: 每页条数
  16258. in: query
  16259. name: pagesize
  16260. type: integer
  16261. - description: 资金账户 - 格式:1,2,3
  16262. in: query
  16263. name: accountID
  16264. required: true
  16265. type: string
  16266. - description: 资金操作类型 - 格式:1,2,3
  16267. in: query
  16268. name: OperateType
  16269. type: string
  16270. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16271. in: query
  16272. name: startDate
  16273. type: string
  16274. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16275. in: query
  16276. name: endDate
  16277. type: string
  16278. produces:
  16279. - application/json
  16280. responses:
  16281. "200":
  16282. description: OK
  16283. schema:
  16284. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  16285. "500":
  16286. description: Internal Server Error
  16287. schema:
  16288. $ref: '#/definitions/app.Response'
  16289. security:
  16290. - ApiKeyAuth: []
  16291. summary: 资金流水查询(历史)
  16292. tags:
  16293. - 资金账户
  16294. /Trade/QueryRecieptOrder:
  16295. get:
  16296. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16297. parameters:
  16298. - description: 页码
  16299. in: query
  16300. name: page
  16301. type: integer
  16302. - description: 每页条数
  16303. in: query
  16304. name: pagesize
  16305. type: integer
  16306. - description: 商品ID
  16307. in: query
  16308. name: goodsID
  16309. required: true
  16310. type: integer
  16311. - description: 所属账户名称
  16312. in: query
  16313. name: accountName
  16314. type: string
  16315. - description: 市场ID
  16316. in: query
  16317. name: marketID
  16318. type: integer
  16319. - description: 方向 - 0:买 1:卖
  16320. in: query
  16321. name: buyorsell
  16322. required: true
  16323. type: integer
  16324. produces:
  16325. - application/json
  16326. responses:
  16327. "200":
  16328. description: OK
  16329. schema:
  16330. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  16331. "500":
  16332. description: Internal Server Error
  16333. schema:
  16334. $ref: '#/definitions/app.Response'
  16335. security:
  16336. - ApiKeyAuth: []
  16337. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  16338. tags:
  16339. - 通用交易
  16340. /User/AddMessageBoard:
  16341. post:
  16342. parameters:
  16343. - description: 用户ID
  16344. in: query
  16345. name: userID
  16346. required: true
  16347. type: integer
  16348. - description: 留言信息
  16349. in: query
  16350. name: message
  16351. required: true
  16352. type: string
  16353. - description: 联系电话
  16354. in: query
  16355. name: contactNum
  16356. required: true
  16357. type: string
  16358. produces:
  16359. - application/json
  16360. responses:
  16361. "200":
  16362. description: OK
  16363. schema:
  16364. $ref: '#/definitions/app.Response'
  16365. "500":
  16366. description: Internal Server Error
  16367. schema:
  16368. $ref: '#/definitions/app.Response'
  16369. security:
  16370. - ApiKeyAuth: []
  16371. summary: 添加用户留言板信息
  16372. tags:
  16373. - 用户信息
  16374. /User/AddUserFavoriteGoods:
  16375. post:
  16376. parameters:
  16377. - description: 用户ID
  16378. in: query
  16379. name: userID
  16380. required: true
  16381. type: integer
  16382. - description: 商品ID
  16383. in: query
  16384. name: goodsID
  16385. required: true
  16386. type: integer
  16387. produces:
  16388. - application/json
  16389. responses:
  16390. "200":
  16391. description: OK
  16392. schema:
  16393. $ref: '#/definitions/app.Response'
  16394. "500":
  16395. description: Internal Server Error
  16396. schema:
  16397. $ref: '#/definitions/app.Response'
  16398. security:
  16399. - ApiKeyAuth: []
  16400. summary: 添加用户商品收藏信息
  16401. tags:
  16402. - 用户信息
  16403. /User/GetLoginID:
  16404. get:
  16405. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  16406. parameters:
  16407. - description: 登录代码
  16408. in: query
  16409. name: username
  16410. required: true
  16411. type: string
  16412. produces:
  16413. - application/json
  16414. responses:
  16415. "200":
  16416. description: OK
  16417. schema:
  16418. $ref: '#/definitions/app.Response'
  16419. "500":
  16420. description: Internal Server Error
  16421. schema:
  16422. $ref: '#/definitions/app.Response'
  16423. summary: 获取登录ID
  16424. tags:
  16425. - 用户信息
  16426. /User/GetUserAccount:
  16427. get:
  16428. parameters:
  16429. - description: 用户ID
  16430. in: query
  16431. name: userID
  16432. required: true
  16433. type: integer
  16434. produces:
  16435. - application/json
  16436. responses:
  16437. "200":
  16438. description: OK
  16439. schema:
  16440. $ref: '#/definitions/models.Useraccount'
  16441. "500":
  16442. description: Internal Server Error
  16443. schema:
  16444. $ref: '#/definitions/app.Response'
  16445. security:
  16446. - ApiKeyAuth: []
  16447. summary: 获取用户账号信息
  16448. tags:
  16449. - 用户信息
  16450. /User/GetUserAuthStatus:
  16451. get:
  16452. parameters:
  16453. - description: 用户ID
  16454. in: query
  16455. name: userID
  16456. required: true
  16457. type: integer
  16458. produces:
  16459. - application/json
  16460. responses:
  16461. "200":
  16462. description: OK
  16463. schema:
  16464. $ref: '#/definitions/app.Response'
  16465. "500":
  16466. description: Internal Server Error
  16467. schema:
  16468. $ref: '#/definitions/app.Response'
  16469. security:
  16470. - ApiKeyAuth: []
  16471. summary: 获取用户实名认证状态
  16472. tags:
  16473. - 用户信息
  16474. /User/LoginQuery:
  16475. get:
  16476. parameters:
  16477. - description: 登录账号
  16478. in: query
  16479. name: loginID
  16480. required: true
  16481. type: integer
  16482. produces:
  16483. - application/json
  16484. responses:
  16485. "200":
  16486. description: OK
  16487. schema:
  16488. $ref: '#/definitions/user.LoginQueryRsp'
  16489. "500":
  16490. description: Internal Server Error
  16491. schema:
  16492. $ref: '#/definitions/app.Response'
  16493. security:
  16494. - ApiKeyAuth: []
  16495. summary: 账户登录后信息查询
  16496. tags:
  16497. - 用户信息
  16498. /User/QueryMessageBoard:
  16499. get:
  16500. parameters:
  16501. - description: 用户ID
  16502. in: query
  16503. name: userID
  16504. required: true
  16505. type: integer
  16506. produces:
  16507. - application/json
  16508. responses:
  16509. "200":
  16510. description: OK
  16511. schema:
  16512. $ref: '#/definitions/models.Messageboard'
  16513. "500":
  16514. description: Internal Server Error
  16515. schema:
  16516. $ref: '#/definitions/app.Response'
  16517. security:
  16518. - ApiKeyAuth: []
  16519. summary: 获取用户留言板信息
  16520. tags:
  16521. - 用户信息
  16522. /User/QueryUserFavoriteGoodses:
  16523. get:
  16524. parameters:
  16525. - description: 用户ID
  16526. in: query
  16527. name: userID
  16528. required: true
  16529. type: integer
  16530. produces:
  16531. - application/json
  16532. responses:
  16533. "200":
  16534. description: OK
  16535. schema:
  16536. $ref: '#/definitions/models.Userfavoritegoods'
  16537. "500":
  16538. description: Internal Server Error
  16539. schema:
  16540. $ref: '#/definitions/app.Response'
  16541. security:
  16542. - ApiKeyAuth: []
  16543. summary: 获取用户商品收藏信息
  16544. tags:
  16545. - 用户信息
  16546. /User/QueryUserInfo:
  16547. get:
  16548. parameters:
  16549. - description: 用户ID
  16550. in: query
  16551. name: userID
  16552. required: true
  16553. type: integer
  16554. - description: 是否解密
  16555. in: query
  16556. name: isDecrypt
  16557. type: boolean
  16558. produces:
  16559. - application/json
  16560. responses:
  16561. "200":
  16562. description: OK
  16563. schema:
  16564. $ref: '#/definitions/models.Userinfo'
  16565. "500":
  16566. description: Internal Server Error
  16567. schema:
  16568. $ref: '#/definitions/app.Response'
  16569. security:
  16570. - ApiKeyAuth: []
  16571. summary: 获取用户信息
  16572. tags:
  16573. - 用户信息
  16574. /User/QueryUserReferNum:
  16575. get:
  16576. parameters:
  16577. - description: 用户ID
  16578. in: query
  16579. name: userID
  16580. required: true
  16581. type: integer
  16582. produces:
  16583. - application/json
  16584. responses:
  16585. "200":
  16586. description: OK
  16587. schema:
  16588. $ref: '#/definitions/app.Response'
  16589. "500":
  16590. description: Internal Server Error
  16591. schema:
  16592. $ref: '#/definitions/app.Response'
  16593. summary: 获取用户邀请码
  16594. tags:
  16595. - 用户信息
  16596. /User/RemoveUserFavoriteGoods:
  16597. post:
  16598. parameters:
  16599. - description: 用户ID
  16600. in: query
  16601. name: userID
  16602. required: true
  16603. type: integer
  16604. - description: 商品ID
  16605. in: query
  16606. name: goodsID
  16607. required: true
  16608. type: integer
  16609. produces:
  16610. - application/json
  16611. responses:
  16612. "200":
  16613. description: OK
  16614. schema:
  16615. $ref: '#/definitions/app.Response'
  16616. "500":
  16617. description: Internal Server Error
  16618. schema:
  16619. $ref: '#/definitions/app.Response'
  16620. security:
  16621. - ApiKeyAuth: []
  16622. summary: 移除用户商品收藏信息
  16623. tags:
  16624. - 用户信息
  16625. /User/UpdateUserAccountStatus:
  16626. post:
  16627. parameters:
  16628. - description: 用户ID
  16629. in: query
  16630. name: userID
  16631. required: true
  16632. type: integer
  16633. - description: 账户状态 - 4:正常 6:注销(停用)
  16634. in: query
  16635. name: accountStatus
  16636. required: true
  16637. type: integer
  16638. produces:
  16639. - application/json
  16640. responses:
  16641. "200":
  16642. description: OK
  16643. schema:
  16644. $ref: '#/definitions/app.Response'
  16645. "500":
  16646. description: Internal Server Error
  16647. schema:
  16648. $ref: '#/definitions/app.Response'
  16649. security:
  16650. - ApiKeyAuth: []
  16651. summary: 更新用户状态
  16652. tags:
  16653. - 用户信息
  16654. /WRTrade/GetAllDeliveryGoods:
  16655. get:
  16656. produces:
  16657. - application/json
  16658. - application/json
  16659. responses:
  16660. "200":
  16661. description: OK
  16662. schema:
  16663. $ref: '#/definitions/app.Response'
  16664. "500":
  16665. description: Internal Server Error
  16666. schema:
  16667. $ref: '#/definitions/app.Response'
  16668. security:
  16669. - ApiKeyAuth: []
  16670. - ApiKeyAuth: []
  16671. summary: 获取带仓单分类的种类信息
  16672. tags:
  16673. - 仓单贸易
  16674. - 仓单贸易
  16675. securityDefinitions:
  16676. ApiKeyAuth:
  16677. in: header
  16678. name: Authorization
  16679. type: apiKey
  16680. swagger: "2.0"