swagger.yaml 458 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605
  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. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAvalidGPRsp:
  935. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  936. ermcp.QryBusinessDjRsp:
  937. properties:
  938. amount:
  939. description: 点价金额=(点价价格+升贴水)*点价数量
  940. type: number
  941. applyid:
  942. description: 申请人
  943. type: string
  944. applyname:
  945. description: 申请人名称
  946. type: string
  947. applystatus:
  948. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  949. type: integer
  950. applytime:
  951. description: 申请时间
  952. type: string
  953. attachurl:
  954. description: 附件
  955. type: string
  956. auditid:
  957. description: 审核人ID
  958. type: string
  959. auditname:
  960. description: 审核人名称
  961. type: string
  962. audittime:
  963. description: 审核时间
  964. type: string
  965. buyusername:
  966. description: 采购方名称
  967. type: string
  968. contractno:
  969. description: 合同编号
  970. type: string
  971. contractstatus:
  972. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  973. type: integer
  974. contracttype:
  975. description: 现货合同类型 - 1:采购 -1:销售
  976. type: integer
  977. deliverygoodscode:
  978. description: 现货品种代码
  979. type: string
  980. deliverygoodsid:
  981. description: 现货商品ID
  982. type: integer
  983. deliverygoodsname:
  984. description: 现货品种名称
  985. type: string
  986. enumdicname:
  987. description: 单位名称
  988. type: string
  989. goodscode:
  990. description: 点价合约
  991. type: string
  992. goodsname:
  993. description: 商品名称
  994. type: string
  995. operateapplyid:
  996. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  997. type: string
  998. operateapplytype:
  999. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1000. type: integer
  1001. pricedPrice:
  1002. description: 点价价格(非必填)
  1003. type: number
  1004. pricedQty:
  1005. description: 点价数量(非必填)
  1006. type: number
  1007. pricemove:
  1008. description: 升贴水
  1009. type: number
  1010. pricetype:
  1011. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1012. type: integer
  1013. relatedid:
  1014. description: 现货合同ID
  1015. type: string
  1016. sellusername:
  1017. description: 销售方名字
  1018. type: string
  1019. userid:
  1020. description: 用户ID
  1021. type: integer
  1022. wrstandardcode:
  1023. description: 品类代码
  1024. type: string
  1025. wrstandardid:
  1026. description: 品类id
  1027. type: integer
  1028. wrstandardname:
  1029. description: 品类名称
  1030. type: string
  1031. type: object
  1032. ermcp.QryBussinessFpRsp:
  1033. properties:
  1034. applyid:
  1035. description: 申请人
  1036. type: string
  1037. applyname:
  1038. description: 申请人名称
  1039. type: string
  1040. applystatus:
  1041. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1042. type: integer
  1043. applytime:
  1044. description: 申请时间
  1045. type: string
  1046. attachurl:
  1047. description: 附件
  1048. type: string
  1049. auditid:
  1050. description: 审核人ID
  1051. type: string
  1052. auditname:
  1053. description: 审核人名称
  1054. type: string
  1055. audittime:
  1056. description: 审核时间
  1057. type: string
  1058. buyusername:
  1059. description: 采购方名称
  1060. type: string
  1061. contractno:
  1062. description: 合同编号
  1063. type: string
  1064. contractstatus:
  1065. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1066. type: integer
  1067. contracttype:
  1068. description: 现货合同类型 - 1:采购 -1:销售
  1069. type: integer
  1070. deliverygoodscode:
  1071. description: 现货品种代码
  1072. type: string
  1073. deliverygoodsid:
  1074. description: 现货商品ID
  1075. type: integer
  1076. deliverygoodsname:
  1077. description: 现货品种名称
  1078. type: string
  1079. enumdicname:
  1080. description: 单位名称
  1081. type: string
  1082. goodscode:
  1083. description: 点价合约
  1084. type: string
  1085. goodsname:
  1086. description: 商品名称
  1087. type: string
  1088. invoiceAmount:
  1089. description: 已开收票金额(销售为开票,采购为收票)
  1090. type: number
  1091. operateapplyid:
  1092. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1093. type: string
  1094. operateapplytype:
  1095. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1096. type: integer
  1097. pricemove:
  1098. description: 升贴水
  1099. type: number
  1100. pricetype:
  1101. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1102. type: integer
  1103. relatedid:
  1104. description: 现货合同ID
  1105. type: string
  1106. sellusername:
  1107. description: 销售方名字
  1108. type: string
  1109. userid:
  1110. description: 用户ID
  1111. type: integer
  1112. wrstandardcode:
  1113. description: 品类代码
  1114. type: string
  1115. wrstandardid:
  1116. description: 品类id
  1117. type: integer
  1118. wrstandardname:
  1119. description: 品类名称
  1120. type: string
  1121. type: object
  1122. ermcp.QryBussinessJsExRsp:
  1123. properties:
  1124. applyid:
  1125. description: 申请人
  1126. type: string
  1127. applyname:
  1128. description: 申请人名称
  1129. type: string
  1130. applystatus:
  1131. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1132. type: integer
  1133. applytime:
  1134. description: 申请时间
  1135. type: string
  1136. attachurl:
  1137. description: 附件
  1138. type: string
  1139. auditid:
  1140. description: 审核人ID
  1141. type: string
  1142. auditname:
  1143. description: 审核人名称
  1144. type: string
  1145. audittime:
  1146. description: 审核时间
  1147. type: string
  1148. buyusername:
  1149. description: 采购方名称
  1150. type: string
  1151. contractno:
  1152. description: 合同编号
  1153. type: string
  1154. contractstatus:
  1155. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1156. type: integer
  1157. contracttype:
  1158. description: 现货合同类型 - 1:采购 -1:销售
  1159. type: integer
  1160. deliverygoodscode:
  1161. description: 现货品种代码
  1162. type: string
  1163. deliverygoodsid:
  1164. description: 现货商品ID
  1165. type: integer
  1166. deliverygoodsname:
  1167. description: 现货品种名称
  1168. type: string
  1169. enumdicname:
  1170. description: 单位名称
  1171. type: string
  1172. goodscode:
  1173. description: 点价合约
  1174. type: string
  1175. goodsname:
  1176. description: 商品名称
  1177. type: string
  1178. operateapplyid:
  1179. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1180. type: string
  1181. operateapplytype:
  1182. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1183. type: integer
  1184. pricemove:
  1185. description: 升贴水
  1186. type: number
  1187. pricetype:
  1188. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1189. type: integer
  1190. reckontype:
  1191. description: 结算类型
  1192. type: string
  1193. reckonvalue:
  1194. description: 值
  1195. type: number
  1196. relatedid:
  1197. description: 现货合同ID
  1198. type: string
  1199. sellusername:
  1200. description: 销售方名字
  1201. type: string
  1202. userid:
  1203. description: 用户ID
  1204. type: integer
  1205. wrstandardcode:
  1206. description: 品类代码
  1207. type: string
  1208. wrstandardid:
  1209. description: 品类id
  1210. type: integer
  1211. wrstandardname:
  1212. description: 品类名称
  1213. type: string
  1214. type: object
  1215. ermcp.QryBussinessJsRsp:
  1216. properties:
  1217. addmargin:
  1218. description: 追加保证金(非必填)
  1219. type: number
  1220. applyid:
  1221. description: 申请人
  1222. type: string
  1223. applyname:
  1224. description: 申请人名称
  1225. type: string
  1226. applystatus:
  1227. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1228. type: integer
  1229. applytime:
  1230. description: 申请时间
  1231. type: string
  1232. attachurl:
  1233. description: 附件
  1234. type: string
  1235. auditid:
  1236. description: 审核人ID
  1237. type: string
  1238. auditname:
  1239. description: 审核人名称
  1240. type: string
  1241. audittime:
  1242. description: 审核时间
  1243. type: string
  1244. buyusername:
  1245. description: 采购方名称
  1246. type: string
  1247. contractno:
  1248. description: 合同编号
  1249. type: string
  1250. contractstatus:
  1251. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1252. type: integer
  1253. contracttype:
  1254. description: 现货合同类型 - 1:采购 -1:销售
  1255. type: integer
  1256. decmargin:
  1257. description: 减少保证金(非必填)
  1258. type: number
  1259. deliverygoodscode:
  1260. description: 现货品种代码
  1261. type: string
  1262. deliverygoodsid:
  1263. description: 现货商品ID
  1264. type: integer
  1265. deliverygoodsname:
  1266. description: 现货品种名称
  1267. type: string
  1268. enumdicname:
  1269. description: 单位名称
  1270. type: string
  1271. goodscode:
  1272. description: 点价合约
  1273. type: string
  1274. goodsname:
  1275. description: 商品名称
  1276. type: string
  1277. operateapplyid:
  1278. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1279. type: string
  1280. operateapplytype:
  1281. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1282. type: integer
  1283. pricemove:
  1284. description: 升贴水
  1285. type: number
  1286. pricetype:
  1287. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1288. type: integer
  1289. reckonadjustamount:
  1290. description: 结算调整金额(非必填)
  1291. type: number
  1292. reckonosamount:
  1293. description: 结算溢短金额(非必填)
  1294. type: number
  1295. reckonotheramount:
  1296. description: 结算其他费用(非必填)
  1297. type: number
  1298. reckonrealqty:
  1299. description: 结算实际数量(非必填)
  1300. type: number
  1301. relatedid:
  1302. description: 现货合同ID
  1303. type: string
  1304. sellusername:
  1305. description: 销售方名字
  1306. type: string
  1307. userid:
  1308. description: 用户ID
  1309. type: integer
  1310. wrstandardcode:
  1311. description: 品类代码
  1312. type: string
  1313. wrstandardid:
  1314. description: 品类id
  1315. type: integer
  1316. wrstandardname:
  1317. description: 品类名称
  1318. type: string
  1319. type: object
  1320. ermcp.QryBussinessKxRsp:
  1321. properties:
  1322. applyid:
  1323. description: 申请人
  1324. type: string
  1325. applyname:
  1326. description: 申请人名称
  1327. type: string
  1328. applystatus:
  1329. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1330. type: integer
  1331. applytime:
  1332. description: 申请时间
  1333. type: string
  1334. attachurl:
  1335. description: 附件
  1336. type: string
  1337. auditid:
  1338. description: 审核人ID
  1339. type: string
  1340. auditname:
  1341. description: 审核人名称
  1342. type: string
  1343. audittime:
  1344. description: 审核时间
  1345. type: string
  1346. buyusername:
  1347. description: 采购方名称
  1348. type: string
  1349. contractno:
  1350. description: 合同编号
  1351. type: string
  1352. contractstatus:
  1353. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1354. type: integer
  1355. contracttype:
  1356. description: 现货合同类型 - 1:采购 -1:销售
  1357. type: integer
  1358. deductamount:
  1359. description: 退款(非必填)
  1360. type: number
  1361. deliverygoodscode:
  1362. description: 现货品种代码
  1363. type: string
  1364. deliverygoodsid:
  1365. description: 现货商品ID
  1366. type: integer
  1367. deliverygoodsname:
  1368. description: 现货品种名称
  1369. type: string
  1370. enumdicname:
  1371. description: 单位名称
  1372. type: string
  1373. goodscode:
  1374. description: 点价合约
  1375. type: string
  1376. goodsname:
  1377. description: 商品名称
  1378. type: string
  1379. kxtype:
  1380. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1381. type: integer
  1382. operateapplyid:
  1383. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1384. type: string
  1385. operateapplytype:
  1386. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1387. type: integer
  1388. payamount:
  1389. description: 收付款(非必填)
  1390. type: number
  1391. pricemove:
  1392. description: 升贴水
  1393. type: number
  1394. pricetype:
  1395. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1396. type: integer
  1397. relatedid:
  1398. description: 现货合同ID
  1399. type: string
  1400. sellusername:
  1401. description: 销售方名字
  1402. type: string
  1403. userid:
  1404. description: 用户ID
  1405. type: integer
  1406. wrstandardcode:
  1407. description: 品类代码
  1408. type: string
  1409. wrstandardid:
  1410. description: 品类id
  1411. type: integer
  1412. wrstandardname:
  1413. description: 品类名称
  1414. type: string
  1415. type: object
  1416. ermcp.QryGGCovertCfgRsp:
  1417. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1418. ermcp.QryMGChangeLogRsp:
  1419. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1420. ermcp.QryMiddleGoodsDetailRsp:
  1421. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1422. ermcp.QryMiddleGoodsRsp:
  1423. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1424. ermcp.QryOPLogRsp:
  1425. $ref: '#/definitions/models.ErmcpOPLogModel'
  1426. ermcp.QryUserInfoRsp:
  1427. $ref: '#/definitions/models.ErmcpUserModel'
  1428. ermcp.QryWarehouseRsp:
  1429. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1430. ermcp.QueryErmcpTradePositionRsp:
  1431. properties:
  1432. agreeunit:
  1433. description: 合约单位
  1434. type: number
  1435. buyorsell:
  1436. description: 方向 - 0:买 1:卖
  1437. type: integer
  1438. curpositionqty:
  1439. description: 持仓(总仓数量, 期末头寸)
  1440. type: integer
  1441. curtdposition:
  1442. description: 今仓数量(期末今日头寸)
  1443. type: integer
  1444. curtdpositionenabled:
  1445. description: 今仓可用
  1446. type: integer
  1447. decimalplace:
  1448. description: 报价小数位
  1449. type: integer
  1450. enableqty:
  1451. description: 可用(总仓可用)
  1452. type: integer
  1453. exexchangename:
  1454. description: 外部交易所名称
  1455. type: string
  1456. goodscode:
  1457. description: 商品代码(内部)
  1458. type: string
  1459. goodsid:
  1460. description: 商品ID(自增ID SEQ_GOODS)
  1461. type: integer
  1462. goodsname:
  1463. description: 商品名称
  1464. type: string
  1465. last:
  1466. description: 现价
  1467. type: number
  1468. marketid:
  1469. description: 所属市场ID
  1470. type: integer
  1471. openaverageprice:
  1472. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1473. type: number
  1474. opencost:
  1475. description: 开仓成本
  1476. type: number
  1477. openpl:
  1478. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1479. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1480. type: number
  1481. outgoodscode:
  1482. description: 商品代码(外部)
  1483. type: string
  1484. positionaverageprice:
  1485. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1486. type: number
  1487. positioncost:
  1488. description: 持仓成本
  1489. type: number
  1490. positionpl:
  1491. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1492. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1493. type: number
  1494. positionplrate:
  1495. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1496. type: number
  1497. usedmargin:
  1498. description: 占用保证金
  1499. type: number
  1500. type: object
  1501. ermcp.RealtimeExposurePositionRsp:
  1502. $ref: '#/definitions/models.ErmcpExposurePostion'
  1503. ermcp.RealtimeExposureRsp:
  1504. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1505. erms2.QueryArbitrageStrategyRsp:
  1506. properties:
  1507. applybasis:
  1508. description: 申请基差
  1509. type: number
  1510. asapplyid:
  1511. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1512. type: string
  1513. asname:
  1514. description: 策略名称
  1515. type: string
  1516. asno:
  1517. description: 策略编号
  1518. type: string
  1519. basischangepl:
  1520. description: 基差变动损益[结算更新]
  1521. type: number
  1522. biztype:
  1523. description: 业务类型 - 1:正向套利 -1:反向套利
  1524. type: integer
  1525. closetradedate:
  1526. description: 完结交易日(yyyyMMdd)
  1527. type: string
  1528. curbasis:
  1529. description: 当前基差[结算更新]
  1530. type: number
  1531. deliverygoodsid:
  1532. description: 现货品种ID
  1533. type: integer
  1534. futureavgprice:
  1535. description: 期货建仓均价
  1536. type: number
  1537. futurecloseamount:
  1538. description: 期货平仓金额
  1539. type: number
  1540. futurecloseqty:
  1541. description: 期货平仓数量
  1542. type: number
  1543. futureopenamount:
  1544. description: 期货开仓金额
  1545. type: number
  1546. futureopenqty:
  1547. description: 期货开仓数量
  1548. type: number
  1549. futurepl:
  1550. description: 期货总盈亏[结算更新]
  1551. type: number
  1552. futureqty:
  1553. description: 期货持仓数量
  1554. type: number
  1555. futurequote:
  1556. description: 期货额度
  1557. type: number
  1558. goodsgroupid:
  1559. description: 期货品种ID
  1560. type: integer
  1561. marketid:
  1562. description: 市场ID
  1563. type: integer
  1564. netexposure:
  1565. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1566. type: number
  1567. netexposurepl:
  1568. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1569. type: number
  1570. netexposurerate:
  1571. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1572. type: number
  1573. openbasis:
  1574. description: 建仓基差
  1575. type: number
  1576. pricedspotqty:
  1577. description: 已定价现货数量
  1578. type: number
  1579. pricedspotqtynotax:
  1580. description: 已定价现货不含税数量
  1581. type: number
  1582. remark:
  1583. description: 备注
  1584. type: string
  1585. spotavgprice:
  1586. description: 现货均价
  1587. type: number
  1588. spotbuyamount:
  1589. description: 现货采购金额
  1590. type: number
  1591. spotbuyqty:
  1592. description: 现货采购数量
  1593. type: number
  1594. spotpl:
  1595. description: 现货总盈亏[结算更新]
  1596. type: number
  1597. spotquota:
  1598. description: 现货额度
  1599. type: number
  1600. spotsellamount:
  1601. description: 现货销售金额
  1602. type: number
  1603. spotsellqty:
  1604. description: 现货销售数量
  1605. type: number
  1606. spotusedquota:
  1607. description: 现货占用资金
  1608. type: number
  1609. strategystatus:
  1610. description: 策略状态 - 0:未结束 1:已结束
  1611. type: integer
  1612. totalpl:
  1613. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1614. type: number
  1615. tradedate:
  1616. description: 交易日(yyyyMMdd)
  1617. type: string
  1618. updatetime:
  1619. description: 更新时间
  1620. type: string
  1621. usedquota:
  1622. description: 已占用资金
  1623. type: number
  1624. userid:
  1625. description: 所属机构
  1626. type: integer
  1627. required:
  1628. - asapplyid
  1629. type: object
  1630. erms2.QueryInnerTradeDetailRsp:
  1631. properties:
  1632. accountid:
  1633. description: 账号ID
  1634. type: integer
  1635. agreeunit:
  1636. description: 合约单位
  1637. type: number
  1638. asapplyid:
  1639. description: 策略申请ID
  1640. type: integer
  1641. asname:
  1642. description: 策略名称
  1643. type: string
  1644. asno:
  1645. description: 策略编号
  1646. type: string
  1647. buyorsell:
  1648. description: 方向 - 0:买 1:卖
  1649. type: integer
  1650. channelbuildtype:
  1651. description: 委托单据类型 0:无 1:建仓 2:平仓
  1652. type: integer
  1653. closetype:
  1654. description: 平仓方式 - 0:无 1:平今 2:平昨
  1655. type: integer
  1656. decimalplace:
  1657. description: 报价小数位
  1658. type: integer
  1659. detailtype:
  1660. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1661. type: integer
  1662. exexchangecode:
  1663. description: 外部交易所代码
  1664. type: string
  1665. exexchangename:
  1666. description: 外部交易所名称
  1667. type: string
  1668. goodscode:
  1669. description: 商品代码(合约)
  1670. type: string
  1671. goodsgroupid:
  1672. description: 商品组ID(品种ID)
  1673. type: integer
  1674. goodsgroupname:
  1675. description: 商品组名称(品种)
  1676. type: string
  1677. goodsid:
  1678. description: 商品ID
  1679. type: integer
  1680. goodsname:
  1681. description: 商品名称(合约)
  1682. type: string
  1683. goodunit:
  1684. description: 报价单位
  1685. type: string
  1686. marketid:
  1687. description: 市场ID
  1688. type: integer
  1689. orderid:
  1690. description: 委托单号
  1691. type: string
  1692. outgoodscode:
  1693. description: 商品代码(外部)
  1694. type: string
  1695. relatedouttradeid:
  1696. description: 关联外部成交单ID
  1697. type: string
  1698. remark:
  1699. description: 备注
  1700. type: string
  1701. spotcontractid:
  1702. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1703. type: integer
  1704. spotcontractno:
  1705. description: 现货合同编号
  1706. type: string
  1707. tradeid:
  1708. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1709. type: string
  1710. tradeprice:
  1711. description: 成交价格
  1712. type: number
  1713. tradeqty:
  1714. description: 成交数量
  1715. type: integer
  1716. tradetime:
  1717. description: 成交时间
  1718. type: string
  1719. updatetime:
  1720. description: 更新时间
  1721. type: string
  1722. required:
  1723. - asapplyid
  1724. - buyorsell
  1725. - goodscode
  1726. - goodsgroupid
  1727. - goodsgroupname
  1728. - goodsname
  1729. - tradeid
  1730. type: object
  1731. erms2.QuerySpotContractRsp:
  1732. properties:
  1733. accountid:
  1734. description: 资金账户ID
  1735. type: integer
  1736. areauserid:
  1737. description: 所属机构
  1738. type: integer
  1739. closedate:
  1740. description: 终止日期
  1741. type: string
  1742. closeremark:
  1743. description: 结束备注
  1744. type: string
  1745. closetradedate:
  1746. description: 完结交易日(yyyyMMdd)
  1747. type: string
  1748. closetype:
  1749. description: 终止类型 - 1:违约 2:提前终止
  1750. type: integer
  1751. contractamount:
  1752. description: 合同金额
  1753. type: number
  1754. contractattachment:
  1755. description: 合同附件
  1756. type: string
  1757. contractno:
  1758. description: 现货合同编号
  1759. type: string
  1760. contractqty:
  1761. description: 合同数量(数值) (用于计算)
  1762. type: number
  1763. contractqtychar:
  1764. description: 合同数量\已订价数量 (用于显示)
  1765. type: string
  1766. contractstatus:
  1767. description: 合同状态 - 0:未结束 1:已结束
  1768. type: integer
  1769. contracttype:
  1770. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1771. type: integer
  1772. customeraccountid:
  1773. description: 客户资金账户ID
  1774. type: integer
  1775. customeruserid:
  1776. description: 客户ID
  1777. type: integer
  1778. deliverygoodsdesc:
  1779. description: 品种说明
  1780. type: string
  1781. deliverygoodsid:
  1782. description: 现货品种ID
  1783. type: integer
  1784. handlestatus:
  1785. description: 处理状态
  1786. type: integer
  1787. invoiceatt:
  1788. description: 发票附件
  1789. type: string
  1790. invoicedatetime:
  1791. description: 开收票更新时间
  1792. type: string
  1793. invoiceopentime:
  1794. description: 开票时间
  1795. type: string
  1796. invoiceremark:
  1797. description: 发票备注
  1798. type: string
  1799. invoicestatus:
  1800. description: 开收票状态 - 0:未开票 1:已开票
  1801. type: integer
  1802. lastdate:
  1803. description: 交货时间
  1804. type: string
  1805. marketid:
  1806. description: 市场ID
  1807. type: integer
  1808. paydatetime:
  1809. description: 收付款更新时间
  1810. type: string
  1811. payremark:
  1812. description: 收付款备注
  1813. type: string
  1814. paystatus:
  1815. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1816. type: integer
  1817. positionqty:
  1818. description: 头寸数量 - 合同数量去小数部分
  1819. type: integer
  1820. producttype:
  1821. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1822. type: integer
  1823. relatedqty:
  1824. description: 已关联数量
  1825. type: number
  1826. relatedstatus:
  1827. description: 关联完结状态 - 0:未结束 1:已结束
  1828. type: integer
  1829. remark:
  1830. description: 备注
  1831. type: string
  1832. signdate:
  1833. description: 签订日期
  1834. type: string
  1835. spotcontractid:
  1836. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1837. type: string
  1838. spotdatetime:
  1839. description: 收发货更新时间
  1840. type: string
  1841. spotprice:
  1842. description: 价格
  1843. type: number
  1844. spotremark:
  1845. description: 收发货备注
  1846. type: string
  1847. spotstatus:
  1848. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. userid:
  1854. description: 业务员用户ID
  1855. type: integer
  1856. warehouseid:
  1857. description: 仓库ID
  1858. type: integer
  1859. wrfactortypeid:
  1860. description: 仓单要素类型ID
  1861. type: integer
  1862. wrstandardid:
  1863. description: 仓单标准ID(SEQ_WRSTANDARD)
  1864. type: integer
  1865. required:
  1866. - spotcontractid
  1867. type: object
  1868. erms3.AddErms2ASApplyReq:
  1869. properties:
  1870. applybasis:
  1871. description: 申请基差
  1872. type: number
  1873. applystatus:
  1874. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1875. type: integer
  1876. asapplyid:
  1877. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1878. type: integer
  1879. asname:
  1880. description: 策略名称
  1881. type: string
  1882. asno:
  1883. description: 策略编号
  1884. type: string
  1885. auditid:
  1886. description: 审核人
  1887. type: integer
  1888. auditremark:
  1889. description: 审核备注
  1890. type: string
  1891. audittime:
  1892. description: 审核时间
  1893. type: string
  1894. biztype:
  1895. description: 业务类型 - 1:正向套利 2:反向套利
  1896. type: integer
  1897. createtime:
  1898. description: 创建时间
  1899. type: string
  1900. creatorid:
  1901. description: 创建人
  1902. type: integer
  1903. deliverygoodsid:
  1904. description: 现货品种ID
  1905. type: integer
  1906. futurequote:
  1907. description: 期货额度
  1908. type: number
  1909. goodsgroupid:
  1910. description: 期货品种ID
  1911. type: integer
  1912. marketid:
  1913. description: 市场ID
  1914. type: integer
  1915. remark:
  1916. description: 备注
  1917. type: string
  1918. spotquota:
  1919. description: 现货额度
  1920. type: number
  1921. tradedate:
  1922. description: 交易日(yyyyMMdd)
  1923. type: string
  1924. userid:
  1925. description: 所属机构
  1926. type: integer
  1927. required:
  1928. - asapplyid
  1929. type: object
  1930. erms3.AddErms2SpotTradeApplyReq:
  1931. properties:
  1932. applyjsondetail:
  1933. description: 申请明细(JSON)
  1934. type: string
  1935. applystatus:
  1936. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1937. type: integer
  1938. areauserid:
  1939. description: 所属机构
  1940. type: integer
  1941. auditid:
  1942. description: 审核人
  1943. type: integer
  1944. auditremark:
  1945. description: 审核备注
  1946. type: string
  1947. audittime:
  1948. description: 审核时间
  1949. type: string
  1950. createtime:
  1951. description: 创建时间
  1952. type: string
  1953. creatorid:
  1954. description: 创建人
  1955. type: integer
  1956. deliverygoodsid:
  1957. description: 现货品种ID
  1958. type: integer
  1959. futureaccountid:
  1960. description: 期货资金账户
  1961. type: integer
  1962. goodsgroupid:
  1963. description: 期货品种
  1964. type: integer
  1965. marketid:
  1966. description: 市场ID
  1967. type: integer
  1968. remark:
  1969. description: 备注
  1970. type: string
  1971. spotaccountid:
  1972. description: 现货资金账户
  1973. type: integer
  1974. spottradeid:
  1975. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1976. type: integer
  1977. spottradename:
  1978. description: 业务名称
  1979. type: string
  1980. spottradeno:
  1981. description: 业务编号
  1982. type: string
  1983. tradedate:
  1984. description: 交易日(yyyyMMdd)
  1985. type: string
  1986. wrstandardid:
  1987. description: 仓单标准ID
  1988. type: integer
  1989. required:
  1990. - spottradeid
  1991. type: object
  1992. erms3.AddSpotContractApplyReq:
  1993. properties:
  1994. accountid:
  1995. description: 资金账户ID
  1996. type: integer
  1997. areauserid:
  1998. description: 所属机构
  1999. type: integer
  2000. contractattachment:
  2001. description: 合同附件
  2002. type: string
  2003. contractno:
  2004. description: 现货合同编号
  2005. type: string
  2006. contracttype:
  2007. description: 现货合同类型 - 1:采购 -1:销售
  2008. type: integer
  2009. creatorid:
  2010. description: 申请人
  2011. type: integer
  2012. customeraccountid:
  2013. description: 客户资金账户ID
  2014. type: integer
  2015. customeruserid:
  2016. description: 客户ID
  2017. type: integer
  2018. details:
  2019. description: 明细
  2020. items:
  2021. $ref: '#/definitions/erms3.SoptContractDetail'
  2022. type: array
  2023. orimargin:
  2024. description: 初始保证金
  2025. type: number
  2026. remark:
  2027. description: 备注
  2028. type: string
  2029. signdate:
  2030. description: 签订日期
  2031. type: string
  2032. required:
  2033. - accountid
  2034. - areauserid
  2035. - contractno
  2036. - contracttype
  2037. - customeraccountid
  2038. - customeruserid
  2039. - details
  2040. - orimargin
  2041. - signdate
  2042. type: object
  2043. erms3.AddSpotContractApplyRsp:
  2044. properties:
  2045. contractno:
  2046. description: 现货合同编号
  2047. type: string
  2048. spotcontractid:
  2049. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2050. type: integer
  2051. required:
  2052. - contractno
  2053. type: object
  2054. erms3.AddUserInfoApplyReq:
  2055. properties:
  2056. accountid:
  2057. description: 交易系统帐号Id (加密存储)
  2058. type: integer
  2059. areacode:
  2060. description: 机构代码
  2061. type: string
  2062. areaid:
  2063. description: 机构Id
  2064. type: integer
  2065. attachment1:
  2066. description: 附件1
  2067. type: string
  2068. attachment2:
  2069. description: 附件2
  2070. type: string
  2071. attachment3:
  2072. description: 附件3
  2073. type: string
  2074. attachment4:
  2075. description: 附件4
  2076. type: string
  2077. attachment5:
  2078. description: 附件5
  2079. type: string
  2080. auditedby:
  2081. description: 审核人
  2082. type: string
  2083. auditime:
  2084. description: 审核时间
  2085. type: string
  2086. auditsrc:
  2087. description: 审核来源 - 1:管理端 2:终端
  2088. type: integer
  2089. bankaccount:
  2090. description: 银行帐号 (加密存储)
  2091. type: string
  2092. bankaccountname:
  2093. description: 收款人名称
  2094. type: string
  2095. bankcardbackphotourl:
  2096. description: 银行卡背面照地址
  2097. type: string
  2098. bankcardfrontphotourl:
  2099. description: 银行卡正面照地址
  2100. type: string
  2101. bankid:
  2102. description: 银行编码
  2103. type: string
  2104. bankname:
  2105. description: 银行名称
  2106. type: string
  2107. bankpictureurl:
  2108. description: 银行卡正面地址
  2109. type: string
  2110. biznature:
  2111. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2112. type: integer
  2113. bizscope:
  2114. description: 企业经营范围(企业)
  2115. type: string
  2116. biztype:
  2117. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2118. type: integer
  2119. brokerid:
  2120. description: 经纪人ID(加密存储)
  2121. type: string
  2122. cardaddress:
  2123. description: 证件地址 (加密存储)
  2124. type: string
  2125. cardbackphotourl:
  2126. description: 背面证件照地址
  2127. type: string
  2128. cardfrontphotourl:
  2129. description: 正面证件照地址
  2130. type: string
  2131. cardnum:
  2132. description: 证件号码 (加密存储)
  2133. type: string
  2134. cardtype:
  2135. description: 证件类型
  2136. type: integer
  2137. cityid:
  2138. description: 市
  2139. type: integer
  2140. company:
  2141. description: 公司(个人)
  2142. type: string
  2143. contactcardbackphotourl:
  2144. description: 联系人证件背面图片地址
  2145. type: string
  2146. contactcardfrontphotourl:
  2147. description: 联系人证件正面图片地址
  2148. type: string
  2149. contactname:
  2150. description: 联系人
  2151. type: string
  2152. countryid:
  2153. description: 国家
  2154. type: integer
  2155. createtime:
  2156. description: 开户申请时间
  2157. type: string
  2158. cusbankid:
  2159. description: 签约类型
  2160. type: string
  2161. cusbankname:
  2162. description: 签约类型名称
  2163. type: string
  2164. customername:
  2165. description: 客户名称(企业名称)
  2166. type: string
  2167. districtid:
  2168. description: 地区
  2169. type: integer
  2170. email:
  2171. description: Email地址(加密存储)
  2172. type: string
  2173. halfbodyphotourl:
  2174. description: 半身照地址
  2175. type: string
  2176. headurl:
  2177. description: 头像地址
  2178. type: string
  2179. ipaddress:
  2180. description: IP地址
  2181. type: string
  2182. isvalidate:
  2183. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2184. type: string
  2185. legalcardbackphotourl:
  2186. description: 法人身份证背面照地址
  2187. type: string
  2188. legalcardfrontphotourl:
  2189. description: 法人身份证正面照地址
  2190. type: string
  2191. legalpersonname:
  2192. description: 法人姓名(企业)
  2193. type: string
  2194. logincode:
  2195. description: 登录帐号 (加密存储)
  2196. type: string
  2197. memberareaid:
  2198. description: 所属会员ID
  2199. type: integer
  2200. mobile2:
  2201. description: 手机号码[明文-尚志]
  2202. type: string
  2203. mobilephone:
  2204. description: 手机号码 (加密存储)
  2205. type: string
  2206. modifiedby:
  2207. description: 修改人帐号
  2208. type: integer
  2209. modifiedtime:
  2210. description: 修改时间
  2211. type: string
  2212. nickname:
  2213. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2214. type: string
  2215. openmode:
  2216. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2217. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2218. type: integer
  2219. otherurl:
  2220. description: 其它图片地址[使用分号分隔]
  2221. type: string
  2222. postalcode:
  2223. description: 邮政编码
  2224. type: string
  2225. provinceid:
  2226. description: 省
  2227. type: integer
  2228. proxystatementurl:
  2229. description: 授权委托书
  2230. type: string
  2231. qq:
  2232. description: QQ(加密存储
  2233. type: string
  2234. referral:
  2235. description: 推荐人编码
  2236. type: string
  2237. remark:
  2238. description: 备注
  2239. type: string
  2240. removebeforestatus:
  2241. description: REMOVEBEFORESTATUS
  2242. type: integer
  2243. sex:
  2244. description: 性别 - 0:女 1:男
  2245. type: integer
  2246. signedstatus:
  2247. description: 账户一号签签约状态
  2248. type: integer
  2249. signpdfurl:
  2250. description: 签约pdf文件
  2251. type: string
  2252. subbranch:
  2253. description: 开户支行
  2254. type: string
  2255. taxpayernum:
  2256. description: 纳税人识别号
  2257. type: string
  2258. telphone:
  2259. description: 联系电话(加密存储)
  2260. type: string
  2261. userid:
  2262. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2263. type: integer
  2264. userinfotype:
  2265. description: 用户信息类型 - 1:个人 2:企业
  2266. type: integer
  2267. username:
  2268. description: 用户姓名
  2269. type: string
  2270. userstate:
  2271. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2272. type: integer
  2273. usertype:
  2274. description: 用户类型 - 1:投资者 2:机构
  2275. type: integer
  2276. videourl:
  2277. description: 视频地址
  2278. type: string
  2279. wechat:
  2280. description: 微信号 (加密存储)
  2281. type: string
  2282. required:
  2283. - userid
  2284. type: object
  2285. erms3.CustomerInfo:
  2286. properties:
  2287. accountids:
  2288. description: 资金账户ID列表
  2289. items:
  2290. type: integer
  2291. type: array
  2292. customername:
  2293. description: 名称(企业名称)
  2294. type: string
  2295. mobile:
  2296. description: 手机号码
  2297. type: string
  2298. userid:
  2299. description: 用户ID
  2300. type: integer
  2301. required:
  2302. - userid
  2303. type: object
  2304. erms3.ModifyUserInfoApplyReq:
  2305. properties:
  2306. accountid:
  2307. description: 交易系统帐号Id (加密存储)
  2308. type: integer
  2309. areacode:
  2310. description: 机构代码
  2311. type: string
  2312. areaid:
  2313. description: 机构Id
  2314. type: integer
  2315. attachment1:
  2316. description: 附件1
  2317. type: string
  2318. attachment2:
  2319. description: 附件2
  2320. type: string
  2321. attachment3:
  2322. description: 附件3
  2323. type: string
  2324. attachment4:
  2325. description: 附件4
  2326. type: string
  2327. attachment5:
  2328. description: 附件5
  2329. type: string
  2330. auditedby:
  2331. description: 审核人
  2332. type: string
  2333. auditime:
  2334. description: 审核时间
  2335. type: string
  2336. auditsrc:
  2337. description: 审核来源 - 1:管理端 2:终端
  2338. type: integer
  2339. bankaccount:
  2340. description: 银行帐号 (加密存储)
  2341. type: string
  2342. bankaccountname:
  2343. description: 收款人名称
  2344. type: string
  2345. bankcardbackphotourl:
  2346. description: 银行卡背面照地址
  2347. type: string
  2348. bankcardfrontphotourl:
  2349. description: 银行卡正面照地址
  2350. type: string
  2351. bankid:
  2352. description: 银行编码
  2353. type: string
  2354. bankname:
  2355. description: 银行名称
  2356. type: string
  2357. bankpictureurl:
  2358. description: 银行卡正面地址
  2359. type: string
  2360. biznature:
  2361. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2362. type: integer
  2363. bizscope:
  2364. description: 企业经营范围(企业)
  2365. type: string
  2366. biztype:
  2367. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2368. type: integer
  2369. brokerid:
  2370. description: 经纪人ID(加密存储)
  2371. type: string
  2372. cardaddress:
  2373. description: 证件地址 (加密存储)
  2374. type: string
  2375. cardbackphotourl:
  2376. description: 背面证件照地址
  2377. type: string
  2378. cardfrontphotourl:
  2379. description: 正面证件照地址
  2380. type: string
  2381. cardnum:
  2382. description: 证件号码 (加密存储)
  2383. type: string
  2384. cardtype:
  2385. description: 证件类型
  2386. type: integer
  2387. cityid:
  2388. description: 市
  2389. type: integer
  2390. company:
  2391. description: 公司(个人)
  2392. type: string
  2393. contactcardbackphotourl:
  2394. description: 联系人证件背面图片地址
  2395. type: string
  2396. contactcardfrontphotourl:
  2397. description: 联系人证件正面图片地址
  2398. type: string
  2399. contactname:
  2400. description: 联系人
  2401. type: string
  2402. countryid:
  2403. description: 国家
  2404. type: integer
  2405. createtime:
  2406. description: 开户申请时间
  2407. type: string
  2408. cusbankid:
  2409. description: 签约类型
  2410. type: string
  2411. cusbankname:
  2412. description: 签约类型名称
  2413. type: string
  2414. customername:
  2415. description: 客户名称(企业名称)
  2416. type: string
  2417. districtid:
  2418. description: 地区
  2419. type: integer
  2420. email:
  2421. description: Email地址(加密存储)
  2422. type: string
  2423. halfbodyphotourl:
  2424. description: 半身照地址
  2425. type: string
  2426. headurl:
  2427. description: 头像地址
  2428. type: string
  2429. ipaddress:
  2430. description: IP地址
  2431. type: string
  2432. isvalidate:
  2433. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2434. type: string
  2435. legalcardbackphotourl:
  2436. description: 法人身份证背面照地址
  2437. type: string
  2438. legalcardfrontphotourl:
  2439. description: 法人身份证正面照地址
  2440. type: string
  2441. legalpersonname:
  2442. description: 法人姓名(企业)
  2443. type: string
  2444. logincode:
  2445. description: 登录帐号 (加密存储)
  2446. type: string
  2447. memberareaid:
  2448. description: 所属会员ID
  2449. type: integer
  2450. mobile2:
  2451. description: 手机号码[明文-尚志]
  2452. type: string
  2453. mobilephone:
  2454. description: 手机号码 (加密存储)
  2455. type: string
  2456. modifiedby:
  2457. description: 修改人帐号
  2458. type: integer
  2459. modifiedtime:
  2460. description: 修改时间
  2461. type: string
  2462. nickname:
  2463. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2464. type: string
  2465. openmode:
  2466. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2467. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2468. type: integer
  2469. otherurl:
  2470. description: 其它图片地址[使用分号分隔]
  2471. type: string
  2472. postalcode:
  2473. description: 邮政编码
  2474. type: string
  2475. provinceid:
  2476. description: 省
  2477. type: integer
  2478. proxystatementurl:
  2479. description: 授权委托书
  2480. type: string
  2481. qq:
  2482. description: QQ(加密存储
  2483. type: string
  2484. referral:
  2485. description: 推荐人编码
  2486. type: string
  2487. remark:
  2488. description: 备注
  2489. type: string
  2490. removebeforestatus:
  2491. description: REMOVEBEFORESTATUS
  2492. type: integer
  2493. sex:
  2494. description: 性别 - 0:女 1:男
  2495. type: integer
  2496. signedstatus:
  2497. description: 账户一号签签约状态
  2498. type: integer
  2499. signpdfurl:
  2500. description: 签约pdf文件
  2501. type: string
  2502. subbranch:
  2503. description: 开户支行
  2504. type: string
  2505. taxpayernum:
  2506. description: 纳税人识别号
  2507. type: string
  2508. telphone:
  2509. description: 联系电话(加密存储)
  2510. type: string
  2511. userid:
  2512. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2513. type: integer
  2514. userinfotype:
  2515. description: 用户信息类型 - 1:个人 2:企业
  2516. type: integer
  2517. username:
  2518. description: 用户姓名
  2519. type: string
  2520. userstate:
  2521. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2522. type: integer
  2523. usertype:
  2524. description: 用户类型 - 1:投资者 2:机构
  2525. type: integer
  2526. videourl:
  2527. description: 视频地址
  2528. type: string
  2529. wechat:
  2530. description: 微信号 (加密存储)
  2531. type: string
  2532. required:
  2533. - userid
  2534. type: object
  2535. erms3.QryAuditContractRsp:
  2536. properties:
  2537. accountid:
  2538. description: 交易员ID
  2539. type: string
  2540. applystatus:
  2541. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2542. type: integer
  2543. curdeliveryqty:
  2544. description: 未交收量
  2545. type: integer
  2546. customername:
  2547. description: 采购方ID
  2548. type: string
  2549. deliverygoodsid:
  2550. description: 品种ID
  2551. type: string
  2552. deliveryqty:
  2553. description: 交收量
  2554. type: integer
  2555. enumdicname:
  2556. description: 单位名称
  2557. type: string
  2558. matchaccountid:
  2559. description: 业务员ID
  2560. type: string
  2561. matchcustomername:
  2562. description: 销售方ID
  2563. type: string
  2564. pricedqty:
  2565. description: 定价量
  2566. type: number
  2567. signdate:
  2568. description: 签订日期
  2569. type: string
  2570. spotcontractid:
  2571. description: 合同ID
  2572. type: string
  2573. totaldqty:
  2574. description: 合同量
  2575. type: number
  2576. unpricedqty:
  2577. description: 未定价量
  2578. type: number
  2579. wrstandardname:
  2580. description: 商品名称
  2581. type: string
  2582. required:
  2583. - matchcustomername
  2584. - spotcontractid
  2585. type: object
  2586. erms3.QryPendingBizRsp:
  2587. $ref: '#/definitions/models.PendingAuditBizModel'
  2588. erms3.QueryBusinessInfoRsp:
  2589. properties:
  2590. businessid:
  2591. description: 业务ID.
  2592. type: integer
  2593. buyamount:
  2594. description: 采购额.
  2595. type: number
  2596. buyqty:
  2597. description: 采购量.
  2598. type: string
  2599. futurepl:
  2600. description: 期货盈亏.
  2601. type: number
  2602. futureqty:
  2603. description: 期货敞口.
  2604. type: string
  2605. goodsid:
  2606. description: 商品名称/商品代码.
  2607. type: string
  2608. hedgingqty:
  2609. description: 套保量.
  2610. type: string
  2611. sellamount:
  2612. description: 销售额.
  2613. type: number
  2614. sellqty:
  2615. description: 销售量.
  2616. type: string
  2617. spotmarketvalue:
  2618. description: 现货市值.
  2619. type: number
  2620. spotpl:
  2621. description: 浮动权益.
  2622. type: number
  2623. spotqty:
  2624. description: 现货量.
  2625. type: string
  2626. statu:
  2627. description: 状态,0-未结束 1-已结束.
  2628. type: integer
  2629. totalpl:
  2630. description: 总盈亏.
  2631. type: number
  2632. totalqty:
  2633. description: 总敞口.
  2634. type: string
  2635. type:
  2636. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2637. type: integer
  2638. type: object
  2639. erms3.QuerySpotContractAppleFormRsp:
  2640. properties:
  2641. goodses:
  2642. description: 合约列表
  2643. items:
  2644. $ref: '#/definitions/models.GoodsIDAndName'
  2645. type: array
  2646. oppositeusers:
  2647. description: 对方账号列表
  2648. items:
  2649. $ref: '#/definitions/erms3.CustomerInfo'
  2650. type: array
  2651. ouruser:
  2652. $ref: '#/definitions/erms3.CustomerInfo'
  2653. description: 我方账号
  2654. type: object
  2655. warehouseinfos:
  2656. description: 仓库信息列表
  2657. items:
  2658. $ref: '#/definitions/models.Warehouseinfo'
  2659. type: array
  2660. wrstandards:
  2661. description: 仓单标准列表
  2662. items:
  2663. $ref: '#/definitions/models.WRStandardInfo'
  2664. type: array
  2665. type: object
  2666. erms3.QuerySpotContractInfoRsp:
  2667. properties:
  2668. accountid:
  2669. description: 表示交易员ID.
  2670. type: integer
  2671. curdeliveryqty:
  2672. description: 表示未交收量.
  2673. type: number
  2674. customername:
  2675. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2676. type: string
  2677. deliverygoodsid:
  2678. description: 表示品种ID.
  2679. type: string
  2680. deliveryqty:
  2681. description: 表示交收量.
  2682. type: number
  2683. matchaccountid:
  2684. description: 表示业务员ID.
  2685. type: integer
  2686. matchcustomername:
  2687. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2688. type: string
  2689. priceqty:
  2690. description: 表示定价量.
  2691. type: number
  2692. relatedbizid:
  2693. description: 表示业务ID.
  2694. type: string
  2695. signdate:
  2696. description: 表示签订日期.
  2697. type: string
  2698. spotcontractid:
  2699. description: 合同ID
  2700. type: string
  2701. status:
  2702. description: 表示状态,0-履约中 1-已完成.
  2703. type: integer
  2704. totalqty:
  2705. description: 表示合同量.
  2706. type: number
  2707. unpricedqty:
  2708. description: 表示未定价量.
  2709. type: number
  2710. wrstandardname:
  2711. description: 表示商品ID.
  2712. type: string
  2713. type: object
  2714. erms3.QueryUserInfoAppliesRsp:
  2715. properties:
  2716. biznature:
  2717. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2718. type: integer
  2719. contactname:
  2720. description: 联系人
  2721. type: string
  2722. createtime:
  2723. description: 开户申请时间
  2724. type: string
  2725. userid:
  2726. description: 用户ID(自增ID)
  2727. type: integer
  2728. userinfotype:
  2729. description: 用户信息类型 - 1:个人 2:企业
  2730. type: integer
  2731. username:
  2732. description: 用户姓名
  2733. type: string
  2734. userstate:
  2735. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2736. type: integer
  2737. required:
  2738. - userid
  2739. type: object
  2740. erms3.QueryUserInfosRsp:
  2741. properties:
  2742. biznature:
  2743. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2744. type: integer
  2745. contactname:
  2746. description: 联系人
  2747. type: string
  2748. customername:
  2749. description: 客户名称(企业名称)
  2750. type: string
  2751. userid:
  2752. description: 用户ID
  2753. type: integer
  2754. userinfotype:
  2755. description: 用户信息类型 - 1:个人 2:企业
  2756. type: integer
  2757. userstatus:
  2758. description: 用户状态 - 1:正常 2:注销
  2759. type: integer
  2760. required:
  2761. - userid
  2762. type: object
  2763. erms3.SoptContractDetail:
  2764. properties:
  2765. deliverygoodsdesc:
  2766. description: 现货品种说明
  2767. type: string
  2768. deliverygoodsid:
  2769. description: 现货品种ID
  2770. type: integer
  2771. deliverygoodsname:
  2772. description: 现货品种名称
  2773. type: string
  2774. pointdesc:
  2775. description: 点价描述
  2776. type: string
  2777. producttype:
  2778. description: 产品类型 1:标准仓单 2:等标 3:非标
  2779. type: integer
  2780. producttypename:
  2781. description: 产品类型名称
  2782. type: string
  2783. spotPointOrderVoList:
  2784. description: 点价列表
  2785. items:
  2786. $ref: '#/definitions/erms3.SpotPointOrder'
  2787. type: array
  2788. spotPriceOrderList:
  2789. description: 定价列表
  2790. items:
  2791. $ref: '#/definitions/erms3.SpotPriceOrder'
  2792. type: array
  2793. unitname:
  2794. description: 单位名称
  2795. type: string
  2796. warehouseid:
  2797. description: 仓库ID
  2798. type: integer
  2799. warehousename:
  2800. description: 仓库名称
  2801. type: string
  2802. wrstandardid:
  2803. description: 交易标的ID
  2804. type: integer
  2805. wrstandardname:
  2806. description: 交易标的名称
  2807. type: string
  2808. required:
  2809. - deliverygoodsid
  2810. - producttype
  2811. - unitname
  2812. - warehouseid
  2813. - wrstandardid
  2814. - wrstandardname
  2815. type: object
  2816. erms3.SpotPointOrder:
  2817. properties:
  2818. basic:
  2819. description: 基差
  2820. type: number
  2821. deliveryenddate:
  2822. description: 交收结束日期
  2823. type: string
  2824. deliverystartdate:
  2825. description: 交收开始日期
  2826. type: string
  2827. enddate:
  2828. description: 点价结束日期
  2829. type: string
  2830. goodsid:
  2831. description: 商品ID
  2832. type: integer
  2833. goodsname:
  2834. description: 商品名称
  2835. type: string
  2836. qty:
  2837. description: 数量
  2838. type: number
  2839. startdate:
  2840. description: 点价开始日期
  2841. type: string
  2842. required:
  2843. - basic
  2844. - goodsid
  2845. - qty
  2846. type: object
  2847. erms3.SpotPriceOrder:
  2848. properties:
  2849. amount:
  2850. description: 金额
  2851. type: number
  2852. deliveryenddate:
  2853. description: 交收结束日期
  2854. type: string
  2855. deliverystartdate:
  2856. description: 交收开始日期
  2857. type: string
  2858. price:
  2859. description: 价格
  2860. type: number
  2861. qty:
  2862. description: 数量
  2863. type: number
  2864. required:
  2865. - amount
  2866. - price
  2867. - qty
  2868. type: object
  2869. hsby.GetHsbyMyCountRsp:
  2870. properties:
  2871. myCouponCount:
  2872. description: 我的优惠卷数量
  2873. type: integer
  2874. myOrderDetailListingCount:
  2875. description: 我的订单求购中数量
  2876. type: integer
  2877. myOrderDetailPreCount:
  2878. description: 我的订单抢购中数量
  2879. type: integer
  2880. myPackageUnReceiveCount:
  2881. description: 我的包裹待收货数量
  2882. type: integer
  2883. myPackageUnSendCount:
  2884. description: 我的包裹待发货数量
  2885. type: integer
  2886. myPayOrderCount:
  2887. description: 我的订单待付款数量
  2888. type: integer
  2889. type: object
  2890. hsby.QueryProvincesAndCitiesRsp:
  2891. properties:
  2892. cities:
  2893. description: 市
  2894. items:
  2895. $ref: '#/definitions/models.Division'
  2896. type: array
  2897. province:
  2898. $ref: '#/definitions/models.Division'
  2899. description: 省
  2900. type: object
  2901. type: object
  2902. models.AreaSpotModel:
  2903. properties:
  2904. areauserid:
  2905. description: 所属机构
  2906. type: integer
  2907. decreaseqty:
  2908. description: 减少数量=-(销售已定价数量+采购计划数量)
  2909. type: number
  2910. increaseqty:
  2911. description: 增加数量=销售计划数量+采购已定价数量
  2912. type: number
  2913. oritoalspotqty:
  2914. description: 昨日数量
  2915. type: number
  2916. totalspotqty:
  2917. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2918. type: number
  2919. updatetime:
  2920. description: 更新时间
  2921. type: string
  2922. wrstandardcode:
  2923. description: 现货品种代码
  2924. type: string
  2925. wrstandardid:
  2926. description: 现货商品ID
  2927. type: integer
  2928. wrstandardname:
  2929. description: 现货品种
  2930. type: string
  2931. type: object
  2932. models.Arearole:
  2933. properties:
  2934. createtime:
  2935. description: 创建时间
  2936. type: string
  2937. creatorid:
  2938. description: 创建人ID
  2939. type: integer
  2940. isreturnscore:
  2941. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2942. type: integer
  2943. modifierid:
  2944. description: 修改人ID
  2945. type: integer
  2946. modifytime:
  2947. description: 修改时间
  2948. type: string
  2949. orgtype:
  2950. description: 组织机构类型 1:机构 2:交易员
  2951. type: integer
  2952. outuserid:
  2953. description: 外部账户[场外期权做市商]
  2954. type: string
  2955. parentuserid:
  2956. description: 上级组织机构(组织机构)
  2957. type: integer
  2958. roletype:
  2959. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2960. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2961. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员
  2962. type: integer
  2963. rootuserid:
  2964. description: 顶级组织机构用户ID(组织机构)
  2965. type: integer
  2966. shoppassword:
  2967. description: 商城店铺登陆密码(商城店铺角色使用)
  2968. type: string
  2969. sublevelpath:
  2970. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2971. type: string
  2972. tradeaccountid:
  2973. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2974. type: integer
  2975. transurl:
  2976. description: 物流地址(物流机构)
  2977. type: string
  2978. userid:
  2979. description: 机构用户ID其他做市关系,都设置为 1
  2980. type: integer
  2981. required:
  2982. - roletype
  2983. - userid
  2984. type: object
  2985. models.Clientfixedadconfig:
  2986. properties:
  2987. adsort:
  2988. description: 排序
  2989. type: integer
  2990. adtype:
  2991. description: 广告位类型 - 1:新品抢购(HSBY)
  2992. type: integer
  2993. areauserid:
  2994. description: 所属机构ID
  2995. type: integer
  2996. createdate:
  2997. description: 创建时间
  2998. type: string
  2999. creatorid:
  3000. description: 创建人
  3001. type: integer
  3002. imagepath:
  3003. description: 图片
  3004. type: string
  3005. isshow:
  3006. description: 是否展示 - 0:不展示 1:展示
  3007. type: integer
  3008. modifierid:
  3009. description: 操作人
  3010. type: integer
  3011. recsize:
  3012. description: 推荐尺寸
  3013. type: string
  3014. title:
  3015. description: 标题
  3016. type: string
  3017. updatedate:
  3018. description: 更新时间
  3019. type: string
  3020. urlcontent:
  3021. description: 链接(地址或商品ID)
  3022. type: string
  3023. urltype:
  3024. description: 链接类型 - 1:直接地址 2:商品ID
  3025. type: integer
  3026. required:
  3027. - adsort
  3028. - adtype
  3029. type: object
  3030. models.Division:
  3031. properties:
  3032. autoid:
  3033. description: 自增ID
  3034. type: integer
  3035. divisioncode:
  3036. description: 行政代码
  3037. type: string
  3038. divisionlevel:
  3039. description: 行政级别
  3040. type: string
  3041. divisionname:
  3042. description: 行政名称
  3043. type: string
  3044. modifierid:
  3045. description: 修改人
  3046. type: integer
  3047. modifytime:
  3048. description: 修改时间
  3049. type: string
  3050. parentcode:
  3051. description: 上级行政代码
  3052. type: string
  3053. pathname:
  3054. description: 路径名称
  3055. type: string
  3056. postcode:
  3057. description: 邮政编码
  3058. type: string
  3059. separablename:
  3060. description: 可拆分的全称
  3061. type: string
  3062. shortcode:
  3063. description: 地区简码
  3064. type: string
  3065. required:
  3066. - autoid
  3067. - divisioncode
  3068. type: object
  3069. models.Enumdicitem:
  3070. properties:
  3071. autoid:
  3072. description: 自增ID
  3073. type: integer
  3074. bankmappedvalue:
  3075. description: 银行服务对应值
  3076. type: string
  3077. enumdiccode:
  3078. description: 所属枚举代码
  3079. type: string
  3080. enumdicid:
  3081. description: 所属枚举ID
  3082. type: integer
  3083. enumdicname:
  3084. description: 枚举项名称
  3085. type: string
  3086. enumitemname:
  3087. description: 枚举项值
  3088. type: integer
  3089. enumitemstatus:
  3090. description: 枚举项状态 - 1.启用 2.不启用
  3091. type: integer
  3092. enumitemvalue:
  3093. description: 通用值 - [币种通用简写]
  3094. type: string
  3095. param1:
  3096. description: 参数1[币种:币种小数位]
  3097. type: string
  3098. param2:
  3099. description: 参数1[币种:币种显示单位]
  3100. type: string
  3101. remark:
  3102. description: 备注
  3103. type: string
  3104. required:
  3105. - autoid
  3106. - enumdiccode
  3107. - enumdicid
  3108. - enumitemname
  3109. type: object
  3110. models.Ermcp3AreaSpot:
  3111. properties:
  3112. areauserid:
  3113. description: 所属机构
  3114. type: integer
  3115. decreaseqty:
  3116. description: 减少数量=-(销售已定价数量+采购计划数量)
  3117. type: number
  3118. deliverygoodscode:
  3119. description: 现货品种代码
  3120. type: string
  3121. deliverygoodsid:
  3122. description: 现货品种id
  3123. type: integer
  3124. deliverygoodsname:
  3125. description: 现货品种名称
  3126. type: string
  3127. enumdicname:
  3128. description: 单位名称
  3129. type: string
  3130. goodsunitid:
  3131. description: 现货品种单位id
  3132. type: integer
  3133. increaseqty:
  3134. description: 增加数量=销售计划数量+采购已定价数量
  3135. type: number
  3136. oritoalspotqty:
  3137. description: 昨日数量
  3138. type: number
  3139. totalspotqty:
  3140. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3141. type: number
  3142. updatetime:
  3143. description: 更新时间
  3144. type: string
  3145. type: object
  3146. models.Ermcp3AreaSpotDetail:
  3147. properties:
  3148. contracttype:
  3149. description: 合同类型 1-采购 -1-销售
  3150. type: integer
  3151. createtime:
  3152. description: 创建时间
  3153. type: string
  3154. deliverygoodscode:
  3155. description: 现货品种代码
  3156. type: string
  3157. deliverygoodsid:
  3158. description: 现货品种id
  3159. type: integer
  3160. deliverygoodsname:
  3161. description: 现货品种名称
  3162. type: string
  3163. enumdicname:
  3164. description: 现货商品单位名称
  3165. type: string
  3166. logtype:
  3167. description: 记录类型 1-套保 2-现货合同
  3168. type: integer
  3169. qty:
  3170. description: 数量
  3171. type: number
  3172. recordname:
  3173. description: 类型名称
  3174. type: string
  3175. relatedid:
  3176. description: 套保计划ID/现货合同ID
  3177. type: string
  3178. relatedno:
  3179. description: 编号
  3180. type: string
  3181. strtime:
  3182. description: 时间
  3183. type: string
  3184. type: object
  3185. models.Ermcp3AreaSpotPLReport:
  3186. properties:
  3187. accountid:
  3188. description: 期货账户ID (作废, 默认为0)
  3189. type: integer
  3190. accountname:
  3191. description: 机构名称
  3192. type: string
  3193. actualpl:
  3194. description: 现货损益
  3195. type: number
  3196. areauserid:
  3197. description: 所属机构\交易用户ID
  3198. type: integer
  3199. biztype:
  3200. description: 业务类型 - 1:套保 2:套利
  3201. type: integer
  3202. brandname:
  3203. description: 品牌名称
  3204. type: string
  3205. curamount:
  3206. description: 期末额
  3207. type: number
  3208. curaverageprice:
  3209. description: 期末均价
  3210. type: number
  3211. curbuyamount:
  3212. description: 期末采购总额
  3213. type: number
  3214. curbuyqty:
  3215. description: 期末采购总量
  3216. type: number
  3217. curmarketvalue:
  3218. description: 参考市值(期末市值)
  3219. type: number
  3220. curqty:
  3221. description: 期末量
  3222. type: number
  3223. currencyid:
  3224. description: 结算币种ID【原值】
  3225. type: integer
  3226. currencyname:
  3227. description: 币种名称
  3228. type: string
  3229. cursellamount:
  3230. description: 期末销售总额
  3231. type: number
  3232. cursellqty:
  3233. description: 期末销售总量
  3234. type: number
  3235. curspotprice:
  3236. description: 参考市价(最新价)
  3237. type: number
  3238. cycletime:
  3239. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3240. type: string
  3241. cycletype:
  3242. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3243. type: integer
  3244. deliverygoodscode:
  3245. description: 现货商品代码
  3246. type: string
  3247. deliverygoodsid:
  3248. description: 现货品种ID
  3249. type: integer
  3250. deliverygoodsname:
  3251. description: 现货商品名称
  3252. type: string
  3253. enumdicname:
  3254. description: 现货商品单位名称
  3255. type: string
  3256. floatpl:
  3257. description: 浮动损益
  3258. type: number
  3259. goodsunitid:
  3260. description: 现货商品单位id
  3261. type: integer
  3262. oriamount:
  3263. description: 期初额
  3264. type: number
  3265. oriaverageprice:
  3266. description: 期初均价
  3267. type: number
  3268. oribuyamount:
  3269. description: 期初采购总额
  3270. type: number
  3271. oribuyqty:
  3272. description: 期初采购总量
  3273. type: number
  3274. oriqty:
  3275. description: 期初量
  3276. type: number
  3277. orisellamount:
  3278. description: 期初销售总额
  3279. type: number
  3280. orisellqty:
  3281. description: 期初销售总量
  3282. type: number
  3283. reckondate:
  3284. description: 日照时期(yyyyMMdd)
  3285. type: string
  3286. spotgoodsbrandid:
  3287. description: 现货品牌ID
  3288. type: integer
  3289. todaybuyamount:
  3290. description: 今日采购额(今采购额)
  3291. type: number
  3292. todaybuyaverageprice:
  3293. description: 今日采购均价
  3294. type: number
  3295. todaybuyqty:
  3296. description: 今日采购量(今采购量)
  3297. type: number
  3298. todayinqty:
  3299. description: 今日入库量(今入库量)
  3300. type: number
  3301. todayoutqty:
  3302. description: 今日出库量(今出库量)
  3303. type: number
  3304. todaysellamount:
  3305. description: 今日销售额(今销售额)
  3306. type: number
  3307. todaysellaverageprice:
  3308. description: 今日销售均价
  3309. type: number
  3310. todaysellqty:
  3311. description: 今日销售量(今销售量)
  3312. type: number
  3313. unitid:
  3314. description: 品类单位id
  3315. type: integer
  3316. unitidname:
  3317. description: 品类单位名称
  3318. type: string
  3319. updatetime:
  3320. description: 更新时间
  3321. type: string
  3322. wrfactortypeid:
  3323. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3324. type: integer
  3325. wrstandardcode:
  3326. description: 品类代码
  3327. type: string
  3328. wrstandardid:
  3329. description: 现货品类ID
  3330. type: integer
  3331. wrstandardname:
  3332. description: 品类名称
  3333. type: string
  3334. type: object
  3335. models.Ermcp3AreaStock:
  3336. properties:
  3337. brandname:
  3338. description: 品牌名称
  3339. type: string
  3340. curstock:
  3341. description: 期末库存量(今日量)
  3342. type: number
  3343. deliverygoodscode:
  3344. description: 现货品种代码
  3345. type: string
  3346. deliverygoodsid:
  3347. description: 现货品种id
  3348. type: integer
  3349. deliverygoodsname:
  3350. description: 现货品种名称
  3351. type: string
  3352. enumdicname:
  3353. description: 单位名称
  3354. type: string
  3355. goodsunitid:
  3356. description: 现货商品单位id
  3357. type: integer
  3358. oristock:
  3359. description: 期初库存量(昨日量)
  3360. type: number
  3361. spotgoodsbrandid:
  3362. description: 现货品牌ID
  3363. type: integer
  3364. todaybuyinqty:
  3365. description: 今日采购入库量
  3366. type: number
  3367. todayproduceinqty:
  3368. description: 今日生产入库量
  3369. type: number
  3370. todayproduceoutqty:
  3371. description: 今日生产出库量
  3372. type: number
  3373. todayselloutqty:
  3374. description: 今日销售出库量
  3375. type: number
  3376. unitid:
  3377. description: 单位id
  3378. type: integer
  3379. updatetime:
  3380. description: 更新时间
  3381. type: string
  3382. userid:
  3383. description: 机构ID
  3384. type: integer
  3385. username:
  3386. description: 机构名称
  3387. type: string
  3388. warehousecode:
  3389. description: 仓库代码
  3390. type: string
  3391. warehouseinfoid:
  3392. description: 仓库ID
  3393. type: string
  3394. warehousename:
  3395. description: 仓库名称
  3396. type: string
  3397. warehousetype:
  3398. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3399. type: integer
  3400. wrstandardcode:
  3401. description: 品类代码
  3402. type: string
  3403. wrstandardid:
  3404. description: 品类ID
  3405. type: string
  3406. wrstandardname:
  3407. description: 品类名称
  3408. type: string
  3409. required:
  3410. - userid
  3411. type: object
  3412. models.Ermcp3AreaStockApply:
  3413. properties:
  3414. applyid:
  3415. description: 申请人
  3416. type: integer
  3417. applyname:
  3418. description: 申请人名称
  3419. type: string
  3420. applyremark:
  3421. description: 申请备注
  3422. type: string
  3423. applysrc:
  3424. description: 申请来源 - 1:管理端 2:终端
  3425. type: integer
  3426. applystatus:
  3427. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3428. type: integer
  3429. applytime:
  3430. description: 申请时间
  3431. type: string
  3432. auditid:
  3433. description: 审核人
  3434. type: integer
  3435. auditname:
  3436. description: 审核人名称
  3437. type: string
  3438. auditremark:
  3439. description: 审核备注
  3440. type: string
  3441. auditsrc:
  3442. description: 审核来源 - 1:管理端 2:终端
  3443. type: integer
  3444. audittime:
  3445. description: 审核时间
  3446. type: string
  3447. audittradedate:
  3448. description: 审核交易日(yyyyMMdd)
  3449. type: string
  3450. brandname:
  3451. description: 品牌名称
  3452. type: string
  3453. buynickname:
  3454. description: 采购方昵称
  3455. type: string
  3456. buyuserid:
  3457. description: 采购方userid
  3458. type: integer
  3459. buyusername:
  3460. description: 采购方名称
  3461. type: string
  3462. contractno:
  3463. description: 合同编号
  3464. type: string
  3465. contractqty:
  3466. description: 合同量
  3467. type: number
  3468. contracttype:
  3469. description: 现货合同类型 - 1:采购 -1:销售
  3470. type: integer
  3471. deliverygoodscode:
  3472. description: 现货品种代码
  3473. type: string
  3474. deliverygoodsid:
  3475. description: 现货品种id
  3476. type: integer
  3477. deliverygoodsname:
  3478. description: 现货品种名称
  3479. type: string
  3480. detailjson:
  3481. description: 明细数据
  3482. type: string
  3483. enumdicname:
  3484. description: 现货商品单位名称
  3485. type: string
  3486. inoutapplyid:
  3487. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3488. type: string
  3489. inouttype:
  3490. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3491. type: integer
  3492. pricetype:
  3493. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3494. type: integer
  3495. qty:
  3496. description: 数量
  3497. type: number
  3498. sellnickname:
  3499. description: 销售方昵称
  3500. type: string
  3501. selluserid:
  3502. description: 销售方userid
  3503. type: integer
  3504. sellusername:
  3505. description: 销售方名称
  3506. type: string
  3507. spotcontractid:
  3508. description: 关联现货合同ID
  3509. type: string
  3510. spotgoodsbrandid:
  3511. description: 现货品牌ID
  3512. type: integer
  3513. unitid:
  3514. description: 单位id
  3515. type: integer
  3516. userid:
  3517. description: 机构ID
  3518. type: integer
  3519. warehousecode:
  3520. description: 仓库代码
  3521. type: string
  3522. warehouseinfoid:
  3523. description: 现货仓库ID
  3524. type: string
  3525. warehousename:
  3526. description: 仓库名称
  3527. type: string
  3528. warehousetype:
  3529. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3530. type: integer
  3531. wrstandardcode:
  3532. description: 品类代码
  3533. type: string
  3534. wrstandardid:
  3535. description: 品类ID
  3536. type: integer
  3537. wrstandardname:
  3538. description: 品类名称
  3539. type: string
  3540. type: object
  3541. models.Ermcp3AreaStockApplySum:
  3542. properties:
  3543. brandname:
  3544. description: 品牌名称
  3545. type: string
  3546. inouttype:
  3547. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3548. type: integer
  3549. spotcontractid:
  3550. description: 关联现货合同ID
  3551. type: string
  3552. spotgoodsbrandid:
  3553. description: 品牌id
  3554. type: integer
  3555. totalqty:
  3556. description: 总数量
  3557. type: number
  3558. wrstandardid:
  3559. description: 品类id
  3560. type: integer
  3561. wrstandardname:
  3562. description: 品类名称
  3563. type: string
  3564. type: object
  3565. models.Ermcp3AreaStockReport:
  3566. properties:
  3567. brandname:
  3568. description: 品牌名称
  3569. type: string
  3570. curstock:
  3571. description: 期末库存量
  3572. type: number
  3573. cycletime:
  3574. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3575. type: string
  3576. cycletype:
  3577. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3578. type: integer
  3579. deliverygoodscode:
  3580. description: 现货品种代码
  3581. type: string
  3582. deliverygoodsid:
  3583. description: 现货品种id
  3584. type: integer
  3585. deliverygoodsname:
  3586. description: 现货品种名称
  3587. type: string
  3588. diffqty:
  3589. description: 库存变化量 = 期末 - 期初
  3590. type: number
  3591. enumdicname:
  3592. description: 单位名称
  3593. type: string
  3594. goodsunitid:
  3595. description: 现货单位id
  3596. type: integer
  3597. oristock:
  3598. description: 期初库存量
  3599. type: number
  3600. reckondate:
  3601. description: 日照时期(yyyyMMdd)
  3602. type: string
  3603. spotgoodsbrandid:
  3604. description: 现货品牌ID
  3605. type: integer
  3606. todaybuyinqty:
  3607. description: 今采购入库量
  3608. type: number
  3609. todayproduceinqty:
  3610. description: 今内部入库量
  3611. type: number
  3612. todayproduceoutqty:
  3613. description: 今内部出库量
  3614. type: number
  3615. todayselloutqty:
  3616. description: 今销售出库量
  3617. type: number
  3618. unbuyinqty:
  3619. description: 采购未入库量(数据库未找到相关字段?)
  3620. type: number
  3621. unitid:
  3622. description: 品类单位id
  3623. type: integer
  3624. unselloutqty:
  3625. description: 销售未出库量(数据库未找到相关字段?)
  3626. type: number
  3627. updatetime:
  3628. description: 更新时间
  3629. type: string
  3630. userid:
  3631. description: 机构ID
  3632. type: integer
  3633. username:
  3634. description: 机构名称
  3635. type: string
  3636. warehousecode:
  3637. description: 仓库代码
  3638. type: string
  3639. warehouseinfoid:
  3640. description: 仓库ID
  3641. type: string
  3642. warehousename:
  3643. description: 仓库名称
  3644. type: string
  3645. warehousetype:
  3646. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3647. type: integer
  3648. wrstandardcode:
  3649. description: 品类代码
  3650. type: string
  3651. wrstandardid:
  3652. description: 品类ID
  3653. type: integer
  3654. wrstandardname:
  3655. description: 品类名称
  3656. type: string
  3657. type: object
  3658. models.Ermcp3ArealSumPL:
  3659. properties:
  3660. areauserid:
  3661. description: 所属机构\交易用户ID
  3662. type: integer
  3663. currencyid:
  3664. description: 结算币种ID
  3665. type: integer
  3666. currencyname:
  3667. description: 币种名称
  3668. type: string
  3669. cycletime:
  3670. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3671. type: string
  3672. cycletype:
  3673. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3674. type: integer
  3675. futureactualpl:
  3676. description: 期货损益
  3677. type: number
  3678. futurefloatpl:
  3679. description: 期货浮动损益
  3680. type: number
  3681. middlegoodsid:
  3682. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3683. type: integer
  3684. reckondate:
  3685. description: 日照时期(yyyyMMdd)
  3686. type: string
  3687. spotactualpl:
  3688. description: 现货损益
  3689. type: number
  3690. spotfloatpl:
  3691. description: 现货浮动损益
  3692. type: number
  3693. sumactualpl:
  3694. description: 实际损益 = (ActualPL + FutureActualPL)
  3695. type: number
  3696. sumpl:
  3697. description: 汇总损益
  3698. type: number
  3699. updatetime:
  3700. description: 更新时间
  3701. type: string
  3702. type: object
  3703. models.Ermcp3Brand:
  3704. properties:
  3705. areauserid:
  3706. description: 用户id
  3707. type: integer
  3708. brandid:
  3709. description: 品牌id
  3710. type: integer
  3711. brandname:
  3712. description: 品牌名称
  3713. type: string
  3714. deliverygoodsid:
  3715. description: 品种ID
  3716. type: integer
  3717. type: object
  3718. models.Ermcp3Contract:
  3719. properties:
  3720. accountid:
  3721. description: 期货账户id
  3722. type: string
  3723. amount:
  3724. description: 金额 [1:一口价、3:暂定价]
  3725. type: number
  3726. attachment:
  3727. description: 附件
  3728. type: string
  3729. auditremark:
  3730. description: 审核意见
  3731. type: string
  3732. audittime:
  3733. description: 审核时间
  3734. type: string
  3735. biztype:
  3736. description: 业务类型 1-套保 2-套利
  3737. type: integer
  3738. brandname:
  3739. description: 品牌名称
  3740. type: string
  3741. buynickname:
  3742. description: 销售方昵称
  3743. type: string
  3744. buyuserid:
  3745. description: 采购方ID
  3746. type: integer
  3747. buyusername:
  3748. description: 采购方名称
  3749. type: string
  3750. contracctstatus:
  3751. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3752. type: integer
  3753. contractmargin:
  3754. description: 合同保证金
  3755. type: number
  3756. contractno:
  3757. description: 现货合同编号
  3758. type: string
  3759. contracttype:
  3760. description: 现货合同类型 - 1:采购 -1:销售
  3761. type: integer
  3762. convertfactor:
  3763. description: 标仓系数(品类)
  3764. type: number
  3765. createtime:
  3766. description: 创建时间
  3767. type: string
  3768. currencyid:
  3769. description: 币种id
  3770. type: integer
  3771. currencyname:
  3772. description: 币种名称
  3773. type: string
  3774. deliveryenddate:
  3775. description: 交收期(结束)
  3776. type: string
  3777. deliverygoodscode:
  3778. description: 现货品种代码
  3779. type: string
  3780. deliverygoodsid:
  3781. description: 现货品种ID
  3782. type: integer
  3783. deliverygoodsname:
  3784. description: 现货品种名称
  3785. type: string
  3786. deliverystartdate:
  3787. description: 交收期(开始)
  3788. type: string
  3789. enddate:
  3790. description: 点价结束日期 [2:点价 3:暂定价]
  3791. type: string
  3792. enumdicname:
  3793. description: 单位名称
  3794. type: string
  3795. goodscode:
  3796. description: 点价合约代码
  3797. type: string
  3798. goodsid:
  3799. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3800. type: integer
  3801. goodsname:
  3802. description: 点价商品名称
  3803. type: string
  3804. margin:
  3805. description: 当前保证金
  3806. type: number
  3807. meruserid:
  3808. description: 跟单员id
  3809. type: integer
  3810. meruserlogincode:
  3811. description: 跟单员登录代码
  3812. type: string
  3813. price:
  3814. description: 价格\暂定价 [1:一口价、3:暂定价]
  3815. type: number
  3816. pricemove:
  3817. description: 升贴水 [2:点价 3:暂定价]
  3818. type: number
  3819. pricetype:
  3820. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3821. type: integer
  3822. producttype:
  3823. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3824. type: integer
  3825. qty:
  3826. description: 数量
  3827. type: number
  3828. remark:
  3829. description: 备注
  3830. type: string
  3831. saleuserid:
  3832. description: 业务员id
  3833. type: integer
  3834. saleuserlogincode:
  3835. description: 业务员登录代码
  3836. type: string
  3837. sellnickname:
  3838. description: 采购方昵称
  3839. type: string
  3840. selluserid:
  3841. description: 销售方ID
  3842. type: integer
  3843. sellusername:
  3844. description: 销售方名称
  3845. type: string
  3846. spotcontractid:
  3847. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3848. type: string
  3849. spotgoodsbrandid:
  3850. description: 现货品牌ID(DGFactoryItem表的ID)
  3851. type: integer
  3852. spotgoodsdesc:
  3853. description: 商品型号
  3854. type: string
  3855. startdate:
  3856. description: 点价开始日期 [2:点价 3:暂定价]
  3857. type: string
  3858. tradeuserid:
  3859. description: 交易员id
  3860. type: integer
  3861. tradeuserlogincode:
  3862. description: 交易员登录代码
  3863. type: string
  3864. tradeusername:
  3865. description: 交易员名称
  3866. type: string
  3867. unitid:
  3868. description: 单位id(取品类上的单位id)
  3869. type: integer
  3870. updatetime:
  3871. description: 更新时间
  3872. type: string
  3873. userid:
  3874. description: 所属机构ID
  3875. type: integer
  3876. wrstandardcode:
  3877. description: 品类代码
  3878. type: string
  3879. wrstandardid:
  3880. description: 品类ID
  3881. type: integer
  3882. wrstandardname:
  3883. description: 品类名称
  3884. type: string
  3885. type: object
  3886. models.Ermcp3ExposureContractDetail:
  3887. properties:
  3888. biztype:
  3889. description: 业务类型 1-套保 2-套利
  3890. type: integer
  3891. brandname:
  3892. description: 品牌名称
  3893. type: string
  3894. buyuserid:
  3895. description: 采购方id
  3896. type: integer
  3897. buyusername:
  3898. description: 采购方名称
  3899. type: string
  3900. contractno:
  3901. description: 合同编号
  3902. type: string
  3903. contracttype:
  3904. description: 现货合同类型 - 1:采购 -1:销售
  3905. type: integer
  3906. convertratio:
  3907. description: 折算系数(套保品种)
  3908. type: number
  3909. curqty:
  3910. description: 今定价量
  3911. type: number
  3912. deliverygoodscode:
  3913. description: 现货商品代码
  3914. type: string
  3915. deliverygoodsid:
  3916. description: 现货商品id
  3917. type: integer
  3918. deliverygoodsname:
  3919. description: 现货商品名称
  3920. type: string
  3921. diffqty:
  3922. description: 套保品种今变动量
  3923. type: number
  3924. enumdicname:
  3925. description: 单位名称
  3926. type: string
  3927. middlegoodscode:
  3928. description: 套保品种代码
  3929. type: string
  3930. middlegoodsid:
  3931. description: 套保品种id
  3932. type: integer
  3933. middlegoodsname:
  3934. description: 套保品种名称
  3935. type: string
  3936. needarbitrageratio:
  3937. description: 应套利比例
  3938. type: number
  3939. needhedgeratio:
  3940. description: 应套保比例
  3941. type: number
  3942. pricedqty:
  3943. description: 已定价量
  3944. type: number
  3945. qty:
  3946. description: 合同量
  3947. type: number
  3948. selluserid:
  3949. description: 销售方id
  3950. type: integer
  3951. sellusername:
  3952. description: 销售方名称
  3953. type: string
  3954. spotcontractid:
  3955. description: 合同id
  3956. type: string
  3957. tradedate:
  3958. description: 交易日
  3959. type: string
  3960. unitid:
  3961. description: 品类单位id
  3962. type: integer
  3963. userid:
  3964. description: 机构id
  3965. type: integer
  3966. wrstandardcode:
  3967. description: 品类代码
  3968. type: string
  3969. wrstandardid:
  3970. description: 品类id
  3971. type: integer
  3972. wrstandardname:
  3973. description: 品类名称
  3974. type: string
  3975. type: object
  3976. models.Ermcp3ExposureDetail:
  3977. properties:
  3978. areauserid:
  3979. description: 机构ID
  3980. type: integer
  3981. changeQty:
  3982. description: 套保变动量
  3983. type: number
  3984. contracttype:
  3985. description: 现货合同类型 - 1:采购 -1:销售
  3986. type: integer
  3987. convertfactor:
  3988. description: 标仓系数
  3989. type: number
  3990. convertratio:
  3991. description: 套保系数
  3992. type: number
  3993. createtime:
  3994. description: 时间
  3995. type: string
  3996. deliverygoodscode:
  3997. description: 现货品种代码
  3998. type: string
  3999. deliverygoodsid:
  4000. description: 现货品种id
  4001. type: integer
  4002. deliverygoodsname:
  4003. description: 现货品种名称
  4004. type: string
  4005. enumdicname:
  4006. description: 现货商品单位名称
  4007. type: string
  4008. logtype:
  4009. description: 类型 - 1:套保计划 2:现货合同
  4010. type: integer
  4011. mgunitid:
  4012. description: 套保品种单位id
  4013. type: integer
  4014. mgunitidname:
  4015. description: 套保品种单位名称
  4016. type: string
  4017. middlegoodsId:
  4018. description: 套保商品id
  4019. type: integer
  4020. middlegoodscode:
  4021. description: 套保商品代码
  4022. type: string
  4023. middlegoodsname:
  4024. description: 套保商品名称
  4025. type: string
  4026. qty:
  4027. description: 数量
  4028. type: number
  4029. relateNo:
  4030. description: 现货合同/套保计划编号
  4031. type: string
  4032. type: object
  4033. models.Ermcp3ExposureHedgeplanDetail:
  4034. properties:
  4035. biztype:
  4036. description: 业务类型 1-套保 2-套利
  4037. type: integer
  4038. changqty:
  4039. description: 应套保总量变化量
  4040. type: number
  4041. contracttype:
  4042. description: 计划类型 - 1:采购 -1:销售
  4043. type: integer
  4044. convertratio:
  4045. description: 折算系数(套保品种)
  4046. type: number
  4047. deliverygoodsid:
  4048. description: 现货商品id
  4049. type: integer
  4050. diffqty:
  4051. description: 套保品种今变动量
  4052. type: number
  4053. enumdicname:
  4054. description: 单位名称(品类)
  4055. type: string
  4056. hedgeplanid:
  4057. description: 套保计划id
  4058. type: string
  4059. hedgeplanno:
  4060. description: 套保计划编号
  4061. type: string
  4062. hedgeplanstatus:
  4063. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4064. type: integer
  4065. mgunitidname:
  4066. description: 单位名称(套保商品)
  4067. type: string
  4068. middlegoodscode:
  4069. description: 套保品种代码
  4070. type: string
  4071. middlegoodsid:
  4072. description: 套保品种id
  4073. type: integer
  4074. middlegoodsname:
  4075. description: 套保品种名称
  4076. type: string
  4077. needarbitrageratio:
  4078. description: 应套利比例
  4079. type: number
  4080. needhedgeratio:
  4081. description: 应套保比例
  4082. type: number
  4083. pricedqty:
  4084. description: 已定价量
  4085. type: number
  4086. qty:
  4087. description: 合同量
  4088. type: number
  4089. tradedate:
  4090. description: 交易日(登记日)
  4091. type: string
  4092. unitid:
  4093. description: 品类单位id
  4094. type: integer
  4095. userid:
  4096. description: 机构id
  4097. type: integer
  4098. wrstandardcode:
  4099. description: 品类代码
  4100. type: string
  4101. wrstandardid:
  4102. description: 品类id
  4103. type: integer
  4104. wrstandardname:
  4105. description: 品类名称
  4106. type: string
  4107. type: object
  4108. models.Ermcp3ExpourseReport:
  4109. properties:
  4110. accountid:
  4111. description: 期货账户ID (作废, 默认为0)
  4112. type: integer
  4113. accountname:
  4114. description: 机构名称
  4115. type: string
  4116. arbitrageqty:
  4117. description: 套利量
  4118. type: number
  4119. areauserid:
  4120. description: 所属机构\交易用户ID
  4121. type: integer
  4122. buyfutureqty:
  4123. description: 买入期货数量
  4124. type: number
  4125. buyplanqty:
  4126. description: 采购计划数量
  4127. type: number
  4128. buypricedqty:
  4129. description: 采购合同已定价数量
  4130. type: number
  4131. cycletime:
  4132. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4133. type: string
  4134. cycletype:
  4135. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4136. type: integer
  4137. diffexposure:
  4138. description: 变动量(套保敞口)
  4139. type: number
  4140. difffutuqty:
  4141. description: 变动量(期货)
  4142. type: number
  4143. diffhedgeqty:
  4144. description: 变动量(现货应套保总量)
  4145. type: number
  4146. diffmgqtya:
  4147. description: 套保变动量
  4148. type: number
  4149. diffmgqtyb:
  4150. description: 套利变动量
  4151. type: number
  4152. diffqty:
  4153. description: 变动量(总敞口)
  4154. type: number
  4155. diffspotqty:
  4156. description: 变动量(现货)
  4157. type: number
  4158. enumdicname:
  4159. description: 单位名称
  4160. type: string
  4161. hedgeqty:
  4162. description: 套保量
  4163. type: number
  4164. mgneedhedgeratio:
  4165. description: 套保比例(套保品的)
  4166. type: number
  4167. middlegoodsid:
  4168. description: 套保品种ID
  4169. type: integer
  4170. middlegoodsname:
  4171. description: 套保商品名称
  4172. type: string
  4173. middlgoodscode:
  4174. description: 套保商品代码
  4175. type: string
  4176. needarbitrageqty:
  4177. description: 应套利量
  4178. type: number
  4179. needarbitrageratio:
  4180. description: 套利比例(套保品的)
  4181. type: number
  4182. needhedgeexposoure:
  4183. description: 应套保敞口(套保敞口)
  4184. type: number
  4185. needhedgeqty:
  4186. description: 应套保量
  4187. type: number
  4188. needhedgeratio:
  4189. description: 应套保敞口比例
  4190. type: number
  4191. oriarbitrageqty:
  4192. description: 期初套利量
  4193. type: number
  4194. oribuyfutureqty:
  4195. description: 期初买入期货数量
  4196. type: number
  4197. oribuyplanqty:
  4198. description: 期初采购计划数量
  4199. type: number
  4200. oribuypricedqty:
  4201. description: 期初采购合同已定价数量
  4202. type: number
  4203. orihedgeqty:
  4204. description: 期初套保量
  4205. type: number
  4206. orineedarbitrageqty:
  4207. description: 期初应套利量
  4208. type: number
  4209. orineedhedgeexposoure:
  4210. description: 期初应套保敞口
  4211. type: number
  4212. orineedhedgeqty:
  4213. description: 期初应套保量
  4214. type: number
  4215. orisellfutureqty:
  4216. description: 期初卖出期货数量
  4217. type: number
  4218. orisellplanqty:
  4219. description: 期初销售计划数量
  4220. type: number
  4221. orisellpricedqty:
  4222. description: 期初销售合同已定价数量
  4223. type: number
  4224. oritotalexposure:
  4225. description: 期初实时总敞口
  4226. type: number
  4227. oritotalfutureqty:
  4228. description: 期初期货头寸总量
  4229. type: number
  4230. oritotalneedhedgeqty:
  4231. description: 期初应套保总量
  4232. type: number
  4233. oritotalspotqty:
  4234. description: 期初现货头寸总量
  4235. type: number
  4236. reckondate:
  4237. description: 日照时期(yyyyMMdd)
  4238. type: string
  4239. sellfutureqty:
  4240. description: 卖出期货数量
  4241. type: number
  4242. sellplanqty:
  4243. description: 销售计划数量
  4244. type: number
  4245. sellpricedqty:
  4246. description: 销售合同已定价数量
  4247. type: number
  4248. totalexposure:
  4249. description: 实时总敞口(总敞口)
  4250. type: number
  4251. totalfutureqty:
  4252. description: 期货头寸总量(期货总量)
  4253. type: number
  4254. totalhedgeratio:
  4255. description: 敞口比例
  4256. type: number
  4257. totalneedhedgeqty:
  4258. description: 应套保总量(现货应套保总量)
  4259. type: number
  4260. totalspotqty:
  4261. description: 现货头寸总量
  4262. type: number
  4263. unitid:
  4264. description: 单位id
  4265. type: integer
  4266. updatetime:
  4267. description: 更新时间
  4268. type: string
  4269. type: object
  4270. models.Ermcp3FinanceReport:
  4271. properties:
  4272. areauserid:
  4273. description: 所属机构\交易用户ID
  4274. type: integer
  4275. biztype:
  4276. description: 业务类型 - 1:套保 2:套利
  4277. type: integer
  4278. brandname:
  4279. description: 品牌名称
  4280. type: string
  4281. buypreinvoicedamount:
  4282. description: 采购预收票额(预收票额)
  4283. type: number
  4284. buyprepaidamount:
  4285. description: 采购预付款额(预付货款额)
  4286. type: number
  4287. buytodayinvoiceamount:
  4288. description: 采购今收票额(今收票额)
  4289. type: number
  4290. buytodayrefundamount:
  4291. description: 采购今收退款额(今收退款额)
  4292. type: number
  4293. buytodaysettleamount:
  4294. description: 采购今付款额(今付货款额)
  4295. type: number
  4296. buyuninvoicedamount:
  4297. description: 采购应收票额(应收票额)
  4298. type: number
  4299. buyunpaidamount:
  4300. description: 采购应付款额(应付货款额)
  4301. type: number
  4302. currencyid:
  4303. description: 结算币种ID
  4304. type: integer
  4305. currencyname:
  4306. description: 币种名称
  4307. type: string
  4308. cycletime:
  4309. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4310. type: string
  4311. cycletype:
  4312. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4313. type: integer
  4314. deliverygoodscode:
  4315. description: 现货品种代码
  4316. type: string
  4317. deliverygoodsid:
  4318. description: 现货品种ID
  4319. type: integer
  4320. deliverygoodsname:
  4321. description: 现货品种名称
  4322. type: string
  4323. reckondate:
  4324. description: 日照时期(yyyyMMdd)
  4325. type: string
  4326. sellpreinvoicedamount:
  4327. description: 销售预开票额(预开票额)
  4328. type: number
  4329. sellprepaidamount:
  4330. description: 销售预收款额(预收货款额)
  4331. type: number
  4332. selltodayinvoiceamount:
  4333. description: 销售今开票额(今开票额)
  4334. type: number
  4335. selltodayrefundamount:
  4336. description: 销售今付退款额(今付退款额)
  4337. type: number
  4338. selltodaysettleamount:
  4339. description: 销售今收款额(今收货款额)
  4340. type: number
  4341. selluninvoicedamount:
  4342. description: 销售应开票额(应开票额)
  4343. type: number
  4344. sellunpaidamount:
  4345. description: 销售应收款额(应收货款额)
  4346. type: number
  4347. spotgoodsbrandid:
  4348. description: 现货品牌ID
  4349. type: integer
  4350. todaypaysum:
  4351. description: 今付款合计
  4352. type: number
  4353. todayreceivesum:
  4354. description: 今收款合计
  4355. type: number
  4356. updatetime:
  4357. description: 更新时间
  4358. type: string
  4359. wrfactortypeid:
  4360. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4361. type: integer
  4362. wrstandardcode:
  4363. description: 品类代码
  4364. type: string
  4365. wrstandardid:
  4366. description: 现货商品ID
  4367. type: integer
  4368. wrstandardname:
  4369. description: 品类名称
  4370. type: string
  4371. type: object
  4372. models.Ermcp3Goods:
  4373. properties:
  4374. agreeunit:
  4375. description: 合约单位(合约乘数)
  4376. type: number
  4377. enumdicname:
  4378. description: 单位名称
  4379. type: string
  4380. exexchangecode:
  4381. description: 交易所代码
  4382. type: string
  4383. goodscode:
  4384. description: 期货商品代码
  4385. type: string
  4386. goodsid:
  4387. description: 期货商品id
  4388. type: integer
  4389. goodsname:
  4390. description: 期货商品名称
  4391. type: string
  4392. type: object
  4393. models.Ermcp3GoodsGroup:
  4394. properties:
  4395. agreeunit:
  4396. description: 合约单位
  4397. type: number
  4398. areauserid:
  4399. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4400. type: integer
  4401. canshort:
  4402. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4403. type: integer
  4404. closepricemode:
  4405. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4406. type: integer
  4407. createtime:
  4408. description: 创建时间
  4409. type: string
  4410. creatorid:
  4411. description: 创建人
  4412. type: integer
  4413. currencyid:
  4414. description: 报价货币ID
  4415. type: integer
  4416. decimalplace:
  4417. description: 报价小数位
  4418. type: integer
  4419. enumdicname:
  4420. description: 单位名称
  4421. type: string
  4422. excludecfg:
  4423. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4424. type: integer
  4425. exexchangeid:
  4426. description: 外部交易所ID[通道交易]
  4427. type: integer
  4428. goodsgroupid:
  4429. description: 商品组ID(自增ID)
  4430. type: integer
  4431. goodsgroupname:
  4432. description: 商品组名称
  4433. type: string
  4434. goodsgroupstatus:
  4435. description: 商品组状态 - 1:正常 2:注销
  4436. type: integer
  4437. goodunitid:
  4438. description: 报价单位ID
  4439. type: integer
  4440. groupcategroyid:
  4441. description: 品种分类ID
  4442. type: integer
  4443. innerdealmode:
  4444. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4445. type: integer
  4446. marketid:
  4447. description: 所属市场ID
  4448. type: integer
  4449. modifierid:
  4450. description: 修改人
  4451. type: integer
  4452. modifytime:
  4453. description: 修改时间
  4454. type: string
  4455. outerdealmode:
  4456. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4457. type: integer
  4458. outergroupcode:
  4459. description: 外部商品组代码[通道交易]
  4460. type: string
  4461. quoteminunit:
  4462. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4463. type: integer
  4464. quotesourcegroupid:
  4465. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4466. type: integer
  4467. syncgoodsqty:
  4468. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4469. type: integer
  4470. required:
  4471. - areauserid
  4472. type: object
  4473. models.Ermcp3GoodsGroupEx:
  4474. properties:
  4475. convertratio:
  4476. description: 折算系数(品种系数)
  4477. type: number
  4478. enumdicname:
  4479. description: 单位名称
  4480. type: string
  4481. exexchangecode:
  4482. description: 交易所代码
  4483. type: string
  4484. glist:
  4485. description: 合约列表
  4486. items:
  4487. $ref: '#/definitions/models.Ermcp3Goods'
  4488. type: array
  4489. goodsgroupid:
  4490. description: 商品组id
  4491. type: integer
  4492. goodsgroupname:
  4493. description: 商品组名称
  4494. type: string
  4495. goodsunitid:
  4496. description: 单位id
  4497. type: integer
  4498. middlegoodsid:
  4499. description: 套保商品id
  4500. type: integer
  4501. type: object
  4502. models.Ermcp3HedgePlan:
  4503. properties:
  4504. accountid:
  4505. description: 资金账号
  4506. type: integer
  4507. areauserid:
  4508. description: 用户ID
  4509. type: integer
  4510. audittime:
  4511. description: 审核时间
  4512. type: string
  4513. contracttype:
  4514. description: 计划类型 - 1:采购 -1:销售
  4515. type: integer
  4516. convertfactor:
  4517. description: 标仓系数
  4518. type: number
  4519. createtime:
  4520. description: 创建时间
  4521. type: string
  4522. currencyid:
  4523. description: 币种id
  4524. type: integer
  4525. currencyname:
  4526. description: 币种名称
  4527. type: string
  4528. deliverygoodscode:
  4529. description: 现货品种代码
  4530. type: string
  4531. deliverygoodsid:
  4532. description: 现货品种ID
  4533. type: integer
  4534. deliverygoodsname:
  4535. description: 现货品种名称
  4536. type: string
  4537. enumdicname:
  4538. description: 单位名称(现货商品)
  4539. type: string
  4540. hedgeplanid:
  4541. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4542. type: string
  4543. hedgeplanno:
  4544. description: 套保计划编号(名称)
  4545. type: string
  4546. hedgeplanstatus:
  4547. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4548. type: integer
  4549. planqty:
  4550. description: 计划数量
  4551. type: number
  4552. plantime:
  4553. description: 计划时间
  4554. type: string
  4555. producttype:
  4556. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4557. type: integer
  4558. remark:
  4559. description: 备注
  4560. type: string
  4561. spotgoodsdesc:
  4562. description: 商品型号
  4563. type: string
  4564. taaccountname:
  4565. description: 资金账号名称
  4566. type: string
  4567. tradeuserid:
  4568. description: 交易用户id
  4569. type: integer
  4570. tradeusername:
  4571. description: 交易用户名称
  4572. type: string
  4573. unitid:
  4574. description: 单位id(现货商品)
  4575. type: integer
  4576. updatetime:
  4577. description: 更新时间
  4578. type: string
  4579. wrstandardcode:
  4580. description: 品类代码
  4581. type: string
  4582. wrstandardid:
  4583. description: 品类id
  4584. type: integer
  4585. wrstandardname:
  4586. description: 品类名称
  4587. type: string
  4588. wrunitid:
  4589. description: 品类单位id
  4590. type: integer
  4591. wrunitidame:
  4592. description: 品类单位名称
  4593. type: string
  4594. type: object
  4595. models.Ermcp3MiddleGoodsDetail2:
  4596. properties:
  4597. convertratio:
  4598. description: 套保系数(折算系数)
  4599. type: number
  4600. gplist:
  4601. description: 关联商品组列表
  4602. items:
  4603. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4604. type: array
  4605. mg:
  4606. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4607. description: 套保商品信息
  4608. type: object
  4609. type: object
  4610. models.Ermcp3MiddleGoodsDetailEx:
  4611. properties:
  4612. dglist:
  4613. description: 关联的现货品种列表
  4614. items:
  4615. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4616. type: array
  4617. gplist:
  4618. description: 关联商品组列表
  4619. items:
  4620. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4621. type: array
  4622. mg:
  4623. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4624. description: 套保商品信息
  4625. type: object
  4626. type: object
  4627. models.Ermcp3SellBuyContract:
  4628. properties:
  4629. accountid:
  4630. description: 期货账户id
  4631. type: string
  4632. accountname:
  4633. description: 账户名称
  4634. type: string
  4635. attachment:
  4636. description: 附件
  4637. type: string
  4638. audittime:
  4639. description: 审核时间
  4640. type: string
  4641. biztype:
  4642. description: 业务类型 1-套保 2-套利
  4643. type: integer
  4644. brandname:
  4645. description: 品牌名称
  4646. type: string
  4647. contracctstatus:
  4648. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4649. type: integer
  4650. contractmargin:
  4651. description: 合同保证金
  4652. type: number
  4653. contractno:
  4654. description: 合同编号
  4655. type: string
  4656. contracttype:
  4657. description: 合同类型 1-采购, -1-销售
  4658. type: integer
  4659. convertfactor:
  4660. description: 标仓系数(品类)
  4661. type: number
  4662. createtime:
  4663. description: 创建时间
  4664. type: string
  4665. currencyid:
  4666. description: 币种id
  4667. type: integer
  4668. currencyname:
  4669. description: 币种名称
  4670. type: string
  4671. daikaiamount:
  4672. description: 应收(开)票额
  4673. type: number
  4674. deliveryenddate:
  4675. description: 交割结束日
  4676. type: string
  4677. deliverygoodscode:
  4678. description: 现货品种代码
  4679. type: string
  4680. deliverygoodsid:
  4681. description: 现货商品ID
  4682. type: integer
  4683. deliverygoodsname:
  4684. description: 现货品种名称
  4685. type: string
  4686. deliverystartdate:
  4687. description: 交割开始日
  4688. type: string
  4689. enddate:
  4690. description: 点价结束日
  4691. type: string
  4692. enumdicname:
  4693. description: 单位名称
  4694. type: string
  4695. goodscode:
  4696. description: 点价商品代码
  4697. type: string
  4698. goodsid:
  4699. description: 点价商品ID
  4700. type: integer
  4701. goodsname:
  4702. description: 点价商品名称
  4703. type: string
  4704. invoiceamount:
  4705. description: 已开票额
  4706. type: number
  4707. loanamount:
  4708. description: 贷款总额=已定价额+调整金额
  4709. type: number
  4710. margin:
  4711. description: 保证金
  4712. type: number
  4713. meruserid:
  4714. description: 跟单员id
  4715. type: integer
  4716. meruserlogincode:
  4717. description: 跟单员登录代码
  4718. type: string
  4719. nickname:
  4720. description: 账户昵称
  4721. type: string
  4722. payamount:
  4723. description: 已收付额(收款或付款)
  4724. type: number
  4725. preinvoiceamount:
  4726. description: 预收(开)票额
  4727. type: number
  4728. prepayamount:
  4729. description: 预收付额
  4730. type: number
  4731. price:
  4732. description: 价格
  4733. type: number
  4734. pricedamount:
  4735. description: 已定价额
  4736. type: number
  4737. pricedavg:
  4738. description: 已点均价
  4739. type: number
  4740. pricedqty:
  4741. description: 已定价量
  4742. type: number
  4743. pricemove:
  4744. description: 升贴水
  4745. type: number
  4746. pricetype:
  4747. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4748. type: integer
  4749. producttype:
  4750. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4751. type: integer
  4752. qty:
  4753. description: 合同量
  4754. type: number
  4755. reckonadjustamount:
  4756. description: 调整金额
  4757. type: number
  4758. reckonedamount:
  4759. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4760. type: number
  4761. reckonotheramount:
  4762. description: 其它费用
  4763. type: number
  4764. reckonrealqty:
  4765. description: 已确定量
  4766. type: number
  4767. remark:
  4768. description: 备注
  4769. type: string
  4770. saleuserid:
  4771. description: 业务员id
  4772. type: integer
  4773. saleuserlogincode:
  4774. description: 业务员登录代码
  4775. type: string
  4776. spotcontractid:
  4777. description: 合同ID
  4778. type: string
  4779. spotgoodsbrandid:
  4780. description: 现货品牌ID(DGFactoryItem表的ID)
  4781. type: integer
  4782. spotgoodsdesc:
  4783. description: 商品型号(商品规格)
  4784. type: string
  4785. startdate:
  4786. description: 点价开始日
  4787. type: string
  4788. totalamount:
  4789. description: 合计总额
  4790. type: number
  4791. tradeuserid:
  4792. description: 交易员id
  4793. type: integer
  4794. tradeuserlogincode:
  4795. description: 交易员登录代码
  4796. type: string
  4797. tradeusername:
  4798. description: 交易员名称
  4799. type: string
  4800. unpayamount:
  4801. description: 应收付款额(应支付或应收款)
  4802. type: number
  4803. unpricedqty:
  4804. description: 未定价量
  4805. type: number
  4806. unsureqty:
  4807. description: 未确定量
  4808. type: number
  4809. userid:
  4810. description: 机构ID
  4811. type: integer
  4812. wrstandardcode:
  4813. description: 品类代码
  4814. type: string
  4815. wrstandardid:
  4816. description: 品类ID
  4817. type: integer
  4818. wrstandardname:
  4819. description: 品类名称
  4820. type: string
  4821. type: object
  4822. models.Ermcp3SpotGoodsPrice:
  4823. properties:
  4824. areauserid:
  4825. description: 所属机构id
  4826. type: integer
  4827. brandname:
  4828. description: 品牌名称
  4829. type: string
  4830. currencyid:
  4831. description: 报价货币ID
  4832. type: integer
  4833. currencyname:
  4834. description: 币种名称
  4835. type: string
  4836. deliverygoodscode:
  4837. description: 现货商品代码
  4838. type: string
  4839. deliverygoodsid:
  4840. description: 现货商品id
  4841. type: integer
  4842. deliverygoodsname:
  4843. description: 现货商品名称
  4844. type: string
  4845. enumdicname:
  4846. description: 现货商品单位名称
  4847. type: string
  4848. gbenumdicname:
  4849. description: 品类单位名称
  4850. type: string
  4851. gmunitid:
  4852. description: 品类单位id
  4853. type: integer
  4854. isvalid:
  4855. description: 是否有效 - 0:无效 1:有效
  4856. type: integer
  4857. operateid:
  4858. description: 最后操作人
  4859. type: integer
  4860. operatesrc:
  4861. description: 最后操作来源 - 1:管理端 2:终端
  4862. type: integer
  4863. operatetime:
  4864. description: 最后操作时间
  4865. type: string
  4866. operatorname:
  4867. description: 操作人名称
  4868. type: string
  4869. spotgoodsbrandid:
  4870. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4871. type: integer
  4872. spotgoodsprice:
  4873. description: 现货价格
  4874. type: number
  4875. tradedate:
  4876. description: 交易日(yyyyMMdd)
  4877. type: string
  4878. unitid:
  4879. description: 现货商品单位id
  4880. type: integer
  4881. wrstandardcode:
  4882. description: 品类代码
  4883. type: string
  4884. wrstandardid:
  4885. description: 现货品类ID(通用则为0)
  4886. type: integer
  4887. wrstandardname:
  4888. description: 品类名称
  4889. type: string
  4890. type: object
  4891. models.Ermcp3SpotGoodsPriceLog:
  4892. properties:
  4893. areauserid:
  4894. description: 所属机构id
  4895. type: integer
  4896. brandname:
  4897. description: 品牌名称
  4898. type: string
  4899. currencyid:
  4900. description: 报价货币ID
  4901. type: integer
  4902. deliverygoodscode:
  4903. description: 现货商品代码
  4904. type: string
  4905. deliverygoodsid:
  4906. description: 现货商品id
  4907. type: integer
  4908. deliverygoodsname:
  4909. description: 现货商品名称
  4910. type: string
  4911. enumdicname:
  4912. description: 现货商品单位名称
  4913. type: string
  4914. gbenumdicname:
  4915. description: 品类单位名称
  4916. type: string
  4917. gmunitid:
  4918. description: 品类单位id
  4919. type: integer
  4920. logid:
  4921. description: 日志id
  4922. type: integer
  4923. operateid:
  4924. description: 最后操作人
  4925. type: integer
  4926. operatesrc:
  4927. description: 最后操作来源 - 1:管理端 2:终端
  4928. type: integer
  4929. operatetime:
  4930. description: 最后操作时间
  4931. type: string
  4932. operatorname:
  4933. description: 操作人名称
  4934. type: string
  4935. spotgoodsbrandid:
  4936. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4937. type: integer
  4938. spotgoodsprice:
  4939. description: 现货价格
  4940. type: number
  4941. tradedate:
  4942. description: 交易日(yyyyMMdd)
  4943. type: string
  4944. unitid:
  4945. description: 现货商品单位id
  4946. type: integer
  4947. wrstandardcode:
  4948. description: 品类代码
  4949. type: string
  4950. wrstandardid:
  4951. description: 现货品类ID(通用则为0)
  4952. type: integer
  4953. wrstandardname:
  4954. description: 品类名称
  4955. type: string
  4956. type: object
  4957. models.Ermcp3Wrstandard:
  4958. properties:
  4959. areauserid:
  4960. description: 所属机构
  4961. type: integer
  4962. convertfactor:
  4963. description: 标仓系数
  4964. type: number
  4965. createtime:
  4966. description: 创建时间
  4967. type: string
  4968. creatorid:
  4969. description: 创建人
  4970. type: integer
  4971. deliverygoodsid:
  4972. description: 现货品种ID
  4973. type: integer
  4974. enumdicname:
  4975. description: 品类单位名称
  4976. type: string
  4977. isvalid:
  4978. description: 是否有效 0-无效(停用) 1-有效(正常)
  4979. type: integer
  4980. minivalue:
  4981. description: 最小变动值
  4982. type: integer
  4983. minivaluedp:
  4984. description: 最小变动值小数位
  4985. type: integer
  4986. realminivalue:
  4987. description: 实际最小变动值
  4988. type: integer
  4989. realminivaluedp:
  4990. description: 实际最小变动值小数位
  4991. type: integer
  4992. remark:
  4993. description: 备注
  4994. type: string
  4995. unitid:
  4996. description: 品类单位ID
  4997. type: integer
  4998. updatetime:
  4999. description: 更新时间
  5000. type: string
  5001. wrstandardcode:
  5002. description: 品类代码
  5003. type: string
  5004. wrstandardid:
  5005. description: 品类ID(SEQ_WRSTANDARD)
  5006. type: integer
  5007. wrstandardname:
  5008. description: 品类名称
  5009. type: string
  5010. type: object
  5011. models.ErmcpAreaSpotDetailModel:
  5012. properties:
  5013. contracttype:
  5014. description: 合同类型 1-采购 -1-销售
  5015. type: integer
  5016. createtime:
  5017. description: 创建时间
  5018. type: string
  5019. enumdicname:
  5020. description: 现货商品单位名称
  5021. type: string
  5022. logtype:
  5023. description: 记录类型 1-套保 2-现货合同
  5024. type: integer
  5025. qty:
  5026. description: 数量
  5027. type: number
  5028. recordname:
  5029. description: 类型名称
  5030. type: string
  5031. relatedid:
  5032. description: 套保计划ID/现货合同ID
  5033. type: string
  5034. relatedno:
  5035. description: 编号
  5036. type: string
  5037. strtime:
  5038. description: 时间
  5039. type: string
  5040. wrstandardcode:
  5041. description: 现货商品代码
  5042. type: string
  5043. wrstandardname:
  5044. description: 现货商品名称
  5045. type: string
  5046. type: object
  5047. models.ErmcpAvalidGoodsGroupModel:
  5048. properties:
  5049. goodsgroupid:
  5050. description: 期货品种id
  5051. type: integer
  5052. goodsgroupname:
  5053. description: 期货品种名称
  5054. type: string
  5055. goodunitid:
  5056. description: 品种单位id
  5057. type: integer
  5058. goodunitname:
  5059. description: 品种单位名称
  5060. type: string
  5061. outergroupcode:
  5062. description: 期货品种代码
  5063. type: string
  5064. type: object
  5065. models.ErmcpBizGroupEx:
  5066. properties:
  5067. acclist:
  5068. description: 账号列表
  5069. items:
  5070. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5071. type: array
  5072. bizgroupid:
  5073. description: 业务分组id
  5074. type: integer
  5075. biztype:
  5076. description: 业务类型 1-套保 2-套利
  5077. type: integer
  5078. wrlist:
  5079. description: 现货商品表
  5080. items:
  5081. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5082. type: array
  5083. type: object
  5084. models.ErmcpBizGroupSpotGoods:
  5085. properties:
  5086. areauserid:
  5087. description: 所属机构id
  5088. type: integer
  5089. bizgroupid:
  5090. description: 分组id
  5091. type: integer
  5092. biztype:
  5093. description: 业务类型 1-套保 2-套利
  5094. type: integer
  5095. deliverygoodscode:
  5096. description: 现货商品代码
  5097. type: string
  5098. deliverygoodsid:
  5099. description: 现货商品id
  5100. type: integer
  5101. deliverygoodsname:
  5102. description: 现货商品名称
  5103. type: string
  5104. unitid:
  5105. description: 现货商品单位id
  5106. type: integer
  5107. type: object
  5108. models.ErmcpBizGroupTaAccount:
  5109. properties:
  5110. accountid:
  5111. description: 账号id
  5112. type: integer
  5113. accountname:
  5114. description: 账号名称
  5115. type: string
  5116. areauserid:
  5117. description: 所属机构id
  5118. type: integer
  5119. bizgroupid:
  5120. description: 业务分组id
  5121. type: integer
  5122. ismain:
  5123. description: 是否主账号 1-是 0-否
  5124. type: integer
  5125. type: object
  5126. models.ErmcpDGFactoryItem:
  5127. properties:
  5128. areauserid:
  5129. description: 用户id
  5130. type: integer
  5131. deliverygoodsid:
  5132. description: 现货品种ID
  5133. type: integer
  5134. dgfactoryitemid:
  5135. description: 选择项ID(SEQ_DGFACTORYITEM)
  5136. type: integer
  5137. dgfactoryitemtypeid:
  5138. description: 要素项类型
  5139. type: integer
  5140. dgfactoryitemvalue:
  5141. description: 要素项值(类型为仓库时填写仓库名称)
  5142. type: string
  5143. isvalid:
  5144. description: 是否有效 - 0:无效 1:有效
  5145. type: integer
  5146. orderindex:
  5147. description: 顺序
  5148. type: integer
  5149. warehouseid:
  5150. description: 仓库ID(类型为仓库时填写)
  5151. type: integer
  5152. type: object
  5153. models.ErmcpDeliveryGoods:
  5154. properties:
  5155. agreeunit:
  5156. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5157. type: integer
  5158. areauserid:
  5159. description: 所属机构
  5160. type: integer
  5161. auditflag:
  5162. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5163. type: integer
  5164. categoryid:
  5165. description: 类别ID(SEQ_WRCATEGORY)
  5166. type: integer
  5167. deliverygoodscode:
  5168. description: 现货品种代码
  5169. type: string
  5170. deliverygoodsid:
  5171. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5172. type: integer
  5173. deliverygoodsname:
  5174. description: 现货品种名称
  5175. type: string
  5176. deliverygoodstype:
  5177. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5178. type: integer
  5179. dgstatus:
  5180. description: 品种状态 - 作废 - 0:未激活 1:正常
  5181. type: integer
  5182. enumdicname:
  5183. description: 现货品种单位名称
  5184. type: string
  5185. goodsunitid:
  5186. description: 现货品种单位ID
  5187. type: integer
  5188. isvalid:
  5189. description: 是否有效 - 0:无效 1:有效
  5190. type: integer
  5191. qtydecimalplace:
  5192. description: 成交量小数位
  5193. type: integer
  5194. remark:
  5195. description: 备注
  5196. type: string
  5197. standardqty:
  5198. description: 标准数量(库位数量) [标准品特有]
  5199. type: integer
  5200. standardqtyrange:
  5201. description: 标准数量偏差范围 [标准品特有]
  5202. type: integer
  5203. type: object
  5204. models.ErmcpDeliveryGoodsDetail2:
  5205. properties:
  5206. convertratio:
  5207. description: 套保系数(折算系数)
  5208. type: number
  5209. data:
  5210. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5211. description: 现货商品基本信息(交割品种)
  5212. type: object
  5213. gblist:
  5214. description: 品牌列表
  5215. items:
  5216. $ref: '#/definitions/models.Ermcp3Brand'
  5217. type: array
  5218. gmlist:
  5219. description: 品类列表(仓单标准)
  5220. items:
  5221. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5222. type: array
  5223. type: object
  5224. models.ErmcpDeliveryGoodsDetailEx:
  5225. properties:
  5226. data:
  5227. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5228. description: 现货商品基本信息(交割品种)
  5229. type: object
  5230. gblist:
  5231. description: 品牌列表
  5232. items:
  5233. $ref: '#/definitions/models.Ermcp3Brand'
  5234. type: array
  5235. gmlist:
  5236. description: 品类列表(仓单标准)
  5237. items:
  5238. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5239. type: array
  5240. mgList:
  5241. description: 套保列表
  5242. items:
  5243. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5244. type: array
  5245. type: object
  5246. models.ErmcpExposureDetailModel:
  5247. properties:
  5248. areauserid:
  5249. description: 机构ID
  5250. type: integer
  5251. changeQty:
  5252. description: 套保变动量
  5253. type: number
  5254. contracttype:
  5255. description: 现货合同类型 - 1:采购 -1:销售
  5256. type: integer
  5257. convertfactor:
  5258. description: 标仓系数
  5259. type: number
  5260. convertratio:
  5261. description: 套保系数
  5262. type: number
  5263. createtime:
  5264. description: 时间
  5265. type: string
  5266. enumdicname:
  5267. description: 现货商品单位名称
  5268. type: string
  5269. logtype:
  5270. description: 类型 - 1:套保计划 2:现货合同
  5271. type: integer
  5272. middlegoodsId:
  5273. description: 套保商品id
  5274. type: integer
  5275. middlegoodscode:
  5276. description: 套保商品代码
  5277. type: string
  5278. middlegoodsname:
  5279. description: 套保商品名称
  5280. type: string
  5281. qty:
  5282. description: 数量
  5283. type: number
  5284. relateNo:
  5285. description: 现货合同/套保计划编号
  5286. type: string
  5287. wrstandardcode:
  5288. description: 现货商品代码
  5289. type: string
  5290. wrstandardid:
  5291. description: 现货商品ID
  5292. type: integer
  5293. wrstandardname:
  5294. description: 现货商品名称
  5295. type: string
  5296. type: object
  5297. models.ErmcpExposurePostion:
  5298. properties:
  5299. agreeunit:
  5300. description: 合约单位
  5301. type: string
  5302. areauserid:
  5303. description: 所属机构id
  5304. type: integer
  5305. convertratio:
  5306. description: 期货品种系数(折算系数)
  5307. type: number
  5308. curqty:
  5309. description: 当前持仓
  5310. type: integer
  5311. diffhedgeqty:
  5312. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5313. type: number
  5314. diffqty:
  5315. description: 持仓变动量=当前持仓-昨日持仓
  5316. type: integer
  5317. goodscode:
  5318. description: 商品代码
  5319. type: string
  5320. goodsid:
  5321. description: 商品id
  5322. type: integer
  5323. goodsname:
  5324. description: 商品名称
  5325. type: string
  5326. middlegoodsid:
  5327. description: 套保商品id
  5328. type: integer
  5329. ydqty:
  5330. description: 昨日持仓
  5331. type: integer
  5332. type: object
  5333. models.ErmcpFuturesCompany:
  5334. properties:
  5335. brokerid:
  5336. description: 经纪公司代码
  5337. type: string
  5338. channeladdress:
  5339. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5340. type: string
  5341. channelid:
  5342. description: 对冲渠道ID
  5343. type: string
  5344. createtime:
  5345. description: 创建时间
  5346. type: string
  5347. creatorid:
  5348. description: 创建人
  5349. type: string
  5350. fcid:
  5351. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5352. type: integer
  5353. fcname:
  5354. description: 期货公司名称
  5355. type: string
  5356. isvalid:
  5357. description: 是否有效 - 0:无效 1:有效
  5358. type: integer
  5359. mhpaddress:
  5360. description: MHP服务地址(IP:Port)
  5361. type: string
  5362. riskrulegroupid:
  5363. description: 风控规则组ID
  5364. type: string
  5365. tradefeetmpid:
  5366. description: 手续费模板ID[TradeConfigTmpType为2]
  5367. type: string
  5368. trademargintmpid:
  5369. description: 保证金模板ID [TradeConfigTmpType为1]
  5370. type: string
  5371. traderatetmpid:
  5372. description: 汇率模板ID[TradeConfigTmpType为3]
  5373. type: string
  5374. updatetime:
  5375. description: 更新时间
  5376. type: string
  5377. updatorid:
  5378. description: 更新人
  5379. type: string
  5380. type: object
  5381. models.ErmcpGGConvertCfg:
  5382. properties:
  5383. convertratio:
  5384. description: 折算系数
  5385. type: number
  5386. destgoodsgroupid:
  5387. description: 目标品种ID
  5388. type: integer
  5389. dstcode:
  5390. description: 目录品种代码
  5391. type: string
  5392. dstexchangecode:
  5393. description: 目标期货交易所
  5394. type: string
  5395. dstname:
  5396. description: 目标品种名称
  5397. type: string
  5398. dstunitid:
  5399. description: 目标品种单位ID
  5400. type: integer
  5401. dstunitidname:
  5402. description: 目标品种单位名称
  5403. type: string
  5404. modifytime:
  5405. description: 修改时间
  5406. type: string
  5407. srccode:
  5408. description: 源品种代码
  5409. type: string
  5410. srcexchangecode:
  5411. description: 源期货交易所
  5412. type: string
  5413. srcgoodsgroupid:
  5414. description: 源品种ID
  5415. type: integer
  5416. srcname:
  5417. description: 源品种名称
  5418. type: string
  5419. srcunitid:
  5420. description: 源品种单位ID
  5421. type: integer
  5422. srcunitidname:
  5423. description: 源品种单位名称
  5424. type: string
  5425. type: object
  5426. models.ErmcpGoodsBrand:
  5427. properties:
  5428. areauserid:
  5429. description: 所属机构
  5430. type: integer
  5431. brandid:
  5432. description: BrandID(SEQ_SPOTGOODSBRAND)
  5433. type: integer
  5434. brandname:
  5435. description: 品牌名称
  5436. type: string
  5437. createtime:
  5438. description: 创建时间
  5439. type: string
  5440. creatorid:
  5441. description: 创建人
  5442. type: integer
  5443. creatorsrc:
  5444. description: 创建人来源 - 1:管理端 2:终端
  5445. type: integer
  5446. deliverygoodsid:
  5447. description: 现货品种ID
  5448. type: integer
  5449. isvalid:
  5450. description: 是否有效 - 0:无效 1:有效
  5451. type: integer
  5452. updatetime:
  5453. description: 更新时间
  5454. type: string
  5455. updatorid:
  5456. description: 更新人
  5457. type: integer
  5458. updatorsrc:
  5459. description: 更新人来源 - 1:管理端 2:终端
  5460. type: integer
  5461. wrstandardid:
  5462. description: 现货商品ID
  5463. type: integer
  5464. type: object
  5465. models.ErmcpGoodsModel:
  5466. properties:
  5467. areauserid:
  5468. description: 所属机构
  5469. type: integer
  5470. convertfactor:
  5471. description: 标仓系数
  5472. type: number
  5473. createtime:
  5474. description: 创建时间
  5475. type: string
  5476. creatorid:
  5477. description: 创建人
  5478. type: integer
  5479. creatorsrc:
  5480. description: 创建人来源 - 1:管理端 2:终端
  5481. type: integer
  5482. deliverygoodsid:
  5483. description: 现货品种ID
  5484. type: integer
  5485. isvalid:
  5486. description: 是否有效 - 0:无效 1:有效
  5487. type: integer
  5488. modelid:
  5489. description: ModelID(SEQ_SPOTGOODSMODEL)
  5490. type: integer
  5491. modelname:
  5492. description: 型号名称
  5493. type: string
  5494. updatetime:
  5495. description: 更新时间
  5496. type: string
  5497. updatorid:
  5498. description: 更新人
  5499. type: integer
  5500. updatorsrc:
  5501. description: 更新人来源 - 1:管理端 2:终端
  5502. type: integer
  5503. wrstandardid:
  5504. description: 现货商品ID
  5505. type: integer
  5506. type: object
  5507. models.ErmcpHedgePosition:
  5508. properties:
  5509. accountid:
  5510. description: 资金账号[外部母账户]
  5511. type: integer
  5512. curbuyposition:
  5513. description: 期末买头寸
  5514. type: integer
  5515. cursellposition:
  5516. description: 期末卖头寸
  5517. type: integer
  5518. curtdbuyposition:
  5519. description: 期末今日买头寸
  5520. type: integer
  5521. curtdsellposition:
  5522. description: 期末今日卖头寸
  5523. type: integer
  5524. curydbuyposition:
  5525. description: 期末上日买头寸
  5526. type: integer
  5527. curydsellposition:
  5528. description: 期末上日卖头寸
  5529. type: integer
  5530. decreaseqty:
  5531. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5532. type: integer
  5533. fretdbuyposition:
  5534. description: 冻结今日买头寸
  5535. type: integer
  5536. fretdsellposition:
  5537. description: 冻结今日卖头寸
  5538. type: integer
  5539. freydbuyposition:
  5540. description: 冻结上日买头寸
  5541. type: integer
  5542. freydsellposition:
  5543. description: 冻结上日卖头寸
  5544. type: integer
  5545. goodscode:
  5546. description: 商品代码
  5547. type: string
  5548. goodsid:
  5549. description: 商品id
  5550. type: integer
  5551. goodsname:
  5552. description: 商品名称
  5553. type: string
  5554. hedgeaccountcode:
  5555. description: 对冲账号
  5556. type: string
  5557. hedgegoodsid:
  5558. description: 对冲合约ID
  5559. type: integer
  5560. increaseqty:
  5561. description: 增加数量 = 期末买头寸 - 期初买头寸
  5562. type: integer
  5563. marketid:
  5564. description: 市场ID
  5565. type: integer
  5566. relateduserid:
  5567. description: 关联用户id
  5568. type: integer
  5569. totalcurqty:
  5570. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5571. type: integer
  5572. totalydqty:
  5573. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5574. type: integer
  5575. tradedate:
  5576. description: 交易日(yyyyMMdd)
  5577. type: string
  5578. ydbuyposition:
  5579. description: 期初买头寸
  5580. type: integer
  5581. ydsellposition:
  5582. description: 期初卖头寸
  5583. type: integer
  5584. type: object
  5585. models.ErmcpHedgePositionDetail:
  5586. properties:
  5587. buyorsell:
  5588. description: 买卖方向 0-买 1-卖
  5589. type: integer
  5590. channelbuildtype:
  5591. description: 开平方向 1-建仓 2-平仓
  5592. type: integer
  5593. goodscode:
  5594. description: 商品代码
  5595. type: string
  5596. goodsname:
  5597. description: 商品名称
  5598. type: string
  5599. hedgegoodsid:
  5600. description: 商品id
  5601. type: integer
  5602. tradeqty:
  5603. description: 数量(成交数量)
  5604. type: integer
  5605. tradetime:
  5606. description: 时间(成交时间)
  5607. type: string
  5608. type: object
  5609. models.ErmcpHisExposure:
  5610. properties:
  5611. needhedgeexposoure:
  5612. description: 应套保敞口
  5613. type: number
  5614. reckondate:
  5615. description: 日照时期(yyyyMMdd)
  5616. type: string
  5617. totalexposure:
  5618. description: 总敞口
  5619. type: number
  5620. type: object
  5621. models.ErmcpHisExposureS:
  5622. properties:
  5623. data:
  5624. description: 历史敞口
  5625. items:
  5626. $ref: '#/definitions/models.ErmcpHisExposure'
  5627. type: array
  5628. enumdicname:
  5629. description: 单位名称
  5630. type: string
  5631. middlegoodscode:
  5632. description: 套保品种代码
  5633. type: string
  5634. middlegoodsid:
  5635. description: 套保品种ID
  5636. type: integer
  5637. middlegoodsname:
  5638. description: 套保品种名称
  5639. type: string
  5640. type: object
  5641. models.ErmcpLoginTaAccount:
  5642. properties:
  5643. accountid:
  5644. description: 账号id
  5645. type: integer
  5646. accountname:
  5647. description: 账号名称
  5648. type: string
  5649. type: object
  5650. models.ErmcpLoginUser:
  5651. properties:
  5652. acclist:
  5653. description: 关联资金账号
  5654. items:
  5655. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  5656. type: array
  5657. accountname:
  5658. description: 用户名称
  5659. type: string
  5660. clientroleid:
  5661. description: 角色id(usertype=2)
  5662. type: integer
  5663. createtime:
  5664. description: 创建时间
  5665. type: string
  5666. logincode:
  5667. description: 登录代码
  5668. type: string
  5669. loginid:
  5670. description: 登录id(LOGINID)
  5671. type: integer
  5672. loginname:
  5673. description: 登录名称(loginaccount表中的accountname字段)
  5674. type: string
  5675. loginstatus:
  5676. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5677. type: integer
  5678. memberuserid:
  5679. description: 所属会员id
  5680. type: integer
  5681. mobile:
  5682. description: 手机号
  5683. type: string
  5684. modifytime:
  5685. description: 修改时间
  5686. type: string
  5687. password:
  5688. description: 密码(不可解密)
  5689. type: string
  5690. rolename:
  5691. description: 角色名称
  5692. type: string
  5693. rolestatus:
  5694. description: 角色状态 1-启用 2-停用
  5695. type: integer
  5696. roletype:
  5697. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5698. type: string
  5699. userid:
  5700. description: 用户id
  5701. type: integer
  5702. usertype:
  5703. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5704. type: integer
  5705. type: object
  5706. models.ErmcpLoginUserEx:
  5707. properties:
  5708. accountstatus:
  5709. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  5710. type: integer
  5711. mobile:
  5712. description: 手机号
  5713. type: string
  5714. querytype:
  5715. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  5716. type: integer
  5717. roleid:
  5718. description: 角色id(交易账户->用户id)
  5719. type: integer
  5720. rolename:
  5721. description: 角色名称(交易账户->用户名称)
  5722. type: string
  5723. userlist:
  5724. description: 用户列表
  5725. items:
  5726. $ref: '#/definitions/models.ErmcpLoginUser'
  5727. type: array
  5728. usertype:
  5729. description: 用户类型 2-机构 7-企业成员(云平台)
  5730. type: integer
  5731. type: object
  5732. models.ErmcpMiddleGoodsChangeLog:
  5733. properties:
  5734. aftervalue:
  5735. description: 变更后
  5736. type: number
  5737. applyid:
  5738. description: 操作人
  5739. type: integer
  5740. applyname:
  5741. description: 操作人名称
  5742. type: string
  5743. applysrc:
  5744. description: 操作来源 - 1:管理端 2:终端
  5745. type: integer
  5746. beforevalue:
  5747. description: 变更前
  5748. type: number
  5749. changelogtype:
  5750. description: 变更流水类型 - 1:套保比率变更
  5751. type: integer
  5752. handlestatus:
  5753. description: 处理状态
  5754. type: integer
  5755. logdatetime:
  5756. description: 流水日期
  5757. type: string
  5758. logid:
  5759. description: 流水ID
  5760. type: integer
  5761. logremark:
  5762. description: 流水备注
  5763. type: string
  5764. middlegoodsid:
  5765. description: 套保品种ID
  5766. type: integer
  5767. tradedate:
  5768. description: 交易日(yyyyMMdd)
  5769. type: string
  5770. updatetime:
  5771. description: 更新时间
  5772. type: string
  5773. type: object
  5774. models.ErmcpMiddleGoodsDetail:
  5775. properties:
  5776. cvList:
  5777. description: 期货品种折算列表
  5778. items:
  5779. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5780. type: array
  5781. mg:
  5782. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5783. description: 套保品种基本信息
  5784. type: object
  5785. wrcList:
  5786. description: 现货品种列表(现货商品折算配置)
  5787. items:
  5788. $ref: '#/definitions/models.WRSConverTDetail'
  5789. type: array
  5790. type: object
  5791. models.ErmcpMiddleGoodsModel:
  5792. properties:
  5793. areauserid:
  5794. description: 机构用户ID
  5795. type: integer
  5796. createtime:
  5797. description: 修改时间
  5798. type: string
  5799. enumdicname:
  5800. description: 单位名称
  5801. type: string
  5802. evaluateratio:
  5803. description: 估价系数
  5804. type: number
  5805. goodsgroupid:
  5806. description: 关联期货品种ID
  5807. type: integer
  5808. goodsunitid:
  5809. description: 单位ID
  5810. type: integer
  5811. isvalid:
  5812. description: 状态 0-无效(停用) 1-有效(正常)
  5813. type: integer
  5814. middlegoodscode:
  5815. description: 套保品种代码
  5816. type: string
  5817. middlegoodsid:
  5818. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5819. type: integer
  5820. middlegoodsname:
  5821. description: 套保品种名称
  5822. type: string
  5823. modifytime:
  5824. description: 修改时间
  5825. type: string
  5826. needhedgeratio:
  5827. description: 套保比率
  5828. type: number
  5829. qtydecimalplace:
  5830. description: 数量小数位
  5831. type: integer
  5832. relatedgoodsid:
  5833. description: 关联交易商品ID
  5834. type: integer
  5835. relatedgoodstype:
  5836. description: 关联商品类型 - 1:期货合约 2:现货品种
  5837. type: integer
  5838. remark:
  5839. description: 备注
  5840. type: string
  5841. type: object
  5842. models.ErmcpOPLogModel:
  5843. properties:
  5844. aftervalue:
  5845. description: 变更后
  5846. type: number
  5847. applyid:
  5848. description: 操作人ID
  5849. type: string
  5850. applyname:
  5851. description: 操作人名称
  5852. type: string
  5853. beforevalue:
  5854. description: 变更前
  5855. type: number
  5856. biztype:
  5857. description: 业务类型 - 1:套保计划 2:现货合同
  5858. type: integer
  5859. contracttype:
  5860. description: 现货合同类型 - 1:采购 -1:销售
  5861. type: integer
  5862. logvalue:
  5863. description: 数值
  5864. type: number
  5865. operatelogtype:
  5866. description: 操作流水类型
  5867. type: integer
  5868. operatelogtypedesc:
  5869. description: 操作流水类型名称
  5870. type: string
  5871. relatedid:
  5872. description: 现货合同ID\套保计划
  5873. type: string
  5874. updatetime:
  5875. description: 更新时间
  5876. type: string
  5877. type: object
  5878. models.ErmcpPendingAudit:
  5879. properties:
  5880. areastockqty:
  5881. description: '待审核数量: 库存申请'
  5882. type: integer
  5883. businessdjqty:
  5884. description: '待审核数量: 点价'
  5885. type: integer
  5886. businessfpqty:
  5887. description: '待审核数量: 发票'
  5888. type: integer
  5889. businessjsqty:
  5890. description: '待审核数量: 结算'
  5891. type: integer
  5892. businesskxqty:
  5893. description: '待审核数量: 款项'
  5894. type: integer
  5895. hedgeplanqty:
  5896. description: '待审核数量: 套保计划'
  5897. type: integer
  5898. spotcontractqty:
  5899. description: '待审核数量: 现货合同'
  5900. type: integer
  5901. userqty:
  5902. description: '待审核数量: 用户'
  5903. type: integer
  5904. type: object
  5905. models.ErmcpRealExposureModel:
  5906. properties:
  5907. AreaUserID:
  5908. description: 所属机构
  5909. type: integer
  5910. BuyFutureQty:
  5911. description: 买入期货数量
  5912. type: number
  5913. BuyPlanQty:
  5914. description: 采购计划数量
  5915. type: number
  5916. BuyPricedQty:
  5917. description: 采购合同已定价数量
  5918. type: number
  5919. MiddleGoodsCode:
  5920. description: 套保品种代码
  5921. type: string
  5922. MiddleGoodsHedgeRatio:
  5923. description: 套保比例
  5924. type: number
  5925. MiddleGoodsID:
  5926. description: 套保品种
  5927. type: integer
  5928. MiddleGoodsName:
  5929. description: 套保品种名称
  5930. type: string
  5931. NeedHedgeExposoure:
  5932. description: 应套保敞口(套保敞口)
  5933. type: number
  5934. NeedHedgeRatio:
  5935. description: 应套保敞口比例
  5936. type: number
  5937. OriBuyFutureQty:
  5938. description: 期初买入期货数量
  5939. type: number
  5940. OriBuyPlanQty:
  5941. description: 期初采购计划数量
  5942. type: number
  5943. OriBuyPricedQty:
  5944. description: 期初采购合同已定价数量
  5945. type: number
  5946. OriSellFutureQty:
  5947. description: 期初卖出期货数量
  5948. type: number
  5949. OriSellPlanQty:
  5950. description: 期初销售计划数量
  5951. type: number
  5952. OriSellPricedQty:
  5953. description: 期初销售合同已定价数量
  5954. type: number
  5955. SellFutureQty:
  5956. description: 卖出期货数量
  5957. type: number
  5958. SellPlanQty:
  5959. description: 销售计划数量
  5960. type: number
  5961. SellPricedQty:
  5962. description: 销售合同已定价数量
  5963. type: number
  5964. TotalExposure:
  5965. description: 总敞口
  5966. type: number
  5967. TotalFutureQty:
  5968. description: 期货总量
  5969. type: number
  5970. TotalHedgeRatio:
  5971. description: 敞口比例
  5972. type: number
  5973. TotalNeedHedgeQty:
  5974. description: 应套保总量(现货应套保总量)
  5975. type: number
  5976. TotalSpotQty:
  5977. description: 现货总量
  5978. type: number
  5979. arbitrageqty:
  5980. description: 套利量
  5981. type: number
  5982. diffArbitrageQty:
  5983. description: 套利变动量
  5984. type: number
  5985. diffExposoureQty:
  5986. description: 变动量(套保敞口)
  5987. type: number
  5988. diffFutuQty:
  5989. description: 变动量(期货总量)
  5990. type: number
  5991. diffHedgeQty:
  5992. description: 套保变动量
  5993. type: number
  5994. diffQty:
  5995. description: 变动量(总敞口)
  5996. type: number
  5997. diffSpotHedgeQty:
  5998. description: 变动量(现货应套保总量)
  5999. type: number
  6000. diffSpotQty:
  6001. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6002. type: number
  6003. enumdicname:
  6004. description: 单位名称
  6005. type: string
  6006. hedgeqty:
  6007. description: 套保量
  6008. type: number
  6009. needarbitrageqty:
  6010. description: 应套利量
  6011. type: number
  6012. needarbitrageratio:
  6013. description: 套利比例
  6014. type: number
  6015. needhedgeqty:
  6016. description: 应套保量
  6017. type: number
  6018. oriTotalFutuQty:
  6019. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6020. type: number
  6021. oriTotalSpotQty:
  6022. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6023. type: number
  6024. oriarbitrageqty:
  6025. description: 期初套利量
  6026. type: number
  6027. orihedgeqty:
  6028. description: 期初套保量
  6029. type: number
  6030. orineedhedgeexposoure:
  6031. description: 期初套保敞口
  6032. type: number
  6033. oritotalexposure:
  6034. description: 期初总敞口
  6035. type: number
  6036. oritotalfutureqty:
  6037. description: 期初期货总量
  6038. type: number
  6039. oritotalneedhedgeqty:
  6040. description: 期初现货应套保量
  6041. type: number
  6042. type: object
  6043. models.ErmcpRole:
  6044. properties:
  6045. areauserid:
  6046. description: 所属机构
  6047. type: integer
  6048. autoid:
  6049. description: 角色ID(自增ID)
  6050. type: integer
  6051. modifierid:
  6052. description: 修改人(创建人)
  6053. type: integer
  6054. modifiername:
  6055. description: 修改人名称
  6056. type: string
  6057. modifytime:
  6058. description: 修改时间(创建时间)
  6059. type: string
  6060. rolename:
  6061. description: 角色名称
  6062. type: string
  6063. rolestatus:
  6064. description: 角色状态 - 1:启用 2:停用
  6065. type: integer
  6066. roletype:
  6067. description: 角色类型 - 1- 管理端 2- 交易端
  6068. type: integer
  6069. type: object
  6070. models.ErmcpRoleMenu:
  6071. properties:
  6072. iconame:
  6073. description: 菜单图标
  6074. type: string
  6075. ishadrole:
  6076. description: 是否有权限
  6077. type: boolean
  6078. menutype:
  6079. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6080. type: integer
  6081. parentcode:
  6082. description: 上级资源代码
  6083. type: string
  6084. remark:
  6085. description: 菜单备注
  6086. type: string
  6087. resourcecode:
  6088. description: 菜单代码
  6089. type: string
  6090. resourcelevel:
  6091. description: 级别
  6092. type: integer
  6093. resourcename:
  6094. description: 菜单名称
  6095. type: string
  6096. roleid:
  6097. description: 角色id
  6098. type: integer
  6099. sort:
  6100. description: 排序
  6101. type: integer
  6102. url:
  6103. description: URL
  6104. type: string
  6105. userid:
  6106. description: 用户id
  6107. type: integer
  6108. type: object
  6109. models.ErmcpRoleMenuEx:
  6110. properties:
  6111. menu:
  6112. $ref: '#/definitions/models.ErmcpRoleMenu'
  6113. description: 父级菜单
  6114. type: object
  6115. subMenu:
  6116. description: 子级菜单
  6117. items:
  6118. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6119. type: array
  6120. type: object
  6121. models.ErmcpTaAccount:
  6122. properties:
  6123. accountid:
  6124. description: 账户id
  6125. type: integer
  6126. accountname:
  6127. description: 账户名称
  6128. type: string
  6129. currencyid:
  6130. description: 币种id
  6131. type: integer
  6132. hedgeaccountcode:
  6133. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6134. type: string
  6135. ismain:
  6136. description: 是否主账户 0-否 1-是
  6137. type: integer
  6138. parentaccountid:
  6139. description: 父账户id
  6140. type: integer
  6141. relateduserid:
  6142. description: 关联userid
  6143. type: integer
  6144. tradestatus:
  6145. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6146. type: integer
  6147. userid:
  6148. description: 用户id
  6149. type: integer
  6150. type: object
  6151. models.ErmcpTaAccountEx:
  6152. properties:
  6153. mainAcc:
  6154. $ref: '#/definitions/models.ErmcpTaAccountM'
  6155. description: 主账号
  6156. type: object
  6157. subacclist:
  6158. description: 子账号列表
  6159. items:
  6160. $ref: '#/definitions/models.ErmcpTaAccount'
  6161. type: array
  6162. type: object
  6163. models.ErmcpTaAccountInfo:
  6164. properties:
  6165. accountid:
  6166. description: 资金账户ID
  6167. type: integer
  6168. accountname:
  6169. description: 账户名称
  6170. type: string
  6171. balance:
  6172. description: 期初余额
  6173. type: number
  6174. capitalbalance:
  6175. description: 本金余额[外部子账户实际出入金余额]
  6176. type: number
  6177. closepl:
  6178. description: 今日平仓盈亏
  6179. type: number
  6180. creditdecrease:
  6181. description: 今日授信减少
  6182. type: number
  6183. creditincrease:
  6184. description: 今日授信增加
  6185. type: number
  6186. curdebt:
  6187. description: 期末欠款
  6188. type: number
  6189. currencyid:
  6190. description: 货币ID
  6191. type: integer
  6192. currentbalance:
  6193. description: 期末余额
  6194. type: number
  6195. freezecharge:
  6196. description: 手续费冻结
  6197. type: number
  6198. freezemargin:
  6199. description: 冻结保证金
  6200. type: number
  6201. fromaccountid:
  6202. description: 所属上级账户
  6203. type: integer
  6204. inamount:
  6205. description: 今日入金金额(包括三方入金)
  6206. type: number
  6207. ismain:
  6208. description: 是否母账号 0:不是母账户 1:是母账户
  6209. type: integer
  6210. mortgagecredit:
  6211. description: 授信金额
  6212. type: number
  6213. oridebt:
  6214. description: 期初欠款
  6215. type: number
  6216. orifreezecharge:
  6217. description: 期初手续费冻结
  6218. type: number
  6219. orifreezemargin:
  6220. description: 期初冻结保证金
  6221. type: number
  6222. orimortgagecredit:
  6223. description: 期初授信金额
  6224. type: number
  6225. oriothercredit:
  6226. description: 期初其它授信金额
  6227. type: number
  6228. oriotherfreezemargin:
  6229. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6230. type: number
  6231. orioutamountfreeze:
  6232. description: 期初出金冻结
  6233. type: number
  6234. oriusedmargin:
  6235. description: 期初占用保证金
  6236. type: number
  6237. othercredit:
  6238. description: 其它授信金额
  6239. type: number
  6240. othercreditdecrease:
  6241. description: 今日其它授信减少
  6242. type: number
  6243. othercreditincrease:
  6244. description: 今日其它授信增加
  6245. type: number
  6246. otherfreezemargin:
  6247. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6248. type: number
  6249. outamount:
  6250. description: 今日出金金额(包括三方出金)
  6251. type: number
  6252. outamountfreeze:
  6253. description: 出金冻结
  6254. type: number
  6255. outthreshold:
  6256. description: 出金阈值
  6257. type: number
  6258. parentaccountid:
  6259. description: 所属根账号
  6260. type: integer
  6261. paycharge:
  6262. description: 今日手续费支出
  6263. type: number
  6264. relateduserid:
  6265. description: 关联用户
  6266. type: integer
  6267. signstatus:
  6268. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6269. type: integer
  6270. sublevelpath:
  6271. description: 账号层级路径(逗号分隔,首尾加逗号)
  6272. type: string
  6273. taaccounttype:
  6274. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6275. type: integer
  6276. thirdinamount:
  6277. description: 今日三方入金
  6278. type: number
  6279. thirdoutamount:
  6280. description: 今日三方出金
  6281. type: number
  6282. tradestatus:
  6283. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6284. type: integer
  6285. transferamount:
  6286. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6287. type: number
  6288. usedmargin:
  6289. description: 占用保证金
  6290. type: number
  6291. userid:
  6292. description: 用户ID
  6293. type: integer
  6294. type: object
  6295. models.ErmcpTaAccountM:
  6296. properties:
  6297. accountid:
  6298. description: 账户id
  6299. type: integer
  6300. accountname:
  6301. description: 账户名称
  6302. type: string
  6303. currencyid:
  6304. description: 币种id
  6305. type: integer
  6306. fcid:
  6307. description: 期货公司id
  6308. type: integer
  6309. fcname:
  6310. description: 期货公司代码
  6311. type: string
  6312. hedgeaccountcode:
  6313. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6314. type: string
  6315. ismain:
  6316. description: 是否主账户 0-否 1-是
  6317. type: integer
  6318. parentaccountid:
  6319. description: 父账户id
  6320. type: integer
  6321. relateduserid:
  6322. description: 关联userid
  6323. type: integer
  6324. tradestatus:
  6325. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6326. type: integer
  6327. userid:
  6328. description: 用户id
  6329. type: integer
  6330. type: object
  6331. models.ErmcpTradeConfigTMP:
  6332. properties:
  6333. areauserid:
  6334. description: 所属机构
  6335. type: integer
  6336. basiccurrencyid:
  6337. description: 基本币种ID[汇率] - 目标币种
  6338. type: integer
  6339. mainaccountid:
  6340. description: 主账户ID
  6341. type: integer
  6342. modifierid:
  6343. description: 修改人
  6344. type: integer
  6345. remark:
  6346. description: 备注
  6347. type: string
  6348. tradeconfigtmpid:
  6349. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6350. type: integer
  6351. tradeconfigtmpname:
  6352. description: 交易配置模板名称
  6353. type: string
  6354. tradeconfigtmptype:
  6355. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6356. type: integer
  6357. updatetime:
  6358. description: 更新时间
  6359. type: string
  6360. type: object
  6361. models.ErmcpUserModel:
  6362. properties:
  6363. address:
  6364. description: 通讯地址
  6365. type: string
  6366. attachment1:
  6367. description: 附件1
  6368. type: string
  6369. audittime:
  6370. description: 审核时间
  6371. type: string
  6372. cardbackphotourl:
  6373. description: 证件反面图片地址
  6374. type: string
  6375. cardfrontphotourl:
  6376. description: 证件正面图片地址
  6377. type: string
  6378. cardnum:
  6379. description: 证件号码
  6380. type: string
  6381. cardtype:
  6382. description: 证件类型
  6383. type: integer
  6384. cardtypename:
  6385. description: 证件类型名称
  6386. type: string
  6387. cityid:
  6388. description: 市
  6389. type: integer
  6390. contactname:
  6391. description: 联系人
  6392. type: string
  6393. countryid:
  6394. description: 国家
  6395. type: integer
  6396. createtime:
  6397. description: 创建时间
  6398. type: string
  6399. customername:
  6400. description: 企业名称
  6401. type: string
  6402. districtid:
  6403. description: 区域
  6404. type: integer
  6405. email:
  6406. description: 邮件
  6407. type: string
  6408. legalpersonname:
  6409. description: 法人姓名(企业)
  6410. type: string
  6411. memberuserid:
  6412. description: 所属机构ID
  6413. type: integer
  6414. mobile:
  6415. description: 手机号码
  6416. type: string
  6417. modifytime:
  6418. description: 修改时间
  6419. type: string
  6420. nickname:
  6421. description: 昵称
  6422. type: string
  6423. provinceid:
  6424. description: 省
  6425. type: integer
  6426. remark:
  6427. description: 备注
  6428. type: string
  6429. status:
  6430. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6431. type: integer
  6432. statusdesc:
  6433. description: 账户状态中文描述
  6434. type: string
  6435. taxpayernum:
  6436. description: 纳税人识别号
  6437. type: string
  6438. telphone:
  6439. description: 联系电话
  6440. type: string
  6441. userid:
  6442. description: 用户ID
  6443. type: integer
  6444. userinfotype:
  6445. description: 客户类型
  6446. type: string
  6447. type: object
  6448. models.ErmcpWareHouseInfo:
  6449. properties:
  6450. address:
  6451. description: 详细地址
  6452. type: string
  6453. areauserid:
  6454. description: 所属机构
  6455. type: integer
  6456. autoid:
  6457. description: 自增ID(仓库ID)
  6458. type: integer
  6459. cityid:
  6460. description: 市
  6461. type: integer
  6462. contactname:
  6463. description: 联系人
  6464. type: string
  6465. contactnum:
  6466. description: 联系电话
  6467. type: string
  6468. countryid:
  6469. description: 国家
  6470. type: integer
  6471. createtime:
  6472. description: 创建时间
  6473. type: string
  6474. districtid:
  6475. description: 区
  6476. type: integer
  6477. hasvideo:
  6478. description: 是否有视频 - 0:无 1:有
  6479. type: integer
  6480. provinceid:
  6481. description: 省
  6482. type: integer
  6483. remark:
  6484. description: 审核备注
  6485. type: string
  6486. videourl:
  6487. description: 视频地址
  6488. type: string
  6489. warehousecode:
  6490. description: 仓库代码
  6491. type: string
  6492. warehousename:
  6493. description: 仓库名称
  6494. type: string
  6495. warehousestatus:
  6496. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6497. type: integer
  6498. warehousetype:
  6499. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6500. type: integer
  6501. type: object
  6502. models.Externalexchange:
  6503. properties:
  6504. autoid:
  6505. description: AutoID - SEQ_EXTERNALEXCHANGE
  6506. type: integer
  6507. exchangefullname:
  6508. description: 外部交易所全称
  6509. type: string
  6510. exexchangecode:
  6511. description: 外部交易所代码
  6512. type: string
  6513. exexchangename:
  6514. description: 外部交易所名称(简称)
  6515. type: string
  6516. ismarketprice:
  6517. description: 是否支持市价 - 0:不支持 1:支持
  6518. type: integer
  6519. quotegear:
  6520. description: 行情档位(1-10)
  6521. type: integer
  6522. showbrokerflag:
  6523. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6524. type: integer
  6525. updatetime:
  6526. description: 更新时间
  6527. type: string
  6528. required:
  6529. - autoid
  6530. type: object
  6531. models.Funcmenulist:
  6532. properties:
  6533. iconame:
  6534. description: 菜单图标
  6535. type: string
  6536. menutype:
  6537. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6538. type: integer
  6539. parentcode:
  6540. description: 上级资源代码
  6541. type: string
  6542. remark:
  6543. description: 备注
  6544. type: string
  6545. resourcecode:
  6546. description: 资源代码
  6547. type: string
  6548. resourcelevel:
  6549. description: 级别 1-一级 2-二级 3-三级 4-四级
  6550. type: integer
  6551. resourcename:
  6552. description: 资源名
  6553. type: string
  6554. sort:
  6555. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6556. type: integer
  6557. url:
  6558. description: URL
  6559. type: string
  6560. required:
  6561. - resourcecode
  6562. type: object
  6563. models.Goods:
  6564. properties:
  6565. agreeunit:
  6566. description: 合约单位
  6567. type: number
  6568. auditaccountid:
  6569. description: 审核操作员账号
  6570. type: integer
  6571. audittime:
  6572. description: 审核时间
  6573. type: string
  6574. cancelaccountid:
  6575. description: 注销操作员账号
  6576. type: integer
  6577. canceltime:
  6578. description: 注销时间
  6579. type: string
  6580. closepricemode:
  6581. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6582. type: integer
  6583. closepriceparam:
  6584. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6585. type: number
  6586. createtime:
  6587. description: 创建时间
  6588. type: string
  6589. creatorid:
  6590. description: 创建人
  6591. type: integer
  6592. currencyid:
  6593. description: 报价货币ID
  6594. type: integer
  6595. cutmode:
  6596. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6597. type: integer
  6598. decimalplace:
  6599. description: 报价小数位
  6600. type: integer
  6601. delistingdate:
  6602. description: 商品退市时间(状态:退市) -- 已作废
  6603. type: string
  6604. delistingmode:
  6605. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6606. type: integer
  6607. deliveryflag:
  6608. description: 交割标志 - 0:不可交割 1:可交割
  6609. type: integer
  6610. forceclosemode:
  6611. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6612. type: integer
  6613. forceclosevalue:
  6614. description: 定期强平参数 [收益权]
  6615. type: integer
  6616. goodscode:
  6617. description: 商品代码(内部)
  6618. type: string
  6619. goodscurrencyid:
  6620. description: 合约货币ID
  6621. type: integer
  6622. goodsgroupid:
  6623. description: 所属商品组ID
  6624. type: integer
  6625. goodsid:
  6626. description: 商品ID(自增ID SEQ_GOODS)
  6627. type: integer
  6628. goodsname:
  6629. description: 商品名称
  6630. type: string
  6631. goodsquotetype:
  6632. description: '合约报价类型: 1-直接报价 2-间接报价'
  6633. type: integer
  6634. goodsstatus:
  6635. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6636. type: integer
  6637. goodstradetype:
  6638. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6639. type: integer
  6640. goodunitid:
  6641. description: 报价单位ID
  6642. type: integer
  6643. hasquoter:
  6644. description: 是否有报价商 - 0:无报价商 1:有报价商
  6645. type: integer
  6646. hqprotecttime:
  6647. description: 行情保护时间(秒)
  6648. type: integer
  6649. innerdealmode:
  6650. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6651. type: integer
  6652. isbuylimited:
  6653. description: 是否限制建仓量 - 0:不限制 1:限制
  6654. type: integer
  6655. lasttradedate:
  6656. description: 最后交易日期(状态:待退市)
  6657. type: string
  6658. listingdate:
  6659. description: 交易开始日期
  6660. type: string
  6661. marketid:
  6662. description: 所属市场ID
  6663. type: integer
  6664. modifierid:
  6665. description: 修改人
  6666. type: integer
  6667. modifystatus:
  6668. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6669. type: integer
  6670. modifytime:
  6671. description: 修改时间
  6672. type: string
  6673. outerdealmode:
  6674. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6675. type: integer
  6676. outgoodscode:
  6677. description: 商品代码(外部)
  6678. type: string
  6679. qtydecimalplace:
  6680. description: 成交量小数位
  6681. type: integer
  6682. quotegear:
  6683. description: 行情档位(1-10)
  6684. type: integer
  6685. quoteminunit:
  6686. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6687. type: integer
  6688. quoteshowtype:
  6689. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6690. type: integer
  6691. quoteshowtypeinterval:
  6692. description: 行情报价间隔时间(秒)(成交价时为0)
  6693. type: integer
  6694. remark:
  6695. description: 备注
  6696. type: string
  6697. required:
  6698. - goodscode
  6699. - goodsid
  6700. - goodsname
  6701. - marketid
  6702. type: object
  6703. models.GoodsIDAndName:
  6704. properties:
  6705. goodscode:
  6706. description: 商品代码(内部)
  6707. type: string
  6708. goodsid:
  6709. description: 商品ID(自增ID SEQ_GOODS)
  6710. type: integer
  6711. goodsname:
  6712. description: 商品名称
  6713. type: string
  6714. marketid:
  6715. description: 所属市场ID
  6716. type: integer
  6717. required:
  6718. - goodscode
  6719. - goodsid
  6720. - goodsname
  6721. - marketid
  6722. type: object
  6723. models.Goodsgroup:
  6724. properties:
  6725. agreeunit:
  6726. description: 合约单位
  6727. type: number
  6728. canshort:
  6729. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6730. type: integer
  6731. closepricemode:
  6732. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6733. type: integer
  6734. closepriceparam:
  6735. description: 强平最新价浮动比例 - 方式为2时使用
  6736. type: number
  6737. createtime:
  6738. description: 创建时间
  6739. type: string
  6740. creatorid:
  6741. description: 创建人
  6742. type: integer
  6743. currencyid:
  6744. description: 报价货币ID
  6745. type: integer
  6746. decimalplace:
  6747. description: 报价小数位
  6748. type: integer
  6749. exercisetype:
  6750. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  6751. type: integer
  6752. exexchangeid:
  6753. description: 外部交易所ID[通道交易]
  6754. type: integer
  6755. goodsgroupid:
  6756. description: 商品组ID(自增ID)
  6757. type: integer
  6758. goodsgroupname:
  6759. description: 商品组名称
  6760. type: string
  6761. goodsgroupstatus:
  6762. description: 商品组状态 - 1:正常 2:注销
  6763. type: integer
  6764. goodunitid:
  6765. description: 报价单位ID
  6766. type: integer
  6767. innerdealmode:
  6768. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6769. type: integer
  6770. isbuylimited:
  6771. description: 是否限制建仓量 - 0:不限制 1:限制
  6772. type: integer
  6773. marketid:
  6774. description: 所属市场ID
  6775. type: integer
  6776. modifierid:
  6777. description: 修改人
  6778. type: integer
  6779. modifytime:
  6780. description: 修改时间
  6781. type: string
  6782. outerdealmode:
  6783. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6784. type: integer
  6785. outergroupcode:
  6786. description: 外部商品组代码[通道交易]
  6787. type: string
  6788. premiumdecimalplace:
  6789. description: 权利金小数位[场外期权]
  6790. type: integer
  6791. premiumspreadalgorithm:
  6792. description: 权利金点差方式[场外期权] 1:比率 2:固定
  6793. type: integer
  6794. premiumspreadvalue:
  6795. description: 权利金点差值[场外期权]
  6796. type: number
  6797. qtydecimalplace:
  6798. description: 成交量小数位
  6799. type: integer
  6800. quotegear:
  6801. description: 行情档位(1-10)
  6802. type: integer
  6803. quoteminunit:
  6804. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6805. type: integer
  6806. quoterid:
  6807. description: 报价商ID[场外期权]
  6808. type: integer
  6809. quotesourcegroupid:
  6810. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6811. type: integer
  6812. syncgoodsqty:
  6813. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6814. type: integer
  6815. required:
  6816. - goodsgroupid
  6817. - goodsgroupname
  6818. - goodsgroupstatus
  6819. - marketid
  6820. type: object
  6821. models.Goodssortbypreposition:
  6822. properties:
  6823. goodscode:
  6824. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  6825. type: string
  6826. goodsgroupcode:
  6827. description: 品种代码
  6828. type: string
  6829. prepositionqty:
  6830. description: 昨持仓量
  6831. type: integer
  6832. sortindex:
  6833. description: 排序
  6834. type: integer
  6835. tradedate:
  6836. description: 交易日
  6837. type: string
  6838. updatetime:
  6839. description: 更新时间
  6840. type: string
  6841. required:
  6842. - goodscode
  6843. - tradedate
  6844. type: object
  6845. models.Hedgeinnerholderdetail:
  6846. properties:
  6847. accountid:
  6848. description: 账号ID
  6849. type: integer
  6850. buyorsell:
  6851. description: 方向 - 0:买 1:卖
  6852. type: integer
  6853. freezeqty:
  6854. description: 冻结数量 - 按单平使用
  6855. type: integer
  6856. goodsid:
  6857. description: 商品ID
  6858. type: integer
  6859. holderamount:
  6860. description: 持仓金额 [商品币种]
  6861. type: number
  6862. holderdays:
  6863. description: 剩余冻结天数
  6864. type: integer
  6865. holderprice:
  6866. description: 持仓价格
  6867. type: number
  6868. holderqty:
  6869. description: 持仓数量
  6870. type: integer
  6871. marketid:
  6872. description: 市场ID
  6873. type: integer
  6874. openprice:
  6875. description: 建仓价格
  6876. type: number
  6877. openqty:
  6878. description: 建仓数量
  6879. type: integer
  6880. parentaccountid:
  6881. description: 所属母账户
  6882. type: integer
  6883. releaseamount:
  6884. description: 释放持仓金额[商品币种]
  6885. type: number
  6886. tradeamount:
  6887. description: 成交金额[账户]
  6888. type: number
  6889. tradedate:
  6890. description: 交易日(yyyyMMdd)
  6891. type: string
  6892. tradeid:
  6893. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6894. type: string
  6895. tradetime:
  6896. description: 交易时间
  6897. type: string
  6898. required:
  6899. - buyorsell
  6900. - tradeid
  6901. type: object
  6902. models.Hedgemarketopenlog:
  6903. properties:
  6904. accountid:
  6905. description: 资金账号[外部母账户]
  6906. type: integer
  6907. fcname:
  6908. description: 期货公司名称
  6909. type: string
  6910. handlestatus:
  6911. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  6912. type: integer
  6913. marketid:
  6914. description: 市场ID
  6915. type: integer
  6916. status:
  6917. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  6918. type: integer
  6919. tradedate:
  6920. description: 交易日(yyyyMMdd)
  6921. type: string
  6922. updatetime:
  6923. description: 更新时间
  6924. type: string
  6925. required:
  6926. - accountid
  6927. type: object
  6928. models.HsbyBuyMyPayOrder:
  6929. properties:
  6930. agreeunit:
  6931. description: 合约单位
  6932. type: number
  6933. buyaccountid:
  6934. description: 买方账号ID[报价币种]
  6935. type: integer
  6936. buyorderid:
  6937. description: 买方委托单号
  6938. type: string
  6939. createtime:
  6940. description: 创建时间
  6941. type: string
  6942. currencysign:
  6943. description: 货币符号
  6944. type: string
  6945. decimalplace:
  6946. description: 报价小数位
  6947. type: integer
  6948. goodscode:
  6949. description: 商品代码(内部)
  6950. type: string
  6951. goodsid:
  6952. description: 商品ID
  6953. type: integer
  6954. goodsname:
  6955. description: 商品名称
  6956. type: string
  6957. marketid:
  6958. description: 市场ID
  6959. type: integer
  6960. offamount:
  6961. description: 优惠金额
  6962. type: number
  6963. originalamount:
  6964. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  6965. type: number
  6966. payamount:
  6967. description: 支付金额 = TradeAmount + TradeCharge
  6968. type: number
  6969. payflag:
  6970. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6971. type: integer
  6972. paylimitedtime:
  6973. description: 支付期限
  6974. type: string
  6975. paytime:
  6976. description: 付款时间
  6977. type: string
  6978. picurls1:
  6979. description: 预售商品介绍图片[多张用逗号分隔]
  6980. type: string
  6981. picurls2:
  6982. description: 挂牌商品介绍图片[多张用逗号分隔]
  6983. type: string
  6984. sellaccountid:
  6985. description: 卖方账号ID[报价币种]
  6986. type: integer
  6987. sellorderid:
  6988. description: 卖方委托单号
  6989. type: string
  6990. tradeamount:
  6991. description: 成交金额
  6992. type: number
  6993. tradecharge:
  6994. description: 成交手续费(买方)
  6995. type: number
  6996. tradedate:
  6997. description: 交易日(yyyyMMdd)
  6998. type: string
  6999. tradeid:
  7000. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7001. type: string
  7002. trademode:
  7003. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7004. 21:竞拍-大宗式 22:受托竞价
  7005. type: integer
  7006. tradeprice:
  7007. description: 成交价格
  7008. type: number
  7009. tradeqty:
  7010. description: 成交数量
  7011. type: integer
  7012. vendorname1:
  7013. description: 预售商品供应商名称
  7014. type: string
  7015. vendorname2:
  7016. description: 挂牌商品供应商名称
  7017. type: string
  7018. required:
  7019. - goodscode
  7020. - goodsname
  7021. - tradeid
  7022. - trademode
  7023. type: object
  7024. models.HsbyBuyMyTradeDetail:
  7025. properties:
  7026. accountid:
  7027. description: 账户ID[报价币种]
  7028. type: integer
  7029. agreeunit:
  7030. description: 合约单位
  7031. type: number
  7032. amount:
  7033. description: 金额 = 价格 * 数量 * 合约单位
  7034. type: number
  7035. buyorsell:
  7036. description: 买卖 - 0:买 1:卖
  7037. type: integer
  7038. currencysign:
  7039. description: 货币符号
  7040. type: string
  7041. decimalplace:
  7042. description: 报价小数位
  7043. type: integer
  7044. goodscode:
  7045. description: 商品代码(内部)
  7046. type: string
  7047. goodsid:
  7048. description: 商品ID
  7049. type: integer
  7050. goodsname:
  7051. description: 商品名称
  7052. type: string
  7053. marketid:
  7054. description: 市场ID
  7055. type: integer
  7056. orderamount:
  7057. description: 委托金额
  7058. type: number
  7059. orderid:
  7060. description: 单号(成交单号)
  7061. type: string
  7062. picurls1:
  7063. description: 预售商品介绍图片[多张用逗号分隔]
  7064. type: string
  7065. picurls2:
  7066. description: 挂牌商品介绍图片[多张用逗号分隔]
  7067. type: string
  7068. price:
  7069. description: 价格
  7070. type: number
  7071. qty:
  7072. description: 数量
  7073. type: integer
  7074. time:
  7075. description: 时间
  7076. type: string
  7077. trademode:
  7078. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7079. 21:竞拍-大宗式 22:受托竞价
  7080. type: integer
  7081. vendorname1:
  7082. description: 预售商品供应商名称
  7083. type: string
  7084. vendorname2:
  7085. description: 挂牌商品供应商名称
  7086. type: string
  7087. required:
  7088. - accountid
  7089. - buyorsell
  7090. - goodscode
  7091. - goodsid
  7092. - goodsname
  7093. - marketid
  7094. - orderid
  7095. - qty
  7096. - time
  7097. - trademode
  7098. type: object
  7099. models.HsbyGoodsOrderDetail:
  7100. properties:
  7101. buyorsell:
  7102. description: 买卖 - 0:买 1:卖
  7103. type: integer
  7104. currencysign:
  7105. description: 货币符号
  7106. type: string
  7107. customername:
  7108. description: 客户名称(企业名称),已脱敏
  7109. type: string
  7110. enableqty:
  7111. description: 可用数量
  7112. type: integer
  7113. goodunit:
  7114. description: 报价单位
  7115. type: string
  7116. orderid:
  7117. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7118. type: string
  7119. orderprice:
  7120. description: 委托价格
  7121. type: number
  7122. ordertime:
  7123. description: 委托时间
  7124. type: string
  7125. required:
  7126. - buyorsell
  7127. - orderid
  7128. - ordertime
  7129. type: object
  7130. models.HsbyListingGoodsDetail:
  7131. properties:
  7132. agreeunit:
  7133. description: 合约单位
  7134. type: number
  7135. buymaxqty:
  7136. description: 购买上限 [71] - 0为不限
  7137. type: integer
  7138. currency:
  7139. description: 货币
  7140. type: string
  7141. currencysign:
  7142. description: 货币符号
  7143. type: string
  7144. decimalplace:
  7145. description: 报价小数位
  7146. type: integer
  7147. desccityid:
  7148. description: 目的地(市)ID
  7149. type: integer
  7150. descprovinceid:
  7151. description: 目的地(省)ID
  7152. type: integer
  7153. goodscode:
  7154. description: 商品代码(内部)
  7155. type: string
  7156. goodsdesc:
  7157. description: 商品详情
  7158. type: string
  7159. goodsid:
  7160. description: 商品ID(自增ID SEQ_GOODS)
  7161. type: integer
  7162. goodsname:
  7163. description: 商品名称
  7164. type: string
  7165. goodsprice:
  7166. description: 商品价格
  7167. type: number
  7168. hotindex:
  7169. description: 景点热度
  7170. type: integer
  7171. last:
  7172. description: 现价
  7173. type: number
  7174. limitdown:
  7175. description: 跌停价
  7176. type: number
  7177. limitup:
  7178. description: 涨停价
  7179. type: number
  7180. lotsize:
  7181. description: 手数最小变动单位
  7182. type: integer
  7183. marketid:
  7184. description: 所属市场ID
  7185. type: integer
  7186. picurls:
  7187. description: 介绍图片[多张用逗号分隔]
  7188. type: string
  7189. quoteminunit:
  7190. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7191. type: integer
  7192. stepvalue:
  7193. description: 价格最小变动单位
  7194. type: number
  7195. trademode:
  7196. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7197. 21:竞拍-大宗式 22:受托竞价
  7198. type: integer
  7199. vendorattr:
  7200. description: 供应商附件(多张,逗号分隔)
  7201. type: string
  7202. vendorname:
  7203. description: 供应商名称
  7204. type: string
  7205. vendorphone:
  7206. description: 供应商客服电话
  7207. type: string
  7208. videourls:
  7209. description: 介绍视频[多张用逗号分隔]
  7210. type: string
  7211. required:
  7212. - goodscode
  7213. - goodsid
  7214. - goodsname
  7215. - marketid
  7216. - trademode
  7217. type: object
  7218. models.HsbyMarketGoods:
  7219. properties:
  7220. accountid:
  7221. description: 账户ID[报价币种]
  7222. type: integer
  7223. agreeunit:
  7224. description: 合约单位
  7225. type: number
  7226. buyorsell:
  7227. description: 买卖 - 0:买 1:卖
  7228. type: integer
  7229. categoryid:
  7230. description: 类别ID(WRCATEGORY)
  7231. type: integer
  7232. currency:
  7233. description: 货币
  7234. type: string
  7235. currencysign:
  7236. description: 货币符号
  7237. type: string
  7238. customername:
  7239. description: 卖家名称
  7240. type: string
  7241. decimalplace:
  7242. description: 报价小数位
  7243. type: integer
  7244. goodscode:
  7245. description: 商品代码(内部)
  7246. type: string
  7247. goodsid:
  7248. description: 商品ID
  7249. type: integer
  7250. goodsname:
  7251. description: 商品名称
  7252. type: string
  7253. goodsprice:
  7254. description: 商品价格
  7255. type: number
  7256. hascoupon:
  7257. description: 是否可用优惠卷
  7258. type: boolean
  7259. hotindex:
  7260. description: 景点热度
  7261. type: integer
  7262. marketid:
  7263. description: 市场ID
  7264. type: integer
  7265. orderid:
  7266. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7267. type: string
  7268. orderprice:
  7269. description: 委托价格
  7270. type: number
  7271. orderstatus:
  7272. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7273. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7274. 16:成交失败违约(荷兰式竞拍专用)
  7275. type: integer
  7276. picurls:
  7277. description: 介绍图片[多张用逗号分隔]
  7278. type: string
  7279. quoteminunit:
  7280. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7281. type: integer
  7282. sellUserID:
  7283. description: 卖方UserID
  7284. type: integer
  7285. trademode:
  7286. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7287. 21:竞拍-大宗式 22:受托竞价
  7288. type: integer
  7289. videourls:
  7290. description: 介绍视频[多张用逗号分隔]
  7291. type: string
  7292. required:
  7293. - accountid
  7294. - buyorsell
  7295. - goodscode
  7296. - goodsid
  7297. - goodsname
  7298. - marketid
  7299. - orderid
  7300. - trademode
  7301. type: object
  7302. models.HsbyMarketGoodsDetail:
  7303. properties:
  7304. accountid:
  7305. description: 账户ID[报价币种]
  7306. type: integer
  7307. agreeunit:
  7308. description: 合约单位
  7309. type: number
  7310. buymaxqty:
  7311. description: 购买上限 [71] - 0为不限
  7312. type: integer
  7313. buyorsell:
  7314. description: 买卖 - 0:买 1:卖
  7315. type: integer
  7316. cancelqty:
  7317. description: 撤单数量
  7318. type: integer
  7319. categoryid:
  7320. description: 类别ID(WRCATEGORY)
  7321. type: integer
  7322. currency:
  7323. description: 货币
  7324. type: string
  7325. currencysign:
  7326. description: 货币符号
  7327. type: string
  7328. customername:
  7329. description: 卖家名称
  7330. type: string
  7331. decimalplace:
  7332. description: 报价小数位
  7333. type: integer
  7334. goodscode:
  7335. description: 商品代码(内部)
  7336. type: string
  7337. goodsdesc:
  7338. description: 商品详情
  7339. type: string
  7340. goodsid:
  7341. description: 商品ID
  7342. type: integer
  7343. goodsname:
  7344. description: 商品名称
  7345. type: string
  7346. goodsprice:
  7347. description: 商品价格
  7348. type: number
  7349. hotindex:
  7350. description: 景点热度
  7351. type: integer
  7352. lotsize:
  7353. description: 手数最小变动单位
  7354. type: integer
  7355. marketid:
  7356. description: 市场ID
  7357. type: integer
  7358. orderid:
  7359. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7360. type: string
  7361. orderprice:
  7362. description: 委托价格
  7363. type: number
  7364. orderqty:
  7365. description: 委托数量
  7366. type: integer
  7367. orderstatus:
  7368. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7369. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7370. 16:成交失败违约(荷兰式竞拍专用)
  7371. type: integer
  7372. picurls:
  7373. description: 介绍图片[多张用逗号分隔]
  7374. type: string
  7375. quoteminunit:
  7376. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7377. type: integer
  7378. sellUserID:
  7379. description: 卖方UserID
  7380. type: integer
  7381. trademode:
  7382. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7383. 21:竞拍-大宗式 22:受托竞价
  7384. type: integer
  7385. tradeqty:
  7386. description: 成交数量
  7387. type: integer
  7388. vendorattr:
  7389. description: 供应商附件(多张,逗号分隔)
  7390. type: string
  7391. vendorname:
  7392. description: 供应商名称
  7393. type: string
  7394. vendorphone:
  7395. description: 供应商客服电话
  7396. type: string
  7397. videourls:
  7398. description: 介绍视频[多张用逗号分隔]
  7399. type: string
  7400. required:
  7401. - accountid
  7402. - buyorsell
  7403. - goodscode
  7404. - goodsid
  7405. - goodsname
  7406. - marketid
  7407. - orderid
  7408. - orderqty
  7409. - trademode
  7410. type: object
  7411. models.HsbyMarketInfo:
  7412. properties:
  7413. marketid:
  7414. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7415. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7416. type: integer
  7417. marketname:
  7418. description: 市场名称
  7419. type: string
  7420. marketstatus:
  7421. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7422. type: integer
  7423. trademode:
  7424. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7425. 21:竞拍-大宗式 22:受托竞价
  7426. type: integer
  7427. required:
  7428. - marketid
  7429. - marketstatus
  7430. - trademode
  7431. type: object
  7432. models.HsbyMyGoods:
  7433. properties:
  7434. accountid:
  7435. description: 账号Id
  7436. type: integer
  7437. agreeunit:
  7438. description: 合约单位
  7439. type: number
  7440. buyaverageprice:
  7441. description: 持仓均价
  7442. type: number
  7443. buycurholderamount:
  7444. description: 买当前持仓总金额[商品币种]
  7445. type: number
  7446. buycurpositionqty:
  7447. description: 买当前持仓总数量
  7448. type: integer
  7449. buymaxqty:
  7450. description: 购买上限 [71] - 0为不限
  7451. type: integer
  7452. currencysign:
  7453. description: 货币符号
  7454. type: string
  7455. decimalplace:
  7456. description: 报价小数位
  7457. type: integer
  7458. enableqty:
  7459. description: 可用数量
  7460. type: integer
  7461. goodscode:
  7462. description: 商品代码(内部)
  7463. type: string
  7464. goodsid:
  7465. description: 商品Id
  7466. type: integer
  7467. goodsname:
  7468. description: 商品名称
  7469. type: string
  7470. goodsprice:
  7471. description: 商品价格
  7472. type: number
  7473. goodsstatus:
  7474. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7475. type: integer
  7476. last:
  7477. description: 现价(仅使用于挂牌点选)
  7478. type: number
  7479. limitdown:
  7480. description: 跌停价(仅使用于挂牌点选)
  7481. type: number
  7482. limitup:
  7483. description: 涨停价(仅使用于挂牌点选)
  7484. type: number
  7485. lotsize:
  7486. description: 手数最小变动单位
  7487. type: integer
  7488. marketid:
  7489. description: 所属市场ID
  7490. type: integer
  7491. picurls:
  7492. description: 介绍图片[多张用逗号分隔]
  7493. type: string
  7494. quoteminunit:
  7495. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7496. type: integer
  7497. stepvalue:
  7498. description: 价格最小变动单位
  7499. type: number
  7500. trademode:
  7501. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7502. 21:竞拍-大宗式 22:受托竞价
  7503. type: integer
  7504. required:
  7505. - accountid
  7506. - goodscode
  7507. - goodsid
  7508. - goodsname
  7509. - marketid
  7510. - trademode
  7511. type: object
  7512. models.HsbyMyPackage:
  7513. properties:
  7514. accountid:
  7515. description: 账户ID
  7516. type: integer
  7517. address:
  7518. description: 提货人详细地址
  7519. type: string
  7520. agreeunit:
  7521. description: 合约单位
  7522. type: number
  7523. amount:
  7524. description: 提货金额
  7525. type: number
  7526. auditer:
  7527. description: 审核人
  7528. type: integer
  7529. audittime:
  7530. description: 审核时间
  7531. type: string
  7532. averageprice:
  7533. description: 均价
  7534. type: number
  7535. cardnum:
  7536. description: 提货人证件号码
  7537. type: string
  7538. cardtypeid:
  7539. description: 提货人证件类型
  7540. type: integer
  7541. checkremark:
  7542. description: 审核备注
  7543. type: string
  7544. currencysign:
  7545. description: 货币符号
  7546. type: string
  7547. decimalplace:
  7548. description: 报价小数位
  7549. type: integer
  7550. goodscode:
  7551. description: 商品代码(内部)
  7552. type: string
  7553. goodsid:
  7554. description: 商品ID
  7555. type: integer
  7556. goodsname:
  7557. description: 商品名称
  7558. type: string
  7559. handlestatus:
  7560. description: 处理状态
  7561. type: integer
  7562. marketid:
  7563. description: 市场ID
  7564. type: integer
  7565. phonenum:
  7566. description: 提货人联系方式
  7567. type: string
  7568. picurls:
  7569. description: 介绍图片[多张用逗号分隔]
  7570. type: string
  7571. qty:
  7572. description: 提货数量
  7573. type: number
  7574. recivername:
  7575. description: 提货人姓名
  7576. type: string
  7577. reqtime:
  7578. description: 更新时间
  7579. type: string
  7580. takemode:
  7581. description: 提货方式 - 2:自提 3:配送
  7582. type: integer
  7583. takeorderid:
  7584. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7585. type: string
  7586. takeorderstatus:
  7587. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7588. type: integer
  7589. takeremark:
  7590. description: 提货备注
  7591. type: string
  7592. tradedate:
  7593. description: 交易日(yyyyMMdd)
  7594. type: string
  7595. trademode:
  7596. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7597. 21:竞拍-大宗式 22:受托竞价
  7598. type: integer
  7599. userid:
  7600. description: 用户ID
  7601. type: integer
  7602. vendorname:
  7603. description: 供应商名称
  7604. type: string
  7605. required:
  7606. - goodscode
  7607. - goodsname
  7608. - takeorderid
  7609. - trademode
  7610. type: object
  7611. models.HsbyPreGoods:
  7612. properties:
  7613. agreeunit:
  7614. description: 合约单位
  7615. type: number
  7616. currency:
  7617. description: 货币
  7618. type: string
  7619. currencysign:
  7620. description: 货币符号
  7621. type: string
  7622. decimalplace:
  7623. description: 报价小数位
  7624. type: integer
  7625. desccityid:
  7626. description: 目的地(市)
  7627. type: integer
  7628. descprovinceid:
  7629. description: 目的地(省)
  7630. type: integer
  7631. enableqty:
  7632. description: 剩余数量
  7633. type: integer
  7634. goodscode:
  7635. description: 商品代码(内部)
  7636. type: string
  7637. goodsid:
  7638. description: 商品ID(自增ID SEQ_GOODS)
  7639. type: integer
  7640. goodsname:
  7641. description: 商品名称
  7642. type: string
  7643. goodsstatus:
  7644. description: 商品状态- 2:未上市 3:上市
  7645. type: integer
  7646. lasttradedate:
  7647. description: 最后交易日期(状态:待退市)
  7648. type: string
  7649. listingdate:
  7650. description: 交易开始日期
  7651. type: string
  7652. marketid:
  7653. description: 所属市场ID
  7654. type: integer
  7655. picurls:
  7656. description: 介绍图片[多张用逗号分隔]
  7657. type: string
  7658. presaledqty:
  7659. description: 已预售量(预售结束时更新)
  7660. type: integer
  7661. presaleqty:
  7662. description: 预售数量
  7663. type: integer
  7664. quoteminunit:
  7665. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7666. type: integer
  7667. refprice:
  7668. description: 参考价格[一口价]
  7669. type: number
  7670. relatedgoodsid:
  7671. description: 关联交易合约ID
  7672. type: integer
  7673. trademode:
  7674. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7675. 21:竞拍-大宗式 22:受托竞价
  7676. type: integer
  7677. videourls:
  7678. description: 介绍视频[多张用逗号分隔]
  7679. type: string
  7680. required:
  7681. - goodscode
  7682. - goodsid
  7683. - goodsname
  7684. - marketid
  7685. - trademode
  7686. type: object
  7687. models.HsbyPreGoodsDetail:
  7688. properties:
  7689. agreeunit:
  7690. description: 合约单位
  7691. type: number
  7692. buymaxqty:
  7693. description: 购买上限 [71] - 0为不限
  7694. type: integer
  7695. currency:
  7696. description: 货币
  7697. type: string
  7698. currencysign:
  7699. description: 货币符号
  7700. type: string
  7701. customername:
  7702. description: 发行单位
  7703. type: string
  7704. decimalplace:
  7705. description: 报价小数位
  7706. type: integer
  7707. desccityid:
  7708. description: 目的地(市)ID
  7709. type: integer
  7710. descprovinceid:
  7711. description: 目的地(省)ID
  7712. type: integer
  7713. enableqty:
  7714. description: 剩余数量
  7715. type: integer
  7716. goodscode:
  7717. description: 商品代码(内部)
  7718. type: string
  7719. goodsdesc:
  7720. description: 商品详情
  7721. type: string
  7722. goodsid:
  7723. description: 商品ID(自增ID SEQ_GOODS)
  7724. type: integer
  7725. goodsname:
  7726. description: 商品名称
  7727. type: string
  7728. goodsstatus:
  7729. description: 商品状态- 2:未上市 3:上市
  7730. type: integer
  7731. goodunit:
  7732. description: 报价单位
  7733. type: string
  7734. lasttradedate:
  7735. description: 最后交易日期(状态:待退市)
  7736. type: string
  7737. listingdate:
  7738. description: 交易开始日期
  7739. type: string
  7740. lotsize:
  7741. description: 手数最小变动单位
  7742. type: integer
  7743. marketid:
  7744. description: 所属市场ID
  7745. type: integer
  7746. picurls:
  7747. description: 介绍图片[多张用逗号分隔]
  7748. type: string
  7749. presaledqty:
  7750. description: 已预售量(预售结束时更新)
  7751. type: integer
  7752. presaleqty:
  7753. description: 预售数量
  7754. type: integer
  7755. quoteminunit:
  7756. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7757. type: integer
  7758. refprice:
  7759. description: 参考价格[一口价]
  7760. type: number
  7761. relatedgoodsid:
  7762. description: 关联交易合约ID
  7763. type: integer
  7764. stepvalue:
  7765. description: 价格最小变动单位
  7766. type: number
  7767. trademode:
  7768. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7769. 21:竞拍-大宗式 22:受托竞价
  7770. type: integer
  7771. vendorattr:
  7772. description: 供应商附件(多张,逗号分隔)
  7773. type: string
  7774. vendorname:
  7775. description: 供应商名称
  7776. type: string
  7777. vendorphone:
  7778. description: 供应商客服电话
  7779. type: string
  7780. videourls:
  7781. description: 介绍视频[多张用逗号分隔]
  7782. type: string
  7783. required:
  7784. - goodscode
  7785. - goodsid
  7786. - goodsname
  7787. - marketid
  7788. - trademode
  7789. type: object
  7790. models.HsbySellCollectionOrder:
  7791. properties:
  7792. agreeunit:
  7793. description: 合约单位
  7794. type: number
  7795. buyaccountid:
  7796. description: 买方账号ID[报价币种]
  7797. type: integer
  7798. buyorderid:
  7799. description: 买方委托单号
  7800. type: string
  7801. createtime:
  7802. description: 创建时间
  7803. type: string
  7804. currencysign:
  7805. description: 货币符号
  7806. type: string
  7807. decimalplace:
  7808. description: 报价小数位
  7809. type: integer
  7810. goodscode:
  7811. description: 商品代码(内部)
  7812. type: string
  7813. goodsid:
  7814. description: 商品ID
  7815. type: integer
  7816. goodsname:
  7817. description: 商品名称
  7818. type: string
  7819. marketid:
  7820. description: 市场ID
  7821. type: integer
  7822. offamount:
  7823. description: 优惠金额
  7824. type: number
  7825. payamount:
  7826. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  7827. type: number
  7828. payflag:
  7829. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7830. type: integer
  7831. paylimitedtime:
  7832. description: 支付期限
  7833. type: string
  7834. paytime:
  7835. description: 付款时间
  7836. type: string
  7837. picurls:
  7838. description: 商品介绍图片[多张用逗号分隔]
  7839. type: string
  7840. sellaccountid:
  7841. description: 卖方账号ID[报价币种]
  7842. type: integer
  7843. sellorderid:
  7844. description: 卖方委托单号
  7845. type: string
  7846. tradeamount:
  7847. description: 成交金额
  7848. type: number
  7849. tradecharge:
  7850. description: 成交手续费(买方)
  7851. type: number
  7852. tradedate:
  7853. description: 交易日(yyyyMMdd)
  7854. type: string
  7855. tradeid:
  7856. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7857. type: string
  7858. trademode:
  7859. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7860. 21:竞拍-大宗式 22:受托竞价
  7861. type: integer
  7862. tradeprice:
  7863. description: 成交价格
  7864. type: number
  7865. tradeqty:
  7866. description: 成交数量
  7867. type: integer
  7868. required:
  7869. - goodscode
  7870. - goodsname
  7871. - tradeid
  7872. - trademode
  7873. type: object
  7874. models.HsbySellMyDetail:
  7875. properties:
  7876. accountid:
  7877. description: 账户ID[报价币种]
  7878. type: integer
  7879. agreeunit:
  7880. description: 合约单位
  7881. type: number
  7882. buyorsell:
  7883. description: 买卖 - 0:买 1:卖
  7884. type: integer
  7885. currencysign:
  7886. description: 货币符号
  7887. type: string
  7888. decimalplace:
  7889. description: 报价小数位
  7890. type: integer
  7891. goodscode:
  7892. description: 商品代码(内部)
  7893. type: string
  7894. goodsid:
  7895. description: 商品ID
  7896. type: integer
  7897. goodsname:
  7898. description: 商品名称
  7899. type: string
  7900. marketid:
  7901. description: 市场ID
  7902. type: integer
  7903. orderid:
  7904. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  7905. type: string
  7906. ordertype:
  7907. description: 单据类型:0 - 发布中, 1 - 已完成
  7908. type: integer
  7909. picurls:
  7910. description: 介绍图片[多张用逗号分隔]
  7911. type: string
  7912. price:
  7913. description: 价格
  7914. type: number
  7915. qty:
  7916. description: 数量
  7917. type: integer
  7918. time:
  7919. description: 时间
  7920. type: string
  7921. trademode:
  7922. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7923. 21:竞拍-大宗式 22:受托竞价
  7924. type: integer
  7925. vendorname:
  7926. description: 供应商名称
  7927. type: string
  7928. required:
  7929. - accountid
  7930. - buyorsell
  7931. - goodscode
  7932. - goodsid
  7933. - goodsname
  7934. - marketid
  7935. - orderid
  7936. - time
  7937. - trademode
  7938. type: object
  7939. models.HsbyTopGoods:
  7940. properties:
  7941. agreeunit:
  7942. description: 合约单位
  7943. type: number
  7944. currency:
  7945. description: 货币
  7946. type: string
  7947. currencysign:
  7948. description: 货币符号
  7949. type: string
  7950. decimalplace:
  7951. description: 报价小数位
  7952. type: integer
  7953. desccityid:
  7954. description: 目的地(市)
  7955. type: integer
  7956. descprovinceid:
  7957. description: 目的地(省)
  7958. type: integer
  7959. goodscode:
  7960. description: 商品代码(内部)
  7961. type: string
  7962. goodsid:
  7963. description: 商品ID(自增ID SEQ_GOODS)
  7964. type: integer
  7965. goodsname:
  7966. description: 商品名称
  7967. type: string
  7968. hotindex:
  7969. description: 景点热度
  7970. type: integer
  7971. last:
  7972. description: 现价
  7973. type: number
  7974. marketid:
  7975. description: 所属市场ID
  7976. type: integer
  7977. picurls:
  7978. description: 介绍图片[多张用逗号分隔]
  7979. type: string
  7980. quoteminunit:
  7981. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7982. type: integer
  7983. trademode:
  7984. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7985. 21:竞拍-大宗式 22:受托竞价
  7986. type: integer
  7987. videourls:
  7988. description: 介绍视频[多张用逗号分隔]
  7989. type: string
  7990. required:
  7991. - goodscode
  7992. - goodsid
  7993. - goodsname
  7994. - marketid
  7995. - trademode
  7996. type: object
  7997. models.HybsMyBuyOrderDetail:
  7998. properties:
  7999. accountid:
  8000. description: 账户ID[报价币种]
  8001. type: integer
  8002. agreeunit:
  8003. description: 合约单位
  8004. type: number
  8005. buyorsell:
  8006. description: 买卖 - 0:买 1:卖
  8007. type: integer
  8008. cancelqty:
  8009. description: 撤单数量
  8010. type: integer
  8011. currencysign:
  8012. description: 货币符号
  8013. type: string
  8014. decimalplace:
  8015. description: 报价小数位
  8016. type: integer
  8017. goodscode:
  8018. description: 商品代码(内部)
  8019. type: string
  8020. goodsid:
  8021. description: 商品ID
  8022. type: integer
  8023. goodsname:
  8024. description: 商品名称
  8025. type: string
  8026. listingselecttype:
  8027. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8028. type: integer
  8029. marketid:
  8030. description: 市场ID
  8031. type: integer
  8032. mybuystatus:
  8033. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8034. type: integer
  8035. orderamount:
  8036. description: 委托金额
  8037. type: number
  8038. orderid:
  8039. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8040. type: string
  8041. orderprice:
  8042. description: 委托价格
  8043. type: number
  8044. orderqty:
  8045. description: 委托数量
  8046. type: integer
  8047. orderstatus:
  8048. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8049. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8050. 16:成交失败违约(荷兰式竞拍专用)
  8051. type: integer
  8052. ordertime:
  8053. description: 委托时间
  8054. type: string
  8055. picurls1:
  8056. description: 预售商品介绍图片[多张用逗号分隔]
  8057. type: string
  8058. picurls2:
  8059. description: 挂牌商品介绍图片[多张用逗号分隔]
  8060. type: string
  8061. trademode:
  8062. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8063. 21:竞拍-大宗式 22:受托竞价
  8064. type: integer
  8065. tradeqty:
  8066. description: 成交数量
  8067. type: integer
  8068. vendorname1:
  8069. description: 预售商品供应商名称
  8070. type: string
  8071. vendorname2:
  8072. description: 挂牌商品供应商名称
  8073. type: string
  8074. required:
  8075. - accountid
  8076. - buyorsell
  8077. - goodscode
  8078. - goodsid
  8079. - goodsname
  8080. - marketid
  8081. - orderid
  8082. - orderqty
  8083. - ordertime
  8084. - trademode
  8085. type: object
  8086. models.Loginaccount:
  8087. properties:
  8088. canoutin:
  8089. description: 是否可出入金 - 0:不可 1:可
  8090. type: integer
  8091. clientroleid:
  8092. description: 终端角色ID
  8093. type: integer
  8094. haslogined:
  8095. description: 是否已登录 - 0:未登录 1:已登录
  8096. type: integer
  8097. hasupdatedpwd:
  8098. description: 是否已更改密码 - 0:未修改 1:已修改
  8099. type: integer
  8100. lastloginip:
  8101. description: 最新登录地址
  8102. type: string
  8103. lastloginmode:
  8104. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8105. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8106. type: integer
  8107. lastloginremark:
  8108. description: 最新登录描述
  8109. type: string
  8110. lastlogintime:
  8111. description: 最新登录时间
  8112. type: string
  8113. logincode:
  8114. description: 登录代码
  8115. type: string
  8116. loginfailnum:
  8117. description: 连续登录失败次数(登录成功时清零)
  8118. type: integer
  8119. loginid:
  8120. description: 登陆账号
  8121. type: integer
  8122. loginport:
  8123. description: 最新登录端口
  8124. type: integer
  8125. loginstatus:
  8126. description: 登录账号状态 1:正常 2:冻结 3:无效
  8127. type: integer
  8128. loginusertype:
  8129. description: 登录账号类型 - 1:投资者 2:机构交易员
  8130. type: integer
  8131. modifierid:
  8132. description: 修改人
  8133. type: integer
  8134. modifytime:
  8135. description: 修改时间
  8136. type: string
  8137. pwdwrongcount:
  8138. description: 密码错误次数
  8139. type: integer
  8140. taaccountrighttype:
  8141. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8142. type: integer
  8143. unfreezetime:
  8144. description: 账户解冻时间
  8145. type: string
  8146. userid:
  8147. description: 用户ID
  8148. type: integer
  8149. required:
  8150. - loginid
  8151. type: object
  8152. models.MainAccountInfo:
  8153. properties:
  8154. accountid:
  8155. description: 账号id
  8156. type: integer
  8157. accountname:
  8158. description: 账号名称(taaccount表中的名称)
  8159. type: string
  8160. appid:
  8161. description: AppID
  8162. type: string
  8163. authcode:
  8164. description: 授权码
  8165. type: string
  8166. brokerid:
  8167. description: 经纪商id
  8168. type: string
  8169. fcid:
  8170. description: 期货公司id
  8171. type: integer
  8172. fcname:
  8173. description: 期货公司代码
  8174. type: string
  8175. hedgeaccountcode:
  8176. description: 外部账号代码(主账号登录代码)
  8177. type: string
  8178. hedgeaccountpwd:
  8179. description: 密码
  8180. type: string
  8181. ismain:
  8182. description: 是否主账号
  8183. type: integer
  8184. relateduserid:
  8185. description: 关联用户id
  8186. type: integer
  8187. userid:
  8188. description: 关联用户id
  8189. type: integer
  8190. type: object
  8191. models.Market:
  8192. properties:
  8193. auctionwrtype:
  8194. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8195. type: integer
  8196. canacceptquote:
  8197. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8198. type: integer
  8199. cangoodsexercise:
  8200. description: '[期权]是否可现货行权- 0:否 1:是'
  8201. type: integer
  8202. cangoodsexercisetype:
  8203. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8204. type: integer
  8205. canmanualquotestrike:
  8206. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8207. type: integer
  8208. canmutistage:
  8209. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8210. type: integer
  8211. canpreexercise:
  8212. description: '[期权]是否可预申报- 0:否 1:是'
  8213. type: integer
  8214. clearinterval:
  8215. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8216. type: integer
  8217. contracttmp:
  8218. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8219. type: string
  8220. exchareaid:
  8221. description: 所属交易所,可以没有
  8222. type: integer
  8223. goodstype:
  8224. description: 商品类型 - 1:交易商品 2:仓单商品
  8225. type: integer
  8226. hasrebate:
  8227. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8228. type: integer
  8229. hastradecredit:
  8230. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8231. type: integer
  8232. haswr:
  8233. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8234. type: integer
  8235. isdeductmargin:
  8236. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8237. type: integer
  8238. isrecordsource:
  8239. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8240. type: integer
  8241. isreleasemargin:
  8242. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8243. type: integer
  8244. marginformula:
  8245. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8246. type: integer
  8247. marginformula2:
  8248. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8249. type: integer
  8250. marketid:
  8251. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8252. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8253. type: integer
  8254. marketname:
  8255. description: 市场名称
  8256. type: string
  8257. marketserviceid:
  8258. description: 市场服务ID
  8259. type: integer
  8260. marketstatus:
  8261. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8262. type: integer
  8263. markettype:
  8264. description: 市场类型- 1:非交易服务 2:交易服务
  8265. type: integer
  8266. matchermode:
  8267. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8268. type: integer
  8269. openmethod:
  8270. description: 开盘模式 - 0 自动 1手动
  8271. type: integer
  8272. otcuserid:
  8273. description: 场外期权做市商[场外期权]
  8274. type: integer
  8275. outersynctime:
  8276. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8277. type: string
  8278. pendingflag:
  8279. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8280. type: integer
  8281. pendingtime:
  8282. description: 待开市时间[通道交易-对冲](HH:mm)
  8283. type: string
  8284. performancetempid:
  8285. description: 履约计划模板ID - 作废
  8286. type: integer
  8287. premiumquotemode:
  8288. description: 权利金报价方式 - 1:自动 2:手动
  8289. type: integer
  8290. rebateratio:
  8291. description: 返利比率[竞价式]
  8292. type: number
  8293. reckonorder:
  8294. description: 结算顺序
  8295. type: integer
  8296. reckonpricealgorithm:
  8297. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8298. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8299. type: integer
  8300. reckonpriceparam:
  8301. description: 结算价参数
  8302. type: integer
  8303. reckontime:
  8304. description: 结算时间[通道交易-对冲](HH:mm)
  8305. type: string
  8306. roleprioritytype:
  8307. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8308. type: integer
  8309. selllistingauditflag:
  8310. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8311. type: integer
  8312. trademarkettype:
  8313. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8314. type: integer
  8315. trademode:
  8316. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8317. 21:竞拍-大宗式 22:受托竞价
  8318. type: integer
  8319. tradeproperty:
  8320. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8321. 8:场外期权
  8322. type: integer
  8323. tradetype:
  8324. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8325. type: integer
  8326. required:
  8327. - marketid
  8328. - marketstatus
  8329. - openmethod
  8330. - reckonpricealgorithm
  8331. - trademode
  8332. - tradeproperty
  8333. type: object
  8334. models.Marketrun:
  8335. properties:
  8336. afternexttradedate:
  8337. description: 下下交易日
  8338. type: string
  8339. clearquoteflag:
  8340. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8341. type: integer
  8342. lastreckondate:
  8343. description: 最新交易日(结算成功)
  8344. type: string
  8345. machinedate:
  8346. description: 机器时间
  8347. type: string
  8348. manualflag:
  8349. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8350. type: integer
  8351. marketid:
  8352. description: 市场ID
  8353. type: integer
  8354. nexttradedate:
  8355. description: 下一交易日
  8356. type: string
  8357. pretradedate:
  8358. description: 上一交易日
  8359. type: string
  8360. reckonflag:
  8361. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8362. type: integer
  8363. runstatus:
  8364. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8365. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8366. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8367. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8368. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8369. 62.今日免清算
  8370. type: integer
  8371. sectionid:
  8372. description: 时间段号[多时段时用]
  8373. type: integer
  8374. tradedate:
  8375. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8376. type: string
  8377. tradedate2:
  8378. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8379. type: string
  8380. updatetime:
  8381. description: 更新时间
  8382. type: string
  8383. required:
  8384. - marketid
  8385. - nexttradedate
  8386. - reckonflag
  8387. - runstatus
  8388. - tradedate
  8389. - tradedate2
  8390. type: object
  8391. models.Messageboard:
  8392. properties:
  8393. contactnum:
  8394. description: 联系电话
  8395. type: string
  8396. createtime:
  8397. description: 创建时间
  8398. type: string
  8399. message:
  8400. description: 留言信息
  8401. type: string
  8402. messageboardid:
  8403. description: 留言簿ID(SEQ_MessageBoard)
  8404. type: integer
  8405. userid:
  8406. description: 用户ID
  8407. type: integer
  8408. required:
  8409. - messageboardid
  8410. type: object
  8411. models.MyCoupon:
  8412. properties:
  8413. accountid:
  8414. description: 资金账户ID
  8415. type: integer
  8416. areauserid:
  8417. description: 所属机构
  8418. type: integer
  8419. conditionvalue:
  8420. description: 条件阈值(可为0)
  8421. type: number
  8422. couponcategroy:
  8423. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8424. type: integer
  8425. couponname:
  8426. description: 优惠券名称
  8427. type: string
  8428. coupontypeid:
  8429. description: 优惠券类型ID
  8430. type: string
  8431. couponvalue:
  8432. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8433. type: number
  8434. curfreezeqty:
  8435. description: 期末冻结数量
  8436. type: integer
  8437. curqty:
  8438. description: 期末数量
  8439. type: integer
  8440. isgeneral:
  8441. description: 是否通用券 - 0:否 1:是
  8442. type: integer
  8443. isunusable:
  8444. description: 是否不可用
  8445. type: boolean
  8446. limitedflag:
  8447. description: 是否指定商品 - 0:不限 1:限制
  8448. type: integer
  8449. limitedgoodsids:
  8450. description: 指定商品IDs[逗号分隔,前后加逗号]
  8451. type: string
  8452. orifreezeqty:
  8453. description: 期初冻结数量
  8454. type: integer
  8455. oriqty:
  8456. description: 期初数量
  8457. type: integer
  8458. reasontype:
  8459. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8460. type: integer
  8461. todaydecrease:
  8462. description: 今日减少
  8463. type: integer
  8464. todayincrease:
  8465. description: 今日增加
  8466. type: integer
  8467. userid:
  8468. description: 用户ID
  8469. type: integer
  8470. userscope:
  8471. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8472. type: string
  8473. required:
  8474. - accountid
  8475. - coupontypeid
  8476. type: object
  8477. models.MyCouponHold:
  8478. properties:
  8479. accountid:
  8480. description: 资金账户ID
  8481. type: integer
  8482. conditionvalue:
  8483. description: 条件阈值(可为0)
  8484. type: number
  8485. couponcategroy:
  8486. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8487. type: integer
  8488. couponholdid:
  8489. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8490. type: string
  8491. couponname:
  8492. description: 优惠券名称
  8493. type: string
  8494. coupontypeid:
  8495. description: 优惠券类型ID - SEQ_COUPONTYPE
  8496. type: string
  8497. couponvalue:
  8498. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8499. type: number
  8500. createtime:
  8501. description: 创建时间
  8502. type: string
  8503. enddate:
  8504. description: 结束日期
  8505. type: string
  8506. giveapplyid:
  8507. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8508. type: integer
  8509. holdstatus:
  8510. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8511. type: integer
  8512. isgeneral:
  8513. description: 是否通用券 - 0:否 1:是
  8514. type: integer
  8515. limitedflag:
  8516. description: 是否指定商品 - 0:不限 1:限制
  8517. type: integer
  8518. limitedgoodsids:
  8519. description: 指定商品IDs[逗号分隔]
  8520. type: string
  8521. qty:
  8522. description: 数量(按1平铺)
  8523. type: integer
  8524. startdate:
  8525. description: 开始日期
  8526. type: string
  8527. userid:
  8528. description: 用户ID
  8529. type: integer
  8530. userscope:
  8531. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8532. type: string
  8533. required:
  8534. - couponholdid
  8535. type: object
  8536. models.MyUsedCoupon:
  8537. properties:
  8538. accountid:
  8539. description: 资金账户ID(买方)
  8540. type: integer
  8541. conditionvalue:
  8542. description: 条件阈值(可为0)
  8543. type: number
  8544. couponcategroy:
  8545. description: 种类 - 1:现金券 2:折扣券
  8546. type: integer
  8547. couponname:
  8548. description: 优惠券名称
  8549. type: string
  8550. coupontypeid:
  8551. description: 优惠券类型ID(买方)
  8552. type: string
  8553. couponvalue:
  8554. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8555. type: number
  8556. createtime:
  8557. description: 创建时间
  8558. type: string
  8559. goodsid:
  8560. description: 商品ID
  8561. type: integer
  8562. handlestatus:
  8563. description: 处理状态
  8564. type: integer
  8565. marketid:
  8566. description: 市场ID
  8567. type: integer
  8568. offamount:
  8569. description: 优惠金额
  8570. type: number
  8571. orderid:
  8572. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8573. type: string
  8574. sellaccountid:
  8575. description: 资金账户ID(卖方)
  8576. type: integer
  8577. tradeamount:
  8578. description: 成交金额
  8579. type: number
  8580. tradeid:
  8581. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8582. type: string
  8583. usedqty:
  8584. description: 使用数量
  8585. type: integer
  8586. required:
  8587. - coupontypeid
  8588. - orderid
  8589. type: object
  8590. models.OperationPrimaryMenu:
  8591. properties:
  8592. Children:
  8593. description: 二级功能菜单
  8594. items:
  8595. $ref: '#/definitions/models.OperationSecondaryMenu'
  8596. type: array
  8597. Key:
  8598. description: 菜单KEY
  8599. type: string
  8600. Label:
  8601. description: 菜单标题
  8602. type: string
  8603. type: object
  8604. models.OperationSecondaryMenu:
  8605. properties:
  8606. Key:
  8607. description: 菜单KEY
  8608. type: string
  8609. Label:
  8610. description: 菜单标题
  8611. type: string
  8612. TabList:
  8613. description: 三级功能菜单
  8614. items:
  8615. $ref: '#/definitions/models.OperationTabMenu'
  8616. type: array
  8617. type: object
  8618. models.OperationTabMenu:
  8619. properties:
  8620. Key:
  8621. description: 菜单KEY
  8622. type: string
  8623. Label:
  8624. description: 菜单标题
  8625. type: string
  8626. type: object
  8627. models.PendingAuditBizModel:
  8628. properties:
  8629. accountid:
  8630. description: 现货账户
  8631. type: string
  8632. areaname:
  8633. description: 所属部门
  8634. type: string
  8635. bizid:
  8636. description: 业务ID
  8637. type: string
  8638. bizname:
  8639. description: 业务名称
  8640. type: string
  8641. status:
  8642. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  8643. type: integer
  8644. type:
  8645. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  8646. type: integer
  8647. type: object
  8648. models.QueryErrorInfosRsp:
  8649. properties:
  8650. description:
  8651. description: 异常描述
  8652. type: string
  8653. errorcode:
  8654. description: 异常代码
  8655. type: string
  8656. errorid:
  8657. description: 异常ID
  8658. type: integer
  8659. modulecode:
  8660. description: 所属模块
  8661. type: string
  8662. operatecode:
  8663. description: 所属操作
  8664. type: string
  8665. rownumber:
  8666. description: 行号
  8667. type: string
  8668. required:
  8669. - errorid
  8670. type: object
  8671. models.QueryHedgeOrderDetailRsp:
  8672. properties:
  8673. accountid:
  8674. description: 账户ID
  8675. type: integer
  8676. buyorsell:
  8677. description: 买卖 - 0:买 1:卖
  8678. type: integer
  8679. cancellogincode:
  8680. description: 撤单人
  8681. type: string
  8682. channelbuildtype:
  8683. description: 开平标志 - 0:无 1:建仓 2:平仓
  8684. type: integer
  8685. channelinnerorderstatus:
  8686. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  8687. 9:全部成交
  8688. type: integer
  8689. channeloperatetype:
  8690. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  8691. type: integer
  8692. closetype:
  8693. description: 平仓方式 - 0:无 1:平今 2:平昨
  8694. type: integer
  8695. curexchangerate:
  8696. description: 当前汇率
  8697. type: number
  8698. exchangefullname:
  8699. description: 外部交易所全称
  8700. type: string
  8701. goodscode:
  8702. description: 商品代码(内部)
  8703. type: string
  8704. goodsid:
  8705. description: 商品ID
  8706. type: integer
  8707. goodsname:
  8708. description: 商品名称
  8709. type: string
  8710. marketid:
  8711. description: 市场ID
  8712. type: integer
  8713. openfreezemargin:
  8714. description: 冻结保证金(冻结交易金额)
  8715. type: number
  8716. orderid:
  8717. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8718. type: string
  8719. orderlogincode:
  8720. description: 委托人
  8721. type: string
  8722. orderprice:
  8723. description: 委托价格(账户)
  8724. type: number
  8725. orderqty:
  8726. description: 委托数量
  8727. type: integer
  8728. ordertime:
  8729. description: 委托时间
  8730. type: string
  8731. pricemode:
  8732. description: '取价方式 - 1:市价 2: 限价'
  8733. type: integer
  8734. tradedate:
  8735. description: 交易日(yyyyMMdd)
  8736. type: string
  8737. tradeqty:
  8738. description: 成交数量
  8739. type: integer
  8740. type: object
  8741. models.QueryHedgeTradeDetailRsp:
  8742. properties:
  8743. accountid:
  8744. description: 账号ID
  8745. type: integer
  8746. buyorsell:
  8747. description: 方向 - 0:买 1:卖
  8748. type: integer
  8749. channelbuildtype:
  8750. description: 委托单据类型 0:无 1:建仓 2:平仓
  8751. type: integer
  8752. closecharge:
  8753. description: 平仓手续费(账户)
  8754. type: number
  8755. closecharge2:
  8756. description: 平仓手续费(商品)
  8757. type: number
  8758. closepl:
  8759. description: 平仓盈亏(账户)
  8760. type: number
  8761. closepl2:
  8762. description: 平仓盈亏(商品)
  8763. type: number
  8764. closepl3:
  8765. description: 平仓盈亏(账户)(逐笔)
  8766. type: number
  8767. closepl4:
  8768. description: 平仓盈亏(商品)(逐笔)
  8769. type: number
  8770. closetype:
  8771. description: 平仓方式 - 0:无 1:平今 2:平昨
  8772. type: integer
  8773. curexchangerate:
  8774. description: 当前汇率
  8775. type: number
  8776. exchangefullname:
  8777. description: 外部交易所全称
  8778. type: string
  8779. goodscode:
  8780. description: 商品代码(内部)
  8781. type: string
  8782. goodsid:
  8783. description: 商品ID
  8784. type: integer
  8785. goodsname:
  8786. description: 商品名称
  8787. type: string
  8788. marketid:
  8789. description: 市场ID
  8790. type: integer
  8791. opencharge:
  8792. description: 建仓手续费(账户)
  8793. type: number
  8794. opencharge2:
  8795. description: 建仓手续费(商品)
  8796. type: number
  8797. orderid:
  8798. description: 委托单号
  8799. type: string
  8800. orderlogincode:
  8801. description: 委托人
  8802. type: string
  8803. tradeamount:
  8804. description: 成交金额(账户)
  8805. type: number
  8806. tradedate:
  8807. description: 交易日(yyyyMMdd)
  8808. type: string
  8809. tradeid:
  8810. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8811. type: string
  8812. tradeprice:
  8813. description: 成交价格
  8814. type: number
  8815. tradeqty:
  8816. description: 成交数量
  8817. type: integer
  8818. tradetime:
  8819. description: 成交时间
  8820. type: string
  8821. tradetype:
  8822. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  8823. type: integer
  8824. type: object
  8825. models.QuotePrimaryMenu:
  8826. properties:
  8827. Index:
  8828. description: 序号
  8829. type: integer
  8830. Key:
  8831. description: 键名
  8832. type: string
  8833. Name:
  8834. description: 菜单名称
  8835. type: string
  8836. SubMenus:
  8837. description: 子菜单
  8838. items:
  8839. $ref: '#/definitions/models.QuoteSecondaryMenu'
  8840. type: array
  8841. SubTitleType:
  8842. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  8843. type: integer
  8844. TradeModes:
  8845. description: 包含市场交易类型
  8846. type: string
  8847. type: object
  8848. models.QuoteSecondaryMenu:
  8849. properties:
  8850. ExExchangeCode:
  8851. description: 外部交易所代码
  8852. type: string
  8853. ExExchangeID:
  8854. description: 外部交易所ID
  8855. type: integer
  8856. GoodsGroupIDs:
  8857. description: 商品组ID列表
  8858. items:
  8859. type: integer
  8860. type: array
  8861. Index:
  8862. description: 序号
  8863. type: integer
  8864. MarketID:
  8865. description: 市场ID
  8866. type: integer
  8867. MenuTitle:
  8868. description: 菜单标题(市场名称或外部交易所名称)
  8869. type: string
  8870. TradeMode:
  8871. description: 交易模式
  8872. type: integer
  8873. type: object
  8874. models.SearchGoods:
  8875. properties:
  8876. goodscode:
  8877. description: 商品代码(内部)
  8878. type: string
  8879. goodsid:
  8880. description: 商品ID(自增ID SEQ_GOODS)
  8881. type: integer
  8882. goodsname:
  8883. description: 商品名称
  8884. type: string
  8885. marketid:
  8886. description: 所属市场ID
  8887. type: integer
  8888. marketname:
  8889. description: 市场名称
  8890. type: string
  8891. trademode:
  8892. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8893. 21:竞拍-大宗式 22:受托竞价
  8894. type: integer
  8895. required:
  8896. - goodscode
  8897. - goodsid
  8898. - goodsname
  8899. - marketid
  8900. - trademode
  8901. type: object
  8902. models.Systemparam:
  8903. properties:
  8904. loginid:
  8905. description: 更新用户账号,登录账号
  8906. type: string
  8907. modifyflag:
  8908. description: 修改标志0 不允许修改 1 允许修改
  8909. type: integer
  8910. paramcode:
  8911. description: 参数代码
  8912. type: string
  8913. paramname:
  8914. description: 参数名
  8915. type: string
  8916. paramtype:
  8917. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  8918. type: integer
  8919. paramvalue:
  8920. description: 参数值
  8921. type: string
  8922. paramvalue2:
  8923. description: 参数值(CLOB)
  8924. type: string
  8925. regexpress:
  8926. description: 正则表达式
  8927. type: string
  8928. remark:
  8929. description: 备注
  8930. type: string
  8931. serverip:
  8932. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  8933. type: string
  8934. showflag:
  8935. description: 是否显示0 不显示 1 显示
  8936. type: integer
  8937. updatetime:
  8938. description: 更新时间
  8939. type: string
  8940. userid:
  8941. description: 更新用户ID
  8942. type: integer
  8943. required:
  8944. - paramcode
  8945. type: object
  8946. models.Szdz3convertconfig:
  8947. properties:
  8948. canin:
  8949. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  8950. type: integer
  8951. canout:
  8952. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  8953. type: integer
  8954. converttype:
  8955. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  8956. 6:交易转花生米(不设置)
  8957. type: integer
  8958. createtime:
  8959. description: 创建时间
  8960. type: string
  8961. creatorid:
  8962. description: 创建人
  8963. type: integer
  8964. daymaxvalue:
  8965. description: 当日最大转入限制
  8966. type: number
  8967. freezedays:
  8968. description: 冻结天数 [5:花生米转交易]
  8969. type: integer
  8970. innergoodsid:
  8971. description: 内部商品ID[交易]
  8972. type: integer
  8973. inratio:
  8974. description: 目标值
  8975. type: integer
  8976. modifierid:
  8977. description: 修改人
  8978. type: integer
  8979. modifytime:
  8980. description: 修改时间
  8981. type: string
  8982. outergoodscode:
  8983. description: 外部商品代码[JD\PD]
  8984. type: string
  8985. outratio:
  8986. description: 源值
  8987. type: integer
  8988. pddecimalplace:
  8989. description: PD小数位
  8990. type: integer
  8991. timemaxvalue:
  8992. description: 单次最大转入限制
  8993. type: number
  8994. timeminvalue:
  8995. description: 单次最小转入限制
  8996. type: number
  8997. required:
  8998. - converttype
  8999. - innergoodsid
  9000. - outergoodscode
  9001. type: object
  9002. models.Szdz3searchwhitelist:
  9003. properties:
  9004. createtime:
  9005. description: 创建时间
  9006. type: string
  9007. creatorid:
  9008. description: 创建人
  9009. type: integer
  9010. modifierid:
  9011. description: 修改人
  9012. type: integer
  9013. modifytime:
  9014. description: 修改时间
  9015. type: string
  9016. userid:
  9017. description: 用户ID
  9018. type: integer
  9019. required:
  9020. - userid
  9021. type: object
  9022. models.Taaccount:
  9023. properties:
  9024. accountflag:
  9025. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9026. type: integer
  9027. accountid:
  9028. description: 资金账户ID
  9029. type: integer
  9030. accountname:
  9031. description: 账户名称
  9032. type: string
  9033. balance:
  9034. description: 期初余额
  9035. type: number
  9036. capitalbalance:
  9037. description: 本金余额[外部子账户实际出入金余额]
  9038. type: number
  9039. changeflag:
  9040. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9041. type: integer
  9042. changetime:
  9043. description: 账户状态变更时间
  9044. type: string
  9045. closepl:
  9046. description: 今日平仓盈亏
  9047. type: number
  9048. creditdecrease:
  9049. description: 今日授信减少
  9050. type: number
  9051. creditincrease:
  9052. description: 今日授信增加
  9053. type: number
  9054. currencyid:
  9055. description: 货币ID
  9056. type: integer
  9057. currentbalance:
  9058. description: 期末余额
  9059. type: number
  9060. freezecharge:
  9061. description: 手续费冻结
  9062. type: number
  9063. freezemargin:
  9064. description: 冻结保证金
  9065. type: number
  9066. fromaccountid:
  9067. description: 所属上级账户
  9068. type: integer
  9069. inamount:
  9070. description: 今日入金金额(包括三方入金)
  9071. type: number
  9072. ismain:
  9073. description: 是否母账号 0:不是母账户 1:是母账户
  9074. type: integer
  9075. ismarketaccount:
  9076. description: 是否机构接单账号 0:不是 1:是
  9077. type: integer
  9078. isreckonaccount:
  9079. description: 是否机构分润账号 0:不是 1:是
  9080. type: integer
  9081. mortgagecredit:
  9082. description: 授信金额
  9083. type: number
  9084. orifreezecharge:
  9085. description: 期初手续费冻结
  9086. type: number
  9087. orifreezemargin:
  9088. description: 期初冻结保证金
  9089. type: number
  9090. orimortgagecredit:
  9091. description: 期初授信金额
  9092. type: number
  9093. oriothercredit:
  9094. description: 期初其它授信金额
  9095. type: number
  9096. oriotherfreezemargin:
  9097. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9098. type: number
  9099. orioutamountfreeze:
  9100. description: 期初出金冻结
  9101. type: number
  9102. oriusedmargin:
  9103. description: 期初占用保证金
  9104. type: number
  9105. othercredit:
  9106. description: 其它授信金额
  9107. type: number
  9108. othercreditdecrease:
  9109. description: 今日其它授信减少
  9110. type: number
  9111. othercreditincrease:
  9112. description: 今日其它授信增加
  9113. type: number
  9114. otherfreezemargin:
  9115. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9116. type: number
  9117. otherincome:
  9118. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9119. type: number
  9120. otherpay:
  9121. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9122. type: number
  9123. outamount:
  9124. description: 今日出金金额(包括三方出金)
  9125. type: number
  9126. outamountfreeze:
  9127. description: 出金冻结
  9128. type: number
  9129. outthreshold:
  9130. description: 出金阈值
  9131. type: number
  9132. parentaccountid:
  9133. description: 所属根账号
  9134. type: integer
  9135. paycharge:
  9136. description: 今日手续费支出
  9137. type: number
  9138. relatedaccountstatus:
  9139. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9140. type: integer
  9141. relateduserid:
  9142. description: 关联用户
  9143. type: integer
  9144. serivcegroup:
  9145. description: 服务分组
  9146. type: integer
  9147. signstatus:
  9148. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9149. type: integer
  9150. sublevelpath:
  9151. description: 账号层级路径(逗号分隔,首尾加逗号)
  9152. type: string
  9153. taaccounttype:
  9154. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9155. type: integer
  9156. thirdinamount:
  9157. description: 今日三方入金
  9158. type: number
  9159. thirdoutamount:
  9160. description: 今日三方出金
  9161. type: number
  9162. tradestatus:
  9163. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9164. type: integer
  9165. tradestatuschangetime:
  9166. description: 激活时间
  9167. type: string
  9168. transferamount:
  9169. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9170. type: number
  9171. usedmargin:
  9172. description: 占用保证金
  9173. type: number
  9174. userid:
  9175. description: 用户ID
  9176. type: integer
  9177. required:
  9178. - accountid
  9179. - userid
  9180. type: object
  9181. models.Tablecolumnconfig:
  9182. properties:
  9183. aligntype:
  9184. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9185. type: integer
  9186. autoid:
  9187. description: AutoID
  9188. type: integer
  9189. columnfield:
  9190. description: 列字段
  9191. type: string
  9192. columntitle:
  9193. description: 列Title
  9194. type: string
  9195. columnwidth:
  9196. description: 列宽
  9197. type: string
  9198. formatterstring:
  9199. description: 格式化字符
  9200. type: string
  9201. formattertype:
  9202. description: 格式化类型
  9203. type: string
  9204. groupname:
  9205. description: 表头分组名称
  9206. type: string
  9207. isshow:
  9208. description: 是否显示 - 0:不显示 1:显示
  9209. type: integer
  9210. needsummary:
  9211. description: 是否需要汇总 - 0:不需要 1:需要
  9212. type: integer
  9213. orderindex:
  9214. description: 顺序
  9215. type: integer
  9216. remark:
  9217. description: 备注
  9218. type: string
  9219. summarytype:
  9220. description: 汇总类型 - 1:加总 2:最后一个
  9221. type: integer
  9222. tablekey:
  9223. description: 列表Key
  9224. type: string
  9225. required:
  9226. - autoid
  9227. type: object
  9228. models.Useraccount:
  9229. properties:
  9230. accountname:
  9231. description: 账户名称(机构名称)
  9232. type: string
  9233. accountstatus:
  9234. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9235. type: integer
  9236. auditremark:
  9237. description: 审核备注
  9238. type: string
  9239. audittime:
  9240. description: 审核时间
  9241. type: string
  9242. audituserid:
  9243. description: 审核人
  9244. type: integer
  9245. broker:
  9246. description: 所属经纪人ID
  9247. type: integer
  9248. canceltime:
  9249. description: 销户时间
  9250. type: string
  9251. canceluserid:
  9252. description: 销户人
  9253. type: integer
  9254. createtime:
  9255. description: 创建时间
  9256. type: string
  9257. creatorid:
  9258. description: 创建人
  9259. type: integer
  9260. hasauth:
  9261. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  9262. type: integer
  9263. isanonymous:
  9264. description: 是否匿名下单 - 0:否 1:是
  9265. type: integer
  9266. maxinvestornum:
  9267. description: 最大用户数(经纪会员下投资者个数)
  9268. type: integer
  9269. memberuserid:
  9270. description: 所属会员ID
  9271. type: integer
  9272. modifierid:
  9273. description: 修改人
  9274. type: integer
  9275. modifyremark:
  9276. description: 变更备注
  9277. type: string
  9278. modifystatus:
  9279. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  9280. type: integer
  9281. modifytime:
  9282. description: 修改时间
  9283. type: string
  9284. parentuserid:
  9285. description: 所属机构ID
  9286. type: integer
  9287. reckonaccountid:
  9288. description: 默认结算资金账号ID(机构分润使用) 作废
  9289. type: integer
  9290. refercount:
  9291. description: 推荐总人数
  9292. type: integer
  9293. refereeuserid:
  9294. description: 推荐人ID
  9295. type: integer
  9296. refernum:
  9297. description: 推荐码
  9298. type: string
  9299. subarealevelpath:
  9300. description: 子机构层级路径(逗号分隔,首尾加逗号)
  9301. type: string
  9302. userid:
  9303. description: 用户ID
  9304. type: integer
  9305. usertype:
  9306. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9307. type: integer
  9308. required:
  9309. - userid
  9310. type: object
  9311. models.Userfavoritegoods:
  9312. properties:
  9313. goodsid:
  9314. description: 商品ID
  9315. type: integer
  9316. required:
  9317. - goodsid
  9318. type: object
  9319. models.Userinfo:
  9320. properties:
  9321. address:
  9322. description: 地址
  9323. type: string
  9324. attachment1:
  9325. description: 附件1
  9326. type: string
  9327. attachment2:
  9328. description: 附件2
  9329. type: string
  9330. bankaccount:
  9331. description: 银行帐号 (加密存储)
  9332. type: string
  9333. bankaccountname:
  9334. description: 收款人名称
  9335. type: string
  9336. bankcardfrontphotourl:
  9337. description: 银行卡正面照地址
  9338. type: string
  9339. bankid:
  9340. description: 银行编码
  9341. type: string
  9342. bankname:
  9343. description: 银行名称
  9344. type: string
  9345. biznature:
  9346. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  9347. type: integer
  9348. bizscope:
  9349. description: 企业经营范围(企业)
  9350. type: string
  9351. cardbackphotourl:
  9352. description: 证件背面图片地址
  9353. type: string
  9354. cardfrontphotourl:
  9355. description: 证件正面图片地址
  9356. type: string
  9357. cardnum:
  9358. description: 证件号码(加密存储)
  9359. type: string
  9360. cardtypeid:
  9361. description: 证件类型ID
  9362. type: integer
  9363. cityid:
  9364. description: 市
  9365. type: integer
  9366. company:
  9367. description: 公司(个人)
  9368. type: string
  9369. contactname:
  9370. description: 联系人
  9371. type: string
  9372. countryid:
  9373. description: 国家
  9374. type: integer
  9375. createtime:
  9376. description: 创建时间
  9377. type: string
  9378. creatorid:
  9379. description: 创建人
  9380. type: integer
  9381. customername:
  9382. description: 客户名称(企业名称)
  9383. type: string
  9384. districtid:
  9385. description: 地区
  9386. type: integer
  9387. email:
  9388. description: 邮件(加密存储)
  9389. type: string
  9390. fax:
  9391. description: 传真(加密存储)
  9392. type: string
  9393. halfbodyphotourl:
  9394. description: 半身照地址
  9395. type: string
  9396. hasencrypt:
  9397. description: 数据是否已加密 - 0:未加密 1:已加密
  9398. type: integer
  9399. headurl:
  9400. description: 头像地址
  9401. type: string
  9402. legalcardbackphotourl:
  9403. description: 法人身份证背面照地址
  9404. type: string
  9405. legalcardfrontphotourl:
  9406. description: 法人身份证正面照地址
  9407. type: string
  9408. legalpersonname:
  9409. description: 法人姓名(企业)
  9410. type: string
  9411. mobile:
  9412. description: 手机号码(加密存储)
  9413. type: string
  9414. mobile2:
  9415. description: 手机号码[明文-尚志]
  9416. type: string
  9417. modifierid:
  9418. description: 修改人
  9419. type: integer
  9420. modifiertime:
  9421. description: 修改时间
  9422. type: string
  9423. needinvoice:
  9424. description: 是否需要发票 - 0:不需要 1:需要
  9425. type: integer
  9426. nickname:
  9427. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  9428. type: string
  9429. openmode:
  9430. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  9431. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  9432. type: integer
  9433. otherurl:
  9434. description: 其它图片地址[使用分号分隔]
  9435. type: string
  9436. postalcode:
  9437. description: 邮政编码
  9438. type: string
  9439. provinceid:
  9440. description: 省
  9441. type: integer
  9442. qq:
  9443. description: QQ(加密存储
  9444. type: string
  9445. remark:
  9446. description: 备注
  9447. type: string
  9448. sex:
  9449. description: '用户性别 0: 女 1: 男'
  9450. type: integer
  9451. signpdfurl:
  9452. description: 签约pdf文件
  9453. type: string
  9454. telphone:
  9455. description: 联系电话(加密存储)
  9456. type: string
  9457. userid:
  9458. description: 用户ID
  9459. type: integer
  9460. userinfotype:
  9461. description: 用户信息类型 - 1:个人 2:企业
  9462. type: integer
  9463. userstatus:
  9464. description: 用户状态 - 1:正常 2:注销
  9465. type: integer
  9466. usertype:
  9467. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9468. type: integer
  9469. wechat:
  9470. description: 微信(加密存储)
  9471. type: string
  9472. wskhinfo:
  9473. description: 开户申请信息(JSON)
  9474. type: string
  9475. required:
  9476. - userid
  9477. type: object
  9478. models.WRSConverTDetail:
  9479. properties:
  9480. convertratio:
  9481. description: 套保系数
  9482. type: number
  9483. deliverygoodscode:
  9484. description: 现货商品代码
  9485. type: string
  9486. deliverygoodsid:
  9487. description: 现货品种ID
  9488. type: integer
  9489. deliverygoodsname:
  9490. description: 现货商品名称
  9491. type: string
  9492. enumdicname:
  9493. description: 单位名称
  9494. type: string
  9495. goodsunitid:
  9496. description: 套保品种单位id
  9497. type: integer
  9498. middlegoodscode:
  9499. description: 套保品种代码
  9500. type: string
  9501. middlegoodsid:
  9502. description: 套保品种ID
  9503. type: integer
  9504. middlegoodsname:
  9505. description: 套保品种名称
  9506. type: string
  9507. modifytime:
  9508. description: 修改时间
  9509. type: string
  9510. wrstandardid:
  9511. description: 品类ID
  9512. type: integer
  9513. type: object
  9514. models.WRStandardInfo:
  9515. properties:
  9516. areauserid:
  9517. description: 所属机构
  9518. type: integer
  9519. convertfactor:
  9520. description: 标仓系数
  9521. type: number
  9522. createtime:
  9523. description: 创建时间
  9524. type: string
  9525. creatorid:
  9526. description: 创建人
  9527. type: integer
  9528. deliverygoodsid:
  9529. description: 品种ID
  9530. type: integer
  9531. deliverygoodsname:
  9532. description: 交割商品名称
  9533. type: string
  9534. factoryitemjson:
  9535. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  9536. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  9537. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  9538. 逗号分隔'
  9539. type: string
  9540. isvalid:
  9541. description: 是否有效 - 0:无效 1:有效
  9542. type: integer
  9543. minivalue:
  9544. description: 最小变动值
  9545. type: integer
  9546. minivaluedp:
  9547. description: 最小变动值小数位
  9548. type: integer
  9549. realminivalue:
  9550. description: 实际最小变动值
  9551. type: integer
  9552. realminivaluedp:
  9553. description: 实际最小变动值小数位
  9554. type: integer
  9555. remark:
  9556. description: 备注
  9557. type: string
  9558. unitid:
  9559. description: 单位ID
  9560. type: integer
  9561. unitname:
  9562. description: 单位
  9563. type: string
  9564. updatetime:
  9565. description: 更新时间
  9566. type: string
  9567. updatorid:
  9568. description: 更新人
  9569. type: integer
  9570. wrsstatus:
  9571. description: 状态 - 作废 - 0:未激活 1:正常
  9572. type: integer
  9573. wrstandardcode:
  9574. description: 现货品类代码
  9575. type: string
  9576. wrstandardid:
  9577. description: 现货品类ID(SEQ_WRSTANDARD)
  9578. type: integer
  9579. wrstandardname:
  9580. description: 现货品类名称
  9581. type: string
  9582. required:
  9583. - wrstandardid
  9584. type: object
  9585. models.Warehouseinfo:
  9586. properties:
  9587. address:
  9588. description: 详细地址
  9589. type: string
  9590. areauserid:
  9591. description: 所属机构
  9592. type: integer
  9593. autoid:
  9594. description: 自增ID
  9595. type: integer
  9596. cityid:
  9597. description: 市
  9598. type: integer
  9599. contactname:
  9600. description: 联系人
  9601. type: string
  9602. contactnum:
  9603. description: 联系电话
  9604. type: string
  9605. countryid:
  9606. description: 国家
  9607. type: integer
  9608. createtime:
  9609. description: 创建时间
  9610. type: string
  9611. districtid:
  9612. description: 区
  9613. type: integer
  9614. hasvideo:
  9615. description: 是否有视频 - 0:无 1:有
  9616. type: integer
  9617. provinceid:
  9618. description: 省
  9619. type: integer
  9620. remark:
  9621. description: 审核备注
  9622. type: string
  9623. videourl:
  9624. description: 视频地址
  9625. type: string
  9626. warehousecode:
  9627. description: 仓库代码
  9628. type: string
  9629. warehousename:
  9630. description: 仓库名称
  9631. type: string
  9632. warehousestatus:
  9633. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9634. type: integer
  9635. warehousetype:
  9636. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9637. type: integer
  9638. required:
  9639. - autoid
  9640. - warehousecode
  9641. type: object
  9642. order.QueryHisTradeDetailRsp:
  9643. properties:
  9644. accountid:
  9645. description: 账户ID[报价币种]
  9646. type: integer
  9647. buildtype:
  9648. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9649. type: integer
  9650. buyorsell:
  9651. description: 方向 - 0:买 1:卖
  9652. type: integer
  9653. charge:
  9654. description: 手续费
  9655. type: number
  9656. closecharge:
  9657. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9658. type: number
  9659. closeexchagechargevalue:
  9660. description: 平仓交易所手续费设置值
  9661. type: number
  9662. closefeealgorithm:
  9663. description: 平仓手续费收取方式 1:比率 2:固定
  9664. type: integer
  9665. closememberchargevalue:
  9666. description: 平仓会员手续费设置值
  9667. type: number
  9668. closepl:
  9669. description: 平仓盈亏
  9670. type: number
  9671. closepl2:
  9672. description: 平仓盈亏[逐笔]
  9673. type: number
  9674. closeqty:
  9675. description: 平仓数量(先建后平操作 需要记录)
  9676. type: integer
  9677. creditamount:
  9678. description: 授信金额
  9679. type: number
  9680. gcaccountid:
  9681. description: 账户ID[合约币种]
  9682. type: integer
  9683. goodscode:
  9684. description: 商品代码
  9685. type: string
  9686. goodsid:
  9687. description: 商品ID
  9688. type: integer
  9689. goodsname:
  9690. description: 商品名称
  9691. type: string
  9692. histradedate:
  9693. description: 历史交易日
  9694. type: string
  9695. intclosepl:
  9696. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9697. type: integer
  9698. isconfirmexercise:
  9699. description: 是否确认行权- 0:否 1:是
  9700. type: integer
  9701. ismain:
  9702. description: 是否主单 - 0:不是 1:是
  9703. type: integer
  9704. ispreexercise:
  9705. description: 是否预申报- 0:否 1:是
  9706. type: integer
  9707. isreckoned:
  9708. description: 是否结算 - 0:未结算 1:已结算
  9709. type: integer
  9710. isvaliddata:
  9711. description: 是否有效 - 0:无效 1:有效
  9712. type: integer
  9713. listingselecttype:
  9714. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9715. type: integer
  9716. marketid:
  9717. description: 市场ID
  9718. type: integer
  9719. marketname:
  9720. description: 市场名称
  9721. type: string
  9722. matchaccountid:
  9723. description: 对手账号id
  9724. type: integer
  9725. memberuserid:
  9726. description: 会员id 个人投资者 需要填写
  9727. type: integer
  9728. opencharge:
  9729. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9730. type: number
  9731. openexchagechargevalue:
  9732. description: 建仓交易所手续费设置值
  9733. type: number
  9734. openfeealgorithm:
  9735. description: 建仓手续费收取方式 1:比率 2:固定
  9736. type: integer
  9737. openmemberchargevalue:
  9738. description: 建仓会员手续费设置值
  9739. type: number
  9740. openqty:
  9741. description: 开仓数量(先建后平操作 需要记录)
  9742. type: integer
  9743. optiontype:
  9744. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9745. type: integer
  9746. orderid:
  9747. description: 委托单号
  9748. type: string
  9749. performanceplanid:
  9750. description: 履约计划ID[期权]
  9751. type: integer
  9752. performancestatus:
  9753. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9754. type: integer
  9755. preexerciseprice:
  9756. description: 预申报价格
  9757. type: number
  9758. premium:
  9759. description: 权利金 - [持仓单的权利金]
  9760. type: number
  9761. relatedouttradeid:
  9762. description: 关联外部成交单ID
  9763. type: integer
  9764. status:
  9765. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9766. type: integer
  9767. tradeamount:
  9768. description: 成交金额[账户币种,用于所有权]
  9769. type: number
  9770. tradedate:
  9771. description: 交易日(yyyyMMdd)
  9772. type: string
  9773. tradeid:
  9774. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9775. type: string
  9776. trademode:
  9777. description: 交易模式
  9778. type: integer
  9779. tradeprice:
  9780. description: 成交价格
  9781. type: number
  9782. tradeproperty:
  9783. description: 交易属性
  9784. type: integer
  9785. tradeqty:
  9786. description: 成交数量
  9787. type: integer
  9788. tradetime:
  9789. description: 成交时间
  9790. type: string
  9791. tradetype:
  9792. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9793. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9794. type: integer
  9795. required:
  9796. - accountid
  9797. - buyorsell
  9798. - goodsid
  9799. - histradedate
  9800. - marketid
  9801. - memberuserid
  9802. - orderid
  9803. - tradeamount
  9804. - tradedate
  9805. - tradeid
  9806. - tradeprice
  9807. - tradeqty
  9808. - tradetime
  9809. type: object
  9810. order.QueryHisTradeOrderDetailRsp:
  9811. properties:
  9812. accountid:
  9813. description: 账户ID[报价币种]
  9814. type: integer
  9815. buildtype:
  9816. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9817. type: integer
  9818. buyorsell:
  9819. description: 买卖 - 0:买 1:卖
  9820. type: integer
  9821. cancelorderid:
  9822. description: 撤单单号(撤单时填写)
  9823. type: string
  9824. cancelqty:
  9825. description: 撤单数量
  9826. type: integer
  9827. clientordertime:
  9828. description: 客户端委托时间
  9829. type: string
  9830. clientticket:
  9831. description: 客户端流水号
  9832. type: string
  9833. clienttype:
  9834. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9835. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9836. type: integer
  9837. closeexchagechargevalue:
  9838. description: 平仓交易所手续费设置值
  9839. type: number
  9840. closefeealgorithm:
  9841. description: 平仓手续费收取方式 1:比率 2:固定
  9842. type: integer
  9843. closefreezecharge:
  9844. description: 平仓冻结手续费(先建后平操作,需要记录)
  9845. type: number
  9846. closememberchargevalue:
  9847. description: 平仓会员手续费设置值
  9848. type: number
  9849. closeqty:
  9850. description: 平仓数量(先建后平操作 需要记录)
  9851. type: integer
  9852. closetradeqty:
  9853. description: 平仓成交数量(先建后平操作,需要记录)
  9854. type: integer
  9855. closeunfreezecharge:
  9856. description: 平仓解冻手续费(先建后平操作,需要记录)
  9857. type: number
  9858. delistingtype:
  9859. description: 摘牌类型 - 1:价格最优 2:点选成交
  9860. type: integer
  9861. freezecharge:
  9862. description: 冻结手续费
  9863. type: number
  9864. freezemargin:
  9865. description: 冻结保证金(冻结交易金额)
  9866. type: number
  9867. gcaccountid:
  9868. description: 账户ID[合约币种]
  9869. type: integer
  9870. goodscode:
  9871. description: 商品代码
  9872. type: string
  9873. goodsid:
  9874. description: 商品ID
  9875. type: integer
  9876. goodsname:
  9877. description: 商品名称
  9878. type: string
  9879. histradedate:
  9880. description: 历史交易日
  9881. type: string
  9882. isconfirmexercise:
  9883. description: 是否确认行权- 0:否 1:是
  9884. type: integer
  9885. ispreexercise:
  9886. description: 是否预申报- 0:否 1:是
  9887. type: integer
  9888. isvaliddata:
  9889. description: 是否有效 - 0:无效 1:有效
  9890. type: integer
  9891. listingselecttype:
  9892. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9893. type: integer
  9894. marginalgorithm:
  9895. description: 保证金收取方式 1:比率 2:固定
  9896. type: integer
  9897. marginvalue:
  9898. description: 即市保证金设置值
  9899. type: number
  9900. marketid:
  9901. description: 市场ID
  9902. type: integer
  9903. marketmaxsub:
  9904. description: 市价最大偏移范围
  9905. type: number
  9906. marketname:
  9907. description: 市场名称
  9908. type: string
  9909. memberuserid:
  9910. description: 所属会员UserID
  9911. type: integer
  9912. openexchagechargevalue:
  9913. description: 建仓交易所手续费设置值
  9914. type: number
  9915. openfeealgorithm:
  9916. description: 建仓手续费收取方式 1:比率 2:固定
  9917. type: integer
  9918. openfreezecharge:
  9919. description: 开仓冻结手续费(先建后平操作,需要记录)
  9920. type: number
  9921. openmemberchargevalue:
  9922. description: 建仓会员手续费设置值
  9923. type: number
  9924. openqty:
  9925. description: 开仓数量(先建后平操作,需要记录)
  9926. type: integer
  9927. opentradeqty:
  9928. description: 开仓成交数量(先建后平操作,需要记录)
  9929. type: integer
  9930. openunfreezecharge:
  9931. description: 开仓解冻手续费(先建后平操作,需要记录)
  9932. type: number
  9933. operatetype:
  9934. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9935. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9936. 15:管理端协议转让
  9937. type: integer
  9938. operatorid:
  9939. description: 登录账号(LoginID)
  9940. type: integer
  9941. optiontype:
  9942. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9943. type: integer
  9944. orderid:
  9945. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9946. type: string
  9947. orderprice:
  9948. description: 委托价格
  9949. type: number
  9950. orderqty:
  9951. description: 委托数量
  9952. type: integer
  9953. ordersrc:
  9954. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9955. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9956. type: integer
  9957. orderstatus:
  9958. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9959. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9960. 16:成交失败违约(荷兰式竞拍专用)
  9961. type: integer
  9962. ordertime:
  9963. description: 委托时间
  9964. type: string
  9965. preexerciseprice:
  9966. description: 预申报价格
  9967. type: number
  9968. premium:
  9969. description: 权利金
  9970. type: number
  9971. preorderid:
  9972. description: 关联预埋单号(止盈止损单时填写)
  9973. type: string
  9974. pricemode:
  9975. description: '取价方式 - 1:市价 2: 限价'
  9976. type: integer
  9977. quoteid:
  9978. description: 报价单ID
  9979. type: integer
  9980. relatedid:
  9981. description: 关联单号(交割单)
  9982. type: string
  9983. retcode:
  9984. description: 错误代码
  9985. type: integer
  9986. sessionid:
  9987. description: 会话ID
  9988. type: integer
  9989. tradedate:
  9990. description: 交易日(yyyyMMdd)
  9991. type: string
  9992. trademode:
  9993. description: 交易模式
  9994. type: integer
  9995. tradeproperty:
  9996. description: 交易属性
  9997. type: integer
  9998. tradeqty:
  9999. description: 成交数量
  10000. type: integer
  10001. unfreezecharge:
  10002. description: 解冻手续费
  10003. type: number
  10004. unfreezemargin:
  10005. description: 解冻保证金
  10006. type: number
  10007. updatetime:
  10008. description: 更新时间
  10009. type: string
  10010. uuid:
  10011. description: 发起端唯一id
  10012. type: string
  10013. validtime:
  10014. description: 有效期限
  10015. type: string
  10016. validtype:
  10017. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10018. type: integer
  10019. volumetype:
  10020. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10021. type: integer
  10022. required:
  10023. - accountid
  10024. - buildtype
  10025. - buyorsell
  10026. - goodsid
  10027. - histradedate
  10028. - marketid
  10029. - memberuserid
  10030. - operatetype
  10031. - orderid
  10032. - orderqty
  10033. - ordertime
  10034. - pricemode
  10035. - tradedate
  10036. - validtype
  10037. type: object
  10038. order.QueryTradeDetailRsp:
  10039. properties:
  10040. accountid:
  10041. description: 账户ID[报价币种]
  10042. type: integer
  10043. buildtype:
  10044. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10045. type: integer
  10046. buyorsell:
  10047. description: 方向 - 0:买 1:卖
  10048. type: integer
  10049. charge:
  10050. description: 手续费
  10051. type: number
  10052. closecharge:
  10053. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10054. type: number
  10055. closeexchagechargevalue:
  10056. description: 平仓交易所手续费设置值
  10057. type: number
  10058. closefeealgorithm:
  10059. description: 平仓手续费收取方式 1:比率 2:固定
  10060. type: integer
  10061. closememberchargevalue:
  10062. description: 平仓会员手续费设置值
  10063. type: number
  10064. closepl:
  10065. description: 平仓盈亏
  10066. type: number
  10067. closepl2:
  10068. description: 平仓盈亏[逐笔]
  10069. type: number
  10070. closeqty:
  10071. description: 平仓数量(先建后平操作 需要记录)
  10072. type: integer
  10073. creditamount:
  10074. description: 授信金额
  10075. type: number
  10076. gcaccountid:
  10077. description: 账户ID[合约币种]
  10078. type: integer
  10079. goodscode:
  10080. description: 商品代码
  10081. type: string
  10082. goodsid:
  10083. description: 商品ID
  10084. type: integer
  10085. goodsname:
  10086. description: 商品名称
  10087. type: string
  10088. intclosepl:
  10089. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10090. type: integer
  10091. isconfirmexercise:
  10092. description: 是否确认行权- 0:否 1:是
  10093. type: integer
  10094. ismain:
  10095. description: 是否主单 - 0:不是 1:是
  10096. type: integer
  10097. ispreexercise:
  10098. description: 是否预申报- 0:否 1:是
  10099. type: integer
  10100. isreckoned:
  10101. description: 是否结算 - 0:未结算 1:已结算
  10102. type: integer
  10103. listingselecttype:
  10104. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10105. type: integer
  10106. marketid:
  10107. description: 市场ID
  10108. type: integer
  10109. marketname:
  10110. description: 市场名称
  10111. type: string
  10112. matchaccountid:
  10113. description: 对手账号id
  10114. type: integer
  10115. memberuserid:
  10116. description: 会员id 个人投资者 需要填写
  10117. type: integer
  10118. opencharge:
  10119. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10120. type: number
  10121. openexchagechargevalue:
  10122. description: 建仓交易所手续费设置值
  10123. type: number
  10124. openfeealgorithm:
  10125. description: 建仓手续费收取方式 1:比率 2:固定
  10126. type: integer
  10127. openmemberchargevalue:
  10128. description: 建仓会员手续费设置值
  10129. type: number
  10130. openqty:
  10131. description: 开仓数量(先建后平操作 需要记录)
  10132. type: integer
  10133. optiontype:
  10134. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10135. type: integer
  10136. orderid:
  10137. description: 委托单号
  10138. type: string
  10139. performanceplanid:
  10140. description: 履约计划ID[期权]
  10141. type: integer
  10142. performancestatus:
  10143. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10144. type: integer
  10145. preexerciseprice:
  10146. description: 预申报价格
  10147. type: number
  10148. premium:
  10149. description: 权利金 - [持仓单的权利金]
  10150. type: number
  10151. relatedouttradeid:
  10152. description: 关联外部成交单ID
  10153. type: integer
  10154. status:
  10155. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10156. type: integer
  10157. tradeamount:
  10158. description: 成交金额[账户币种,用于所有权]
  10159. type: number
  10160. tradedate:
  10161. description: 交易日(yyyyMMdd)
  10162. type: string
  10163. tradeid:
  10164. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10165. type: string
  10166. trademode:
  10167. description: 交易模式
  10168. type: integer
  10169. tradeprice:
  10170. description: 成交价格
  10171. type: number
  10172. tradeproperty:
  10173. description: 交易属性
  10174. type: integer
  10175. tradeqty:
  10176. description: 成交数量
  10177. type: integer
  10178. tradetime:
  10179. description: 成交时间
  10180. type: string
  10181. tradetype:
  10182. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10183. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10184. type: integer
  10185. required:
  10186. - accountid
  10187. - buyorsell
  10188. - goodsid
  10189. - marketid
  10190. - memberuserid
  10191. - orderid
  10192. - tradeamount
  10193. - tradedate
  10194. - tradeid
  10195. - tradeprice
  10196. - tradeqty
  10197. - tradetime
  10198. type: object
  10199. order.QueryTradeOrderDetailRsp:
  10200. properties:
  10201. accountid:
  10202. description: 账户ID[报价币种]
  10203. type: integer
  10204. buildtype:
  10205. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10206. type: integer
  10207. buyorsell:
  10208. description: 买卖 - 0:买 1:卖
  10209. type: integer
  10210. cancelorderid:
  10211. description: 撤单单号(撤单时填写)
  10212. type: string
  10213. cancelqty:
  10214. description: 撤单数量
  10215. type: integer
  10216. clienttype:
  10217. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10218. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10219. type: integer
  10220. closefreezecharge:
  10221. description: 平仓冻结手续费(先建后平操作,需要记录)
  10222. type: number
  10223. closeqty:
  10224. description: 平仓数量(先建后平操作 需要记录)
  10225. type: integer
  10226. closetradeqty:
  10227. description: 平仓成交数量(先建后平操作,需要记录)
  10228. type: integer
  10229. closeunfreezecharge:
  10230. description: 平仓解冻手续费(先建后平操作,需要记录)
  10231. type: number
  10232. delistingtype:
  10233. description: 摘牌类型 - 1:价格最优 2:点选成交
  10234. type: integer
  10235. enableqty:
  10236. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  10237. type: integer
  10238. freezecharge:
  10239. description: 冻结手续费
  10240. type: number
  10241. freezemargin:
  10242. description: 冻结保证金(冻结交易金额)
  10243. type: number
  10244. goodscode:
  10245. description: 商品代码
  10246. type: string
  10247. goodsid:
  10248. description: 商品ID
  10249. type: integer
  10250. goodsname:
  10251. description: 商品名称
  10252. type: string
  10253. listingselecttype:
  10254. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10255. type: integer
  10256. marketid:
  10257. description: 市场ID
  10258. type: integer
  10259. marketname:
  10260. description: 市场名称
  10261. type: string
  10262. openfreezecharge:
  10263. description: 开仓冻结手续费(先建后平操作,需要记录)
  10264. type: number
  10265. openqty:
  10266. description: 开仓数量(先建后平操作,需要记录)
  10267. type: integer
  10268. opentradeqty:
  10269. description: 开仓成交数量(先建后平操作,需要记录)
  10270. type: integer
  10271. openunfreezecharge:
  10272. description: 开仓解冻手续费(先建后平操作,需要记录)
  10273. type: number
  10274. operatetype:
  10275. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10276. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10277. 15:管理端协议转让
  10278. type: integer
  10279. operatorid:
  10280. description: 登录账号(LoginID)
  10281. type: integer
  10282. orderid:
  10283. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10284. type: string
  10285. orderprice:
  10286. description: 委托价格
  10287. type: number
  10288. orderqty:
  10289. description: 委托数量
  10290. type: integer
  10291. ordersrc:
  10292. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10293. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10294. type: integer
  10295. orderstatus:
  10296. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10297. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10298. 16:成交失败违约(荷兰式竞拍专用)
  10299. type: integer
  10300. ordertime:
  10301. description: 委托时间
  10302. type: string
  10303. preorderid:
  10304. description: 关联预埋单号(止盈止损单时填写)
  10305. type: string
  10306. pricemode:
  10307. description: '取价方式 - 1:市价 2: 限价'
  10308. type: integer
  10309. relatedid:
  10310. description: 关联单号(交割单)
  10311. type: string
  10312. tradedate:
  10313. description: 交易日(yyyyMMdd)
  10314. type: string
  10315. trademode:
  10316. description: 交易模式
  10317. type: integer
  10318. tradeqty:
  10319. description: 成交数量
  10320. type: integer
  10321. unfreezecharge:
  10322. description: 解冻手续费
  10323. type: number
  10324. unfreezemargin:
  10325. description: 解冻保证金
  10326. type: number
  10327. validtime:
  10328. description: 有效期限
  10329. type: string
  10330. validtype:
  10331. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10332. type: integer
  10333. volumetype:
  10334. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10335. type: integer
  10336. required:
  10337. - accountid
  10338. - buildtype
  10339. - buyorsell
  10340. - goodsid
  10341. - marketid
  10342. - operatetype
  10343. - orderqty
  10344. - ordertime
  10345. - pricemode
  10346. - tradedate
  10347. - validtype
  10348. type: object
  10349. order.QueryTradePositionRsp:
  10350. properties:
  10351. accountid:
  10352. description: 资金账户
  10353. type: integer
  10354. agreeunit:
  10355. description: 合约单位
  10356. type: number
  10357. averageprice:
  10358. description: 持仓均价
  10359. type: number
  10360. buyorsell:
  10361. description: 方向 - 0:买 1:卖
  10362. type: integer
  10363. closetotalqty:
  10364. description: 平仓总数量
  10365. type: integer
  10366. curholderamount:
  10367. description: 当前持仓总金额[商品币种]
  10368. type: number
  10369. curpositionqty:
  10370. description: 当前持仓总数量
  10371. type: integer
  10372. currencyid:
  10373. description: 报价货币ID
  10374. type: integer
  10375. curtdposition:
  10376. description: 期末今日头寸
  10377. type: integer
  10378. decimalplace:
  10379. description: 报价小数位
  10380. type: integer
  10381. enableqty:
  10382. description: 可用量
  10383. type: integer
  10384. fretdposition:
  10385. description: 冻结今日头寸
  10386. type: integer
  10387. frozenqty:
  10388. description: 持仓冻结数量
  10389. type: integer
  10390. goodscode:
  10391. description: 商品代码
  10392. type: string
  10393. goodsid:
  10394. description: 商品Id
  10395. type: integer
  10396. goodsname:
  10397. description: 商品名称
  10398. type: string
  10399. goodunit:
  10400. description: 报价单位
  10401. type: string
  10402. goodunitid:
  10403. description: 报价单位ID
  10404. type: integer
  10405. holderamount:
  10406. description: 期初持仓总金额[商品币种]
  10407. type: number
  10408. marketid:
  10409. description: 所属市场ID
  10410. type: integer
  10411. openreqqty:
  10412. description: 开仓申请数量(用于比较最大持仓数量)
  10413. type: integer
  10414. opentotalqty:
  10415. description: 开仓总数量
  10416. type: integer
  10417. otherfrozenqty:
  10418. description: 持仓其他冻结数量(交割冻结)
  10419. type: integer
  10420. positionqty:
  10421. description: 期初持仓数量
  10422. type: integer
  10423. tnqty:
  10424. description: T+N冻结总量
  10425. type: integer
  10426. tnusedqty:
  10427. description: T+N使用量(可以使用T+N的冻结数量)
  10428. type: integer
  10429. trademode:
  10430. description: 交易模式
  10431. type: integer
  10432. usedmargin:
  10433. description: 占用保证金[商品币种]
  10434. type: number
  10435. required:
  10436. - goodsid
  10437. type: object
  10438. quote.HistoryData:
  10439. properties:
  10440. c:
  10441. description: 收盘价
  10442. type: number
  10443. f:
  10444. description: 是否补充数据
  10445. type: boolean
  10446. h:
  10447. description: 最高价
  10448. type: number
  10449. hv:
  10450. description: 持仓量
  10451. type: integer
  10452. l:
  10453. description: 最低价
  10454. type: number
  10455. o:
  10456. description: 开盘价
  10457. type: number
  10458. s:
  10459. description: 结算价,日线周期(包括)以上才有
  10460. type: number
  10461. ts:
  10462. description: 时间
  10463. type: string
  10464. tt:
  10465. description: 总金额
  10466. type: number
  10467. tv:
  10468. description: 总量
  10469. type: integer
  10470. type: object
  10471. quote.HistoryTikData:
  10472. properties:
  10473. AV:
  10474. description: 卖量
  10475. type: integer
  10476. Ask:
  10477. description: 卖价
  10478. type: number
  10479. BV:
  10480. description: 买量
  10481. type: integer
  10482. Bid:
  10483. description: 买价
  10484. type: number
  10485. HI:
  10486. description: 单笔持仓
  10487. type: integer
  10488. HV:
  10489. description: 持仓量
  10490. type: integer
  10491. PE:
  10492. description: 现价
  10493. type: number
  10494. TDR:
  10495. description: 交易方向,0:买 1:卖
  10496. type: integer
  10497. TK:
  10498. description: 交易类型
  10499. type: integer
  10500. TS:
  10501. description: 行情时间文本
  10502. type: string
  10503. TT:
  10504. description: 现金额
  10505. type: number
  10506. Vol:
  10507. description: 现量
  10508. type: integer
  10509. type: object
  10510. quote.QueryQuoteDayRsp:
  10511. properties:
  10512. ask:
  10513. description: 卖1
  10514. type: number
  10515. ask2:
  10516. description: 卖2
  10517. type: number
  10518. ask3:
  10519. description: 卖3
  10520. type: number
  10521. ask4:
  10522. description: 卖4
  10523. type: number
  10524. ask5:
  10525. description: 卖5
  10526. type: number
  10527. ask6:
  10528. description: 卖6
  10529. type: number
  10530. ask7:
  10531. description: 卖7
  10532. type: number
  10533. ask8:
  10534. description: 卖8
  10535. type: number
  10536. ask9:
  10537. description: 卖9
  10538. type: number
  10539. ask10:
  10540. description: 卖10
  10541. type: number
  10542. askorderid:
  10543. description: 卖单号1
  10544. type: integer
  10545. askorderid2:
  10546. description: 卖单号2
  10547. type: integer
  10548. askorderid3:
  10549. description: 卖单号3
  10550. type: integer
  10551. askorderid4:
  10552. description: 卖单号4
  10553. type: integer
  10554. askorderid5:
  10555. description: 卖单号5
  10556. type: integer
  10557. askordervolume:
  10558. description: 卖单量1
  10559. type: integer
  10560. askordervolume2:
  10561. description: 卖单量2
  10562. type: integer
  10563. askordervolume3:
  10564. description: 卖单量3
  10565. type: integer
  10566. askordervolume4:
  10567. description: 卖单量4
  10568. type: integer
  10569. askordervolume5:
  10570. description: 卖单量5
  10571. type: integer
  10572. askordervolume6:
  10573. description: 卖单量6
  10574. type: integer
  10575. askordervolume7:
  10576. description: 卖单量7
  10577. type: integer
  10578. askordervolume8:
  10579. description: 卖单量8
  10580. type: integer
  10581. askordervolume9:
  10582. description: 卖单量9
  10583. type: integer
  10584. askordervolume10:
  10585. description: 卖单量10
  10586. type: integer
  10587. askqueueinfo:
  10588. description: 大利市卖港股用
  10589. type: string
  10590. askvolume:
  10591. description: 卖量1
  10592. type: integer
  10593. askvolume2:
  10594. description: 卖量2
  10595. type: integer
  10596. askvolume3:
  10597. description: 卖量3
  10598. type: integer
  10599. askvolume4:
  10600. description: 卖量4
  10601. type: integer
  10602. askvolume5:
  10603. description: 卖量5
  10604. type: integer
  10605. askvolume6:
  10606. description: 卖量6
  10607. type: integer
  10608. askvolume7:
  10609. description: 卖量7
  10610. type: integer
  10611. askvolume8:
  10612. description: 卖量8
  10613. type: integer
  10614. askvolume9:
  10615. description: 卖量9
  10616. type: integer
  10617. askvolume10:
  10618. description: 卖量10
  10619. type: integer
  10620. averageprice:
  10621. description: 均价
  10622. type: number
  10623. bid:
  10624. description: 买1
  10625. type: number
  10626. bid2:
  10627. description: 买2
  10628. type: number
  10629. bid3:
  10630. description: 买3
  10631. type: number
  10632. bid4:
  10633. description: 买4
  10634. type: number
  10635. bid5:
  10636. description: 买5
  10637. type: number
  10638. bid6:
  10639. description: 买6
  10640. type: number
  10641. bid7:
  10642. description: 买7
  10643. type: number
  10644. bid8:
  10645. description: 买8
  10646. type: number
  10647. bid9:
  10648. description: 买9
  10649. type: number
  10650. bid10:
  10651. description: 买10
  10652. type: number
  10653. bidorderid:
  10654. description: 买单号1
  10655. type: integer
  10656. bidorderid2:
  10657. description: 买单号2
  10658. type: integer
  10659. bidorderid3:
  10660. description: 买单号3
  10661. type: integer
  10662. bidorderid4:
  10663. description: 买单号4
  10664. type: integer
  10665. bidorderid5:
  10666. description: 买单号5
  10667. type: integer
  10668. bidordervolume:
  10669. description: 买单量1
  10670. type: integer
  10671. bidordervolume2:
  10672. description: 买单量2
  10673. type: integer
  10674. bidordervolume3:
  10675. description: 买单量3
  10676. type: integer
  10677. bidordervolume4:
  10678. description: 买单量4
  10679. type: integer
  10680. bidordervolume5:
  10681. description: 买单量5
  10682. type: integer
  10683. bidordervolume6:
  10684. description: 买单量6
  10685. type: integer
  10686. bidordervolume7:
  10687. description: 买单量7
  10688. type: integer
  10689. bidordervolume8:
  10690. description: 买单量8
  10691. type: integer
  10692. bidordervolume9:
  10693. description: 买单量9
  10694. type: integer
  10695. bidordervolume10:
  10696. description: 买单量10
  10697. type: integer
  10698. bidqueueinfo:
  10699. description: 大利市买港股用
  10700. type: string
  10701. bidvolume:
  10702. description: 买量1
  10703. type: integer
  10704. bidvolume2:
  10705. description: 买量2
  10706. type: integer
  10707. bidvolume3:
  10708. description: 买量3
  10709. type: integer
  10710. bidvolume4:
  10711. description: 买量4
  10712. type: integer
  10713. bidvolume5:
  10714. description: 买量5
  10715. type: integer
  10716. bidvolume6:
  10717. description: 买量6
  10718. type: integer
  10719. bidvolume7:
  10720. description: 买量7
  10721. type: integer
  10722. bidvolume8:
  10723. description: 买量8
  10724. type: integer
  10725. bidvolume9:
  10726. description: 买量9
  10727. type: integer
  10728. bidvolume10:
  10729. description: 买量10
  10730. type: integer
  10731. calloptionpremiums:
  10732. description: 认购期权1
  10733. type: integer
  10734. calloptionpremiums2:
  10735. description: 认购期权2
  10736. type: integer
  10737. calloptionpremiums3:
  10738. description: 认购期权3
  10739. type: integer
  10740. calloptionpremiums4:
  10741. description: 认购期权4
  10742. type: integer
  10743. calloptionpremiums5:
  10744. description: 认购期权5
  10745. type: integer
  10746. cleartime:
  10747. description: 清盘时间
  10748. type: integer
  10749. exchangecode:
  10750. description: 交易所代码
  10751. type: integer
  10752. exchangedate:
  10753. description: 交易日
  10754. type: integer
  10755. goodscode:
  10756. description: 商品代码
  10757. type: string
  10758. grepmarketprice:
  10759. description: 暗盘价 港股专用
  10760. type: number
  10761. highest:
  10762. description: 最高价
  10763. type: number
  10764. holdincrement:
  10765. description: 单笔持仓
  10766. type: integer
  10767. holdvolume:
  10768. description: 持仓
  10769. type: integer
  10770. iep:
  10771. description: 平衡价 港股专用
  10772. type: number
  10773. iev:
  10774. description: 平衡量 港股专用
  10775. type: number
  10776. inventory:
  10777. description: 库存
  10778. type: integer
  10779. iscleared:
  10780. description: 是否清盘标志
  10781. type: integer
  10782. issettled:
  10783. description: 是否结算标志
  10784. type: integer
  10785. last:
  10786. description: 最新价
  10787. type: number
  10788. lastlot:
  10789. description: 最新成交手数
  10790. type: integer
  10791. lasttime:
  10792. description: 行情时间(只有现价变化行情时间才变化)
  10793. type: string
  10794. lastturnover:
  10795. description: 最新成交金额
  10796. type: number
  10797. lastvolume:
  10798. description: 最新成交量
  10799. type: integer
  10800. limitdown:
  10801. description: 跌停价
  10802. type: number
  10803. limitup:
  10804. description: 涨停价
  10805. type: number
  10806. lowest:
  10807. description: 最低价
  10808. type: number
  10809. nontotalholdervolume:
  10810. description: 非交易持仓量
  10811. type: integer
  10812. nontotallot:
  10813. description: 非交易总手数
  10814. type: integer
  10815. nontotalturnover:
  10816. description: 非交易总金额
  10817. type: integer
  10818. nontotalvolume:
  10819. description: 非交易总量
  10820. type: integer
  10821. opened:
  10822. description: 开盘价
  10823. type: number
  10824. opentime:
  10825. description: 开盘时间
  10826. type: string
  10827. orderid:
  10828. description: 序号
  10829. type: integer
  10830. preclose:
  10831. description: 昨收
  10832. type: number
  10833. preholdvolume:
  10834. description: 昨持仓
  10835. type: integer
  10836. presettle:
  10837. description: 昨结价
  10838. type: number
  10839. publictradetype:
  10840. description: 公共交易标志类型 港股专用
  10841. type: string
  10842. putoptionpremiums:
  10843. description: 认沽期权1
  10844. type: integer
  10845. putoptionpremiums2:
  10846. description: 认沽期权2
  10847. type: integer
  10848. putoptionpremiums3:
  10849. description: 认沽期权3
  10850. type: integer
  10851. putoptionpremiums4:
  10852. description: 认沽期权4
  10853. type: integer
  10854. putoptionpremiums5:
  10855. description: 认沽期权5
  10856. type: integer
  10857. settle:
  10858. description: 结算价
  10859. type: number
  10860. strikeprice:
  10861. description: 发行价
  10862. type: number
  10863. totalaskvolume:
  10864. description: 内盘
  10865. type: integer
  10866. totalbidvolume:
  10867. description: 外盘
  10868. type: integer
  10869. totallot:
  10870. description: 总手数
  10871. type: integer
  10872. totalturnover:
  10873. description: 总金额
  10874. type: number
  10875. totalvolume:
  10876. description: 总量
  10877. type: integer
  10878. utclasttime:
  10879. description: utc的行情时间
  10880. type: string
  10881. type: object
  10882. quote.QueryTSDataRsp:
  10883. properties:
  10884. Count:
  10885. description: 交易日应有数据个数
  10886. type: integer
  10887. decimalPlace:
  10888. description: 小数位
  10889. type: integer
  10890. endTime:
  10891. description: 结束时间
  10892. type: string
  10893. goodsCode:
  10894. description: 商品代码
  10895. type: string
  10896. historyDatas:
  10897. description: 历史数据
  10898. items:
  10899. $ref: '#/definitions/quote.HistoryData'
  10900. type: array
  10901. outGoodsCode:
  10902. description: 外部商品代码
  10903. type: string
  10904. preSettle:
  10905. description: 昨结价
  10906. type: number
  10907. runSteps:
  10908. description: 交易日开休市计划
  10909. items:
  10910. $ref: '#/definitions/quote.TSDataRunStep'
  10911. type: array
  10912. startTime:
  10913. description: 开始时间
  10914. type: string
  10915. tradeDate:
  10916. description: 交易日
  10917. type: string
  10918. type: object
  10919. quote.TSDataRunStep:
  10920. properties:
  10921. end:
  10922. description: 真实结束时间
  10923. type: string
  10924. endflag:
  10925. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  10926. type: integer
  10927. endtime:
  10928. description: 结束时间(HH:mm)
  10929. type: string
  10930. endweekday:
  10931. description: 结束周几
  10932. type: integer
  10933. groupid:
  10934. description: 分组ID
  10935. type: integer
  10936. runstep:
  10937. description: 运行阶段 - 2:连续交易
  10938. type: integer
  10939. sectionid:
  10940. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  10941. 结束时间=结算时间 结束周几=结算周几
  10942. type: integer
  10943. start:
  10944. description: 真实开始时间
  10945. type: string
  10946. startflag:
  10947. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  10948. type: integer
  10949. starttime:
  10950. description: 起始时间(HH:mm)
  10951. type: string
  10952. startweekday:
  10953. description: 起始周几
  10954. type: integer
  10955. tradeweekday:
  10956. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  10957. type: integer
  10958. type: object
  10959. szdz.QueryConvertLogRsp:
  10960. properties:
  10961. accountid:
  10962. description: 资金账户ID
  10963. type: integer
  10964. clientticket:
  10965. description: 客户端流水号
  10966. type: string
  10967. converttype:
  10968. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  10969. type: integer
  10970. createtime:
  10971. description: 记账时间
  10972. type: string
  10973. daymaxvalue:
  10974. description: 配置当日最大转入限制
  10975. type: number
  10976. daymaxvalue2:
  10977. description: 配置当日最大转入限制(转入)
  10978. type: number
  10979. goodscode:
  10980. description: 商品代码
  10981. type: string
  10982. goodsname:
  10983. description: 商品名称
  10984. type: string
  10985. handlestatus:
  10986. description: 处理状态
  10987. type: integer
  10988. innergoodsid:
  10989. description: 内部商品ID
  10990. type: integer
  10991. inratio:
  10992. description: 配置转入比值
  10993. type: integer
  10994. invalue:
  10995. description: 目标值
  10996. type: number
  10997. logid:
  10998. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10999. type: integer
  11000. mobile:
  11001. description: 手机号码(加密存储)
  11002. type: string
  11003. outergoodscode:
  11004. description: 外部商品代码[JD\PD]
  11005. type: string
  11006. outratio:
  11007. description: 配置转出比值
  11008. type: integer
  11009. outvalue:
  11010. description: 源值
  11011. type: number
  11012. pddecimalplace:
  11013. description: PD小数位
  11014. type: integer
  11015. qty:
  11016. description: 数量
  11017. type: string
  11018. remark:
  11019. description: 备注
  11020. type: string
  11021. sessionid:
  11022. description: 会话ID
  11023. type: integer
  11024. timemaxvalue:
  11025. description: 配置单次最大转入限制
  11026. type: number
  11027. timemaxvalue2:
  11028. description: 配置单次最大转入限制(转入)
  11029. type: number
  11030. timeminvalue:
  11031. description: 配置单次最小数量限制
  11032. type: number
  11033. timeminvalue2:
  11034. description: 配置单次最小数量限制(转入)
  11035. type: number
  11036. tradedate:
  11037. description: 交易日(yyyyMMdd)
  11038. type: string
  11039. userid:
  11040. description: 用户ID
  11041. type: integer
  11042. required:
  11043. - logid
  11044. type: object
  11045. szdz.QueryGoodsPickupRsp:
  11046. properties:
  11047. accountid:
  11048. description: 账户ID
  11049. type: integer
  11050. address:
  11051. description: 提货人详细地址
  11052. type: string
  11053. auditer:
  11054. description: 审核人
  11055. type: integer
  11056. audittime:
  11057. description: 审核时间
  11058. type: string
  11059. cardnum:
  11060. description: 提货人证件号码
  11061. type: string
  11062. cardtypeid:
  11063. description: 提货人证件类型
  11064. type: integer
  11065. checkremark:
  11066. description: 审核备注
  11067. type: string
  11068. goodscode:
  11069. description: 商品代码
  11070. type: string
  11071. goodsid:
  11072. description: 商品ID
  11073. type: integer
  11074. goodsname:
  11075. description: 商品名称
  11076. type: string
  11077. handlestatus:
  11078. description: 处理状态
  11079. type: integer
  11080. marketid:
  11081. description: 市场ID
  11082. type: integer
  11083. phonenum:
  11084. description: 提货人联系方式
  11085. type: string
  11086. qty:
  11087. description: 提货数量
  11088. type: number
  11089. recivername:
  11090. description: 提货人姓名
  11091. type: string
  11092. reqtime:
  11093. description: 更新时间
  11094. type: string
  11095. takemode:
  11096. description: 提货方式 - 2:自提 3:配送
  11097. type: integer
  11098. takeorderid:
  11099. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11100. type: string
  11101. takeorderstatus:
  11102. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11103. type: integer
  11104. takeremark:
  11105. description: 提货备注
  11106. type: string
  11107. tradedate:
  11108. description: 交易日(yyyyMMdd)
  11109. type: string
  11110. userid:
  11111. description: 用户ID
  11112. type: integer
  11113. required:
  11114. - takeorderid
  11115. type: object
  11116. szdz.QueryRecieptOrderRsp:
  11117. properties:
  11118. accountName:
  11119. description: 所属账号名称(已脱敏)
  11120. type: string
  11121. accountid:
  11122. description: 资金账号
  11123. type: integer
  11124. buyorsell:
  11125. description: 方向 - 0:买 1:卖
  11126. type: integer
  11127. enableqty:
  11128. description: 可摘数量
  11129. type: integer
  11130. goodscode:
  11131. description: 商品代码
  11132. type: string
  11133. goodsid:
  11134. description: 商品ID
  11135. type: integer
  11136. goodsname:
  11137. description: 商品名称
  11138. type: string
  11139. orderid:
  11140. description: 委托单号
  11141. type: string
  11142. orderprice:
  11143. description: 委托价格
  11144. type: number
  11145. ordertime:
  11146. description: 委托时间
  11147. type: string
  11148. tradedate:
  11149. description: 交易日(yyyyMMdd)
  11150. type: string
  11151. required:
  11152. - ordertime
  11153. type: object
  11154. szdz.QuerySZDZTradePositionRsp:
  11155. properties:
  11156. accountid:
  11157. description: 账号Id
  11158. type: integer
  11159. agreeunit:
  11160. description: 合约单位
  11161. type: number
  11162. averageprice:
  11163. description: 持仓均价
  11164. type: number
  11165. buyorsell:
  11166. description: 方向 - 0:买 1:卖
  11167. type: integer
  11168. closetotalqty:
  11169. description: 平仓总数量
  11170. type: integer
  11171. curholderamount:
  11172. description: 当前持仓总金额
  11173. type: number
  11174. curpositionqty:
  11175. description: 当前持仓总数量
  11176. type: integer
  11177. currencyid:
  11178. description: 报价货币ID
  11179. type: integer
  11180. curtdposition:
  11181. description: 期末今日头寸
  11182. type: integer
  11183. decimalplace:
  11184. description: 报价小数位
  11185. type: integer
  11186. enableqty:
  11187. description: 可用量
  11188. type: integer
  11189. fretdposition:
  11190. description: 冻结今日头寸
  11191. type: integer
  11192. frozenqty:
  11193. description: 持仓冻结数量
  11194. type: integer
  11195. goodscode:
  11196. description: 商品代码(内部)
  11197. type: string
  11198. goodsid:
  11199. description: 商品Id
  11200. type: integer
  11201. goodsname:
  11202. description: 商品名称
  11203. type: string
  11204. goodunit:
  11205. description: 报价单位
  11206. type: string
  11207. goodunitid:
  11208. description: 报价单位ID
  11209. type: integer
  11210. holderamount:
  11211. description: 期初持仓总金额
  11212. type: number
  11213. marketid:
  11214. description: 市场ID
  11215. type: integer
  11216. openreqqty:
  11217. description: 开仓申请数量
  11218. type: integer
  11219. opentotalqty:
  11220. description: 开仓总数量
  11221. type: integer
  11222. otherfrozenqty:
  11223. description: 持仓其他冻结数量(交割冻结)
  11224. type: integer
  11225. positionqty:
  11226. description: 期初持仓数量
  11227. type: integer
  11228. szdz3freezqty:
  11229. description: 尚志大宗转换冻结总数量
  11230. type: integer
  11231. tnqty:
  11232. description: T+N冻结总量
  11233. type: integer
  11234. tnusedqty:
  11235. description: T+N使用量
  11236. type: integer
  11237. trademode:
  11238. description: 交易模式
  11239. type: integer
  11240. usedmargin:
  11241. description: 占用保证金
  11242. type: number
  11243. type: object
  11244. taaccount.QueryAmountLogRsp:
  11245. properties:
  11246. OPERATETYPENAME:
  11247. description: 资金操作类型名称
  11248. type: string
  11249. accountid:
  11250. description: 资金账户ID
  11251. type: integer
  11252. agoodscode:
  11253. description: 竞拍商品代码
  11254. type: string
  11255. agoodsname:
  11256. description: 竞拍商品名称
  11257. type: string
  11258. amount:
  11259. description: 资金金额
  11260. type: number
  11261. amountadjusttype:
  11262. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11263. type: integer
  11264. autoid:
  11265. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11266. type: integer
  11267. balance:
  11268. description: 期初余额
  11269. type: number
  11270. businesscode:
  11271. description: 业务编号
  11272. type: integer
  11273. createtime:
  11274. description: 发生时间
  11275. type: string
  11276. currencyid:
  11277. description: 币种ID
  11278. type: integer
  11279. currentbalance:
  11280. description: 期末余额(变动后金额)
  11281. type: number
  11282. dgoodscode:
  11283. description: 交割商品代码
  11284. type: string
  11285. dgoodsname:
  11286. description: 交割商品名称
  11287. type: string
  11288. goodscode:
  11289. description: 商品代码
  11290. type: string
  11291. goodsid:
  11292. description: 商品ID
  11293. type: integer
  11294. goodsname:
  11295. description: 商品名称
  11296. type: string
  11297. marketid:
  11298. description: 市场ID
  11299. type: integer
  11300. marketname:
  11301. description: 市场名称
  11302. type: string
  11303. moneyticket:
  11304. description: 资金流水号:银行端流水号
  11305. type: integer
  11306. operatetype:
  11307. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11308. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11309. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11310. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11311. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11312. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11313. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11314. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11315. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11316. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11317. type: integer
  11318. relationorderid:
  11319. description: 关联单号
  11320. type: string
  11321. remark:
  11322. description: 备注
  11323. type: string
  11324. trademode:
  11325. description: 交易模式
  11326. type: integer
  11327. required:
  11328. - accountid
  11329. - amount
  11330. - amountadjusttype
  11331. - autoid
  11332. - balance
  11333. - createtime
  11334. - currentbalance
  11335. - operatetype
  11336. type: object
  11337. taaccount.QueryHisAmountLogRsp:
  11338. properties:
  11339. OPERATETYPENAME:
  11340. description: 资金操作类型名称
  11341. type: string
  11342. accountid:
  11343. description: 资金账户ID
  11344. type: integer
  11345. agoodscode:
  11346. description: 竞拍商品代码
  11347. type: string
  11348. agoodsname:
  11349. description: 竞拍商品名称
  11350. type: string
  11351. amount:
  11352. description: 资金金额
  11353. type: number
  11354. amountadjusttype:
  11355. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11356. type: integer
  11357. autoid:
  11358. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11359. type: integer
  11360. balance:
  11361. description: 期初余额
  11362. type: number
  11363. businesscode:
  11364. description: 业务编号
  11365. type: integer
  11366. createtime:
  11367. description: 发生时间
  11368. type: string
  11369. currencyid:
  11370. description: 币种ID
  11371. type: integer
  11372. currentbalance:
  11373. description: 期末余额(变动后金额)
  11374. type: number
  11375. dgoodscode:
  11376. description: 交割商品代码
  11377. type: string
  11378. dgoodsname:
  11379. description: 交割商品名称
  11380. type: string
  11381. goodscode:
  11382. description: 商品代码
  11383. type: string
  11384. goodsid:
  11385. description: 商品ID
  11386. type: integer
  11387. goodsname:
  11388. description: 商品名称
  11389. type: string
  11390. histradedate:
  11391. description: 历史交易日
  11392. type: string
  11393. isvaliddata:
  11394. description: 是否有效 - 0:无效 1:有效
  11395. type: integer
  11396. marketid:
  11397. description: 市场ID
  11398. type: integer
  11399. marketname:
  11400. description: 市场名称
  11401. type: string
  11402. moneyticket:
  11403. description: 资金流水号:银行端流水号
  11404. type: integer
  11405. operatetype:
  11406. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11407. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11408. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11409. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11410. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11411. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11412. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11413. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11414. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11415. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11416. type: integer
  11417. relationorderid:
  11418. description: 关联单号
  11419. type: string
  11420. remark:
  11421. description: 备注
  11422. type: string
  11423. trademode:
  11424. description: 交易模式
  11425. type: integer
  11426. required:
  11427. - accountid
  11428. - amount
  11429. - amountadjusttype
  11430. - autoid
  11431. - balance
  11432. - createtime
  11433. - currentbalance
  11434. - histradedate
  11435. - operatetype
  11436. type: object
  11437. trade.QueryRecieptOrderRsp:
  11438. properties:
  11439. accountName:
  11440. description: 所属账号名称(已脱敏)
  11441. type: string
  11442. accountid:
  11443. description: 资金账号
  11444. type: integer
  11445. buyorsell:
  11446. description: 方向 - 0:买 1:卖
  11447. type: integer
  11448. enableqty:
  11449. description: 可摘数量
  11450. type: integer
  11451. goodscode:
  11452. description: 商品代码
  11453. type: string
  11454. goodsid:
  11455. description: 商品ID
  11456. type: integer
  11457. goodsname:
  11458. description: 商品名称
  11459. type: string
  11460. orderid:
  11461. description: 委托单号
  11462. type: string
  11463. orderprice:
  11464. description: 委托价格
  11465. type: number
  11466. ordertime:
  11467. description: 委托时间
  11468. type: string
  11469. tradedate:
  11470. description: 交易日(yyyyMMdd)
  11471. type: string
  11472. required:
  11473. - ordertime
  11474. type: object
  11475. user.LoginQueryRsp:
  11476. properties:
  11477. areaRoles:
  11478. description: 所属角色信息
  11479. items:
  11480. $ref: '#/definitions/models.Arearole'
  11481. type: array
  11482. externalExchanges:
  11483. description: 外部交易所
  11484. items:
  11485. $ref: '#/definitions/models.Externalexchange'
  11486. type: array
  11487. goodsgroups:
  11488. description: 商品组
  11489. items:
  11490. $ref: '#/definitions/models.Goodsgroup'
  11491. type: array
  11492. loginAccount:
  11493. $ref: '#/definitions/models.Loginaccount'
  11494. description: 登录账号
  11495. type: object
  11496. markets:
  11497. description: 市场
  11498. items:
  11499. $ref: '#/definitions/models.Market'
  11500. type: array
  11501. systemParams:
  11502. description: 系统参数
  11503. items:
  11504. $ref: '#/definitions/models.Systemparam'
  11505. type: array
  11506. userAccount:
  11507. $ref: '#/definitions/models.Useraccount'
  11508. description: 用户账号
  11509. type: object
  11510. userInfo:
  11511. $ref: '#/definitions/models.Userinfo'
  11512. description: 用户信息
  11513. type: object
  11514. username:
  11515. description: 用户姓名
  11516. type: string
  11517. type: object
  11518. info:
  11519. contact: {}
  11520. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  11521. license: {}
  11522. termsOfService: http://muchinfo.cn
  11523. title: MTP2.0 查询服务 API
  11524. version: "1.0"
  11525. paths:
  11526. /CPTrade/QueryCPTradeMyBidInfos:
  11527. get:
  11528. parameters:
  11529. - description: 资金账户
  11530. in: query
  11531. name: accountid
  11532. required: true
  11533. type: integer
  11534. - description: 预售市场ID
  11535. in: query
  11536. name: marketid
  11537. type: integer
  11538. - description: 预售商品ID
  11539. in: query
  11540. name: goodsid
  11541. type: integer
  11542. produces:
  11543. - application/json
  11544. responses:
  11545. "200":
  11546. description: OK
  11547. schema:
  11548. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  11549. "500":
  11550. description: Internal Server Error
  11551. schema:
  11552. $ref: '#/definitions/app.Response'
  11553. security:
  11554. - ApiKeyAuth: []
  11555. summary: 查询产能预售我的出价信息
  11556. tags:
  11557. - 产能预售
  11558. /CPTrade/QueryCPTradeOrderDetail:
  11559. get:
  11560. parameters:
  11561. - description: 预售商品ID
  11562. in: query
  11563. name: goodsid
  11564. type: integer
  11565. - description: 预售市场ID
  11566. in: query
  11567. name: marketid
  11568. type: integer
  11569. - description: 预售商品ID列表 - 格式:1,2,3
  11570. in: query
  11571. name: goodsids
  11572. type: string
  11573. produces:
  11574. - application/json
  11575. responses:
  11576. "200":
  11577. description: OK
  11578. schema:
  11579. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  11580. "500":
  11581. description: Internal Server Error
  11582. schema:
  11583. $ref: '#/definitions/app.Response'
  11584. security:
  11585. - ApiKeyAuth: []
  11586. summary: 查询产能预售委托单信息
  11587. tags:
  11588. - 产能预售
  11589. /CPTrade/QueryMyCPTradeGoods:
  11590. get:
  11591. parameters:
  11592. - description: 资金账户
  11593. in: query
  11594. name: accountid
  11595. required: true
  11596. type: integer
  11597. produces:
  11598. - application/json
  11599. responses:
  11600. "200":
  11601. description: OK
  11602. schema:
  11603. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  11604. "500":
  11605. description: Internal Server Error
  11606. schema:
  11607. $ref: '#/definitions/app.Response'
  11608. security:
  11609. - ApiKeyAuth: []
  11610. summary: 查询我的预售信息
  11611. tags:
  11612. - 产能预售
  11613. /CPTrade/QueryPositionCancel:
  11614. get:
  11615. parameters:
  11616. - description: 账户ID
  11617. in: query
  11618. name: userid
  11619. required: true
  11620. type: integer
  11621. - description: 注销ID
  11622. in: query
  11623. name: cancelid
  11624. type: integer
  11625. - description: 资金账户ID
  11626. in: query
  11627. name: accountid
  11628. type: integer
  11629. produces:
  11630. - application/json
  11631. responses:
  11632. "200":
  11633. description: OK
  11634. schema:
  11635. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  11636. "500":
  11637. description: Internal Server Error
  11638. schema:
  11639. $ref: '#/definitions/app.Response'
  11640. security:
  11641. - ApiKeyAuth: []
  11642. summary: 查询远期订单注销申请信息
  11643. tags:
  11644. - 产能预售
  11645. /CPTrade/QueryPreasleApply:
  11646. get:
  11647. parameters:
  11648. - description: 账户ID
  11649. in: query
  11650. name: userid
  11651. required: true
  11652. type: integer
  11653. - description: 申请ID
  11654. in: query
  11655. name: applyid
  11656. type: integer
  11657. - description: 资金账户ID
  11658. in: query
  11659. name: accountid
  11660. type: integer
  11661. produces:
  11662. - application/json
  11663. responses:
  11664. "200":
  11665. description: OK
  11666. schema:
  11667. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  11668. "500":
  11669. description: Internal Server Error
  11670. schema:
  11671. $ref: '#/definitions/app.Response'
  11672. security:
  11673. - ApiKeyAuth: []
  11674. summary: 查询产能预售申请信息
  11675. tags:
  11676. - 产能预售
  11677. /CPTrade/QueryPresaleGoodsEx:
  11678. get:
  11679. parameters:
  11680. - description: 预售商品ID
  11681. in: query
  11682. name: goodsid
  11683. type: integer
  11684. - description: 预售市场ID
  11685. in: query
  11686. name: marketid
  11687. type: integer
  11688. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  11689. in: query
  11690. name: presalemode
  11691. type: integer
  11692. - description: 预售商品ID列表 - 格式:1,2,3
  11693. in: query
  11694. name: goodsids
  11695. type: string
  11696. - description: 预售商品代码
  11697. in: query
  11698. name: goodscode
  11699. type: string
  11700. produces:
  11701. - application/json
  11702. responses:
  11703. "200":
  11704. description: OK
  11705. schema:
  11706. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  11707. "500":
  11708. description: Internal Server Error
  11709. schema:
  11710. $ref: '#/definitions/app.Response'
  11711. security:
  11712. - ApiKeyAuth: []
  11713. summary: 查询产能预售商品扩展信息
  11714. tags:
  11715. - 产能预售
  11716. /CPTrade/QueryUserGoodsData:
  11717. get:
  11718. parameters:
  11719. - description: 资金账户ID
  11720. in: query
  11721. name: accountid
  11722. required: true
  11723. type: integer
  11724. produces:
  11725. - application/json
  11726. responses:
  11727. "200":
  11728. description: OK
  11729. schema:
  11730. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  11731. "500":
  11732. description: Internal Server Error
  11733. schema:
  11734. $ref: '#/definitions/app.Response'
  11735. security:
  11736. - ApiKeyAuth: []
  11737. summary: 查询远期订单信息
  11738. tags:
  11739. - 产能预售
  11740. /Common/GetAllEnums:
  11741. get:
  11742. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  11743. parameters:
  11744. - description: 起始自增ID
  11745. in: query
  11746. name: autoid
  11747. type: integer
  11748. produces:
  11749. - application/json
  11750. responses:
  11751. "200":
  11752. description: OK
  11753. schema:
  11754. $ref: '#/definitions/models.Enumdicitem'
  11755. "500":
  11756. description: Internal Server Error
  11757. schema:
  11758. $ref: '#/definitions/app.Response'
  11759. summary: 获取所有枚举信息
  11760. tags:
  11761. - 通用服务
  11762. /Common/GetClientMenus:
  11763. get:
  11764. parameters:
  11765. - description: 登录账号
  11766. in: query
  11767. name: loginID
  11768. required: true
  11769. type: integer
  11770. - description: 终端类型,0:PC 1:Mobile
  11771. in: query
  11772. name: clientType
  11773. type: integer
  11774. produces:
  11775. - application/json
  11776. responses:
  11777. "200":
  11778. description: OK
  11779. schema:
  11780. items:
  11781. $ref: '#/definitions/common.ClientMenu'
  11782. type: array
  11783. "500":
  11784. description: Internal Server Error
  11785. schema:
  11786. $ref: '#/definitions/app.Response'
  11787. security:
  11788. - ApiKeyAuth: []
  11789. summary: 获取交易端菜单
  11790. tags:
  11791. - 通用服务
  11792. /Common/GetDivisions:
  11793. get:
  11794. produces:
  11795. - application/json
  11796. responses:
  11797. "200":
  11798. description: OK
  11799. schema:
  11800. $ref: '#/definitions/models.Division'
  11801. "500":
  11802. description: Internal Server Error
  11803. schema:
  11804. $ref: '#/definitions/app.Response'
  11805. summary: 查询区域信息
  11806. tags:
  11807. - 通用服务
  11808. /Common/GetServerTime:
  11809. get:
  11810. produces:
  11811. - application/json
  11812. responses:
  11813. "200":
  11814. description: OK
  11815. schema:
  11816. $ref: '#/definitions/app.Response'
  11817. "500":
  11818. description: Internal Server Error
  11819. schema:
  11820. $ref: '#/definitions/app.Response'
  11821. summary: 获取服务器时间
  11822. tags:
  11823. - 通用服务
  11824. /Common/NoticeReaded:
  11825. post:
  11826. parameters:
  11827. - description: 登录账号
  11828. in: query
  11829. name: loginID
  11830. required: true
  11831. type: integer
  11832. - description: 通知公告ID
  11833. in: query
  11834. name: noticeID
  11835. required: true
  11836. type: integer
  11837. produces:
  11838. - application/json
  11839. responses:
  11840. "200":
  11841. description: OK
  11842. schema:
  11843. $ref: '#/definitions/app.Response'
  11844. "500":
  11845. description: Internal Server Error
  11846. schema:
  11847. $ref: '#/definitions/app.Response'
  11848. security:
  11849. - ApiKeyAuth: []
  11850. summary: 通知公告设置已读请求
  11851. tags:
  11852. - 通用服务
  11853. /Common/QueryErrorInfos:
  11854. get:
  11855. description: 如果传入rowNumber,则返回此rowNumber后的数据
  11856. parameters:
  11857. - description: 起始行号前索引
  11858. in: query
  11859. name: rowNumber
  11860. type: string
  11861. produces:
  11862. - application/json
  11863. responses:
  11864. "200":
  11865. description: OK
  11866. schema:
  11867. $ref: '#/definitions/models.QueryErrorInfosRsp'
  11868. "500":
  11869. description: Internal Server Error
  11870. schema:
  11871. $ref: '#/definitions/app.Response'
  11872. summary: 获取数据库错误信息
  11873. tags:
  11874. - 通用服务
  11875. /Common/QueryImageConfigs:
  11876. get:
  11877. parameters:
  11878. - description: 类型 - 1:App首页轮播 2:我的
  11879. in: query
  11880. name: imageType
  11881. type: integer
  11882. produces:
  11883. - application/json
  11884. responses:
  11885. "200":
  11886. description: OK
  11887. schema:
  11888. $ref: '#/definitions/common.QueryImageConfigsRsp'
  11889. "500":
  11890. description: Internal Server Error
  11891. schema:
  11892. $ref: '#/definitions/app.Response'
  11893. summary: 查询轮播图配置信息
  11894. tags:
  11895. - 通用服务
  11896. /Common/QueryNotice:
  11897. get:
  11898. parameters:
  11899. - description: 页码
  11900. in: query
  11901. name: page
  11902. type: integer
  11903. - description: 每页条数
  11904. in: query
  11905. name: pagesize
  11906. type: integer
  11907. - description: 登录账号
  11908. in: query
  11909. name: loginID
  11910. required: true
  11911. type: integer
  11912. - description: 消息类型 - 1:公告通知 2:系统消息
  11913. in: query
  11914. name: msgType
  11915. type: integer
  11916. - description: 是否只获取未读信息
  11917. in: query
  11918. name: onlyUnRead
  11919. type: boolean
  11920. - description: 自增ID,传入后会返回这个ID后面的记录
  11921. in: query
  11922. name: lastID
  11923. type: integer
  11924. produces:
  11925. - application/json
  11926. responses:
  11927. "200":
  11928. description: OK
  11929. schema:
  11930. $ref: '#/definitions/common.QueryNoticeRsp'
  11931. "500":
  11932. description: Internal Server Error
  11933. schema:
  11934. $ref: '#/definitions/app.Response'
  11935. security:
  11936. - ApiKeyAuth: []
  11937. summary: 通知公告系统消息查询
  11938. tags:
  11939. - 通用服务
  11940. /Common/QueryProvincesAndCities:
  11941. get:
  11942. parameters:
  11943. - description: 省ID
  11944. in: query
  11945. name: provinceID
  11946. type: integer
  11947. produces:
  11948. - application/json
  11949. responses:
  11950. "200":
  11951. description: OK
  11952. schema:
  11953. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  11954. "500":
  11955. description: Internal Server Error
  11956. schema:
  11957. $ref: '#/definitions/app.Response'
  11958. summary: 查询省市信息(不包括区)
  11959. tags:
  11960. - 通用服务
  11961. /Common/QueryTableDefine:
  11962. get:
  11963. parameters:
  11964. - description: 表key
  11965. in: query
  11966. name: tableKey
  11967. type: string
  11968. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  11969. in: query
  11970. name: tableType
  11971. type: integer
  11972. produces:
  11973. - application/json
  11974. responses:
  11975. "200":
  11976. description: OK
  11977. schema:
  11978. $ref: '#/definitions/common.QueryTableDefineRsp'
  11979. "500":
  11980. description: Internal Server Error
  11981. schema:
  11982. $ref: '#/definitions/app.Response'
  11983. summary: 查询交易端列表头信息
  11984. tags:
  11985. - 通用服务
  11986. /Common/QueryTraderMenu:
  11987. get:
  11988. parameters:
  11989. - description: 登录账号
  11990. in: query
  11991. name: loginid
  11992. required: true
  11993. type: integer
  11994. produces:
  11995. - application/json
  11996. responses:
  11997. "200":
  11998. description: OK
  11999. schema:
  12000. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12001. "500":
  12002. description: Internal Server Error
  12003. schema:
  12004. $ref: '#/definitions/app.Response'
  12005. summary: 查询交易端菜单
  12006. tags:
  12007. - 通用服务
  12008. /Delivery/QueryDeliveryRelation:
  12009. get:
  12010. parameters:
  12011. - description: 商品ID
  12012. in: query
  12013. name: goodsid
  12014. type: integer
  12015. - description: 品种ID
  12016. in: query
  12017. name: deliverygoodsid
  12018. type: integer
  12019. - description: 市场ID
  12020. in: query
  12021. name: marketid
  12022. type: integer
  12023. produces:
  12024. - application/json
  12025. responses:
  12026. "200":
  12027. description: OK
  12028. schema:
  12029. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12030. "500":
  12031. description: Internal Server Error
  12032. schema:
  12033. $ref: '#/definitions/app.Response'
  12034. security:
  12035. - ApiKeyAuth: []
  12036. summary: 查询商品交割关系表
  12037. tags:
  12038. - 交割服务
  12039. /Ermcp/GetErmcpGoods:
  12040. get:
  12041. parameters:
  12042. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12043. in: query
  12044. name: lastUpdateTime
  12045. type: string
  12046. produces:
  12047. - application/json
  12048. responses:
  12049. "200":
  12050. description: OK
  12051. schema:
  12052. $ref: '#/definitions/models.Goods'
  12053. "500":
  12054. description: Internal Server Error
  12055. schema:
  12056. $ref: '#/definitions/app.Response'
  12057. security:
  12058. - ApiKeyAuth: []
  12059. summary: 查询企业风管期货商品信息
  12060. tags:
  12061. - 企业风险管理(app)
  12062. /Ermcp/GetErmcpGoodsSortByPosition:
  12063. get:
  12064. parameters:
  12065. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12066. in: query
  12067. name: sortIndex
  12068. type: string
  12069. produces:
  12070. - application/json
  12071. responses:
  12072. "200":
  12073. description: OK
  12074. schema:
  12075. $ref: '#/definitions/models.Goodssortbypreposition'
  12076. "500":
  12077. description: Internal Server Error
  12078. schema:
  12079. $ref: '#/definitions/app.Response'
  12080. security:
  12081. - ApiKeyAuth: []
  12082. summary: 查询企业风管期货主力、次主力商品信息
  12083. tags:
  12084. - 企业风险管理(app)
  12085. /Ermcp/GetErmcpOutAccountStatus:
  12086. get:
  12087. parameters:
  12088. - description: 登录账号
  12089. in: query
  12090. name: loginID
  12091. required: true
  12092. type: integer
  12093. produces:
  12094. - application/json
  12095. responses:
  12096. "200":
  12097. description: OK
  12098. schema:
  12099. $ref: '#/definitions/models.Hedgemarketopenlog'
  12100. "500":
  12101. description: Internal Server Error
  12102. schema:
  12103. $ref: '#/definitions/app.Response'
  12104. security:
  12105. - ApiKeyAuth: []
  12106. summary: 获取目标登录账号当前对冲账号在线状态
  12107. tags:
  12108. - 企业风险管理(app)
  12109. /Ermcp/GetErmcpRoleFuncMenuLists:
  12110. get:
  12111. parameters:
  12112. - description: 登录账号
  12113. in: query
  12114. name: loginID
  12115. required: true
  12116. type: integer
  12117. produces:
  12118. - application/json
  12119. responses:
  12120. "200":
  12121. description: OK
  12122. schema:
  12123. $ref: '#/definitions/models.Funcmenulist'
  12124. "500":
  12125. description: Internal Server Error
  12126. schema:
  12127. $ref: '#/definitions/app.Response'
  12128. security:
  12129. - ApiKeyAuth: []
  12130. summary: 获取企业风管终端权限
  12131. tags:
  12132. - 企业风险管理(app)
  12133. /Ermcp/QueryAccMgrBizGroupSet:
  12134. get:
  12135. parameters:
  12136. - description: 用户ID
  12137. in: query
  12138. name: userid
  12139. required: true
  12140. type: integer
  12141. - description: 现货商品id
  12142. in: query
  12143. name: deliverygoodsid
  12144. type: integer
  12145. produces:
  12146. - application/json
  12147. responses:
  12148. "200":
  12149. description: OK
  12150. schema:
  12151. items:
  12152. $ref: '#/definitions/models.ErmcpBizGroupEx'
  12153. type: array
  12154. "500":
  12155. description: Internal Server Error
  12156. schema:
  12157. $ref: '#/definitions/app.Response'
  12158. security:
  12159. - ApiKeyAuth: []
  12160. summary: 查询业务类型分组(账户管理/账户设置)
  12161. tags:
  12162. - 企业风险管理(app)
  12163. /Ermcp/QueryAccMgrLoginUser:
  12164. get:
  12165. parameters:
  12166. - description: 用户ID
  12167. in: query
  12168. name: userid
  12169. required: true
  12170. type: integer
  12171. - description: 用户类型 2-机构 7-企业成员
  12172. in: query
  12173. name: usertype
  12174. type: integer
  12175. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  12176. in: query
  12177. name: querytype
  12178. required: true
  12179. type: integer
  12180. produces:
  12181. - application/json
  12182. responses:
  12183. "200":
  12184. description: OK
  12185. schema:
  12186. items:
  12187. $ref: '#/definitions/models.ErmcpLoginUserEx'
  12188. type: array
  12189. "500":
  12190. description: Internal Server Error
  12191. schema:
  12192. $ref: '#/definitions/app.Response'
  12193. security:
  12194. - ApiKeyAuth: []
  12195. summary: 查询账户管理登录账号(账户管理/登录账号)
  12196. tags:
  12197. - 企业风险管理(app)
  12198. /Ermcp/QueryAccMgrMainAccountInfo:
  12199. get:
  12200. parameters:
  12201. - description: 用户ID
  12202. in: query
  12203. name: userid
  12204. type: integer
  12205. - description: 主账号id
  12206. in: query
  12207. name: accountid
  12208. type: integer
  12209. produces:
  12210. - application/json
  12211. responses:
  12212. "200":
  12213. description: OK
  12214. schema:
  12215. items:
  12216. $ref: '#/definitions/models.MainAccountInfo'
  12217. type: array
  12218. "500":
  12219. description: Internal Server Error
  12220. schema:
  12221. $ref: '#/definitions/app.Response'
  12222. security:
  12223. - ApiKeyAuth: []
  12224. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  12225. tags:
  12226. - 企业风险管理(app)
  12227. /Ermcp/QueryAccMgrRole:
  12228. get:
  12229. parameters:
  12230. - description: 用户ID
  12231. in: query
  12232. name: userid
  12233. required: true
  12234. type: integer
  12235. produces:
  12236. - application/json
  12237. responses:
  12238. "200":
  12239. description: OK
  12240. schema:
  12241. items:
  12242. $ref: '#/definitions/models.ErmcpRole'
  12243. type: array
  12244. "500":
  12245. description: Internal Server Error
  12246. schema:
  12247. $ref: '#/definitions/app.Response'
  12248. security:
  12249. - ApiKeyAuth: []
  12250. summary: 查询账户管理角色设置(账户管理/角色设置)
  12251. tags:
  12252. - 企业风险管理(app)
  12253. /Ermcp/QueryAccMgrRoleMenu:
  12254. get:
  12255. parameters:
  12256. - description: 用户ID
  12257. in: query
  12258. name: userid
  12259. required: true
  12260. type: integer
  12261. - description: 角色id(可多个,逗号隔开)
  12262. in: query
  12263. name: roleid
  12264. type: string
  12265. produces:
  12266. - application/json
  12267. responses:
  12268. "200":
  12269. description: OK
  12270. schema:
  12271. items:
  12272. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  12273. type: array
  12274. "500":
  12275. description: Internal Server Error
  12276. schema:
  12277. $ref: '#/definitions/app.Response'
  12278. security:
  12279. - ApiKeyAuth: []
  12280. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  12281. tags:
  12282. - 企业风险管理(app)
  12283. /Ermcp/QueryAccMgrTaAccountInfo:
  12284. get:
  12285. parameters:
  12286. - description: 用户ID
  12287. in: query
  12288. name: userid
  12289. required: true
  12290. type: integer
  12291. - description: 账号id
  12292. in: query
  12293. name: accountid
  12294. type: integer
  12295. produces:
  12296. - application/json
  12297. responses:
  12298. "200":
  12299. description: OK
  12300. schema:
  12301. items:
  12302. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  12303. type: array
  12304. "500":
  12305. description: Internal Server Error
  12306. schema:
  12307. $ref: '#/definitions/app.Response'
  12308. security:
  12309. - ApiKeyAuth: []
  12310. summary: 查询账户管理授信(账户管理/账户设置/授信)
  12311. tags:
  12312. - 企业风险管理(app)
  12313. /Ermcp/QueryAccMgrTaaccount:
  12314. get:
  12315. parameters:
  12316. - description: 用户ID
  12317. in: query
  12318. name: userid
  12319. required: true
  12320. type: integer
  12321. produces:
  12322. - application/json
  12323. responses:
  12324. "200":
  12325. description: OK
  12326. schema:
  12327. items:
  12328. $ref: '#/definitions/models.ErmcpTaAccountEx'
  12329. type: array
  12330. "500":
  12331. description: Internal Server Error
  12332. schema:
  12333. $ref: '#/definitions/app.Response'
  12334. security:
  12335. - ApiKeyAuth: []
  12336. summary: 查询账户管理期货账号(账户管理/期货账号)
  12337. tags:
  12338. - 企业风险管理(app)
  12339. /Ermcp/QueryAvaildGoodsGroup:
  12340. get:
  12341. parameters:
  12342. - description: 所属机构ID
  12343. in: query
  12344. name: userid
  12345. required: true
  12346. type: integer
  12347. produces:
  12348. - application/json
  12349. responses:
  12350. "200":
  12351. description: OK
  12352. schema:
  12353. items:
  12354. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  12355. type: array
  12356. "500":
  12357. description: Internal Server Error
  12358. schema:
  12359. $ref: '#/definitions/app.Response'
  12360. security:
  12361. - ApiKeyAuth: []
  12362. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  12363. tags:
  12364. - 企业风险管理(app)
  12365. /Ermcp/QueryBusinessDj:
  12366. get:
  12367. parameters:
  12368. - description: 用户ID
  12369. in: query
  12370. name: UserId
  12371. required: true
  12372. type: integer
  12373. - description: 现货合同ID, 不填则查所有
  12374. in: query
  12375. name: relatedid
  12376. type: string
  12377. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12378. in: query
  12379. name: applystatus
  12380. type: string
  12381. produces:
  12382. - application/json
  12383. responses:
  12384. "200":
  12385. description: OK
  12386. schema:
  12387. items:
  12388. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  12389. type: array
  12390. "500":
  12391. description: Internal Server Error
  12392. schema:
  12393. $ref: '#/definitions/app.Response'
  12394. security:
  12395. - ApiKeyAuth: []
  12396. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  12397. tags:
  12398. - 企业风险管理(app)
  12399. /Ermcp/QueryBusinessFp:
  12400. get:
  12401. parameters:
  12402. - description: 用户ID
  12403. in: query
  12404. name: UserId
  12405. required: true
  12406. type: integer
  12407. - description: 现货合同ID, 不填则查所有
  12408. in: query
  12409. name: relatedid
  12410. type: string
  12411. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12412. in: query
  12413. name: applystatus
  12414. type: string
  12415. produces:
  12416. - application/json
  12417. responses:
  12418. "200":
  12419. description: OK
  12420. schema:
  12421. items:
  12422. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  12423. type: array
  12424. "500":
  12425. description: Internal Server Error
  12426. schema:
  12427. $ref: '#/definitions/app.Response'
  12428. security:
  12429. - ApiKeyAuth: []
  12430. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  12431. tags:
  12432. - 企业风险管理(app)
  12433. /Ermcp/QueryBusinessJs:
  12434. get:
  12435. parameters:
  12436. - description: 用户ID
  12437. in: query
  12438. name: UserId
  12439. required: true
  12440. type: integer
  12441. - description: 现货合同ID, 不填则查所有
  12442. in: query
  12443. name: relatedid
  12444. type: string
  12445. - description: 操作申请id
  12446. in: query
  12447. name: operateapplyid
  12448. type: string
  12449. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12450. in: query
  12451. name: applystatus
  12452. type: string
  12453. produces:
  12454. - application/json
  12455. responses:
  12456. "200":
  12457. description: OK
  12458. schema:
  12459. items:
  12460. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  12461. type: array
  12462. "500":
  12463. description: Internal Server Error
  12464. schema:
  12465. $ref: '#/definitions/app.Response'
  12466. security:
  12467. - ApiKeyAuth: []
  12468. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  12469. tags:
  12470. - 企业风险管理(app)
  12471. /Ermcp/QueryBusinessJsEx:
  12472. get:
  12473. parameters:
  12474. - description: 用户ID
  12475. in: query
  12476. name: UserId
  12477. required: true
  12478. type: integer
  12479. - description: 现货合同ID, 不填则查所有
  12480. in: query
  12481. name: relatedid
  12482. type: string
  12483. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12484. in: query
  12485. name: applystatus
  12486. type: string
  12487. produces:
  12488. - application/json
  12489. responses:
  12490. "200":
  12491. description: OK
  12492. schema:
  12493. items:
  12494. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  12495. type: array
  12496. "500":
  12497. description: Internal Server Error
  12498. schema:
  12499. $ref: '#/definitions/app.Response'
  12500. security:
  12501. - ApiKeyAuth: []
  12502. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  12503. tags:
  12504. - 企业风险管理(app)
  12505. /Ermcp/QueryBusinessKx:
  12506. get:
  12507. parameters:
  12508. - description: 用户ID
  12509. in: query
  12510. name: UserId
  12511. required: true
  12512. type: integer
  12513. - description: 现货合同ID, 不填则查所有
  12514. in: query
  12515. name: relatedid
  12516. type: string
  12517. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12518. in: query
  12519. name: applystatus
  12520. type: string
  12521. produces:
  12522. - application/json
  12523. responses:
  12524. "200":
  12525. description: OK
  12526. schema:
  12527. items:
  12528. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  12529. type: array
  12530. "500":
  12531. description: Internal Server Error
  12532. schema:
  12533. $ref: '#/definitions/app.Response'
  12534. security:
  12535. - ApiKeyAuth: []
  12536. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  12537. tags:
  12538. - 企业风险管理(app)
  12539. /Ermcp/QueryChangeLog:
  12540. get:
  12541. parameters:
  12542. - description: 合同ID
  12543. in: query
  12544. name: RelatedId
  12545. required: true
  12546. type: string
  12547. produces:
  12548. - application/json
  12549. responses:
  12550. "200":
  12551. description: OK
  12552. schema:
  12553. items:
  12554. $ref: '#/definitions/ermcp.QryOPLogRsp'
  12555. type: array
  12556. "500":
  12557. description: Internal Server Error
  12558. schema:
  12559. $ref: '#/definitions/app.Response'
  12560. security:
  12561. - ApiKeyAuth: []
  12562. summary: 查询变更记录
  12563. tags:
  12564. - 企业风险管理(app)
  12565. /Ermcp/QueryErmcpHisOrderDetails:
  12566. get:
  12567. parameters:
  12568. - description: 资金账户ID
  12569. in: query
  12570. name: accountID
  12571. required: true
  12572. type: integer
  12573. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12574. in: query
  12575. name: startDate
  12576. type: string
  12577. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12578. in: query
  12579. name: endDate
  12580. type: string
  12581. produces:
  12582. - application/json
  12583. responses:
  12584. "200":
  12585. description: OK
  12586. schema:
  12587. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  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/QueryErmcpHisTradeDetails:
  12598. get:
  12599. parameters:
  12600. - description: 资金账户ID
  12601. in: query
  12602. name: accountID
  12603. required: true
  12604. type: integer
  12605. - description: 商品ID
  12606. in: query
  12607. name: goodsID
  12608. type: integer
  12609. - description: 买卖方向,0:买 1:卖
  12610. in: query
  12611. name: buyOrSell
  12612. type: integer
  12613. - description: 关联委托单号
  12614. in: query
  12615. name: orderID
  12616. type: integer
  12617. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12618. in: query
  12619. name: startDate
  12620. type: string
  12621. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12622. in: query
  12623. name: endDate
  12624. type: string
  12625. produces:
  12626. - application/json
  12627. responses:
  12628. "200":
  12629. description: OK
  12630. schema:
  12631. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12632. "500":
  12633. description: Internal Server Error
  12634. schema:
  12635. $ref: '#/definitions/app.Response'
  12636. security:
  12637. - ApiKeyAuth: []
  12638. summary: 获取企业风管期货历史成交单信息
  12639. tags:
  12640. - 企业风险管理(app)
  12641. /Ermcp/QueryErmcpInnerHolderDetails:
  12642. get:
  12643. parameters:
  12644. - description: 资金账户ID
  12645. in: query
  12646. name: accountID
  12647. required: true
  12648. type: integer
  12649. - description: 商品ID
  12650. in: query
  12651. name: goodsID
  12652. type: integer
  12653. - description: 买卖方向,0:买 1:卖
  12654. in: query
  12655. name: buyOrSell
  12656. type: integer
  12657. produces:
  12658. - application/json
  12659. responses:
  12660. "200":
  12661. description: OK
  12662. schema:
  12663. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  12664. "500":
  12665. description: Internal Server Error
  12666. schema:
  12667. $ref: '#/definitions/app.Response'
  12668. security:
  12669. - ApiKeyAuth: []
  12670. summary: 获取企业风管期货内部持仓单信息
  12671. tags:
  12672. - 企业风险管理(app)
  12673. /Ermcp/QueryErmcpOrderDetails:
  12674. get:
  12675. parameters:
  12676. - description: 资金账户ID
  12677. in: query
  12678. name: accountID
  12679. required: true
  12680. type: integer
  12681. produces:
  12682. - application/json
  12683. responses:
  12684. "200":
  12685. description: OK
  12686. schema:
  12687. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12688. "500":
  12689. description: Internal Server Error
  12690. schema:
  12691. $ref: '#/definitions/app.Response'
  12692. security:
  12693. - ApiKeyAuth: []
  12694. summary: 获取企业风管期货委托单信息
  12695. tags:
  12696. - 企业风险管理(app)
  12697. /Ermcp/QueryErmcpTradeDetails:
  12698. get:
  12699. parameters:
  12700. - description: 资金账户ID
  12701. in: query
  12702. name: accountID
  12703. required: true
  12704. type: integer
  12705. - description: 商品ID
  12706. in: query
  12707. name: goodsID
  12708. type: integer
  12709. - description: 买卖方向,0:买 1:卖
  12710. in: query
  12711. name: buyOrSell
  12712. type: integer
  12713. - description: 关联委托单号
  12714. in: query
  12715. name: orderID
  12716. type: integer
  12717. produces:
  12718. - application/json
  12719. responses:
  12720. "200":
  12721. description: OK
  12722. schema:
  12723. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12724. "500":
  12725. description: Internal Server Error
  12726. schema:
  12727. $ref: '#/definitions/app.Response'
  12728. security:
  12729. - ApiKeyAuth: []
  12730. summary: 获取企业风管期货成交单信息
  12731. tags:
  12732. - 企业风险管理(app)
  12733. /Ermcp/QueryErmcpTradePosition:
  12734. get:
  12735. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  12736. parameters:
  12737. - description: 资金账户ID
  12738. in: query
  12739. name: accountID
  12740. required: true
  12741. type: integer
  12742. - description: 所属市场ID
  12743. in: query
  12744. name: marketID
  12745. type: integer
  12746. produces:
  12747. - application/json
  12748. responses:
  12749. "200":
  12750. description: OK
  12751. schema:
  12752. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  12753. "500":
  12754. description: Internal Server Error
  12755. schema:
  12756. $ref: '#/definitions/app.Response'
  12757. security:
  12758. - ApiKeyAuth: []
  12759. summary: 获取企业风管期货持仓头寸信息
  12760. tags:
  12761. - 企业风险管理(app)
  12762. /Ermcp/QueryExposureDetail:
  12763. get:
  12764. parameters:
  12765. - description: 所属机构ID
  12766. in: query
  12767. name: areaUserId
  12768. required: true
  12769. type: integer
  12770. - description: 套保商品
  12771. in: query
  12772. name: middleGoodsId
  12773. required: true
  12774. type: integer
  12775. produces:
  12776. - application/json
  12777. responses:
  12778. "200":
  12779. description: OK
  12780. schema:
  12781. items:
  12782. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  12783. type: array
  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/QueryExposureHedgePosition:
  12794. get:
  12795. parameters:
  12796. - description: 用户id
  12797. in: query
  12798. name: userid
  12799. required: true
  12800. type: integer
  12801. produces:
  12802. - application/json
  12803. responses:
  12804. "200":
  12805. description: OK
  12806. schema:
  12807. items:
  12808. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  12809. type: array
  12810. "500":
  12811. description: Internal Server Error
  12812. schema:
  12813. $ref: '#/definitions/app.Response'
  12814. security:
  12815. - ApiKeyAuth: []
  12816. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  12817. tags:
  12818. - 企业风险管理(app)
  12819. /Ermcp/QueryExposureHedgePositionDetail:
  12820. get:
  12821. parameters:
  12822. - description: 所属机构ID
  12823. in: query
  12824. name: userid
  12825. required: true
  12826. type: integer
  12827. - description: 商品id
  12828. in: query
  12829. name: goodsId
  12830. required: true
  12831. type: integer
  12832. produces:
  12833. - application/json
  12834. responses:
  12835. "200":
  12836. description: OK
  12837. schema:
  12838. items:
  12839. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  12840. type: array
  12841. "500":
  12842. description: Internal Server Error
  12843. schema:
  12844. $ref: '#/definitions/app.Response'
  12845. security:
  12846. - ApiKeyAuth: []
  12847. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  12848. tags:
  12849. - 企业风险管理(app)
  12850. /Ermcp/QueryExposureSpot:
  12851. get:
  12852. parameters:
  12853. - description: 所属机构ID
  12854. in: query
  12855. name: areaUserId
  12856. required: true
  12857. type: integer
  12858. produces:
  12859. - application/json
  12860. responses:
  12861. "200":
  12862. description: OK
  12863. schema:
  12864. items:
  12865. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  12866. type: array
  12867. "500":
  12868. description: Internal Server Error
  12869. schema:
  12870. $ref: '#/definitions/app.Response'
  12871. security:
  12872. - ApiKeyAuth: []
  12873. summary: 查询敞口现货头寸(敞口/现货头寸)
  12874. tags:
  12875. - 企业风险管理(app)
  12876. /Ermcp/QueryExposureSpotDetail:
  12877. get:
  12878. parameters:
  12879. - description: 所属机构ID
  12880. in: query
  12881. name: areaUserId
  12882. required: true
  12883. type: integer
  12884. - description: 现货品种ID
  12885. in: query
  12886. name: wrstandardId
  12887. required: true
  12888. type: integer
  12889. produces:
  12890. - application/json
  12891. responses:
  12892. "200":
  12893. description: OK
  12894. schema:
  12895. items:
  12896. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  12897. type: array
  12898. "500":
  12899. description: Internal Server Error
  12900. schema:
  12901. $ref: '#/definitions/app.Response'
  12902. security:
  12903. - ApiKeyAuth: []
  12904. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  12905. tags:
  12906. - 企业风险管理(app)
  12907. /Ermcp/QueryFuturesCompany:
  12908. get:
  12909. produces:
  12910. - application/json
  12911. responses:
  12912. "200":
  12913. description: OK
  12914. schema:
  12915. items:
  12916. $ref: '#/definitions/models.ErmcpFuturesCompany'
  12917. type: array
  12918. "500":
  12919. description: Internal Server Error
  12920. schema:
  12921. $ref: '#/definitions/app.Response'
  12922. security:
  12923. - ApiKeyAuth: []
  12924. summary: 查询期货公司
  12925. tags:
  12926. - 企业风险管理(app)
  12927. /Ermcp/QueryGGConvertConfig:
  12928. get:
  12929. parameters:
  12930. - description: 品种id(不填则查所有)
  12931. in: query
  12932. name: goodsgroupid
  12933. type: integer
  12934. produces:
  12935. - application/json
  12936. responses:
  12937. "200":
  12938. description: OK
  12939. schema:
  12940. items:
  12941. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  12942. type: array
  12943. "500":
  12944. description: Internal Server Error
  12945. schema:
  12946. $ref: '#/definitions/app.Response'
  12947. security:
  12948. - ApiKeyAuth: []
  12949. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  12950. tags:
  12951. - 企业风险管理(app)
  12952. /Ermcp/QueryGoodsBrand:
  12953. get:
  12954. parameters:
  12955. - description: 用户ID
  12956. in: query
  12957. name: userid
  12958. required: true
  12959. type: integer
  12960. - description: 现货商品ID
  12961. in: query
  12962. name: wrstandardid
  12963. type: integer
  12964. produces:
  12965. - application/json
  12966. responses:
  12967. "200":
  12968. description: OK
  12969. schema:
  12970. items:
  12971. $ref: '#/definitions/models.ErmcpGoodsBrand'
  12972. type: array
  12973. "500":
  12974. description: Internal Server Error
  12975. schema:
  12976. $ref: '#/definitions/app.Response'
  12977. security:
  12978. - ApiKeyAuth: []
  12979. summary: 查询商品品牌
  12980. tags:
  12981. - 企业风险管理(app)
  12982. /Ermcp/QueryGoodsModel:
  12983. get:
  12984. parameters:
  12985. - description: 用户ID
  12986. in: query
  12987. name: userid
  12988. required: true
  12989. type: integer
  12990. produces:
  12991. - application/json
  12992. responses:
  12993. "200":
  12994. description: OK
  12995. schema:
  12996. items:
  12997. $ref: '#/definitions/models.ErmcpGoodsModel'
  12998. type: array
  12999. "500":
  13000. description: Internal Server Error
  13001. schema:
  13002. $ref: '#/definitions/app.Response'
  13003. security:
  13004. - ApiKeyAuth: []
  13005. summary: 查询商品型号
  13006. tags:
  13007. - 企业风险管理(app)
  13008. /Ermcp/QueryHisExposure:
  13009. get:
  13010. parameters:
  13011. - description: 用户id
  13012. in: query
  13013. name: userid
  13014. required: true
  13015. type: integer
  13016. - description: 每个品种记录数
  13017. in: query
  13018. name: lastNum
  13019. required: true
  13020. type: integer
  13021. produces:
  13022. - application/json
  13023. responses:
  13024. "200":
  13025. description: OK
  13026. schema:
  13027. items:
  13028. $ref: '#/definitions/ermcp.HisExposureRsp'
  13029. type: array
  13030. "500":
  13031. description: Internal Server Error
  13032. schema:
  13033. $ref: '#/definitions/app.Response'
  13034. security:
  13035. - ApiKeyAuth: []
  13036. summary: 查询历史敞口(菜单:敞口/历史敞口)
  13037. tags:
  13038. - 企业风险管理(app)
  13039. /Ermcp/QueryMiddleGoods:
  13040. get:
  13041. parameters:
  13042. - description: 所属机构ID
  13043. in: query
  13044. name: userid
  13045. required: true
  13046. type: integer
  13047. - description: 状态 0-停用 1-正常
  13048. in: query
  13049. name: status
  13050. required: true
  13051. type: integer
  13052. produces:
  13053. - application/json
  13054. responses:
  13055. "200":
  13056. description: OK
  13057. schema:
  13058. items:
  13059. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  13060. type: array
  13061. "500":
  13062. description: Internal Server Error
  13063. schema:
  13064. $ref: '#/definitions/app.Response'
  13065. security:
  13066. - ApiKeyAuth: []
  13067. summary: 查询套保品种(菜单:套保品种)
  13068. tags:
  13069. - 企业风险管理(app)
  13070. /Ermcp/QueryMiddleGoodsChangeLog:
  13071. get:
  13072. parameters:
  13073. - description: 所属机构ID
  13074. in: query
  13075. name: userid
  13076. required: true
  13077. type: integer
  13078. - description: 套保品种id
  13079. in: query
  13080. name: middlegoodsid
  13081. required: true
  13082. type: integer
  13083. produces:
  13084. - application/json
  13085. responses:
  13086. "200":
  13087. description: OK
  13088. schema:
  13089. items:
  13090. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  13091. type: array
  13092. "500":
  13093. description: Internal Server Error
  13094. schema:
  13095. $ref: '#/definitions/app.Response'
  13096. security:
  13097. - ApiKeyAuth: []
  13098. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  13099. tags:
  13100. - 企业风险管理(app)
  13101. /Ermcp/QueryMiddleGoodsDetail:
  13102. get:
  13103. parameters:
  13104. - description: 所属机构ID
  13105. in: query
  13106. name: userid
  13107. required: true
  13108. type: integer
  13109. - description: 套保品种id
  13110. in: query
  13111. name: middlegoodsid
  13112. type: integer
  13113. produces:
  13114. - application/json
  13115. responses:
  13116. "200":
  13117. description: OK
  13118. schema:
  13119. items:
  13120. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  13121. type: array
  13122. "500":
  13123. description: Internal Server Error
  13124. schema:
  13125. $ref: '#/definitions/app.Response'
  13126. security:
  13127. - ApiKeyAuth: []
  13128. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  13129. tags:
  13130. - 企业风险管理(app)
  13131. /Ermcp/QueryPendingAuditInfo:
  13132. get:
  13133. parameters:
  13134. - description: 用户ID
  13135. in: query
  13136. name: UserId
  13137. required: true
  13138. type: integer
  13139. produces:
  13140. - application/json
  13141. responses:
  13142. "200":
  13143. description: OK
  13144. schema:
  13145. items:
  13146. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  13147. type: array
  13148. "500":
  13149. description: Internal Server Error
  13150. schema:
  13151. $ref: '#/definitions/app.Response'
  13152. security:
  13153. - ApiKeyAuth: []
  13154. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  13155. tags:
  13156. - 企业风险管理(app)
  13157. /Ermcp/QueryRealtimeExposure:
  13158. get:
  13159. parameters:
  13160. - description: 所属机构ID
  13161. in: query
  13162. name: userid
  13163. required: true
  13164. type: integer
  13165. produces:
  13166. - application/json
  13167. responses:
  13168. "200":
  13169. description: OK
  13170. schema:
  13171. items:
  13172. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  13173. type: array
  13174. "500":
  13175. description: Internal Server Error
  13176. schema:
  13177. $ref: '#/definitions/app.Response'
  13178. security:
  13179. - ApiKeyAuth: []
  13180. summary: 查询实时敞口
  13181. tags:
  13182. - 企业风险管理(app)
  13183. /Ermcp/QueryRealtimeExposurePosition:
  13184. get:
  13185. parameters:
  13186. - description: 用户id
  13187. in: query
  13188. name: userid
  13189. required: true
  13190. type: integer
  13191. - description: 套保商品ID
  13192. in: query
  13193. name: middleGoodsId
  13194. required: true
  13195. type: integer
  13196. produces:
  13197. - application/json
  13198. responses:
  13199. "200":
  13200. description: OK
  13201. schema:
  13202. items:
  13203. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  13204. type: array
  13205. "500":
  13206. description: Internal Server Error
  13207. schema:
  13208. $ref: '#/definitions/app.Response'
  13209. security:
  13210. - ApiKeyAuth: []
  13211. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  13212. tags:
  13213. - 企业风险管理(app)
  13214. /Ermcp/QueryTradeConfigTMP:
  13215. get:
  13216. parameters:
  13217. - description: 所属机构id
  13218. in: query
  13219. name: areauserid
  13220. type: integer
  13221. produces:
  13222. - application/json
  13223. responses:
  13224. "200":
  13225. description: OK
  13226. schema:
  13227. items:
  13228. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  13229. type: array
  13230. "500":
  13231. description: Internal Server Error
  13232. schema:
  13233. $ref: '#/definitions/app.Response'
  13234. security:
  13235. - ApiKeyAuth: []
  13236. summary: 查询交易模板配置
  13237. tags:
  13238. - 企业风险管理(app)
  13239. /Ermcp/QueryUserInfo:
  13240. get:
  13241. parameters:
  13242. - description: 所属机构用户ID
  13243. in: query
  13244. name: MemberUserID
  13245. required: true
  13246. type: integer
  13247. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  13248. in: query
  13249. name: queryType
  13250. required: true
  13251. type: integer
  13252. produces:
  13253. - application/json
  13254. responses:
  13255. "200":
  13256. description: OK
  13257. schema:
  13258. items:
  13259. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  13260. type: array
  13261. "500":
  13262. description: Internal Server Error
  13263. schema:
  13264. $ref: '#/definitions/app.Response'
  13265. security:
  13266. - ApiKeyAuth: []
  13267. summary: 查询客户资料
  13268. tags:
  13269. - 企业风险管理(app)
  13270. /Ermcp/QueryWarehouseInfo:
  13271. get:
  13272. parameters:
  13273. - description: 用户ID
  13274. in: query
  13275. name: userid
  13276. required: true
  13277. type: integer
  13278. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  13279. in: query
  13280. name: status
  13281. type: string
  13282. produces:
  13283. - application/json
  13284. responses:
  13285. "200":
  13286. description: OK
  13287. schema:
  13288. items:
  13289. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  13290. type: array
  13291. "500":
  13292. description: Internal Server Error
  13293. schema:
  13294. $ref: '#/definitions/app.Response'
  13295. security:
  13296. - ApiKeyAuth: []
  13297. summary: 查询仓库信息
  13298. tags:
  13299. - 企业风险管理(app)
  13300. /Ermcp3/QryAreaExpourseContractDetail:
  13301. get:
  13302. parameters:
  13303. - description: 用户ID
  13304. in: query
  13305. name: userid
  13306. required: true
  13307. type: integer
  13308. - description: 套保商品id
  13309. in: query
  13310. name: middlegoodsid
  13311. required: true
  13312. type: integer
  13313. - description: 交易日(格式yyyymmdd)
  13314. in: query
  13315. name: tradedate
  13316. required: true
  13317. type: string
  13318. produces:
  13319. - application/json
  13320. responses:
  13321. "200":
  13322. description: OK
  13323. schema:
  13324. items:
  13325. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  13326. type: array
  13327. "500":
  13328. description: Internal Server Error
  13329. schema:
  13330. $ref: '#/definitions/app.Response'
  13331. security:
  13332. - ApiKeyAuth: []
  13333. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  13334. tags:
  13335. - 企业风险管理v3(app)
  13336. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  13337. get:
  13338. parameters:
  13339. - description: 用户ID
  13340. in: query
  13341. name: userid
  13342. required: true
  13343. type: integer
  13344. - description: 套保商品id
  13345. in: query
  13346. name: middlegoodsid
  13347. required: true
  13348. type: integer
  13349. - description: 交易日(格式yyyymmdd)
  13350. in: query
  13351. name: tradedate
  13352. required: true
  13353. type: string
  13354. produces:
  13355. - application/json
  13356. responses:
  13357. "200":
  13358. description: OK
  13359. schema:
  13360. items:
  13361. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  13362. type: array
  13363. "500":
  13364. description: Internal Server Error
  13365. schema:
  13366. $ref: '#/definitions/app.Response'
  13367. security:
  13368. - ApiKeyAuth: []
  13369. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  13370. tags:
  13371. - 企业风险管理v3(app)
  13372. /Ermcp3/QryAreaExpourseReport:
  13373. get:
  13374. parameters:
  13375. - description: 用户ID
  13376. in: query
  13377. name: userid
  13378. required: true
  13379. type: integer
  13380. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细 5-周期报表明细
  13381. in: query
  13382. name: querytype
  13383. required: true
  13384. type: integer
  13385. - description: 交易日(格式yyyymmdd)
  13386. in: query
  13387. name: tradedate
  13388. type: string
  13389. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  13390. in: query
  13391. name: cycletype
  13392. type: integer
  13393. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  13394. in: query
  13395. name: cycletime
  13396. type: string
  13397. - description: 开始交易日(格式yyyymmdd)
  13398. in: query
  13399. name: begindate
  13400. type: string
  13401. - description: 结束交易日(格式yyyymmdd)
  13402. in: query
  13403. name: enddate
  13404. type: string
  13405. produces:
  13406. - application/json
  13407. responses:
  13408. "200":
  13409. description: OK
  13410. schema:
  13411. items:
  13412. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  13413. type: array
  13414. "500":
  13415. description: Internal Server Error
  13416. schema:
  13417. $ref: '#/definitions/app.Response'
  13418. security:
  13419. - ApiKeyAuth: []
  13420. summary: 查询敞口报表
  13421. tags:
  13422. - 企业风险管理v3(app)
  13423. /Ermcp3/QryAreaSpotplReport:
  13424. get:
  13425. parameters:
  13426. - description: 用户ID
  13427. in: query
  13428. name: userid
  13429. required: true
  13430. type: integer
  13431. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细 5-周期报表明细
  13432. in: query
  13433. name: querytype
  13434. required: true
  13435. type: integer
  13436. - description: 交易日(格式yyyymmdd)
  13437. in: query
  13438. name: tradedate
  13439. type: string
  13440. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  13441. in: query
  13442. name: cycletype
  13443. type: integer
  13444. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  13445. in: query
  13446. name: cycletime
  13447. type: string
  13448. - description: 开始交易日(格式yyyymmdd)
  13449. in: query
  13450. name: begindate
  13451. type: string
  13452. - description: 结束交易日(格式yyyymmdd)
  13453. in: query
  13454. name: enddate
  13455. type: string
  13456. - description: 现货品种id
  13457. in: query
  13458. name: deliverygoodsid
  13459. type: integer
  13460. - description: 品类id
  13461. in: query
  13462. name: wrstandardid
  13463. type: integer
  13464. - description: 币种id
  13465. in: query
  13466. name: currencyid
  13467. type: integer
  13468. produces:
  13469. - application/json
  13470. responses:
  13471. "200":
  13472. description: OK
  13473. schema:
  13474. items:
  13475. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  13476. type: array
  13477. "500":
  13478. description: Internal Server Error
  13479. schema:
  13480. $ref: '#/definitions/app.Response'
  13481. security:
  13482. - ApiKeyAuth: []
  13483. summary: 查询现货报表
  13484. tags:
  13485. - 企业风险管理v3(app)
  13486. /Ermcp3/QryAreaStockReport:
  13487. get:
  13488. parameters:
  13489. - description: 用户ID
  13490. in: query
  13491. name: userid
  13492. required: true
  13493. type: integer
  13494. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细 5-周期报表明细
  13495. in: query
  13496. name: querytype
  13497. required: true
  13498. type: integer
  13499. - description: 交易日(格式yyyymmdd)
  13500. in: query
  13501. name: tradedate
  13502. type: string
  13503. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  13504. in: query
  13505. name: cycletype
  13506. type: integer
  13507. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  13508. in: query
  13509. name: cycletime
  13510. type: string
  13511. - description: 开始交易日(格式yyyymmdd)
  13512. in: query
  13513. name: begindate
  13514. type: string
  13515. - description: 结束交易日(格式yyyymmdd)
  13516. in: query
  13517. name: enddate
  13518. type: string
  13519. - description: 现货商品ID
  13520. in: query
  13521. name: deliverygoodsid
  13522. type: integer
  13523. - description: 品类ID
  13524. in: query
  13525. name: wrstandardid
  13526. type: integer
  13527. - description: 品牌ID
  13528. in: query
  13529. name: spotgoodsbrandid
  13530. type: integer
  13531. produces:
  13532. - application/json
  13533. responses:
  13534. "200":
  13535. description: OK
  13536. schema:
  13537. items:
  13538. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  13539. type: array
  13540. "500":
  13541. description: Internal Server Error
  13542. schema:
  13543. $ref: '#/definitions/app.Response'
  13544. security:
  13545. - ApiKeyAuth: []
  13546. summary: 查询库存报表
  13547. tags:
  13548. - 企业风险管理v3(app)
  13549. /Ermcp3/QryAreaSumPL:
  13550. get:
  13551. parameters:
  13552. - description: 用户ID
  13553. in: query
  13554. name: userid
  13555. required: true
  13556. type: integer
  13557. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细 5-周期报表明细
  13558. in: query
  13559. name: querytype
  13560. required: true
  13561. type: integer
  13562. - description: 交易日(格式yyyymmdd)
  13563. in: query
  13564. name: tradedate
  13565. type: string
  13566. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  13567. in: query
  13568. name: cycletype
  13569. type: integer
  13570. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  13571. in: query
  13572. name: cycletime
  13573. type: string
  13574. - description: 开始交易日(格式yyyymmdd)
  13575. in: query
  13576. name: begindate
  13577. type: string
  13578. - description: 结束交易日(格式yyyymmdd)
  13579. in: query
  13580. name: enddate
  13581. type: string
  13582. - description: 币种id(日报表明细)
  13583. in: query
  13584. name: currencyid
  13585. type: integer
  13586. produces:
  13587. - application/json
  13588. responses:
  13589. "200":
  13590. description: OK
  13591. schema:
  13592. items:
  13593. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  13594. type: array
  13595. "500":
  13596. description: Internal Server Error
  13597. schema:
  13598. $ref: '#/definitions/app.Response'
  13599. security:
  13600. - ApiKeyAuth: []
  13601. summary: 查询汇总损益表
  13602. tags:
  13603. - 企业风险管理v3(app)
  13604. /Ermcp3/QryFinanceReport:
  13605. get:
  13606. parameters:
  13607. - description: 用户ID
  13608. in: query
  13609. name: userid
  13610. required: true
  13611. type: integer
  13612. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细 5-周期报表明细
  13613. in: query
  13614. name: querytype
  13615. required: true
  13616. type: integer
  13617. - description: 交易日(格式yyyymmdd)
  13618. in: query
  13619. name: tradedate
  13620. type: string
  13621. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  13622. in: query
  13623. name: cycletype
  13624. type: integer
  13625. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  13626. in: query
  13627. name: cycletime
  13628. type: string
  13629. - description: 开始交易日(格式yyyymmdd)
  13630. in: query
  13631. name: begindate
  13632. type: string
  13633. - description: 结束交易日(格式yyyymmdd)
  13634. in: query
  13635. name: enddate
  13636. type: string
  13637. - description: 币种id(日报表明细)
  13638. in: query
  13639. name: currencyid
  13640. type: integer
  13641. produces:
  13642. - application/json
  13643. responses:
  13644. "200":
  13645. description: OK
  13646. schema:
  13647. items:
  13648. $ref: '#/definitions/models.Ermcp3FinanceReport'
  13649. type: array
  13650. "500":
  13651. description: Internal Server Error
  13652. schema:
  13653. $ref: '#/definitions/app.Response'
  13654. security:
  13655. - ApiKeyAuth: []
  13656. summary: 查询财务报表
  13657. tags:
  13658. - 企业风险管理v3(app)
  13659. /Ermcp3/QueryAreaStock:
  13660. get:
  13661. parameters:
  13662. - description: 用户ID
  13663. in: query
  13664. name: userid
  13665. required: true
  13666. type: integer
  13667. produces:
  13668. - application/json
  13669. responses:
  13670. "200":
  13671. description: OK
  13672. schema:
  13673. items:
  13674. $ref: '#/definitions/models.Ermcp3AreaStock'
  13675. type: array
  13676. "500":
  13677. description: Internal Server Error
  13678. schema:
  13679. $ref: '#/definitions/app.Response'
  13680. security:
  13681. - ApiKeyAuth: []
  13682. summary: 查询机构库存(库存管理/当前库存)
  13683. tags:
  13684. - 企业风险管理v3(app)
  13685. /Ermcp3/QueryAreaStockApply:
  13686. get:
  13687. parameters:
  13688. - description: 用户ID
  13689. in: query
  13690. name: userid
  13691. required: true
  13692. type: integer
  13693. - description: 现货商品ID
  13694. in: query
  13695. name: deliverygoodsid
  13696. type: integer
  13697. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  13698. in: query
  13699. name: inouttype
  13700. type: string
  13701. - description: 合同ID
  13702. in: query
  13703. name: spotcontractid
  13704. type: integer
  13705. - description: 品类ID
  13706. in: query
  13707. name: wrstandardid
  13708. type: integer
  13709. - description: 品牌ID
  13710. in: query
  13711. name: spotgoodsbrandid
  13712. type: integer
  13713. - description: 仓库ID
  13714. in: query
  13715. name: warehouseinfoid
  13716. type: integer
  13717. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13718. in: query
  13719. name: applystatus
  13720. type: string
  13721. produces:
  13722. - application/json
  13723. responses:
  13724. "200":
  13725. description: OK
  13726. schema:
  13727. items:
  13728. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  13729. type: array
  13730. "500":
  13731. description: Internal Server Error
  13732. schema:
  13733. $ref: '#/definitions/app.Response'
  13734. security:
  13735. - ApiKeyAuth: []
  13736. summary: 查询库存申请(出入库记录|库存审核)
  13737. tags:
  13738. - 企业风险管理v3(app)
  13739. /Ermcp3/QueryAreaStockApplySum:
  13740. get:
  13741. parameters:
  13742. - description: 合同ID
  13743. in: query
  13744. name: spotcontractid
  13745. type: integer
  13746. produces:
  13747. - application/json
  13748. responses:
  13749. "200":
  13750. description: OK
  13751. schema:
  13752. items:
  13753. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  13754. type: array
  13755. "500":
  13756. description: Internal Server Error
  13757. schema:
  13758. $ref: '#/definitions/app.Response'
  13759. security:
  13760. - ApiKeyAuth: []
  13761. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13762. tags:
  13763. - 企业风险管理v3(app)
  13764. /Ermcp3/QueryDGFactoryItem:
  13765. get:
  13766. parameters:
  13767. - description: 用户id
  13768. in: query
  13769. name: userid
  13770. type: integer
  13771. - description: 用户类型 2-机构 7-企业成员
  13772. in: query
  13773. name: usertype
  13774. type: integer
  13775. - description: 选择项ID(SEQ_DGFACTORYITEM)
  13776. in: query
  13777. name: dgfactoryitemid
  13778. type: integer
  13779. - description: 现货品种ID
  13780. in: query
  13781. name: deliverygoodsid
  13782. type: integer
  13783. - description: 要素项类型
  13784. in: query
  13785. name: dgfactoryitemtypeid
  13786. type: integer
  13787. - description: 顺序
  13788. in: query
  13789. name: orderindex
  13790. type: integer
  13791. produces:
  13792. - application/json
  13793. responses:
  13794. "200":
  13795. description: OK
  13796. schema:
  13797. items:
  13798. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  13799. type: array
  13800. "500":
  13801. description: Internal Server Error
  13802. schema:
  13803. $ref: '#/definitions/app.Response'
  13804. security:
  13805. - ApiKeyAuth: []
  13806. summary: 查询品种要素定义项
  13807. tags:
  13808. - 企业风险管理v3(app)
  13809. /Ermcp3/QueryDeliveryGoods:
  13810. get:
  13811. parameters:
  13812. - description: 用户id
  13813. in: query
  13814. name: userid
  13815. required: true
  13816. type: integer
  13817. - description: 用户类型 2-机构 7-企业成员
  13818. in: query
  13819. name: usertype
  13820. type: integer
  13821. - description: 排除已配置的业务类型商品 1-套保 2-套利
  13822. in: query
  13823. name: excludecfg
  13824. type: integer
  13825. produces:
  13826. - application/json
  13827. responses:
  13828. "200":
  13829. description: OK
  13830. schema:
  13831. items:
  13832. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  13833. type: array
  13834. "500":
  13835. description: Internal Server Error
  13836. schema:
  13837. $ref: '#/definitions/app.Response'
  13838. security:
  13839. - ApiKeyAuth: []
  13840. summary: 查询现货商品
  13841. tags:
  13842. - 企业风险管理v3(app)
  13843. /Ermcp3/QueryDeliveryGoodsDetail:
  13844. get:
  13845. parameters:
  13846. - description: 用户id
  13847. in: query
  13848. name: userid
  13849. required: true
  13850. type: integer
  13851. - description: 用户类型 2-机构 7-企业成员
  13852. in: query
  13853. name: usertype
  13854. type: integer
  13855. - description: 现货商品id
  13856. in: query
  13857. name: deliverygoodsid
  13858. type: integer
  13859. produces:
  13860. - application/json
  13861. responses:
  13862. "200":
  13863. description: OK
  13864. schema:
  13865. items:
  13866. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  13867. type: array
  13868. "500":
  13869. description: Internal Server Error
  13870. schema:
  13871. $ref: '#/definitions/app.Response'
  13872. security:
  13873. - ApiKeyAuth: []
  13874. summary: 查询现货商品详情
  13875. tags:
  13876. - 企业风险管理v3(app)
  13877. /Ermcp3/QueryExposureDetail:
  13878. get:
  13879. parameters:
  13880. - description: 用户id
  13881. in: query
  13882. name: userid
  13883. required: true
  13884. type: integer
  13885. - description: 用户类型 2-机构 7-企业成员
  13886. in: query
  13887. name: usertype
  13888. type: integer
  13889. - description: 套保商品
  13890. in: query
  13891. name: middlegoodsid
  13892. required: true
  13893. type: integer
  13894. produces:
  13895. - application/json
  13896. responses:
  13897. "200":
  13898. description: OK
  13899. schema:
  13900. items:
  13901. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  13902. type: array
  13903. "500":
  13904. description: Internal Server Error
  13905. schema:
  13906. $ref: '#/definitions/app.Response'
  13907. security:
  13908. - ApiKeyAuth: []
  13909. summary: 查询敞口现货明细
  13910. tags:
  13911. - 企业风险管理v3(app)
  13912. /Ermcp3/QueryExposureSpot:
  13913. get:
  13914. parameters:
  13915. - description: 用户id
  13916. in: query
  13917. name: userid
  13918. required: true
  13919. type: integer
  13920. - description: 用户类型 2-机构 7-企业成员
  13921. in: query
  13922. name: usertype
  13923. type: integer
  13924. produces:
  13925. - application/json
  13926. responses:
  13927. "200":
  13928. description: OK
  13929. schema:
  13930. items:
  13931. $ref: '#/definitions/models.Ermcp3AreaSpot'
  13932. type: array
  13933. "500":
  13934. description: Internal Server Error
  13935. schema:
  13936. $ref: '#/definitions/app.Response'
  13937. security:
  13938. - ApiKeyAuth: []
  13939. summary: 查询敞口现货头寸(敞口/现货头寸)
  13940. tags:
  13941. - 企业风险管理v3(app)
  13942. /Ermcp3/QueryExposureSpotDetail:
  13943. get:
  13944. parameters:
  13945. - description: 用户id
  13946. in: query
  13947. name: userid
  13948. required: true
  13949. type: integer
  13950. - description: 用户类型 2-机构 7-企业成员
  13951. in: query
  13952. name: usertype
  13953. type: integer
  13954. - description: 现货品种ID
  13955. in: query
  13956. name: deliverygoodsid
  13957. required: true
  13958. type: integer
  13959. produces:
  13960. - application/json
  13961. responses:
  13962. "200":
  13963. description: OK
  13964. schema:
  13965. items:
  13966. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  13967. type: array
  13968. "500":
  13969. description: Internal Server Error
  13970. schema:
  13971. $ref: '#/definitions/app.Response'
  13972. security:
  13973. - ApiKeyAuth: []
  13974. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13975. tags:
  13976. - 企业风险管理v3(app)
  13977. /Ermcp3/QueryGoodsGroup:
  13978. get:
  13979. parameters:
  13980. - description: 用户id
  13981. in: query
  13982. name: userid
  13983. required: true
  13984. type: integer
  13985. - description: 用户类型 2-机构 7-企业成员
  13986. in: query
  13987. name: usertype
  13988. type: integer
  13989. - description: 排除套保品中已关联的商品组 1-排除
  13990. in: query
  13991. name: excludecfg
  13992. type: integer
  13993. produces:
  13994. - application/json
  13995. responses:
  13996. "200":
  13997. description: OK
  13998. schema:
  13999. items:
  14000. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  14001. type: array
  14002. "500":
  14003. description: Internal Server Error
  14004. schema:
  14005. $ref: '#/definitions/app.Response'
  14006. security:
  14007. - ApiKeyAuth: []
  14008. summary: 查询期货商品组
  14009. tags:
  14010. - 企业风险管理v3(app)
  14011. /Ermcp3/QueryGoodsWrstandard:
  14012. get:
  14013. parameters:
  14014. - description: 用户id
  14015. in: query
  14016. name: userid
  14017. required: true
  14018. type: integer
  14019. - description: 用户类型 2-机构 7-企业成员
  14020. in: query
  14021. name: usertype
  14022. type: integer
  14023. - description: 现货商品id
  14024. in: query
  14025. name: deliverygoodsid
  14026. type: integer
  14027. produces:
  14028. - application/json
  14029. responses:
  14030. "200":
  14031. description: OK
  14032. schema:
  14033. items:
  14034. $ref: '#/definitions/models.Ermcp3Wrstandard'
  14035. type: array
  14036. "500":
  14037. description: Internal Server Error
  14038. schema:
  14039. $ref: '#/definitions/app.Response'
  14040. security:
  14041. - ApiKeyAuth: []
  14042. summary: 查询商品品类
  14043. tags:
  14044. - 企业风险管理v3(app)
  14045. /Ermcp3/QueryGoodsbrand:
  14046. get:
  14047. parameters:
  14048. - description: 用户id
  14049. in: query
  14050. name: userid
  14051. required: true
  14052. type: integer
  14053. - description: 用户类型 2-机构 7-企业成员
  14054. in: query
  14055. name: usertype
  14056. type: integer
  14057. produces:
  14058. - application/json
  14059. responses:
  14060. "200":
  14061. description: OK
  14062. schema:
  14063. items:
  14064. $ref: '#/definitions/models.Ermcp3Brand'
  14065. type: array
  14066. "500":
  14067. description: Internal Server Error
  14068. schema:
  14069. $ref: '#/definitions/app.Response'
  14070. security:
  14071. - ApiKeyAuth: []
  14072. summary: 查询商品品牌
  14073. tags:
  14074. - 企业风险管理v3(app)
  14075. /Ermcp3/QueryHedgePlan:
  14076. get:
  14077. parameters:
  14078. - description: 用户ID
  14079. in: query
  14080. name: userid
  14081. required: true
  14082. type: integer
  14083. - description: 用户类型 2-机构 7-企业成员
  14084. in: query
  14085. name: usertype
  14086. type: integer
  14087. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14088. in: query
  14089. name: hedgeplanstatus
  14090. required: true
  14091. type: string
  14092. produces:
  14093. - application/json
  14094. responses:
  14095. "200":
  14096. description: OK
  14097. schema:
  14098. items:
  14099. $ref: '#/definitions/models.Ermcp3HedgePlan'
  14100. type: array
  14101. "500":
  14102. description: Internal Server Error
  14103. schema:
  14104. $ref: '#/definitions/app.Response'
  14105. security:
  14106. - ApiKeyAuth: []
  14107. summary: 查询套保计划
  14108. tags:
  14109. - 企业风险管理v3(app)
  14110. /Ermcp3/QueryMiddleGoodsDetail:
  14111. get:
  14112. parameters:
  14113. - description: 用户id
  14114. in: query
  14115. name: userid
  14116. required: true
  14117. type: integer
  14118. - description: 用户类型 2-机构 7-企业成员
  14119. in: query
  14120. name: usertype
  14121. type: integer
  14122. - description: 套保品种id
  14123. in: query
  14124. name: middlegoodsid
  14125. type: integer
  14126. produces:
  14127. - application/json
  14128. responses:
  14129. "200":
  14130. description: OK
  14131. schema:
  14132. items:
  14133. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  14134. type: array
  14135. "500":
  14136. description: Internal Server Error
  14137. schema:
  14138. $ref: '#/definitions/app.Response'
  14139. security:
  14140. - ApiKeyAuth: []
  14141. summary: 查询套保品种详情(套保品种/商品详情)
  14142. tags:
  14143. - 企业风险管理v3(app)
  14144. /Ermcp3/QuerySpotContract:
  14145. get:
  14146. parameters:
  14147. - description: 用户id
  14148. in: query
  14149. name: userid
  14150. required: true
  14151. type: integer
  14152. - description: 用户类型 2-机构 7-企业成员
  14153. in: query
  14154. name: usertype
  14155. type: integer
  14156. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14157. in: query
  14158. name: querytype
  14159. required: true
  14160. type: integer
  14161. - description: 合同ID(SpotContractId)
  14162. in: query
  14163. name: contractid
  14164. type: string
  14165. produces:
  14166. - application/json
  14167. responses:
  14168. "200":
  14169. description: OK
  14170. schema:
  14171. items:
  14172. $ref: '#/definitions/models.Ermcp3Contract'
  14173. type: array
  14174. "500":
  14175. description: Internal Server Error
  14176. schema:
  14177. $ref: '#/definitions/app.Response'
  14178. security:
  14179. - ApiKeyAuth: []
  14180. summary: 查询现货合同
  14181. tags:
  14182. - 企业风险管理v3(app)
  14183. /Ermcp3/QuerySpotContractBS:
  14184. get:
  14185. parameters:
  14186. - description: 用户id
  14187. in: query
  14188. name: userid
  14189. required: true
  14190. type: integer
  14191. - description: 用户类型 2-机构 7-企业成员
  14192. in: query
  14193. name: usertype
  14194. type: integer
  14195. - description: 合同类型 1-采购, -1-销售
  14196. in: query
  14197. name: contracttype
  14198. required: true
  14199. type: integer
  14200. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  14201. in: query
  14202. name: querytype
  14203. required: true
  14204. type: integer
  14205. - description: 合同ID(SpotContractId)
  14206. in: query
  14207. name: contractid
  14208. type: string
  14209. produces:
  14210. - application/json
  14211. responses:
  14212. "200":
  14213. description: OK
  14214. schema:
  14215. items:
  14216. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  14217. type: array
  14218. "500":
  14219. description: Internal Server Error
  14220. schema:
  14221. $ref: '#/definitions/app.Response'
  14222. security:
  14223. - ApiKeyAuth: []
  14224. summary: 查询合同(采购/销售)
  14225. tags:
  14226. - 企业风险管理v3(app)
  14227. /Ermcp3/QuerySpotGoodsPrice:
  14228. get:
  14229. parameters:
  14230. - description: 用户ID
  14231. in: query
  14232. name: userid
  14233. required: true
  14234. type: integer
  14235. produces:
  14236. - application/json
  14237. responses:
  14238. "200":
  14239. description: OK
  14240. schema:
  14241. items:
  14242. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  14243. type: array
  14244. "500":
  14245. description: Internal Server Error
  14246. schema:
  14247. $ref: '#/definitions/app.Response'
  14248. security:
  14249. - ApiKeyAuth: []
  14250. summary: 查询现货市价(现货市价)
  14251. tags:
  14252. - 企业风险管理v3(app)
  14253. /Ermcp3/QuerySpotGoodsPriceLog:
  14254. get:
  14255. parameters:
  14256. - description: 用户ID
  14257. in: query
  14258. name: userid
  14259. required: true
  14260. type: integer
  14261. - description: 现货商品ID
  14262. in: query
  14263. name: deliverygoodsid
  14264. required: true
  14265. type: integer
  14266. - description: 品牌ID
  14267. in: query
  14268. name: brandid
  14269. type: integer
  14270. - description: 品类ID
  14271. in: query
  14272. name: wrstandardid
  14273. type: integer
  14274. produces:
  14275. - application/json
  14276. responses:
  14277. "200":
  14278. description: OK
  14279. schema:
  14280. items:
  14281. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  14282. type: array
  14283. "500":
  14284. description: Internal Server Error
  14285. schema:
  14286. $ref: '#/definitions/app.Response'
  14287. security:
  14288. - ApiKeyAuth: []
  14289. summary: 查询现货市价详情(现货市价/详情)
  14290. tags:
  14291. - 企业风险管理v3(app)
  14292. /Erms2/QueryArbitrageStrategy:
  14293. get:
  14294. parameters:
  14295. - description: 账户ID
  14296. in: query
  14297. name: userid
  14298. required: true
  14299. type: integer
  14300. - description: 商品组ID(品种ID)
  14301. in: query
  14302. name: goodsgroupid
  14303. type: string
  14304. produces:
  14305. - application/json
  14306. responses:
  14307. "200":
  14308. description: OK
  14309. schema:
  14310. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  14311. "500":
  14312. description: Internal Server Error
  14313. schema:
  14314. $ref: '#/definitions/app.Response'
  14315. security:
  14316. - ApiKeyAuth: []
  14317. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  14318. tags:
  14319. - 风险管理
  14320. /Erms2/QueryInnerTradeDetail:
  14321. get:
  14322. parameters:
  14323. - description: 资金账户
  14324. in: query
  14325. name: accountid
  14326. required: true
  14327. type: integer
  14328. produces:
  14329. - application/json
  14330. responses:
  14331. "200":
  14332. description: OK
  14333. schema:
  14334. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  14335. "500":
  14336. description: Internal Server Error
  14337. schema:
  14338. $ref: '#/definitions/app.Response'
  14339. security:
  14340. - ApiKeyAuth: []
  14341. summary: 查询内部成交单信息
  14342. tags:
  14343. - 风险管理
  14344. /Erms2/QuerySpotContract:
  14345. get:
  14346. parameters:
  14347. - description: 策略申请ID
  14348. in: query
  14349. name: asapplyid
  14350. required: true
  14351. type: integer
  14352. - description: 现货合同ID
  14353. in: query
  14354. name: spotcontractid
  14355. type: integer
  14356. produces:
  14357. - application/json
  14358. responses:
  14359. "200":
  14360. description: OK
  14361. schema:
  14362. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  14363. "500":
  14364. description: Internal Server Error
  14365. schema:
  14366. $ref: '#/definitions/app.Response'
  14367. security:
  14368. - ApiKeyAuth: []
  14369. summary: 查询现货合同表信息(指定策略ID、未结束的)
  14370. tags:
  14371. - 风险管理
  14372. /Erms3/AddErms2ASApply:
  14373. post:
  14374. parameters:
  14375. - description: 申请参数
  14376. in: body
  14377. name: jsonBody
  14378. required: true
  14379. schema:
  14380. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  14381. produces:
  14382. - application/json
  14383. responses:
  14384. "200":
  14385. description: OK
  14386. schema:
  14387. $ref: '#/definitions/app.Response'
  14388. "500":
  14389. description: Internal Server Error
  14390. schema:
  14391. $ref: '#/definitions/app.Response'
  14392. security:
  14393. - ApiKeyAuth: []
  14394. summary: 新增期现套利业务申请
  14395. tags:
  14396. - 风险管理v3
  14397. /Erms3/AddErms2SpotTradeApply:
  14398. post:
  14399. parameters:
  14400. - description: 申请参数
  14401. in: body
  14402. name: jsonBody
  14403. required: true
  14404. schema:
  14405. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  14406. produces:
  14407. - application/json
  14408. responses:
  14409. "200":
  14410. description: OK
  14411. schema:
  14412. $ref: '#/definitions/app.Response'
  14413. "500":
  14414. description: Internal Server Error
  14415. schema:
  14416. $ref: '#/definitions/app.Response'
  14417. security:
  14418. - ApiKeyAuth: []
  14419. summary: 新增现货贸易业务申请
  14420. tags:
  14421. - 风险管理v3
  14422. /Erms3/AddSpotContractApply:
  14423. post:
  14424. parameters:
  14425. - description: 申请参数
  14426. in: body
  14427. name: jsonBody
  14428. required: true
  14429. schema:
  14430. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  14431. produces:
  14432. - application/json
  14433. responses:
  14434. "200":
  14435. description: OK
  14436. schema:
  14437. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  14438. "500":
  14439. description: Internal Server Error
  14440. schema:
  14441. $ref: '#/definitions/app.Response'
  14442. security:
  14443. - ApiKeyAuth: []
  14444. summary: 新增现货合同申请
  14445. tags:
  14446. - 风险管理v3
  14447. /Erms3/AddUserInfoApply:
  14448. post:
  14449. parameters:
  14450. - description: 用户信息
  14451. in: body
  14452. name: jsonBody
  14453. required: true
  14454. schema:
  14455. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  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/DeleteUserInfoApply:
  14473. get:
  14474. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  14475. parameters:
  14476. - description: 用户ID
  14477. in: query
  14478. name: userID
  14479. required: true
  14480. type: integer
  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/ModifyUserInfoApply:
  14498. post:
  14499. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  14500. int, "userstate": 2 }'
  14501. parameters:
  14502. - description: 用户信息
  14503. in: body
  14504. name: jsonBody
  14505. required: true
  14506. schema:
  14507. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  14508. produces:
  14509. - application/json
  14510. responses:
  14511. "200":
  14512. description: OK
  14513. schema:
  14514. $ref: '#/definitions/app.Response'
  14515. "500":
  14516. description: Internal Server Error
  14517. schema:
  14518. $ref: '#/definitions/app.Response'
  14519. security:
  14520. - ApiKeyAuth: []
  14521. summary: 修改客户申请
  14522. tags:
  14523. - 风险管理v3
  14524. /Erms3/QueryBusinessInfo:
  14525. get:
  14526. parameters:
  14527. - description: 资金账号ID列表,用逗号分隔
  14528. in: query
  14529. name: accountids
  14530. required: true
  14531. type: string
  14532. - description: 状态,0为未结束 1为已结束
  14533. in: query
  14534. name: status
  14535. required: true
  14536. type: integer
  14537. produces:
  14538. - application/json
  14539. responses:
  14540. "200":
  14541. description: OK
  14542. schema:
  14543. items:
  14544. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  14545. type: array
  14546. "500":
  14547. description: Internal Server Error
  14548. schema:
  14549. $ref: '#/definitions/app.Response'
  14550. security:
  14551. - ApiKeyAuth: []
  14552. summary: 查询业务表单数据
  14553. tags:
  14554. - 风险管理v3
  14555. /Erms3/QueryPendingAuditContract:
  14556. get:
  14557. parameters:
  14558. - description: 资金账号ID列表,逗号隔开
  14559. in: query
  14560. name: accountids
  14561. required: true
  14562. type: string
  14563. - description: 合同类型 1-采购 -1-销售
  14564. in: query
  14565. name: contracttype
  14566. required: true
  14567. type: integer
  14568. - description: 合同模式 1-普通 2-回购
  14569. in: query
  14570. name: contractmode
  14571. required: true
  14572. type: integer
  14573. produces:
  14574. - application/json
  14575. responses:
  14576. "200":
  14577. description: OK
  14578. schema:
  14579. items:
  14580. $ref: '#/definitions/erms3.QryAuditContractRsp'
  14581. type: array
  14582. "500":
  14583. description: Internal Server Error
  14584. schema:
  14585. $ref: '#/definitions/app.Response'
  14586. security:
  14587. - ApiKeyAuth: []
  14588. summary: 查询待审核合同
  14589. tags:
  14590. - 风险管理v3
  14591. /Erms3/QueryPendingBusiness:
  14592. get:
  14593. parameters:
  14594. - description: 资金账号ID列表,逗号隔开
  14595. in: query
  14596. name: accountids
  14597. required: true
  14598. type: string
  14599. produces:
  14600. - application/json
  14601. responses:
  14602. "200":
  14603. description: OK
  14604. schema:
  14605. items:
  14606. $ref: '#/definitions/erms3.QryPendingBizRsp'
  14607. type: array
  14608. "500":
  14609. description: Internal Server Error
  14610. schema:
  14611. $ref: '#/definitions/app.Response'
  14612. security:
  14613. - ApiKeyAuth: []
  14614. summary: 查询待审核基差贸易业务
  14615. tags:
  14616. - 风险管理v3
  14617. /Erms3/QuerySpotContractAppleForm:
  14618. get:
  14619. parameters:
  14620. - description: 登录账号
  14621. in: query
  14622. name: loginID
  14623. required: true
  14624. type: integer
  14625. produces:
  14626. - application/json
  14627. responses:
  14628. "200":
  14629. description: OK
  14630. schema:
  14631. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  14632. "500":
  14633. description: Internal Server Error
  14634. schema:
  14635. $ref: '#/definitions/app.Response'
  14636. security:
  14637. - ApiKeyAuth: []
  14638. summary: 查询合同申请表单数据
  14639. tags:
  14640. - 风险管理v3
  14641. /Erms3/QuerySpotContractDetail:
  14642. get:
  14643. parameters:
  14644. - description: 资金账号ID列表,用逗号分隔
  14645. in: query
  14646. name: accountids
  14647. required: true
  14648. type: string
  14649. - description: 合同类型,1为采购合同 -1为销售合同
  14650. in: query
  14651. name: contracttype
  14652. required: true
  14653. type: integer
  14654. - description: 合同模式,1为普通合同 2为回购销售合同
  14655. in: query
  14656. name: contractmode
  14657. required: true
  14658. type: integer
  14659. - description: 状态,0为履约中 1为已完成
  14660. in: query
  14661. name: status
  14662. required: true
  14663. type: integer
  14664. produces:
  14665. - application/json
  14666. responses:
  14667. "200":
  14668. description: OK
  14669. schema:
  14670. items:
  14671. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  14672. type: array
  14673. "500":
  14674. description: Internal Server Error
  14675. schema:
  14676. $ref: '#/definitions/app.Response'
  14677. security:
  14678. - ApiKeyAuth: []
  14679. summary: 查询合同详细信息
  14680. tags:
  14681. - 风险管理v3
  14682. /Erms3/QueryUserInfoApplies:
  14683. get:
  14684. parameters:
  14685. - description: 页码
  14686. in: query
  14687. name: page
  14688. type: integer
  14689. - description: 每页条数
  14690. in: query
  14691. name: pagesize
  14692. type: integer
  14693. - description: 客户名称,支持模糊查询
  14694. in: query
  14695. name: userName
  14696. type: string
  14697. produces:
  14698. - application/json
  14699. responses:
  14700. "200":
  14701. description: OK
  14702. schema:
  14703. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  14704. "500":
  14705. description: Internal Server Error
  14706. schema:
  14707. $ref: '#/definitions/app.Response'
  14708. security:
  14709. - ApiKeyAuth: []
  14710. summary: 客户申请信息查询
  14711. tags:
  14712. - 风险管理v3
  14713. /Erms3/QueryUserInfos:
  14714. get:
  14715. parameters:
  14716. - description: 页码
  14717. in: query
  14718. name: page
  14719. type: integer
  14720. - description: 每页条数
  14721. in: query
  14722. name: pagesize
  14723. type: integer
  14724. - description: 客户名称,支持模糊查询
  14725. in: query
  14726. name: userName
  14727. type: string
  14728. produces:
  14729. - application/json
  14730. responses:
  14731. "200":
  14732. description: OK
  14733. schema:
  14734. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  14735. "500":
  14736. description: Internal Server Error
  14737. schema:
  14738. $ref: '#/definitions/app.Response'
  14739. security:
  14740. - ApiKeyAuth: []
  14741. summary: 客户信息查询
  14742. tags:
  14743. - 风险管理v3
  14744. /HSBY/GetHsbyMyCount:
  14745. get:
  14746. description: 说明: 不包括已完成的数量。
  14747. parameters:
  14748. - description: 资金账户列表,格式:1,2,3
  14749. in: query
  14750. name: accountIDs
  14751. required: true
  14752. type: string
  14753. produces:
  14754. - application/json
  14755. responses:
  14756. "200":
  14757. description: OK
  14758. schema:
  14759. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  14760. "500":
  14761. description: Internal Server Error
  14762. schema:
  14763. $ref: '#/definitions/app.Response'
  14764. security:
  14765. - ApiKeyAuth: []
  14766. summary: 获取我的订单与包裹数量
  14767. tags:
  14768. - 定制【海商报业】
  14769. /HSBY/QueryClientFixedADConfigs:
  14770. get:
  14771. produces:
  14772. - application/json
  14773. responses:
  14774. "200":
  14775. description: OK
  14776. schema:
  14777. $ref: '#/definitions/models.Clientfixedadconfig'
  14778. "500":
  14779. description: Internal Server Error
  14780. schema:
  14781. $ref: '#/definitions/app.Response'
  14782. security:
  14783. - ApiKeyAuth: []
  14784. summary: 获取终端固定广告配置
  14785. tags:
  14786. - 定制【海商报业】
  14787. /HSBY/QueryHsbyBuyMyTradeDetail:
  14788. get:
  14789. parameters:
  14790. - description: 页码
  14791. in: query
  14792. name: page
  14793. type: integer
  14794. - description: 每页条数
  14795. in: query
  14796. name: pagesize
  14797. type: integer
  14798. - description: 资金账户列表,格式:1,2,3
  14799. in: query
  14800. name: accountIDs
  14801. required: true
  14802. type: string
  14803. produces:
  14804. - application/json
  14805. responses:
  14806. "200":
  14807. description: OK
  14808. schema:
  14809. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  14810. "500":
  14811. description: Internal Server Error
  14812. schema:
  14813. $ref: '#/definitions/app.Response'
  14814. security:
  14815. - ApiKeyAuth: []
  14816. summary: 查询"我的订单 - 已完成"单据信息
  14817. tags:
  14818. - 定制【海商报业】
  14819. /HSBY/QueryHsbyGoodsOrderDetails:
  14820. get:
  14821. description: 说明:查询结果已按委托价格和委托时间排序
  14822. parameters:
  14823. - description: 商品ID
  14824. in: query
  14825. name: goodsID
  14826. required: true
  14827. type: integer
  14828. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  14829. in: query
  14830. name: accountIDs
  14831. type: string
  14832. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  14833. in: query
  14834. name: buyOrSell
  14835. type: integer
  14836. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  14837. in: query
  14838. name: price
  14839. type: number
  14840. - description: 档位,不传则默认为3档
  14841. in: query
  14842. name: speed
  14843. type: integer
  14844. produces:
  14845. - application/json
  14846. responses:
  14847. "200":
  14848. description: OK
  14849. schema:
  14850. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  14851. "500":
  14852. description: Internal Server Error
  14853. schema:
  14854. $ref: '#/definitions/app.Response'
  14855. security:
  14856. - ApiKeyAuth: []
  14857. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  14858. tags:
  14859. - 定制【海商报业】
  14860. /HSBY/QueryHsbyListingGoodsDetail:
  14861. get:
  14862. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  14863. parameters:
  14864. - description: 商品ID
  14865. in: query
  14866. name: goodsID
  14867. required: true
  14868. type: integer
  14869. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  14870. in: query
  14871. name: accountID
  14872. type: integer
  14873. produces:
  14874. - application/json
  14875. responses:
  14876. "200":
  14877. description: OK
  14878. schema:
  14879. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  14880. "500":
  14881. description: Internal Server Error
  14882. schema:
  14883. $ref: '#/definitions/app.Response'
  14884. security:
  14885. - ApiKeyAuth: []
  14886. summary: 查询二级市场(挂牌点选)商品信息详情
  14887. tags:
  14888. - 定制【海商报业】
  14889. /HSBY/QueryHsbyMarketGoodsDetail:
  14890. get:
  14891. parameters:
  14892. - description: 委托单号
  14893. in: query
  14894. name: orderID
  14895. required: true
  14896. type: integer
  14897. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  14898. in: query
  14899. name: accountID
  14900. type: integer
  14901. produces:
  14902. - application/json
  14903. responses:
  14904. "200":
  14905. description: OK
  14906. schema:
  14907. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  14908. "500":
  14909. description: Internal Server Error
  14910. schema:
  14911. $ref: '#/definitions/app.Response'
  14912. security:
  14913. - ApiKeyAuth: []
  14914. summary: 查询三级市场(商城)商品信息详情
  14915. tags:
  14916. - 定制【海商报业】
  14917. /HSBY/QueryHsbyMarketGoodses:
  14918. get:
  14919. parameters:
  14920. - description: 页码
  14921. in: query
  14922. name: page
  14923. type: integer
  14924. - description: 每页条数
  14925. in: query
  14926. name: pagesize
  14927. type: integer
  14928. - description: 市场ID列表,格式:1,2,3
  14929. in: query
  14930. name: marketIDs
  14931. required: true
  14932. type: string
  14933. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  14934. in: query
  14935. name: accountID
  14936. required: true
  14937. type: integer
  14938. - description: 类别ID
  14939. in: query
  14940. name: categoryID
  14941. type: integer
  14942. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  14943. in: query
  14944. name: goodsIDs
  14945. type: string
  14946. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  14947. in: query
  14948. name: couponTypeID
  14949. type: integer
  14950. produces:
  14951. - application/json
  14952. responses:
  14953. "200":
  14954. description: OK
  14955. schema:
  14956. $ref: '#/definitions/models.HsbyMarketGoods'
  14957. "500":
  14958. description: Internal Server Error
  14959. schema:
  14960. $ref: '#/definitions/app.Response'
  14961. security:
  14962. - ApiKeyAuth: []
  14963. summary: 查询特卖商品列表(三级商城)
  14964. tags:
  14965. - 定制【海商报业】
  14966. /HSBY/QueryHsbyMarkets:
  14967. get:
  14968. produces:
  14969. - application/json
  14970. responses:
  14971. "200":
  14972. description: OK
  14973. schema:
  14974. $ref: '#/definitions/models.HsbyMarketInfo'
  14975. "500":
  14976. description: Internal Server Error
  14977. schema:
  14978. $ref: '#/definitions/app.Response'
  14979. security:
  14980. - ApiKeyAuth: []
  14981. summary: 查询海商报业相关市场信息
  14982. tags:
  14983. - 定制【海商报业】
  14984. /HSBY/QueryHsbyMyBuyOrderDetails:
  14985. get:
  14986. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  14987. parameters:
  14988. - description: 资金账户列表,格式:1,2,3
  14989. in: query
  14990. name: accountIDs
  14991. required: true
  14992. type: string
  14993. produces:
  14994. - application/json
  14995. responses:
  14996. "200":
  14997. description: OK
  14998. schema:
  14999. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  15000. "500":
  15001. description: Internal Server Error
  15002. schema:
  15003. $ref: '#/definitions/app.Response'
  15004. security:
  15005. - ApiKeyAuth: []
  15006. summary: 查询“我的订单”信息
  15007. tags:
  15008. - 定制【海商报业】
  15009. /HSBY/QueryHsbyMyGoods:
  15010. get:
  15011. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  15012. parameters:
  15013. - description: 资金账户列表,格式:1,2,3
  15014. in: query
  15015. name: accountIDs
  15016. required: true
  15017. type: string
  15018. produces:
  15019. - application/json
  15020. responses:
  15021. "200":
  15022. description: OK
  15023. schema:
  15024. $ref: '#/definitions/models.HsbyMyGoods'
  15025. "500":
  15026. description: Internal Server Error
  15027. schema:
  15028. $ref: '#/definitions/app.Response'
  15029. security:
  15030. - ApiKeyAuth: []
  15031. summary: 查询“我的商品”信息
  15032. tags:
  15033. - 定制【海商报业】
  15034. /HSBY/QueryHsbyMyPackages:
  15035. get:
  15036. parameters:
  15037. - description: 资金账户列表,格式:1,2,3
  15038. in: query
  15039. name: accountIDs
  15040. required: true
  15041. type: string
  15042. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15043. in: query
  15044. name: takeOrderStatus
  15045. type: integer
  15046. produces:
  15047. - application/json
  15048. responses:
  15049. "200":
  15050. description: OK
  15051. schema:
  15052. $ref: '#/definitions/models.HsbyMyPackage'
  15053. "500":
  15054. description: Internal Server Error
  15055. schema:
  15056. $ref: '#/definitions/app.Response'
  15057. security:
  15058. - ApiKeyAuth: []
  15059. summary: 查询我的包裹信息
  15060. tags:
  15061. - 定制【海商报业】
  15062. /HSBY/QueryHsbyPreGoodsDetail:
  15063. get:
  15064. parameters:
  15065. - description: 商品ID
  15066. in: query
  15067. name: goodsID
  15068. required: true
  15069. type: integer
  15070. - description: 资金账户,主要用于获取预售商品购买上限
  15071. in: query
  15072. name: accountID
  15073. type: integer
  15074. produces:
  15075. - application/json
  15076. responses:
  15077. "200":
  15078. description: OK
  15079. schema:
  15080. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  15081. "500":
  15082. description: Internal Server Error
  15083. schema:
  15084. $ref: '#/definitions/app.Response'
  15085. security:
  15086. - ApiKeyAuth: []
  15087. summary: 查询一级市场(预售)商品信息详情
  15088. tags:
  15089. - 定制【海商报业】
  15090. /HSBY/QueryHsbyPreGoodses:
  15091. get:
  15092. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  15093. parameters:
  15094. - description: 页码
  15095. in: query
  15096. name: page
  15097. type: integer
  15098. - description: 每页条数
  15099. in: query
  15100. name: pagesize
  15101. type: integer
  15102. - description: 市场ID列表,格式:1,2,3
  15103. in: query
  15104. name: marketIDs
  15105. required: true
  15106. type: string
  15107. - description: 目的地(省)ID
  15108. in: query
  15109. name: descProvinceID
  15110. type: integer
  15111. - description: 目的地(市)ID
  15112. in: query
  15113. name: descCityID
  15114. type: integer
  15115. produces:
  15116. - application/json
  15117. responses:
  15118. "200":
  15119. description: OK
  15120. schema:
  15121. $ref: '#/definitions/models.HsbyPreGoods'
  15122. "500":
  15123. description: Internal Server Error
  15124. schema:
  15125. $ref: '#/definitions/app.Response'
  15126. security:
  15127. - ApiKeyAuth: []
  15128. summary: 查询新品上市商品列表(一级市场预售)
  15129. tags:
  15130. - 定制【海商报业】
  15131. /HSBY/QueryHsbySellMyDetails:
  15132. get:
  15133. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  15134. parameters:
  15135. - description: 页码
  15136. in: query
  15137. name: page
  15138. type: integer
  15139. - description: 每页条数
  15140. in: query
  15141. name: pagesize
  15142. type: integer
  15143. - description: 资金账户列表,格式:1,2,3
  15144. in: query
  15145. name: accountIDs
  15146. required: true
  15147. type: string
  15148. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  15149. in: query
  15150. name: orderType
  15151. type: integer
  15152. produces:
  15153. - application/json
  15154. responses:
  15155. "200":
  15156. description: OK
  15157. schema:
  15158. $ref: '#/definitions/models.HsbySellMyDetail'
  15159. "500":
  15160. description: Internal Server Error
  15161. schema:
  15162. $ref: '#/definitions/app.Response'
  15163. security:
  15164. - ApiKeyAuth: []
  15165. summary: 查询"我的闲置"单据信息
  15166. tags:
  15167. - 定制【海商报业】
  15168. /HSBY/QueryHsbyTopGoodses:
  15169. get:
  15170. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  15171. parameters:
  15172. - description: 页码
  15173. in: query
  15174. name: page
  15175. type: integer
  15176. - description: 每页条数
  15177. in: query
  15178. name: pagesize
  15179. type: integer
  15180. - description: 市场ID列表,格式:1,2,3
  15181. in: query
  15182. name: marketIDs
  15183. required: true
  15184. type: string
  15185. - description: 目的地(省)ID
  15186. in: query
  15187. name: descProvinceID
  15188. type: integer
  15189. - description: 目的地(市)ID
  15190. in: query
  15191. name: descCityID
  15192. type: integer
  15193. produces:
  15194. - application/json
  15195. responses:
  15196. "200":
  15197. description: OK
  15198. schema:
  15199. $ref: '#/definitions/models.HsbyTopGoods'
  15200. "500":
  15201. description: Internal Server Error
  15202. schema:
  15203. $ref: '#/definitions/app.Response'
  15204. security:
  15205. - ApiKeyAuth: []
  15206. summary: 查询热卖商品列表(二级市场挂牌点选)
  15207. tags:
  15208. - 定制【海商报业】
  15209. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  15210. get:
  15211. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  15212. parameters:
  15213. - description: 商品ID
  15214. in: query
  15215. name: goodsID
  15216. required: true
  15217. type: integer
  15218. produces:
  15219. - application/json
  15220. responses:
  15221. "200":
  15222. description: OK
  15223. schema:
  15224. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15225. "500":
  15226. description: Internal Server Error
  15227. schema:
  15228. $ref: '#/definitions/app.Response'
  15229. security:
  15230. - ApiKeyAuth: []
  15231. summary: 查询游客三级市场(商城)商品信息详情
  15232. tags:
  15233. - 定制【海商报业】
  15234. /HSBY/QueryHsbyVisitorMarketGoodses:
  15235. get:
  15236. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  15237. parameters:
  15238. - description: 页码
  15239. in: query
  15240. name: page
  15241. type: integer
  15242. - description: 每页条数
  15243. in: query
  15244. name: pagesize
  15245. type: integer
  15246. - description: 市场ID列表,格式:1,2,3
  15247. in: query
  15248. name: marketIDs
  15249. required: true
  15250. type: string
  15251. - description: 类别ID
  15252. in: query
  15253. name: categoryID
  15254. type: integer
  15255. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15256. in: query
  15257. name: goodsIDs
  15258. type: string
  15259. produces:
  15260. - application/json
  15261. responses:
  15262. "200":
  15263. description: OK
  15264. schema:
  15265. $ref: '#/definitions/models.HsbyMarketGoods'
  15266. "500":
  15267. description: Internal Server Error
  15268. schema:
  15269. $ref: '#/definitions/app.Response'
  15270. security:
  15271. - ApiKeyAuth: []
  15272. summary: 查询游客特卖商品列表(三级商城)
  15273. tags:
  15274. - 定制【海商报业】
  15275. /HSBY/QueryMyCollectionOrders:
  15276. get:
  15277. parameters:
  15278. - description: 页码
  15279. in: query
  15280. name: page
  15281. type: integer
  15282. - description: 每页条数
  15283. in: query
  15284. name: pagesize
  15285. type: integer
  15286. - description: 资金账户,格式:1,2,3
  15287. in: query
  15288. name: accountIDs
  15289. required: true
  15290. type: string
  15291. produces:
  15292. - application/json
  15293. responses:
  15294. "200":
  15295. description: OK
  15296. schema:
  15297. $ref: '#/definitions/models.HsbySellCollectionOrder'
  15298. "500":
  15299. description: Internal Server Error
  15300. schema:
  15301. $ref: '#/definitions/app.Response'
  15302. security:
  15303. - ApiKeyAuth: []
  15304. summary: 我的闲置中收款信息查询
  15305. tags:
  15306. - 定制【海商报业】
  15307. /HSBY/QueryMyCouponHolds:
  15308. get:
  15309. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  15310. parameters:
  15311. - description: 资金账户列表,格式:1,2,3
  15312. in: query
  15313. name: accountIDs
  15314. required: true
  15315. type: string
  15316. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  15317. in: query
  15318. name: holdStatus
  15319. type: string
  15320. produces:
  15321. - application/json
  15322. responses:
  15323. "200":
  15324. description: OK
  15325. schema:
  15326. $ref: '#/definitions/models.MyCouponHold'
  15327. "500":
  15328. description: Internal Server Error
  15329. schema:
  15330. $ref: '#/definitions/app.Response'
  15331. security:
  15332. - ApiKeyAuth: []
  15333. summary: 我的优惠卷持仓查询
  15334. tags:
  15335. - 定制【海商报业】
  15336. /HSBY/QueryMyCoupons:
  15337. get:
  15338. parameters:
  15339. - description: 资金账户列表,格式:1,2,3
  15340. in: query
  15341. name: accountIDs
  15342. required: true
  15343. type: string
  15344. - description: 商品ID, 一般与sellUserID配套传入
  15345. in: query
  15346. name: goodsID
  15347. type: integer
  15348. - description: 卖方UserID
  15349. in: query
  15350. name: sellUserID
  15351. type: integer
  15352. produces:
  15353. - application/json
  15354. responses:
  15355. "200":
  15356. description: OK
  15357. schema:
  15358. $ref: '#/definitions/models.MyCoupon'
  15359. "500":
  15360. description: Internal Server Error
  15361. schema:
  15362. $ref: '#/definitions/app.Response'
  15363. security:
  15364. - ApiKeyAuth: []
  15365. summary: 我的优惠卷查询
  15366. tags:
  15367. - 定制【海商报业】
  15368. /HSBY/QueryMyPayOrders:
  15369. get:
  15370. parameters:
  15371. - description: 页码
  15372. in: query
  15373. name: page
  15374. type: integer
  15375. - description: 每页条数
  15376. in: query
  15377. name: pagesize
  15378. type: integer
  15379. - description: 资金账户列表,格式:1,2,3
  15380. in: query
  15381. name: accountIDs
  15382. required: true
  15383. type: string
  15384. - description: 买方委托单号
  15385. in: query
  15386. name: buyOrderID
  15387. type: integer
  15388. - description: 卖方委托单号
  15389. in: query
  15390. name: sellOrderID
  15391. type: integer
  15392. produces:
  15393. - application/json
  15394. responses:
  15395. "200":
  15396. description: OK
  15397. schema:
  15398. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  15399. "500":
  15400. description: Internal Server Error
  15401. schema:
  15402. $ref: '#/definitions/app.Response'
  15403. security:
  15404. - ApiKeyAuth: []
  15405. summary: 获取我的订单中待付款信息
  15406. tags:
  15407. - 定制【海商报业】
  15408. /HSBY/QueryMyUsedCoupon:
  15409. get:
  15410. parameters:
  15411. - description: 资金账户列表,格式:1,2,3
  15412. in: query
  15413. name: accountIDs
  15414. required: true
  15415. type: string
  15416. produces:
  15417. - application/json
  15418. responses:
  15419. "200":
  15420. description: OK
  15421. schema:
  15422. $ref: '#/definitions/models.MyUsedCoupon'
  15423. "500":
  15424. description: Internal Server Error
  15425. schema:
  15426. $ref: '#/definitions/app.Response'
  15427. security:
  15428. - ApiKeyAuth: []
  15429. summary: 已使用优惠卷查询
  15430. tags:
  15431. - 定制【海商报业】
  15432. /HSBY/QueryProvincesAndCities:
  15433. get:
  15434. description: 查询结果只包括二级市场商品已关连的省市信息。
  15435. parameters:
  15436. - description: 省ID
  15437. in: query
  15438. name: provinceID
  15439. type: integer
  15440. produces:
  15441. - application/json
  15442. responses:
  15443. "200":
  15444. description: OK
  15445. schema:
  15446. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  15447. "500":
  15448. description: Internal Server Error
  15449. schema:
  15450. $ref: '#/definitions/app.Response'
  15451. security:
  15452. - ApiKeyAuth: []
  15453. summary: 查询省市信息(不包括区)
  15454. tags:
  15455. - 定制【海商报业】
  15456. /HSBY/SetHsbyMyPackagesStatus:
  15457. post:
  15458. parameters:
  15459. - description: 提货单号
  15460. in: query
  15461. name: takeOrderID
  15462. required: true
  15463. type: string
  15464. - description: 资金账号
  15465. in: query
  15466. name: accountID
  15467. required: true
  15468. type: integer
  15469. produces:
  15470. - application/json
  15471. responses:
  15472. "200":
  15473. description: OK
  15474. schema:
  15475. $ref: '#/definitions/app.Response'
  15476. "500":
  15477. description: Internal Server Error
  15478. schema:
  15479. $ref: '#/definitions/app.Response'
  15480. security:
  15481. - ApiKeyAuth: []
  15482. summary: 设置我的包裹已收货状态
  15483. tags:
  15484. - 定制【海商报业】
  15485. /Market/QueryGoodsesByLoginID:
  15486. get:
  15487. parameters:
  15488. - description: 登录账号
  15489. in: query
  15490. name: loginID
  15491. required: true
  15492. type: integer
  15493. - description: 市场ID列表,格式:1,2,3
  15494. in: query
  15495. name: marketIDs
  15496. type: string
  15497. produces:
  15498. - application/json
  15499. responses:
  15500. "200":
  15501. description: OK
  15502. schema:
  15503. $ref: '#/definitions/models.Goods'
  15504. "500":
  15505. description: Internal Server Error
  15506. schema:
  15507. $ref: '#/definitions/app.Response'
  15508. security:
  15509. - ApiKeyAuth: []
  15510. summary: 获取登录账号有权限的商品信息
  15511. tags:
  15512. - 通用市场
  15513. /Market/QueryMarketRun:
  15514. get:
  15515. parameters:
  15516. - description: 市场ID,不传返回所有
  15517. in: query
  15518. name: marketID
  15519. type: integer
  15520. produces:
  15521. - application/json
  15522. responses:
  15523. "200":
  15524. description: OK
  15525. schema:
  15526. $ref: '#/definitions/models.Marketrun'
  15527. "500":
  15528. description: Internal Server Error
  15529. schema:
  15530. $ref: '#/definitions/app.Response'
  15531. security:
  15532. - ApiKeyAuth: []
  15533. summary: 查询市场运行信息
  15534. tags:
  15535. - 通用市场
  15536. /Market/QueryMarketsByLoginID:
  15537. get:
  15538. parameters:
  15539. - description: 登录账号
  15540. in: query
  15541. name: loginID
  15542. required: true
  15543. type: integer
  15544. produces:
  15545. - application/json
  15546. responses:
  15547. "200":
  15548. description: OK
  15549. schema:
  15550. $ref: '#/definitions/models.Market'
  15551. "500":
  15552. description: Internal Server Error
  15553. schema:
  15554. $ref: '#/definitions/app.Response'
  15555. security:
  15556. - ApiKeyAuth: []
  15557. summary: 获取登录账号有权限的市场信息
  15558. tags:
  15559. - 通用市场
  15560. /Order/QueryHisTradeDetail:
  15561. get:
  15562. parameters:
  15563. - description: 资金账户 - 格式:1,2,3
  15564. in: query
  15565. name: accountID
  15566. required: true
  15567. type: string
  15568. - description: 成交单号
  15569. in: query
  15570. name: tradeID
  15571. type: integer
  15572. - description: 委托单号
  15573. in: query
  15574. name: orderID
  15575. type: integer
  15576. - description: 交易模式 - 格式:1,2,3
  15577. in: query
  15578. name: tradeMode
  15579. type: string
  15580. - description: 委托单据类型
  15581. in: query
  15582. name: buildType
  15583. type: integer
  15584. - description: 成交类别 - 格式:1,2,3
  15585. in: query
  15586. name: tradeType
  15587. type: string
  15588. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15589. in: query
  15590. name: startDate
  15591. type: string
  15592. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15593. in: query
  15594. name: endDate
  15595. type: string
  15596. produces:
  15597. - application/json
  15598. responses:
  15599. "200":
  15600. description: OK
  15601. schema:
  15602. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  15603. "500":
  15604. description: Internal Server Error
  15605. schema:
  15606. $ref: '#/definitions/app.Response'
  15607. security:
  15608. - ApiKeyAuth: []
  15609. summary: 历史成交单查询(合约市场)
  15610. tags:
  15611. - 通用单据
  15612. /Order/QueryHisTradeOrderDetail:
  15613. get:
  15614. parameters:
  15615. - description: 资金账户 - 格式:1,2,3
  15616. in: query
  15617. name: accountID
  15618. required: true
  15619. type: string
  15620. - description: 交易模式 - 格式:1,2,3
  15621. in: query
  15622. name: tradeMode
  15623. type: string
  15624. - description: 委托状态 - 格式:1,2,3
  15625. in: query
  15626. name: orderStatus
  15627. type: string
  15628. - description: 委托单号
  15629. in: query
  15630. name: orderID
  15631. type: integer
  15632. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15633. in: query
  15634. name: startDate
  15635. type: string
  15636. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15637. in: query
  15638. name: endDate
  15639. type: string
  15640. produces:
  15641. - application/json
  15642. responses:
  15643. "200":
  15644. description: OK
  15645. schema:
  15646. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  15647. "500":
  15648. description: Internal Server Error
  15649. schema:
  15650. $ref: '#/definitions/app.Response'
  15651. security:
  15652. - ApiKeyAuth: []
  15653. summary: 历史委托单查询请求(合约市场)
  15654. tags:
  15655. - 通用单据
  15656. /Order/QueryTradeDetail:
  15657. get:
  15658. parameters:
  15659. - description: 资金账户 - 格式:1,2,3
  15660. in: query
  15661. name: accountID
  15662. required: true
  15663. type: string
  15664. - description: 成交单号
  15665. in: query
  15666. name: tradeID
  15667. type: integer
  15668. - description: 委托单号
  15669. in: query
  15670. name: orderID
  15671. type: integer
  15672. - description: 交易模式 - 格式:1,2,3
  15673. in: query
  15674. name: tradeMode
  15675. type: string
  15676. - description: 委托单据类型
  15677. in: query
  15678. name: buildType
  15679. type: integer
  15680. - description: 成交类别 - 格式:1,2,3
  15681. in: query
  15682. name: tradeType
  15683. type: string
  15684. produces:
  15685. - application/json
  15686. responses:
  15687. "200":
  15688. description: OK
  15689. schema:
  15690. $ref: '#/definitions/order.QueryTradeDetailRsp'
  15691. "500":
  15692. description: Internal Server Error
  15693. schema:
  15694. $ref: '#/definitions/app.Response'
  15695. security:
  15696. - ApiKeyAuth: []
  15697. summary: 成交单查询(合约市场)
  15698. tags:
  15699. - 通用单据
  15700. /Order/QueryTradeOrderDetail:
  15701. get:
  15702. parameters:
  15703. - description: 资金账户 - 格式:1,2,3
  15704. in: query
  15705. name: accountID
  15706. required: true
  15707. type: string
  15708. - description: 交易模式 - 格式:1,2,3
  15709. in: query
  15710. name: tradeMode
  15711. type: string
  15712. - description: 委托状态 - 格式:1,2,3
  15713. in: query
  15714. name: orderStatus
  15715. type: string
  15716. - description: 委托单号
  15717. in: query
  15718. name: orderID
  15719. type: integer
  15720. produces:
  15721. - application/json
  15722. responses:
  15723. "200":
  15724. description: OK
  15725. schema:
  15726. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  15727. "500":
  15728. description: Internal Server Error
  15729. schema:
  15730. $ref: '#/definitions/app.Response'
  15731. security:
  15732. - ApiKeyAuth: []
  15733. summary: 委托单查询请求(合约市场)
  15734. tags:
  15735. - 通用单据
  15736. /Order/QueryTradePosition:
  15737. get:
  15738. parameters:
  15739. - description: 资金账户 - 格式:1,2,3
  15740. in: query
  15741. name: accountID
  15742. required: true
  15743. type: string
  15744. - description: 交易模式 - 格式:1,2,3
  15745. in: query
  15746. name: tradeMode
  15747. type: string
  15748. produces:
  15749. - application/json
  15750. responses:
  15751. "200":
  15752. description: OK
  15753. schema:
  15754. $ref: '#/definitions/order.QueryTradePositionRsp'
  15755. "500":
  15756. description: Internal Server Error
  15757. schema:
  15758. $ref: '#/definitions/app.Response'
  15759. security:
  15760. - ApiKeyAuth: []
  15761. summary: 持仓汇总查询(合约市场)
  15762. tags:
  15763. - 通用单据
  15764. /Quote/QueryHistoryDatas:
  15765. get:
  15766. parameters:
  15767. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  15768. 日线'
  15769. in: query
  15770. name: cycleType
  15771. required: true
  15772. type: integer
  15773. - description: 商品代码
  15774. in: query
  15775. name: goodsCode
  15776. required: true
  15777. type: string
  15778. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15779. in: query
  15780. name: startTime
  15781. type: string
  15782. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15783. in: query
  15784. name: endTime
  15785. type: string
  15786. - description: 条数
  15787. in: query
  15788. name: count
  15789. type: integer
  15790. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15791. in: query
  15792. name: isAsc
  15793. type: boolean
  15794. produces:
  15795. - application/json
  15796. responses:
  15797. "200":
  15798. description: OK
  15799. schema:
  15800. $ref: '#/definitions/quote.HistoryData'
  15801. "500":
  15802. description: Internal Server Error
  15803. schema:
  15804. $ref: '#/definitions/app.Response'
  15805. security:
  15806. - ApiKeyAuth: []
  15807. summary: 查询行情历史数据
  15808. tags:
  15809. - 行情服务
  15810. /Quote/QueryHistoryTikDatas:
  15811. get:
  15812. parameters:
  15813. - description: 商品代码
  15814. in: query
  15815. name: goodsCode
  15816. required: true
  15817. type: string
  15818. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15819. in: query
  15820. name: startTime
  15821. type: string
  15822. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15823. in: query
  15824. name: endTime
  15825. type: string
  15826. - description: 条数
  15827. in: query
  15828. name: count
  15829. type: integer
  15830. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15831. in: query
  15832. name: isAsc
  15833. type: boolean
  15834. produces:
  15835. - application/json
  15836. responses:
  15837. "200":
  15838. description: OK
  15839. schema:
  15840. $ref: '#/definitions/quote.HistoryTikData'
  15841. "500":
  15842. description: Internal Server Error
  15843. schema:
  15844. $ref: '#/definitions/app.Response'
  15845. security:
  15846. - ApiKeyAuth: []
  15847. summary: 查询行情Tik数据
  15848. tags:
  15849. - 行情服务
  15850. /Quote/QueryQuoteDay:
  15851. get:
  15852. parameters:
  15853. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  15854. in: query
  15855. name: goodsCodes
  15856. required: true
  15857. type: string
  15858. produces:
  15859. - application/json
  15860. responses:
  15861. "200":
  15862. description: OK
  15863. schema:
  15864. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  15865. "500":
  15866. description: Internal Server Error
  15867. schema:
  15868. $ref: '#/definitions/app.Response'
  15869. security:
  15870. - ApiKeyAuth: []
  15871. summary: 获取商品盘面信息
  15872. tags:
  15873. - 行情服务
  15874. /Quote/QueryTSData:
  15875. get:
  15876. parameters:
  15877. - description: 商品代码
  15878. in: query
  15879. name: goodsCode
  15880. required: true
  15881. type: string
  15882. produces:
  15883. - application/json
  15884. responses:
  15885. "200":
  15886. description: OK
  15887. schema:
  15888. $ref: '#/definitions/quote.QueryTSDataRsp'
  15889. "500":
  15890. description: Internal Server Error
  15891. schema:
  15892. $ref: '#/definitions/app.Response'
  15893. security:
  15894. - ApiKeyAuth: []
  15895. summary: 分时图数据查询
  15896. tags:
  15897. - 行情服务
  15898. /SZDZ/QueryConvertConfig:
  15899. get:
  15900. parameters:
  15901. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15902. 6:交易转花生米(不设置)
  15903. in: query
  15904. name: convertType
  15905. type: integer
  15906. - description: 外部商品代码[JD\PD]
  15907. in: query
  15908. name: outerGoodsCode
  15909. type: string
  15910. - description: 内部商品ID列表[交易],格式:1,2,3
  15911. in: query
  15912. name: innerGoodsIDs
  15913. type: string
  15914. produces:
  15915. - application/json
  15916. responses:
  15917. "200":
  15918. description: OK
  15919. schema:
  15920. $ref: '#/definitions/models.Szdz3convertconfig'
  15921. "500":
  15922. description: Internal Server Error
  15923. schema:
  15924. $ref: '#/definitions/app.Response'
  15925. security:
  15926. - ApiKeyAuth: []
  15927. summary: 查询交易系统转换设置
  15928. tags:
  15929. - 定制【尚志大宗】
  15930. /SZDZ/QueryConvertLog:
  15931. get:
  15932. parameters:
  15933. - description: 资金账户 - 格式:1,2,3
  15934. in: query
  15935. name: accountID
  15936. required: true
  15937. type: string
  15938. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15939. in: query
  15940. name: startDate
  15941. type: string
  15942. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15943. in: query
  15944. name: endDate
  15945. type: string
  15946. produces:
  15947. - application/json
  15948. responses:
  15949. "200":
  15950. description: OK
  15951. schema:
  15952. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  15953. "500":
  15954. description: Internal Server Error
  15955. schema:
  15956. $ref: '#/definitions/app.Response'
  15957. security:
  15958. - ApiKeyAuth: []
  15959. summary: 交易系统转换流水查询
  15960. tags:
  15961. - 定制【尚志大宗】
  15962. /SZDZ/QueryGoodsPickup:
  15963. get:
  15964. parameters:
  15965. - description: 资金账户 - 格式:1,2,3
  15966. in: query
  15967. name: accountID
  15968. required: true
  15969. type: string
  15970. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15971. in: query
  15972. name: takeOrderStatus
  15973. type: integer
  15974. produces:
  15975. - application/json
  15976. responses:
  15977. "200":
  15978. description: OK
  15979. schema:
  15980. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  15981. "500":
  15982. description: Internal Server Error
  15983. schema:
  15984. $ref: '#/definitions/app.Response'
  15985. security:
  15986. - ApiKeyAuth: []
  15987. summary: 商品提货单查询
  15988. tags:
  15989. - 定制【尚志大宗】
  15990. /SZDZ/QueryRecieptOrder:
  15991. get:
  15992. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  15993. parameters:
  15994. - description: 页码
  15995. in: query
  15996. name: page
  15997. type: integer
  15998. - description: 每页条数
  15999. in: query
  16000. name: pagesize
  16001. type: integer
  16002. - description: 商品ID
  16003. in: query
  16004. name: goodsID
  16005. required: true
  16006. type: integer
  16007. - description: 所属账户名称
  16008. in: query
  16009. name: accountName
  16010. type: string
  16011. - description: 市场ID
  16012. in: query
  16013. name: marketID
  16014. type: integer
  16015. - description: 方向 - 0:买 1:卖
  16016. in: query
  16017. name: buyorsell
  16018. required: true
  16019. type: integer
  16020. produces:
  16021. - application/json
  16022. responses:
  16023. "200":
  16024. description: OK
  16025. schema:
  16026. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  16027. "500":
  16028. description: Internal Server Error
  16029. schema:
  16030. $ref: '#/definitions/app.Response'
  16031. security:
  16032. - ApiKeyAuth: []
  16033. summary: 点选挂牌委托单据查询(摘牌大厅)
  16034. tags:
  16035. - 定制【尚志大宗】
  16036. /SZDZ/QuerySZDZTradePosition:
  16037. get:
  16038. parameters:
  16039. - description: 资金账户
  16040. in: query
  16041. name: accountID
  16042. required: true
  16043. type: integer
  16044. produces:
  16045. - application/json
  16046. responses:
  16047. "200":
  16048. description: OK
  16049. schema:
  16050. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  16051. "500":
  16052. description: Internal Server Error
  16053. schema:
  16054. $ref: '#/definitions/app.Response'
  16055. security:
  16056. - ApiKeyAuth: []
  16057. summary: 持仓汇总查询(尚志大宗)
  16058. tags:
  16059. - 定制【尚志大宗】
  16060. /SZDZ/SearchWhite:
  16061. get:
  16062. parameters:
  16063. - description: 用户ID
  16064. in: query
  16065. name: userID
  16066. required: true
  16067. type: integer
  16068. produces:
  16069. - application/json
  16070. responses:
  16071. "200":
  16072. description: OK
  16073. schema:
  16074. $ref: '#/definitions/models.Szdz3searchwhitelist'
  16075. "500":
  16076. description: Internal Server Error
  16077. schema:
  16078. $ref: '#/definitions/app.Response'
  16079. security:
  16080. - ApiKeyAuth: []
  16081. summary: 搜索白名单
  16082. tags:
  16083. - 定制【尚志大宗】
  16084. /Search/SearchGoodses:
  16085. get:
  16086. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  16087. parameters:
  16088. - description: 检索内容
  16089. in: query
  16090. name: content
  16091. required: true
  16092. type: string
  16093. - description: 交易模式,格式:1,2,3
  16094. in: query
  16095. name: tradeModes
  16096. type: string
  16097. produces:
  16098. - application/json
  16099. responses:
  16100. "200":
  16101. description: OK
  16102. schema:
  16103. $ref: '#/definitions/models.SearchGoods'
  16104. "500":
  16105. description: Internal Server Error
  16106. schema:
  16107. $ref: '#/definitions/app.Response'
  16108. summary: 检索商品信息
  16109. tags:
  16110. - 检索服务
  16111. /TaAccount/GetTaAccounts:
  16112. get:
  16113. parameters:
  16114. - description: 登录账户
  16115. in: query
  16116. name: loginID
  16117. required: true
  16118. type: integer
  16119. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16120. in: query
  16121. name: taAccountType
  16122. type: integer
  16123. produces:
  16124. - application/json
  16125. responses:
  16126. "200":
  16127. description: OK
  16128. schema:
  16129. $ref: '#/definitions/models.Taaccount'
  16130. "500":
  16131. description: Internal Server Error
  16132. schema:
  16133. $ref: '#/definitions/app.Response'
  16134. security:
  16135. - ApiKeyAuth: []
  16136. summary: 获取资金账户信息
  16137. tags:
  16138. - 资金账户
  16139. /TaAccount/QueryAmountLog:
  16140. get:
  16141. parameters:
  16142. - description: 页码
  16143. in: query
  16144. name: page
  16145. type: integer
  16146. - description: 每页条数
  16147. in: query
  16148. name: pagesize
  16149. type: integer
  16150. - description: 资金账户 - 格式:1,2,3
  16151. in: query
  16152. name: accountID
  16153. required: true
  16154. type: string
  16155. - description: 资金操作类型 - 格式:1,2,3
  16156. in: query
  16157. name: OperateType
  16158. type: string
  16159. produces:
  16160. - application/json
  16161. responses:
  16162. "200":
  16163. description: OK
  16164. schema:
  16165. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  16166. "500":
  16167. description: Internal Server Error
  16168. schema:
  16169. $ref: '#/definitions/app.Response'
  16170. security:
  16171. - ApiKeyAuth: []
  16172. summary: 资金流水查询(当前)
  16173. tags:
  16174. - 资金账户
  16175. /TaAccount/QueryHisAmountLog:
  16176. get:
  16177. parameters:
  16178. - description: 页码
  16179. in: query
  16180. name: page
  16181. type: integer
  16182. - description: 每页条数
  16183. in: query
  16184. name: pagesize
  16185. type: integer
  16186. - description: 资金账户 - 格式:1,2,3
  16187. in: query
  16188. name: accountID
  16189. required: true
  16190. type: string
  16191. - description: 资金操作类型 - 格式:1,2,3
  16192. in: query
  16193. name: OperateType
  16194. type: string
  16195. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16196. in: query
  16197. name: startDate
  16198. type: string
  16199. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16200. in: query
  16201. name: endDate
  16202. type: string
  16203. produces:
  16204. - application/json
  16205. responses:
  16206. "200":
  16207. description: OK
  16208. schema:
  16209. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  16210. "500":
  16211. description: Internal Server Error
  16212. schema:
  16213. $ref: '#/definitions/app.Response'
  16214. security:
  16215. - ApiKeyAuth: []
  16216. summary: 资金流水查询(历史)
  16217. tags:
  16218. - 资金账户
  16219. /Trade/QueryRecieptOrder:
  16220. get:
  16221. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16222. parameters:
  16223. - description: 页码
  16224. in: query
  16225. name: page
  16226. type: integer
  16227. - description: 每页条数
  16228. in: query
  16229. name: pagesize
  16230. type: integer
  16231. - description: 商品ID
  16232. in: query
  16233. name: goodsID
  16234. required: true
  16235. type: integer
  16236. - description: 所属账户名称
  16237. in: query
  16238. name: accountName
  16239. type: string
  16240. - description: 市场ID
  16241. in: query
  16242. name: marketID
  16243. type: integer
  16244. - description: 方向 - 0:买 1:卖
  16245. in: query
  16246. name: buyorsell
  16247. required: true
  16248. type: integer
  16249. produces:
  16250. - application/json
  16251. responses:
  16252. "200":
  16253. description: OK
  16254. schema:
  16255. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  16256. "500":
  16257. description: Internal Server Error
  16258. schema:
  16259. $ref: '#/definitions/app.Response'
  16260. security:
  16261. - ApiKeyAuth: []
  16262. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  16263. tags:
  16264. - 通用交易
  16265. /User/AddMessageBoard:
  16266. post:
  16267. parameters:
  16268. - description: 用户ID
  16269. in: query
  16270. name: userID
  16271. required: true
  16272. type: integer
  16273. - description: 留言信息
  16274. in: query
  16275. name: message
  16276. required: true
  16277. type: string
  16278. - description: 联系电话
  16279. in: query
  16280. name: contactNum
  16281. required: true
  16282. type: string
  16283. produces:
  16284. - application/json
  16285. responses:
  16286. "200":
  16287. description: OK
  16288. schema:
  16289. $ref: '#/definitions/app.Response'
  16290. "500":
  16291. description: Internal Server Error
  16292. schema:
  16293. $ref: '#/definitions/app.Response'
  16294. security:
  16295. - ApiKeyAuth: []
  16296. summary: 添加用户留言板信息
  16297. tags:
  16298. - 用户信息
  16299. /User/AddUserFavoriteGoods:
  16300. post:
  16301. parameters:
  16302. - description: 用户ID
  16303. in: query
  16304. name: userID
  16305. required: true
  16306. type: integer
  16307. - description: 商品ID
  16308. in: query
  16309. name: goodsID
  16310. required: true
  16311. type: integer
  16312. produces:
  16313. - application/json
  16314. responses:
  16315. "200":
  16316. description: OK
  16317. schema:
  16318. $ref: '#/definitions/app.Response'
  16319. "500":
  16320. description: Internal Server Error
  16321. schema:
  16322. $ref: '#/definitions/app.Response'
  16323. security:
  16324. - ApiKeyAuth: []
  16325. summary: 添加用户商品收藏信息
  16326. tags:
  16327. - 用户信息
  16328. /User/GetLoginID:
  16329. get:
  16330. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  16331. parameters:
  16332. - description: 登录代码
  16333. in: query
  16334. name: username
  16335. required: true
  16336. type: string
  16337. produces:
  16338. - application/json
  16339. responses:
  16340. "200":
  16341. description: OK
  16342. schema:
  16343. $ref: '#/definitions/app.Response'
  16344. "500":
  16345. description: Internal Server Error
  16346. schema:
  16347. $ref: '#/definitions/app.Response'
  16348. summary: 获取登录ID
  16349. tags:
  16350. - 用户信息
  16351. /User/GetUserAccount:
  16352. get:
  16353. parameters:
  16354. - description: 用户ID
  16355. in: query
  16356. name: userID
  16357. required: true
  16358. type: integer
  16359. produces:
  16360. - application/json
  16361. responses:
  16362. "200":
  16363. description: OK
  16364. schema:
  16365. $ref: '#/definitions/models.Useraccount'
  16366. "500":
  16367. description: Internal Server Error
  16368. schema:
  16369. $ref: '#/definitions/app.Response'
  16370. security:
  16371. - ApiKeyAuth: []
  16372. summary: 获取用户账号信息
  16373. tags:
  16374. - 用户信息
  16375. /User/GetUserAuthStatus:
  16376. get:
  16377. parameters:
  16378. - description: 用户ID
  16379. in: query
  16380. name: userID
  16381. required: true
  16382. type: integer
  16383. produces:
  16384. - application/json
  16385. responses:
  16386. "200":
  16387. description: OK
  16388. schema:
  16389. $ref: '#/definitions/app.Response'
  16390. "500":
  16391. description: Internal Server Error
  16392. schema:
  16393. $ref: '#/definitions/app.Response'
  16394. security:
  16395. - ApiKeyAuth: []
  16396. summary: 获取用户实名认证状态
  16397. tags:
  16398. - 用户信息
  16399. /User/LoginQuery:
  16400. get:
  16401. parameters:
  16402. - description: 登录账号
  16403. in: query
  16404. name: loginID
  16405. required: true
  16406. type: integer
  16407. produces:
  16408. - application/json
  16409. responses:
  16410. "200":
  16411. description: OK
  16412. schema:
  16413. $ref: '#/definitions/user.LoginQueryRsp'
  16414. "500":
  16415. description: Internal Server Error
  16416. schema:
  16417. $ref: '#/definitions/app.Response'
  16418. security:
  16419. - ApiKeyAuth: []
  16420. summary: 账户登录后信息查询
  16421. tags:
  16422. - 用户信息
  16423. /User/QueryMessageBoard:
  16424. get:
  16425. parameters:
  16426. - description: 用户ID
  16427. in: query
  16428. name: userID
  16429. required: true
  16430. type: integer
  16431. produces:
  16432. - application/json
  16433. responses:
  16434. "200":
  16435. description: OK
  16436. schema:
  16437. $ref: '#/definitions/models.Messageboard'
  16438. "500":
  16439. description: Internal Server Error
  16440. schema:
  16441. $ref: '#/definitions/app.Response'
  16442. security:
  16443. - ApiKeyAuth: []
  16444. summary: 获取用户留言板信息
  16445. tags:
  16446. - 用户信息
  16447. /User/QueryUserFavoriteGoodses:
  16448. get:
  16449. parameters:
  16450. - description: 用户ID
  16451. in: query
  16452. name: userID
  16453. required: true
  16454. type: integer
  16455. produces:
  16456. - application/json
  16457. responses:
  16458. "200":
  16459. description: OK
  16460. schema:
  16461. $ref: '#/definitions/models.Userfavoritegoods'
  16462. "500":
  16463. description: Internal Server Error
  16464. schema:
  16465. $ref: '#/definitions/app.Response'
  16466. security:
  16467. - ApiKeyAuth: []
  16468. summary: 获取用户商品收藏信息
  16469. tags:
  16470. - 用户信息
  16471. /User/QueryUserInfo:
  16472. get:
  16473. parameters:
  16474. - description: 用户ID
  16475. in: query
  16476. name: userID
  16477. required: true
  16478. type: integer
  16479. - description: 是否解密
  16480. in: query
  16481. name: isDecrypt
  16482. type: boolean
  16483. produces:
  16484. - application/json
  16485. responses:
  16486. "200":
  16487. description: OK
  16488. schema:
  16489. $ref: '#/definitions/models.Userinfo'
  16490. "500":
  16491. description: Internal Server Error
  16492. schema:
  16493. $ref: '#/definitions/app.Response'
  16494. security:
  16495. - ApiKeyAuth: []
  16496. summary: 获取用户信息
  16497. tags:
  16498. - 用户信息
  16499. /User/QueryUserReferNum:
  16500. get:
  16501. parameters:
  16502. - description: 用户ID
  16503. in: query
  16504. name: userID
  16505. required: true
  16506. type: integer
  16507. produces:
  16508. - application/json
  16509. responses:
  16510. "200":
  16511. description: OK
  16512. schema:
  16513. $ref: '#/definitions/app.Response'
  16514. "500":
  16515. description: Internal Server Error
  16516. schema:
  16517. $ref: '#/definitions/app.Response'
  16518. summary: 获取用户邀请码
  16519. tags:
  16520. - 用户信息
  16521. /User/RemoveUserFavoriteGoods:
  16522. post:
  16523. parameters:
  16524. - description: 用户ID
  16525. in: query
  16526. name: userID
  16527. required: true
  16528. type: integer
  16529. - description: 商品ID
  16530. in: query
  16531. name: goodsID
  16532. required: true
  16533. type: integer
  16534. produces:
  16535. - application/json
  16536. responses:
  16537. "200":
  16538. description: OK
  16539. schema:
  16540. $ref: '#/definitions/app.Response'
  16541. "500":
  16542. description: Internal Server Error
  16543. schema:
  16544. $ref: '#/definitions/app.Response'
  16545. security:
  16546. - ApiKeyAuth: []
  16547. summary: 移除用户商品收藏信息
  16548. tags:
  16549. - 用户信息
  16550. /User/UpdateUserAccountStatus:
  16551. post:
  16552. parameters:
  16553. - description: 用户ID
  16554. in: query
  16555. name: userID
  16556. required: true
  16557. type: integer
  16558. - description: 账户状态 - 4:正常 6:注销(停用)
  16559. in: query
  16560. name: accountStatus
  16561. required: true
  16562. type: integer
  16563. produces:
  16564. - application/json
  16565. responses:
  16566. "200":
  16567. description: OK
  16568. schema:
  16569. $ref: '#/definitions/app.Response'
  16570. "500":
  16571. description: Internal Server Error
  16572. schema:
  16573. $ref: '#/definitions/app.Response'
  16574. security:
  16575. - ApiKeyAuth: []
  16576. summary: 更新用户状态
  16577. tags:
  16578. - 用户信息
  16579. /WRTrade/GetAllDeliveryGoods:
  16580. get:
  16581. produces:
  16582. - application/json
  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. security:
  16594. - ApiKeyAuth: []
  16595. - ApiKeyAuth: []
  16596. summary: 获取带仓单分类的种类信息
  16597. tags:
  16598. - 仓单贸易
  16599. - 仓单贸易
  16600. securityDefinitions:
  16601. ApiKeyAuth:
  16602. in: header
  16603. name: Authorization
  16604. type: apiKey
  16605. swagger: "2.0"