swagger.yaml 418 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. common.QueryTableDefineRsp:
  168. properties:
  169. columns:
  170. description: 列头信息数组
  171. items:
  172. $ref: '#/definitions/models.Tablecolumnconfig'
  173. type: array
  174. remark:
  175. description: Remark
  176. type: string
  177. tabelmenu:
  178. description: 列表菜单
  179. type: string
  180. tablekey:
  181. description: 列表Key
  182. type: string
  183. tablename:
  184. description: 列表名称
  185. type: string
  186. tabletype:
  187. description: 列表类型 - 1:管理端 2:终端
  188. type: integer
  189. required:
  190. - tablekey
  191. type: object
  192. common.QueryTraderMenuRsp:
  193. properties:
  194. OperationMenu:
  195. description: 功能菜单
  196. items:
  197. $ref: '#/definitions/models.OperationPrimaryMenu'
  198. type: array
  199. QuoteMenu:
  200. description: 报价牌分类菜单
  201. items:
  202. $ref: '#/definitions/models.QuotePrimaryMenu'
  203. type: array
  204. type: object
  205. cptrade.Cptradepositioncancel:
  206. properties:
  207. accountid:
  208. description: 申请人账户ID
  209. type: integer
  210. applystatus:
  211. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  212. type: integer
  213. applytime:
  214. description: 申请时间
  215. type: string
  216. cancelid:
  217. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  218. type: integer
  219. cancelqty:
  220. description: 注销数量
  221. type: integer
  222. createtime:
  223. description: 创建时间
  224. type: string
  225. creatorid:
  226. description: 创建人ID
  227. type: integer
  228. creatorname:
  229. description: 创建人
  230. type: string
  231. goodscode:
  232. description: 订单商品代码
  233. type: string
  234. goodsid:
  235. description: 商品ID
  236. type: integer
  237. goodsname:
  238. description: 订单商品名称
  239. type: string
  240. goodunit:
  241. description: 报价单位
  242. type: string
  243. handlestatus:
  244. description: 处理状态
  245. type: integer
  246. marketid:
  247. description: 市场ID
  248. type: integer
  249. marketname:
  250. description: 市场名称
  251. type: string
  252. tradedate:
  253. description: 交易日(yyyyMMdd)
  254. type: string
  255. userid:
  256. description: 申请人ID
  257. type: integer
  258. required:
  259. - cancelid
  260. type: object
  261. cptrade.Cptradepresaleapply:
  262. properties:
  263. accountid:
  264. description: 申请人账户ID
  265. type: integer
  266. applyid:
  267. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  268. type: integer
  269. applyremark:
  270. description: 申请备注
  271. type: string
  272. applystatus:
  273. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  274. type: integer
  275. applytime:
  276. description: 申请时间
  277. type: string
  278. attachmenturl:
  279. description: 附件地址
  280. type: string
  281. endtime:
  282. description: 预售结束时间
  283. type: string
  284. goodscode:
  285. description: 商品代码
  286. type: string
  287. goodsid:
  288. description: 商品ID
  289. type: integer
  290. goodsname:
  291. description: 商品名称
  292. type: string
  293. goodunit:
  294. description: 报价单位
  295. type: string
  296. handlestatus:
  297. description: 处理状态
  298. type: integer
  299. marketid:
  300. description: 预售市场ID
  301. type: integer
  302. marketname:
  303. description: 预售市场名称
  304. type: string
  305. presaleqty:
  306. description: 预售数量
  307. type: integer
  308. relatedgoodscode:
  309. description: 关联交易合约代码
  310. type: string
  311. relatedgoodsid:
  312. description: 关联交易合约ID
  313. type: integer
  314. relatedgoodsname:
  315. description: 关联交易合约名称
  316. type: string
  317. starttime:
  318. description: 预售开始时间
  319. type: string
  320. tradedate:
  321. description: 交易日(yyyyMMdd)
  322. type: string
  323. trademode:
  324. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  325. type: integer
  326. userid:
  327. description: 申请人ID
  328. type: integer
  329. required:
  330. - applyid
  331. type: object
  332. cptrade.Cptradeusergoodsdata:
  333. properties:
  334. EnabledQty:
  335. description: 可用量
  336. type: integer
  337. GoodsCode:
  338. description: 订单商品代码
  339. type: string
  340. GoodsName:
  341. description: 订单商品名称
  342. type: string
  343. WRStandardCode:
  344. description: 仓单标准代码
  345. type: string
  346. WRStandardName:
  347. description: 仓单标准名称
  348. type: string
  349. accountid:
  350. description: 账户ID
  351. type: integer
  352. cancelqty:
  353. description: 注销量
  354. type: integer
  355. curpresaleqty:
  356. description: 当前预售量
  357. type: integer
  358. deliveryqty:
  359. description: 交割量
  360. type: integer
  361. freezeamount:
  362. description: 冻结金额
  363. type: number
  364. goodsid:
  365. description: 商品ID
  366. type: integer
  367. goodunit:
  368. description: 报价单位
  369. type: string
  370. hasspotfreeze:
  371. description: 是否有现货冻结 - 0:否 1:有
  372. type: integer
  373. inqty:
  374. description: 转入量(总数量)
  375. type: integer
  376. marketid:
  377. description: 市场ID
  378. type: integer
  379. presaledamount:
  380. description: 已预售总金额
  381. type: integer
  382. presaledqty:
  383. description: 已预售量
  384. type: integer
  385. userid:
  386. description: 用户ID
  387. type: integer
  388. wrstandardid:
  389. description: 仓单标准ID
  390. type: integer
  391. required:
  392. - accountid
  393. - goodsid
  394. type: object
  395. cptrade.QueryCPTradeMyBidRsp:
  396. properties:
  397. accountid:
  398. description: 账户ID[报价币种]
  399. type: integer
  400. goodsid:
  401. description: 商品ID
  402. type: integer
  403. goodunit:
  404. description: 报价单位
  405. type: string
  406. marketid:
  407. description: 市场ID
  408. type: integer
  409. orderid:
  410. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  411. type: integer
  412. orderprice:
  413. description: 委托价格
  414. type: number
  415. orderqty:
  416. description: 委托数量
  417. type: integer
  418. ordertime:
  419. description: 委托时间
  420. type: string
  421. ordertotalprice:
  422. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  423. type: number
  424. ordertotalweight:
  425. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  426. type: integer
  427. totaltotalprice:
  428. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  429. type: number
  430. tradeprice:
  431. description: 成交价格
  432. type: number
  433. tradeqty:
  434. description: 成交数量
  435. type: integer
  436. required:
  437. - accountid
  438. - goodsid
  439. - marketid
  440. - orderid
  441. - orderqty
  442. - ordertime
  443. - tradeprice
  444. - tradeqty
  445. type: object
  446. cptrade.QueryCPTradeOrderDetailRsq:
  447. properties:
  448. accountid:
  449. description: 账户ID[报价币种]
  450. type: integer
  451. buildtype:
  452. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  453. type: integer
  454. buyorsell:
  455. description: 买卖 - 0:买 1:卖
  456. type: integer
  457. cancelorderid:
  458. description: 撤单单号(撤单时填写)
  459. type: integer
  460. cancelqty:
  461. description: 撤单数量
  462. type: integer
  463. clientordertime:
  464. description: 客户端委托时间
  465. type: string
  466. clientticket:
  467. description: 客户端流水号
  468. type: string
  469. clienttype:
  470. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  471. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  472. type: integer
  473. closeexchagechargevalue:
  474. description: 平仓交易所手续费设置值
  475. type: number
  476. closefeealgorithm:
  477. description: 平仓手续费收取方式 1:比率 2:固定
  478. type: integer
  479. closefreezecharge:
  480. description: 平仓冻结手续费(先建后平操作,需要记录)
  481. type: number
  482. closememberchargevalue:
  483. description: 平仓会员手续费设置值
  484. type: number
  485. closeqty:
  486. description: 平仓数量(先建后平操作 需要记录)
  487. type: integer
  488. closetradeqty:
  489. description: 平仓成交数量(先建后平操作,需要记录)
  490. type: integer
  491. closeunfreezecharge:
  492. description: 平仓解冻手续费(先建后平操作,需要记录)
  493. type: number
  494. delistingtype:
  495. description: 摘牌类型 - 1:价格最优 2:点选成交
  496. type: integer
  497. freezecharge:
  498. description: 冻结手续费
  499. type: number
  500. freezemargin:
  501. description: 冻结保证金(冻结交易金额)
  502. type: number
  503. gcaccountid:
  504. description: 账户ID[合约币种]
  505. type: integer
  506. goodsid:
  507. description: 商品ID
  508. type: integer
  509. isconfirmexercise:
  510. description: 是否确认行权- 0:否 1:是
  511. type: integer
  512. ispreexercise:
  513. description: 是否预申报- 0:否 1:是
  514. type: integer
  515. listingselecttype:
  516. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  517. type: integer
  518. marginalgorithm:
  519. description: 保证金收取方式 1:比率 2:固定
  520. type: integer
  521. marginvalue:
  522. description: 即市保证金设置值
  523. type: number
  524. marketid:
  525. description: 市场ID
  526. type: integer
  527. marketmaxsub:
  528. description: 市价最大偏移范围
  529. type: number
  530. memberuserid:
  531. description: 所属会员UserID
  532. type: integer
  533. openexchagechargevalue:
  534. description: 建仓交易所手续费设置值
  535. type: number
  536. openfeealgorithm:
  537. description: 建仓手续费收取方式 1:比率 2:固定
  538. type: integer
  539. openfreezecharge:
  540. description: 开仓冻结手续费(先建后平操作,需要记录)
  541. type: number
  542. openmemberchargevalue:
  543. description: 建仓会员手续费设置值
  544. type: number
  545. openqty:
  546. description: 开仓数量(先建后平操作,需要记录)
  547. type: integer
  548. opentradeqty:
  549. description: 开仓成交数量(先建后平操作,需要记录)
  550. type: integer
  551. openunfreezecharge:
  552. description: 开仓解冻手续费(先建后平操作,需要记录)
  553. type: number
  554. operatetype:
  555. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  556. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  557. 15:管理端协议转让
  558. type: integer
  559. operatorid:
  560. description: 登录账号(LoginID)
  561. type: integer
  562. optiontype:
  563. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  564. type: integer
  565. orderprice:
  566. description: 委托价格
  567. type: number
  568. orderqty:
  569. description: 委托数量
  570. type: integer
  571. ordersrc:
  572. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  573. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  574. type: integer
  575. orderstatus:
  576. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  577. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  578. 16:成交失败违约(荷兰式竞拍专用)
  579. type: integer
  580. ordertime:
  581. description: 委托时间
  582. type: string
  583. preexerciseprice:
  584. description: 预申报价格
  585. type: number
  586. premium:
  587. description: 权利金
  588. type: number
  589. preorderid:
  590. description: 关联预埋单号(止盈止损单时填写)
  591. type: integer
  592. pricemode:
  593. description: '取价方式 - 1:市价 2: 限价'
  594. type: integer
  595. quoteid:
  596. description: 报价单ID
  597. type: integer
  598. relatedid:
  599. description: 关联单号(交割单)
  600. type: integer
  601. retcode:
  602. description: 错误代码
  603. type: integer
  604. sessionid:
  605. description: 会话ID
  606. type: integer
  607. strorderid:
  608. description: 委托单号
  609. type: string
  610. tradedate:
  611. description: 交易日(yyyyMMdd)
  612. type: string
  613. tradeproperty:
  614. description: 交易属性
  615. type: integer
  616. tradeqty:
  617. description: 成交数量
  618. type: integer
  619. unfreezecharge:
  620. description: 解冻手续费
  621. type: number
  622. unfreezemargin:
  623. description: 解冻保证金
  624. type: number
  625. updatetime:
  626. description: 更新时间
  627. type: string
  628. uuid:
  629. description: 发起端唯一id
  630. type: string
  631. validtime:
  632. description: 有效期限
  633. type: string
  634. validtype:
  635. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  636. type: integer
  637. volumetype:
  638. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  639. type: integer
  640. required:
  641. - accountid
  642. - buildtype
  643. - buyorsell
  644. - goodsid
  645. - marketid
  646. - memberuserid
  647. - operatetype
  648. - orderqty
  649. - ordertime
  650. - pricemode
  651. - strorderid
  652. - tradedate
  653. - validtype
  654. type: object
  655. cptrade.QueryMyCPTradeGoodsRsp:
  656. properties:
  657. accountid:
  658. description: 卖方账户ID
  659. type: integer
  660. agreeunit:
  661. description: 合约单位
  662. type: number
  663. applyid:
  664. description: 关联申请ID
  665. type: integer
  666. attachmenturl:
  667. description: 附件地址
  668. type: string
  669. createtime:
  670. description: 创建时间
  671. type: string
  672. currencyid:
  673. description: 报价货币ID
  674. type: integer
  675. decimalplace:
  676. description: 报价小数位
  677. type: integer
  678. endtime:
  679. description: 预售结束时间
  680. type: string
  681. floorprice:
  682. description: 底价[大宗式竞拍]
  683. type: number
  684. goodscode:
  685. description: 商品代码(预售)
  686. type: string
  687. goodsdetail:
  688. description: 详情[大宗]
  689. type: string
  690. goodsid:
  691. description: 商品ID(自增ID SEQ_GOODS)
  692. type: integer
  693. goodsname:
  694. description: 商品名称(预售)
  695. type: string
  696. goodunit:
  697. description: 报价单位
  698. type: string
  699. goodunitid:
  700. description: 报价单位ID
  701. type: integer
  702. marketid:
  703. description: 所属市场ID
  704. type: integer
  705. marketname:
  706. description: 预售市场名称
  707. type: string
  708. presaledamount:
  709. description: 已预售总金额(预售结束时更新)
  710. type: number
  711. presaledqty:
  712. description: 已预售量(预售结束时更新)
  713. type: integer
  714. presalemode:
  715. description: 预售模式 - 1:一口价 2:大宗式竞拍
  716. type: integer
  717. presaleqty:
  718. description: 预售数量
  719. type: integer
  720. refprice:
  721. description: 参考价格[一口价]
  722. type: number
  723. relatedgoodscode:
  724. description: 商品代码(订单)
  725. type: string
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedgoodsname:
  730. description: 商品名称(订单)
  731. type: string
  732. relatedmarketid:
  733. description: 关联交易合约市场ID
  734. type: integer
  735. sellstatus:
  736. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  737. type: integer
  738. startprice:
  739. description: 起拍价[大宗式竞拍]
  740. type: number
  741. starttime:
  742. description: 预售开始时间
  743. type: string
  744. tradedate:
  745. description: 交易日(yyyyMMdd)
  746. type: string
  747. tradeprice:
  748. description: 成交价[大宗]
  749. type: number
  750. userid:
  751. description: 卖方用户ID
  752. type: integer
  753. required:
  754. - goodscode
  755. - goodsid
  756. - goodsname
  757. - marketid
  758. - relatedgoodscode
  759. - relatedgoodsname
  760. type: object
  761. cptrade.QueryPresaleGoodsExRsp:
  762. properties:
  763. attachmenturl:
  764. description: 附件地址
  765. type: string
  766. createtime:
  767. description: 创建时间
  768. type: string
  769. endtime:
  770. description: 预售结束时间
  771. type: string
  772. floorprice:
  773. description: 底价[大宗式竞拍]
  774. type: number
  775. goodsdetail:
  776. description: 详情[大宗]
  777. type: string
  778. goodsid:
  779. description: 商品ID(预售)
  780. type: integer
  781. goodunit:
  782. description: 报价单位
  783. type: string
  784. marketid:
  785. description: 预售市场ID - 根据预售模式选择市场
  786. type: integer
  787. presaledamount:
  788. description: 已预售总金额(预售结束时更新)
  789. type: number
  790. presaledqty:
  791. description: 已预售量(预售结束时更新)
  792. type: integer
  793. presalemode:
  794. description: 预售模式 - 1:一口价 2:大宗式竞拍
  795. type: integer
  796. presaleqty:
  797. description: 预售数量
  798. type: integer
  799. refprice:
  800. description: 参考价格[一口价]
  801. type: number
  802. relatedgoodsid:
  803. description: 关联交易合约ID
  804. type: integer
  805. relatedmarketid:
  806. description: 关联交易合约市场ID
  807. type: integer
  808. sellstatus:
  809. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  810. type: integer
  811. startprice:
  812. description: 起拍价[大宗式竞拍]
  813. type: number
  814. starttime:
  815. description: 预售开始时间
  816. type: string
  817. tradedate:
  818. description: 交易日(yyyyMMdd)
  819. type: string
  820. tradeprice:
  821. description: 成交价[大宗]
  822. type: number
  823. required:
  824. - goodsid
  825. type: object
  826. delivery.QueryDeliveryRelationRsp:
  827. properties:
  828. begindate:
  829. description: 起始日期(yyyyMMdd)
  830. type: string
  831. buytemplateid:
  832. description: 买履约计划模板ID
  833. type: integer
  834. deliverygoodscode:
  835. description: 品种代码
  836. type: string
  837. deliverygoodsid:
  838. description: 交割商品
  839. type: integer
  840. deliverygoodsname:
  841. description: 品种名称
  842. type: string
  843. deliverymode:
  844. description: 交割方式 - 1:点选式 2:申报式
  845. type: integer
  846. deliverypricerule:
  847. description: 交割价规则- 1:行情价 2:建仓价
  848. type: integer
  849. deliverytype:
  850. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  851. type: integer
  852. enddate:
  853. description: 结束日期(yyyyMMdd)
  854. type: string
  855. goodscode:
  856. description: 商品代码
  857. type: string
  858. goodsid:
  859. description: 交易合约ID
  860. type: integer
  861. goodsname:
  862. description: 商品名称
  863. type: string
  864. marketid:
  865. description: 市场ID
  866. type: integer
  867. mindeliveryqty:
  868. description: 最小交割系数(K)
  869. type: integer
  870. p2deliveryprice:
  871. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  872. type: number
  873. p2deliveryratio:
  874. description: P2合约系数(p)
  875. type: integer
  876. p2goodsid:
  877. description: P2合约ID
  878. type: integer
  879. p2pricemode:
  880. description: P2合约价格方式 - 1:商品价 2:固定值
  881. type: integer
  882. pdeliveryprice:
  883. description: P合约价格(商品价时填写0,固定值时填写固定值)
  884. type: number
  885. pdeliveryratio:
  886. description: P合约系数(n)
  887. type: integer
  888. pgoodsid:
  889. description: P合约ID
  890. type: integer
  891. ppricemode:
  892. description: P合约价格方式 - 1:商品价 2:固定值
  893. type: integer
  894. rratio:
  895. description: 兑换系数(R)
  896. type: integer
  897. rratio1:
  898. description: 兑换系数(交易合约)(R1)
  899. type: integer
  900. rratio2:
  901. description: 兑换系数(仓单标准)(R2)
  902. type: integer
  903. selltemplateid:
  904. description: 卖履约计划模板ID
  905. type: integer
  906. wrstandardid:
  907. description: 仓单标准ID
  908. type: integer
  909. xdeliveryratio:
  910. description: 交易合约系数(m)
  911. type: integer
  912. required:
  913. - begindate
  914. - enddate
  915. - goodsid
  916. - mindeliveryqty
  917. - xdeliveryratio
  918. type: object
  919. ermcp.ExposureDetailRsp:
  920. properties:
  921. areauserid:
  922. description: 机构ID
  923. type: integer
  924. changeQty:
  925. description: 套保变动量
  926. type: number
  927. contracttype:
  928. description: 现货合同类型 - 1:采购 -1:销售
  929. type: integer
  930. convertfactor:
  931. description: 标仓系数
  932. type: number
  933. convertratio:
  934. description: 套保系数
  935. type: number
  936. createtime:
  937. description: 时间
  938. type: string
  939. enumdicname:
  940. description: 现货商品单位名称
  941. type: string
  942. logtype:
  943. description: 类型 - 1:套保计划 2:现货合同
  944. type: integer
  945. middlegoodsId:
  946. description: 套保商品id
  947. type: integer
  948. middlegoodscode:
  949. description: 套保商品代码
  950. type: string
  951. middlegoodsname:
  952. description: 套保商品名称
  953. type: string
  954. qty:
  955. description: 数量
  956. type: number
  957. relateNo:
  958. description: 现货合同/套保计划编号
  959. type: string
  960. wrstandardcode:
  961. description: 现货商品代码
  962. type: string
  963. wrstandardid:
  964. description: 现货商品ID
  965. type: integer
  966. wrstandardname:
  967. description: 现货商品名称
  968. type: string
  969. type: object
  970. ermcp.ExposureHedgePosDetailRsp:
  971. properties:
  972. buyorsell:
  973. description: 买卖方向 0-买 1-卖
  974. type: integer
  975. channelbuildtype:
  976. description: 开平方向 1-建仓 2-平仓
  977. type: integer
  978. goodscode:
  979. description: 商品代码
  980. type: string
  981. goodsname:
  982. description: 商品名称
  983. type: string
  984. hedgegoodsid:
  985. description: 商品id
  986. type: integer
  987. tradeqty:
  988. description: 数量(成交数量)
  989. type: integer
  990. tradetime:
  991. description: 时间(成交时间)
  992. type: string
  993. type: object
  994. ermcp.ExposureHedgePositionRsp:
  995. properties:
  996. accountid:
  997. description: 资金账号[外部母账户]
  998. type: integer
  999. curbuyposition:
  1000. description: 期末买头寸
  1001. type: integer
  1002. cursellposition:
  1003. description: 期末卖头寸
  1004. type: integer
  1005. curtdbuyposition:
  1006. description: 期末今日买头寸
  1007. type: integer
  1008. curtdsellposition:
  1009. description: 期末今日卖头寸
  1010. type: integer
  1011. curydbuyposition:
  1012. description: 期末上日买头寸
  1013. type: integer
  1014. curydsellposition:
  1015. description: 期末上日卖头寸
  1016. type: integer
  1017. decreaseqty:
  1018. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1019. type: integer
  1020. fretdbuyposition:
  1021. description: 冻结今日买头寸
  1022. type: integer
  1023. fretdsellposition:
  1024. description: 冻结今日卖头寸
  1025. type: integer
  1026. freydbuyposition:
  1027. description: 冻结上日买头寸
  1028. type: integer
  1029. freydsellposition:
  1030. description: 冻结上日卖头寸
  1031. type: integer
  1032. goodscode:
  1033. description: 商品代码
  1034. type: string
  1035. goodsid:
  1036. description: 商品id
  1037. type: integer
  1038. goodsname:
  1039. description: 商品名称
  1040. type: string
  1041. hedgeaccountcode:
  1042. description: 对冲账号
  1043. type: string
  1044. hedgegoodsid:
  1045. description: 对冲合约ID
  1046. type: integer
  1047. increaseqty:
  1048. description: 增加数量 = 期末买头寸 - 期初买头寸
  1049. type: integer
  1050. marketid:
  1051. description: 市场ID
  1052. type: integer
  1053. relateduserid:
  1054. description: 关联用户id
  1055. type: integer
  1056. totalcurqty:
  1057. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1058. type: integer
  1059. totalydqty:
  1060. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1061. type: integer
  1062. tradedate:
  1063. description: 交易日(yyyyMMdd)
  1064. type: string
  1065. ydbuyposition:
  1066. description: 期初买头寸
  1067. type: integer
  1068. ydsellposition:
  1069. description: 期初卖头寸
  1070. type: integer
  1071. type: object
  1072. ermcp.ExposureSpotDetailRsp:
  1073. properties:
  1074. contracttype:
  1075. description: 合同类型 1-采购 -1-销售
  1076. type: integer
  1077. createtime:
  1078. description: 创建时间
  1079. type: string
  1080. enumdicname:
  1081. description: 现货商品单位名称
  1082. type: string
  1083. logtype:
  1084. description: 记录类型 1-套保 2-现货合同
  1085. type: integer
  1086. qty:
  1087. description: 数量
  1088. type: number
  1089. recordname:
  1090. description: 类型名称
  1091. type: string
  1092. relatedid:
  1093. description: 套保计划ID/现货合同ID
  1094. type: string
  1095. relatedno:
  1096. description: 编号
  1097. type: string
  1098. strtime:
  1099. description: 时间
  1100. type: string
  1101. wrstandardcode:
  1102. description: 现货商品代码
  1103. type: string
  1104. wrstandardname:
  1105. description: 现货商品名称
  1106. type: string
  1107. type: object
  1108. ermcp.ExposureSpotRsp:
  1109. properties:
  1110. areauserid:
  1111. description: 所属机构
  1112. type: integer
  1113. decreaseqty:
  1114. description: 减少数量=-(销售已定价数量+采购计划数量)
  1115. type: number
  1116. increaseqty:
  1117. description: 增加数量=销售计划数量+采购已定价数量
  1118. type: number
  1119. oritoalspotqty:
  1120. description: 昨日数量
  1121. type: number
  1122. totalspotqty:
  1123. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1124. type: number
  1125. updatetime:
  1126. description: 更新时间
  1127. type: string
  1128. wrstandardcode:
  1129. description: 现货品种代码
  1130. type: string
  1131. wrstandardid:
  1132. description: 现货商品ID
  1133. type: integer
  1134. wrstandardname:
  1135. description: 现货品种
  1136. type: string
  1137. type: object
  1138. ermcp.HisExposureRsp:
  1139. properties:
  1140. data:
  1141. description: 历史敞口
  1142. items:
  1143. $ref: '#/definitions/models.ErmcpHisExposure'
  1144. type: array
  1145. enumdicname:
  1146. description: 单位名称
  1147. type: string
  1148. middlegoodscode:
  1149. description: 套保品种代码
  1150. type: string
  1151. middlegoodsid:
  1152. description: 套保品种ID
  1153. type: integer
  1154. middlegoodsname:
  1155. description: 套保品种名称
  1156. type: string
  1157. type: object
  1158. ermcp.PendingAuditCntRsp:
  1159. properties:
  1160. areastockqty:
  1161. description: '待审核数量: 库存申请'
  1162. type: integer
  1163. businessdjqty:
  1164. description: '待审核数量: 点价'
  1165. type: integer
  1166. businessfpqty:
  1167. description: '待审核数量: 发票'
  1168. type: integer
  1169. businessjsqty:
  1170. description: '待审核数量: 结算'
  1171. type: integer
  1172. businesskxqty:
  1173. description: '待审核数量: 款项'
  1174. type: integer
  1175. hedgeplanqty:
  1176. description: '待审核数量: 套保计划'
  1177. type: integer
  1178. spotcontractqty:
  1179. description: '待审核数量: 现货合同'
  1180. type: integer
  1181. userqty:
  1182. description: '待审核数量: 用户'
  1183. type: integer
  1184. type: object
  1185. ermcp.QryAreaStockApplyRsp:
  1186. properties:
  1187. applyid:
  1188. description: 申请人
  1189. type: integer
  1190. applyname:
  1191. description: 申请人名称
  1192. type: string
  1193. applyremark:
  1194. description: 申请备注
  1195. type: string
  1196. applysrc:
  1197. description: 申请来源 - 1:管理端 2:终端
  1198. type: integer
  1199. applystatus:
  1200. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1201. type: integer
  1202. applytime:
  1203. description: 申请时间
  1204. type: string
  1205. auditid:
  1206. description: 审核人
  1207. type: integer
  1208. auditname:
  1209. description: 审核人名称
  1210. type: string
  1211. auditremark:
  1212. description: 审核备注
  1213. type: string
  1214. auditsrc:
  1215. description: 审核来源 - 1:管理端 2:终端
  1216. type: integer
  1217. audittime:
  1218. description: 审核时间
  1219. type: string
  1220. audittradedate:
  1221. description: 审核交易日(yyyyMMdd)
  1222. type: string
  1223. brandname:
  1224. description: 品牌名称
  1225. type: string
  1226. buyuserid:
  1227. description: 采购方userid
  1228. type: integer
  1229. buyusername:
  1230. description: 采购方名称
  1231. type: string
  1232. contractno:
  1233. description: 合同编号
  1234. type: string
  1235. contractqty:
  1236. description: 合同量
  1237. type: number
  1238. contracttype:
  1239. description: 现货合同类型 - 1:采购 -1:销售
  1240. type: integer
  1241. deliverygoodsid:
  1242. description: 现货品种ID
  1243. type: integer
  1244. enumdicname:
  1245. description: 现货商品单位名称
  1246. type: string
  1247. inoutapplyid:
  1248. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  1249. type: string
  1250. inouttype:
  1251. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  1252. type: integer
  1253. modelname:
  1254. description: 型号名称
  1255. type: string
  1256. pricetype:
  1257. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1258. type: integer
  1259. qty:
  1260. description: 数量
  1261. type: number
  1262. selluserid:
  1263. description: 销售方userid
  1264. type: integer
  1265. sellusername:
  1266. description: 销售方名称
  1267. type: string
  1268. spotcontractid:
  1269. description: 关联现货合同ID
  1270. type: string
  1271. spotgoodsbrandid:
  1272. description: 现货品牌ID
  1273. type: integer
  1274. spotgoodsmodelid:
  1275. description: 现货型号ID
  1276. type: integer
  1277. unitid:
  1278. description: 单位id
  1279. type: integer
  1280. userid:
  1281. description: 机构ID
  1282. type: integer
  1283. warehousecode:
  1284. description: 仓库代码
  1285. type: string
  1286. warehouseinfoid:
  1287. description: 现货仓库ID
  1288. type: string
  1289. warehousename:
  1290. description: 仓库名称
  1291. type: string
  1292. warehousetype:
  1293. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  1294. type: integer
  1295. wrstandardcode:
  1296. description: 现货商品代码
  1297. type: string
  1298. wrstandardid:
  1299. description: 现货商品ID
  1300. type: string
  1301. wrstandardname:
  1302. description: 现货商品名称
  1303. type: string
  1304. type: object
  1305. ermcp.QryAvalidGPRsp:
  1306. properties:
  1307. goodsgroupid:
  1308. description: 期货品种id
  1309. type: integer
  1310. goodsgroupname:
  1311. description: 期货品种名称
  1312. type: string
  1313. goodunitid:
  1314. description: 品种单位id
  1315. type: integer
  1316. goodunitname:
  1317. description: 品种单位名称
  1318. type: string
  1319. outergroupcode:
  1320. description: 期货品种代码
  1321. type: string
  1322. type: object
  1323. ermcp.QryBusinessDjRsp:
  1324. properties:
  1325. amount:
  1326. description: 点价金额=(点价价格+升贴水)*点价数量
  1327. type: number
  1328. applyid:
  1329. description: 申请人
  1330. type: string
  1331. applyname:
  1332. description: 申请人名称
  1333. type: string
  1334. applystatus:
  1335. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1336. type: integer
  1337. applytime:
  1338. description: 申请时间
  1339. type: string
  1340. attachurl:
  1341. description: 附件
  1342. type: string
  1343. auditid:
  1344. description: 审核人ID
  1345. type: string
  1346. auditname:
  1347. description: 审核人名称
  1348. type: string
  1349. audittime:
  1350. description: 审核时间
  1351. type: string
  1352. buyusername:
  1353. description: 采购方名称
  1354. type: string
  1355. contractno:
  1356. description: 合同编号
  1357. type: string
  1358. contractstatus:
  1359. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1360. type: integer
  1361. contracttype:
  1362. description: 现货合同类型 - 1:采购 -1:销售
  1363. type: integer
  1364. enumdicname:
  1365. description: 单位名称
  1366. type: string
  1367. goodscode:
  1368. description: 点价合约
  1369. type: string
  1370. goodsname:
  1371. description: 商品名称
  1372. type: string
  1373. operateapplyid:
  1374. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1375. type: string
  1376. operateapplytype:
  1377. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1378. type: integer
  1379. pricedPrice:
  1380. description: 点价价格(非必填)
  1381. type: number
  1382. pricedQty:
  1383. description: 点价数量(非必填)
  1384. type: number
  1385. pricemove:
  1386. description: 升贴水
  1387. type: number
  1388. pricetype:
  1389. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1390. type: integer
  1391. relatedid:
  1392. description: 现货合同ID
  1393. type: string
  1394. sellusername:
  1395. description: 销售方名字
  1396. type: string
  1397. userid:
  1398. description: 用户ID
  1399. type: integer
  1400. wrstandardcode:
  1401. description: 现货商品代码
  1402. type: string
  1403. wrstandardid:
  1404. description: 现货商品id
  1405. type: integer
  1406. wrstandardname:
  1407. description: 现货商品名称
  1408. type: string
  1409. type: object
  1410. ermcp.QryBussinessFpRsp:
  1411. properties:
  1412. applyid:
  1413. description: 申请人
  1414. type: string
  1415. applyname:
  1416. description: 申请人名称
  1417. type: string
  1418. applystatus:
  1419. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1420. type: integer
  1421. applytime:
  1422. description: 申请时间
  1423. type: string
  1424. attachurl:
  1425. description: 附件
  1426. type: string
  1427. auditid:
  1428. description: 审核人ID
  1429. type: string
  1430. auditname:
  1431. description: 审核人名称
  1432. type: string
  1433. audittime:
  1434. description: 审核时间
  1435. type: string
  1436. buyusername:
  1437. description: 采购方名称
  1438. type: string
  1439. contractno:
  1440. description: 合同编号
  1441. type: string
  1442. contractstatus:
  1443. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1444. type: integer
  1445. contracttype:
  1446. description: 现货合同类型 - 1:采购 -1:销售
  1447. type: integer
  1448. enumdicname:
  1449. description: 单位名称
  1450. type: string
  1451. goodscode:
  1452. description: 点价合约
  1453. type: string
  1454. goodsname:
  1455. description: 商品名称
  1456. type: string
  1457. invoiceAmount:
  1458. description: 已开收票金额(销售为开票,采购为收票)
  1459. type: number
  1460. operateapplyid:
  1461. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1462. type: string
  1463. operateapplytype:
  1464. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1465. type: integer
  1466. pricemove:
  1467. description: 升贴水
  1468. type: number
  1469. pricetype:
  1470. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1471. type: integer
  1472. relatedid:
  1473. description: 现货合同ID
  1474. type: string
  1475. sellusername:
  1476. description: 销售方名字
  1477. type: string
  1478. userid:
  1479. description: 用户ID
  1480. type: integer
  1481. wrstandardcode:
  1482. description: 现货商品代码
  1483. type: string
  1484. wrstandardid:
  1485. description: 现货商品id
  1486. type: integer
  1487. wrstandardname:
  1488. description: 现货商品名称
  1489. type: string
  1490. type: object
  1491. ermcp.QryBussinessJsExRsp:
  1492. properties:
  1493. applyid:
  1494. description: 申请人
  1495. type: string
  1496. applyname:
  1497. description: 申请人名称
  1498. type: string
  1499. applystatus:
  1500. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1501. type: integer
  1502. applytime:
  1503. description: 申请时间
  1504. type: string
  1505. attachurl:
  1506. description: 附件
  1507. type: string
  1508. auditid:
  1509. description: 审核人ID
  1510. type: string
  1511. auditname:
  1512. description: 审核人名称
  1513. type: string
  1514. audittime:
  1515. description: 审核时间
  1516. type: string
  1517. buyusername:
  1518. description: 采购方名称
  1519. type: string
  1520. contractno:
  1521. description: 合同编号
  1522. type: string
  1523. contractstatus:
  1524. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1525. type: integer
  1526. contracttype:
  1527. description: 现货合同类型 - 1:采购 -1:销售
  1528. type: integer
  1529. enumdicname:
  1530. description: 单位名称
  1531. type: string
  1532. goodscode:
  1533. description: 点价合约
  1534. type: string
  1535. goodsname:
  1536. description: 商品名称
  1537. type: string
  1538. operateapplyid:
  1539. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1540. type: string
  1541. operateapplytype:
  1542. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1543. type: integer
  1544. pricemove:
  1545. description: 升贴水
  1546. type: number
  1547. pricetype:
  1548. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1549. type: integer
  1550. reckontype:
  1551. description: 结算类型
  1552. type: string
  1553. reckonvalue:
  1554. description: 值
  1555. type: number
  1556. relatedid:
  1557. description: 现货合同ID
  1558. type: string
  1559. sellusername:
  1560. description: 销售方名字
  1561. type: string
  1562. userid:
  1563. description: 用户ID
  1564. type: integer
  1565. wrstandardcode:
  1566. description: 现货商品代码
  1567. type: string
  1568. wrstandardid:
  1569. description: 现货商品id
  1570. type: integer
  1571. wrstandardname:
  1572. description: 现货商品名称
  1573. type: string
  1574. type: object
  1575. ermcp.QryBussinessJsRsp:
  1576. properties:
  1577. addmargin:
  1578. description: 追加保证金(非必填)
  1579. type: number
  1580. applyid:
  1581. description: 申请人
  1582. type: string
  1583. applyname:
  1584. description: 申请人名称
  1585. type: string
  1586. applystatus:
  1587. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1588. type: integer
  1589. applytime:
  1590. description: 申请时间
  1591. type: string
  1592. attachurl:
  1593. description: 附件
  1594. type: string
  1595. auditid:
  1596. description: 审核人ID
  1597. type: string
  1598. auditname:
  1599. description: 审核人名称
  1600. type: string
  1601. audittime:
  1602. description: 审核时间
  1603. type: string
  1604. buyusername:
  1605. description: 采购方名称
  1606. type: string
  1607. contractno:
  1608. description: 合同编号
  1609. type: string
  1610. contractstatus:
  1611. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1612. type: integer
  1613. contracttype:
  1614. description: 现货合同类型 - 1:采购 -1:销售
  1615. type: integer
  1616. decmargin:
  1617. description: 减少保证金(非必填)
  1618. type: number
  1619. enumdicname:
  1620. description: 单位名称
  1621. type: string
  1622. goodscode:
  1623. description: 点价合约
  1624. type: string
  1625. goodsname:
  1626. description: 商品名称
  1627. type: string
  1628. operateapplyid:
  1629. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1630. type: string
  1631. operateapplytype:
  1632. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1633. type: integer
  1634. pricemove:
  1635. description: 升贴水
  1636. type: number
  1637. pricetype:
  1638. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1639. type: integer
  1640. reckonadjustamount:
  1641. description: 结算调整金额(非必填)
  1642. type: number
  1643. reckonosamount:
  1644. description: 结算溢短金额(非必填)
  1645. type: number
  1646. reckonotheramount:
  1647. description: 结算其他费用(非必填)
  1648. type: number
  1649. reckonrealqty:
  1650. description: 结算实际数量(非必填)
  1651. type: number
  1652. relatedid:
  1653. description: 现货合同ID
  1654. type: string
  1655. sellusername:
  1656. description: 销售方名字
  1657. type: string
  1658. userid:
  1659. description: 用户ID
  1660. type: integer
  1661. wrstandardcode:
  1662. description: 现货商品代码
  1663. type: string
  1664. wrstandardid:
  1665. description: 现货商品id
  1666. type: integer
  1667. wrstandardname:
  1668. description: 现货商品名称
  1669. type: string
  1670. type: object
  1671. ermcp.QryBussinessKxRsp:
  1672. properties:
  1673. applyid:
  1674. description: 申请人
  1675. type: string
  1676. applyname:
  1677. description: 申请人名称
  1678. type: string
  1679. applystatus:
  1680. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1681. type: integer
  1682. applytime:
  1683. description: 申请时间
  1684. type: string
  1685. attachurl:
  1686. description: 附件
  1687. type: string
  1688. auditid:
  1689. description: 审核人ID
  1690. type: string
  1691. auditname:
  1692. description: 审核人名称
  1693. type: string
  1694. audittime:
  1695. description: 审核时间
  1696. type: string
  1697. buyusername:
  1698. description: 采购方名称
  1699. type: string
  1700. contractno:
  1701. description: 合同编号
  1702. type: string
  1703. contractstatus:
  1704. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1705. type: integer
  1706. contracttype:
  1707. description: 现货合同类型 - 1:采购 -1:销售
  1708. type: integer
  1709. deductamount:
  1710. description: 退款(非必填)
  1711. type: number
  1712. enumdicname:
  1713. description: 单位名称
  1714. type: string
  1715. goodscode:
  1716. description: 点价合约
  1717. type: string
  1718. goodsname:
  1719. description: 商品名称
  1720. type: string
  1721. kxtype:
  1722. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1723. type: integer
  1724. operateapplyid:
  1725. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1726. type: string
  1727. operateapplytype:
  1728. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1729. type: integer
  1730. payamount:
  1731. description: 收付款(非必填)
  1732. type: number
  1733. pricemove:
  1734. description: 升贴水
  1735. type: number
  1736. pricetype:
  1737. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1738. type: integer
  1739. relatedid:
  1740. description: 现货合同ID
  1741. type: string
  1742. sellusername:
  1743. description: 销售方名字
  1744. type: string
  1745. userid:
  1746. description: 用户ID
  1747. type: integer
  1748. wrstandardcode:
  1749. description: 现货商品代码
  1750. type: string
  1751. wrstandardid:
  1752. description: 现货商品id
  1753. type: integer
  1754. wrstandardname:
  1755. description: 现货商品名称
  1756. type: string
  1757. type: object
  1758. ermcp.QryErmcpRsp:
  1759. properties:
  1760. accountname:
  1761. description: 账户名称
  1762. type: string
  1763. attachment:
  1764. description: 附件
  1765. type: string
  1766. audittime:
  1767. description: 审核时间
  1768. type: string
  1769. brandname:
  1770. description: 品牌名称
  1771. type: string
  1772. contracctstatus:
  1773. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1774. type: integer
  1775. contractmargin:
  1776. description: 合同保证金
  1777. type: number
  1778. contractno:
  1779. description: 合同编号
  1780. type: string
  1781. contracttype:
  1782. description: 合同类型 1-采购, -1-销售
  1783. type: integer
  1784. convertfactor:
  1785. description: 标仓系数
  1786. type: number
  1787. createtime:
  1788. description: 创建时间
  1789. type: string
  1790. daikaiamount:
  1791. description: 应收(开)票额
  1792. type: number
  1793. deliveryenddate:
  1794. description: 交割结束日
  1795. type: string
  1796. deliverygoodscode:
  1797. description: 现货品种代码
  1798. type: string
  1799. deliverygoodsid:
  1800. description: 现货商品ID
  1801. type: integer
  1802. deliverygoodsname:
  1803. description: 现货品种名称
  1804. type: string
  1805. deliverystartdate:
  1806. description: 交割开始日
  1807. type: string
  1808. enddate:
  1809. description: 点价结束日
  1810. type: string
  1811. enumdicname:
  1812. description: 单位名称
  1813. type: string
  1814. goodscode:
  1815. description: 点价商品代码
  1816. type: string
  1817. goodsid:
  1818. description: 点价商品ID
  1819. type: integer
  1820. goodsname:
  1821. description: 点价商品名称
  1822. type: string
  1823. invoiceamount:
  1824. description: 已开票额
  1825. type: number
  1826. loanamount:
  1827. description: 贷款总额=已定价额+调整金额
  1828. type: number
  1829. margin:
  1830. description: 保证金
  1831. type: number
  1832. modelname:
  1833. description: 型号名称
  1834. type: string
  1835. payamount:
  1836. description: 已收付额(收款或付款)
  1837. type: number
  1838. preinvoiceamount:
  1839. description: 预收(开)票额
  1840. type: number
  1841. prepayamount:
  1842. description: 预收付额
  1843. type: number
  1844. price:
  1845. description: 价格
  1846. type: number
  1847. pricedamount:
  1848. description: 已定价额
  1849. type: number
  1850. pricedavg:
  1851. description: 已点均价
  1852. type: number
  1853. pricedqty:
  1854. description: 已定价量
  1855. type: number
  1856. pricemove:
  1857. description: 升贴水
  1858. type: number
  1859. pricetype:
  1860. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1861. type: integer
  1862. producttype:
  1863. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1864. type: integer
  1865. qty:
  1866. description: 合同量
  1867. type: number
  1868. reckonadjustamount:
  1869. description: 调整金额
  1870. type: number
  1871. reckonedamount:
  1872. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  1873. type: number
  1874. reckonotheramount:
  1875. description: 其它费用
  1876. type: number
  1877. reckonrealqty:
  1878. description: 已确定量
  1879. type: number
  1880. remark:
  1881. description: 备注
  1882. type: string
  1883. spotcontractid:
  1884. description: 合同ID
  1885. type: string
  1886. spotgoodsbrandid:
  1887. description: 现货品牌ID
  1888. type: integer
  1889. spotgoodsdesc:
  1890. description: 商品型号(商品规格)
  1891. type: string
  1892. spotgoodsmodelid:
  1893. description: 现货型号ID
  1894. type: integer
  1895. startdate:
  1896. description: 点价开始日
  1897. type: string
  1898. totalamount:
  1899. description: 合计总额
  1900. type: number
  1901. unpayamount:
  1902. description: 应收付款额(应支付或应收款)
  1903. type: number
  1904. unpricedqty:
  1905. description: 未定价量
  1906. type: number
  1907. unsureqty:
  1908. description: 未确定量
  1909. type: number
  1910. userid:
  1911. description: 用户ID
  1912. type: integer
  1913. wrstandardcode:
  1914. description: 现货商品代码
  1915. type: string
  1916. wrstandardid:
  1917. description: 现货商品ID
  1918. type: integer
  1919. wrstandardname:
  1920. description: 现货商品名称
  1921. type: string
  1922. type: object
  1923. ermcp.QryGGCovertCfgRsp:
  1924. properties:
  1925. convertratio:
  1926. description: 折算系数
  1927. type: number
  1928. destgoodsgroupid:
  1929. description: 目标品种ID
  1930. type: integer
  1931. dstcode:
  1932. description: 目录品种代码
  1933. type: string
  1934. dstexchangecode:
  1935. description: 目标期货交易所
  1936. type: string
  1937. dstname:
  1938. description: 目标品种名称
  1939. type: string
  1940. dstunitid:
  1941. description: 目标品种单位ID
  1942. type: integer
  1943. dstunitidname:
  1944. description: 目标品种单位名称
  1945. type: string
  1946. modifytime:
  1947. description: 修改时间
  1948. type: string
  1949. srccode:
  1950. description: 源品种代码
  1951. type: string
  1952. srcexchangecode:
  1953. description: 源期货交易所
  1954. type: string
  1955. srcgoodsgroupid:
  1956. description: 源品种ID
  1957. type: integer
  1958. srcname:
  1959. description: 源品种名称
  1960. type: string
  1961. srcunitid:
  1962. description: 源品种单位ID
  1963. type: integer
  1964. srcunitidname:
  1965. description: 源品种单位名称
  1966. type: string
  1967. type: object
  1968. ermcp.QryHedgePlanRsp:
  1969. properties:
  1970. areauserid:
  1971. description: 用户ID
  1972. type: integer
  1973. audittime:
  1974. description: 审核时间
  1975. type: string
  1976. contracttype:
  1977. description: 计划类型 - 1:采购 -1:销售
  1978. type: integer
  1979. convertfactor:
  1980. description: 标仓系数
  1981. type: number
  1982. createtime:
  1983. description: 创建时间
  1984. type: string
  1985. deliverygoodsid:
  1986. description: 现货品种ID
  1987. type: integer
  1988. deliverygoodsname:
  1989. description: 现货品种名称
  1990. type: string
  1991. enumdicname:
  1992. description: 单位名称
  1993. type: string
  1994. hedgeplanid:
  1995. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  1996. type: string
  1997. hedgeplanno:
  1998. description: 套保计划编号(名称)
  1999. type: string
  2000. hedgeplanstatus:
  2001. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2002. type: integer
  2003. planqty:
  2004. description: 计划数量
  2005. type: number
  2006. plantime:
  2007. description: 计划时间
  2008. type: string
  2009. producttype:
  2010. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2011. type: integer
  2012. remark:
  2013. description: 备注
  2014. type: string
  2015. spotgoodsdesc:
  2016. description: 商品型号
  2017. type: string
  2018. unitid:
  2019. description: 单位id
  2020. type: integer
  2021. updatetime:
  2022. description: 更新时间
  2023. type: string
  2024. wrstandardid:
  2025. description: 现货商品ID
  2026. type: integer
  2027. wrstandardname:
  2028. description: 现货商品名称
  2029. type: string
  2030. type: object
  2031. ermcp.QryMGChangeLogRsp:
  2032. properties:
  2033. aftervalue:
  2034. description: 变更后
  2035. type: number
  2036. applyid:
  2037. description: 操作人
  2038. type: integer
  2039. applyname:
  2040. description: 操作人名称
  2041. type: string
  2042. applysrc:
  2043. description: 操作来源 - 1:管理端 2:终端
  2044. type: integer
  2045. beforevalue:
  2046. description: 变更前
  2047. type: number
  2048. changelogtype:
  2049. description: 变更流水类型 - 1:套保比率变更
  2050. type: integer
  2051. handlestatus:
  2052. description: 处理状态
  2053. type: integer
  2054. logdatetime:
  2055. description: 流水日期
  2056. type: string
  2057. logid:
  2058. description: 流水ID
  2059. type: integer
  2060. logremark:
  2061. description: 流水备注
  2062. type: string
  2063. middlegoodsid:
  2064. description: 套保品种ID
  2065. type: integer
  2066. tradedate:
  2067. description: 交易日(yyyyMMdd)
  2068. type: string
  2069. updatetime:
  2070. description: 更新时间
  2071. type: string
  2072. type: object
  2073. ermcp.QryMiddleGoodsDetailRsp:
  2074. properties:
  2075. cvList:
  2076. description: 期货品种折算列表
  2077. items:
  2078. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  2079. type: array
  2080. mg:
  2081. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  2082. description: 套保品种基本信息
  2083. wrcList:
  2084. description: 现货品种列表(现货商品折算配置)
  2085. items:
  2086. $ref: '#/definitions/models.WRSConverTDetail'
  2087. type: array
  2088. type: object
  2089. ermcp.QryMiddleGoodsRsp:
  2090. properties:
  2091. areauserid:
  2092. description: 机构用户ID
  2093. type: integer
  2094. createtime:
  2095. description: 修改时间
  2096. type: string
  2097. enumdicname:
  2098. description: 单位名称
  2099. type: string
  2100. evaluateratio:
  2101. description: 估价系数
  2102. type: number
  2103. goodsgroupid:
  2104. description: 关联期货品种ID
  2105. type: integer
  2106. isvalid:
  2107. description: 状态 0-无效(停用) 1-有效(正常)
  2108. type: integer
  2109. middlegoodscode:
  2110. description: 套保品种代码
  2111. type: string
  2112. middlegoodsid:
  2113. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  2114. type: integer
  2115. middlegoodsname:
  2116. description: 套保品种名称
  2117. type: string
  2118. modifytime:
  2119. description: 修改时间
  2120. type: string
  2121. needhedgeratio:
  2122. description: 套保比率
  2123. type: number
  2124. qtydecimalplace:
  2125. description: 数量小数位
  2126. type: integer
  2127. relatedgoodsid:
  2128. description: 关联交易商品ID
  2129. type: integer
  2130. relatedgoodstype:
  2131. description: 关联商品类型 - 1:期货合约 2:现货品种
  2132. type: integer
  2133. remark:
  2134. description: 备注
  2135. type: string
  2136. type: object
  2137. ermcp.QryOPLogRsp:
  2138. properties:
  2139. aftervalue:
  2140. description: 变更后
  2141. type: number
  2142. applyid:
  2143. description: 操作人ID
  2144. type: string
  2145. applyname:
  2146. description: 操作人名称
  2147. type: string
  2148. beforevalue:
  2149. description: 变更前
  2150. type: number
  2151. biztype:
  2152. description: 业务类型 - 1:套保计划 2:现货合同
  2153. type: integer
  2154. contracttype:
  2155. description: 现货合同类型 - 1:采购 -1:销售
  2156. type: integer
  2157. logvalue:
  2158. description: 数值
  2159. type: number
  2160. operatelogtype:
  2161. description: 操作流水类型
  2162. type: integer
  2163. operatelogtypedesc:
  2164. description: 操作流水类型名称
  2165. type: string
  2166. relatedid:
  2167. description: 现货合同ID\套保计划
  2168. type: string
  2169. updatetime:
  2170. description: 更新时间
  2171. type: string
  2172. type: object
  2173. ermcp.QryReportDaySpotDetailRsp:
  2174. properties:
  2175. applyid:
  2176. description: 操作人
  2177. type: integer
  2178. applyname:
  2179. description: 操作人名称
  2180. type: string
  2181. biztype:
  2182. description: 业务类型 - 1:套保计划 2:现货合同
  2183. type: integer
  2184. brandname:
  2185. description: 品牌名称
  2186. type: string
  2187. contracttype:
  2188. description: 现货合同类型 - 1:采购 -1:销售
  2189. type: integer
  2190. enumdicName:
  2191. description: 单位名称
  2192. type: string
  2193. logdatetime:
  2194. description: 流水日期(时间)
  2195. type: string
  2196. logid:
  2197. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2198. type: string
  2199. logtypename:
  2200. description: 合同类型(名称)
  2201. type: string
  2202. logvalue:
  2203. description: 数值
  2204. type: string
  2205. modelname:
  2206. description: 型号名称
  2207. type: string
  2208. operatelogtype:
  2209. description: 操作流水类型 -
  2210. type: integer
  2211. optypename:
  2212. description: 流水类型名称
  2213. type: string
  2214. relatedid:
  2215. description: 现货合同ID\套保计划
  2216. type: string
  2217. relatedno:
  2218. description: 合同编号
  2219. type: string
  2220. tradedate:
  2221. description: 交易日(yyyyMMdd)
  2222. type: string
  2223. userid:
  2224. description: 机构ID
  2225. type: integer
  2226. wrstandardcode:
  2227. description: 现货商品代码
  2228. type: string
  2229. wrstandardid:
  2230. description: 现货商品ID
  2231. type: integer
  2232. wrstandardname:
  2233. description: 现货商品名称
  2234. type: string
  2235. type: object
  2236. ermcp.QryReportExposureDayRsp:
  2237. properties:
  2238. areauserid:
  2239. description: 所属机构
  2240. type: integer
  2241. buyfutureqty:
  2242. description: 买入期货数量
  2243. type: number
  2244. buyplanqty:
  2245. description: 采购计划数量
  2246. type: number
  2247. buypricedqty:
  2248. description: 采购合同已定价数量
  2249. type: number
  2250. diffFutuQty:
  2251. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  2252. type: number
  2253. diffSpotQty:
  2254. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  2255. type: number
  2256. enumdicname:
  2257. description: 单位名称
  2258. type: string
  2259. middlegoodscode:
  2260. description: 套保品种代码
  2261. type: string
  2262. middlegoodshedgeratio:
  2263. description: 应套保比例
  2264. type: number
  2265. middlegoodsid:
  2266. description: 套保品种ID
  2267. type: integer
  2268. middlegoodsname:
  2269. description: 套保品种名称
  2270. type: string
  2271. needhedgeexposoure:
  2272. description: 应套保敞口
  2273. type: number
  2274. needhedgeratio:
  2275. description: 应套保敞口比例
  2276. type: number
  2277. oriTotalFutuQty:
  2278. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2279. type: number
  2280. oriTotalSpotQty:
  2281. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2282. type: number
  2283. oribuyfutureqty:
  2284. description: 期初买入期货数量
  2285. type: number
  2286. oribuyplanqty:
  2287. description: 期初采购计划数量
  2288. type: number
  2289. oribuypricedqty:
  2290. description: 期初采购合同已定价数量
  2291. type: number
  2292. orisellfutureqty:
  2293. description: 期初卖出期货数量
  2294. type: number
  2295. orisellplanqty:
  2296. description: 期初销售计划数量
  2297. type: number
  2298. orisellpricedqty:
  2299. description: 期初销售合同已定价数量
  2300. type: number
  2301. reckondate:
  2302. description: 日照时期(yyyyMMdd)
  2303. type: string
  2304. sellfutureqty:
  2305. description: 卖出期货数量
  2306. type: number
  2307. sellplanqty:
  2308. description: 销售计划数量
  2309. type: number
  2310. sellpricedqty:
  2311. description: 销售合同已定价数量
  2312. type: number
  2313. totalexposure:
  2314. description: 总敞口
  2315. type: number
  2316. totalfutureqty:
  2317. description: 期货数量
  2318. type: number
  2319. totalhedgeratio:
  2320. description: 敞口比例
  2321. type: number
  2322. totalneedhedgeqty:
  2323. description: 期货应套保量
  2324. type: number
  2325. totalspotqty:
  2326. description: 现货数量
  2327. type: number
  2328. type: object
  2329. ermcp.QryReportFinanceDayRsp:
  2330. properties:
  2331. areauserid:
  2332. description: 所属机构
  2333. type: integer
  2334. collectinvoiceamount:
  2335. description: 今日开票金额
  2336. type: number
  2337. collectinvoicecount:
  2338. description: 今日开票笔数
  2339. type: integer
  2340. collectmoneyamount:
  2341. description: 今日收款金额
  2342. type: number
  2343. collectmoneycount:
  2344. description: 今日收款笔数
  2345. type: integer
  2346. payinvoiceamount:
  2347. description: 今日收票金额
  2348. type: number
  2349. payinvoicecount:
  2350. description: 今日收票笔数
  2351. type: integer
  2352. paymoneyamount:
  2353. description: 今日付款金额
  2354. type: number
  2355. paymoneycount:
  2356. description: 今日付款笔数
  2357. type: integer
  2358. reckondate:
  2359. description: 日照时期(yyyyMMdd)
  2360. type: string
  2361. updatetime:
  2362. description: 更新时间
  2363. type: string
  2364. type: object
  2365. ermcp.QryReportFinanceKxRsp:
  2366. properties:
  2367. applyid:
  2368. description: 操作人
  2369. type: integer
  2370. applyname:
  2371. description: 操作人名称
  2372. type: string
  2373. biztype:
  2374. description: 业务类型 - 1:套保计划 2:现货合同
  2375. type: integer
  2376. brandname:
  2377. description: 品牌名称
  2378. type: string
  2379. contracttype:
  2380. description: 现货合同类型 - 1:采购 -1:销售
  2381. type: integer
  2382. enumdicName:
  2383. description: 单位名称
  2384. type: string
  2385. logdatetime:
  2386. description: 流水日期(时间)
  2387. type: string
  2388. logid:
  2389. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2390. type: string
  2391. logtypename:
  2392. description: 合同类型(名称)
  2393. type: string
  2394. logvalue:
  2395. description: 数值
  2396. type: string
  2397. modelname:
  2398. description: 型号名称
  2399. type: string
  2400. operatelogtype:
  2401. description: 操作流水类型 -
  2402. type: integer
  2403. optypename:
  2404. description: 流水类型名称
  2405. type: string
  2406. relatedid:
  2407. description: 现货合同ID\套保计划
  2408. type: string
  2409. relatedno:
  2410. description: 合同编号
  2411. type: string
  2412. tradedate:
  2413. description: 交易日(yyyyMMdd)
  2414. type: string
  2415. userid:
  2416. description: 机构ID
  2417. type: integer
  2418. wrstandardcode:
  2419. description: 现货商品代码
  2420. type: string
  2421. wrstandardid:
  2422. description: 现货商品ID
  2423. type: integer
  2424. wrstandardname:
  2425. description: 现货商品名称
  2426. type: string
  2427. type: object
  2428. ermcp.QryReportFinanceMonRsp:
  2429. properties:
  2430. areauserid:
  2431. description: 所属机构【原值】
  2432. type: integer
  2433. collectinvoiceamount:
  2434. description: 今日开票金额【汇总】
  2435. type: number
  2436. collectinvoicecount:
  2437. description: 今日开票笔数【汇总】
  2438. type: integer
  2439. collectmoneyamount:
  2440. description: 今日收款金额【汇总】
  2441. type: number
  2442. collectmoneycount:
  2443. description: 今日收款笔数 【汇总】
  2444. type: integer
  2445. cycletime:
  2446. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2447. type: string
  2448. cycletype:
  2449. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2450. type: integer
  2451. dayFr:
  2452. description: 日报表明细
  2453. items:
  2454. $ref: '#/definitions/models.ErmcpReportDayFR'
  2455. type: array
  2456. payinvoiceamount:
  2457. description: 今日收票金额【汇总】
  2458. type: number
  2459. payinvoicecount:
  2460. description: 今日收票笔数【汇总】
  2461. type: integer
  2462. paymoneyamount:
  2463. description: 今日付款金额【汇总】
  2464. type: number
  2465. paymoneycount:
  2466. description: 今日付款笔数【汇总】
  2467. type: integer
  2468. updatetime:
  2469. description: 更新时间
  2470. type: string
  2471. type: object
  2472. ermcp.QryReportSpotDayRsp:
  2473. properties:
  2474. areauserid:
  2475. description: 所属机构T
  2476. type: integer
  2477. buyinqty:
  2478. description: 采购入库量
  2479. type: number
  2480. enumdicname:
  2481. description: 现货商品单位名称
  2482. type: string
  2483. reckondate:
  2484. description: 日照时期(yyyyMMdd)
  2485. type: string
  2486. selloutqty:
  2487. description: 销售出库量
  2488. type: number
  2489. todaybuyreckonqty:
  2490. description: 采购确定量
  2491. type: number
  2492. todaysellreckonqty:
  2493. description: 销售确定量
  2494. type: number
  2495. totalbuypricedqty:
  2496. description: 采购定价量 = 期末 - 期初
  2497. type: number
  2498. totalsellpricedqty:
  2499. description: 销售定价量 = 期末 - 期初
  2500. type: number
  2501. wrstandardcode:
  2502. description: 现货商品代码
  2503. type: string
  2504. wrstandardid:
  2505. description: 现货商品ID
  2506. type: integer
  2507. wrstandardname:
  2508. description: 现货商品名称
  2509. type: string
  2510. type: object
  2511. ermcp.QryReportSpotMonRsp:
  2512. properties:
  2513. areauserid:
  2514. description: 所属机构T
  2515. type: integer
  2516. buyinqty:
  2517. description: 采购入库量
  2518. type: number
  2519. cycletime:
  2520. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2521. type: string
  2522. cycletype:
  2523. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2524. type: integer
  2525. enumdicname:
  2526. description: 现货商品单位名称
  2527. type: string
  2528. selloutqty:
  2529. description: 销售出库量
  2530. type: number
  2531. todaybuyreckonqty:
  2532. description: 采购确定量
  2533. type: number
  2534. todaysellreckonqty:
  2535. description: 销售确定量
  2536. type: number
  2537. totalbuypricedqty:
  2538. description: 采购定价量 = 期末 - 期初
  2539. type: number
  2540. totalsellpricedqty:
  2541. description: 销售定价量 = 期末 - 期初
  2542. type: number
  2543. wrstandardcode:
  2544. description: 现货商品代码
  2545. type: string
  2546. wrstandardid:
  2547. description: 现货商品ID
  2548. type: integer
  2549. wrstandardname:
  2550. description: 现货商品名称
  2551. type: string
  2552. type: object
  2553. ermcp.QryReportSpotMonthDetailRsp:
  2554. properties:
  2555. areauserid:
  2556. description: 所属机构T
  2557. type: integer
  2558. buyinqty:
  2559. description: 采购入库量
  2560. type: number
  2561. enumdicname:
  2562. description: 现货商品单位名称
  2563. type: string
  2564. reckondate:
  2565. description: 日照时期(yyyyMMdd)
  2566. type: string
  2567. selloutqty:
  2568. description: 销售出库量
  2569. type: number
  2570. todaybuyreckonqty:
  2571. description: 采购确定量
  2572. type: number
  2573. todaysellreckonqty:
  2574. description: 销售确定量
  2575. type: number
  2576. totalbuypricedqty:
  2577. description: 采购定价量 = 期末 - 期初
  2578. type: number
  2579. totalsellpricedqty:
  2580. description: 销售定价量 = 期末 - 期初
  2581. type: number
  2582. wrstandardcode:
  2583. description: 现货商品代码
  2584. type: string
  2585. wrstandardid:
  2586. description: 现货商品ID
  2587. type: integer
  2588. wrstandardname:
  2589. description: 现货商品名称
  2590. type: string
  2591. type: object
  2592. ermcp.QrySpotContractRsp:
  2593. properties:
  2594. amount:
  2595. description: 金额 [1:一口价、3:暂定价]
  2596. type: number
  2597. attachment:
  2598. description: 附件
  2599. type: string
  2600. auditremark:
  2601. description: 审核意见
  2602. type: string
  2603. audittime:
  2604. description: 审核时间
  2605. type: string
  2606. brandname:
  2607. description: 品牌名称
  2608. type: string
  2609. buyuserid:
  2610. description: 采购方ID
  2611. type: integer
  2612. buyusername:
  2613. description: 采购方名称
  2614. type: string
  2615. contracctstatus:
  2616. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2617. type: integer
  2618. contractmargin:
  2619. description: 合同保证金
  2620. type: number
  2621. contractno:
  2622. description: 现货合同编号
  2623. type: string
  2624. contracttype:
  2625. description: 现货合同类型 - 1:采购 -1:销售
  2626. type: integer
  2627. convertfactor:
  2628. description: 标仓系数
  2629. type: number
  2630. createtime:
  2631. description: 创建时间
  2632. type: string
  2633. deliveryenddate:
  2634. description: 交收期(结束)
  2635. type: string
  2636. deliverygoodscode:
  2637. description: 现货品种代码
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. deliverygoodsname:
  2643. description: 现货品种名称
  2644. type: string
  2645. deliverystartdate:
  2646. description: 交收期(开始)
  2647. type: string
  2648. enddate:
  2649. description: 点价结束日期 [2:点价 3:暂定价]
  2650. type: string
  2651. enumdicname:
  2652. description: 单位名称
  2653. type: string
  2654. goodscode:
  2655. description: 点价合约代码
  2656. type: string
  2657. goodsid:
  2658. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  2659. type: integer
  2660. goodsname:
  2661. description: 点价商品名称
  2662. type: string
  2663. margin:
  2664. description: 当前保证金
  2665. type: number
  2666. modelname:
  2667. description: 型号名称
  2668. type: string
  2669. price:
  2670. description: 价格\暂定价 [1:一口价、3:暂定价]
  2671. type: number
  2672. pricemove:
  2673. description: 升贴水 [2:点价 3:暂定价]
  2674. type: number
  2675. pricetype:
  2676. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. qty:
  2682. description: 数量
  2683. type: number
  2684. remark:
  2685. description: 备注
  2686. type: string
  2687. selluserid:
  2688. description: 销售方ID
  2689. type: integer
  2690. sellusername:
  2691. description: 销售方名称
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotgoodsbrandid:
  2697. description: 现货品牌ID
  2698. type: integer
  2699. spotgoodsdesc:
  2700. description: 商品型号
  2701. type: string
  2702. spotgoodsmodelid:
  2703. description: 现货型号ID
  2704. type: integer
  2705. startdate:
  2706. description: 点价开始日期 [2:点价 3:暂定价]
  2707. type: string
  2708. updatetime:
  2709. description: 更新时间
  2710. type: string
  2711. userid:
  2712. description: 机构ID
  2713. type: integer
  2714. wrstandardcode:
  2715. description: 现货商品代码
  2716. type: string
  2717. wrstandardid:
  2718. description: 现货商品ID
  2719. type: integer
  2720. wrstandardname:
  2721. description: 现货商品名称
  2722. type: string
  2723. type: object
  2724. ermcp.QryUserInfoRsp:
  2725. properties:
  2726. address:
  2727. description: 通讯地址
  2728. type: string
  2729. attachment1:
  2730. description: 附件1
  2731. type: string
  2732. audittime:
  2733. description: 审核时间
  2734. type: string
  2735. cardfrontphotourl:
  2736. description: 证件正面图片地址
  2737. type: string
  2738. cardnum:
  2739. description: 证件号码
  2740. type: string
  2741. cardtype:
  2742. description: 证件类型
  2743. type: integer
  2744. cardtypename:
  2745. description: 证件类型名称
  2746. type: string
  2747. cityid:
  2748. description: 市
  2749. type: integer
  2750. countryid:
  2751. description: 国家
  2752. type: integer
  2753. createtime:
  2754. description: 创建时间
  2755. type: string
  2756. customername:
  2757. description: 企业名称
  2758. type: string
  2759. districtid:
  2760. description: 区域
  2761. type: integer
  2762. memberuserid:
  2763. description: 所属机构ID
  2764. type: integer
  2765. mobile:
  2766. description: 手机号码
  2767. type: string
  2768. modifytime:
  2769. description: 修改时间
  2770. type: string
  2771. provinceid:
  2772. description: 省
  2773. type: integer
  2774. remark:
  2775. description: 备注
  2776. type: string
  2777. status:
  2778. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2779. type: integer
  2780. statusdesc:
  2781. description: 账户状态中文描述
  2782. type: string
  2783. telphone:
  2784. description: 联系电话
  2785. type: string
  2786. userid:
  2787. description: 用户ID
  2788. type: integer
  2789. userinfotype:
  2790. description: 客户类型
  2791. type: string
  2792. type: object
  2793. ermcp.QryWarehouseRsp:
  2794. properties:
  2795. address:
  2796. description: 详细地址
  2797. type: string
  2798. areauserid:
  2799. description: 所属机构
  2800. type: integer
  2801. autoid:
  2802. description: 自增ID(仓库ID)
  2803. type: integer
  2804. cityid:
  2805. description: 市
  2806. type: integer
  2807. contactname:
  2808. description: 联系人
  2809. type: string
  2810. contactnum:
  2811. description: 联系电话
  2812. type: string
  2813. countryid:
  2814. description: 国家
  2815. type: integer
  2816. createtime:
  2817. description: 创建时间
  2818. type: string
  2819. districtid:
  2820. description: 区
  2821. type: integer
  2822. hasvideo:
  2823. description: 是否有视频 - 0:无 1:有
  2824. type: integer
  2825. provinceid:
  2826. description: 省
  2827. type: integer
  2828. remark:
  2829. description: 审核备注
  2830. type: string
  2831. videourl:
  2832. description: 视频地址
  2833. type: string
  2834. warehousecode:
  2835. description: 仓库代码
  2836. type: string
  2837. warehousename:
  2838. description: 仓库名称
  2839. type: string
  2840. warehousestatus:
  2841. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2842. type: integer
  2843. warehousetype:
  2844. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2845. type: integer
  2846. type: object
  2847. ermcp.QryWrStandardDetailRsp:
  2848. properties:
  2849. gbList:
  2850. description: 品牌列表
  2851. items:
  2852. $ref: '#/definitions/models.GoodsBrand'
  2853. type: array
  2854. goodsList:
  2855. description: 关联交易商品列表
  2856. items:
  2857. $ref: '#/definitions/models.RelatedGoodsEx'
  2858. type: array
  2859. gtList:
  2860. description: 型号列表
  2861. items:
  2862. $ref: '#/definitions/models.GoodsTypeModel'
  2863. type: array
  2864. wrd:
  2865. $ref: '#/definitions/models.ErmcpWrstandard'
  2866. description: 基本信息
  2867. wrsList:
  2868. description: 套保信息列表
  2869. items:
  2870. $ref: '#/definitions/models.WRSConverTDetail'
  2871. type: array
  2872. type: object
  2873. ermcp.QryWrStandardRsp:
  2874. properties:
  2875. areauserid:
  2876. description: 所属机构
  2877. type: integer
  2878. createtime:
  2879. description: 创建时间
  2880. type: string
  2881. creatorid:
  2882. description: 创建人
  2883. type: integer
  2884. deliverygoodsid:
  2885. description: 品种ID
  2886. type: integer
  2887. enumdicname:
  2888. description: 单位名称
  2889. type: string
  2890. isvalid:
  2891. description: 是否有效 0-无效(停用) 1-有效(正常)
  2892. type: integer
  2893. minivalue:
  2894. description: 最小变动值
  2895. type: integer
  2896. minivaluedp:
  2897. description: 最小变动值小数位
  2898. type: integer
  2899. realminivalue:
  2900. description: 实际最小变动值
  2901. type: integer
  2902. realminivaluedp:
  2903. description: 实际最小变动值小数位
  2904. type: integer
  2905. remark:
  2906. description: 备注
  2907. type: string
  2908. unitid:
  2909. description: 单位ID
  2910. type: integer
  2911. updatetime:
  2912. description: 更新时间
  2913. type: string
  2914. wrstandardcode:
  2915. description: 现货商品代码
  2916. type: string
  2917. wrstandardid:
  2918. description: 现货商品ID(SEQ_WRSTANDARD)
  2919. type: integer
  2920. wrstandardname:
  2921. description: 现货商品名称
  2922. type: string
  2923. type: object
  2924. ermcp.QueryAreaStockApplySumRsp:
  2925. properties:
  2926. brandname:
  2927. description: 品牌名称
  2928. type: string
  2929. inouttype:
  2930. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  2931. type: integer
  2932. modelname:
  2933. description: 型号名称
  2934. type: string
  2935. spotcontractid:
  2936. description: 关联现货合同ID
  2937. type: string
  2938. spotgoodsbrandid:
  2939. description: 品牌id
  2940. type: integer
  2941. spotgoodsmodelid:
  2942. description: 型号id
  2943. type: integer
  2944. totalqty:
  2945. description: 总数量
  2946. type: number
  2947. type: object
  2948. ermcp.QueryErmcpTradePositionRsp:
  2949. properties:
  2950. agreeunit:
  2951. description: 合约单位
  2952. type: number
  2953. buyorsell:
  2954. description: 方向 - 0:买 1:卖
  2955. type: integer
  2956. curpositionqty:
  2957. description: 持仓(总仓数量, 期末头寸)
  2958. type: integer
  2959. curtdposition:
  2960. description: 今仓数量(期末今日头寸)
  2961. type: integer
  2962. curtdpositionenabled:
  2963. description: 今仓可用
  2964. type: integer
  2965. decimalplace:
  2966. description: 报价小数位
  2967. type: integer
  2968. enableqty:
  2969. description: 可用(总仓可用)
  2970. type: integer
  2971. exexchangename:
  2972. description: 外部交易所名称
  2973. type: string
  2974. goodscode:
  2975. description: 商品代码(内部)
  2976. type: string
  2977. goodsid:
  2978. description: 商品ID(自增ID SEQ_GOODS)
  2979. type: integer
  2980. goodsname:
  2981. description: 商品名称
  2982. type: string
  2983. last:
  2984. description: 现价
  2985. type: number
  2986. marketid:
  2987. description: 所属市场ID
  2988. type: integer
  2989. openaverageprice:
  2990. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2991. type: number
  2992. opencost:
  2993. description: 开仓成本
  2994. type: number
  2995. openpl:
  2996. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2997. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2998. type: number
  2999. outgoodscode:
  3000. description: 商品代码(外部)
  3001. type: string
  3002. positionaverageprice:
  3003. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  3004. type: number
  3005. positioncost:
  3006. description: 持仓成本
  3007. type: number
  3008. positionpl:
  3009. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  3010. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  3011. type: number
  3012. positionplrate:
  3013. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  3014. type: number
  3015. usedmargin:
  3016. description: 占用保证金
  3017. type: number
  3018. type: object
  3019. ermcp.RealtimeExposurePositionRsp:
  3020. properties:
  3021. agreeunit:
  3022. description: 合约单位
  3023. type: string
  3024. areauserid:
  3025. description: 所属机构id
  3026. type: integer
  3027. convertratio:
  3028. description: 期货品种系数(折算系数)
  3029. type: number
  3030. curqty:
  3031. description: 当前持仓
  3032. type: integer
  3033. diffhedgeqty:
  3034. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  3035. type: number
  3036. diffqty:
  3037. description: 持仓变动量=当前持仓-昨日持仓
  3038. type: integer
  3039. goodscode:
  3040. description: 商品代码
  3041. type: string
  3042. goodsid:
  3043. description: 商品id
  3044. type: integer
  3045. goodsname:
  3046. description: 商品名称
  3047. type: string
  3048. middlegoodsid:
  3049. description: 套保商品id
  3050. type: integer
  3051. ydqty:
  3052. description: 昨日持仓
  3053. type: integer
  3054. type: object
  3055. ermcp.RealtimeExposureRsp:
  3056. properties:
  3057. AreaUserID:
  3058. description: 所属机构
  3059. type: integer
  3060. BuyFutureQty:
  3061. description: 买入期货数量
  3062. type: number
  3063. BuyPlanQty:
  3064. description: 采购计划数量
  3065. type: number
  3066. BuyPricedQty:
  3067. description: 采购合同已定价数量
  3068. type: number
  3069. MiddleGoodsCode:
  3070. description: 套保品种代码
  3071. type: string
  3072. MiddleGoodsHedgeRatio:
  3073. description: 应套保比例
  3074. type: number
  3075. MiddleGoodsID:
  3076. description: 套保品种
  3077. type: integer
  3078. MiddleGoodsName:
  3079. description: 套保品种名称
  3080. type: string
  3081. NeedHedgeExposoure:
  3082. description: 应套保敞口
  3083. type: number
  3084. NeedHedgeRatio:
  3085. description: 应套保敞口比例
  3086. type: number
  3087. OriBuyFutureQty:
  3088. description: 期初买入期货数量
  3089. type: number
  3090. OriBuyPlanQty:
  3091. description: 期初采购计划数量
  3092. type: number
  3093. OriBuyPricedQty:
  3094. description: 期初采购合同已定价数量
  3095. type: number
  3096. OriSellFutureQty:
  3097. description: 期初卖出期货数量
  3098. type: number
  3099. OriSellPlanQty:
  3100. description: 期初销售计划数量
  3101. type: number
  3102. OriSellPricedQty:
  3103. description: 期初销售合同已定价数量
  3104. type: number
  3105. SellFutureQty:
  3106. description: 卖出期货数量
  3107. type: number
  3108. SellPlanQty:
  3109. description: 销售计划数量
  3110. type: number
  3111. SellPricedQty:
  3112. description: 销售合同已定价数量
  3113. type: number
  3114. TotalExposure:
  3115. description: 总敞口
  3116. type: number
  3117. TotalFutureQty:
  3118. description: 期货数量
  3119. type: number
  3120. TotalHedgeRatio:
  3121. description: 敞口比例
  3122. type: number
  3123. TotalNeedHedgeQty:
  3124. description: 期货应套保量
  3125. type: number
  3126. TotalSpotQty:
  3127. description: 现货数量
  3128. type: number
  3129. diffFutuQty:
  3130. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  3131. type: number
  3132. diffSpotQty:
  3133. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  3134. type: number
  3135. enumdicname:
  3136. description: 单位名称
  3137. type: string
  3138. oriTotalFutuQty:
  3139. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  3140. type: number
  3141. oriTotalSpotQty:
  3142. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  3143. type: number
  3144. type: object
  3145. erms2.QueryArbitrageStrategyRsp:
  3146. properties:
  3147. applybasis:
  3148. description: 申请基差
  3149. type: number
  3150. asapplyid:
  3151. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  3152. type: string
  3153. asname:
  3154. description: 策略名称
  3155. type: string
  3156. asno:
  3157. description: 策略编号
  3158. type: string
  3159. basischangepl:
  3160. description: 基差变动损益[结算更新]
  3161. type: number
  3162. biztype:
  3163. description: 业务类型 - 1:正向套利 -1:反向套利
  3164. type: integer
  3165. closetradedate:
  3166. description: 完结交易日(yyyyMMdd)
  3167. type: string
  3168. curbasis:
  3169. description: 当前基差[结算更新]
  3170. type: number
  3171. deliverygoodsid:
  3172. description: 现货品种ID
  3173. type: integer
  3174. futureavgprice:
  3175. description: 期货建仓均价
  3176. type: number
  3177. futurecloseamount:
  3178. description: 期货平仓金额
  3179. type: number
  3180. futurecloseqty:
  3181. description: 期货平仓数量
  3182. type: number
  3183. futureopenamount:
  3184. description: 期货开仓金额
  3185. type: number
  3186. futureopenqty:
  3187. description: 期货开仓数量
  3188. type: number
  3189. futurepl:
  3190. description: 期货总盈亏[结算更新]
  3191. type: number
  3192. futureqty:
  3193. description: 期货持仓数量
  3194. type: number
  3195. futurequote:
  3196. description: 期货额度
  3197. type: number
  3198. goodsgroupid:
  3199. description: 期货品种ID
  3200. type: integer
  3201. marketid:
  3202. description: 市场ID
  3203. type: integer
  3204. netexposure:
  3205. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  3206. type: number
  3207. netexposurepl:
  3208. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  3209. type: number
  3210. netexposurerate:
  3211. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  3212. type: number
  3213. openbasis:
  3214. description: 建仓基差
  3215. type: number
  3216. pricedspotqty:
  3217. description: 已定价现货数量
  3218. type: number
  3219. pricedspotqtynotax:
  3220. description: 已定价现货不含税数量
  3221. type: number
  3222. remark:
  3223. description: 备注
  3224. type: string
  3225. spotavgprice:
  3226. description: 现货均价
  3227. type: number
  3228. spotbuyamount:
  3229. description: 现货采购金额
  3230. type: number
  3231. spotbuyqty:
  3232. description: 现货采购数量
  3233. type: number
  3234. spotpl:
  3235. description: 现货总盈亏[结算更新]
  3236. type: number
  3237. spotquota:
  3238. description: 现货额度
  3239. type: number
  3240. spotsellamount:
  3241. description: 现货销售金额
  3242. type: number
  3243. spotsellqty:
  3244. description: 现货销售数量
  3245. type: number
  3246. spotusedquota:
  3247. description: 现货占用资金
  3248. type: number
  3249. strategystatus:
  3250. description: 策略状态 - 0:未结束 1:已结束
  3251. type: integer
  3252. totalpl:
  3253. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  3254. type: number
  3255. tradedate:
  3256. description: 交易日(yyyyMMdd)
  3257. type: string
  3258. updatetime:
  3259. description: 更新时间
  3260. type: string
  3261. usedquota:
  3262. description: 已占用资金
  3263. type: number
  3264. userid:
  3265. description: 所属机构
  3266. type: integer
  3267. required:
  3268. - asapplyid
  3269. type: object
  3270. erms2.QueryInnerTradeDetailRsp:
  3271. properties:
  3272. accountid:
  3273. description: 账号ID
  3274. type: integer
  3275. agreeunit:
  3276. description: 合约单位
  3277. type: number
  3278. asapplyid:
  3279. description: 策略申请ID
  3280. type: integer
  3281. asname:
  3282. description: 策略名称
  3283. type: string
  3284. asno:
  3285. description: 策略编号
  3286. type: string
  3287. buyorsell:
  3288. description: 方向 - 0:买 1:卖
  3289. type: integer
  3290. channelbuildtype:
  3291. description: 委托单据类型 0:无 1:建仓 2:平仓
  3292. type: integer
  3293. closetype:
  3294. description: 平仓方式 - 0:无 1:平今 2:平昨
  3295. type: integer
  3296. decimalplace:
  3297. description: 报价小数位
  3298. type: integer
  3299. detailtype:
  3300. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  3301. type: integer
  3302. exexchangecode:
  3303. description: 外部交易所代码
  3304. type: string
  3305. exexchangename:
  3306. description: 外部交易所名称
  3307. type: string
  3308. goodscode:
  3309. description: 商品代码(合约)
  3310. type: string
  3311. goodsgroupid:
  3312. description: 商品组ID(品种ID)
  3313. type: integer
  3314. goodsgroupname:
  3315. description: 商品组名称(品种)
  3316. type: string
  3317. goodsid:
  3318. description: 商品ID
  3319. type: integer
  3320. goodsname:
  3321. description: 商品名称(合约)
  3322. type: string
  3323. goodunit:
  3324. description: 报价单位
  3325. type: string
  3326. marketid:
  3327. description: 市场ID
  3328. type: integer
  3329. orderid:
  3330. description: 委托单号
  3331. type: string
  3332. outgoodscode:
  3333. description: 商品代码(外部)
  3334. type: string
  3335. relatedouttradeid:
  3336. description: 关联外部成交单ID
  3337. type: string
  3338. remark:
  3339. description: 备注
  3340. type: string
  3341. spotcontractid:
  3342. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  3343. type: integer
  3344. spotcontractno:
  3345. description: 现货合同编号
  3346. type: string
  3347. tradeid:
  3348. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3349. type: string
  3350. tradeprice:
  3351. description: 成交价格
  3352. type: number
  3353. tradeqty:
  3354. description: 成交数量
  3355. type: integer
  3356. tradetime:
  3357. description: 成交时间
  3358. type: string
  3359. updatetime:
  3360. description: 更新时间
  3361. type: string
  3362. required:
  3363. - asapplyid
  3364. - buyorsell
  3365. - goodscode
  3366. - goodsgroupid
  3367. - goodsgroupname
  3368. - goodsname
  3369. - tradeid
  3370. type: object
  3371. erms2.QuerySpotContractRsp:
  3372. properties:
  3373. accountid:
  3374. description: 资金账户ID
  3375. type: integer
  3376. areauserid:
  3377. description: 所属机构
  3378. type: integer
  3379. closedate:
  3380. description: 终止日期
  3381. type: string
  3382. closeremark:
  3383. description: 结束备注
  3384. type: string
  3385. closetradedate:
  3386. description: 完结交易日(yyyyMMdd)
  3387. type: string
  3388. closetype:
  3389. description: 终止类型 - 1:违约 2:提前终止
  3390. type: integer
  3391. contractamount:
  3392. description: 合同金额
  3393. type: number
  3394. contractattachment:
  3395. description: 合同附件
  3396. type: string
  3397. contractno:
  3398. description: 现货合同编号
  3399. type: string
  3400. contractqty:
  3401. description: 合同数量(数值) (用于计算)
  3402. type: number
  3403. contractqtychar:
  3404. description: 合同数量\已订价数量 (用于显示)
  3405. type: string
  3406. contractstatus:
  3407. description: 合同状态 - 0:未结束 1:已结束
  3408. type: integer
  3409. contracttype:
  3410. description: 现货合同类型 - 1:采购合同 -1:销售合同
  3411. type: integer
  3412. customeraccountid:
  3413. description: 客户资金账户ID
  3414. type: integer
  3415. customeruserid:
  3416. description: 客户ID
  3417. type: integer
  3418. deliverygoodsdesc:
  3419. description: 品种说明
  3420. type: string
  3421. deliverygoodsid:
  3422. description: 现货品种ID
  3423. type: integer
  3424. handlestatus:
  3425. description: 处理状态
  3426. type: integer
  3427. invoiceatt:
  3428. description: 发票附件
  3429. type: string
  3430. invoicedatetime:
  3431. description: 开收票更新时间
  3432. type: string
  3433. invoiceopentime:
  3434. description: 开票时间
  3435. type: string
  3436. invoiceremark:
  3437. description: 发票备注
  3438. type: string
  3439. invoicestatus:
  3440. description: 开收票状态 - 0:未开票 1:已开票
  3441. type: integer
  3442. lastdate:
  3443. description: 交货时间
  3444. type: string
  3445. marketid:
  3446. description: 市场ID
  3447. type: integer
  3448. paydatetime:
  3449. description: 收付款更新时间
  3450. type: string
  3451. payremark:
  3452. description: 收付款备注
  3453. type: string
  3454. paystatus:
  3455. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  3456. type: integer
  3457. positionqty:
  3458. description: 头寸数量 - 合同数量去小数部分
  3459. type: integer
  3460. producttype:
  3461. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3462. type: integer
  3463. relatedqty:
  3464. description: 已关联数量
  3465. type: number
  3466. relatedstatus:
  3467. description: 关联完结状态 - 0:未结束 1:已结束
  3468. type: integer
  3469. remark:
  3470. description: 备注
  3471. type: string
  3472. signdate:
  3473. description: 签订日期
  3474. type: string
  3475. spotcontractid:
  3476. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  3477. type: string
  3478. spotdatetime:
  3479. description: 收发货更新时间
  3480. type: string
  3481. spotprice:
  3482. description: 价格
  3483. type: number
  3484. spotremark:
  3485. description: 收发货备注
  3486. type: string
  3487. spotstatus:
  3488. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  3489. type: integer
  3490. tradedate:
  3491. description: 交易日(yyyyMMdd)
  3492. type: string
  3493. userid:
  3494. description: 业务员用户ID
  3495. type: integer
  3496. warehouseid:
  3497. description: 仓库ID
  3498. type: integer
  3499. wrfactortypeid:
  3500. description: 仓单要素类型ID
  3501. type: integer
  3502. wrstandardid:
  3503. description: 仓单标准ID(SEQ_WRSTANDARD)
  3504. type: integer
  3505. required:
  3506. - spotcontractid
  3507. type: object
  3508. erms3.AddErms2ASApplyReq:
  3509. properties:
  3510. applybasis:
  3511. description: 申请基差
  3512. type: number
  3513. applystatus:
  3514. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3515. type: integer
  3516. asapplyid:
  3517. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  3518. type: integer
  3519. asname:
  3520. description: 策略名称
  3521. type: string
  3522. asno:
  3523. description: 策略编号
  3524. type: string
  3525. auditid:
  3526. description: 审核人
  3527. type: integer
  3528. auditremark:
  3529. description: 审核备注
  3530. type: string
  3531. audittime:
  3532. description: 审核时间
  3533. type: string
  3534. biztype:
  3535. description: 业务类型 - 1:正向套利 2:反向套利
  3536. type: integer
  3537. createtime:
  3538. description: 创建时间
  3539. type: string
  3540. creatorid:
  3541. description: 创建人
  3542. type: integer
  3543. deliverygoodsid:
  3544. description: 现货品种ID
  3545. type: integer
  3546. futurequote:
  3547. description: 期货额度
  3548. type: number
  3549. goodsgroupid:
  3550. description: 期货品种ID
  3551. type: integer
  3552. marketid:
  3553. description: 市场ID
  3554. type: integer
  3555. remark:
  3556. description: 备注
  3557. type: string
  3558. spotquota:
  3559. description: 现货额度
  3560. type: number
  3561. tradedate:
  3562. description: 交易日(yyyyMMdd)
  3563. type: string
  3564. userid:
  3565. description: 所属机构
  3566. type: integer
  3567. required:
  3568. - asapplyid
  3569. type: object
  3570. erms3.AddErms2SpotTradeApplyReq:
  3571. properties:
  3572. applyjsondetail:
  3573. description: 申请明细(JSON)
  3574. type: string
  3575. applystatus:
  3576. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3577. type: integer
  3578. areauserid:
  3579. description: 所属机构
  3580. type: integer
  3581. auditid:
  3582. description: 审核人
  3583. type: integer
  3584. auditremark:
  3585. description: 审核备注
  3586. type: string
  3587. audittime:
  3588. description: 审核时间
  3589. type: string
  3590. createtime:
  3591. description: 创建时间
  3592. type: string
  3593. creatorid:
  3594. description: 创建人
  3595. type: integer
  3596. deliverygoodsid:
  3597. description: 现货品种ID
  3598. type: integer
  3599. futureaccountid:
  3600. description: 期货资金账户
  3601. type: integer
  3602. goodsgroupid:
  3603. description: 期货品种
  3604. type: integer
  3605. marketid:
  3606. description: 市场ID
  3607. type: integer
  3608. remark:
  3609. description: 备注
  3610. type: string
  3611. spotaccountid:
  3612. description: 现货资金账户
  3613. type: integer
  3614. spottradeid:
  3615. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  3616. type: integer
  3617. spottradename:
  3618. description: 业务名称
  3619. type: string
  3620. spottradeno:
  3621. description: 业务编号
  3622. type: string
  3623. tradedate:
  3624. description: 交易日(yyyyMMdd)
  3625. type: string
  3626. wrstandardid:
  3627. description: 仓单标准ID
  3628. type: integer
  3629. required:
  3630. - spottradeid
  3631. type: object
  3632. erms3.AddSpotContractApplyReq:
  3633. properties:
  3634. accountid:
  3635. description: 资金账户ID
  3636. type: integer
  3637. areauserid:
  3638. description: 所属机构
  3639. type: integer
  3640. contractattachment:
  3641. description: 合同附件
  3642. type: string
  3643. contractno:
  3644. description: 现货合同编号
  3645. type: string
  3646. contracttype:
  3647. description: 现货合同类型 - 1:采购 -1:销售
  3648. type: integer
  3649. creatorid:
  3650. description: 申请人
  3651. type: integer
  3652. customeraccountid:
  3653. description: 客户资金账户ID
  3654. type: integer
  3655. customeruserid:
  3656. description: 客户ID
  3657. type: integer
  3658. details:
  3659. description: 明细
  3660. items:
  3661. $ref: '#/definitions/erms3.SoptContractDetail'
  3662. type: array
  3663. orimargin:
  3664. description: 初始保证金
  3665. type: number
  3666. remark:
  3667. description: 备注
  3668. type: string
  3669. signdate:
  3670. description: 签订日期
  3671. type: string
  3672. required:
  3673. - accountid
  3674. - areauserid
  3675. - contractno
  3676. - contracttype
  3677. - customeraccountid
  3678. - customeruserid
  3679. - details
  3680. - orimargin
  3681. - signdate
  3682. type: object
  3683. erms3.AddSpotContractApplyRsp:
  3684. properties:
  3685. contractno:
  3686. description: 现货合同编号
  3687. type: string
  3688. spotcontractid:
  3689. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  3690. type: integer
  3691. required:
  3692. - contractno
  3693. type: object
  3694. erms3.AddUserInfoApplyReq:
  3695. properties:
  3696. accountid:
  3697. description: 交易系统帐号Id (加密存储)
  3698. type: integer
  3699. areacode:
  3700. description: 机构代码
  3701. type: string
  3702. areaid:
  3703. description: 机构Id
  3704. type: integer
  3705. attachment1:
  3706. description: 附件1
  3707. type: string
  3708. attachment2:
  3709. description: 附件2
  3710. type: string
  3711. attachment3:
  3712. description: 附件3
  3713. type: string
  3714. attachment4:
  3715. description: 附件4
  3716. type: string
  3717. attachment5:
  3718. description: 附件5
  3719. type: string
  3720. auditedby:
  3721. description: 审核人
  3722. type: string
  3723. auditime:
  3724. description: 审核时间
  3725. type: string
  3726. bankaccount:
  3727. description: 银行帐号 (加密存储)
  3728. type: string
  3729. bankaccountname:
  3730. description: 收款人名称
  3731. type: string
  3732. bankcardbackphotourl:
  3733. description: 银行卡背面照地址
  3734. type: string
  3735. bankcardfrontphotourl:
  3736. description: 银行卡正面照地址
  3737. type: string
  3738. bankid:
  3739. description: 银行编码
  3740. type: string
  3741. bankname:
  3742. description: 银行名称
  3743. type: string
  3744. bankpictureurl:
  3745. description: 银行卡正面地址
  3746. type: string
  3747. biznature:
  3748. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3749. type: integer
  3750. bizscope:
  3751. description: 企业经营范围(企业)
  3752. type: string
  3753. biztype:
  3754. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3755. type: integer
  3756. brokerid:
  3757. description: 经纪人ID(加密存储)
  3758. type: string
  3759. cardaddress:
  3760. description: 证件地址 (加密存储)
  3761. type: string
  3762. cardbackphotourl:
  3763. description: 背面证件照地址
  3764. type: string
  3765. cardfrontphotourl:
  3766. description: 正面证件照地址
  3767. type: string
  3768. cardnum:
  3769. description: 证件号码 (加密存储)
  3770. type: string
  3771. cardtype:
  3772. description: 证件类型
  3773. type: integer
  3774. cityid:
  3775. description: 市
  3776. type: integer
  3777. company:
  3778. description: 公司(个人)
  3779. type: string
  3780. contactcardbackphotourl:
  3781. description: 联系人证件背面图片地址
  3782. type: string
  3783. contactcardfrontphotourl:
  3784. description: 联系人证件正面图片地址
  3785. type: string
  3786. contactname:
  3787. description: 联系人
  3788. type: string
  3789. countryid:
  3790. description: 国家
  3791. type: integer
  3792. createtime:
  3793. description: 开户申请时间
  3794. type: string
  3795. cusbankid:
  3796. description: 签约类型
  3797. type: string
  3798. cusbankname:
  3799. description: 签约类型名称
  3800. type: string
  3801. customername:
  3802. description: 客户名称(企业名称)
  3803. type: string
  3804. districtid:
  3805. description: 地区
  3806. type: integer
  3807. email:
  3808. description: Email地址(加密存储)
  3809. type: string
  3810. halfbodyphotourl:
  3811. description: 半身照地址
  3812. type: string
  3813. headurl:
  3814. description: 头像地址
  3815. type: string
  3816. ipaddress:
  3817. description: IP地址
  3818. type: string
  3819. isvalidate:
  3820. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3821. type: string
  3822. legalcardbackphotourl:
  3823. description: 法人身份证背面照地址
  3824. type: string
  3825. legalcardfrontphotourl:
  3826. description: 法人身份证正面照地址
  3827. type: string
  3828. legalpersonname:
  3829. description: 法人姓名(企业)
  3830. type: string
  3831. logincode:
  3832. description: 登录帐号 (加密存储)
  3833. type: string
  3834. memberareaid:
  3835. description: 所属会员ID
  3836. type: integer
  3837. mobile2:
  3838. description: 手机号码[明文-尚志]
  3839. type: string
  3840. mobilephone:
  3841. description: 手机号码 (加密存储)
  3842. type: string
  3843. modifiedby:
  3844. description: 修改人帐号
  3845. type: integer
  3846. modifiedtime:
  3847. description: 修改时间
  3848. type: string
  3849. nickname:
  3850. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3851. type: string
  3852. openmode:
  3853. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3854. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3855. type: integer
  3856. otherurl:
  3857. description: 其它图片地址[使用分号分隔]
  3858. type: string
  3859. postalcode:
  3860. description: 邮政编码
  3861. type: string
  3862. provinceid:
  3863. description: 省
  3864. type: integer
  3865. proxystatementurl:
  3866. description: 授权委托书
  3867. type: string
  3868. qq:
  3869. description: QQ(加密存储
  3870. type: string
  3871. referral:
  3872. description: 推荐人编码
  3873. type: string
  3874. remark:
  3875. description: 备注
  3876. type: string
  3877. removebeforestatus:
  3878. description: REMOVEBEFORESTATUS
  3879. type: integer
  3880. sex:
  3881. description: 性别 - 0:女 1:男
  3882. type: integer
  3883. signedstatus:
  3884. description: 账户一号签签约状态
  3885. type: integer
  3886. signpdfurl:
  3887. description: 签约pdf文件
  3888. type: string
  3889. subbranch:
  3890. description: 开户支行
  3891. type: string
  3892. telphone:
  3893. description: 联系电话(加密存储)
  3894. type: string
  3895. userid:
  3896. description: 用户ID(自增ID)
  3897. type: integer
  3898. userinfotype:
  3899. description: 用户信息类型 - 1:个人 2:企业
  3900. type: integer
  3901. username:
  3902. description: 用户姓名
  3903. type: string
  3904. userstate:
  3905. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3906. type: integer
  3907. usertype:
  3908. description: 用户类型 - 1:投资者 2:机构
  3909. type: integer
  3910. videourl:
  3911. description: 视频地址
  3912. type: string
  3913. wechat:
  3914. description: 微信号 (加密存储)
  3915. type: string
  3916. required:
  3917. - userid
  3918. type: object
  3919. erms3.CustomerInfo:
  3920. properties:
  3921. accountids:
  3922. description: 资金账户ID列表
  3923. items:
  3924. type: integer
  3925. type: array
  3926. customername:
  3927. description: 名称(企业名称)
  3928. type: string
  3929. mobile:
  3930. description: 手机号码
  3931. type: string
  3932. userid:
  3933. description: 用户ID
  3934. type: integer
  3935. required:
  3936. - userid
  3937. type: object
  3938. erms3.ModifyUserInfoApplyReq:
  3939. properties:
  3940. accountid:
  3941. description: 交易系统帐号Id (加密存储)
  3942. type: integer
  3943. areacode:
  3944. description: 机构代码
  3945. type: string
  3946. areaid:
  3947. description: 机构Id
  3948. type: integer
  3949. attachment1:
  3950. description: 附件1
  3951. type: string
  3952. attachment2:
  3953. description: 附件2
  3954. type: string
  3955. attachment3:
  3956. description: 附件3
  3957. type: string
  3958. attachment4:
  3959. description: 附件4
  3960. type: string
  3961. attachment5:
  3962. description: 附件5
  3963. type: string
  3964. auditedby:
  3965. description: 审核人
  3966. type: string
  3967. auditime:
  3968. description: 审核时间
  3969. type: string
  3970. bankaccount:
  3971. description: 银行帐号 (加密存储)
  3972. type: string
  3973. bankaccountname:
  3974. description: 收款人名称
  3975. type: string
  3976. bankcardbackphotourl:
  3977. description: 银行卡背面照地址
  3978. type: string
  3979. bankcardfrontphotourl:
  3980. description: 银行卡正面照地址
  3981. type: string
  3982. bankid:
  3983. description: 银行编码
  3984. type: string
  3985. bankname:
  3986. description: 银行名称
  3987. type: string
  3988. bankpictureurl:
  3989. description: 银行卡正面地址
  3990. type: string
  3991. biznature:
  3992. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3993. type: integer
  3994. bizscope:
  3995. description: 企业经营范围(企业)
  3996. type: string
  3997. biztype:
  3998. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3999. type: integer
  4000. brokerid:
  4001. description: 经纪人ID(加密存储)
  4002. type: string
  4003. cardaddress:
  4004. description: 证件地址 (加密存储)
  4005. type: string
  4006. cardbackphotourl:
  4007. description: 背面证件照地址
  4008. type: string
  4009. cardfrontphotourl:
  4010. description: 正面证件照地址
  4011. type: string
  4012. cardnum:
  4013. description: 证件号码 (加密存储)
  4014. type: string
  4015. cardtype:
  4016. description: 证件类型
  4017. type: integer
  4018. cityid:
  4019. description: 市
  4020. type: integer
  4021. company:
  4022. description: 公司(个人)
  4023. type: string
  4024. contactcardbackphotourl:
  4025. description: 联系人证件背面图片地址
  4026. type: string
  4027. contactcardfrontphotourl:
  4028. description: 联系人证件正面图片地址
  4029. type: string
  4030. contactname:
  4031. description: 联系人
  4032. type: string
  4033. countryid:
  4034. description: 国家
  4035. type: integer
  4036. createtime:
  4037. description: 开户申请时间
  4038. type: string
  4039. cusbankid:
  4040. description: 签约类型
  4041. type: string
  4042. cusbankname:
  4043. description: 签约类型名称
  4044. type: string
  4045. customername:
  4046. description: 客户名称(企业名称)
  4047. type: string
  4048. districtid:
  4049. description: 地区
  4050. type: integer
  4051. email:
  4052. description: Email地址(加密存储)
  4053. type: string
  4054. halfbodyphotourl:
  4055. description: 半身照地址
  4056. type: string
  4057. headurl:
  4058. description: 头像地址
  4059. type: string
  4060. ipaddress:
  4061. description: IP地址
  4062. type: string
  4063. isvalidate:
  4064. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  4065. type: string
  4066. legalcardbackphotourl:
  4067. description: 法人身份证背面照地址
  4068. type: string
  4069. legalcardfrontphotourl:
  4070. description: 法人身份证正面照地址
  4071. type: string
  4072. legalpersonname:
  4073. description: 法人姓名(企业)
  4074. type: string
  4075. logincode:
  4076. description: 登录帐号 (加密存储)
  4077. type: string
  4078. memberareaid:
  4079. description: 所属会员ID
  4080. type: integer
  4081. mobile2:
  4082. description: 手机号码[明文-尚志]
  4083. type: string
  4084. mobilephone:
  4085. description: 手机号码 (加密存储)
  4086. type: string
  4087. modifiedby:
  4088. description: 修改人帐号
  4089. type: integer
  4090. modifiedtime:
  4091. description: 修改时间
  4092. type: string
  4093. nickname:
  4094. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  4095. type: string
  4096. openmode:
  4097. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  4098. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  4099. type: integer
  4100. otherurl:
  4101. description: 其它图片地址[使用分号分隔]
  4102. type: string
  4103. postalcode:
  4104. description: 邮政编码
  4105. type: string
  4106. provinceid:
  4107. description: 省
  4108. type: integer
  4109. proxystatementurl:
  4110. description: 授权委托书
  4111. type: string
  4112. qq:
  4113. description: QQ(加密存储
  4114. type: string
  4115. referral:
  4116. description: 推荐人编码
  4117. type: string
  4118. remark:
  4119. description: 备注
  4120. type: string
  4121. removebeforestatus:
  4122. description: REMOVEBEFORESTATUS
  4123. type: integer
  4124. sex:
  4125. description: 性别 - 0:女 1:男
  4126. type: integer
  4127. signedstatus:
  4128. description: 账户一号签签约状态
  4129. type: integer
  4130. signpdfurl:
  4131. description: 签约pdf文件
  4132. type: string
  4133. subbranch:
  4134. description: 开户支行
  4135. type: string
  4136. telphone:
  4137. description: 联系电话(加密存储)
  4138. type: string
  4139. userid:
  4140. description: 用户ID(自增ID)
  4141. type: integer
  4142. userinfotype:
  4143. description: 用户信息类型 - 1:个人 2:企业
  4144. type: integer
  4145. username:
  4146. description: 用户姓名
  4147. type: string
  4148. userstate:
  4149. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  4150. type: integer
  4151. usertype:
  4152. description: 用户类型 - 1:投资者 2:机构
  4153. type: integer
  4154. videourl:
  4155. description: 视频地址
  4156. type: string
  4157. wechat:
  4158. description: 微信号 (加密存储)
  4159. type: string
  4160. required:
  4161. - userid
  4162. type: object
  4163. erms3.QryAuditContractRsp:
  4164. properties:
  4165. accountid:
  4166. description: 交易员ID
  4167. type: string
  4168. applystatus:
  4169. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  4170. type: integer
  4171. curdeliveryqty:
  4172. description: 未交收量
  4173. type: integer
  4174. customername:
  4175. description: 采购方ID
  4176. type: string
  4177. deliverygoodsid:
  4178. description: 品种ID
  4179. type: string
  4180. deliveryqty:
  4181. description: 交收量
  4182. type: integer
  4183. enumdicname:
  4184. description: 单位名称
  4185. type: string
  4186. matchaccountid:
  4187. description: 业务员ID
  4188. type: string
  4189. matchcustomername:
  4190. description: 销售方ID
  4191. type: string
  4192. pricedqty:
  4193. description: 定价量
  4194. type: number
  4195. signdate:
  4196. description: 签订日期
  4197. type: string
  4198. spotcontractid:
  4199. description: 合同ID
  4200. type: string
  4201. totaldqty:
  4202. description: 合同量
  4203. type: number
  4204. unpricedqty:
  4205. description: 未定价量
  4206. type: number
  4207. wrstandardname:
  4208. description: 商品名称
  4209. type: string
  4210. required:
  4211. - matchcustomername
  4212. - spotcontractid
  4213. type: object
  4214. erms3.QryPendingBizRsp:
  4215. properties:
  4216. accountid:
  4217. description: 现货账户
  4218. type: string
  4219. areaname:
  4220. description: 所属部门
  4221. type: string
  4222. bizid:
  4223. description: 业务ID
  4224. type: string
  4225. bizname:
  4226. description: 业务名称
  4227. type: string
  4228. status:
  4229. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  4230. type: integer
  4231. type:
  4232. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  4233. type: integer
  4234. type: object
  4235. erms3.QueryBusinessInfoRsp:
  4236. properties:
  4237. businessid:
  4238. description: 业务ID.
  4239. type: integer
  4240. buyamount:
  4241. description: 采购额.
  4242. type: number
  4243. buyqty:
  4244. description: 采购量.
  4245. type: string
  4246. futurepl:
  4247. description: 期货盈亏.
  4248. type: number
  4249. futureqty:
  4250. description: 期货敞口.
  4251. type: string
  4252. goodsid:
  4253. description: 商品名称/商品代码.
  4254. type: string
  4255. hedgingqty:
  4256. description: 套保量.
  4257. type: string
  4258. sellamount:
  4259. description: 销售额.
  4260. type: number
  4261. sellqty:
  4262. description: 销售量.
  4263. type: string
  4264. spotmarketvalue:
  4265. description: 现货市值.
  4266. type: number
  4267. spotpl:
  4268. description: 浮动权益.
  4269. type: number
  4270. spotqty:
  4271. description: 现货量.
  4272. type: string
  4273. statu:
  4274. description: 状态,0-未结束 1-已结束.
  4275. type: integer
  4276. totalpl:
  4277. description: 总盈亏.
  4278. type: number
  4279. totalqty:
  4280. description: 总敞口.
  4281. type: string
  4282. type:
  4283. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  4284. type: integer
  4285. type: object
  4286. erms3.QuerySpotContractAppleFormRsp:
  4287. properties:
  4288. goodses:
  4289. description: 合约列表
  4290. items:
  4291. $ref: '#/definitions/models.GoodsIDAndName'
  4292. type: array
  4293. oppositeusers:
  4294. description: 对方账号列表
  4295. items:
  4296. $ref: '#/definitions/erms3.CustomerInfo'
  4297. type: array
  4298. ouruser:
  4299. $ref: '#/definitions/erms3.CustomerInfo'
  4300. description: 我方账号
  4301. warehouseinfos:
  4302. description: 仓库信息列表
  4303. items:
  4304. $ref: '#/definitions/models.Warehouseinfo'
  4305. type: array
  4306. wrstandards:
  4307. description: 仓单标准列表
  4308. items:
  4309. $ref: '#/definitions/models.WRStandardInfo'
  4310. type: array
  4311. type: object
  4312. erms3.QuerySpotContractInfoRsp:
  4313. properties:
  4314. accountid:
  4315. description: 表示交易员ID.
  4316. type: integer
  4317. curdeliveryqty:
  4318. description: 表示未交收量.
  4319. type: number
  4320. customername:
  4321. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  4322. type: string
  4323. deliverygoodsid:
  4324. description: 表示品种ID.
  4325. type: string
  4326. deliveryqty:
  4327. description: 表示交收量.
  4328. type: number
  4329. matchaccountid:
  4330. description: 表示业务员ID.
  4331. type: integer
  4332. matchcustomername:
  4333. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  4334. type: string
  4335. priceqty:
  4336. description: 表示定价量.
  4337. type: number
  4338. relatedbizid:
  4339. description: 表示业务ID.
  4340. type: string
  4341. signdate:
  4342. description: 表示签订日期.
  4343. type: string
  4344. spotcontractid:
  4345. description: 合同ID
  4346. type: string
  4347. status:
  4348. description: 表示状态,0-履约中 1-已完成.
  4349. type: integer
  4350. totalqty:
  4351. description: 表示合同量.
  4352. type: number
  4353. unpricedqty:
  4354. description: 表示未定价量.
  4355. type: number
  4356. wrstandardname:
  4357. description: 表示商品ID.
  4358. type: string
  4359. type: object
  4360. erms3.QueryUserInfoAppliesRsp:
  4361. properties:
  4362. biznature:
  4363. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4364. type: integer
  4365. contactname:
  4366. description: 联系人
  4367. type: string
  4368. createtime:
  4369. description: 开户申请时间
  4370. type: string
  4371. userid:
  4372. description: 用户ID(自增ID)
  4373. type: integer
  4374. userinfotype:
  4375. description: 用户信息类型 - 1:个人 2:企业
  4376. type: integer
  4377. username:
  4378. description: 用户姓名
  4379. type: string
  4380. userstate:
  4381. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  4382. type: integer
  4383. required:
  4384. - userid
  4385. type: object
  4386. erms3.QueryUserInfosRsp:
  4387. properties:
  4388. biznature:
  4389. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4390. type: integer
  4391. contactname:
  4392. description: 联系人
  4393. type: string
  4394. customername:
  4395. description: 客户名称(企业名称)
  4396. type: string
  4397. userid:
  4398. description: 用户ID
  4399. type: integer
  4400. userinfotype:
  4401. description: 用户信息类型 - 1:个人 2:企业
  4402. type: integer
  4403. userstatus:
  4404. description: 用户状态 - 1:正常 2:注销
  4405. type: integer
  4406. required:
  4407. - userid
  4408. type: object
  4409. erms3.SoptContractDetail:
  4410. properties:
  4411. deliverygoodsdesc:
  4412. description: 现货品种说明
  4413. type: string
  4414. deliverygoodsid:
  4415. description: 现货品种ID
  4416. type: integer
  4417. deliverygoodsname:
  4418. description: 现货品种名称
  4419. type: string
  4420. pointdesc:
  4421. description: 点价描述
  4422. type: string
  4423. producttype:
  4424. description: 产品类型 1:标准仓单 2:等标 3:非标
  4425. type: integer
  4426. producttypename:
  4427. description: 产品类型名称
  4428. type: string
  4429. spotPointOrderVoList:
  4430. description: 点价列表
  4431. items:
  4432. $ref: '#/definitions/erms3.SpotPointOrder'
  4433. type: array
  4434. spotPriceOrderList:
  4435. description: 定价列表
  4436. items:
  4437. $ref: '#/definitions/erms3.SpotPriceOrder'
  4438. type: array
  4439. unitname:
  4440. description: 单位名称
  4441. type: string
  4442. warehouseid:
  4443. description: 仓库ID
  4444. type: integer
  4445. warehousename:
  4446. description: 仓库名称
  4447. type: string
  4448. wrstandardid:
  4449. description: 交易标的ID
  4450. type: integer
  4451. wrstandardname:
  4452. description: 交易标的名称
  4453. type: string
  4454. required:
  4455. - deliverygoodsid
  4456. - producttype
  4457. - unitname
  4458. - warehouseid
  4459. - wrstandardid
  4460. - wrstandardname
  4461. type: object
  4462. erms3.SpotPointOrder:
  4463. properties:
  4464. basic:
  4465. description: 基差
  4466. type: number
  4467. deliveryenddate:
  4468. description: 交收结束日期
  4469. type: string
  4470. deliverystartdate:
  4471. description: 交收开始日期
  4472. type: string
  4473. enddate:
  4474. description: 点价结束日期
  4475. type: string
  4476. goodsid:
  4477. description: 商品ID
  4478. type: integer
  4479. goodsname:
  4480. description: 商品名称
  4481. type: string
  4482. qty:
  4483. description: 数量
  4484. type: number
  4485. startdate:
  4486. description: 点价开始日期
  4487. type: string
  4488. required:
  4489. - basic
  4490. - goodsid
  4491. - qty
  4492. type: object
  4493. erms3.SpotPriceOrder:
  4494. properties:
  4495. amount:
  4496. description: 金额
  4497. type: number
  4498. deliveryenddate:
  4499. description: 交收结束日期
  4500. type: string
  4501. deliverystartdate:
  4502. description: 交收开始日期
  4503. type: string
  4504. price:
  4505. description: 价格
  4506. type: number
  4507. qty:
  4508. description: 数量
  4509. type: number
  4510. required:
  4511. - amount
  4512. - price
  4513. - qty
  4514. type: object
  4515. hsby.GetHsbyMyCountRsp:
  4516. properties:
  4517. myCouponCount:
  4518. description: 我的优惠卷数量
  4519. type: integer
  4520. myOrderDetailListingCount:
  4521. description: 我的订单求购中数量
  4522. type: integer
  4523. myOrderDetailPreCount:
  4524. description: 我的订单抢购中数量
  4525. type: integer
  4526. myPackageUnReceiveCount:
  4527. description: 我的包裹待收货数量
  4528. type: integer
  4529. myPackageUnSendCount:
  4530. description: 我的包裹待发货数量
  4531. type: integer
  4532. myPayOrderCount:
  4533. description: 我的订单待付款数量
  4534. type: integer
  4535. type: object
  4536. hsby.QueryProvincesAndCitiesRsp:
  4537. properties:
  4538. cities:
  4539. description: 市
  4540. items:
  4541. $ref: '#/definitions/models.Division'
  4542. type: array
  4543. province:
  4544. $ref: '#/definitions/models.Division'
  4545. description: 省
  4546. type: object
  4547. models.Clientfixedadconfig:
  4548. properties:
  4549. adsort:
  4550. description: 排序
  4551. type: integer
  4552. adtype:
  4553. description: 广告位类型 - 1:新品抢购(HSBY)
  4554. type: integer
  4555. areauserid:
  4556. description: 所属机构ID
  4557. type: integer
  4558. createdate:
  4559. description: 创建时间
  4560. type: string
  4561. creatorid:
  4562. description: 创建人
  4563. type: integer
  4564. imagepath:
  4565. description: 图片
  4566. type: string
  4567. isshow:
  4568. description: 是否展示 - 0:不展示 1:展示
  4569. type: integer
  4570. modifierid:
  4571. description: 操作人
  4572. type: integer
  4573. recsize:
  4574. description: 推荐尺寸
  4575. type: string
  4576. title:
  4577. description: 标题
  4578. type: string
  4579. updatedate:
  4580. description: 更新时间
  4581. type: string
  4582. urlcontent:
  4583. description: 链接(地址或商品ID)
  4584. type: string
  4585. urltype:
  4586. description: 链接类型 - 1:直接地址 2:商品ID
  4587. type: integer
  4588. required:
  4589. - adsort
  4590. - adtype
  4591. type: object
  4592. models.Division:
  4593. properties:
  4594. autoid:
  4595. description: 自增ID
  4596. type: integer
  4597. divisioncode:
  4598. description: 行政代码
  4599. type: string
  4600. divisionlevel:
  4601. description: 行政级别
  4602. type: string
  4603. divisionname:
  4604. description: 行政名称
  4605. type: string
  4606. modifierid:
  4607. description: 修改人
  4608. type: integer
  4609. modifytime:
  4610. description: 修改时间
  4611. type: string
  4612. parentcode:
  4613. description: 上级行政代码
  4614. type: string
  4615. pathname:
  4616. description: 路径名称
  4617. type: string
  4618. postcode:
  4619. description: 邮政编码
  4620. type: string
  4621. separablename:
  4622. description: 可拆分的全称
  4623. type: string
  4624. shortcode:
  4625. description: 地区简码
  4626. type: string
  4627. required:
  4628. - autoid
  4629. - divisioncode
  4630. type: object
  4631. models.Enumdicitem:
  4632. properties:
  4633. autoid:
  4634. description: 自增ID
  4635. type: integer
  4636. bankmappedvalue:
  4637. description: 银行服务对应值
  4638. type: string
  4639. enumdiccode:
  4640. description: 所属枚举代码
  4641. type: string
  4642. enumdicid:
  4643. description: 所属枚举ID
  4644. type: integer
  4645. enumdicname:
  4646. description: 枚举项名称
  4647. type: string
  4648. enumitemname:
  4649. description: 枚举项值
  4650. type: integer
  4651. enumitemstatus:
  4652. description: 枚举项状态 - 1.启用 2.不启用
  4653. type: integer
  4654. enumitemvalue:
  4655. description: 通用值 - [币种通用简写]
  4656. type: string
  4657. param1:
  4658. description: 参数1[币种:币种小数位]
  4659. type: string
  4660. param2:
  4661. description: 参数1[币种:币种显示单位]
  4662. type: string
  4663. remark:
  4664. description: 备注
  4665. type: string
  4666. required:
  4667. - autoid
  4668. - enumdiccode
  4669. - enumdicid
  4670. - enumitemname
  4671. type: object
  4672. models.ErmcpAreaStock:
  4673. properties:
  4674. brandname:
  4675. description: 品牌名称
  4676. type: string
  4677. curstock:
  4678. description: 期末库存量(今日量)
  4679. type: number
  4680. deliverygoodsid:
  4681. description: 现货品种ID
  4682. type: integer
  4683. enumdicname:
  4684. description: 单位名称
  4685. type: string
  4686. modelname:
  4687. description: 型号名称
  4688. type: string
  4689. oristock:
  4690. description: 期初库存量(昨日量)
  4691. type: number
  4692. spotgoodsbrandid:
  4693. description: 现货品牌ID
  4694. type: integer
  4695. spotgoodsmodelid:
  4696. description: 现货型号ID
  4697. type: integer
  4698. todaybuyinqty:
  4699. description: 今日采购入库量
  4700. type: number
  4701. todayproduceinqty:
  4702. description: 今日生产入库量
  4703. type: number
  4704. todayproduceoutqty:
  4705. description: 今日生产出库量
  4706. type: number
  4707. todayselloutqty:
  4708. description: 今日销售出库量
  4709. type: number
  4710. unitid:
  4711. description: 单位id
  4712. type: integer
  4713. updatetime:
  4714. description: 更新时间
  4715. type: string
  4716. userid:
  4717. description: 机构ID
  4718. type: integer
  4719. username:
  4720. description: 机构名称
  4721. type: string
  4722. warehousecode:
  4723. description: 仓库代码
  4724. type: string
  4725. warehouseinfoid:
  4726. description: 仓库ID
  4727. type: string
  4728. warehousename:
  4729. description: 仓库名称
  4730. type: string
  4731. warehousetype:
  4732. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4733. type: integer
  4734. wrstandardcode:
  4735. description: 现货商品代码
  4736. type: string
  4737. wrstandardid:
  4738. description: 现货商品ID
  4739. type: string
  4740. wrstandardname:
  4741. description: 现货商品名称
  4742. type: string
  4743. type: object
  4744. models.ErmcpAreaStockApply:
  4745. properties:
  4746. applyid:
  4747. description: 申请人
  4748. type: integer
  4749. applyname:
  4750. description: 申请人名称
  4751. type: string
  4752. applyremark:
  4753. description: 申请备注
  4754. type: string
  4755. applysrc:
  4756. description: 申请来源 - 1:管理端 2:终端
  4757. type: integer
  4758. applystatus:
  4759. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4760. type: integer
  4761. applytime:
  4762. description: 申请时间
  4763. type: string
  4764. auditid:
  4765. description: 审核人
  4766. type: integer
  4767. auditname:
  4768. description: 审核人名称
  4769. type: string
  4770. auditremark:
  4771. description: 审核备注
  4772. type: string
  4773. auditsrc:
  4774. description: 审核来源 - 1:管理端 2:终端
  4775. type: integer
  4776. audittime:
  4777. description: 审核时间
  4778. type: string
  4779. audittradedate:
  4780. description: 审核交易日(yyyyMMdd)
  4781. type: string
  4782. brandname:
  4783. description: 品牌名称
  4784. type: string
  4785. buyuserid:
  4786. description: 采购方userid
  4787. type: integer
  4788. buyusername:
  4789. description: 采购方名称
  4790. type: string
  4791. contractno:
  4792. description: 合同编号
  4793. type: string
  4794. contractqty:
  4795. description: 合同量
  4796. type: number
  4797. contracttype:
  4798. description: 现货合同类型 - 1:采购 -1:销售
  4799. type: integer
  4800. deliverygoodsid:
  4801. description: 现货品种ID
  4802. type: integer
  4803. enumdicname:
  4804. description: 现货商品单位名称
  4805. type: string
  4806. inoutapplyid:
  4807. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4808. type: string
  4809. inouttype:
  4810. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4811. type: integer
  4812. modelname:
  4813. description: 型号名称
  4814. type: string
  4815. pricetype:
  4816. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4817. type: integer
  4818. qty:
  4819. description: 数量
  4820. type: number
  4821. selluserid:
  4822. description: 销售方userid
  4823. type: integer
  4824. sellusername:
  4825. description: 销售方名称
  4826. type: string
  4827. spotcontractid:
  4828. description: 关联现货合同ID
  4829. type: string
  4830. spotgoodsbrandid:
  4831. description: 现货品牌ID
  4832. type: integer
  4833. spotgoodsmodelid:
  4834. description: 现货型号ID
  4835. type: integer
  4836. unitid:
  4837. description: 单位id
  4838. type: integer
  4839. userid:
  4840. description: 机构ID
  4841. type: integer
  4842. warehousecode:
  4843. description: 仓库代码
  4844. type: string
  4845. warehouseinfoid:
  4846. description: 现货仓库ID
  4847. type: string
  4848. warehousename:
  4849. description: 仓库名称
  4850. type: string
  4851. warehousetype:
  4852. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4853. type: integer
  4854. wrstandardcode:
  4855. description: 现货商品代码
  4856. type: string
  4857. wrstandardid:
  4858. description: 现货商品ID
  4859. type: string
  4860. wrstandardname:
  4861. description: 现货商品名称
  4862. type: string
  4863. type: object
  4864. models.ErmcpAreaStockReport:
  4865. properties:
  4866. brandname:
  4867. description: 品牌名称
  4868. type: string
  4869. curstock:
  4870. description: 期末库存量
  4871. type: number
  4872. deliverygoodsid:
  4873. description: 现货品种ID
  4874. type: integer
  4875. enumdicname:
  4876. description: 单位名称
  4877. type: string
  4878. modelname:
  4879. description: 型号名称
  4880. type: string
  4881. oristock:
  4882. description: 期初库存量
  4883. type: number
  4884. spotgoodsbrandid:
  4885. description: 现货品牌ID
  4886. type: integer
  4887. spotgoodsmodelid:
  4888. description: 现货型号ID
  4889. type: integer
  4890. todaybuyinqty:
  4891. description: 今日采购入库量
  4892. type: number
  4893. todayproduceinqty:
  4894. description: 今日生产入库量
  4895. type: number
  4896. todayproduceoutqty:
  4897. description: 今日生产出库量
  4898. type: number
  4899. todayselloutqty:
  4900. description: 今日销售出库量
  4901. type: number
  4902. unitid:
  4903. description: 单位id
  4904. type: integer
  4905. updatetime:
  4906. description: 更新时间
  4907. type: string
  4908. userid:
  4909. description: 机构ID
  4910. type: integer
  4911. username:
  4912. description: 机构名称
  4913. type: string
  4914. warehousecode:
  4915. description: 仓库代码
  4916. type: string
  4917. warehouseinfoid:
  4918. description: 仓库ID
  4919. type: string
  4920. warehousename:
  4921. description: 仓库名称
  4922. type: string
  4923. warehousetype:
  4924. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4925. type: integer
  4926. wrstandardcode:
  4927. description: 现货商品代码
  4928. type: string
  4929. wrstandardid:
  4930. description: 现货商品ID
  4931. type: string
  4932. wrstandardname:
  4933. description: 现货商品名称
  4934. type: string
  4935. type: object
  4936. models.ErmcpBizGroupEx:
  4937. properties:
  4938. acclist:
  4939. description: 账号列表
  4940. items:
  4941. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  4942. type: array
  4943. bizgroupid:
  4944. description: 业务分组id
  4945. type: integer
  4946. biztype:
  4947. description: 业务类型 1-套保 2-套利
  4948. type: integer
  4949. wrlist:
  4950. description: 现货商品表表
  4951. items:
  4952. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  4953. type: array
  4954. type: object
  4955. models.ErmcpBizGroupSpotGoods:
  4956. properties:
  4957. areauserid:
  4958. description: 所属机构id
  4959. type: integer
  4960. bizgroupid:
  4961. description: 分组id
  4962. type: integer
  4963. biztype:
  4964. description: 业务类型 1-套保 2-套利
  4965. type: integer
  4966. unitid:
  4967. description: 现货商品单位id
  4968. type: integer
  4969. wrstandardcode:
  4970. description: 现货商品代码
  4971. type: string
  4972. wrstandardid:
  4973. description: 现货商品id
  4974. type: integer
  4975. wrstandardname:
  4976. description: 现货商品名称
  4977. type: string
  4978. type: object
  4979. models.ErmcpBizGroupTaAccount:
  4980. properties:
  4981. accountid:
  4982. description: 账号id
  4983. type: string
  4984. accountname:
  4985. description: 账号名称
  4986. type: string
  4987. areauserid:
  4988. description: 所属机构id
  4989. type: integer
  4990. bizgroupid:
  4991. description: 业务分组id
  4992. type: integer
  4993. ismain:
  4994. description: 是否主账号 1-是 0-否
  4995. type: integer
  4996. type: object
  4997. models.ErmcpGGConvertCfg:
  4998. properties:
  4999. convertratio:
  5000. description: 折算系数
  5001. type: number
  5002. destgoodsgroupid:
  5003. description: 目标品种ID
  5004. type: integer
  5005. dstcode:
  5006. description: 目录品种代码
  5007. type: string
  5008. dstexchangecode:
  5009. description: 目标期货交易所
  5010. type: string
  5011. dstname:
  5012. description: 目标品种名称
  5013. type: string
  5014. dstunitid:
  5015. description: 目标品种单位ID
  5016. type: integer
  5017. dstunitidname:
  5018. description: 目标品种单位名称
  5019. type: string
  5020. modifytime:
  5021. description: 修改时间
  5022. type: string
  5023. srccode:
  5024. description: 源品种代码
  5025. type: string
  5026. srcexchangecode:
  5027. description: 源期货交易所
  5028. type: string
  5029. srcgoodsgroupid:
  5030. description: 源品种ID
  5031. type: integer
  5032. srcname:
  5033. description: 源品种名称
  5034. type: string
  5035. srcunitid:
  5036. description: 源品种单位ID
  5037. type: integer
  5038. srcunitidname:
  5039. description: 源品种单位名称
  5040. type: string
  5041. type: object
  5042. models.ErmcpGoodsBrand:
  5043. properties:
  5044. areauserid:
  5045. description: 所属机构
  5046. type: integer
  5047. brandid:
  5048. description: BrandID(SEQ_SPOTGOODSBRAND)
  5049. type: integer
  5050. brandname:
  5051. description: 品牌名称
  5052. type: string
  5053. createtime:
  5054. description: 创建时间
  5055. type: string
  5056. creatorid:
  5057. description: 创建人
  5058. type: integer
  5059. creatorsrc:
  5060. description: 创建人来源 - 1:管理端 2:终端
  5061. type: integer
  5062. deliverygoodsid:
  5063. description: 现货品种ID
  5064. type: integer
  5065. isvalid:
  5066. description: 是否有效 - 0:无效 1:有效
  5067. type: integer
  5068. updatetime:
  5069. description: 更新时间
  5070. type: string
  5071. updatorid:
  5072. description: 更新人
  5073. type: integer
  5074. updatorsrc:
  5075. description: 更新人来源 - 1:管理端 2:终端
  5076. type: integer
  5077. wrstandardid:
  5078. description: 现货商品ID
  5079. type: integer
  5080. type: object
  5081. models.ErmcpGoodsModel:
  5082. properties:
  5083. areauserid:
  5084. description: 所属机构
  5085. type: integer
  5086. convertfactor:
  5087. description: 标仓系数
  5088. type: number
  5089. createtime:
  5090. description: 创建时间
  5091. type: string
  5092. creatorid:
  5093. description: 创建人
  5094. type: integer
  5095. creatorsrc:
  5096. description: 创建人来源 - 1:管理端 2:终端
  5097. type: integer
  5098. deliverygoodsid:
  5099. description: 现货品种ID
  5100. type: integer
  5101. isvalid:
  5102. description: 是否有效 - 0:无效 1:有效
  5103. type: integer
  5104. modelid:
  5105. description: ModelID(SEQ_SPOTGOODSMODEL)
  5106. type: integer
  5107. modelname:
  5108. description: 型号名称
  5109. type: string
  5110. updatetime:
  5111. description: 更新时间
  5112. type: string
  5113. updatorid:
  5114. description: 更新人
  5115. type: integer
  5116. updatorsrc:
  5117. description: 更新人来源 - 1:管理端 2:终端
  5118. type: integer
  5119. wrstandardid:
  5120. description: 现货商品ID
  5121. type: integer
  5122. type: object
  5123. models.ErmcpHisExposure:
  5124. properties:
  5125. needhedgeexposoure:
  5126. description: 应套保敞口
  5127. type: number
  5128. reckondate:
  5129. description: 日照时期(yyyyMMdd)
  5130. type: string
  5131. totalexposure:
  5132. description: 总敞口
  5133. type: number
  5134. type: object
  5135. models.ErmcpLoginUser:
  5136. properties:
  5137. accountname:
  5138. description: 用户名称
  5139. type: string
  5140. clientroleid:
  5141. description: 角色id(usertype=2)
  5142. type: integer
  5143. createtime:
  5144. description: 创建时间
  5145. type: string
  5146. loginstatus:
  5147. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5148. type: integer
  5149. memberuserid:
  5150. description: 所属会员id
  5151. type: integer
  5152. modifytime:
  5153. description: 修改时间
  5154. type: string
  5155. rolename:
  5156. description: 角色名称
  5157. type: string
  5158. rolestatus:
  5159. description: 角色状态 1-启用 2-停用
  5160. type: integer
  5161. roletype:
  5162. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5163. type: string
  5164. userid:
  5165. description: 用户id
  5166. type: integer
  5167. usertype:
  5168. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5169. type: integer
  5170. type: object
  5171. models.ErmcpLoginUserEx:
  5172. properties:
  5173. rolename:
  5174. description: 角色名称
  5175. type: string
  5176. userlist:
  5177. description: 用户列表
  5178. items:
  5179. $ref: '#/definitions/models.ErmcpLoginUser'
  5180. type: array
  5181. usertype:
  5182. description: 用户类型 2-机构 7-企业成员(云平台)
  5183. type: integer
  5184. type: object
  5185. models.ErmcpMiddleGoodsModel:
  5186. properties:
  5187. areauserid:
  5188. description: 机构用户ID
  5189. type: integer
  5190. createtime:
  5191. description: 修改时间
  5192. type: string
  5193. enumdicname:
  5194. description: 单位名称
  5195. type: string
  5196. evaluateratio:
  5197. description: 估价系数
  5198. type: number
  5199. goodsgroupid:
  5200. description: 关联期货品种ID
  5201. type: integer
  5202. isvalid:
  5203. description: 状态 0-无效(停用) 1-有效(正常)
  5204. type: integer
  5205. middlegoodscode:
  5206. description: 套保品种代码
  5207. type: string
  5208. middlegoodsid:
  5209. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5210. type: integer
  5211. middlegoodsname:
  5212. description: 套保品种名称
  5213. type: string
  5214. modifytime:
  5215. description: 修改时间
  5216. type: string
  5217. needhedgeratio:
  5218. description: 套保比率
  5219. type: number
  5220. qtydecimalplace:
  5221. description: 数量小数位
  5222. type: integer
  5223. relatedgoodsid:
  5224. description: 关联交易商品ID
  5225. type: integer
  5226. relatedgoodstype:
  5227. description: 关联商品类型 - 1:期货合约 2:现货品种
  5228. type: integer
  5229. remark:
  5230. description: 备注
  5231. type: string
  5232. type: object
  5233. models.ErmcpReportDayFR:
  5234. properties:
  5235. areauserid:
  5236. description: 所属机构
  5237. type: integer
  5238. collectinvoiceamount:
  5239. description: 今日开票金额
  5240. type: number
  5241. collectinvoicecount:
  5242. description: 今日开票笔数
  5243. type: integer
  5244. collectmoneyamount:
  5245. description: 今日收款金额
  5246. type: number
  5247. collectmoneycount:
  5248. description: 今日收款笔数
  5249. type: integer
  5250. payinvoiceamount:
  5251. description: 今日收票金额
  5252. type: number
  5253. payinvoicecount:
  5254. description: 今日收票笔数
  5255. type: integer
  5256. paymoneyamount:
  5257. description: 今日付款金额
  5258. type: number
  5259. paymoneycount:
  5260. description: 今日付款笔数
  5261. type: integer
  5262. reckondate:
  5263. description: 日照时期(yyyyMMdd)
  5264. type: string
  5265. updatetime:
  5266. description: 更新时间
  5267. type: string
  5268. type: object
  5269. models.ErmcpRole:
  5270. properties:
  5271. areauserid:
  5272. description: 所属机构
  5273. type: integer
  5274. autoid:
  5275. description: 角色ID(自增ID)
  5276. type: integer
  5277. modifierid:
  5278. description: 修改人(创建人)
  5279. type: integer
  5280. modifiername:
  5281. description: 修改人名称
  5282. type: string
  5283. modifytime:
  5284. description: 修改时间(创建时间)
  5285. type: string
  5286. rolename:
  5287. description: 角色名称
  5288. type: string
  5289. rolestatus:
  5290. description: 角色状态 - 1:启用 2:停用
  5291. type: integer
  5292. roletype:
  5293. description: 角色类型 - 1- 管理端 2- 交易端
  5294. type: integer
  5295. type: object
  5296. models.ErmcpRoleMenu:
  5297. properties:
  5298. iconame:
  5299. description: 菜单图标
  5300. type: string
  5301. menutype:
  5302. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  5303. type: integer
  5304. parentcode:
  5305. description: 上级资源代码
  5306. type: string
  5307. remark:
  5308. description: 菜单备注
  5309. type: string
  5310. resourcecode:
  5311. description: 菜单代码
  5312. type: string
  5313. resourcelevel:
  5314. description: 级别
  5315. type: integer
  5316. resourcename:
  5317. description: 菜单名称
  5318. type: string
  5319. roleid:
  5320. description: 角色id
  5321. type: integer
  5322. sort:
  5323. description: 排序
  5324. type: integer
  5325. url:
  5326. description: URL
  5327. type: string
  5328. userid:
  5329. description: 用户id
  5330. type: integer
  5331. type: object
  5332. models.ErmcpRoleMenuEx:
  5333. properties:
  5334. menu:
  5335. $ref: '#/definitions/models.ErmcpRoleMenu'
  5336. description: 父级菜单
  5337. subMenu:
  5338. description: 子级菜单
  5339. items:
  5340. $ref: '#/definitions/models.ErmcpRoleMenu'
  5341. type: array
  5342. type: object
  5343. models.ErmcpTaAccount:
  5344. properties:
  5345. accountid:
  5346. description: 账户id
  5347. type: integer
  5348. accountname:
  5349. description: 账户名称
  5350. type: string
  5351. currencyid:
  5352. description: 币种id
  5353. type: integer
  5354. ismain:
  5355. description: 是否主账户 0-否 1-是
  5356. type: integer
  5357. parentaccountid:
  5358. description: 父账户id
  5359. type: integer
  5360. relateduserid:
  5361. description: 关联userid
  5362. type: integer
  5363. tradestatus:
  5364. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5365. type: integer
  5366. type: object
  5367. models.ErmcpTaAccountEx:
  5368. properties:
  5369. mainAcc:
  5370. $ref: '#/definitions/models.ErmcpTaAccount'
  5371. description: 主账号
  5372. subacclist:
  5373. description: 子账号列表
  5374. items:
  5375. $ref: '#/definitions/models.ErmcpTaAccount'
  5376. type: array
  5377. type: object
  5378. models.ErmcpTaAccountInfo:
  5379. properties:
  5380. accountid:
  5381. description: 资金账户ID
  5382. type: integer
  5383. accountname:
  5384. description: 账户名称
  5385. type: string
  5386. balance:
  5387. description: 期初余额
  5388. type: number
  5389. capitalbalance:
  5390. description: 本金余额[外部子账户实际出入金余额]
  5391. type: number
  5392. closepl:
  5393. description: 今日平仓盈亏
  5394. type: number
  5395. creditdecrease:
  5396. description: 今日授信减少
  5397. type: number
  5398. creditincrease:
  5399. description: 今日授信增加
  5400. type: number
  5401. curdebt:
  5402. description: 期末欠款
  5403. type: number
  5404. currencyid:
  5405. description: 货币ID
  5406. type: integer
  5407. currentbalance:
  5408. description: 期末余额
  5409. type: number
  5410. freezecharge:
  5411. description: 手续费冻结
  5412. type: number
  5413. freezemargin:
  5414. description: 冻结保证金
  5415. type: number
  5416. fromaccountid:
  5417. description: 所属上级账户
  5418. type: integer
  5419. inamount:
  5420. description: 今日入金金额(包括三方入金)
  5421. type: number
  5422. ismain:
  5423. description: 是否母账号 0:不是母账户 1:是母账户
  5424. type: integer
  5425. mortgagecredit:
  5426. description: 授信金额
  5427. type: number
  5428. oridebt:
  5429. description: 期初欠款
  5430. type: number
  5431. orifreezecharge:
  5432. description: 期初手续费冻结
  5433. type: number
  5434. orifreezemargin:
  5435. description: 期初冻结保证金
  5436. type: number
  5437. orimortgagecredit:
  5438. description: 期初授信金额
  5439. type: number
  5440. oriothercredit:
  5441. description: 期初其它授信金额
  5442. type: number
  5443. oriotherfreezemargin:
  5444. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  5445. type: number
  5446. orioutamountfreeze:
  5447. description: 期初出金冻结
  5448. type: number
  5449. oriusedmargin:
  5450. description: 期初占用保证金
  5451. type: number
  5452. othercredit:
  5453. description: 其它授信金额
  5454. type: number
  5455. othercreditdecrease:
  5456. description: 今日其它授信减少
  5457. type: number
  5458. othercreditincrease:
  5459. description: 今日其它授信增加
  5460. type: number
  5461. otherfreezemargin:
  5462. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  5463. type: number
  5464. outamount:
  5465. description: 今日出金金额(包括三方出金)
  5466. type: number
  5467. outamountfreeze:
  5468. description: 出金冻结
  5469. type: number
  5470. outthreshold:
  5471. description: 出金阈值
  5472. type: number
  5473. parentaccountid:
  5474. description: 所属根账号
  5475. type: integer
  5476. paycharge:
  5477. description: 今日手续费支出
  5478. type: number
  5479. relateduserid:
  5480. description: 关联用户
  5481. type: integer
  5482. signstatus:
  5483. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  5484. type: integer
  5485. sublevelpath:
  5486. description: 账号层级路径(逗号分隔,首尾加逗号)
  5487. type: string
  5488. taaccounttype:
  5489. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  5490. type: integer
  5491. thirdinamount:
  5492. description: 今日三方入金
  5493. type: number
  5494. thirdoutamount:
  5495. description: 今日三方出金
  5496. type: number
  5497. tradestatus:
  5498. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5499. type: integer
  5500. transferamount:
  5501. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  5502. type: number
  5503. usedmargin:
  5504. description: 占用保证金
  5505. type: number
  5506. userid:
  5507. description: 用户ID
  5508. type: integer
  5509. type: object
  5510. models.ErmcpWrstandard:
  5511. properties:
  5512. areauserid:
  5513. description: 所属机构
  5514. type: integer
  5515. createtime:
  5516. description: 创建时间
  5517. type: string
  5518. creatorid:
  5519. description: 创建人
  5520. type: integer
  5521. deliverygoodsid:
  5522. description: 品种ID
  5523. type: integer
  5524. enumdicname:
  5525. description: 单位名称
  5526. type: string
  5527. isvalid:
  5528. description: 是否有效 0-无效(停用) 1-有效(正常)
  5529. type: integer
  5530. minivalue:
  5531. description: 最小变动值
  5532. type: integer
  5533. minivaluedp:
  5534. description: 最小变动值小数位
  5535. type: integer
  5536. realminivalue:
  5537. description: 实际最小变动值
  5538. type: integer
  5539. realminivaluedp:
  5540. description: 实际最小变动值小数位
  5541. type: integer
  5542. remark:
  5543. description: 备注
  5544. type: string
  5545. unitid:
  5546. description: 单位ID
  5547. type: integer
  5548. updatetime:
  5549. description: 更新时间
  5550. type: string
  5551. wrstandardcode:
  5552. description: 现货商品代码
  5553. type: string
  5554. wrstandardid:
  5555. description: 现货商品ID(SEQ_WRSTANDARD)
  5556. type: integer
  5557. wrstandardname:
  5558. description: 现货商品名称
  5559. type: string
  5560. type: object
  5561. models.Externalexchange:
  5562. properties:
  5563. autoid:
  5564. description: AutoID - SEQ_EXTERNALEXCHANGE
  5565. type: integer
  5566. exchangefullname:
  5567. description: 外部交易所全称
  5568. type: string
  5569. exexchangecode:
  5570. description: 外部交易所代码
  5571. type: string
  5572. exexchangename:
  5573. description: 外部交易所名称(简称)
  5574. type: string
  5575. ismarketprice:
  5576. description: 是否支持市价 - 0:不支持 1:支持
  5577. type: integer
  5578. quotegear:
  5579. description: 行情档位(1-10)
  5580. type: integer
  5581. showbrokerflag:
  5582. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  5583. type: integer
  5584. updatetime:
  5585. description: 更新时间
  5586. type: string
  5587. required:
  5588. - autoid
  5589. type: object
  5590. models.Funcmenulist:
  5591. properties:
  5592. iconame:
  5593. description: 菜单图标
  5594. type: string
  5595. menutype:
  5596. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  5597. type: integer
  5598. parentcode:
  5599. description: 上级资源代码
  5600. type: string
  5601. remark:
  5602. description: 备注
  5603. type: string
  5604. resourcecode:
  5605. description: 资源代码
  5606. type: string
  5607. resourcelevel:
  5608. description: 级别 1-一级 2-二级 3-三级 4-四级
  5609. type: integer
  5610. resourcename:
  5611. description: 资源名
  5612. type: string
  5613. sort:
  5614. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  5615. type: integer
  5616. url:
  5617. description: URL
  5618. type: string
  5619. required:
  5620. - resourcecode
  5621. type: object
  5622. models.Goods:
  5623. properties:
  5624. agreeunit:
  5625. description: 合约单位
  5626. type: number
  5627. auditaccountid:
  5628. description: 审核操作员账号
  5629. type: integer
  5630. audittime:
  5631. description: 审核时间
  5632. type: string
  5633. cancelaccountid:
  5634. description: 注销操作员账号
  5635. type: integer
  5636. canceltime:
  5637. description: 注销时间
  5638. type: string
  5639. closepricemode:
  5640. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5641. type: integer
  5642. closepriceparam:
  5643. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5644. type: number
  5645. createtime:
  5646. description: 创建时间
  5647. type: string
  5648. creatorid:
  5649. description: 创建人
  5650. type: integer
  5651. currencyid:
  5652. description: 报价货币ID
  5653. type: integer
  5654. cutmode:
  5655. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5656. type: integer
  5657. decimalplace:
  5658. description: 报价小数位
  5659. type: integer
  5660. delistingdate:
  5661. description: 商品退市时间(状态:退市) -- 已作废
  5662. type: string
  5663. delistingmode:
  5664. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5665. type: integer
  5666. deliveryflag:
  5667. description: 交割标志 - 0:不可交割 1:可交割
  5668. type: integer
  5669. forceclosemode:
  5670. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5671. type: integer
  5672. forceclosevalue:
  5673. description: 定期强平参数 [收益权]
  5674. type: integer
  5675. goodscode:
  5676. description: 商品代码(内部)
  5677. type: string
  5678. goodscurrencyid:
  5679. description: 合约货币ID
  5680. type: integer
  5681. goodsgroupid:
  5682. description: 所属商品组ID
  5683. type: integer
  5684. goodsid:
  5685. description: 商品ID(自增ID SEQ_GOODS)
  5686. type: integer
  5687. goodsname:
  5688. description: 商品名称
  5689. type: string
  5690. goodsquotetype:
  5691. description: '合约报价类型: 1-直接报价 2-间接报价'
  5692. type: integer
  5693. goodsstatus:
  5694. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5695. type: integer
  5696. goodstradetype:
  5697. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5698. type: integer
  5699. goodunitid:
  5700. description: 报价单位ID
  5701. type: integer
  5702. hasquoter:
  5703. description: 是否有报价商 - 0:无报价商 1:有报价商
  5704. type: integer
  5705. hqprotecttime:
  5706. description: 行情保护时间(秒)
  5707. type: integer
  5708. innerdealmode:
  5709. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5710. type: integer
  5711. isbuylimited:
  5712. description: 是否限制建仓量 - 0:不限制 1:限制
  5713. type: integer
  5714. lasttradedate:
  5715. description: 最后交易日期(状态:待退市)
  5716. type: string
  5717. listingdate:
  5718. description: 交易开始日期
  5719. type: string
  5720. marketid:
  5721. description: 所属市场ID
  5722. type: integer
  5723. modifierid:
  5724. description: 修改人
  5725. type: integer
  5726. modifystatus:
  5727. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  5728. type: integer
  5729. modifytime:
  5730. description: 修改时间
  5731. type: string
  5732. outerdealmode:
  5733. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5734. type: integer
  5735. outgoodscode:
  5736. description: 商品代码(外部)
  5737. type: string
  5738. qtydecimalplace:
  5739. description: 成交量小数位
  5740. type: integer
  5741. quotegear:
  5742. description: 行情档位(1-10)
  5743. type: integer
  5744. quoteminunit:
  5745. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5746. type: integer
  5747. quoteshowtype:
  5748. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  5749. type: integer
  5750. quoteshowtypeinterval:
  5751. description: 行情报价间隔时间(秒)(成交价时为0)
  5752. type: integer
  5753. remark:
  5754. description: 备注
  5755. type: string
  5756. required:
  5757. - goodscode
  5758. - goodsid
  5759. - goodsname
  5760. - marketid
  5761. type: object
  5762. models.GoodsBrand:
  5763. properties:
  5764. brandid:
  5765. description: 品牌ID
  5766. type: integer
  5767. brandname:
  5768. description: 品牌名称
  5769. type: string
  5770. isvalid:
  5771. description: 是否有效 - 0:无效 1:有效
  5772. type: integer
  5773. type: object
  5774. models.GoodsIDAndName:
  5775. properties:
  5776. goodscode:
  5777. description: 商品代码(内部)
  5778. type: string
  5779. goodsid:
  5780. description: 商品ID(自增ID SEQ_GOODS)
  5781. type: integer
  5782. goodsname:
  5783. description: 商品名称
  5784. type: string
  5785. marketid:
  5786. description: 所属市场ID
  5787. type: integer
  5788. required:
  5789. - goodscode
  5790. - goodsid
  5791. - goodsname
  5792. - marketid
  5793. type: object
  5794. models.GoodsTypeModel:
  5795. properties:
  5796. convertfactor:
  5797. description: 标仓系数
  5798. type: number
  5799. modelid:
  5800. description: 型号ID
  5801. type: integer
  5802. modelname:
  5803. description: 型号名称
  5804. type: string
  5805. updatetime:
  5806. description: 更新时间
  5807. type: string
  5808. type: object
  5809. models.Goodsgroup:
  5810. properties:
  5811. agreeunit:
  5812. description: 合约单位
  5813. type: number
  5814. canshort:
  5815. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5816. type: integer
  5817. closepricemode:
  5818. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5819. type: integer
  5820. closepriceparam:
  5821. description: 强平最新价浮动比例 - 方式为2时使用
  5822. type: number
  5823. createtime:
  5824. description: 创建时间
  5825. type: string
  5826. creatorid:
  5827. description: 创建人
  5828. type: integer
  5829. currencyid:
  5830. description: 报价货币ID
  5831. type: integer
  5832. decimalplace:
  5833. description: 报价小数位
  5834. type: integer
  5835. exercisetype:
  5836. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  5837. type: integer
  5838. exexchangeid:
  5839. description: 外部交易所ID[通道交易]
  5840. type: integer
  5841. goodsgroupid:
  5842. description: 商品组ID(自增ID)
  5843. type: integer
  5844. goodsgroupname:
  5845. description: 商品组名称
  5846. type: string
  5847. goodsgroupstatus:
  5848. description: 商品组状态 - 1:正常 2:注销
  5849. type: integer
  5850. goodunitid:
  5851. description: 报价单位ID
  5852. type: integer
  5853. innerdealmode:
  5854. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5855. type: integer
  5856. isbuylimited:
  5857. description: 是否限制建仓量 - 0:不限制 1:限制
  5858. type: integer
  5859. marketid:
  5860. description: 所属市场ID
  5861. type: integer
  5862. modifierid:
  5863. description: 修改人
  5864. type: integer
  5865. modifytime:
  5866. description: 修改时间
  5867. type: string
  5868. outerdealmode:
  5869. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5870. type: integer
  5871. outergroupcode:
  5872. description: 外部商品组代码[通道交易]
  5873. type: string
  5874. premiumdecimalplace:
  5875. description: 权利金小数位[场外期权]
  5876. type: integer
  5877. premiumspreadalgorithm:
  5878. description: 权利金点差方式[场外期权] 1:比率 2:固定
  5879. type: integer
  5880. premiumspreadvalue:
  5881. description: 权利金点差值[场外期权]
  5882. type: number
  5883. qtydecimalplace:
  5884. description: 成交量小数位
  5885. type: integer
  5886. quotegear:
  5887. description: 行情档位(1-10)
  5888. type: integer
  5889. quoteminunit:
  5890. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5891. type: integer
  5892. quoterid:
  5893. description: 报价商ID[场外期权]
  5894. type: integer
  5895. quotesourcegroupid:
  5896. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5897. type: integer
  5898. syncgoodsqty:
  5899. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5900. type: integer
  5901. required:
  5902. - goodsgroupid
  5903. - goodsgroupname
  5904. - goodsgroupstatus
  5905. - marketid
  5906. type: object
  5907. models.Goodssortbypreposition:
  5908. properties:
  5909. goodscode:
  5910. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  5911. type: string
  5912. goodsgroupcode:
  5913. description: 品种代码
  5914. type: string
  5915. prepositionqty:
  5916. description: 昨持仓量
  5917. type: integer
  5918. sortindex:
  5919. description: 排序
  5920. type: integer
  5921. tradedate:
  5922. description: 交易日
  5923. type: string
  5924. updatetime:
  5925. description: 更新时间
  5926. type: string
  5927. required:
  5928. - goodscode
  5929. - tradedate
  5930. type: object
  5931. models.Hedgeinnerholderdetail:
  5932. properties:
  5933. accountid:
  5934. description: 账号ID
  5935. type: integer
  5936. buyorsell:
  5937. description: 方向 - 0:买 1:卖
  5938. type: integer
  5939. freezeqty:
  5940. description: 冻结数量 - 按单平使用
  5941. type: integer
  5942. goodsid:
  5943. description: 商品ID
  5944. type: integer
  5945. holderamount:
  5946. description: 持仓金额 [商品币种]
  5947. type: number
  5948. holderdays:
  5949. description: 剩余冻结天数
  5950. type: integer
  5951. holderprice:
  5952. description: 持仓价格
  5953. type: number
  5954. holderqty:
  5955. description: 持仓数量
  5956. type: integer
  5957. marketid:
  5958. description: 市场ID
  5959. type: integer
  5960. openprice:
  5961. description: 建仓价格
  5962. type: number
  5963. openqty:
  5964. description: 建仓数量
  5965. type: integer
  5966. parentaccountid:
  5967. description: 所属母账户
  5968. type: integer
  5969. releaseamount:
  5970. description: 释放持仓金额[商品币种]
  5971. type: number
  5972. tradeamount:
  5973. description: 成交金额[账户]
  5974. type: number
  5975. tradedate:
  5976. description: 交易日(yyyyMMdd)
  5977. type: string
  5978. tradeid:
  5979. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5980. type: string
  5981. tradetime:
  5982. description: 交易时间
  5983. type: string
  5984. required:
  5985. - buyorsell
  5986. - tradeid
  5987. type: object
  5988. models.HsbyBuyMyPayOrder:
  5989. properties:
  5990. agreeunit:
  5991. description: 合约单位
  5992. type: number
  5993. buyaccountid:
  5994. description: 买方账号ID[报价币种]
  5995. type: integer
  5996. buyorderid:
  5997. description: 买方委托单号
  5998. type: string
  5999. createtime:
  6000. description: 创建时间
  6001. type: string
  6002. currencysign:
  6003. description: 货币符号
  6004. type: string
  6005. decimalplace:
  6006. description: 报价小数位
  6007. type: integer
  6008. goodscode:
  6009. description: 商品代码(内部)
  6010. type: string
  6011. goodsid:
  6012. description: 商品ID
  6013. type: integer
  6014. goodsname:
  6015. description: 商品名称
  6016. type: string
  6017. marketid:
  6018. description: 市场ID
  6019. type: integer
  6020. offamount:
  6021. description: 优惠金额
  6022. type: number
  6023. originalamount:
  6024. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  6025. type: number
  6026. payamount:
  6027. description: 支付金额 = TradeAmount + TradeCharge
  6028. type: number
  6029. payflag:
  6030. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6031. type: integer
  6032. paylimitedtime:
  6033. description: 支付期限
  6034. type: string
  6035. paytime:
  6036. description: 付款时间
  6037. type: string
  6038. picurls1:
  6039. description: 预售商品介绍图片[多张用逗号分隔]
  6040. type: string
  6041. picurls2:
  6042. description: 挂牌商品介绍图片[多张用逗号分隔]
  6043. type: string
  6044. sellaccountid:
  6045. description: 卖方账号ID[报价币种]
  6046. type: integer
  6047. sellorderid:
  6048. description: 卖方委托单号
  6049. type: string
  6050. tradeamount:
  6051. description: 成交金额
  6052. type: number
  6053. tradecharge:
  6054. description: 成交手续费(买方)
  6055. type: number
  6056. tradedate:
  6057. description: 交易日(yyyyMMdd)
  6058. type: string
  6059. tradeid:
  6060. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6061. type: string
  6062. trademode:
  6063. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6064. 21:竞拍-大宗式 22:受托竞价
  6065. type: integer
  6066. tradeprice:
  6067. description: 成交价格
  6068. type: number
  6069. tradeqty:
  6070. description: 成交数量
  6071. type: integer
  6072. vendorname1:
  6073. description: 预售商品供应商名称
  6074. type: string
  6075. vendorname2:
  6076. description: 挂牌商品供应商名称
  6077. type: string
  6078. required:
  6079. - goodscode
  6080. - goodsname
  6081. - tradeid
  6082. - trademode
  6083. type: object
  6084. models.HsbyBuyMyTradeDetail:
  6085. properties:
  6086. accountid:
  6087. description: 账户ID[报价币种]
  6088. type: integer
  6089. agreeunit:
  6090. description: 合约单位
  6091. type: number
  6092. amount:
  6093. description: 金额 = 价格 * 数量 * 合约单位
  6094. type: number
  6095. buyorsell:
  6096. description: 买卖 - 0:买 1:卖
  6097. type: integer
  6098. currencysign:
  6099. description: 货币符号
  6100. type: string
  6101. decimalplace:
  6102. description: 报价小数位
  6103. type: integer
  6104. goodscode:
  6105. description: 商品代码(内部)
  6106. type: string
  6107. goodsid:
  6108. description: 商品ID
  6109. type: integer
  6110. goodsname:
  6111. description: 商品名称
  6112. type: string
  6113. marketid:
  6114. description: 市场ID
  6115. type: integer
  6116. orderamount:
  6117. description: 委托金额
  6118. type: number
  6119. orderid:
  6120. description: 单号(成交单号)
  6121. type: string
  6122. picurls1:
  6123. description: 预售商品介绍图片[多张用逗号分隔]
  6124. type: string
  6125. picurls2:
  6126. description: 挂牌商品介绍图片[多张用逗号分隔]
  6127. type: string
  6128. price:
  6129. description: 价格
  6130. type: number
  6131. qty:
  6132. description: 数量
  6133. type: integer
  6134. time:
  6135. description: 时间
  6136. type: string
  6137. trademode:
  6138. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6139. 21:竞拍-大宗式 22:受托竞价
  6140. type: integer
  6141. vendorname1:
  6142. description: 预售商品供应商名称
  6143. type: string
  6144. vendorname2:
  6145. description: 挂牌商品供应商名称
  6146. type: string
  6147. required:
  6148. - accountid
  6149. - buyorsell
  6150. - goodscode
  6151. - goodsid
  6152. - goodsname
  6153. - marketid
  6154. - orderid
  6155. - qty
  6156. - time
  6157. - trademode
  6158. type: object
  6159. models.HsbyGoodsOrderDetail:
  6160. properties:
  6161. buyorsell:
  6162. description: 买卖 - 0:买 1:卖
  6163. type: integer
  6164. currencysign:
  6165. description: 货币符号
  6166. type: string
  6167. customername:
  6168. description: 客户名称(企业名称),已脱敏
  6169. type: string
  6170. enableqty:
  6171. description: 可用数量
  6172. type: integer
  6173. goodunit:
  6174. description: 报价单位
  6175. type: string
  6176. orderid:
  6177. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6178. type: string
  6179. orderprice:
  6180. description: 委托价格
  6181. type: number
  6182. ordertime:
  6183. description: 委托时间
  6184. type: string
  6185. required:
  6186. - buyorsell
  6187. - orderid
  6188. - ordertime
  6189. type: object
  6190. models.HsbyListingGoodsDetail:
  6191. properties:
  6192. agreeunit:
  6193. description: 合约单位
  6194. type: number
  6195. buymaxqty:
  6196. description: 购买上限 [71] - 0为不限
  6197. type: integer
  6198. currency:
  6199. description: 货币
  6200. type: string
  6201. currencysign:
  6202. description: 货币符号
  6203. type: string
  6204. decimalplace:
  6205. description: 报价小数位
  6206. type: integer
  6207. desccityid:
  6208. description: 目的地(市)ID
  6209. type: integer
  6210. descprovinceid:
  6211. description: 目的地(省)ID
  6212. type: integer
  6213. goodscode:
  6214. description: 商品代码(内部)
  6215. type: string
  6216. goodsdesc:
  6217. description: 商品详情
  6218. type: string
  6219. goodsid:
  6220. description: 商品ID(自增ID SEQ_GOODS)
  6221. type: integer
  6222. goodsname:
  6223. description: 商品名称
  6224. type: string
  6225. goodsprice:
  6226. description: 商品价格
  6227. type: number
  6228. hotindex:
  6229. description: 景点热度
  6230. type: integer
  6231. last:
  6232. description: 现价
  6233. type: number
  6234. limitdown:
  6235. description: 跌停价
  6236. type: number
  6237. limitup:
  6238. description: 涨停价
  6239. type: number
  6240. lotsize:
  6241. description: 手数最小变动单位
  6242. type: integer
  6243. marketid:
  6244. description: 所属市场ID
  6245. type: integer
  6246. picurls:
  6247. description: 介绍图片[多张用逗号分隔]
  6248. type: string
  6249. quoteminunit:
  6250. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6251. type: integer
  6252. stepvalue:
  6253. description: 价格最小变动单位
  6254. type: number
  6255. trademode:
  6256. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6257. 21:竞拍-大宗式 22:受托竞价
  6258. type: integer
  6259. vendorattr:
  6260. description: 供应商附件(多张,逗号分隔)
  6261. type: string
  6262. vendorname:
  6263. description: 供应商名称
  6264. type: string
  6265. vendorphone:
  6266. description: 供应商客服电话
  6267. type: string
  6268. videourls:
  6269. description: 介绍视频[多张用逗号分隔]
  6270. type: string
  6271. required:
  6272. - goodscode
  6273. - goodsid
  6274. - goodsname
  6275. - marketid
  6276. - trademode
  6277. type: object
  6278. models.HsbyMarketGoods:
  6279. properties:
  6280. accountid:
  6281. description: 账户ID[报价币种]
  6282. type: integer
  6283. agreeunit:
  6284. description: 合约单位
  6285. type: number
  6286. buyorsell:
  6287. description: 买卖 - 0:买 1:卖
  6288. type: integer
  6289. categoryid:
  6290. description: 类别ID(WRCATEGORY)
  6291. type: integer
  6292. currency:
  6293. description: 货币
  6294. type: string
  6295. currencysign:
  6296. description: 货币符号
  6297. type: string
  6298. customername:
  6299. description: 卖家名称
  6300. type: string
  6301. decimalplace:
  6302. description: 报价小数位
  6303. type: integer
  6304. goodscode:
  6305. description: 商品代码(内部)
  6306. type: string
  6307. goodsid:
  6308. description: 商品ID
  6309. type: integer
  6310. goodsname:
  6311. description: 商品名称
  6312. type: string
  6313. goodsprice:
  6314. description: 商品价格
  6315. type: number
  6316. hascoupon:
  6317. description: 是否可用优惠卷
  6318. type: boolean
  6319. hotindex:
  6320. description: 景点热度
  6321. type: integer
  6322. marketid:
  6323. description: 市场ID
  6324. type: integer
  6325. orderid:
  6326. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6327. type: string
  6328. orderprice:
  6329. description: 委托价格
  6330. type: number
  6331. orderstatus:
  6332. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6333. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6334. 16:成交失败违约(荷兰式竞拍专用)
  6335. type: integer
  6336. picurls:
  6337. description: 介绍图片[多张用逗号分隔]
  6338. type: string
  6339. quoteminunit:
  6340. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6341. type: integer
  6342. sellUserID:
  6343. description: 卖方UserID
  6344. type: integer
  6345. trademode:
  6346. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6347. 21:竞拍-大宗式 22:受托竞价
  6348. type: integer
  6349. videourls:
  6350. description: 介绍视频[多张用逗号分隔]
  6351. type: string
  6352. required:
  6353. - accountid
  6354. - buyorsell
  6355. - goodscode
  6356. - goodsid
  6357. - goodsname
  6358. - marketid
  6359. - orderid
  6360. - trademode
  6361. type: object
  6362. models.HsbyMarketGoodsDetail:
  6363. properties:
  6364. accountid:
  6365. description: 账户ID[报价币种]
  6366. type: integer
  6367. agreeunit:
  6368. description: 合约单位
  6369. type: number
  6370. buymaxqty:
  6371. description: 购买上限 [71] - 0为不限
  6372. type: integer
  6373. buyorsell:
  6374. description: 买卖 - 0:买 1:卖
  6375. type: integer
  6376. cancelqty:
  6377. description: 撤单数量
  6378. type: integer
  6379. categoryid:
  6380. description: 类别ID(WRCATEGORY)
  6381. type: integer
  6382. currency:
  6383. description: 货币
  6384. type: string
  6385. currencysign:
  6386. description: 货币符号
  6387. type: string
  6388. customername:
  6389. description: 卖家名称
  6390. type: string
  6391. decimalplace:
  6392. description: 报价小数位
  6393. type: integer
  6394. goodscode:
  6395. description: 商品代码(内部)
  6396. type: string
  6397. goodsdesc:
  6398. description: 商品详情
  6399. type: string
  6400. goodsid:
  6401. description: 商品ID
  6402. type: integer
  6403. goodsname:
  6404. description: 商品名称
  6405. type: string
  6406. goodsprice:
  6407. description: 商品价格
  6408. type: number
  6409. hotindex:
  6410. description: 景点热度
  6411. type: integer
  6412. lotsize:
  6413. description: 手数最小变动单位
  6414. type: integer
  6415. marketid:
  6416. description: 市场ID
  6417. type: integer
  6418. orderid:
  6419. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6420. type: string
  6421. orderprice:
  6422. description: 委托价格
  6423. type: number
  6424. orderqty:
  6425. description: 委托数量
  6426. type: integer
  6427. orderstatus:
  6428. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6429. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6430. 16:成交失败违约(荷兰式竞拍专用)
  6431. type: integer
  6432. picurls:
  6433. description: 介绍图片[多张用逗号分隔]
  6434. type: string
  6435. quoteminunit:
  6436. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6437. type: integer
  6438. sellUserID:
  6439. description: 卖方UserID
  6440. type: integer
  6441. trademode:
  6442. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6443. 21:竞拍-大宗式 22:受托竞价
  6444. type: integer
  6445. tradeqty:
  6446. description: 成交数量
  6447. type: integer
  6448. vendorattr:
  6449. description: 供应商附件(多张,逗号分隔)
  6450. type: string
  6451. vendorname:
  6452. description: 供应商名称
  6453. type: string
  6454. vendorphone:
  6455. description: 供应商客服电话
  6456. type: string
  6457. videourls:
  6458. description: 介绍视频[多张用逗号分隔]
  6459. type: string
  6460. required:
  6461. - accountid
  6462. - buyorsell
  6463. - goodscode
  6464. - goodsid
  6465. - goodsname
  6466. - marketid
  6467. - orderid
  6468. - orderqty
  6469. - trademode
  6470. type: object
  6471. models.HsbyMarketInfo:
  6472. properties:
  6473. marketid:
  6474. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  6475. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  6476. type: integer
  6477. marketname:
  6478. description: 市场名称
  6479. type: string
  6480. marketstatus:
  6481. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  6482. type: integer
  6483. trademode:
  6484. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6485. 21:竞拍-大宗式 22:受托竞价
  6486. type: integer
  6487. required:
  6488. - marketid
  6489. - marketstatus
  6490. - trademode
  6491. type: object
  6492. models.HsbyMyGoods:
  6493. properties:
  6494. accountid:
  6495. description: 账号Id
  6496. type: integer
  6497. agreeunit:
  6498. description: 合约单位
  6499. type: number
  6500. buyaverageprice:
  6501. description: 持仓均价
  6502. type: number
  6503. buycurholderamount:
  6504. description: 买当前持仓总金额[商品币种]
  6505. type: number
  6506. buycurpositionqty:
  6507. description: 买当前持仓总数量
  6508. type: integer
  6509. buymaxqty:
  6510. description: 购买上限 [71] - 0为不限
  6511. type: integer
  6512. currencysign:
  6513. description: 货币符号
  6514. type: string
  6515. decimalplace:
  6516. description: 报价小数位
  6517. type: integer
  6518. enableqty:
  6519. description: 可用数量
  6520. type: integer
  6521. goodscode:
  6522. description: 商品代码(内部)
  6523. type: string
  6524. goodsid:
  6525. description: 商品Id
  6526. type: integer
  6527. goodsname:
  6528. description: 商品名称
  6529. type: string
  6530. goodsprice:
  6531. description: 商品价格
  6532. type: number
  6533. goodsstatus:
  6534. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6535. type: integer
  6536. last:
  6537. description: 现价(仅使用于挂牌点选)
  6538. type: number
  6539. limitdown:
  6540. description: 跌停价(仅使用于挂牌点选)
  6541. type: number
  6542. limitup:
  6543. description: 涨停价(仅使用于挂牌点选)
  6544. type: number
  6545. lotsize:
  6546. description: 手数最小变动单位
  6547. type: integer
  6548. marketid:
  6549. description: 所属市场ID
  6550. type: integer
  6551. picurls:
  6552. description: 介绍图片[多张用逗号分隔]
  6553. type: string
  6554. quoteminunit:
  6555. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6556. type: integer
  6557. stepvalue:
  6558. description: 价格最小变动单位
  6559. type: number
  6560. trademode:
  6561. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6562. 21:竞拍-大宗式 22:受托竞价
  6563. type: integer
  6564. required:
  6565. - accountid
  6566. - goodscode
  6567. - goodsid
  6568. - goodsname
  6569. - marketid
  6570. - trademode
  6571. type: object
  6572. models.HsbyMyPackage:
  6573. properties:
  6574. accountid:
  6575. description: 账户ID
  6576. type: integer
  6577. address:
  6578. description: 提货人详细地址
  6579. type: string
  6580. agreeunit:
  6581. description: 合约单位
  6582. type: number
  6583. amount:
  6584. description: 提货金额
  6585. type: number
  6586. auditer:
  6587. description: 审核人
  6588. type: integer
  6589. audittime:
  6590. description: 审核时间
  6591. type: string
  6592. averageprice:
  6593. description: 均价
  6594. type: number
  6595. cardnum:
  6596. description: 提货人证件号码
  6597. type: string
  6598. cardtypeid:
  6599. description: 提货人证件类型
  6600. type: integer
  6601. checkremark:
  6602. description: 审核备注
  6603. type: string
  6604. currencysign:
  6605. description: 货币符号
  6606. type: string
  6607. decimalplace:
  6608. description: 报价小数位
  6609. type: integer
  6610. goodscode:
  6611. description: 商品代码(内部)
  6612. type: string
  6613. goodsid:
  6614. description: 商品ID
  6615. type: integer
  6616. goodsname:
  6617. description: 商品名称
  6618. type: string
  6619. handlestatus:
  6620. description: 处理状态
  6621. type: integer
  6622. marketid:
  6623. description: 市场ID
  6624. type: integer
  6625. phonenum:
  6626. description: 提货人联系方式
  6627. type: string
  6628. picurls:
  6629. description: 介绍图片[多张用逗号分隔]
  6630. type: string
  6631. qty:
  6632. description: 提货数量
  6633. type: number
  6634. recivername:
  6635. description: 提货人姓名
  6636. type: string
  6637. reqtime:
  6638. description: 更新时间
  6639. type: string
  6640. takemode:
  6641. description: 提货方式 - 2:自提 3:配送
  6642. type: integer
  6643. takeorderid:
  6644. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  6645. type: string
  6646. takeorderstatus:
  6647. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  6648. type: integer
  6649. takeremark:
  6650. description: 提货备注
  6651. type: string
  6652. tradedate:
  6653. description: 交易日(yyyyMMdd)
  6654. type: string
  6655. trademode:
  6656. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6657. 21:竞拍-大宗式 22:受托竞价
  6658. type: integer
  6659. userid:
  6660. description: 用户ID
  6661. type: integer
  6662. vendorname:
  6663. description: 供应商名称
  6664. type: string
  6665. required:
  6666. - goodscode
  6667. - goodsname
  6668. - takeorderid
  6669. - trademode
  6670. type: object
  6671. models.HsbyPreGoods:
  6672. properties:
  6673. agreeunit:
  6674. description: 合约单位
  6675. type: number
  6676. currency:
  6677. description: 货币
  6678. type: string
  6679. currencysign:
  6680. description: 货币符号
  6681. type: string
  6682. decimalplace:
  6683. description: 报价小数位
  6684. type: integer
  6685. desccityid:
  6686. description: 目的地(市)
  6687. type: integer
  6688. descprovinceid:
  6689. description: 目的地(省)
  6690. type: integer
  6691. enableqty:
  6692. description: 剩余数量
  6693. type: integer
  6694. goodscode:
  6695. description: 商品代码(内部)
  6696. type: string
  6697. goodsid:
  6698. description: 商品ID(自增ID SEQ_GOODS)
  6699. type: integer
  6700. goodsname:
  6701. description: 商品名称
  6702. type: string
  6703. goodsstatus:
  6704. description: 商品状态- 2:未上市 3:上市
  6705. type: integer
  6706. lasttradedate:
  6707. description: 最后交易日期(状态:待退市)
  6708. type: string
  6709. listingdate:
  6710. description: 交易开始日期
  6711. type: string
  6712. marketid:
  6713. description: 所属市场ID
  6714. type: integer
  6715. picurls:
  6716. description: 介绍图片[多张用逗号分隔]
  6717. type: string
  6718. presaledqty:
  6719. description: 已预售量(预售结束时更新)
  6720. type: integer
  6721. presaleqty:
  6722. description: 预售数量
  6723. type: integer
  6724. quoteminunit:
  6725. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6726. type: integer
  6727. refprice:
  6728. description: 参考价格[一口价]
  6729. type: number
  6730. relatedgoodsid:
  6731. description: 关联交易合约ID
  6732. type: integer
  6733. trademode:
  6734. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6735. 21:竞拍-大宗式 22:受托竞价
  6736. type: integer
  6737. videourls:
  6738. description: 介绍视频[多张用逗号分隔]
  6739. type: string
  6740. required:
  6741. - goodscode
  6742. - goodsid
  6743. - goodsname
  6744. - marketid
  6745. - trademode
  6746. type: object
  6747. models.HsbyPreGoodsDetail:
  6748. properties:
  6749. agreeunit:
  6750. description: 合约单位
  6751. type: number
  6752. buymaxqty:
  6753. description: 购买上限 [71] - 0为不限
  6754. type: integer
  6755. currency:
  6756. description: 货币
  6757. type: string
  6758. currencysign:
  6759. description: 货币符号
  6760. type: string
  6761. customername:
  6762. description: 发行单位
  6763. type: string
  6764. decimalplace:
  6765. description: 报价小数位
  6766. type: integer
  6767. desccityid:
  6768. description: 目的地(市)ID
  6769. type: integer
  6770. descprovinceid:
  6771. description: 目的地(省)ID
  6772. type: integer
  6773. enableqty:
  6774. description: 剩余数量
  6775. type: integer
  6776. goodscode:
  6777. description: 商品代码(内部)
  6778. type: string
  6779. goodsdesc:
  6780. description: 商品详情
  6781. type: string
  6782. goodsid:
  6783. description: 商品ID(自增ID SEQ_GOODS)
  6784. type: integer
  6785. goodsname:
  6786. description: 商品名称
  6787. type: string
  6788. goodsstatus:
  6789. description: 商品状态- 2:未上市 3:上市
  6790. type: integer
  6791. goodunit:
  6792. description: 报价单位
  6793. type: string
  6794. lasttradedate:
  6795. description: 最后交易日期(状态:待退市)
  6796. type: string
  6797. listingdate:
  6798. description: 交易开始日期
  6799. type: string
  6800. lotsize:
  6801. description: 手数最小变动单位
  6802. type: integer
  6803. marketid:
  6804. description: 所属市场ID
  6805. type: integer
  6806. picurls:
  6807. description: 介绍图片[多张用逗号分隔]
  6808. type: string
  6809. presaledqty:
  6810. description: 已预售量(预售结束时更新)
  6811. type: integer
  6812. presaleqty:
  6813. description: 预售数量
  6814. type: integer
  6815. quoteminunit:
  6816. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6817. type: integer
  6818. refprice:
  6819. description: 参考价格[一口价]
  6820. type: number
  6821. relatedgoodsid:
  6822. description: 关联交易合约ID
  6823. type: integer
  6824. stepvalue:
  6825. description: 价格最小变动单位
  6826. type: number
  6827. trademode:
  6828. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6829. 21:竞拍-大宗式 22:受托竞价
  6830. type: integer
  6831. vendorattr:
  6832. description: 供应商附件(多张,逗号分隔)
  6833. type: string
  6834. vendorname:
  6835. description: 供应商名称
  6836. type: string
  6837. vendorphone:
  6838. description: 供应商客服电话
  6839. type: string
  6840. videourls:
  6841. description: 介绍视频[多张用逗号分隔]
  6842. type: string
  6843. required:
  6844. - goodscode
  6845. - goodsid
  6846. - goodsname
  6847. - marketid
  6848. - trademode
  6849. type: object
  6850. models.HsbySellCollectionOrder:
  6851. properties:
  6852. agreeunit:
  6853. description: 合约单位
  6854. type: number
  6855. buyaccountid:
  6856. description: 买方账号ID[报价币种]
  6857. type: integer
  6858. buyorderid:
  6859. description: 买方委托单号
  6860. type: string
  6861. createtime:
  6862. description: 创建时间
  6863. type: string
  6864. currencysign:
  6865. description: 货币符号
  6866. type: string
  6867. decimalplace:
  6868. description: 报价小数位
  6869. type: integer
  6870. goodscode:
  6871. description: 商品代码(内部)
  6872. type: string
  6873. goodsid:
  6874. description: 商品ID
  6875. type: integer
  6876. goodsname:
  6877. description: 商品名称
  6878. type: string
  6879. marketid:
  6880. description: 市场ID
  6881. type: integer
  6882. offamount:
  6883. description: 优惠金额
  6884. type: number
  6885. payamount:
  6886. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  6887. type: number
  6888. payflag:
  6889. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6890. type: integer
  6891. paylimitedtime:
  6892. description: 支付期限
  6893. type: string
  6894. paytime:
  6895. description: 付款时间
  6896. type: string
  6897. picurls:
  6898. description: 商品介绍图片[多张用逗号分隔]
  6899. type: string
  6900. sellaccountid:
  6901. description: 卖方账号ID[报价币种]
  6902. type: integer
  6903. sellorderid:
  6904. description: 卖方委托单号
  6905. type: string
  6906. tradeamount:
  6907. description: 成交金额
  6908. type: number
  6909. tradecharge:
  6910. description: 成交手续费(买方)
  6911. type: number
  6912. tradedate:
  6913. description: 交易日(yyyyMMdd)
  6914. type: string
  6915. tradeid:
  6916. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6917. type: string
  6918. trademode:
  6919. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6920. 21:竞拍-大宗式 22:受托竞价
  6921. type: integer
  6922. tradeprice:
  6923. description: 成交价格
  6924. type: number
  6925. tradeqty:
  6926. description: 成交数量
  6927. type: integer
  6928. required:
  6929. - goodscode
  6930. - goodsname
  6931. - tradeid
  6932. - trademode
  6933. type: object
  6934. models.HsbySellMyDetail:
  6935. properties:
  6936. accountid:
  6937. description: 账户ID[报价币种]
  6938. type: integer
  6939. agreeunit:
  6940. description: 合约单位
  6941. type: number
  6942. buyorsell:
  6943. description: 买卖 - 0:买 1:卖
  6944. type: integer
  6945. currencysign:
  6946. description: 货币符号
  6947. type: string
  6948. decimalplace:
  6949. description: 报价小数位
  6950. type: integer
  6951. goodscode:
  6952. description: 商品代码(内部)
  6953. type: string
  6954. goodsid:
  6955. description: 商品ID
  6956. type: integer
  6957. goodsname:
  6958. description: 商品名称
  6959. type: string
  6960. marketid:
  6961. description: 市场ID
  6962. type: integer
  6963. orderid:
  6964. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  6965. type: string
  6966. ordertype:
  6967. description: 单据类型:0 - 发布中, 1 - 已完成
  6968. type: integer
  6969. picurls:
  6970. description: 介绍图片[多张用逗号分隔]
  6971. type: string
  6972. price:
  6973. description: 价格
  6974. type: number
  6975. qty:
  6976. description: 数量
  6977. type: integer
  6978. time:
  6979. description: 时间
  6980. type: string
  6981. trademode:
  6982. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6983. 21:竞拍-大宗式 22:受托竞价
  6984. type: integer
  6985. vendorname:
  6986. description: 供应商名称
  6987. type: string
  6988. required:
  6989. - accountid
  6990. - buyorsell
  6991. - goodscode
  6992. - goodsid
  6993. - goodsname
  6994. - marketid
  6995. - orderid
  6996. - time
  6997. - trademode
  6998. type: object
  6999. models.HsbyTopGoods:
  7000. properties:
  7001. agreeunit:
  7002. description: 合约单位
  7003. type: number
  7004. currency:
  7005. description: 货币
  7006. type: string
  7007. currencysign:
  7008. description: 货币符号
  7009. type: string
  7010. decimalplace:
  7011. description: 报价小数位
  7012. type: integer
  7013. desccityid:
  7014. description: 目的地(市)
  7015. type: integer
  7016. descprovinceid:
  7017. description: 目的地(省)
  7018. type: integer
  7019. goodscode:
  7020. description: 商品代码(内部)
  7021. type: string
  7022. goodsid:
  7023. description: 商品ID(自增ID SEQ_GOODS)
  7024. type: integer
  7025. goodsname:
  7026. description: 商品名称
  7027. type: string
  7028. hotindex:
  7029. description: 景点热度
  7030. type: integer
  7031. last:
  7032. description: 现价
  7033. type: number
  7034. marketid:
  7035. description: 所属市场ID
  7036. type: integer
  7037. picurls:
  7038. description: 介绍图片[多张用逗号分隔]
  7039. type: string
  7040. quoteminunit:
  7041. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7042. type: integer
  7043. trademode:
  7044. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7045. 21:竞拍-大宗式 22:受托竞价
  7046. type: integer
  7047. videourls:
  7048. description: 介绍视频[多张用逗号分隔]
  7049. type: string
  7050. required:
  7051. - goodscode
  7052. - goodsid
  7053. - goodsname
  7054. - marketid
  7055. - trademode
  7056. type: object
  7057. models.HybsMyBuyOrderDetail:
  7058. properties:
  7059. accountid:
  7060. description: 账户ID[报价币种]
  7061. type: integer
  7062. agreeunit:
  7063. description: 合约单位
  7064. type: number
  7065. buyorsell:
  7066. description: 买卖 - 0:买 1:卖
  7067. type: integer
  7068. cancelqty:
  7069. description: 撤单数量
  7070. type: integer
  7071. currencysign:
  7072. description: 货币符号
  7073. type: string
  7074. decimalplace:
  7075. description: 报价小数位
  7076. type: integer
  7077. goodscode:
  7078. description: 商品代码(内部)
  7079. type: string
  7080. goodsid:
  7081. description: 商品ID
  7082. type: integer
  7083. goodsname:
  7084. description: 商品名称
  7085. type: string
  7086. listingselecttype:
  7087. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7088. type: integer
  7089. marketid:
  7090. description: 市场ID
  7091. type: integer
  7092. mybuystatus:
  7093. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  7094. type: integer
  7095. orderamount:
  7096. description: 委托金额
  7097. type: number
  7098. orderid:
  7099. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7100. type: string
  7101. orderprice:
  7102. description: 委托价格
  7103. type: number
  7104. orderqty:
  7105. description: 委托数量
  7106. type: integer
  7107. orderstatus:
  7108. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7109. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7110. 16:成交失败违约(荷兰式竞拍专用)
  7111. type: integer
  7112. ordertime:
  7113. description: 委托时间
  7114. type: string
  7115. picurls1:
  7116. description: 预售商品介绍图片[多张用逗号分隔]
  7117. type: string
  7118. picurls2:
  7119. description: 挂牌商品介绍图片[多张用逗号分隔]
  7120. type: string
  7121. trademode:
  7122. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7123. 21:竞拍-大宗式 22:受托竞价
  7124. type: integer
  7125. tradeqty:
  7126. description: 成交数量
  7127. type: integer
  7128. vendorname1:
  7129. description: 预售商品供应商名称
  7130. type: string
  7131. vendorname2:
  7132. description: 挂牌商品供应商名称
  7133. type: string
  7134. required:
  7135. - accountid
  7136. - buyorsell
  7137. - goodscode
  7138. - goodsid
  7139. - goodsname
  7140. - marketid
  7141. - orderid
  7142. - orderqty
  7143. - ordertime
  7144. - trademode
  7145. type: object
  7146. models.Loginaccount:
  7147. properties:
  7148. canoutin:
  7149. description: 是否可出入金 - 0:不可 1:可
  7150. type: integer
  7151. clientroleid:
  7152. description: 终端角色ID
  7153. type: integer
  7154. haslogined:
  7155. description: 是否已登录 - 0:未登录 1:已登录
  7156. type: integer
  7157. hasupdatedpwd:
  7158. description: 是否已更改密码 - 0:未修改 1:已修改
  7159. type: integer
  7160. lastloginip:
  7161. description: 最新登录地址
  7162. type: string
  7163. lastloginmode:
  7164. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  7165. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7166. type: integer
  7167. lastloginremark:
  7168. description: 最新登录描述
  7169. type: string
  7170. lastlogintime:
  7171. description: 最新登录时间
  7172. type: string
  7173. logincode:
  7174. description: 登录代码
  7175. type: string
  7176. loginfailnum:
  7177. description: 连续登录失败次数(登录成功时清零)
  7178. type: integer
  7179. loginid:
  7180. description: 登陆账号
  7181. type: integer
  7182. loginport:
  7183. description: 最新登录端口
  7184. type: integer
  7185. loginstatus:
  7186. description: 登录账号状态 1:正常 2:冻结 3:无效
  7187. type: integer
  7188. loginusertype:
  7189. description: 登录账号类型 - 1:投资者 2:机构交易员
  7190. type: integer
  7191. modifierid:
  7192. description: 修改人
  7193. type: integer
  7194. modifytime:
  7195. description: 修改时间
  7196. type: string
  7197. pwdwrongcount:
  7198. description: 密码错误次数
  7199. type: integer
  7200. taaccountrighttype:
  7201. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  7202. type: integer
  7203. unfreezetime:
  7204. description: 账户解冻时间
  7205. type: string
  7206. userid:
  7207. description: 用户ID
  7208. type: integer
  7209. required:
  7210. - loginid
  7211. type: object
  7212. models.MainAccountInfo:
  7213. properties:
  7214. accountid:
  7215. description: 账号id
  7216. type: string
  7217. appid:
  7218. description: AppID
  7219. type: string
  7220. authcode:
  7221. description: 授权码
  7222. type: string
  7223. brokerid:
  7224. description: 经纪商id
  7225. type: string
  7226. fcid:
  7227. description: 期货公司id
  7228. type: integer
  7229. fcname:
  7230. description: 期货公司代码
  7231. type: string
  7232. hedgeaccountcode:
  7233. description: 外部账号代码
  7234. type: string
  7235. hedgeaccountpwd:
  7236. description: 密码
  7237. type: string
  7238. ismain:
  7239. description: 是否主账号
  7240. type: integer
  7241. relateduserid:
  7242. description: 关联用户id
  7243. type: integer
  7244. type: object
  7245. models.Market:
  7246. properties:
  7247. auctionwrtype:
  7248. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  7249. type: integer
  7250. canacceptquote:
  7251. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  7252. type: integer
  7253. cangoodsexercise:
  7254. description: '[期权]是否可现货行权- 0:否 1:是'
  7255. type: integer
  7256. cangoodsexercisetype:
  7257. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  7258. type: integer
  7259. canmanualquotestrike:
  7260. description: 是否可手动报行权价- 0:否 1:是 [期权]
  7261. type: integer
  7262. canmutistage:
  7263. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  7264. type: integer
  7265. canpreexercise:
  7266. description: '[期权]是否可预申报- 0:否 1:是'
  7267. type: integer
  7268. clearinterval:
  7269. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  7270. type: integer
  7271. contracttmp:
  7272. description: 合同模板[荷兰式][竞价式][仓单贸易]
  7273. type: string
  7274. exchareaid:
  7275. description: 所属交易所,可以没有
  7276. type: integer
  7277. goodstype:
  7278. description: 商品类型 - 1:交易商品 2:仓单商品
  7279. type: integer
  7280. hasrebate:
  7281. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  7282. type: integer
  7283. hastradecredit:
  7284. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  7285. type: integer
  7286. haswr:
  7287. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  7288. type: integer
  7289. isdeductmargin:
  7290. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  7291. type: integer
  7292. isrecordsource:
  7293. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  7294. type: integer
  7295. isreleasemargin:
  7296. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  7297. type: integer
  7298. marginformula:
  7299. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  7300. type: integer
  7301. marginformula2:
  7302. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  7303. type: integer
  7304. marketid:
  7305. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7306. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7307. type: integer
  7308. marketname:
  7309. description: 市场名称
  7310. type: string
  7311. marketserviceid:
  7312. description: 市场服务ID
  7313. type: integer
  7314. marketstatus:
  7315. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7316. type: integer
  7317. markettype:
  7318. description: 市场类型- 1:非交易服务 2:交易服务
  7319. type: integer
  7320. matchermode:
  7321. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  7322. type: integer
  7323. openmethod:
  7324. description: 开盘模式 - 0 自动 1手动
  7325. type: integer
  7326. otcuserid:
  7327. description: 场外期权做市商[场外期权]
  7328. type: integer
  7329. outersynctime:
  7330. description: 外部同步时间点(h24:mi:ss)[场外期权]
  7331. type: string
  7332. pendingflag:
  7333. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  7334. type: integer
  7335. pendingtime:
  7336. description: 待开市时间[通道交易-对冲](HH:mm)
  7337. type: string
  7338. performancetempid:
  7339. description: 履约计划模板ID - 作废
  7340. type: integer
  7341. premiumquotemode:
  7342. description: 权利金报价方式 - 1:自动 2:手动
  7343. type: integer
  7344. rebateratio:
  7345. description: 返利比率[竞价式]
  7346. type: number
  7347. reckonorder:
  7348. description: 结算顺序
  7349. type: integer
  7350. reckonpricealgorithm:
  7351. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  7352. 6.卖一价 7.买一卖一均价 8.外部结算价'
  7353. type: integer
  7354. reckonpriceparam:
  7355. description: 结算价参数
  7356. type: integer
  7357. reckontime:
  7358. description: 结算时间[通道交易-对冲](HH:mm)
  7359. type: string
  7360. roleprioritytype:
  7361. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  7362. type: integer
  7363. selllistingauditflag:
  7364. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  7365. type: integer
  7366. trademarkettype:
  7367. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  7368. type: integer
  7369. trademode:
  7370. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7371. 21:竞拍-大宗式 22:受托竞价
  7372. type: integer
  7373. tradeproperty:
  7374. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  7375. 8:场外期权
  7376. type: integer
  7377. tradetype:
  7378. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  7379. type: integer
  7380. required:
  7381. - marketid
  7382. - marketstatus
  7383. - openmethod
  7384. - reckonpricealgorithm
  7385. - trademode
  7386. - tradeproperty
  7387. type: object
  7388. models.Marketrun:
  7389. properties:
  7390. afternexttradedate:
  7391. description: 下下交易日
  7392. type: string
  7393. clearquoteflag:
  7394. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  7395. type: integer
  7396. lastreckondate:
  7397. description: 最新交易日(结算成功)
  7398. type: string
  7399. machinedate:
  7400. description: 机器时间
  7401. type: string
  7402. manualflag:
  7403. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  7404. type: integer
  7405. marketid:
  7406. description: 市场ID
  7407. type: integer
  7408. nexttradedate:
  7409. description: 下一交易日
  7410. type: string
  7411. pretradedate:
  7412. description: 上一交易日
  7413. type: string
  7414. reckonflag:
  7415. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  7416. type: integer
  7417. runstatus:
  7418. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  7419. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  7420. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  7421. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  7422. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  7423. 62.今日免清算
  7424. type: integer
  7425. sectionid:
  7426. description: 时间段号[多时段时用]
  7427. type: integer
  7428. tradedate:
  7429. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  7430. type: string
  7431. tradedate2:
  7432. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  7433. type: string
  7434. updatetime:
  7435. description: 更新时间
  7436. type: string
  7437. required:
  7438. - marketid
  7439. - nexttradedate
  7440. - reckonflag
  7441. - runstatus
  7442. - tradedate
  7443. - tradedate2
  7444. type: object
  7445. models.Messageboard:
  7446. properties:
  7447. contactnum:
  7448. description: 联系电话
  7449. type: string
  7450. createtime:
  7451. description: 创建时间
  7452. type: string
  7453. message:
  7454. description: 留言信息
  7455. type: string
  7456. messageboardid:
  7457. description: 留言簿ID(SEQ_MessageBoard)
  7458. type: integer
  7459. userid:
  7460. description: 用户ID
  7461. type: integer
  7462. required:
  7463. - messageboardid
  7464. type: object
  7465. models.MyCoupon:
  7466. properties:
  7467. accountid:
  7468. description: 资金账户ID
  7469. type: integer
  7470. areauserid:
  7471. description: 所属机构
  7472. type: integer
  7473. conditionvalue:
  7474. description: 条件阈值(可为0)
  7475. type: number
  7476. couponcategroy:
  7477. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  7478. type: integer
  7479. couponname:
  7480. description: 优惠券名称
  7481. type: string
  7482. coupontypeid:
  7483. description: 优惠券类型ID
  7484. type: string
  7485. couponvalue:
  7486. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  7487. type: number
  7488. curfreezeqty:
  7489. description: 期末冻结数量
  7490. type: integer
  7491. curqty:
  7492. description: 期末数量
  7493. type: integer
  7494. isgeneral:
  7495. description: 是否通用券 - 0:否 1:是
  7496. type: integer
  7497. isunusable:
  7498. description: 是否不可用
  7499. type: boolean
  7500. limitedflag:
  7501. description: 是否指定商品 - 0:不限 1:限制
  7502. type: integer
  7503. limitedgoodsids:
  7504. description: 指定商品IDs[逗号分隔,前后加逗号]
  7505. type: string
  7506. orifreezeqty:
  7507. description: 期初冻结数量
  7508. type: integer
  7509. oriqty:
  7510. description: 期初数量
  7511. type: integer
  7512. reasontype:
  7513. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  7514. type: integer
  7515. todaydecrease:
  7516. description: 今日减少
  7517. type: integer
  7518. todayincrease:
  7519. description: 今日增加
  7520. type: integer
  7521. userid:
  7522. description: 用户ID
  7523. type: integer
  7524. userscope:
  7525. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  7526. type: string
  7527. required:
  7528. - accountid
  7529. - coupontypeid
  7530. type: object
  7531. models.MyCouponHold:
  7532. properties:
  7533. accountid:
  7534. description: 资金账户ID
  7535. type: integer
  7536. conditionvalue:
  7537. description: 条件阈值(可为0)
  7538. type: number
  7539. couponcategroy:
  7540. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  7541. type: integer
  7542. couponholdid:
  7543. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  7544. type: string
  7545. couponname:
  7546. description: 优惠券名称
  7547. type: string
  7548. coupontypeid:
  7549. description: 优惠券类型ID - SEQ_COUPONTYPE
  7550. type: string
  7551. couponvalue:
  7552. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  7553. type: number
  7554. createtime:
  7555. description: 创建时间
  7556. type: string
  7557. enddate:
  7558. description: 结束日期
  7559. type: string
  7560. giveapplyid:
  7561. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  7562. type: integer
  7563. holdstatus:
  7564. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  7565. type: integer
  7566. isgeneral:
  7567. description: 是否通用券 - 0:否 1:是
  7568. type: integer
  7569. limitedflag:
  7570. description: 是否指定商品 - 0:不限 1:限制
  7571. type: integer
  7572. limitedgoodsids:
  7573. description: 指定商品IDs[逗号分隔]
  7574. type: string
  7575. qty:
  7576. description: 数量(按1平铺)
  7577. type: integer
  7578. startdate:
  7579. description: 开始日期
  7580. type: string
  7581. userid:
  7582. description: 用户ID
  7583. type: integer
  7584. userscope:
  7585. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  7586. type: string
  7587. required:
  7588. - couponholdid
  7589. type: object
  7590. models.MyUsedCoupon:
  7591. properties:
  7592. accountid:
  7593. description: 资金账户ID(买方)
  7594. type: integer
  7595. conditionvalue:
  7596. description: 条件阈值(可为0)
  7597. type: number
  7598. couponcategroy:
  7599. description: 种类 - 1:现金券 2:折扣券
  7600. type: integer
  7601. couponname:
  7602. description: 优惠券名称
  7603. type: string
  7604. coupontypeid:
  7605. description: 优惠券类型ID(买方)
  7606. type: string
  7607. couponvalue:
  7608. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  7609. type: number
  7610. createtime:
  7611. description: 创建时间
  7612. type: string
  7613. goodsid:
  7614. description: 商品ID
  7615. type: integer
  7616. handlestatus:
  7617. description: 处理状态
  7618. type: integer
  7619. marketid:
  7620. description: 市场ID
  7621. type: integer
  7622. offamount:
  7623. description: 优惠金额
  7624. type: number
  7625. orderid:
  7626. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7627. type: string
  7628. sellaccountid:
  7629. description: 资金账户ID(卖方)
  7630. type: integer
  7631. tradeamount:
  7632. description: 成交金额
  7633. type: number
  7634. tradeid:
  7635. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7636. type: string
  7637. usedqty:
  7638. description: 使用数量
  7639. type: integer
  7640. required:
  7641. - coupontypeid
  7642. - orderid
  7643. type: object
  7644. models.OperationPrimaryMenu:
  7645. properties:
  7646. Children:
  7647. description: 二级功能菜单
  7648. items:
  7649. $ref: '#/definitions/models.OperationSecondaryMenu'
  7650. type: array
  7651. Key:
  7652. description: 菜单KEY
  7653. type: string
  7654. Label:
  7655. description: 菜单标题
  7656. type: string
  7657. type: object
  7658. models.OperationSecondaryMenu:
  7659. properties:
  7660. Key:
  7661. description: 菜单KEY
  7662. type: string
  7663. Label:
  7664. description: 菜单标题
  7665. type: string
  7666. TabList:
  7667. description: 三级功能菜单
  7668. items:
  7669. $ref: '#/definitions/models.OperationTabMenu'
  7670. type: array
  7671. type: object
  7672. models.OperationTabMenu:
  7673. properties:
  7674. Key:
  7675. description: 菜单KEY
  7676. type: string
  7677. Label:
  7678. description: 菜单标题
  7679. type: string
  7680. type: object
  7681. models.QueryErrorInfosRsp:
  7682. properties:
  7683. description:
  7684. description: 异常描述
  7685. type: string
  7686. errorcode:
  7687. description: 异常代码
  7688. type: string
  7689. errorid:
  7690. description: 异常ID
  7691. type: integer
  7692. modulecode:
  7693. description: 所属模块
  7694. type: string
  7695. operatecode:
  7696. description: 所属操作
  7697. type: string
  7698. rownumber:
  7699. description: 行号
  7700. type: string
  7701. required:
  7702. - errorid
  7703. type: object
  7704. models.QueryHedgeOrderDetailRsp:
  7705. properties:
  7706. accountid:
  7707. description: 账户ID
  7708. type: integer
  7709. buyorsell:
  7710. description: 买卖 - 0:买 1:卖
  7711. type: integer
  7712. cancellogincode:
  7713. description: 撤单人
  7714. type: string
  7715. channelbuildtype:
  7716. description: 开平标志 - 0:无 1:建仓 2:平仓
  7717. type: integer
  7718. channelinnerorderstatus:
  7719. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  7720. 9:全部成交
  7721. type: integer
  7722. channeloperatetype:
  7723. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  7724. type: integer
  7725. closetype:
  7726. description: 平仓方式 - 0:无 1:平今 2:平昨
  7727. type: integer
  7728. curexchangerate:
  7729. description: 当前汇率
  7730. type: number
  7731. exchangefullname:
  7732. description: 外部交易所全称
  7733. type: string
  7734. goodscode:
  7735. description: 商品代码(内部)
  7736. type: string
  7737. goodsid:
  7738. description: 商品ID
  7739. type: integer
  7740. goodsname:
  7741. description: 商品名称
  7742. type: string
  7743. marketid:
  7744. description: 市场ID
  7745. type: integer
  7746. openfreezemargin:
  7747. description: 冻结保证金(冻结交易金额)
  7748. type: number
  7749. orderid:
  7750. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7751. type: string
  7752. orderlogincode:
  7753. description: 委托人
  7754. type: string
  7755. orderprice:
  7756. description: 委托价格(账户)
  7757. type: number
  7758. orderqty:
  7759. description: 委托数量
  7760. type: integer
  7761. ordertime:
  7762. description: 委托时间
  7763. type: string
  7764. pricemode:
  7765. description: '取价方式 - 1:市价 2: 限价'
  7766. type: integer
  7767. tradedate:
  7768. description: 交易日(yyyyMMdd)
  7769. type: string
  7770. tradeqty:
  7771. description: 成交数量
  7772. type: integer
  7773. type: object
  7774. models.QueryHedgeTradeDetailRsp:
  7775. properties:
  7776. accountid:
  7777. description: 账号ID
  7778. type: integer
  7779. buyorsell:
  7780. description: 方向 - 0:买 1:卖
  7781. type: integer
  7782. channelbuildtype:
  7783. description: 委托单据类型 0:无 1:建仓 2:平仓
  7784. type: integer
  7785. closecharge:
  7786. description: 平仓手续费(账户)
  7787. type: number
  7788. closecharge2:
  7789. description: 平仓手续费(商品)
  7790. type: number
  7791. closepl:
  7792. description: 平仓盈亏(账户)
  7793. type: number
  7794. closepl2:
  7795. description: 平仓盈亏(商品)
  7796. type: number
  7797. closepl3:
  7798. description: 平仓盈亏(账户)(逐笔)
  7799. type: number
  7800. closepl4:
  7801. description: 平仓盈亏(商品)(逐笔)
  7802. type: number
  7803. closetype:
  7804. description: 平仓方式 - 0:无 1:平今 2:平昨
  7805. type: integer
  7806. curexchangerate:
  7807. description: 当前汇率
  7808. type: number
  7809. exchangefullname:
  7810. description: 外部交易所全称
  7811. type: string
  7812. goodscode:
  7813. description: 商品代码(内部)
  7814. type: string
  7815. goodsid:
  7816. description: 商品ID
  7817. type: integer
  7818. goodsname:
  7819. description: 商品名称
  7820. type: string
  7821. marketid:
  7822. description: 市场ID
  7823. type: integer
  7824. opencharge:
  7825. description: 建仓手续费(账户)
  7826. type: number
  7827. opencharge2:
  7828. description: 建仓手续费(商品)
  7829. type: number
  7830. orderid:
  7831. description: 委托单号
  7832. type: string
  7833. orderlogincode:
  7834. description: 委托人
  7835. type: string
  7836. tradeamount:
  7837. description: 成交金额(账户)
  7838. type: number
  7839. tradedate:
  7840. description: 交易日(yyyyMMdd)
  7841. type: string
  7842. tradeid:
  7843. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7844. type: string
  7845. tradeprice:
  7846. description: 成交价格
  7847. type: number
  7848. tradeqty:
  7849. description: 成交数量
  7850. type: integer
  7851. tradetime:
  7852. description: 成交时间
  7853. type: string
  7854. tradetype:
  7855. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  7856. type: integer
  7857. type: object
  7858. models.QuotePrimaryMenu:
  7859. properties:
  7860. Index:
  7861. description: 序号
  7862. type: integer
  7863. Key:
  7864. description: 键名
  7865. type: string
  7866. Name:
  7867. description: 菜单名称
  7868. type: string
  7869. SubMenus:
  7870. description: 子菜单
  7871. items:
  7872. $ref: '#/definitions/models.QuoteSecondaryMenu'
  7873. type: array
  7874. SubTitleType:
  7875. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  7876. type: integer
  7877. TradeModes:
  7878. description: 包含市场交易类型
  7879. type: string
  7880. type: object
  7881. models.QuoteSecondaryMenu:
  7882. properties:
  7883. ExExchangeCode:
  7884. description: 外部交易所代码
  7885. type: string
  7886. ExExchangeID:
  7887. description: 外部交易所ID
  7888. type: integer
  7889. GoodsGroupIDs:
  7890. description: 商品组ID列表
  7891. items:
  7892. type: integer
  7893. type: array
  7894. Index:
  7895. description: 序号
  7896. type: integer
  7897. MarketID:
  7898. description: 市场ID
  7899. type: integer
  7900. MenuTitle:
  7901. description: 菜单标题(市场名称或外部交易所名称)
  7902. type: string
  7903. TradeMode:
  7904. description: 交易模式
  7905. type: integer
  7906. type: object
  7907. models.RelatedGoodsEx:
  7908. properties:
  7909. goodscode:
  7910. description: 商品代码
  7911. type: string
  7912. goodsid:
  7913. description: 商品id
  7914. type: integer
  7915. goodsname:
  7916. description: 商品名称
  7917. type: string
  7918. type: object
  7919. models.SearchGoods:
  7920. properties:
  7921. goodscode:
  7922. description: 商品代码(内部)
  7923. type: string
  7924. goodsid:
  7925. description: 商品ID(自增ID SEQ_GOODS)
  7926. type: integer
  7927. goodsname:
  7928. description: 商品名称
  7929. type: string
  7930. marketid:
  7931. description: 所属市场ID
  7932. type: integer
  7933. marketname:
  7934. description: 市场名称
  7935. type: string
  7936. trademode:
  7937. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7938. 21:竞拍-大宗式 22:受托竞价
  7939. type: integer
  7940. required:
  7941. - goodscode
  7942. - goodsid
  7943. - goodsname
  7944. - marketid
  7945. - trademode
  7946. type: object
  7947. models.Systemparam:
  7948. properties:
  7949. loginid:
  7950. description: 更新用户账号,登录账号
  7951. type: string
  7952. modifyflag:
  7953. description: 修改标志0 不允许修改 1 允许修改
  7954. type: integer
  7955. paramcode:
  7956. description: 参数代码
  7957. type: string
  7958. paramname:
  7959. description: 参数名
  7960. type: string
  7961. paramtype:
  7962. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  7963. type: integer
  7964. paramvalue:
  7965. description: 参数值
  7966. type: string
  7967. paramvalue2:
  7968. description: 参数值(CLOB)
  7969. type: string
  7970. regexpress:
  7971. description: 正则表达式
  7972. type: string
  7973. remark:
  7974. description: 备注
  7975. type: string
  7976. serverip:
  7977. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  7978. type: string
  7979. showflag:
  7980. description: 是否显示0 不显示 1 显示
  7981. type: integer
  7982. updatetime:
  7983. description: 更新时间
  7984. type: string
  7985. userid:
  7986. description: 更新用户ID
  7987. type: integer
  7988. required:
  7989. - paramcode
  7990. type: object
  7991. models.Szdz3convertconfig:
  7992. properties:
  7993. canin:
  7994. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  7995. type: integer
  7996. canout:
  7997. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  7998. type: integer
  7999. converttype:
  8000. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  8001. 6:交易转花生米(不设置)
  8002. type: integer
  8003. createtime:
  8004. description: 创建时间
  8005. type: string
  8006. creatorid:
  8007. description: 创建人
  8008. type: integer
  8009. daymaxvalue:
  8010. description: 当日最大转入限制
  8011. type: number
  8012. freezedays:
  8013. description: 冻结天数 [5:花生米转交易]
  8014. type: integer
  8015. innergoodsid:
  8016. description: 内部商品ID[交易]
  8017. type: integer
  8018. inratio:
  8019. description: 目标值
  8020. type: integer
  8021. modifierid:
  8022. description: 修改人
  8023. type: integer
  8024. modifytime:
  8025. description: 修改时间
  8026. type: string
  8027. outergoodscode:
  8028. description: 外部商品代码[JD\PD]
  8029. type: string
  8030. outratio:
  8031. description: 源值
  8032. type: integer
  8033. pddecimalplace:
  8034. description: PD小数位
  8035. type: integer
  8036. timemaxvalue:
  8037. description: 单次最大转入限制
  8038. type: number
  8039. timeminvalue:
  8040. description: 单次最小转入限制
  8041. type: number
  8042. required:
  8043. - converttype
  8044. - innergoodsid
  8045. - outergoodscode
  8046. type: object
  8047. models.Szdz3searchwhitelist:
  8048. properties:
  8049. createtime:
  8050. description: 创建时间
  8051. type: string
  8052. creatorid:
  8053. description: 创建人
  8054. type: integer
  8055. modifierid:
  8056. description: 修改人
  8057. type: integer
  8058. modifytime:
  8059. description: 修改时间
  8060. type: string
  8061. userid:
  8062. description: 用户ID
  8063. type: integer
  8064. required:
  8065. - userid
  8066. type: object
  8067. models.Taaccount:
  8068. properties:
  8069. accountflag:
  8070. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  8071. type: integer
  8072. accountid:
  8073. description: 资金账户ID
  8074. type: integer
  8075. accountname:
  8076. description: 账户名称
  8077. type: string
  8078. balance:
  8079. description: 期初余额
  8080. type: number
  8081. capitalbalance:
  8082. description: 本金余额[外部子账户实际出入金余额]
  8083. type: number
  8084. changeflag:
  8085. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  8086. type: integer
  8087. changetime:
  8088. description: 账户状态变更时间
  8089. type: string
  8090. closepl:
  8091. description: 今日平仓盈亏
  8092. type: number
  8093. creditdecrease:
  8094. description: 今日授信减少
  8095. type: number
  8096. creditincrease:
  8097. description: 今日授信增加
  8098. type: number
  8099. currencyid:
  8100. description: 货币ID
  8101. type: integer
  8102. currentbalance:
  8103. description: 期末余额
  8104. type: number
  8105. freezecharge:
  8106. description: 手续费冻结
  8107. type: number
  8108. freezemargin:
  8109. description: 冻结保证金
  8110. type: number
  8111. fromaccountid:
  8112. description: 所属上级账户
  8113. type: integer
  8114. inamount:
  8115. description: 今日入金金额(包括三方入金)
  8116. type: number
  8117. ismain:
  8118. description: 是否母账号 0:不是母账户 1:是母账户
  8119. type: integer
  8120. ismarketaccount:
  8121. description: 是否机构接单账号 0:不是 1:是
  8122. type: integer
  8123. isreckonaccount:
  8124. description: 是否机构分润账号 0:不是 1:是
  8125. type: integer
  8126. mortgagecredit:
  8127. description: 授信金额
  8128. type: number
  8129. orifreezecharge:
  8130. description: 期初手续费冻结
  8131. type: number
  8132. orifreezemargin:
  8133. description: 期初冻结保证金
  8134. type: number
  8135. orimortgagecredit:
  8136. description: 期初授信金额
  8137. type: number
  8138. oriothercredit:
  8139. description: 期初其它授信金额
  8140. type: number
  8141. oriotherfreezemargin:
  8142. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8143. type: number
  8144. orioutamountfreeze:
  8145. description: 期初出金冻结
  8146. type: number
  8147. oriusedmargin:
  8148. description: 期初占用保证金
  8149. type: number
  8150. othercredit:
  8151. description: 其它授信金额
  8152. type: number
  8153. othercreditdecrease:
  8154. description: 今日其它授信减少
  8155. type: number
  8156. othercreditincrease:
  8157. description: 今日其它授信增加
  8158. type: number
  8159. otherfreezemargin:
  8160. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8161. type: number
  8162. otherincome:
  8163. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  8164. type: number
  8165. otherpay:
  8166. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  8167. type: number
  8168. outamount:
  8169. description: 今日出金金额(包括三方出金)
  8170. type: number
  8171. outamountfreeze:
  8172. description: 出金冻结
  8173. type: number
  8174. outthreshold:
  8175. description: 出金阈值
  8176. type: number
  8177. parentaccountid:
  8178. description: 所属根账号
  8179. type: integer
  8180. paycharge:
  8181. description: 今日手续费支出
  8182. type: number
  8183. relatedaccountstatus:
  8184. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  8185. type: integer
  8186. relateduserid:
  8187. description: 关联用户
  8188. type: integer
  8189. serivcegroup:
  8190. description: 服务分组
  8191. type: integer
  8192. signstatus:
  8193. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8194. type: integer
  8195. sublevelpath:
  8196. description: 账号层级路径(逗号分隔,首尾加逗号)
  8197. type: string
  8198. taaccounttype:
  8199. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8200. type: integer
  8201. thirdinamount:
  8202. description: 今日三方入金
  8203. type: number
  8204. thirdoutamount:
  8205. description: 今日三方出金
  8206. type: number
  8207. tradestatus:
  8208. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8209. type: integer
  8210. tradestatuschangetime:
  8211. description: 激活时间
  8212. type: string
  8213. transferamount:
  8214. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8215. type: number
  8216. usedmargin:
  8217. description: 占用保证金
  8218. type: number
  8219. userid:
  8220. description: 用户ID
  8221. type: integer
  8222. required:
  8223. - accountid
  8224. - userid
  8225. type: object
  8226. models.Tablecolumnconfig:
  8227. properties:
  8228. aligntype:
  8229. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  8230. type: integer
  8231. autoid:
  8232. description: AutoID
  8233. type: integer
  8234. columnfield:
  8235. description: 列字段
  8236. type: string
  8237. columntitle:
  8238. description: 列Title
  8239. type: string
  8240. columnwidth:
  8241. description: 列宽
  8242. type: string
  8243. formatterstring:
  8244. description: 格式化字符
  8245. type: string
  8246. formattertype:
  8247. description: 格式化类型
  8248. type: string
  8249. groupname:
  8250. description: 表头分组名称
  8251. type: string
  8252. isshow:
  8253. description: 是否显示 - 0:不显示 1:显示
  8254. type: integer
  8255. needsummary:
  8256. description: 是否需要汇总 - 0:不需要 1:需要
  8257. type: integer
  8258. orderindex:
  8259. description: 顺序
  8260. type: integer
  8261. remark:
  8262. description: 备注
  8263. type: string
  8264. summarytype:
  8265. description: 汇总类型 - 1:加总 2:最后一个
  8266. type: integer
  8267. tablekey:
  8268. description: 列表Key
  8269. type: string
  8270. required:
  8271. - autoid
  8272. type: object
  8273. models.Useraccount:
  8274. properties:
  8275. accountname:
  8276. description: 账户名称(机构名称)
  8277. type: string
  8278. accountstatus:
  8279. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  8280. type: integer
  8281. auditremark:
  8282. description: 审核备注
  8283. type: string
  8284. audittime:
  8285. description: 审核时间
  8286. type: string
  8287. audituserid:
  8288. description: 审核人
  8289. type: integer
  8290. broker:
  8291. description: 所属经纪人ID
  8292. type: integer
  8293. canceltime:
  8294. description: 销户时间
  8295. type: string
  8296. canceluserid:
  8297. description: 销户人
  8298. type: integer
  8299. createtime:
  8300. description: 创建时间
  8301. type: string
  8302. creatorid:
  8303. description: 创建人
  8304. type: integer
  8305. hasauth:
  8306. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  8307. type: integer
  8308. isanonymous:
  8309. description: 是否匿名下单 - 0:否 1:是
  8310. type: integer
  8311. maxinvestornum:
  8312. description: 最大用户数(经纪会员下投资者个数)
  8313. type: integer
  8314. memberuserid:
  8315. description: 所属会员ID
  8316. type: integer
  8317. modifierid:
  8318. description: 修改人
  8319. type: integer
  8320. modifyremark:
  8321. description: 变更备注
  8322. type: string
  8323. modifystatus:
  8324. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  8325. type: integer
  8326. modifytime:
  8327. description: 修改时间
  8328. type: string
  8329. parentuserid:
  8330. description: 所属机构ID
  8331. type: integer
  8332. reckonaccountid:
  8333. description: 默认结算资金账号ID(机构分润使用) 作废
  8334. type: integer
  8335. refercount:
  8336. description: 推荐总人数
  8337. type: integer
  8338. refereeuserid:
  8339. description: 推荐人ID
  8340. type: integer
  8341. refernum:
  8342. description: 推荐码
  8343. type: string
  8344. subarealevelpath:
  8345. description: 子机构层级路径(逗号分隔,首尾加逗号)
  8346. type: string
  8347. userid:
  8348. description: 用户ID
  8349. type: integer
  8350. usertype:
  8351. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  8352. type: integer
  8353. required:
  8354. - userid
  8355. type: object
  8356. models.Userfavoritegoods:
  8357. properties:
  8358. goodsid:
  8359. description: 商品ID
  8360. type: integer
  8361. required:
  8362. - goodsid
  8363. type: object
  8364. models.Userinfo:
  8365. properties:
  8366. address:
  8367. description: 地址
  8368. type: string
  8369. attachment1:
  8370. description: 附件1
  8371. type: string
  8372. attachment2:
  8373. description: 附件2
  8374. type: string
  8375. bankaccount:
  8376. description: 银行帐号 (加密存储)
  8377. type: string
  8378. bankaccountname:
  8379. description: 收款人名称
  8380. type: string
  8381. bankcardfrontphotourl:
  8382. description: 银行卡正面照地址
  8383. type: string
  8384. bankid:
  8385. description: 银行编码
  8386. type: string
  8387. bankname:
  8388. description: 银行名称
  8389. type: string
  8390. biznature:
  8391. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  8392. type: integer
  8393. bizscope:
  8394. description: 企业经营范围(企业)
  8395. type: string
  8396. cardbackphotourl:
  8397. description: 证件背面图片地址
  8398. type: string
  8399. cardfrontphotourl:
  8400. description: 证件正面图片地址
  8401. type: string
  8402. cardnum:
  8403. description: 证件号码(加密存储)
  8404. type: string
  8405. cardtypeid:
  8406. description: 证件类型ID
  8407. type: integer
  8408. cityid:
  8409. description: 市
  8410. type: integer
  8411. company:
  8412. description: 公司(个人)
  8413. type: string
  8414. contactname:
  8415. description: 联系人
  8416. type: string
  8417. countryid:
  8418. description: 国家
  8419. type: integer
  8420. createtime:
  8421. description: 创建时间
  8422. type: string
  8423. creatorid:
  8424. description: 创建人
  8425. type: integer
  8426. customername:
  8427. description: 客户名称(企业名称)
  8428. type: string
  8429. districtid:
  8430. description: 地区
  8431. type: integer
  8432. email:
  8433. description: 邮件(加密存储)
  8434. type: string
  8435. fax:
  8436. description: 传真(加密存储)
  8437. type: string
  8438. halfbodyphotourl:
  8439. description: 半身照地址
  8440. type: string
  8441. hasencrypt:
  8442. description: 数据是否已加密 - 0:未加密 1:已加密
  8443. type: integer
  8444. headurl:
  8445. description: 头像地址
  8446. type: string
  8447. legalcardbackphotourl:
  8448. description: 法人身份证背面照地址
  8449. type: string
  8450. legalcardfrontphotourl:
  8451. description: 法人身份证正面照地址
  8452. type: string
  8453. legalpersonname:
  8454. description: 法人姓名(企业)
  8455. type: string
  8456. mobile:
  8457. description: 手机号码(加密存储)
  8458. type: string
  8459. mobile2:
  8460. description: 手机号码[明文-尚志]
  8461. type: string
  8462. modifierid:
  8463. description: 修改人
  8464. type: integer
  8465. modifiertime:
  8466. description: 修改时间
  8467. type: string
  8468. needinvoice:
  8469. description: 是否需要发票 - 0:不需要 1:需要
  8470. type: integer
  8471. nickname:
  8472. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  8473. type: string
  8474. openmode:
  8475. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  8476. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  8477. type: integer
  8478. otherurl:
  8479. description: 其它图片地址[使用分号分隔]
  8480. type: string
  8481. postalcode:
  8482. description: 邮政编码
  8483. type: string
  8484. provinceid:
  8485. description: 省
  8486. type: integer
  8487. qq:
  8488. description: QQ(加密存储
  8489. type: string
  8490. remark:
  8491. description: 备注
  8492. type: string
  8493. sex:
  8494. description: '用户性别 0: 女 1: 男'
  8495. type: integer
  8496. signpdfurl:
  8497. description: 签约pdf文件
  8498. type: string
  8499. telphone:
  8500. description: 联系电话(加密存储)
  8501. type: string
  8502. userid:
  8503. description: 用户ID
  8504. type: integer
  8505. userinfotype:
  8506. description: 用户信息类型 - 1:个人 2:企业
  8507. type: integer
  8508. userstatus:
  8509. description: 用户状态 - 1:正常 2:注销
  8510. type: integer
  8511. usertype:
  8512. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  8513. type: integer
  8514. wechat:
  8515. description: 微信(加密存储)
  8516. type: string
  8517. wskhinfo:
  8518. description: 开户申请信息(JSON)
  8519. type: string
  8520. required:
  8521. - userid
  8522. type: object
  8523. models.WRCategoryTree:
  8524. properties:
  8525. areauserid:
  8526. description: 所属机构
  8527. type: integer
  8528. categorydesc:
  8529. description: 类别描述
  8530. type: string
  8531. categoryid:
  8532. description: 类别ID(SEQ_WRCATEGORY)
  8533. type: integer
  8534. categoryname:
  8535. description: 类别名称
  8536. type: string
  8537. iconurl:
  8538. description: 图标地址
  8539. type: string
  8540. orderindex:
  8541. description: 顺序
  8542. type: integer
  8543. parentcategoryid:
  8544. description: 父类别ID
  8545. type: integer
  8546. subcategory:
  8547. description: 子分类
  8548. items:
  8549. $ref: '#/definitions/models.WRCategoryTree'
  8550. type: array
  8551. required:
  8552. - categoryid
  8553. type: object
  8554. models.WRSConverTDetail:
  8555. properties:
  8556. convertratio:
  8557. description: 套保系数
  8558. type: number
  8559. deliverygoodsid:
  8560. description: 现货品种ID
  8561. type: integer
  8562. enumdicname:
  8563. description: 单位名称
  8564. type: string
  8565. goodsunitid:
  8566. description: 套保品种单位id
  8567. type: integer
  8568. middlegoodscode:
  8569. description: 套保品种代码
  8570. type: string
  8571. middlegoodsid:
  8572. description: 套保品种ID
  8573. type: integer
  8574. middlegoodsname:
  8575. description: 套保品种名称
  8576. type: string
  8577. modifytime:
  8578. description: 修改时间
  8579. type: string
  8580. wrstandardid:
  8581. description: 现货商品ID
  8582. type: integer
  8583. type: object
  8584. models.WRStandardInfo:
  8585. properties:
  8586. createtime:
  8587. description: 创建时间
  8588. type: string
  8589. creatorid:
  8590. description: 创建人
  8591. type: integer
  8592. deliverygoodsid:
  8593. description: 品种ID
  8594. type: integer
  8595. deliverygoodsname:
  8596. description: 交割商品名称
  8597. type: string
  8598. factoryitemjson:
  8599. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  8600. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  8601. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  8602. 逗号分隔'
  8603. type: string
  8604. isvalid:
  8605. description: 是否有效 - 0:无效 1:有效
  8606. type: integer
  8607. minivalue:
  8608. description: 最小变动值
  8609. type: integer
  8610. minivaluedp:
  8611. description: 最小变动值小数位
  8612. type: integer
  8613. realminivalue:
  8614. description: 实际最小变动值
  8615. type: integer
  8616. realminivaluedp:
  8617. description: 实际最小变动值小数位
  8618. type: integer
  8619. unitid:
  8620. description: 单位ID
  8621. type: integer
  8622. unitname:
  8623. description: 单位
  8624. type: string
  8625. updatetime:
  8626. description: 更新时间
  8627. type: string
  8628. updatorid:
  8629. description: 更新人
  8630. type: integer
  8631. wrsstatus:
  8632. description: 状态 - 作废 - 0:未激活 1:正常
  8633. type: integer
  8634. wrstandardcode:
  8635. description: 仓单标准代码
  8636. type: string
  8637. wrstandardid:
  8638. description: 仓单标准ID(SEQ_WRSTANDARD)
  8639. type: integer
  8640. wrstandardname:
  8641. description: 仓单标准名称
  8642. type: string
  8643. required:
  8644. - wrstandardid
  8645. type: object
  8646. models.Warehouseinfo:
  8647. properties:
  8648. address:
  8649. description: 详细地址
  8650. type: string
  8651. areauserid:
  8652. description: 所属机构
  8653. type: integer
  8654. autoid:
  8655. description: 自增ID
  8656. type: integer
  8657. cityid:
  8658. description: 市
  8659. type: integer
  8660. contactname:
  8661. description: 联系人
  8662. type: string
  8663. contactnum:
  8664. description: 联系电话
  8665. type: string
  8666. countryid:
  8667. description: 国家
  8668. type: integer
  8669. createtime:
  8670. description: 创建时间
  8671. type: string
  8672. districtid:
  8673. description: 区
  8674. type: integer
  8675. hasvideo:
  8676. description: 是否有视频 - 0:无 1:有
  8677. type: integer
  8678. provinceid:
  8679. description: 省
  8680. type: integer
  8681. remark:
  8682. description: 审核备注
  8683. type: string
  8684. videourl:
  8685. description: 视频地址
  8686. type: string
  8687. warehousecode:
  8688. description: 仓库代码
  8689. type: string
  8690. warehousename:
  8691. description: 仓库名称
  8692. type: string
  8693. warehousestatus:
  8694. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  8695. type: integer
  8696. warehousetype:
  8697. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  8698. type: integer
  8699. required:
  8700. - autoid
  8701. - warehousecode
  8702. type: object
  8703. order.QueryHisTradeDetailRsp:
  8704. properties:
  8705. accountid:
  8706. description: 账户ID[报价币种]
  8707. type: integer
  8708. buildtype:
  8709. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  8710. type: integer
  8711. buyorsell:
  8712. description: 方向 - 0:买 1:卖
  8713. type: integer
  8714. charge:
  8715. description: 手续费
  8716. type: number
  8717. closecharge:
  8718. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8719. type: number
  8720. closeexchagechargevalue:
  8721. description: 平仓交易所手续费设置值
  8722. type: number
  8723. closefeealgorithm:
  8724. description: 平仓手续费收取方式 1:比率 2:固定
  8725. type: integer
  8726. closememberchargevalue:
  8727. description: 平仓会员手续费设置值
  8728. type: number
  8729. closepl:
  8730. description: 平仓盈亏
  8731. type: number
  8732. closepl2:
  8733. description: 平仓盈亏[逐笔]
  8734. type: number
  8735. closeqty:
  8736. description: 平仓数量(先建后平操作 需要记录)
  8737. type: integer
  8738. creditamount:
  8739. description: 授信金额
  8740. type: number
  8741. gcaccountid:
  8742. description: 账户ID[合约币种]
  8743. type: integer
  8744. goodscode:
  8745. description: 商品代码
  8746. type: string
  8747. goodsid:
  8748. description: 商品ID
  8749. type: integer
  8750. goodsname:
  8751. description: 商品名称
  8752. type: string
  8753. histradedate:
  8754. description: 历史交易日
  8755. type: string
  8756. intclosepl:
  8757. description: 整型盈亏(用于交易结算试算平衡-收益权)
  8758. type: integer
  8759. isconfirmexercise:
  8760. description: 是否确认行权- 0:否 1:是
  8761. type: integer
  8762. ismain:
  8763. description: 是否主单 - 0:不是 1:是
  8764. type: integer
  8765. ispreexercise:
  8766. description: 是否预申报- 0:否 1:是
  8767. type: integer
  8768. isreckoned:
  8769. description: 是否结算 - 0:未结算 1:已结算
  8770. type: integer
  8771. isvaliddata:
  8772. description: 是否有效 - 0:无效 1:有效
  8773. type: integer
  8774. listingselecttype:
  8775. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8776. type: integer
  8777. marketid:
  8778. description: 市场ID
  8779. type: integer
  8780. marketname:
  8781. description: 市场名称
  8782. type: string
  8783. matchaccountid:
  8784. description: 对手账号id
  8785. type: integer
  8786. memberuserid:
  8787. description: 会员id 个人投资者 需要填写
  8788. type: integer
  8789. opencharge:
  8790. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8791. type: number
  8792. openexchagechargevalue:
  8793. description: 建仓交易所手续费设置值
  8794. type: number
  8795. openfeealgorithm:
  8796. description: 建仓手续费收取方式 1:比率 2:固定
  8797. type: integer
  8798. openmemberchargevalue:
  8799. description: 建仓会员手续费设置值
  8800. type: number
  8801. openqty:
  8802. description: 开仓数量(先建后平操作 需要记录)
  8803. type: integer
  8804. optiontype:
  8805. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  8806. type: integer
  8807. orderid:
  8808. description: 委托单号
  8809. type: string
  8810. performanceplanid:
  8811. description: 履约计划ID[期权]
  8812. type: integer
  8813. performancestatus:
  8814. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  8815. type: integer
  8816. preexerciseprice:
  8817. description: 预申报价格
  8818. type: number
  8819. premium:
  8820. description: 权利金 - [持仓单的权利金]
  8821. type: number
  8822. relatedouttradeid:
  8823. description: 关联外部成交单ID
  8824. type: integer
  8825. status:
  8826. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  8827. type: integer
  8828. tradeamount:
  8829. description: 成交金额[账户币种,用于所有权]
  8830. type: number
  8831. tradedate:
  8832. description: 交易日(yyyyMMdd)
  8833. type: string
  8834. tradeid:
  8835. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8836. type: string
  8837. trademode:
  8838. description: 交易模式
  8839. type: integer
  8840. tradeprice:
  8841. description: 成交价格
  8842. type: number
  8843. tradeproperty:
  8844. description: 交易属性
  8845. type: integer
  8846. tradeqty:
  8847. description: 成交数量
  8848. type: integer
  8849. tradetime:
  8850. description: 成交时间
  8851. type: string
  8852. tradetype:
  8853. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  8854. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  8855. type: integer
  8856. required:
  8857. - accountid
  8858. - buyorsell
  8859. - goodsid
  8860. - histradedate
  8861. - marketid
  8862. - memberuserid
  8863. - orderid
  8864. - tradeamount
  8865. - tradedate
  8866. - tradeid
  8867. - tradeprice
  8868. - tradeqty
  8869. - tradetime
  8870. type: object
  8871. order.QueryHisTradeOrderDetailRsp:
  8872. properties:
  8873. accountid:
  8874. description: 账户ID[报价币种]
  8875. type: integer
  8876. buildtype:
  8877. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  8878. type: integer
  8879. buyorsell:
  8880. description: 买卖 - 0:买 1:卖
  8881. type: integer
  8882. cancelorderid:
  8883. description: 撤单单号(撤单时填写)
  8884. type: string
  8885. cancelqty:
  8886. description: 撤单数量
  8887. type: integer
  8888. clientordertime:
  8889. description: 客户端委托时间
  8890. type: string
  8891. clientticket:
  8892. description: 客户端流水号
  8893. type: string
  8894. clienttype:
  8895. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  8896. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8897. type: integer
  8898. closeexchagechargevalue:
  8899. description: 平仓交易所手续费设置值
  8900. type: number
  8901. closefeealgorithm:
  8902. description: 平仓手续费收取方式 1:比率 2:固定
  8903. type: integer
  8904. closefreezecharge:
  8905. description: 平仓冻结手续费(先建后平操作,需要记录)
  8906. type: number
  8907. closememberchargevalue:
  8908. description: 平仓会员手续费设置值
  8909. type: number
  8910. closeqty:
  8911. description: 平仓数量(先建后平操作 需要记录)
  8912. type: integer
  8913. closetradeqty:
  8914. description: 平仓成交数量(先建后平操作,需要记录)
  8915. type: integer
  8916. closeunfreezecharge:
  8917. description: 平仓解冻手续费(先建后平操作,需要记录)
  8918. type: number
  8919. delistingtype:
  8920. description: 摘牌类型 - 1:价格最优 2:点选成交
  8921. type: integer
  8922. freezecharge:
  8923. description: 冻结手续费
  8924. type: number
  8925. freezemargin:
  8926. description: 冻结保证金(冻结交易金额)
  8927. type: number
  8928. gcaccountid:
  8929. description: 账户ID[合约币种]
  8930. type: integer
  8931. goodscode:
  8932. description: 商品代码
  8933. type: string
  8934. goodsid:
  8935. description: 商品ID
  8936. type: integer
  8937. goodsname:
  8938. description: 商品名称
  8939. type: string
  8940. histradedate:
  8941. description: 历史交易日
  8942. type: string
  8943. isconfirmexercise:
  8944. description: 是否确认行权- 0:否 1:是
  8945. type: integer
  8946. ispreexercise:
  8947. description: 是否预申报- 0:否 1:是
  8948. type: integer
  8949. isvaliddata:
  8950. description: 是否有效 - 0:无效 1:有效
  8951. type: integer
  8952. listingselecttype:
  8953. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8954. type: integer
  8955. marginalgorithm:
  8956. description: 保证金收取方式 1:比率 2:固定
  8957. type: integer
  8958. marginvalue:
  8959. description: 即市保证金设置值
  8960. type: number
  8961. marketid:
  8962. description: 市场ID
  8963. type: integer
  8964. marketmaxsub:
  8965. description: 市价最大偏移范围
  8966. type: number
  8967. marketname:
  8968. description: 市场名称
  8969. type: string
  8970. memberuserid:
  8971. description: 所属会员UserID
  8972. type: integer
  8973. openexchagechargevalue:
  8974. description: 建仓交易所手续费设置值
  8975. type: number
  8976. openfeealgorithm:
  8977. description: 建仓手续费收取方式 1:比率 2:固定
  8978. type: integer
  8979. openfreezecharge:
  8980. description: 开仓冻结手续费(先建后平操作,需要记录)
  8981. type: number
  8982. openmemberchargevalue:
  8983. description: 建仓会员手续费设置值
  8984. type: number
  8985. openqty:
  8986. description: 开仓数量(先建后平操作,需要记录)
  8987. type: integer
  8988. opentradeqty:
  8989. description: 开仓成交数量(先建后平操作,需要记录)
  8990. type: integer
  8991. openunfreezecharge:
  8992. description: 开仓解冻手续费(先建后平操作,需要记录)
  8993. type: number
  8994. operatetype:
  8995. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  8996. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  8997. 15:管理端协议转让
  8998. type: integer
  8999. operatorid:
  9000. description: 登录账号(LoginID)
  9001. type: integer
  9002. optiontype:
  9003. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9004. type: integer
  9005. orderid:
  9006. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9007. type: string
  9008. orderprice:
  9009. description: 委托价格
  9010. type: number
  9011. orderqty:
  9012. description: 委托数量
  9013. type: integer
  9014. ordersrc:
  9015. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9016. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9017. type: integer
  9018. orderstatus:
  9019. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9020. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9021. 16:成交失败违约(荷兰式竞拍专用)
  9022. type: integer
  9023. ordertime:
  9024. description: 委托时间
  9025. type: string
  9026. preexerciseprice:
  9027. description: 预申报价格
  9028. type: number
  9029. premium:
  9030. description: 权利金
  9031. type: number
  9032. preorderid:
  9033. description: 关联预埋单号(止盈止损单时填写)
  9034. type: string
  9035. pricemode:
  9036. description: '取价方式 - 1:市价 2: 限价'
  9037. type: integer
  9038. quoteid:
  9039. description: 报价单ID
  9040. type: integer
  9041. relatedid:
  9042. description: 关联单号(交割单)
  9043. type: string
  9044. retcode:
  9045. description: 错误代码
  9046. type: integer
  9047. sessionid:
  9048. description: 会话ID
  9049. type: integer
  9050. tradedate:
  9051. description: 交易日(yyyyMMdd)
  9052. type: string
  9053. trademode:
  9054. description: 交易模式
  9055. type: integer
  9056. tradeproperty:
  9057. description: 交易属性
  9058. type: integer
  9059. tradeqty:
  9060. description: 成交数量
  9061. type: integer
  9062. unfreezecharge:
  9063. description: 解冻手续费
  9064. type: number
  9065. unfreezemargin:
  9066. description: 解冻保证金
  9067. type: number
  9068. updatetime:
  9069. description: 更新时间
  9070. type: string
  9071. uuid:
  9072. description: 发起端唯一id
  9073. type: string
  9074. validtime:
  9075. description: 有效期限
  9076. type: string
  9077. validtype:
  9078. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9079. type: integer
  9080. volumetype:
  9081. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9082. type: integer
  9083. required:
  9084. - accountid
  9085. - buildtype
  9086. - buyorsell
  9087. - goodsid
  9088. - histradedate
  9089. - marketid
  9090. - memberuserid
  9091. - operatetype
  9092. - orderid
  9093. - orderqty
  9094. - ordertime
  9095. - pricemode
  9096. - tradedate
  9097. - validtype
  9098. type: object
  9099. order.QueryTradeDetailRsp:
  9100. properties:
  9101. accountid:
  9102. description: 账户ID[报价币种]
  9103. type: integer
  9104. buildtype:
  9105. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9106. type: integer
  9107. buyorsell:
  9108. description: 方向 - 0:买 1:卖
  9109. type: integer
  9110. charge:
  9111. description: 手续费
  9112. type: number
  9113. closecharge:
  9114. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9115. type: number
  9116. closeexchagechargevalue:
  9117. description: 平仓交易所手续费设置值
  9118. type: number
  9119. closefeealgorithm:
  9120. description: 平仓手续费收取方式 1:比率 2:固定
  9121. type: integer
  9122. closememberchargevalue:
  9123. description: 平仓会员手续费设置值
  9124. type: number
  9125. closepl:
  9126. description: 平仓盈亏
  9127. type: number
  9128. closepl2:
  9129. description: 平仓盈亏[逐笔]
  9130. type: number
  9131. closeqty:
  9132. description: 平仓数量(先建后平操作 需要记录)
  9133. type: integer
  9134. creditamount:
  9135. description: 授信金额
  9136. type: number
  9137. gcaccountid:
  9138. description: 账户ID[合约币种]
  9139. type: integer
  9140. goodscode:
  9141. description: 商品代码
  9142. type: string
  9143. goodsid:
  9144. description: 商品ID
  9145. type: integer
  9146. goodsname:
  9147. description: 商品名称
  9148. type: string
  9149. intclosepl:
  9150. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9151. type: integer
  9152. isconfirmexercise:
  9153. description: 是否确认行权- 0:否 1:是
  9154. type: integer
  9155. ismain:
  9156. description: 是否主单 - 0:不是 1:是
  9157. type: integer
  9158. ispreexercise:
  9159. description: 是否预申报- 0:否 1:是
  9160. type: integer
  9161. isreckoned:
  9162. description: 是否结算 - 0:未结算 1:已结算
  9163. type: integer
  9164. listingselecttype:
  9165. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9166. type: integer
  9167. marketid:
  9168. description: 市场ID
  9169. type: integer
  9170. marketname:
  9171. description: 市场名称
  9172. type: string
  9173. matchaccountid:
  9174. description: 对手账号id
  9175. type: integer
  9176. memberuserid:
  9177. description: 会员id 个人投资者 需要填写
  9178. type: integer
  9179. opencharge:
  9180. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9181. type: number
  9182. openexchagechargevalue:
  9183. description: 建仓交易所手续费设置值
  9184. type: number
  9185. openfeealgorithm:
  9186. description: 建仓手续费收取方式 1:比率 2:固定
  9187. type: integer
  9188. openmemberchargevalue:
  9189. description: 建仓会员手续费设置值
  9190. type: number
  9191. openqty:
  9192. description: 开仓数量(先建后平操作 需要记录)
  9193. type: integer
  9194. optiontype:
  9195. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9196. type: integer
  9197. orderid:
  9198. description: 委托单号
  9199. type: string
  9200. performanceplanid:
  9201. description: 履约计划ID[期权]
  9202. type: integer
  9203. performancestatus:
  9204. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9205. type: integer
  9206. preexerciseprice:
  9207. description: 预申报价格
  9208. type: number
  9209. premium:
  9210. description: 权利金 - [持仓单的权利金]
  9211. type: number
  9212. relatedouttradeid:
  9213. description: 关联外部成交单ID
  9214. type: integer
  9215. status:
  9216. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9217. type: integer
  9218. tradeamount:
  9219. description: 成交金额[账户币种,用于所有权]
  9220. type: number
  9221. tradedate:
  9222. description: 交易日(yyyyMMdd)
  9223. type: string
  9224. tradeid:
  9225. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9226. type: string
  9227. trademode:
  9228. description: 交易模式
  9229. type: integer
  9230. tradeprice:
  9231. description: 成交价格
  9232. type: number
  9233. tradeproperty:
  9234. description: 交易属性
  9235. type: integer
  9236. tradeqty:
  9237. description: 成交数量
  9238. type: integer
  9239. tradetime:
  9240. description: 成交时间
  9241. type: string
  9242. tradetype:
  9243. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9244. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9245. type: integer
  9246. required:
  9247. - accountid
  9248. - buyorsell
  9249. - goodsid
  9250. - marketid
  9251. - memberuserid
  9252. - orderid
  9253. - tradeamount
  9254. - tradedate
  9255. - tradeid
  9256. - tradeprice
  9257. - tradeqty
  9258. - tradetime
  9259. type: object
  9260. order.QueryTradeOrderDetailRsp:
  9261. properties:
  9262. accountid:
  9263. description: 账户ID[报价币种]
  9264. type: integer
  9265. buildtype:
  9266. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9267. type: integer
  9268. buyorsell:
  9269. description: 买卖 - 0:买 1:卖
  9270. type: integer
  9271. cancelorderid:
  9272. description: 撤单单号(撤单时填写)
  9273. type: string
  9274. cancelqty:
  9275. description: 撤单数量
  9276. type: integer
  9277. clienttype:
  9278. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9279. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9280. type: integer
  9281. closefreezecharge:
  9282. description: 平仓冻结手续费(先建后平操作,需要记录)
  9283. type: number
  9284. closeqty:
  9285. description: 平仓数量(先建后平操作 需要记录)
  9286. type: integer
  9287. closetradeqty:
  9288. description: 平仓成交数量(先建后平操作,需要记录)
  9289. type: integer
  9290. closeunfreezecharge:
  9291. description: 平仓解冻手续费(先建后平操作,需要记录)
  9292. type: number
  9293. delistingtype:
  9294. description: 摘牌类型 - 1:价格最优 2:点选成交
  9295. type: integer
  9296. enableqty:
  9297. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  9298. type: integer
  9299. freezecharge:
  9300. description: 冻结手续费
  9301. type: number
  9302. freezemargin:
  9303. description: 冻结保证金(冻结交易金额)
  9304. type: number
  9305. goodscode:
  9306. description: 商品代码
  9307. type: string
  9308. goodsid:
  9309. description: 商品ID
  9310. type: integer
  9311. goodsname:
  9312. description: 商品名称
  9313. type: string
  9314. listingselecttype:
  9315. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9316. type: integer
  9317. marketid:
  9318. description: 市场ID
  9319. type: integer
  9320. marketname:
  9321. description: 市场名称
  9322. type: string
  9323. openfreezecharge:
  9324. description: 开仓冻结手续费(先建后平操作,需要记录)
  9325. type: number
  9326. openqty:
  9327. description: 开仓数量(先建后平操作,需要记录)
  9328. type: integer
  9329. opentradeqty:
  9330. description: 开仓成交数量(先建后平操作,需要记录)
  9331. type: integer
  9332. openunfreezecharge:
  9333. description: 开仓解冻手续费(先建后平操作,需要记录)
  9334. type: number
  9335. operatetype:
  9336. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9337. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9338. 15:管理端协议转让
  9339. type: integer
  9340. operatorid:
  9341. description: 登录账号(LoginID)
  9342. type: integer
  9343. orderid:
  9344. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9345. type: string
  9346. orderprice:
  9347. description: 委托价格
  9348. type: number
  9349. orderqty:
  9350. description: 委托数量
  9351. type: integer
  9352. ordersrc:
  9353. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9354. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9355. type: integer
  9356. orderstatus:
  9357. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9358. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9359. 16:成交失败违约(荷兰式竞拍专用)
  9360. type: integer
  9361. ordertime:
  9362. description: 委托时间
  9363. type: string
  9364. preorderid:
  9365. description: 关联预埋单号(止盈止损单时填写)
  9366. type: string
  9367. pricemode:
  9368. description: '取价方式 - 1:市价 2: 限价'
  9369. type: integer
  9370. relatedid:
  9371. description: 关联单号(交割单)
  9372. type: string
  9373. tradedate:
  9374. description: 交易日(yyyyMMdd)
  9375. type: string
  9376. trademode:
  9377. description: 交易模式
  9378. type: integer
  9379. tradeqty:
  9380. description: 成交数量
  9381. type: integer
  9382. unfreezecharge:
  9383. description: 解冻手续费
  9384. type: number
  9385. unfreezemargin:
  9386. description: 解冻保证金
  9387. type: number
  9388. validtime:
  9389. description: 有效期限
  9390. type: string
  9391. validtype:
  9392. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9393. type: integer
  9394. volumetype:
  9395. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9396. type: integer
  9397. required:
  9398. - accountid
  9399. - buildtype
  9400. - buyorsell
  9401. - goodsid
  9402. - marketid
  9403. - operatetype
  9404. - orderqty
  9405. - ordertime
  9406. - pricemode
  9407. - tradedate
  9408. - validtype
  9409. type: object
  9410. order.QueryTradePositionRsp:
  9411. properties:
  9412. accountid:
  9413. description: 资金账户
  9414. type: integer
  9415. agreeunit:
  9416. description: 合约单位
  9417. type: number
  9418. averageprice:
  9419. description: 持仓均价
  9420. type: number
  9421. buyorsell:
  9422. description: 方向 - 0:买 1:卖
  9423. type: integer
  9424. closetotalqty:
  9425. description: 平仓总数量
  9426. type: integer
  9427. curholderamount:
  9428. description: 当前持仓总金额[商品币种]
  9429. type: number
  9430. curpositionqty:
  9431. description: 当前持仓总数量
  9432. type: integer
  9433. currencyid:
  9434. description: 报价货币ID
  9435. type: integer
  9436. curtdposition:
  9437. description: 期末今日头寸
  9438. type: integer
  9439. decimalplace:
  9440. description: 报价小数位
  9441. type: integer
  9442. enableqty:
  9443. description: 可用量
  9444. type: integer
  9445. fretdposition:
  9446. description: 冻结今日头寸
  9447. type: integer
  9448. frozenqty:
  9449. description: 持仓冻结数量
  9450. type: integer
  9451. goodscode:
  9452. description: 商品代码
  9453. type: string
  9454. goodsid:
  9455. description: 商品Id
  9456. type: integer
  9457. goodsname:
  9458. description: 商品名称
  9459. type: string
  9460. goodunit:
  9461. description: 报价单位
  9462. type: string
  9463. goodunitid:
  9464. description: 报价单位ID
  9465. type: integer
  9466. holderamount:
  9467. description: 期初持仓总金额[商品币种]
  9468. type: number
  9469. marketid:
  9470. description: 所属市场ID
  9471. type: integer
  9472. openreqqty:
  9473. description: 开仓申请数量(用于比较最大持仓数量)
  9474. type: integer
  9475. opentotalqty:
  9476. description: 开仓总数量
  9477. type: integer
  9478. otherfrozenqty:
  9479. description: 持仓其他冻结数量(交割冻结)
  9480. type: integer
  9481. positionqty:
  9482. description: 期初持仓数量
  9483. type: integer
  9484. tnqty:
  9485. description: T+N冻结总量
  9486. type: integer
  9487. tnusedqty:
  9488. description: T+N使用量(可以使用T+N的冻结数量)
  9489. type: integer
  9490. trademode:
  9491. description: 交易模式
  9492. type: integer
  9493. usedmargin:
  9494. description: 占用保证金[商品币种]
  9495. type: number
  9496. required:
  9497. - goodsid
  9498. type: object
  9499. quote.HistoryData:
  9500. properties:
  9501. c:
  9502. description: 收盘价
  9503. type: number
  9504. f:
  9505. description: 是否补充数据
  9506. type: boolean
  9507. h:
  9508. description: 最高价
  9509. type: number
  9510. hv:
  9511. description: 持仓量
  9512. type: integer
  9513. l:
  9514. description: 最低价
  9515. type: number
  9516. o:
  9517. description: 开盘价
  9518. type: number
  9519. s:
  9520. description: 结算价,日线周期(包括)以上才有
  9521. type: number
  9522. ts:
  9523. description: 时间
  9524. type: string
  9525. tt:
  9526. description: 总金额
  9527. type: number
  9528. tv:
  9529. description: 总量
  9530. type: integer
  9531. type: object
  9532. quote.HistoryTikData:
  9533. properties:
  9534. AV:
  9535. description: 卖量
  9536. type: integer
  9537. Ask:
  9538. description: 卖价
  9539. type: number
  9540. BV:
  9541. description: 买量
  9542. type: integer
  9543. Bid:
  9544. description: 买价
  9545. type: number
  9546. HI:
  9547. description: 单笔持仓
  9548. type: integer
  9549. HV:
  9550. description: 持仓量
  9551. type: integer
  9552. PE:
  9553. description: 现价
  9554. type: number
  9555. TDR:
  9556. description: 交易方向,0:买 1:卖
  9557. type: integer
  9558. TK:
  9559. description: 交易类型
  9560. type: integer
  9561. TS:
  9562. description: 行情时间文本
  9563. type: string
  9564. TT:
  9565. description: 现金额
  9566. type: number
  9567. Vol:
  9568. description: 现量
  9569. type: integer
  9570. type: object
  9571. quote.QueryQuoteDayRsp:
  9572. properties:
  9573. ask:
  9574. description: 卖1
  9575. type: number
  9576. ask2:
  9577. description: 卖2
  9578. type: number
  9579. ask3:
  9580. description: 卖3
  9581. type: number
  9582. ask4:
  9583. description: 卖4
  9584. type: number
  9585. ask5:
  9586. description: 卖5
  9587. type: number
  9588. ask6:
  9589. description: 卖6
  9590. type: number
  9591. ask7:
  9592. description: 卖7
  9593. type: number
  9594. ask8:
  9595. description: 卖8
  9596. type: number
  9597. ask9:
  9598. description: 卖9
  9599. type: number
  9600. ask10:
  9601. description: 卖10
  9602. type: number
  9603. askorderid:
  9604. description: 卖单号1
  9605. type: integer
  9606. askorderid2:
  9607. description: 卖单号2
  9608. type: integer
  9609. askorderid3:
  9610. description: 卖单号3
  9611. type: integer
  9612. askorderid4:
  9613. description: 卖单号4
  9614. type: integer
  9615. askorderid5:
  9616. description: 卖单号5
  9617. type: integer
  9618. askordervolume:
  9619. description: 卖单量1
  9620. type: integer
  9621. askordervolume2:
  9622. description: 卖单量2
  9623. type: integer
  9624. askordervolume3:
  9625. description: 卖单量3
  9626. type: integer
  9627. askordervolume4:
  9628. description: 卖单量4
  9629. type: integer
  9630. askordervolume5:
  9631. description: 卖单量5
  9632. type: integer
  9633. askordervolume6:
  9634. description: 卖单量6
  9635. type: integer
  9636. askordervolume7:
  9637. description: 卖单量7
  9638. type: integer
  9639. askordervolume8:
  9640. description: 卖单量8
  9641. type: integer
  9642. askordervolume9:
  9643. description: 卖单量9
  9644. type: integer
  9645. askordervolume10:
  9646. description: 卖单量10
  9647. type: integer
  9648. askqueueinfo:
  9649. description: 大利市卖港股用
  9650. type: string
  9651. askvolume:
  9652. description: 卖量1
  9653. type: integer
  9654. askvolume2:
  9655. description: 卖量2
  9656. type: integer
  9657. askvolume3:
  9658. description: 卖量3
  9659. type: integer
  9660. askvolume4:
  9661. description: 卖量4
  9662. type: integer
  9663. askvolume5:
  9664. description: 卖量5
  9665. type: integer
  9666. askvolume6:
  9667. description: 卖量6
  9668. type: integer
  9669. askvolume7:
  9670. description: 卖量7
  9671. type: integer
  9672. askvolume8:
  9673. description: 卖量8
  9674. type: integer
  9675. askvolume9:
  9676. description: 卖量9
  9677. type: integer
  9678. askvolume10:
  9679. description: 卖量10
  9680. type: integer
  9681. averageprice:
  9682. description: 均价
  9683. type: number
  9684. bid:
  9685. description: 买1
  9686. type: number
  9687. bid2:
  9688. description: 买2
  9689. type: number
  9690. bid3:
  9691. description: 买3
  9692. type: number
  9693. bid4:
  9694. description: 买4
  9695. type: number
  9696. bid5:
  9697. description: 买5
  9698. type: number
  9699. bid6:
  9700. description: 买6
  9701. type: number
  9702. bid7:
  9703. description: 买7
  9704. type: number
  9705. bid8:
  9706. description: 买8
  9707. type: number
  9708. bid9:
  9709. description: 买9
  9710. type: number
  9711. bid10:
  9712. description: 买10
  9713. type: number
  9714. bidorderid:
  9715. description: 买单号1
  9716. type: integer
  9717. bidorderid2:
  9718. description: 买单号2
  9719. type: integer
  9720. bidorderid3:
  9721. description: 买单号3
  9722. type: integer
  9723. bidorderid4:
  9724. description: 买单号4
  9725. type: integer
  9726. bidorderid5:
  9727. description: 买单号5
  9728. type: integer
  9729. bidordervolume:
  9730. description: 买单量1
  9731. type: integer
  9732. bidordervolume2:
  9733. description: 买单量2
  9734. type: integer
  9735. bidordervolume3:
  9736. description: 买单量3
  9737. type: integer
  9738. bidordervolume4:
  9739. description: 买单量4
  9740. type: integer
  9741. bidordervolume5:
  9742. description: 买单量5
  9743. type: integer
  9744. bidordervolume6:
  9745. description: 买单量6
  9746. type: integer
  9747. bidordervolume7:
  9748. description: 买单量7
  9749. type: integer
  9750. bidordervolume8:
  9751. description: 买单量8
  9752. type: integer
  9753. bidordervolume9:
  9754. description: 买单量9
  9755. type: integer
  9756. bidordervolume10:
  9757. description: 买单量10
  9758. type: integer
  9759. bidqueueinfo:
  9760. description: 大利市买港股用
  9761. type: string
  9762. bidvolume:
  9763. description: 买量1
  9764. type: integer
  9765. bidvolume2:
  9766. description: 买量2
  9767. type: integer
  9768. bidvolume3:
  9769. description: 买量3
  9770. type: integer
  9771. bidvolume4:
  9772. description: 买量4
  9773. type: integer
  9774. bidvolume5:
  9775. description: 买量5
  9776. type: integer
  9777. bidvolume6:
  9778. description: 买量6
  9779. type: integer
  9780. bidvolume7:
  9781. description: 买量7
  9782. type: integer
  9783. bidvolume8:
  9784. description: 买量8
  9785. type: integer
  9786. bidvolume9:
  9787. description: 买量9
  9788. type: integer
  9789. bidvolume10:
  9790. description: 买量10
  9791. type: integer
  9792. calloptionpremiums:
  9793. description: 认购期权1
  9794. type: integer
  9795. calloptionpremiums2:
  9796. description: 认购期权2
  9797. type: integer
  9798. calloptionpremiums3:
  9799. description: 认购期权3
  9800. type: integer
  9801. calloptionpremiums4:
  9802. description: 认购期权4
  9803. type: integer
  9804. calloptionpremiums5:
  9805. description: 认购期权5
  9806. type: integer
  9807. cleartime:
  9808. description: 清盘时间
  9809. type: integer
  9810. exchangecode:
  9811. description: 交易所代码
  9812. type: integer
  9813. exchangedate:
  9814. description: 交易日
  9815. type: integer
  9816. goodscode:
  9817. description: 商品代码
  9818. type: string
  9819. grepmarketprice:
  9820. description: 暗盘价 港股专用
  9821. type: number
  9822. highest:
  9823. description: 最高价
  9824. type: number
  9825. holdincrement:
  9826. description: 单笔持仓
  9827. type: integer
  9828. holdvolume:
  9829. description: 持仓
  9830. type: integer
  9831. iep:
  9832. description: 平衡价 港股专用
  9833. type: number
  9834. iev:
  9835. description: 平衡量 港股专用
  9836. type: number
  9837. inventory:
  9838. description: 库存
  9839. type: integer
  9840. iscleared:
  9841. description: 是否清盘标志
  9842. type: integer
  9843. issettled:
  9844. description: 是否结算标志
  9845. type: integer
  9846. last:
  9847. description: 最新价
  9848. type: number
  9849. lastlot:
  9850. description: 最新成交手数
  9851. type: integer
  9852. lasttime:
  9853. description: 行情时间(只有现价变化行情时间才变化)
  9854. type: string
  9855. lastturnover:
  9856. description: 最新成交金额
  9857. type: number
  9858. lastvolume:
  9859. description: 最新成交量
  9860. type: integer
  9861. limitdown:
  9862. description: 跌停价
  9863. type: number
  9864. limitup:
  9865. description: 涨停价
  9866. type: number
  9867. lowest:
  9868. description: 最低价
  9869. type: number
  9870. nontotalholdervolume:
  9871. description: 非交易持仓量
  9872. type: integer
  9873. nontotallot:
  9874. description: 非交易总手数
  9875. type: integer
  9876. nontotalturnover:
  9877. description: 非交易总金额
  9878. type: integer
  9879. nontotalvolume:
  9880. description: 非交易总量
  9881. type: integer
  9882. opened:
  9883. description: 开盘价
  9884. type: number
  9885. opentime:
  9886. description: 开盘时间
  9887. type: string
  9888. orderid:
  9889. description: 序号
  9890. type: integer
  9891. preclose:
  9892. description: 昨收
  9893. type: number
  9894. preholdvolume:
  9895. description: 昨持仓
  9896. type: integer
  9897. presettle:
  9898. description: 昨结价
  9899. type: number
  9900. publictradetype:
  9901. description: 公共交易标志类型 港股专用
  9902. type: string
  9903. putoptionpremiums:
  9904. description: 认沽期权1
  9905. type: integer
  9906. putoptionpremiums2:
  9907. description: 认沽期权2
  9908. type: integer
  9909. putoptionpremiums3:
  9910. description: 认沽期权3
  9911. type: integer
  9912. putoptionpremiums4:
  9913. description: 认沽期权4
  9914. type: integer
  9915. putoptionpremiums5:
  9916. description: 认沽期权5
  9917. type: integer
  9918. settle:
  9919. description: 结算价
  9920. type: number
  9921. strikeprice:
  9922. description: 发行价
  9923. type: number
  9924. totalaskvolume:
  9925. description: 内盘
  9926. type: integer
  9927. totalbidvolume:
  9928. description: 外盘
  9929. type: integer
  9930. totallot:
  9931. description: 总手数
  9932. type: integer
  9933. totalturnover:
  9934. description: 总金额
  9935. type: number
  9936. totalvolume:
  9937. description: 总量
  9938. type: integer
  9939. utclasttime:
  9940. description: utc的行情时间
  9941. type: string
  9942. type: object
  9943. quote.QueryTSDataRsp:
  9944. properties:
  9945. Count:
  9946. description: 交易日应有数据个数
  9947. type: integer
  9948. decimalPlace:
  9949. description: 小数位
  9950. type: integer
  9951. endTime:
  9952. description: 结束时间
  9953. type: string
  9954. goodsCode:
  9955. description: 商品代码
  9956. type: string
  9957. historyDatas:
  9958. description: 历史数据
  9959. items:
  9960. $ref: '#/definitions/quote.HistoryData'
  9961. type: array
  9962. outGoodsCode:
  9963. description: 外部商品代码
  9964. type: string
  9965. preSettle:
  9966. description: 昨结价
  9967. type: number
  9968. runSteps:
  9969. description: 交易日开休市计划
  9970. items:
  9971. $ref: '#/definitions/quote.TSDataRunStep'
  9972. type: array
  9973. startTime:
  9974. description: 开始时间
  9975. type: string
  9976. tradeDate:
  9977. description: 交易日
  9978. type: string
  9979. type: object
  9980. quote.TSDataRunStep:
  9981. properties:
  9982. end:
  9983. description: 真实结束时间
  9984. type: string
  9985. endflag:
  9986. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  9987. type: integer
  9988. endtime:
  9989. description: 结束时间(HH:mm)
  9990. type: string
  9991. endweekday:
  9992. description: 结束周几
  9993. type: integer
  9994. groupid:
  9995. description: 分组ID
  9996. type: integer
  9997. runstep:
  9998. description: 运行阶段 - 2:连续交易
  9999. type: integer
  10000. sectionid:
  10001. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  10002. 结束时间=结算时间 结束周几=结算周几
  10003. type: integer
  10004. start:
  10005. description: 真实开始时间
  10006. type: string
  10007. startflag:
  10008. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  10009. type: integer
  10010. starttime:
  10011. description: 起始时间(HH:mm)
  10012. type: string
  10013. startweekday:
  10014. description: 起始周几
  10015. type: integer
  10016. tradeweekday:
  10017. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  10018. type: integer
  10019. type: object
  10020. szdz.QueryConvertLogRsp:
  10021. properties:
  10022. accountid:
  10023. description: 资金账户ID
  10024. type: integer
  10025. clientticket:
  10026. description: 客户端流水号
  10027. type: string
  10028. converttype:
  10029. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  10030. type: integer
  10031. createtime:
  10032. description: 记账时间
  10033. type: string
  10034. daymaxvalue:
  10035. description: 配置当日最大转入限制
  10036. type: number
  10037. daymaxvalue2:
  10038. description: 配置当日最大转入限制(转入)
  10039. type: number
  10040. goodscode:
  10041. description: 商品代码
  10042. type: string
  10043. goodsname:
  10044. description: 商品名称
  10045. type: string
  10046. handlestatus:
  10047. description: 处理状态
  10048. type: integer
  10049. innergoodsid:
  10050. description: 内部商品ID
  10051. type: integer
  10052. inratio:
  10053. description: 配置转入比值
  10054. type: integer
  10055. invalue:
  10056. description: 目标值
  10057. type: number
  10058. logid:
  10059. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10060. type: integer
  10061. mobile:
  10062. description: 手机号码(加密存储)
  10063. type: string
  10064. outergoodscode:
  10065. description: 外部商品代码[JD\PD]
  10066. type: string
  10067. outratio:
  10068. description: 配置转出比值
  10069. type: integer
  10070. outvalue:
  10071. description: 源值
  10072. type: number
  10073. pddecimalplace:
  10074. description: PD小数位
  10075. type: integer
  10076. qty:
  10077. description: 数量
  10078. type: string
  10079. remark:
  10080. description: 备注
  10081. type: string
  10082. sessionid:
  10083. description: 会话ID
  10084. type: integer
  10085. timemaxvalue:
  10086. description: 配置单次最大转入限制
  10087. type: number
  10088. timemaxvalue2:
  10089. description: 配置单次最大转入限制(转入)
  10090. type: number
  10091. timeminvalue:
  10092. description: 配置单次最小数量限制
  10093. type: number
  10094. timeminvalue2:
  10095. description: 配置单次最小数量限制(转入)
  10096. type: number
  10097. tradedate:
  10098. description: 交易日(yyyyMMdd)
  10099. type: string
  10100. userid:
  10101. description: 用户ID
  10102. type: integer
  10103. required:
  10104. - logid
  10105. type: object
  10106. szdz.QueryGoodsPickupRsp:
  10107. properties:
  10108. accountid:
  10109. description: 账户ID
  10110. type: integer
  10111. address:
  10112. description: 提货人详细地址
  10113. type: string
  10114. auditer:
  10115. description: 审核人
  10116. type: integer
  10117. audittime:
  10118. description: 审核时间
  10119. type: string
  10120. cardnum:
  10121. description: 提货人证件号码
  10122. type: string
  10123. cardtypeid:
  10124. description: 提货人证件类型
  10125. type: integer
  10126. checkremark:
  10127. description: 审核备注
  10128. type: string
  10129. goodscode:
  10130. description: 商品代码
  10131. type: string
  10132. goodsid:
  10133. description: 商品ID
  10134. type: integer
  10135. goodsname:
  10136. description: 商品名称
  10137. type: string
  10138. handlestatus:
  10139. description: 处理状态
  10140. type: integer
  10141. marketid:
  10142. description: 市场ID
  10143. type: integer
  10144. phonenum:
  10145. description: 提货人联系方式
  10146. type: string
  10147. qty:
  10148. description: 提货数量
  10149. type: number
  10150. recivername:
  10151. description: 提货人姓名
  10152. type: string
  10153. reqtime:
  10154. description: 更新时间
  10155. type: string
  10156. takemode:
  10157. description: 提货方式 - 2:自提 3:配送
  10158. type: integer
  10159. takeorderid:
  10160. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10161. type: string
  10162. takeorderstatus:
  10163. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10164. type: integer
  10165. takeremark:
  10166. description: 提货备注
  10167. type: string
  10168. tradedate:
  10169. description: 交易日(yyyyMMdd)
  10170. type: string
  10171. userid:
  10172. description: 用户ID
  10173. type: integer
  10174. required:
  10175. - takeorderid
  10176. type: object
  10177. szdz.QueryRecieptOrderRsp:
  10178. properties:
  10179. accountName:
  10180. description: 所属账号名称(已脱敏)
  10181. type: string
  10182. accountid:
  10183. description: 资金账号
  10184. type: integer
  10185. buyorsell:
  10186. description: 方向 - 0:买 1:卖
  10187. type: integer
  10188. enableqty:
  10189. description: 可摘数量
  10190. type: integer
  10191. goodscode:
  10192. description: 商品代码
  10193. type: string
  10194. goodsid:
  10195. description: 商品ID
  10196. type: integer
  10197. goodsname:
  10198. description: 商品名称
  10199. type: string
  10200. orderid:
  10201. description: 委托单号
  10202. type: string
  10203. orderprice:
  10204. description: 委托价格
  10205. type: number
  10206. ordertime:
  10207. description: 委托时间
  10208. type: string
  10209. tradedate:
  10210. description: 交易日(yyyyMMdd)
  10211. type: string
  10212. required:
  10213. - ordertime
  10214. type: object
  10215. szdz.QuerySZDZTradePositionRsp:
  10216. properties:
  10217. accountid:
  10218. description: 账号Id
  10219. type: integer
  10220. agreeunit:
  10221. description: 合约单位
  10222. type: number
  10223. averageprice:
  10224. description: 持仓均价
  10225. type: number
  10226. buyorsell:
  10227. description: 方向 - 0:买 1:卖
  10228. type: integer
  10229. closetotalqty:
  10230. description: 平仓总数量
  10231. type: integer
  10232. curholderamount:
  10233. description: 当前持仓总金额
  10234. type: number
  10235. curpositionqty:
  10236. description: 当前持仓总数量
  10237. type: integer
  10238. currencyid:
  10239. description: 报价货币ID
  10240. type: integer
  10241. curtdposition:
  10242. description: 期末今日头寸
  10243. type: integer
  10244. decimalplace:
  10245. description: 报价小数位
  10246. type: integer
  10247. enableqty:
  10248. description: 可用量
  10249. type: integer
  10250. fretdposition:
  10251. description: 冻结今日头寸
  10252. type: integer
  10253. frozenqty:
  10254. description: 持仓冻结数量
  10255. type: integer
  10256. goodscode:
  10257. description: 商品代码(内部)
  10258. type: string
  10259. goodsid:
  10260. description: 商品Id
  10261. type: integer
  10262. goodsname:
  10263. description: 商品名称
  10264. type: string
  10265. goodunit:
  10266. description: 报价单位
  10267. type: string
  10268. goodunitid:
  10269. description: 报价单位ID
  10270. type: integer
  10271. holderamount:
  10272. description: 期初持仓总金额
  10273. type: number
  10274. marketid:
  10275. description: 市场ID
  10276. type: integer
  10277. openreqqty:
  10278. description: 开仓申请数量
  10279. type: integer
  10280. opentotalqty:
  10281. description: 开仓总数量
  10282. type: integer
  10283. otherfrozenqty:
  10284. description: 持仓其他冻结数量(交割冻结)
  10285. type: integer
  10286. positionqty:
  10287. description: 期初持仓数量
  10288. type: integer
  10289. szdz3freezqty:
  10290. description: 尚志大宗转换冻结总数量
  10291. type: integer
  10292. tnqty:
  10293. description: T+N冻结总量
  10294. type: integer
  10295. tnusedqty:
  10296. description: T+N使用量
  10297. type: integer
  10298. trademode:
  10299. description: 交易模式
  10300. type: integer
  10301. usedmargin:
  10302. description: 占用保证金
  10303. type: number
  10304. type: object
  10305. taaccount.QueryAmountLogRsp:
  10306. properties:
  10307. OPERATETYPENAME:
  10308. description: 资金操作类型名称
  10309. type: string
  10310. accountid:
  10311. description: 资金账户ID
  10312. type: integer
  10313. agoodscode:
  10314. description: 竞拍商品代码
  10315. type: string
  10316. agoodsname:
  10317. description: 竞拍商品名称
  10318. type: string
  10319. amount:
  10320. description: 资金金额
  10321. type: number
  10322. amountadjusttype:
  10323. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  10324. type: integer
  10325. autoid:
  10326. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  10327. type: integer
  10328. balance:
  10329. description: 期初余额
  10330. type: number
  10331. businesscode:
  10332. description: 业务编号
  10333. type: integer
  10334. createtime:
  10335. description: 发生时间
  10336. type: string
  10337. currencyid:
  10338. description: 币种ID
  10339. type: integer
  10340. currentbalance:
  10341. description: 期末余额(变动后金额)
  10342. type: number
  10343. dgoodscode:
  10344. description: 交割商品代码
  10345. type: string
  10346. dgoodsname:
  10347. description: 交割商品名称
  10348. type: string
  10349. goodscode:
  10350. description: 商品代码
  10351. type: string
  10352. goodsid:
  10353. description: 商品ID
  10354. type: integer
  10355. goodsname:
  10356. description: 商品名称
  10357. type: string
  10358. marketid:
  10359. description: 市场ID
  10360. type: integer
  10361. marketname:
  10362. description: 市场名称
  10363. type: string
  10364. moneyticket:
  10365. description: 资金流水号:银行端流水号
  10366. type: integer
  10367. operatetype:
  10368. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  10369. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  10370. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  10371. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  10372. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  10373. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  10374. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  10375. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  10376. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  10377. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  10378. type: integer
  10379. relationorderid:
  10380. description: 关联单号
  10381. type: string
  10382. remark:
  10383. description: 备注
  10384. type: string
  10385. trademode:
  10386. description: 交易模式
  10387. type: integer
  10388. required:
  10389. - accountid
  10390. - amount
  10391. - amountadjusttype
  10392. - autoid
  10393. - balance
  10394. - createtime
  10395. - currentbalance
  10396. - operatetype
  10397. type: object
  10398. taaccount.QueryHisAmountLogRsp:
  10399. properties:
  10400. OPERATETYPENAME:
  10401. description: 资金操作类型名称
  10402. type: string
  10403. accountid:
  10404. description: 资金账户ID
  10405. type: integer
  10406. agoodscode:
  10407. description: 竞拍商品代码
  10408. type: string
  10409. agoodsname:
  10410. description: 竞拍商品名称
  10411. type: string
  10412. amount:
  10413. description: 资金金额
  10414. type: number
  10415. amountadjusttype:
  10416. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  10417. type: integer
  10418. autoid:
  10419. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  10420. type: integer
  10421. balance:
  10422. description: 期初余额
  10423. type: number
  10424. businesscode:
  10425. description: 业务编号
  10426. type: integer
  10427. createtime:
  10428. description: 发生时间
  10429. type: string
  10430. currencyid:
  10431. description: 币种ID
  10432. type: integer
  10433. currentbalance:
  10434. description: 期末余额(变动后金额)
  10435. type: number
  10436. dgoodscode:
  10437. description: 交割商品代码
  10438. type: string
  10439. dgoodsname:
  10440. description: 交割商品名称
  10441. type: string
  10442. goodscode:
  10443. description: 商品代码
  10444. type: string
  10445. goodsid:
  10446. description: 商品ID
  10447. type: integer
  10448. goodsname:
  10449. description: 商品名称
  10450. type: string
  10451. histradedate:
  10452. description: 历史交易日
  10453. type: string
  10454. isvaliddata:
  10455. description: 是否有效 - 0:无效 1:有效
  10456. type: integer
  10457. marketid:
  10458. description: 市场ID
  10459. type: integer
  10460. marketname:
  10461. description: 市场名称
  10462. type: string
  10463. moneyticket:
  10464. description: 资金流水号:银行端流水号
  10465. type: integer
  10466. operatetype:
  10467. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  10468. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  10469. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  10470. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  10471. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  10472. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  10473. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  10474. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  10475. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  10476. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  10477. type: integer
  10478. relationorderid:
  10479. description: 关联单号
  10480. type: string
  10481. remark:
  10482. description: 备注
  10483. type: string
  10484. trademode:
  10485. description: 交易模式
  10486. type: integer
  10487. required:
  10488. - accountid
  10489. - amount
  10490. - amountadjusttype
  10491. - autoid
  10492. - balance
  10493. - createtime
  10494. - currentbalance
  10495. - histradedate
  10496. - operatetype
  10497. type: object
  10498. trade.QueryRecieptOrderRsp:
  10499. properties:
  10500. accountName:
  10501. description: 所属账号名称(已脱敏)
  10502. type: string
  10503. accountid:
  10504. description: 资金账号
  10505. type: integer
  10506. buyorsell:
  10507. description: 方向 - 0:买 1:卖
  10508. type: integer
  10509. enableqty:
  10510. description: 可摘数量
  10511. type: integer
  10512. goodscode:
  10513. description: 商品代码
  10514. type: string
  10515. goodsid:
  10516. description: 商品ID
  10517. type: integer
  10518. goodsname:
  10519. description: 商品名称
  10520. type: string
  10521. orderid:
  10522. description: 委托单号
  10523. type: string
  10524. orderprice:
  10525. description: 委托价格
  10526. type: number
  10527. ordertime:
  10528. description: 委托时间
  10529. type: string
  10530. tradedate:
  10531. description: 交易日(yyyyMMdd)
  10532. type: string
  10533. required:
  10534. - ordertime
  10535. type: object
  10536. user.LoginQueryRsp:
  10537. properties:
  10538. externalExchanges:
  10539. description: 外部交易所
  10540. items:
  10541. $ref: '#/definitions/models.Externalexchange'
  10542. type: array
  10543. goodsgroups:
  10544. description: 商品组
  10545. items:
  10546. $ref: '#/definitions/models.Goodsgroup'
  10547. type: array
  10548. loginAccount:
  10549. $ref: '#/definitions/models.Loginaccount'
  10550. description: 登录账号
  10551. markets:
  10552. description: 市场
  10553. items:
  10554. $ref: '#/definitions/models.Market'
  10555. type: array
  10556. systemParams:
  10557. description: 系统参数
  10558. items:
  10559. $ref: '#/definitions/models.Systemparam'
  10560. type: array
  10561. userAccount:
  10562. $ref: '#/definitions/models.Useraccount'
  10563. description: 用户账号
  10564. userInfo:
  10565. $ref: '#/definitions/models.Userinfo'
  10566. description: 用户信息
  10567. username:
  10568. description: 用户姓名
  10569. type: string
  10570. type: object
  10571. info:
  10572. contact: {}
  10573. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  10574. termsOfService: http://muchinfo.cn
  10575. title: MTP2.0 查询服务 API
  10576. version: "1.0"
  10577. paths:
  10578. /CPTrade/QueryCPTradeMyBidInfos:
  10579. get:
  10580. parameters:
  10581. - description: 资金账户
  10582. in: query
  10583. name: accountid
  10584. required: true
  10585. type: integer
  10586. - description: 预售市场ID
  10587. in: query
  10588. name: marketid
  10589. type: integer
  10590. - description: 预售商品ID
  10591. in: query
  10592. name: goodsid
  10593. type: integer
  10594. produces:
  10595. - application/json
  10596. responses:
  10597. "200":
  10598. description: OK
  10599. schema:
  10600. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  10601. "500":
  10602. description: Internal Server Error
  10603. schema:
  10604. $ref: '#/definitions/app.Response'
  10605. security:
  10606. - ApiKeyAuth: []
  10607. summary: 查询产能预售我的出价信息
  10608. tags:
  10609. - 产能预售
  10610. /CPTrade/QueryCPTradeOrderDetail:
  10611. get:
  10612. parameters:
  10613. - description: 预售商品ID
  10614. in: query
  10615. name: goodsid
  10616. type: integer
  10617. - description: 预售市场ID
  10618. in: query
  10619. name: marketid
  10620. type: integer
  10621. - description: 预售商品ID列表 - 格式:1,2,3
  10622. in: query
  10623. name: goodsids
  10624. type: string
  10625. produces:
  10626. - application/json
  10627. responses:
  10628. "200":
  10629. description: OK
  10630. schema:
  10631. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  10632. "500":
  10633. description: Internal Server Error
  10634. schema:
  10635. $ref: '#/definitions/app.Response'
  10636. security:
  10637. - ApiKeyAuth: []
  10638. summary: 查询产能预售委托单信息
  10639. tags:
  10640. - 产能预售
  10641. /CPTrade/QueryMyCPTradeGoods:
  10642. get:
  10643. parameters:
  10644. - description: 资金账户
  10645. in: query
  10646. name: accountid
  10647. required: true
  10648. type: integer
  10649. produces:
  10650. - application/json
  10651. responses:
  10652. "200":
  10653. description: OK
  10654. schema:
  10655. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  10656. "500":
  10657. description: Internal Server Error
  10658. schema:
  10659. $ref: '#/definitions/app.Response'
  10660. security:
  10661. - ApiKeyAuth: []
  10662. summary: 查询我的预售信息
  10663. tags:
  10664. - 产能预售
  10665. /CPTrade/QueryPositionCancel:
  10666. get:
  10667. parameters:
  10668. - description: 账户ID
  10669. in: query
  10670. name: userid
  10671. required: true
  10672. type: integer
  10673. - description: 注销ID
  10674. in: query
  10675. name: cancelid
  10676. type: integer
  10677. - description: 资金账户ID
  10678. in: query
  10679. name: accountid
  10680. type: integer
  10681. produces:
  10682. - application/json
  10683. responses:
  10684. "200":
  10685. description: OK
  10686. schema:
  10687. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  10688. "500":
  10689. description: Internal Server Error
  10690. schema:
  10691. $ref: '#/definitions/app.Response'
  10692. security:
  10693. - ApiKeyAuth: []
  10694. summary: 查询远期订单注销申请信息
  10695. tags:
  10696. - 产能预售
  10697. /CPTrade/QueryPreasleApply:
  10698. get:
  10699. parameters:
  10700. - description: 账户ID
  10701. in: query
  10702. name: userid
  10703. required: true
  10704. type: integer
  10705. - description: 申请ID
  10706. in: query
  10707. name: applyid
  10708. type: integer
  10709. - description: 资金账户ID
  10710. in: query
  10711. name: accountid
  10712. type: integer
  10713. produces:
  10714. - application/json
  10715. responses:
  10716. "200":
  10717. description: OK
  10718. schema:
  10719. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  10720. "500":
  10721. description: Internal Server Error
  10722. schema:
  10723. $ref: '#/definitions/app.Response'
  10724. security:
  10725. - ApiKeyAuth: []
  10726. summary: 查询产能预售申请信息
  10727. tags:
  10728. - 产能预售
  10729. /CPTrade/QueryPresaleGoodsEx:
  10730. get:
  10731. parameters:
  10732. - description: 预售商品ID
  10733. in: query
  10734. name: goodsid
  10735. type: integer
  10736. - description: 预售市场ID
  10737. in: query
  10738. name: marketid
  10739. type: integer
  10740. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  10741. in: query
  10742. name: presalemode
  10743. type: integer
  10744. - description: 预售商品ID列表 - 格式:1,2,3
  10745. in: query
  10746. name: goodsids
  10747. type: string
  10748. - description: 预售商品代码
  10749. in: query
  10750. name: goodscode
  10751. type: string
  10752. produces:
  10753. - application/json
  10754. responses:
  10755. "200":
  10756. description: OK
  10757. schema:
  10758. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  10759. "500":
  10760. description: Internal Server Error
  10761. schema:
  10762. $ref: '#/definitions/app.Response'
  10763. security:
  10764. - ApiKeyAuth: []
  10765. summary: 查询产能预售商品扩展信息
  10766. tags:
  10767. - 产能预售
  10768. /CPTrade/QueryUserGoodsData:
  10769. get:
  10770. parameters:
  10771. - description: 资金账户ID
  10772. in: query
  10773. name: accountid
  10774. required: true
  10775. type: integer
  10776. produces:
  10777. - application/json
  10778. responses:
  10779. "200":
  10780. description: OK
  10781. schema:
  10782. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  10783. "500":
  10784. description: Internal Server Error
  10785. schema:
  10786. $ref: '#/definitions/app.Response'
  10787. security:
  10788. - ApiKeyAuth: []
  10789. summary: 查询远期订单信息
  10790. tags:
  10791. - 产能预售
  10792. /Common/GetAllEnums:
  10793. get:
  10794. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  10795. parameters:
  10796. - description: 起始自增ID
  10797. in: query
  10798. name: autoid
  10799. type: integer
  10800. produces:
  10801. - application/json
  10802. responses:
  10803. "200":
  10804. description: OK
  10805. schema:
  10806. $ref: '#/definitions/models.Enumdicitem'
  10807. "500":
  10808. description: Internal Server Error
  10809. schema:
  10810. $ref: '#/definitions/app.Response'
  10811. summary: 获取所有枚举信息
  10812. tags:
  10813. - 通用服务
  10814. /Common/GetClientMenus:
  10815. get:
  10816. parameters:
  10817. - description: 登录账号
  10818. in: query
  10819. name: loginID
  10820. required: true
  10821. type: integer
  10822. - description: 终端类型,0:PC 1:Mobile
  10823. in: query
  10824. name: clientType
  10825. type: integer
  10826. produces:
  10827. - application/json
  10828. responses:
  10829. "200":
  10830. description: OK
  10831. schema:
  10832. items:
  10833. $ref: '#/definitions/common.ClientMenu'
  10834. type: array
  10835. "500":
  10836. description: Internal Server Error
  10837. schema:
  10838. $ref: '#/definitions/app.Response'
  10839. security:
  10840. - ApiKeyAuth: []
  10841. summary: 获取交易端菜单
  10842. tags:
  10843. - 通用服务
  10844. /Common/GetDivisions:
  10845. get:
  10846. produces:
  10847. - application/json
  10848. responses:
  10849. "200":
  10850. description: OK
  10851. schema:
  10852. $ref: '#/definitions/models.Division'
  10853. "500":
  10854. description: Internal Server Error
  10855. schema:
  10856. $ref: '#/definitions/app.Response'
  10857. summary: 查询区域信息
  10858. tags:
  10859. - 通用服务
  10860. /Common/GetServerTime:
  10861. get:
  10862. produces:
  10863. - application/json
  10864. responses:
  10865. "200":
  10866. description: OK
  10867. schema:
  10868. $ref: '#/definitions/app.Response'
  10869. "500":
  10870. description: Internal Server Error
  10871. schema:
  10872. $ref: '#/definitions/app.Response'
  10873. summary: 获取服务器时间
  10874. tags:
  10875. - 通用服务
  10876. /Common/NoticeReaded:
  10877. post:
  10878. parameters:
  10879. - description: 登录账号
  10880. in: query
  10881. name: loginID
  10882. required: true
  10883. type: integer
  10884. - description: 通知公告ID
  10885. in: query
  10886. name: noticeID
  10887. required: true
  10888. type: integer
  10889. produces:
  10890. - application/json
  10891. responses:
  10892. "200":
  10893. description: OK
  10894. schema:
  10895. $ref: '#/definitions/app.Response'
  10896. "500":
  10897. description: Internal Server Error
  10898. schema:
  10899. $ref: '#/definitions/app.Response'
  10900. security:
  10901. - ApiKeyAuth: []
  10902. summary: 通知公告设置已读请求
  10903. tags:
  10904. - 通用服务
  10905. /Common/QueryErrorInfos:
  10906. get:
  10907. description: 如果传入rowNumber,则返回此rowNumber后的数据
  10908. parameters:
  10909. - description: 起始行号前索引
  10910. in: query
  10911. name: rowNumber
  10912. type: string
  10913. produces:
  10914. - application/json
  10915. responses:
  10916. "200":
  10917. description: OK
  10918. schema:
  10919. $ref: '#/definitions/models.QueryErrorInfosRsp'
  10920. "500":
  10921. description: Internal Server Error
  10922. schema:
  10923. $ref: '#/definitions/app.Response'
  10924. summary: 获取数据库错误信息
  10925. tags:
  10926. - 通用服务
  10927. /Common/QueryImageConfigs:
  10928. get:
  10929. parameters:
  10930. - description: 类型 - 1:App首页轮播 2:我的
  10931. in: query
  10932. name: imageType
  10933. type: integer
  10934. produces:
  10935. - application/json
  10936. responses:
  10937. "200":
  10938. description: OK
  10939. schema:
  10940. $ref: '#/definitions/common.QueryImageConfigsRsp'
  10941. "500":
  10942. description: Internal Server Error
  10943. schema:
  10944. $ref: '#/definitions/app.Response'
  10945. summary: 查询轮播图配置信息
  10946. tags:
  10947. - 通用服务
  10948. /Common/QueryNotice:
  10949. get:
  10950. parameters:
  10951. - description: 页码
  10952. in: query
  10953. name: page
  10954. type: integer
  10955. - description: 每页条数
  10956. in: query
  10957. name: pagesize
  10958. type: integer
  10959. - description: 登录账号
  10960. in: query
  10961. name: loginID
  10962. required: true
  10963. type: integer
  10964. - description: 消息类型 - 1:公告通知 2:系统消息
  10965. in: query
  10966. name: msgType
  10967. type: integer
  10968. - description: 是否只获取未读信息
  10969. in: query
  10970. name: onlyUnRead
  10971. type: boolean
  10972. - description: 自增ID,传入后会返回这个ID后面的记录
  10973. in: query
  10974. name: lastID
  10975. type: integer
  10976. produces:
  10977. - application/json
  10978. responses:
  10979. "200":
  10980. description: OK
  10981. schema:
  10982. $ref: '#/definitions/common.QueryNoticeRsp'
  10983. "500":
  10984. description: Internal Server Error
  10985. schema:
  10986. $ref: '#/definitions/app.Response'
  10987. security:
  10988. - ApiKeyAuth: []
  10989. summary: 通知公告系统消息查询
  10990. tags:
  10991. - 通用服务
  10992. /Common/QueryProvincesAndCities:
  10993. get:
  10994. parameters:
  10995. - description: 省ID
  10996. in: query
  10997. name: provinceID
  10998. type: integer
  10999. produces:
  11000. - application/json
  11001. responses:
  11002. "200":
  11003. description: OK
  11004. schema:
  11005. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  11006. "500":
  11007. description: Internal Server Error
  11008. schema:
  11009. $ref: '#/definitions/app.Response'
  11010. summary: 查询省市信息(不包括区)
  11011. tags:
  11012. - 通用服务
  11013. /Common/QueryTableDefine:
  11014. get:
  11015. parameters:
  11016. - description: 表key
  11017. in: query
  11018. name: tableKey
  11019. type: string
  11020. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  11021. in: query
  11022. name: tableType
  11023. type: integer
  11024. produces:
  11025. - application/json
  11026. responses:
  11027. "200":
  11028. description: OK
  11029. schema:
  11030. $ref: '#/definitions/common.QueryTableDefineRsp'
  11031. "500":
  11032. description: Internal Server Error
  11033. schema:
  11034. $ref: '#/definitions/app.Response'
  11035. summary: 查询交易端列表头信息
  11036. tags:
  11037. - 通用服务
  11038. /Common/QueryTraderMenu:
  11039. get:
  11040. parameters:
  11041. - description: 登录账号
  11042. in: query
  11043. name: loginid
  11044. required: true
  11045. type: integer
  11046. produces:
  11047. - application/json
  11048. responses:
  11049. "200":
  11050. description: OK
  11051. schema:
  11052. $ref: '#/definitions/common.QueryTraderMenuRsp'
  11053. "500":
  11054. description: Internal Server Error
  11055. schema:
  11056. $ref: '#/definitions/app.Response'
  11057. summary: 查询交易端菜单
  11058. tags:
  11059. - 通用服务
  11060. /Delivery/QueryDeliveryRelation:
  11061. get:
  11062. parameters:
  11063. - description: 商品ID
  11064. in: query
  11065. name: goodsid
  11066. type: integer
  11067. - description: 品种ID
  11068. in: query
  11069. name: deliverygoodsid
  11070. type: integer
  11071. - description: 市场ID
  11072. in: query
  11073. name: marketid
  11074. type: integer
  11075. produces:
  11076. - application/json
  11077. responses:
  11078. "200":
  11079. description: OK
  11080. schema:
  11081. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  11082. "500":
  11083. description: Internal Server Error
  11084. schema:
  11085. $ref: '#/definitions/app.Response'
  11086. security:
  11087. - ApiKeyAuth: []
  11088. summary: 查询商品交割关系表
  11089. tags:
  11090. - 交割服务
  11091. /Ermcp/GetErmcpGoods:
  11092. get:
  11093. parameters:
  11094. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  11095. in: query
  11096. name: lastUpdateTime
  11097. type: string
  11098. produces:
  11099. - application/json
  11100. responses:
  11101. "200":
  11102. description: OK
  11103. schema:
  11104. $ref: '#/definitions/models.Goods'
  11105. "500":
  11106. description: Internal Server Error
  11107. schema:
  11108. $ref: '#/definitions/app.Response'
  11109. security:
  11110. - ApiKeyAuth: []
  11111. summary: 查询企业风管期货商品信息
  11112. tags:
  11113. - 企业风险管理(app)
  11114. /Ermcp/GetErmcpGoodsSortByPosition:
  11115. get:
  11116. parameters:
  11117. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  11118. in: query
  11119. name: sortIndex
  11120. type: string
  11121. produces:
  11122. - application/json
  11123. responses:
  11124. "200":
  11125. description: OK
  11126. schema:
  11127. $ref: '#/definitions/models.Goodssortbypreposition'
  11128. "500":
  11129. description: Internal Server Error
  11130. schema:
  11131. $ref: '#/definitions/app.Response'
  11132. security:
  11133. - ApiKeyAuth: []
  11134. summary: 查询企业风管期货主力、次主力商品信息
  11135. tags:
  11136. - 企业风险管理(app)
  11137. /Ermcp/GetErmcpRoleFuncMenuLists:
  11138. get:
  11139. parameters:
  11140. - description: 登录账号
  11141. in: query
  11142. name: loginID
  11143. required: true
  11144. type: integer
  11145. produces:
  11146. - application/json
  11147. responses:
  11148. "200":
  11149. description: OK
  11150. schema:
  11151. $ref: '#/definitions/models.Funcmenulist'
  11152. "500":
  11153. description: Internal Server Error
  11154. schema:
  11155. $ref: '#/definitions/app.Response'
  11156. security:
  11157. - ApiKeyAuth: []
  11158. summary: 获取企业风管终端权限
  11159. tags:
  11160. - 企业风险管理(app)
  11161. /Ermcp/QryReportDayExposure:
  11162. get:
  11163. parameters:
  11164. - description: 用户ID
  11165. in: query
  11166. name: userid
  11167. required: true
  11168. type: integer
  11169. - description: 交易日(格式:yyyyMMdd)
  11170. in: query
  11171. name: tradedate
  11172. required: true
  11173. type: string
  11174. produces:
  11175. - application/json
  11176. responses:
  11177. "200":
  11178. description: OK
  11179. schema:
  11180. items:
  11181. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  11182. type: array
  11183. "500":
  11184. description: Internal Server Error
  11185. schema:
  11186. $ref: '#/definitions/app.Response'
  11187. security:
  11188. - ApiKeyAuth: []
  11189. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  11190. tags:
  11191. - 企业风险管理(app)
  11192. /Ermcp/QryReportDayFinance:
  11193. get:
  11194. parameters:
  11195. - description: 用户ID
  11196. in: query
  11197. name: userid
  11198. required: true
  11199. type: integer
  11200. - description: 交易日(格式:yyyyMMdd)
  11201. in: query
  11202. name: tradedate
  11203. required: true
  11204. type: string
  11205. produces:
  11206. - application/json
  11207. responses:
  11208. "200":
  11209. description: OK
  11210. schema:
  11211. items:
  11212. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  11213. type: array
  11214. "500":
  11215. description: Internal Server Error
  11216. schema:
  11217. $ref: '#/definitions/app.Response'
  11218. security:
  11219. - ApiKeyAuth: []
  11220. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  11221. tags:
  11222. - 企业风险管理(app)
  11223. /Ermcp/QryReportDayFinanceFp:
  11224. get:
  11225. parameters:
  11226. - description: 用户ID
  11227. in: query
  11228. name: userid
  11229. required: true
  11230. type: integer
  11231. - description: 交易日(格式:yyyyMMdd)
  11232. in: query
  11233. name: tradedate
  11234. required: true
  11235. type: string
  11236. produces:
  11237. - application/json
  11238. responses:
  11239. "200":
  11240. description: OK
  11241. schema:
  11242. items:
  11243. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  11244. type: array
  11245. "500":
  11246. description: Internal Server Error
  11247. schema:
  11248. $ref: '#/definitions/app.Response'
  11249. security:
  11250. - ApiKeyAuth: []
  11251. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  11252. tags:
  11253. - 企业风险管理(app)
  11254. /Ermcp/QryReportDayFinanceKx:
  11255. get:
  11256. parameters:
  11257. - description: 用户ID
  11258. in: query
  11259. name: userid
  11260. required: true
  11261. type: integer
  11262. - description: 交易日(格式:yyyyMMdd)
  11263. in: query
  11264. name: tradedate
  11265. required: true
  11266. type: string
  11267. produces:
  11268. - application/json
  11269. responses:
  11270. "200":
  11271. description: OK
  11272. schema:
  11273. items:
  11274. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  11275. type: array
  11276. "500":
  11277. description: Internal Server Error
  11278. schema:
  11279. $ref: '#/definitions/app.Response'
  11280. security:
  11281. - ApiKeyAuth: []
  11282. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  11283. tags:
  11284. - 企业风险管理(app)
  11285. /Ermcp/QryReportDaySpot:
  11286. get:
  11287. parameters:
  11288. - description: 用户ID
  11289. in: query
  11290. name: userid
  11291. required: true
  11292. type: integer
  11293. - description: 交易日(格式:yyyyMMdd)
  11294. in: query
  11295. name: tradedate
  11296. required: true
  11297. type: string
  11298. produces:
  11299. - application/json
  11300. responses:
  11301. "200":
  11302. description: OK
  11303. schema:
  11304. items:
  11305. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  11306. type: array
  11307. "500":
  11308. description: Internal Server Error
  11309. schema:
  11310. $ref: '#/definitions/app.Response'
  11311. security:
  11312. - ApiKeyAuth: []
  11313. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  11314. tags:
  11315. - 企业风险管理(app)
  11316. /Ermcp/QryReportDaySpotDetail:
  11317. get:
  11318. parameters:
  11319. - description: 用户ID
  11320. in: query
  11321. name: userid
  11322. required: true
  11323. type: integer
  11324. - description: 现货商品id
  11325. in: query
  11326. name: wrstandardid
  11327. required: true
  11328. type: integer
  11329. - description: 交易日(格式:yyyyMMdd)
  11330. in: query
  11331. name: tradedate
  11332. required: true
  11333. type: string
  11334. produces:
  11335. - application/json
  11336. responses:
  11337. "200":
  11338. description: OK
  11339. schema:
  11340. items:
  11341. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  11342. type: array
  11343. "500":
  11344. description: Internal Server Error
  11345. schema:
  11346. $ref: '#/definitions/app.Response'
  11347. security:
  11348. - ApiKeyAuth: []
  11349. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  11350. tags:
  11351. - 企业风险管理(app)
  11352. /Ermcp/QryReportMonthFinance:
  11353. get:
  11354. parameters:
  11355. - description: 用户ID
  11356. in: query
  11357. name: userid
  11358. required: true
  11359. type: integer
  11360. - description: 周期时间:月(格式:yyyyMM)
  11361. in: query
  11362. name: cycletime
  11363. required: true
  11364. type: string
  11365. produces:
  11366. - application/json
  11367. responses:
  11368. "200":
  11369. description: OK
  11370. schema:
  11371. items:
  11372. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  11373. type: array
  11374. "500":
  11375. description: Internal Server Error
  11376. schema:
  11377. $ref: '#/definitions/app.Response'
  11378. security:
  11379. - ApiKeyAuth: []
  11380. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  11381. tags:
  11382. - 企业风险管理(app)
  11383. /Ermcp/QryReportMonthSpot:
  11384. get:
  11385. parameters:
  11386. - description: 用户ID
  11387. in: query
  11388. name: userid
  11389. required: true
  11390. type: integer
  11391. - description: 周期时间:月(格式:yyyyMM)
  11392. in: query
  11393. name: cycletime
  11394. required: true
  11395. type: string
  11396. produces:
  11397. - application/json
  11398. responses:
  11399. "200":
  11400. description: OK
  11401. schema:
  11402. items:
  11403. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  11404. type: array
  11405. "500":
  11406. description: Internal Server Error
  11407. schema:
  11408. $ref: '#/definitions/app.Response'
  11409. security:
  11410. - ApiKeyAuth: []
  11411. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  11412. tags:
  11413. - 企业风险管理(app)
  11414. /Ermcp/QryReportMonthSpotDetail:
  11415. get:
  11416. parameters:
  11417. - description: 用户ID
  11418. in: query
  11419. name: userid
  11420. required: true
  11421. type: integer
  11422. - description: 现货商品id
  11423. in: query
  11424. name: wrstandardid
  11425. required: true
  11426. type: integer
  11427. - description: 周期时间:月(格式:yyyyMM)
  11428. in: query
  11429. name: cycletime
  11430. required: true
  11431. type: string
  11432. produces:
  11433. - application/json
  11434. responses:
  11435. "200":
  11436. description: OK
  11437. schema:
  11438. items:
  11439. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  11440. type: array
  11441. "500":
  11442. description: Internal Server Error
  11443. schema:
  11444. $ref: '#/definitions/app.Response'
  11445. security:
  11446. - ApiKeyAuth: []
  11447. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  11448. tags:
  11449. - 企业风险管理(app)
  11450. /Ermcp/QueryAccMgrBizGroupSet:
  11451. get:
  11452. parameters:
  11453. - description: 用户ID
  11454. in: query
  11455. name: userid
  11456. required: true
  11457. type: integer
  11458. produces:
  11459. - application/json
  11460. responses:
  11461. "200":
  11462. description: OK
  11463. schema:
  11464. items:
  11465. $ref: '#/definitions/models.ErmcpBizGroupEx'
  11466. type: array
  11467. "500":
  11468. description: Internal Server Error
  11469. schema:
  11470. $ref: '#/definitions/app.Response'
  11471. security:
  11472. - ApiKeyAuth: []
  11473. summary: 查询业务类型分组(账户管理/账户设置)
  11474. tags:
  11475. - 企业风险管理(app)
  11476. /Ermcp/QueryAccMgrLoginUser:
  11477. get:
  11478. parameters:
  11479. - description: 用户ID
  11480. in: query
  11481. name: userid
  11482. required: true
  11483. type: integer
  11484. produces:
  11485. - application/json
  11486. responses:
  11487. "200":
  11488. description: OK
  11489. schema:
  11490. items:
  11491. $ref: '#/definitions/models.ErmcpLoginUserEx'
  11492. type: array
  11493. "500":
  11494. description: Internal Server Error
  11495. schema:
  11496. $ref: '#/definitions/app.Response'
  11497. security:
  11498. - ApiKeyAuth: []
  11499. summary: 查询账户管理登录账号(账户管理/登录账号)
  11500. tags:
  11501. - 企业风险管理(app)
  11502. /Ermcp/QueryAccMgrMainAccountInfo:
  11503. get:
  11504. parameters:
  11505. - description: 用户ID
  11506. in: query
  11507. name: userid
  11508. type: integer
  11509. - description: 主账号id
  11510. in: query
  11511. name: accountid
  11512. type: integer
  11513. produces:
  11514. - application/json
  11515. responses:
  11516. "200":
  11517. description: OK
  11518. schema:
  11519. items:
  11520. $ref: '#/definitions/models.MainAccountInfo'
  11521. type: array
  11522. "500":
  11523. description: Internal Server Error
  11524. schema:
  11525. $ref: '#/definitions/app.Response'
  11526. security:
  11527. - ApiKeyAuth: []
  11528. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  11529. tags:
  11530. - 企业风险管理(app)
  11531. /Ermcp/QueryAccMgrRole:
  11532. get:
  11533. parameters:
  11534. - description: 用户ID
  11535. in: query
  11536. name: userid
  11537. required: true
  11538. type: integer
  11539. produces:
  11540. - application/json
  11541. responses:
  11542. "200":
  11543. description: OK
  11544. schema:
  11545. items:
  11546. $ref: '#/definitions/models.ErmcpRole'
  11547. type: array
  11548. "500":
  11549. description: Internal Server Error
  11550. schema:
  11551. $ref: '#/definitions/app.Response'
  11552. security:
  11553. - ApiKeyAuth: []
  11554. summary: 查询账户管理角色设置(账户管理/角色设置)
  11555. tags:
  11556. - 企业风险管理(app)
  11557. /Ermcp/QueryAccMgrRoleMenu:
  11558. get:
  11559. parameters:
  11560. - description: 用户ID
  11561. in: query
  11562. name: userid
  11563. required: true
  11564. type: integer
  11565. - description: 角色id(可多个,逗号隔开)
  11566. in: query
  11567. name: roleid
  11568. type: string
  11569. produces:
  11570. - application/json
  11571. responses:
  11572. "200":
  11573. description: OK
  11574. schema:
  11575. items:
  11576. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  11577. type: array
  11578. "500":
  11579. description: Internal Server Error
  11580. schema:
  11581. $ref: '#/definitions/app.Response'
  11582. security:
  11583. - ApiKeyAuth: []
  11584. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  11585. tags:
  11586. - 企业风险管理(app)
  11587. /Ermcp/QueryAccMgrTaAccountInfo:
  11588. get:
  11589. parameters:
  11590. - description: 用户ID
  11591. in: query
  11592. name: userid
  11593. required: true
  11594. type: integer
  11595. - description: 账号id
  11596. in: query
  11597. name: accountid
  11598. type: integer
  11599. produces:
  11600. - application/json
  11601. responses:
  11602. "200":
  11603. description: OK
  11604. schema:
  11605. items:
  11606. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  11607. type: array
  11608. "500":
  11609. description: Internal Server Error
  11610. schema:
  11611. $ref: '#/definitions/app.Response'
  11612. security:
  11613. - ApiKeyAuth: []
  11614. summary: 查询账户管理授信(账户管理/账户设置/授信)
  11615. tags:
  11616. - 企业风险管理(app)
  11617. /Ermcp/QueryAccMgrTaaccount:
  11618. get:
  11619. parameters:
  11620. - description: 用户ID
  11621. in: query
  11622. name: userid
  11623. required: true
  11624. type: integer
  11625. produces:
  11626. - application/json
  11627. responses:
  11628. "200":
  11629. description: OK
  11630. schema:
  11631. items:
  11632. $ref: '#/definitions/models.ErmcpTaAccountEx'
  11633. type: array
  11634. "500":
  11635. description: Internal Server Error
  11636. schema:
  11637. $ref: '#/definitions/app.Response'
  11638. security:
  11639. - ApiKeyAuth: []
  11640. summary: 查询账户管理期货账号(账户管理/期货账号)
  11641. tags:
  11642. - 企业风险管理(app)
  11643. /Ermcp/QueryAreaStock:
  11644. get:
  11645. parameters:
  11646. - description: 用户ID
  11647. in: query
  11648. name: userid
  11649. required: true
  11650. type: integer
  11651. produces:
  11652. - application/json
  11653. responses:
  11654. "200":
  11655. description: OK
  11656. schema:
  11657. items:
  11658. $ref: '#/definitions/models.ErmcpAreaStock'
  11659. type: array
  11660. "500":
  11661. description: Internal Server Error
  11662. schema:
  11663. $ref: '#/definitions/app.Response'
  11664. security:
  11665. - ApiKeyAuth: []
  11666. summary: 查询机构库存(库存管理/当前库存)
  11667. tags:
  11668. - 企业风险管理(app)
  11669. /Ermcp/QueryAreaStockApply:
  11670. get:
  11671. parameters:
  11672. - description: 用户ID
  11673. in: query
  11674. name: userid
  11675. required: true
  11676. type: integer
  11677. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  11678. in: query
  11679. name: inouttype
  11680. type: string
  11681. - description: 合同ID
  11682. in: query
  11683. name: spotcontractid
  11684. type: integer
  11685. - description: 现货商品ID
  11686. in: query
  11687. name: wrstandardid
  11688. type: integer
  11689. - description: 品牌ID
  11690. in: query
  11691. name: spotgoodsbrandid
  11692. type: integer
  11693. - description: 型号ID
  11694. in: query
  11695. name: spotgoodsmodelid
  11696. type: integer
  11697. - description: 仓库ID
  11698. in: query
  11699. name: warehouseinfoid
  11700. type: integer
  11701. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11702. in: query
  11703. name: applystatus
  11704. type: string
  11705. produces:
  11706. - application/json
  11707. responses:
  11708. "200":
  11709. description: OK
  11710. schema:
  11711. items:
  11712. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  11713. type: array
  11714. "500":
  11715. description: Internal Server Error
  11716. schema:
  11717. $ref: '#/definitions/app.Response'
  11718. security:
  11719. - ApiKeyAuth: []
  11720. summary: 查询库存申请(出入库记录|库存审核)
  11721. tags:
  11722. - 企业风险管理(app)
  11723. /Ermcp/QueryAreaStockApplySum:
  11724. get:
  11725. parameters:
  11726. - description: 合同ID
  11727. in: query
  11728. name: spotcontractid
  11729. type: integer
  11730. produces:
  11731. - application/json
  11732. responses:
  11733. "200":
  11734. description: OK
  11735. schema:
  11736. items:
  11737. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  11738. type: array
  11739. "500":
  11740. description: Internal Server Error
  11741. schema:
  11742. $ref: '#/definitions/app.Response'
  11743. security:
  11744. - ApiKeyAuth: []
  11745. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  11746. tags:
  11747. - 企业风险管理(app)
  11748. /Ermcp/QueryAreaStockReport:
  11749. get:
  11750. parameters:
  11751. - description: 用户ID
  11752. in: query
  11753. name: userid
  11754. required: true
  11755. type: integer
  11756. - description: 查询类型 1-日报表 2-月报表
  11757. in: query
  11758. name: querytype
  11759. required: true
  11760. type: integer
  11761. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  11762. in: query
  11763. name: querydate
  11764. required: true
  11765. type: string
  11766. - description: 现货商品ID
  11767. in: query
  11768. name: wrstandardid
  11769. type: integer
  11770. - description: 品牌ID
  11771. in: query
  11772. name: spotgoodsbrandid
  11773. type: integer
  11774. - description: 型号ID
  11775. in: query
  11776. name: spotgoodsmodelid
  11777. type: integer
  11778. - description: 仓库ID
  11779. in: query
  11780. name: warehouseinfoid
  11781. type: integer
  11782. produces:
  11783. - application/json
  11784. responses:
  11785. "200":
  11786. description: OK
  11787. schema:
  11788. items:
  11789. $ref: '#/definitions/models.ErmcpAreaStockReport'
  11790. type: array
  11791. "500":
  11792. description: Internal Server Error
  11793. schema:
  11794. $ref: '#/definitions/app.Response'
  11795. security:
  11796. - ApiKeyAuth: []
  11797. summary: 查询库存报表
  11798. tags:
  11799. - 企业风险管理(app)
  11800. /Ermcp/QueryAreaStockReportDetail:
  11801. get:
  11802. parameters:
  11803. - description: 用户ID
  11804. in: query
  11805. name: userid
  11806. required: true
  11807. type: integer
  11808. - description: 查询类型 1-日报表明细 2-月报表明细
  11809. in: query
  11810. name: querytype
  11811. required: true
  11812. type: integer
  11813. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  11814. in: query
  11815. name: detailtype
  11816. required: true
  11817. type: integer
  11818. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  11819. in: query
  11820. name: querydate
  11821. required: true
  11822. type: string
  11823. - description: 现货商品ID
  11824. in: query
  11825. name: wrstandardid
  11826. type: integer
  11827. - description: 品牌ID
  11828. in: query
  11829. name: spotgoodsbrandid
  11830. type: integer
  11831. - description: 型号ID
  11832. in: query
  11833. name: spotgoodsmodelid
  11834. type: integer
  11835. - description: 仓库ID
  11836. in: query
  11837. name: warehouseinfoid
  11838. type: integer
  11839. produces:
  11840. - application/json
  11841. responses:
  11842. "200":
  11843. description: OK
  11844. schema:
  11845. items:
  11846. $ref: '#/definitions/models.ErmcpAreaStockApply'
  11847. type: array
  11848. "500":
  11849. description: Internal Server Error
  11850. schema:
  11851. $ref: '#/definitions/app.Response'
  11852. security:
  11853. - ApiKeyAuth: []
  11854. summary: 查询库存报表明细
  11855. tags:
  11856. - 企业风险管理(app)
  11857. /Ermcp/QueryAvaildGoodsGroup:
  11858. get:
  11859. parameters:
  11860. - description: 所属机构ID
  11861. in: query
  11862. name: userid
  11863. required: true
  11864. type: integer
  11865. produces:
  11866. - application/json
  11867. responses:
  11868. "200":
  11869. description: OK
  11870. schema:
  11871. items:
  11872. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  11873. type: array
  11874. "500":
  11875. description: Internal Server Error
  11876. schema:
  11877. $ref: '#/definitions/app.Response'
  11878. security:
  11879. - ApiKeyAuth: []
  11880. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  11881. tags:
  11882. - 企业风险管理(app)
  11883. /Ermcp/QueryBusinessDj:
  11884. get:
  11885. parameters:
  11886. - description: 用户ID
  11887. in: query
  11888. name: UserId
  11889. required: true
  11890. type: integer
  11891. - description: 现货合同ID, 不填则查所有
  11892. in: query
  11893. name: relatedid
  11894. type: string
  11895. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11896. in: query
  11897. name: applystatus
  11898. type: string
  11899. produces:
  11900. - application/json
  11901. responses:
  11902. "200":
  11903. description: OK
  11904. schema:
  11905. items:
  11906. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  11907. type: array
  11908. "500":
  11909. description: Internal Server Error
  11910. schema:
  11911. $ref: '#/definitions/app.Response'
  11912. security:
  11913. - ApiKeyAuth: []
  11914. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  11915. tags:
  11916. - 企业风险管理(app)
  11917. /Ermcp/QueryBusinessFp:
  11918. get:
  11919. parameters:
  11920. - description: 用户ID
  11921. in: query
  11922. name: UserId
  11923. required: true
  11924. type: integer
  11925. - description: 现货合同ID, 不填则查所有
  11926. in: query
  11927. name: relatedid
  11928. type: string
  11929. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11930. in: query
  11931. name: applystatus
  11932. type: string
  11933. produces:
  11934. - application/json
  11935. responses:
  11936. "200":
  11937. description: OK
  11938. schema:
  11939. items:
  11940. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  11941. type: array
  11942. "500":
  11943. description: Internal Server Error
  11944. schema:
  11945. $ref: '#/definitions/app.Response'
  11946. security:
  11947. - ApiKeyAuth: []
  11948. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  11949. tags:
  11950. - 企业风险管理(app)
  11951. /Ermcp/QueryBusinessJs:
  11952. get:
  11953. parameters:
  11954. - description: 用户ID
  11955. in: query
  11956. name: UserId
  11957. required: true
  11958. type: integer
  11959. - description: 现货合同ID, 不填则查所有
  11960. in: query
  11961. name: relatedid
  11962. type: string
  11963. - description: 操作申请id
  11964. in: query
  11965. name: operateapplyid
  11966. type: string
  11967. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11968. in: query
  11969. name: applystatus
  11970. type: string
  11971. produces:
  11972. - application/json
  11973. responses:
  11974. "200":
  11975. description: OK
  11976. schema:
  11977. items:
  11978. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  11979. type: array
  11980. "500":
  11981. description: Internal Server Error
  11982. schema:
  11983. $ref: '#/definitions/app.Response'
  11984. security:
  11985. - ApiKeyAuth: []
  11986. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  11987. tags:
  11988. - 企业风险管理(app)
  11989. /Ermcp/QueryBusinessJsEx:
  11990. get:
  11991. parameters:
  11992. - description: 用户ID
  11993. in: query
  11994. name: UserId
  11995. required: true
  11996. type: integer
  11997. - description: 现货合同ID, 不填则查所有
  11998. in: query
  11999. name: relatedid
  12000. type: string
  12001. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12002. in: query
  12003. name: applystatus
  12004. type: string
  12005. produces:
  12006. - application/json
  12007. responses:
  12008. "200":
  12009. description: OK
  12010. schema:
  12011. items:
  12012. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  12013. type: array
  12014. "500":
  12015. description: Internal Server Error
  12016. schema:
  12017. $ref: '#/definitions/app.Response'
  12018. security:
  12019. - ApiKeyAuth: []
  12020. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  12021. tags:
  12022. - 企业风险管理(app)
  12023. /Ermcp/QueryBusinessKx:
  12024. get:
  12025. parameters:
  12026. - description: 用户ID
  12027. in: query
  12028. name: UserId
  12029. required: true
  12030. type: integer
  12031. - description: 现货合同ID, 不填则查所有
  12032. in: query
  12033. name: relatedid
  12034. type: string
  12035. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12036. in: query
  12037. name: applystatus
  12038. type: string
  12039. produces:
  12040. - application/json
  12041. responses:
  12042. "200":
  12043. description: OK
  12044. schema:
  12045. items:
  12046. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  12047. type: array
  12048. "500":
  12049. description: Internal Server Error
  12050. schema:
  12051. $ref: '#/definitions/app.Response'
  12052. security:
  12053. - ApiKeyAuth: []
  12054. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  12055. tags:
  12056. - 企业风险管理(app)
  12057. /Ermcp/QueryChangeLog:
  12058. get:
  12059. parameters:
  12060. - description: 合同ID
  12061. in: query
  12062. name: RelatedId
  12063. required: true
  12064. type: string
  12065. produces:
  12066. - application/json
  12067. responses:
  12068. "200":
  12069. description: OK
  12070. schema:
  12071. items:
  12072. $ref: '#/definitions/ermcp.QryOPLogRsp'
  12073. type: array
  12074. "500":
  12075. description: Internal Server Error
  12076. schema:
  12077. $ref: '#/definitions/app.Response'
  12078. security:
  12079. - ApiKeyAuth: []
  12080. summary: 查询变更记录
  12081. tags:
  12082. - 企业风险管理(app)
  12083. /Ermcp/QueryContract:
  12084. get:
  12085. parameters:
  12086. - description: 用户ID
  12087. in: query
  12088. name: userId
  12089. required: true
  12090. type: integer
  12091. - description: 合同类型 1-采购, -1-销售
  12092. in: query
  12093. name: contracttype
  12094. required: true
  12095. type: integer
  12096. - description: 查询类型 1-全部 2-待点价 3-履约结算
  12097. in: query
  12098. name: querytype
  12099. required: true
  12100. type: integer
  12101. - description: 合同ID(SpotContractId)
  12102. in: query
  12103. name: contractid
  12104. type: string
  12105. produces:
  12106. - application/json
  12107. responses:
  12108. "200":
  12109. description: OK
  12110. schema:
  12111. items:
  12112. $ref: '#/definitions/ermcp.QryErmcpRsp'
  12113. type: array
  12114. "500":
  12115. description: Internal Server Error
  12116. schema:
  12117. $ref: '#/definitions/app.Response'
  12118. security:
  12119. - ApiKeyAuth: []
  12120. summary: 查询合同(采购和销售)
  12121. tags:
  12122. - 企业风险管理(app)
  12123. /Ermcp/QueryErmcpHisOrderDetails:
  12124. get:
  12125. parameters:
  12126. - description: 资金账户ID
  12127. in: query
  12128. name: accountID
  12129. required: true
  12130. type: integer
  12131. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12132. in: query
  12133. name: startDate
  12134. type: string
  12135. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12136. in: query
  12137. name: endDate
  12138. type: string
  12139. produces:
  12140. - application/json
  12141. responses:
  12142. "200":
  12143. description: OK
  12144. schema:
  12145. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12146. "500":
  12147. description: Internal Server Error
  12148. schema:
  12149. $ref: '#/definitions/app.Response'
  12150. security:
  12151. - ApiKeyAuth: []
  12152. summary: 获取企业风管期货历史委托单信息
  12153. tags:
  12154. - 企业风险管理(app)
  12155. /Ermcp/QueryErmcpHisTradeDetails:
  12156. get:
  12157. parameters:
  12158. - description: 资金账户ID
  12159. in: query
  12160. name: accountID
  12161. required: true
  12162. type: integer
  12163. - description: 商品ID
  12164. in: query
  12165. name: goodsID
  12166. type: integer
  12167. - description: 买卖方向,0:买 1:卖
  12168. in: query
  12169. name: buyOrSell
  12170. type: integer
  12171. - description: 关联委托单号
  12172. in: query
  12173. name: orderID
  12174. type: integer
  12175. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12176. in: query
  12177. name: startDate
  12178. type: string
  12179. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12180. in: query
  12181. name: endDate
  12182. type: string
  12183. produces:
  12184. - application/json
  12185. responses:
  12186. "200":
  12187. description: OK
  12188. schema:
  12189. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12190. "500":
  12191. description: Internal Server Error
  12192. schema:
  12193. $ref: '#/definitions/app.Response'
  12194. security:
  12195. - ApiKeyAuth: []
  12196. summary: 获取企业风管期货历史成交单信息
  12197. tags:
  12198. - 企业风险管理(app)
  12199. /Ermcp/QueryErmcpInnerHolderDetails:
  12200. get:
  12201. parameters:
  12202. - description: 资金账户ID
  12203. in: query
  12204. name: accountID
  12205. required: true
  12206. type: integer
  12207. - description: 商品ID
  12208. in: query
  12209. name: goodsID
  12210. type: integer
  12211. - description: 买卖方向,0:买 1:卖
  12212. in: query
  12213. name: buyOrSell
  12214. type: integer
  12215. produces:
  12216. - application/json
  12217. responses:
  12218. "200":
  12219. description: OK
  12220. schema:
  12221. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  12222. "500":
  12223. description: Internal Server Error
  12224. schema:
  12225. $ref: '#/definitions/app.Response'
  12226. security:
  12227. - ApiKeyAuth: []
  12228. summary: 获取企业风管期货内部持仓单信息
  12229. tags:
  12230. - 企业风险管理(app)
  12231. /Ermcp/QueryErmcpOrderDetails:
  12232. get:
  12233. parameters:
  12234. - description: 资金账户ID
  12235. in: query
  12236. name: accountID
  12237. required: true
  12238. type: integer
  12239. produces:
  12240. - application/json
  12241. responses:
  12242. "200":
  12243. description: OK
  12244. schema:
  12245. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12246. "500":
  12247. description: Internal Server Error
  12248. schema:
  12249. $ref: '#/definitions/app.Response'
  12250. security:
  12251. - ApiKeyAuth: []
  12252. summary: 获取企业风管期货委托单信息
  12253. tags:
  12254. - 企业风险管理(app)
  12255. /Ermcp/QueryErmcpTradeDetails:
  12256. get:
  12257. parameters:
  12258. - description: 资金账户ID
  12259. in: query
  12260. name: accountID
  12261. required: true
  12262. type: integer
  12263. - description: 商品ID
  12264. in: query
  12265. name: goodsID
  12266. type: integer
  12267. - description: 买卖方向,0:买 1:卖
  12268. in: query
  12269. name: buyOrSell
  12270. type: integer
  12271. - description: 关联委托单号
  12272. in: query
  12273. name: orderID
  12274. type: integer
  12275. produces:
  12276. - application/json
  12277. responses:
  12278. "200":
  12279. description: OK
  12280. schema:
  12281. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12282. "500":
  12283. description: Internal Server Error
  12284. schema:
  12285. $ref: '#/definitions/app.Response'
  12286. security:
  12287. - ApiKeyAuth: []
  12288. summary: 获取企业风管期货成交单信息
  12289. tags:
  12290. - 企业风险管理(app)
  12291. /Ermcp/QueryErmcpTradePosition:
  12292. get:
  12293. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  12294. parameters:
  12295. - description: 资金账户ID
  12296. in: query
  12297. name: accountID
  12298. required: true
  12299. type: integer
  12300. - description: 所属市场ID
  12301. in: query
  12302. name: marketID
  12303. type: integer
  12304. produces:
  12305. - application/json
  12306. responses:
  12307. "200":
  12308. description: OK
  12309. schema:
  12310. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  12311. "500":
  12312. description: Internal Server Error
  12313. schema:
  12314. $ref: '#/definitions/app.Response'
  12315. security:
  12316. - ApiKeyAuth: []
  12317. summary: 获取企业风管期货持仓头寸信息
  12318. tags:
  12319. - 企业风险管理(app)
  12320. /Ermcp/QueryExposureDetail:
  12321. get:
  12322. parameters:
  12323. - description: 所属机构ID
  12324. in: query
  12325. name: areaUserId
  12326. required: true
  12327. type: integer
  12328. - description: 套保商品
  12329. in: query
  12330. name: middleGoodsId
  12331. required: true
  12332. type: integer
  12333. produces:
  12334. - application/json
  12335. responses:
  12336. "200":
  12337. description: OK
  12338. schema:
  12339. items:
  12340. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  12341. type: array
  12342. "500":
  12343. description: Internal Server Error
  12344. schema:
  12345. $ref: '#/definitions/app.Response'
  12346. security:
  12347. - ApiKeyAuth: []
  12348. summary: 查询敞口现货明细
  12349. tags:
  12350. - 企业风险管理(app)
  12351. /Ermcp/QueryExposureHedgePosition:
  12352. get:
  12353. parameters:
  12354. - description: 所属机构ID
  12355. in: query
  12356. name: areaUserId
  12357. required: true
  12358. type: integer
  12359. produces:
  12360. - application/json
  12361. responses:
  12362. "200":
  12363. description: OK
  12364. schema:
  12365. items:
  12366. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  12367. type: array
  12368. "500":
  12369. description: Internal Server Error
  12370. schema:
  12371. $ref: '#/definitions/app.Response'
  12372. security:
  12373. - ApiKeyAuth: []
  12374. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  12375. tags:
  12376. - 企业风险管理(app)
  12377. /Ermcp/QueryExposureHedgePositionDetail:
  12378. get:
  12379. parameters:
  12380. - description: 所属机构ID
  12381. in: query
  12382. name: areaUserId
  12383. required: true
  12384. type: integer
  12385. - description: 商品id
  12386. in: query
  12387. name: goodsId
  12388. required: true
  12389. type: integer
  12390. produces:
  12391. - application/json
  12392. responses:
  12393. "200":
  12394. description: OK
  12395. schema:
  12396. items:
  12397. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  12398. type: array
  12399. "500":
  12400. description: Internal Server Error
  12401. schema:
  12402. $ref: '#/definitions/app.Response'
  12403. security:
  12404. - ApiKeyAuth: []
  12405. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  12406. tags:
  12407. - 企业风险管理(app)
  12408. /Ermcp/QueryExposureSpot:
  12409. get:
  12410. parameters:
  12411. - description: 所属机构ID
  12412. in: query
  12413. name: areaUserId
  12414. required: true
  12415. type: integer
  12416. produces:
  12417. - application/json
  12418. responses:
  12419. "200":
  12420. description: OK
  12421. schema:
  12422. items:
  12423. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  12424. type: array
  12425. "500":
  12426. description: Internal Server Error
  12427. schema:
  12428. $ref: '#/definitions/app.Response'
  12429. security:
  12430. - ApiKeyAuth: []
  12431. summary: 查询敞口现货头寸(敞口/现货头寸)
  12432. tags:
  12433. - 企业风险管理(app)
  12434. /Ermcp/QueryExposureSpotDetail:
  12435. get:
  12436. parameters:
  12437. - description: 所属机构ID
  12438. in: query
  12439. name: areaUserId
  12440. required: true
  12441. type: integer
  12442. - description: 现货品种ID
  12443. in: query
  12444. name: wrstandardId
  12445. required: true
  12446. type: integer
  12447. produces:
  12448. - application/json
  12449. responses:
  12450. "200":
  12451. description: OK
  12452. schema:
  12453. items:
  12454. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  12455. type: array
  12456. "500":
  12457. description: Internal Server Error
  12458. schema:
  12459. $ref: '#/definitions/app.Response'
  12460. security:
  12461. - ApiKeyAuth: []
  12462. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  12463. tags:
  12464. - 企业风险管理(app)
  12465. /Ermcp/QueryGGConvertConfig:
  12466. get:
  12467. parameters:
  12468. - description: 品种id(不填则查所有)
  12469. in: query
  12470. name: goodsgroupid
  12471. type: integer
  12472. produces:
  12473. - application/json
  12474. responses:
  12475. "200":
  12476. description: OK
  12477. schema:
  12478. items:
  12479. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  12480. type: array
  12481. "500":
  12482. description: Internal Server Error
  12483. schema:
  12484. $ref: '#/definitions/app.Response'
  12485. security:
  12486. - ApiKeyAuth: []
  12487. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  12488. tags:
  12489. - 企业风险管理(app)
  12490. /Ermcp/QueryGoodsBrand:
  12491. get:
  12492. parameters:
  12493. - description: 用户ID
  12494. in: query
  12495. name: userid
  12496. required: true
  12497. type: integer
  12498. - description: 现货商品ID
  12499. in: query
  12500. name: wrstandardid
  12501. type: integer
  12502. produces:
  12503. - application/json
  12504. responses:
  12505. "200":
  12506. description: OK
  12507. schema:
  12508. items:
  12509. $ref: '#/definitions/models.ErmcpGoodsBrand'
  12510. type: array
  12511. "500":
  12512. description: Internal Server Error
  12513. schema:
  12514. $ref: '#/definitions/app.Response'
  12515. security:
  12516. - ApiKeyAuth: []
  12517. summary: 查询商品品牌
  12518. tags:
  12519. - 企业风险管理(app)
  12520. /Ermcp/QueryGoodsModel:
  12521. get:
  12522. parameters:
  12523. - description: 用户ID
  12524. in: query
  12525. name: userid
  12526. required: true
  12527. type: integer
  12528. produces:
  12529. - application/json
  12530. responses:
  12531. "200":
  12532. description: OK
  12533. schema:
  12534. items:
  12535. $ref: '#/definitions/models.ErmcpGoodsModel'
  12536. type: array
  12537. "500":
  12538. description: Internal Server Error
  12539. schema:
  12540. $ref: '#/definitions/app.Response'
  12541. security:
  12542. - ApiKeyAuth: []
  12543. summary: 查询商品型号
  12544. tags:
  12545. - 企业风险管理(app)
  12546. /Ermcp/QueryHedgePlan:
  12547. get:
  12548. parameters:
  12549. - description: 用户ID
  12550. in: query
  12551. name: userId
  12552. required: true
  12553. type: integer
  12554. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  12555. in: query
  12556. name: HedgePlanStatus
  12557. required: true
  12558. type: string
  12559. produces:
  12560. - application/json
  12561. responses:
  12562. "200":
  12563. description: OK
  12564. schema:
  12565. items:
  12566. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  12567. type: array
  12568. "500":
  12569. description: Internal Server Error
  12570. schema:
  12571. $ref: '#/definitions/app.Response'
  12572. security:
  12573. - ApiKeyAuth: []
  12574. summary: 查询套保计划
  12575. tags:
  12576. - 企业风险管理(app)
  12577. /Ermcp/QueryHisExposure:
  12578. get:
  12579. parameters:
  12580. - description: 所属机构ID
  12581. in: query
  12582. name: areaUserId
  12583. required: true
  12584. type: integer
  12585. - description: 每个品种记录数
  12586. in: query
  12587. name: lastNum
  12588. required: true
  12589. type: integer
  12590. produces:
  12591. - application/json
  12592. responses:
  12593. "200":
  12594. description: OK
  12595. schema:
  12596. items:
  12597. $ref: '#/definitions/ermcp.HisExposureRsp'
  12598. type: array
  12599. "500":
  12600. description: Internal Server Error
  12601. schema:
  12602. $ref: '#/definitions/app.Response'
  12603. security:
  12604. - ApiKeyAuth: []
  12605. summary: 查询历史敞口(菜单:敞口/历史敞口)
  12606. tags:
  12607. - 企业风险管理(app)
  12608. /Ermcp/QueryMiddleGoods:
  12609. get:
  12610. parameters:
  12611. - description: 所属机构ID
  12612. in: query
  12613. name: userid
  12614. required: true
  12615. type: integer
  12616. - description: 状态 0-停用 1-正常
  12617. in: query
  12618. name: status
  12619. required: true
  12620. type: integer
  12621. produces:
  12622. - application/json
  12623. responses:
  12624. "200":
  12625. description: OK
  12626. schema:
  12627. items:
  12628. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  12629. type: array
  12630. "500":
  12631. description: Internal Server Error
  12632. schema:
  12633. $ref: '#/definitions/app.Response'
  12634. security:
  12635. - ApiKeyAuth: []
  12636. summary: 查询套保品种(菜单:套保品种)
  12637. tags:
  12638. - 企业风险管理(app)
  12639. /Ermcp/QueryMiddleGoodsChangeLog:
  12640. get:
  12641. parameters:
  12642. - description: 所属机构ID
  12643. in: query
  12644. name: userid
  12645. required: true
  12646. type: integer
  12647. - description: 套保品种id
  12648. in: query
  12649. name: middlegoodsid
  12650. required: true
  12651. type: integer
  12652. produces:
  12653. - application/json
  12654. responses:
  12655. "200":
  12656. description: OK
  12657. schema:
  12658. items:
  12659. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  12660. type: array
  12661. "500":
  12662. description: Internal Server Error
  12663. schema:
  12664. $ref: '#/definitions/app.Response'
  12665. security:
  12666. - ApiKeyAuth: []
  12667. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  12668. tags:
  12669. - 企业风险管理(app)
  12670. /Ermcp/QueryMiddleGoodsDetail:
  12671. get:
  12672. parameters:
  12673. - description: 所属机构ID
  12674. in: query
  12675. name: userid
  12676. required: true
  12677. type: integer
  12678. - description: 套保品种id
  12679. in: query
  12680. name: middlegoodsid
  12681. type: integer
  12682. produces:
  12683. - application/json
  12684. responses:
  12685. "200":
  12686. description: OK
  12687. schema:
  12688. items:
  12689. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  12690. type: array
  12691. "500":
  12692. description: Internal Server Error
  12693. schema:
  12694. $ref: '#/definitions/app.Response'
  12695. security:
  12696. - ApiKeyAuth: []
  12697. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  12698. tags:
  12699. - 企业风险管理(app)
  12700. /Ermcp/QueryPendingAuditInfo:
  12701. get:
  12702. parameters:
  12703. - description: 用户ID
  12704. in: query
  12705. name: UserId
  12706. required: true
  12707. type: integer
  12708. produces:
  12709. - application/json
  12710. responses:
  12711. "200":
  12712. description: OK
  12713. schema:
  12714. items:
  12715. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  12716. type: array
  12717. "500":
  12718. description: Internal Server Error
  12719. schema:
  12720. $ref: '#/definitions/app.Response'
  12721. security:
  12722. - ApiKeyAuth: []
  12723. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  12724. tags:
  12725. - 企业风险管理(app)
  12726. /Ermcp/QueryRealtimeExposure:
  12727. get:
  12728. parameters:
  12729. - description: 所属机构ID
  12730. in: query
  12731. name: AreaUserID
  12732. required: true
  12733. type: integer
  12734. produces:
  12735. - application/json
  12736. responses:
  12737. "200":
  12738. description: OK
  12739. schema:
  12740. items:
  12741. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  12742. type: array
  12743. "500":
  12744. description: Internal Server Error
  12745. schema:
  12746. $ref: '#/definitions/app.Response'
  12747. security:
  12748. - ApiKeyAuth: []
  12749. summary: 查询实时敞口
  12750. tags:
  12751. - 企业风险管理(app)
  12752. /Ermcp/QueryRealtimeExposurePosition:
  12753. get:
  12754. parameters:
  12755. - description: 所属机构ID
  12756. in: query
  12757. name: areaUserId
  12758. required: true
  12759. type: integer
  12760. - description: 套保商品ID
  12761. in: query
  12762. name: middleGoodsId
  12763. required: true
  12764. type: integer
  12765. produces:
  12766. - application/json
  12767. responses:
  12768. "200":
  12769. description: OK
  12770. schema:
  12771. items:
  12772. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  12773. type: array
  12774. "500":
  12775. description: Internal Server Error
  12776. schema:
  12777. $ref: '#/definitions/app.Response'
  12778. security:
  12779. - ApiKeyAuth: []
  12780. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  12781. tags:
  12782. - 企业风险管理(app)
  12783. /Ermcp/QuerySpotContract:
  12784. get:
  12785. parameters:
  12786. - description: 用户ID
  12787. in: query
  12788. name: userId
  12789. required: true
  12790. type: integer
  12791. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  12792. in: query
  12793. name: QueryType
  12794. required: true
  12795. type: integer
  12796. produces:
  12797. - application/json
  12798. responses:
  12799. "200":
  12800. description: OK
  12801. schema:
  12802. items:
  12803. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  12804. type: array
  12805. "500":
  12806. description: Internal Server Error
  12807. schema:
  12808. $ref: '#/definitions/app.Response'
  12809. security:
  12810. - ApiKeyAuth: []
  12811. summary: 查询现货合同(对应现货合同菜单)
  12812. tags:
  12813. - 企业风险管理(app)
  12814. /Ermcp/QueryUserInfo:
  12815. get:
  12816. parameters:
  12817. - description: 所属机构用户ID
  12818. in: query
  12819. name: MemberUserID
  12820. required: true
  12821. type: integer
  12822. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  12823. in: query
  12824. name: queryType
  12825. required: true
  12826. type: integer
  12827. produces:
  12828. - application/json
  12829. responses:
  12830. "200":
  12831. description: OK
  12832. schema:
  12833. items:
  12834. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  12835. type: array
  12836. "500":
  12837. description: Internal Server Error
  12838. schema:
  12839. $ref: '#/definitions/app.Response'
  12840. security:
  12841. - ApiKeyAuth: []
  12842. summary: 查询客户资料
  12843. tags:
  12844. - 企业风险管理(app)
  12845. /Ermcp/QueryWarehouseInfo:
  12846. get:
  12847. parameters:
  12848. - description: 用户ID
  12849. in: query
  12850. name: userid
  12851. required: true
  12852. type: integer
  12853. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  12854. in: query
  12855. name: status
  12856. type: string
  12857. produces:
  12858. - application/json
  12859. responses:
  12860. "200":
  12861. description: OK
  12862. schema:
  12863. items:
  12864. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  12865. type: array
  12866. "500":
  12867. description: Internal Server Error
  12868. schema:
  12869. $ref: '#/definitions/app.Response'
  12870. security:
  12871. - ApiKeyAuth: []
  12872. summary: 查询仓库信息
  12873. tags:
  12874. - 企业风险管理(app)
  12875. /Ermcp/QueryWrStandard:
  12876. get:
  12877. parameters:
  12878. - description: 所属机构ID
  12879. in: query
  12880. name: userid
  12881. required: true
  12882. type: integer
  12883. - description: 状态 0-停用 1-正常
  12884. in: query
  12885. name: status
  12886. required: true
  12887. type: integer
  12888. produces:
  12889. - application/json
  12890. responses:
  12891. "200":
  12892. description: OK
  12893. schema:
  12894. items:
  12895. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  12896. type: array
  12897. "500":
  12898. description: Internal Server Error
  12899. schema:
  12900. $ref: '#/definitions/app.Response'
  12901. security:
  12902. - ApiKeyAuth: []
  12903. summary: 查询现货商品
  12904. tags:
  12905. - 企业风险管理(app)
  12906. /Ermcp/QueryWrStandardDetail:
  12907. get:
  12908. parameters:
  12909. - description: 所属机构ID
  12910. in: query
  12911. name: userid
  12912. required: true
  12913. type: integer
  12914. - description: 现货商品ID
  12915. in: query
  12916. name: wrstandardid
  12917. type: integer
  12918. - description: 可不填, 1-查询关联交易商品
  12919. in: query
  12920. name: goods
  12921. type: integer
  12922. produces:
  12923. - application/json
  12924. responses:
  12925. "200":
  12926. description: OK
  12927. schema:
  12928. items:
  12929. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  12930. type: array
  12931. "500":
  12932. description: Internal Server Error
  12933. schema:
  12934. $ref: '#/definitions/app.Response'
  12935. security:
  12936. - ApiKeyAuth: []
  12937. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  12938. tags:
  12939. - 企业风险管理(app)
  12940. /Erms2/QueryArbitrageStrategy:
  12941. get:
  12942. parameters:
  12943. - description: 账户ID
  12944. in: query
  12945. name: userid
  12946. required: true
  12947. type: integer
  12948. - description: 商品组ID(品种ID)
  12949. in: query
  12950. name: goodsgroupid
  12951. type: string
  12952. produces:
  12953. - application/json
  12954. responses:
  12955. "200":
  12956. description: OK
  12957. schema:
  12958. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  12959. "500":
  12960. description: Internal Server Error
  12961. schema:
  12962. $ref: '#/definitions/app.Response'
  12963. security:
  12964. - ApiKeyAuth: []
  12965. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  12966. tags:
  12967. - 风险管理
  12968. /Erms2/QueryInnerTradeDetail:
  12969. get:
  12970. parameters:
  12971. - description: 资金账户
  12972. in: query
  12973. name: accountid
  12974. required: true
  12975. type: integer
  12976. produces:
  12977. - application/json
  12978. responses:
  12979. "200":
  12980. description: OK
  12981. schema:
  12982. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  12983. "500":
  12984. description: Internal Server Error
  12985. schema:
  12986. $ref: '#/definitions/app.Response'
  12987. security:
  12988. - ApiKeyAuth: []
  12989. summary: 查询内部成交单信息
  12990. tags:
  12991. - 风险管理
  12992. /Erms2/QuerySpotContract:
  12993. get:
  12994. parameters:
  12995. - description: 策略申请ID
  12996. in: query
  12997. name: asapplyid
  12998. required: true
  12999. type: integer
  13000. - description: 现货合同ID
  13001. in: query
  13002. name: spotcontractid
  13003. type: integer
  13004. produces:
  13005. - application/json
  13006. responses:
  13007. "200":
  13008. description: OK
  13009. schema:
  13010. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  13011. "500":
  13012. description: Internal Server Error
  13013. schema:
  13014. $ref: '#/definitions/app.Response'
  13015. security:
  13016. - ApiKeyAuth: []
  13017. summary: 查询现货合同表信息(指定策略ID、未结束的)
  13018. tags:
  13019. - 风险管理
  13020. /Erms3/AddErms2ASApply:
  13021. post:
  13022. parameters:
  13023. - description: 申请参数
  13024. in: body
  13025. name: jsonBody
  13026. required: true
  13027. schema:
  13028. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  13029. produces:
  13030. - application/json
  13031. responses:
  13032. "200":
  13033. description: OK
  13034. schema:
  13035. $ref: '#/definitions/app.Response'
  13036. "500":
  13037. description: Internal Server Error
  13038. schema:
  13039. $ref: '#/definitions/app.Response'
  13040. security:
  13041. - ApiKeyAuth: []
  13042. summary: 新增期现套利业务申请
  13043. tags:
  13044. - 风险管理v3
  13045. /Erms3/AddErms2SpotTradeApply:
  13046. post:
  13047. parameters:
  13048. - description: 申请参数
  13049. in: body
  13050. name: jsonBody
  13051. required: true
  13052. schema:
  13053. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  13054. produces:
  13055. - application/json
  13056. responses:
  13057. "200":
  13058. description: OK
  13059. schema:
  13060. $ref: '#/definitions/app.Response'
  13061. "500":
  13062. description: Internal Server Error
  13063. schema:
  13064. $ref: '#/definitions/app.Response'
  13065. security:
  13066. - ApiKeyAuth: []
  13067. summary: 新增现货贸易业务申请
  13068. tags:
  13069. - 风险管理v3
  13070. /Erms3/AddSpotContractApply:
  13071. post:
  13072. parameters:
  13073. - description: 申请参数
  13074. in: body
  13075. name: jsonBody
  13076. required: true
  13077. schema:
  13078. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  13079. produces:
  13080. - application/json
  13081. responses:
  13082. "200":
  13083. description: OK
  13084. schema:
  13085. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  13086. "500":
  13087. description: Internal Server Error
  13088. schema:
  13089. $ref: '#/definitions/app.Response'
  13090. security:
  13091. - ApiKeyAuth: []
  13092. summary: 新增现货合同申请
  13093. tags:
  13094. - 风险管理v3
  13095. /Erms3/AddUserInfoApply:
  13096. post:
  13097. parameters:
  13098. - description: 用户信息
  13099. in: body
  13100. name: jsonBody
  13101. required: true
  13102. schema:
  13103. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  13104. produces:
  13105. - application/json
  13106. responses:
  13107. "200":
  13108. description: OK
  13109. schema:
  13110. $ref: '#/definitions/app.Response'
  13111. "500":
  13112. description: Internal Server Error
  13113. schema:
  13114. $ref: '#/definitions/app.Response'
  13115. security:
  13116. - ApiKeyAuth: []
  13117. summary: 新增客户申请
  13118. tags:
  13119. - 风险管理v3
  13120. /Erms3/ModifyUserInfoApply:
  13121. post:
  13122. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  13123. int, "userstate": 2 }'
  13124. parameters:
  13125. - description: 用户信息
  13126. in: body
  13127. name: jsonBody
  13128. required: true
  13129. schema:
  13130. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  13131. produces:
  13132. - application/json
  13133. responses:
  13134. "200":
  13135. description: OK
  13136. schema:
  13137. $ref: '#/definitions/app.Response'
  13138. "500":
  13139. description: Internal Server Error
  13140. schema:
  13141. $ref: '#/definitions/app.Response'
  13142. security:
  13143. - ApiKeyAuth: []
  13144. summary: 修改客户申请
  13145. tags:
  13146. - 风险管理v3
  13147. /Erms3/QueryBusinessInfo:
  13148. get:
  13149. parameters:
  13150. - description: 资金账号ID列表,用逗号分隔
  13151. in: query
  13152. name: accountids
  13153. required: true
  13154. type: string
  13155. - description: 状态,0为未结束 1为已结束
  13156. in: query
  13157. name: status
  13158. required: true
  13159. type: integer
  13160. produces:
  13161. - application/json
  13162. responses:
  13163. "200":
  13164. description: OK
  13165. schema:
  13166. items:
  13167. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  13168. type: array
  13169. "500":
  13170. description: Internal Server Error
  13171. schema:
  13172. $ref: '#/definitions/app.Response'
  13173. security:
  13174. - ApiKeyAuth: []
  13175. summary: 查询业务表单数据
  13176. tags:
  13177. - 风险管理v3
  13178. /Erms3/QueryPendingAuditContract:
  13179. get:
  13180. parameters:
  13181. - description: 资金账号ID列表,逗号隔开
  13182. in: query
  13183. name: accountids
  13184. required: true
  13185. type: string
  13186. - description: 合同类型 1-采购 -1-销售
  13187. in: query
  13188. name: contracttype
  13189. required: true
  13190. type: integer
  13191. - description: 合同模式 1-普通 2-回购
  13192. in: query
  13193. name: contractmode
  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/erms3.QryAuditContractRsp'
  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. - 风险管理v3
  13214. /Erms3/QueryPendingBusiness:
  13215. get:
  13216. parameters:
  13217. - description: 资金账号ID列表,逗号隔开
  13218. in: query
  13219. name: accountids
  13220. required: true
  13221. type: string
  13222. produces:
  13223. - application/json
  13224. responses:
  13225. "200":
  13226. description: OK
  13227. schema:
  13228. items:
  13229. $ref: '#/definitions/erms3.QryPendingBizRsp'
  13230. type: array
  13231. "500":
  13232. description: Internal Server Error
  13233. schema:
  13234. $ref: '#/definitions/app.Response'
  13235. security:
  13236. - ApiKeyAuth: []
  13237. summary: 查询待审核基差贸易业务
  13238. tags:
  13239. - 风险管理v3
  13240. /Erms3/QuerySpotContractAppleForm:
  13241. get:
  13242. parameters:
  13243. - description: 登录账号
  13244. in: query
  13245. name: loginID
  13246. required: true
  13247. type: integer
  13248. produces:
  13249. - application/json
  13250. responses:
  13251. "200":
  13252. description: OK
  13253. schema:
  13254. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  13255. "500":
  13256. description: Internal Server Error
  13257. schema:
  13258. $ref: '#/definitions/app.Response'
  13259. security:
  13260. - ApiKeyAuth: []
  13261. summary: 查询合同申请表单数据
  13262. tags:
  13263. - 风险管理v3
  13264. /Erms3/QuerySpotContractDetail:
  13265. get:
  13266. parameters:
  13267. - description: 资金账号ID列表,用逗号分隔
  13268. in: query
  13269. name: accountids
  13270. required: true
  13271. type: string
  13272. - description: 合同类型,1为采购合同 -1为销售合同
  13273. in: query
  13274. name: contracttype
  13275. required: true
  13276. type: integer
  13277. - description: 合同模式,1为普通合同 2为回购销售合同
  13278. in: query
  13279. name: contractmode
  13280. required: true
  13281. type: integer
  13282. - description: 状态,0为履约中 1为已完成
  13283. in: query
  13284. name: status
  13285. required: true
  13286. type: integer
  13287. produces:
  13288. - application/json
  13289. responses:
  13290. "200":
  13291. description: OK
  13292. schema:
  13293. items:
  13294. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  13295. type: array
  13296. "500":
  13297. description: Internal Server Error
  13298. schema:
  13299. $ref: '#/definitions/app.Response'
  13300. security:
  13301. - ApiKeyAuth: []
  13302. summary: 查询合同详细信息
  13303. tags:
  13304. - 风险管理v3
  13305. /Erms3/QueryUserInfoApplies:
  13306. get:
  13307. parameters:
  13308. - description: 页码
  13309. in: query
  13310. name: page
  13311. type: integer
  13312. - description: 每页条数
  13313. in: query
  13314. name: pagesize
  13315. type: integer
  13316. - description: 客户名称,支持模糊查询
  13317. in: query
  13318. name: userName
  13319. type: string
  13320. produces:
  13321. - application/json
  13322. responses:
  13323. "200":
  13324. description: OK
  13325. schema:
  13326. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  13327. "500":
  13328. description: Internal Server Error
  13329. schema:
  13330. $ref: '#/definitions/app.Response'
  13331. security:
  13332. - ApiKeyAuth: []
  13333. summary: 客户申请信息查询
  13334. tags:
  13335. - 风险管理v3
  13336. /Erms3/QueryUserInfos:
  13337. get:
  13338. parameters:
  13339. - description: 页码
  13340. in: query
  13341. name: page
  13342. type: integer
  13343. - description: 每页条数
  13344. in: query
  13345. name: pagesize
  13346. type: integer
  13347. - description: 客户名称,支持模糊查询
  13348. in: query
  13349. name: userName
  13350. type: string
  13351. produces:
  13352. - application/json
  13353. responses:
  13354. "200":
  13355. description: OK
  13356. schema:
  13357. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  13358. "500":
  13359. description: Internal Server Error
  13360. schema:
  13361. $ref: '#/definitions/app.Response'
  13362. security:
  13363. - ApiKeyAuth: []
  13364. summary: 客户信息查询
  13365. tags:
  13366. - 风险管理v3
  13367. /HSBY/GetHsbyMyCount:
  13368. get:
  13369. description: 说明: 不包括已完成的数量。
  13370. parameters:
  13371. - description: 资金账户列表,格式:1,2,3
  13372. in: query
  13373. name: accountIDs
  13374. required: true
  13375. type: string
  13376. produces:
  13377. - application/json
  13378. responses:
  13379. "200":
  13380. description: OK
  13381. schema:
  13382. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  13383. "500":
  13384. description: Internal Server Error
  13385. schema:
  13386. $ref: '#/definitions/app.Response'
  13387. security:
  13388. - ApiKeyAuth: []
  13389. summary: 获取我的订单与包裹数量
  13390. tags:
  13391. - 定制【海商报业】
  13392. /HSBY/QueryClientFixedADConfigs:
  13393. get:
  13394. produces:
  13395. - application/json
  13396. responses:
  13397. "200":
  13398. description: OK
  13399. schema:
  13400. $ref: '#/definitions/models.Clientfixedadconfig'
  13401. "500":
  13402. description: Internal Server Error
  13403. schema:
  13404. $ref: '#/definitions/app.Response'
  13405. security:
  13406. - ApiKeyAuth: []
  13407. summary: 获取终端固定广告配置
  13408. tags:
  13409. - 定制【海商报业】
  13410. /HSBY/QueryHsbyBuyMyTradeDetail:
  13411. get:
  13412. parameters:
  13413. - description: 页码
  13414. in: query
  13415. name: page
  13416. type: integer
  13417. - description: 每页条数
  13418. in: query
  13419. name: pagesize
  13420. type: integer
  13421. - description: 资金账户列表,格式:1,2,3
  13422. in: query
  13423. name: accountIDs
  13424. required: true
  13425. type: string
  13426. produces:
  13427. - application/json
  13428. responses:
  13429. "200":
  13430. description: OK
  13431. schema:
  13432. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  13433. "500":
  13434. description: Internal Server Error
  13435. schema:
  13436. $ref: '#/definitions/app.Response'
  13437. security:
  13438. - ApiKeyAuth: []
  13439. summary: 查询"我的订单 - 已完成"单据信息
  13440. tags:
  13441. - 定制【海商报业】
  13442. /HSBY/QueryHsbyGoodsOrderDetails:
  13443. get:
  13444. description: 说明:查询结果已按委托价格和委托时间排序
  13445. parameters:
  13446. - description: 商品ID
  13447. in: query
  13448. name: goodsID
  13449. required: true
  13450. type: integer
  13451. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  13452. in: query
  13453. name: accountIDs
  13454. type: string
  13455. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  13456. in: query
  13457. name: buyOrSell
  13458. type: integer
  13459. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  13460. in: query
  13461. name: price
  13462. type: number
  13463. - description: 档位,不传则默认为3档
  13464. in: query
  13465. name: speed
  13466. type: integer
  13467. produces:
  13468. - application/json
  13469. responses:
  13470. "200":
  13471. description: OK
  13472. schema:
  13473. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  13474. "500":
  13475. description: Internal Server Error
  13476. schema:
  13477. $ref: '#/definitions/app.Response'
  13478. security:
  13479. - ApiKeyAuth: []
  13480. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  13481. tags:
  13482. - 定制【海商报业】
  13483. /HSBY/QueryHsbyListingGoodsDetail:
  13484. get:
  13485. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  13486. parameters:
  13487. - description: 商品ID
  13488. in: query
  13489. name: goodsID
  13490. required: true
  13491. type: integer
  13492. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  13493. in: query
  13494. name: accountID
  13495. type: integer
  13496. produces:
  13497. - application/json
  13498. responses:
  13499. "200":
  13500. description: OK
  13501. schema:
  13502. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  13503. "500":
  13504. description: Internal Server Error
  13505. schema:
  13506. $ref: '#/definitions/app.Response'
  13507. security:
  13508. - ApiKeyAuth: []
  13509. summary: 查询二级市场(挂牌点选)商品信息详情
  13510. tags:
  13511. - 定制【海商报业】
  13512. /HSBY/QueryHsbyMarketGoodsDetail:
  13513. get:
  13514. parameters:
  13515. - description: 委托单号
  13516. in: query
  13517. name: orderID
  13518. required: true
  13519. type: integer
  13520. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  13521. in: query
  13522. name: accountID
  13523. type: integer
  13524. produces:
  13525. - application/json
  13526. responses:
  13527. "200":
  13528. description: OK
  13529. schema:
  13530. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  13531. "500":
  13532. description: Internal Server Error
  13533. schema:
  13534. $ref: '#/definitions/app.Response'
  13535. security:
  13536. - ApiKeyAuth: []
  13537. summary: 查询三级市场(商城)商品信息详情
  13538. tags:
  13539. - 定制【海商报业】
  13540. /HSBY/QueryHsbyMarketGoodses:
  13541. get:
  13542. parameters:
  13543. - description: 页码
  13544. in: query
  13545. name: page
  13546. type: integer
  13547. - description: 每页条数
  13548. in: query
  13549. name: pagesize
  13550. type: integer
  13551. - description: 市场ID列表,格式:1,2,3
  13552. in: query
  13553. name: marketIDs
  13554. required: true
  13555. type: string
  13556. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  13557. in: query
  13558. name: accountID
  13559. required: true
  13560. type: integer
  13561. - description: 类别ID
  13562. in: query
  13563. name: categoryID
  13564. type: integer
  13565. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  13566. in: query
  13567. name: goodsIDs
  13568. type: string
  13569. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  13570. in: query
  13571. name: couponTypeID
  13572. type: integer
  13573. produces:
  13574. - application/json
  13575. responses:
  13576. "200":
  13577. description: OK
  13578. schema:
  13579. $ref: '#/definitions/models.HsbyMarketGoods'
  13580. "500":
  13581. description: Internal Server Error
  13582. schema:
  13583. $ref: '#/definitions/app.Response'
  13584. security:
  13585. - ApiKeyAuth: []
  13586. summary: 查询特卖商品列表(三级商城)
  13587. tags:
  13588. - 定制【海商报业】
  13589. /HSBY/QueryHsbyMarkets:
  13590. get:
  13591. produces:
  13592. - application/json
  13593. responses:
  13594. "200":
  13595. description: OK
  13596. schema:
  13597. $ref: '#/definitions/models.HsbyMarketInfo'
  13598. "500":
  13599. description: Internal Server Error
  13600. schema:
  13601. $ref: '#/definitions/app.Response'
  13602. security:
  13603. - ApiKeyAuth: []
  13604. summary: 查询海商报业相关市场信息
  13605. tags:
  13606. - 定制【海商报业】
  13607. /HSBY/QueryHsbyMyBuyOrderDetails:
  13608. get:
  13609. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  13610. parameters:
  13611. - description: 资金账户列表,格式:1,2,3
  13612. in: query
  13613. name: accountIDs
  13614. required: true
  13615. type: string
  13616. produces:
  13617. - application/json
  13618. responses:
  13619. "200":
  13620. description: OK
  13621. schema:
  13622. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  13623. "500":
  13624. description: Internal Server Error
  13625. schema:
  13626. $ref: '#/definitions/app.Response'
  13627. security:
  13628. - ApiKeyAuth: []
  13629. summary: 查询“我的订单”信息
  13630. tags:
  13631. - 定制【海商报业】
  13632. /HSBY/QueryHsbyMyGoods:
  13633. get:
  13634. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  13635. parameters:
  13636. - description: 资金账户列表,格式:1,2,3
  13637. in: query
  13638. name: accountIDs
  13639. required: true
  13640. type: string
  13641. produces:
  13642. - application/json
  13643. responses:
  13644. "200":
  13645. description: OK
  13646. schema:
  13647. $ref: '#/definitions/models.HsbyMyGoods'
  13648. "500":
  13649. description: Internal Server Error
  13650. schema:
  13651. $ref: '#/definitions/app.Response'
  13652. security:
  13653. - ApiKeyAuth: []
  13654. summary: 查询“我的商品”信息
  13655. tags:
  13656. - 定制【海商报业】
  13657. /HSBY/QueryHsbyMyPackages:
  13658. get:
  13659. parameters:
  13660. - description: 资金账户列表,格式:1,2,3
  13661. in: query
  13662. name: accountIDs
  13663. required: true
  13664. type: string
  13665. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  13666. in: query
  13667. name: takeOrderStatus
  13668. type: integer
  13669. produces:
  13670. - application/json
  13671. responses:
  13672. "200":
  13673. description: OK
  13674. schema:
  13675. $ref: '#/definitions/models.HsbyMyPackage'
  13676. "500":
  13677. description: Internal Server Error
  13678. schema:
  13679. $ref: '#/definitions/app.Response'
  13680. security:
  13681. - ApiKeyAuth: []
  13682. summary: 查询我的包裹信息
  13683. tags:
  13684. - 定制【海商报业】
  13685. /HSBY/QueryHsbyPreGoodsDetail:
  13686. get:
  13687. parameters:
  13688. - description: 商品ID
  13689. in: query
  13690. name: goodsID
  13691. required: true
  13692. type: integer
  13693. - description: 资金账户,主要用于获取预售商品购买上限
  13694. in: query
  13695. name: accountID
  13696. type: integer
  13697. produces:
  13698. - application/json
  13699. responses:
  13700. "200":
  13701. description: OK
  13702. schema:
  13703. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  13704. "500":
  13705. description: Internal Server Error
  13706. schema:
  13707. $ref: '#/definitions/app.Response'
  13708. security:
  13709. - ApiKeyAuth: []
  13710. summary: 查询一级市场(预售)商品信息详情
  13711. tags:
  13712. - 定制【海商报业】
  13713. /HSBY/QueryHsbyPreGoodses:
  13714. get:
  13715. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  13716. parameters:
  13717. - description: 页码
  13718. in: query
  13719. name: page
  13720. type: integer
  13721. - description: 每页条数
  13722. in: query
  13723. name: pagesize
  13724. type: integer
  13725. - description: 市场ID列表,格式:1,2,3
  13726. in: query
  13727. name: marketIDs
  13728. required: true
  13729. type: string
  13730. - description: 目的地(省)ID
  13731. in: query
  13732. name: descProvinceID
  13733. type: integer
  13734. - description: 目的地(市)ID
  13735. in: query
  13736. name: descCityID
  13737. type: integer
  13738. produces:
  13739. - application/json
  13740. responses:
  13741. "200":
  13742. description: OK
  13743. schema:
  13744. $ref: '#/definitions/models.HsbyPreGoods'
  13745. "500":
  13746. description: Internal Server Error
  13747. schema:
  13748. $ref: '#/definitions/app.Response'
  13749. security:
  13750. - ApiKeyAuth: []
  13751. summary: 查询新品上市商品列表(一级市场预售)
  13752. tags:
  13753. - 定制【海商报业】
  13754. /HSBY/QueryHsbySellMyDetails:
  13755. get:
  13756. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  13757. parameters:
  13758. - description: 页码
  13759. in: query
  13760. name: page
  13761. type: integer
  13762. - description: 每页条数
  13763. in: query
  13764. name: pagesize
  13765. type: integer
  13766. - description: 资金账户列表,格式:1,2,3
  13767. in: query
  13768. name: accountIDs
  13769. required: true
  13770. type: string
  13771. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  13772. in: query
  13773. name: orderType
  13774. type: integer
  13775. produces:
  13776. - application/json
  13777. responses:
  13778. "200":
  13779. description: OK
  13780. schema:
  13781. $ref: '#/definitions/models.HsbySellMyDetail'
  13782. "500":
  13783. description: Internal Server Error
  13784. schema:
  13785. $ref: '#/definitions/app.Response'
  13786. security:
  13787. - ApiKeyAuth: []
  13788. summary: 查询"我的闲置"单据信息
  13789. tags:
  13790. - 定制【海商报业】
  13791. /HSBY/QueryHsbyTopGoodses:
  13792. get:
  13793. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  13794. parameters:
  13795. - description: 页码
  13796. in: query
  13797. name: page
  13798. type: integer
  13799. - description: 每页条数
  13800. in: query
  13801. name: pagesize
  13802. type: integer
  13803. - description: 市场ID列表,格式:1,2,3
  13804. in: query
  13805. name: marketIDs
  13806. required: true
  13807. type: string
  13808. - description: 目的地(省)ID
  13809. in: query
  13810. name: descProvinceID
  13811. type: integer
  13812. - description: 目的地(市)ID
  13813. in: query
  13814. name: descCityID
  13815. type: integer
  13816. produces:
  13817. - application/json
  13818. responses:
  13819. "200":
  13820. description: OK
  13821. schema:
  13822. $ref: '#/definitions/models.HsbyTopGoods'
  13823. "500":
  13824. description: Internal Server Error
  13825. schema:
  13826. $ref: '#/definitions/app.Response'
  13827. security:
  13828. - ApiKeyAuth: []
  13829. summary: 查询热卖商品列表(二级市场挂牌点选)
  13830. tags:
  13831. - 定制【海商报业】
  13832. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  13833. get:
  13834. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  13835. parameters:
  13836. - description: 商品ID
  13837. in: query
  13838. name: goodsID
  13839. required: true
  13840. type: integer
  13841. produces:
  13842. - application/json
  13843. responses:
  13844. "200":
  13845. description: OK
  13846. schema:
  13847. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  13848. "500":
  13849. description: Internal Server Error
  13850. schema:
  13851. $ref: '#/definitions/app.Response'
  13852. security:
  13853. - ApiKeyAuth: []
  13854. summary: 查询游客三级市场(商城)商品信息详情
  13855. tags:
  13856. - 定制【海商报业】
  13857. /HSBY/QueryHsbyVisitorMarketGoodses:
  13858. get:
  13859. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  13860. parameters:
  13861. - description: 页码
  13862. in: query
  13863. name: page
  13864. type: integer
  13865. - description: 每页条数
  13866. in: query
  13867. name: pagesize
  13868. type: integer
  13869. - description: 市场ID列表,格式:1,2,3
  13870. in: query
  13871. name: marketIDs
  13872. required: true
  13873. type: string
  13874. - description: 类别ID
  13875. in: query
  13876. name: categoryID
  13877. type: integer
  13878. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  13879. in: query
  13880. name: goodsIDs
  13881. type: string
  13882. produces:
  13883. - application/json
  13884. responses:
  13885. "200":
  13886. description: OK
  13887. schema:
  13888. $ref: '#/definitions/models.HsbyMarketGoods'
  13889. "500":
  13890. description: Internal Server Error
  13891. schema:
  13892. $ref: '#/definitions/app.Response'
  13893. security:
  13894. - ApiKeyAuth: []
  13895. summary: 查询游客特卖商品列表(三级商城)
  13896. tags:
  13897. - 定制【海商报业】
  13898. /HSBY/QueryMyCollectionOrders:
  13899. get:
  13900. parameters:
  13901. - description: 页码
  13902. in: query
  13903. name: page
  13904. type: integer
  13905. - description: 每页条数
  13906. in: query
  13907. name: pagesize
  13908. type: integer
  13909. - description: 资金账户,格式:1,2,3
  13910. in: query
  13911. name: accountIDs
  13912. required: true
  13913. type: string
  13914. produces:
  13915. - application/json
  13916. responses:
  13917. "200":
  13918. description: OK
  13919. schema:
  13920. $ref: '#/definitions/models.HsbySellCollectionOrder'
  13921. "500":
  13922. description: Internal Server Error
  13923. schema:
  13924. $ref: '#/definitions/app.Response'
  13925. security:
  13926. - ApiKeyAuth: []
  13927. summary: 我的闲置中收款信息查询
  13928. tags:
  13929. - 定制【海商报业】
  13930. /HSBY/QueryMyCouponHolds:
  13931. get:
  13932. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  13933. parameters:
  13934. - description: 资金账户列表,格式:1,2,3
  13935. in: query
  13936. name: accountIDs
  13937. required: true
  13938. type: string
  13939. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  13940. in: query
  13941. name: holdStatus
  13942. type: string
  13943. produces:
  13944. - application/json
  13945. responses:
  13946. "200":
  13947. description: OK
  13948. schema:
  13949. $ref: '#/definitions/models.MyCouponHold'
  13950. "500":
  13951. description: Internal Server Error
  13952. schema:
  13953. $ref: '#/definitions/app.Response'
  13954. security:
  13955. - ApiKeyAuth: []
  13956. summary: 我的优惠卷持仓查询
  13957. tags:
  13958. - 定制【海商报业】
  13959. /HSBY/QueryMyCoupons:
  13960. get:
  13961. parameters:
  13962. - description: 资金账户列表,格式:1,2,3
  13963. in: query
  13964. name: accountIDs
  13965. required: true
  13966. type: string
  13967. - description: 商品ID, 一般与sellUserID配套传入
  13968. in: query
  13969. name: goodsID
  13970. type: integer
  13971. - description: 卖方UserID
  13972. in: query
  13973. name: sellUserID
  13974. type: integer
  13975. produces:
  13976. - application/json
  13977. responses:
  13978. "200":
  13979. description: OK
  13980. schema:
  13981. $ref: '#/definitions/models.MyCoupon'
  13982. "500":
  13983. description: Internal Server Error
  13984. schema:
  13985. $ref: '#/definitions/app.Response'
  13986. security:
  13987. - ApiKeyAuth: []
  13988. summary: 我的优惠卷查询
  13989. tags:
  13990. - 定制【海商报业】
  13991. /HSBY/QueryMyPayOrders:
  13992. get:
  13993. parameters:
  13994. - description: 页码
  13995. in: query
  13996. name: page
  13997. type: integer
  13998. - description: 每页条数
  13999. in: query
  14000. name: pagesize
  14001. type: integer
  14002. - description: 资金账户列表,格式:1,2,3
  14003. in: query
  14004. name: accountIDs
  14005. required: true
  14006. type: string
  14007. - description: 买方委托单号
  14008. in: query
  14009. name: buyOrderID
  14010. type: integer
  14011. - description: 卖方委托单号
  14012. in: query
  14013. name: sellOrderID
  14014. type: integer
  14015. produces:
  14016. - application/json
  14017. responses:
  14018. "200":
  14019. description: OK
  14020. schema:
  14021. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  14022. "500":
  14023. description: Internal Server Error
  14024. schema:
  14025. $ref: '#/definitions/app.Response'
  14026. security:
  14027. - ApiKeyAuth: []
  14028. summary: 获取我的订单中待付款信息
  14029. tags:
  14030. - 定制【海商报业】
  14031. /HSBY/QueryMyUsedCoupon:
  14032. get:
  14033. parameters:
  14034. - description: 资金账户列表,格式:1,2,3
  14035. in: query
  14036. name: accountIDs
  14037. required: true
  14038. type: string
  14039. produces:
  14040. - application/json
  14041. responses:
  14042. "200":
  14043. description: OK
  14044. schema:
  14045. $ref: '#/definitions/models.MyUsedCoupon'
  14046. "500":
  14047. description: Internal Server Error
  14048. schema:
  14049. $ref: '#/definitions/app.Response'
  14050. security:
  14051. - ApiKeyAuth: []
  14052. summary: 已使用优惠卷查询
  14053. tags:
  14054. - 定制【海商报业】
  14055. /HSBY/QueryProvincesAndCities:
  14056. get:
  14057. description: 查询结果只包括二级市场商品已关连的省市信息。
  14058. parameters:
  14059. - description: 省ID
  14060. in: query
  14061. name: provinceID
  14062. type: integer
  14063. produces:
  14064. - application/json
  14065. responses:
  14066. "200":
  14067. description: OK
  14068. schema:
  14069. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  14070. "500":
  14071. description: Internal Server Error
  14072. schema:
  14073. $ref: '#/definitions/app.Response'
  14074. security:
  14075. - ApiKeyAuth: []
  14076. summary: 查询省市信息(不包括区)
  14077. tags:
  14078. - 定制【海商报业】
  14079. /HSBY/SetHsbyMyPackagesStatus:
  14080. post:
  14081. parameters:
  14082. - description: 提货单号
  14083. in: query
  14084. name: takeOrderID
  14085. required: true
  14086. type: string
  14087. - description: 资金账号
  14088. in: query
  14089. name: accountID
  14090. required: true
  14091. type: integer
  14092. produces:
  14093. - application/json
  14094. responses:
  14095. "200":
  14096. description: OK
  14097. schema:
  14098. $ref: '#/definitions/app.Response'
  14099. "500":
  14100. description: Internal Server Error
  14101. schema:
  14102. $ref: '#/definitions/app.Response'
  14103. security:
  14104. - ApiKeyAuth: []
  14105. summary: 设置我的包裹已收货状态
  14106. tags:
  14107. - 定制【海商报业】
  14108. /Market/QueryGoodsesByLoginID:
  14109. get:
  14110. parameters:
  14111. - description: 登录账号
  14112. in: query
  14113. name: loginID
  14114. required: true
  14115. type: integer
  14116. - description: 市场ID列表,格式:1,2,3
  14117. in: query
  14118. name: marketIDs
  14119. type: string
  14120. produces:
  14121. - application/json
  14122. responses:
  14123. "200":
  14124. description: OK
  14125. schema:
  14126. $ref: '#/definitions/models.Goods'
  14127. "500":
  14128. description: Internal Server Error
  14129. schema:
  14130. $ref: '#/definitions/app.Response'
  14131. security:
  14132. - ApiKeyAuth: []
  14133. summary: 获取登录账号有权限的商品信息
  14134. tags:
  14135. - 通用市场
  14136. /Market/QueryMarketRun:
  14137. get:
  14138. parameters:
  14139. - description: 市场ID,不传返回所有
  14140. in: query
  14141. name: marketID
  14142. type: integer
  14143. produces:
  14144. - application/json
  14145. responses:
  14146. "200":
  14147. description: OK
  14148. schema:
  14149. $ref: '#/definitions/models.Marketrun'
  14150. "500":
  14151. description: Internal Server Error
  14152. schema:
  14153. $ref: '#/definitions/app.Response'
  14154. security:
  14155. - ApiKeyAuth: []
  14156. summary: 查询市场运行信息
  14157. tags:
  14158. - 通用市场
  14159. /Market/QueryMarketsByLoginID:
  14160. get:
  14161. parameters:
  14162. - description: 登录账号
  14163. in: query
  14164. name: loginID
  14165. required: true
  14166. type: integer
  14167. produces:
  14168. - application/json
  14169. responses:
  14170. "200":
  14171. description: OK
  14172. schema:
  14173. $ref: '#/definitions/models.Market'
  14174. "500":
  14175. description: Internal Server Error
  14176. schema:
  14177. $ref: '#/definitions/app.Response'
  14178. security:
  14179. - ApiKeyAuth: []
  14180. summary: 获取登录账号有权限的市场信息
  14181. tags:
  14182. - 通用市场
  14183. /Order/QueryHisTradeDetail:
  14184. get:
  14185. parameters:
  14186. - description: 资金账户 - 格式:1,2,3
  14187. in: query
  14188. name: accountID
  14189. required: true
  14190. type: string
  14191. - description: 成交单号
  14192. in: query
  14193. name: tradeID
  14194. type: integer
  14195. - description: 委托单号
  14196. in: query
  14197. name: orderID
  14198. type: integer
  14199. - description: 交易模式 - 格式:1,2,3
  14200. in: query
  14201. name: tradeMode
  14202. type: string
  14203. - description: 委托单据类型
  14204. in: query
  14205. name: buildType
  14206. type: integer
  14207. - description: 成交类别 - 格式:1,2,3
  14208. in: query
  14209. name: tradeType
  14210. type: string
  14211. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14212. in: query
  14213. name: startDate
  14214. type: string
  14215. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14216. in: query
  14217. name: endDate
  14218. type: string
  14219. produces:
  14220. - application/json
  14221. responses:
  14222. "200":
  14223. description: OK
  14224. schema:
  14225. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  14226. "500":
  14227. description: Internal Server Error
  14228. schema:
  14229. $ref: '#/definitions/app.Response'
  14230. security:
  14231. - ApiKeyAuth: []
  14232. summary: 历史成交单查询(合约市场)
  14233. tags:
  14234. - 通用单据
  14235. /Order/QueryHisTradeOrderDetail:
  14236. get:
  14237. parameters:
  14238. - description: 资金账户 - 格式:1,2,3
  14239. in: query
  14240. name: accountID
  14241. required: true
  14242. type: string
  14243. - description: 交易模式 - 格式:1,2,3
  14244. in: query
  14245. name: tradeMode
  14246. type: string
  14247. - description: 委托状态 - 格式:1,2,3
  14248. in: query
  14249. name: orderStatus
  14250. type: string
  14251. - description: 委托单号
  14252. in: query
  14253. name: orderID
  14254. type: integer
  14255. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14256. in: query
  14257. name: startDate
  14258. type: string
  14259. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14260. in: query
  14261. name: endDate
  14262. type: string
  14263. produces:
  14264. - application/json
  14265. responses:
  14266. "200":
  14267. description: OK
  14268. schema:
  14269. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  14270. "500":
  14271. description: Internal Server Error
  14272. schema:
  14273. $ref: '#/definitions/app.Response'
  14274. security:
  14275. - ApiKeyAuth: []
  14276. summary: 历史委托单查询请求(合约市场)
  14277. tags:
  14278. - 通用单据
  14279. /Order/QueryTradeDetail:
  14280. get:
  14281. parameters:
  14282. - description: 资金账户 - 格式:1,2,3
  14283. in: query
  14284. name: accountID
  14285. required: true
  14286. type: string
  14287. - description: 成交单号
  14288. in: query
  14289. name: tradeID
  14290. type: integer
  14291. - description: 委托单号
  14292. in: query
  14293. name: orderID
  14294. type: integer
  14295. - description: 交易模式 - 格式:1,2,3
  14296. in: query
  14297. name: tradeMode
  14298. type: string
  14299. - description: 委托单据类型
  14300. in: query
  14301. name: buildType
  14302. type: integer
  14303. - description: 成交类别 - 格式:1,2,3
  14304. in: query
  14305. name: tradeType
  14306. type: string
  14307. produces:
  14308. - application/json
  14309. responses:
  14310. "200":
  14311. description: OK
  14312. schema:
  14313. $ref: '#/definitions/order.QueryTradeDetailRsp'
  14314. "500":
  14315. description: Internal Server Error
  14316. schema:
  14317. $ref: '#/definitions/app.Response'
  14318. security:
  14319. - ApiKeyAuth: []
  14320. summary: 成交单查询(合约市场)
  14321. tags:
  14322. - 通用单据
  14323. /Order/QueryTradeOrderDetail:
  14324. get:
  14325. parameters:
  14326. - description: 资金账户 - 格式:1,2,3
  14327. in: query
  14328. name: accountID
  14329. required: true
  14330. type: string
  14331. - description: 交易模式 - 格式:1,2,3
  14332. in: query
  14333. name: tradeMode
  14334. type: string
  14335. - description: 委托状态 - 格式:1,2,3
  14336. in: query
  14337. name: orderStatus
  14338. type: string
  14339. - description: 委托单号
  14340. in: query
  14341. name: orderID
  14342. type: integer
  14343. produces:
  14344. - application/json
  14345. responses:
  14346. "200":
  14347. description: OK
  14348. schema:
  14349. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  14350. "500":
  14351. description: Internal Server Error
  14352. schema:
  14353. $ref: '#/definitions/app.Response'
  14354. security:
  14355. - ApiKeyAuth: []
  14356. summary: 委托单查询请求(合约市场)
  14357. tags:
  14358. - 通用单据
  14359. /Order/QueryTradePosition:
  14360. get:
  14361. parameters:
  14362. - description: 资金账户 - 格式:1,2,3
  14363. in: query
  14364. name: accountID
  14365. required: true
  14366. type: string
  14367. - description: 交易模式 - 格式:1,2,3
  14368. in: query
  14369. name: tradeMode
  14370. type: string
  14371. produces:
  14372. - application/json
  14373. responses:
  14374. "200":
  14375. description: OK
  14376. schema:
  14377. $ref: '#/definitions/order.QueryTradePositionRsp'
  14378. "500":
  14379. description: Internal Server Error
  14380. schema:
  14381. $ref: '#/definitions/app.Response'
  14382. security:
  14383. - ApiKeyAuth: []
  14384. summary: 持仓汇总查询(合约市场)
  14385. tags:
  14386. - 通用单据
  14387. /Quote/QueryHistoryDatas:
  14388. get:
  14389. parameters:
  14390. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  14391. 日线'
  14392. in: query
  14393. name: cycleType
  14394. required: true
  14395. type: integer
  14396. - description: 商品代码
  14397. in: query
  14398. name: goodsCode
  14399. required: true
  14400. type: string
  14401. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  14402. in: query
  14403. name: startTime
  14404. type: string
  14405. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  14406. in: query
  14407. name: endTime
  14408. type: string
  14409. - description: 条数
  14410. in: query
  14411. name: count
  14412. type: integer
  14413. - description: 是否按时间顺序排序(默认为时间倒序排序)
  14414. in: query
  14415. name: isAsc
  14416. type: boolean
  14417. produces:
  14418. - application/json
  14419. responses:
  14420. "200":
  14421. description: OK
  14422. schema:
  14423. $ref: '#/definitions/quote.HistoryData'
  14424. "500":
  14425. description: Internal Server Error
  14426. schema:
  14427. $ref: '#/definitions/app.Response'
  14428. security:
  14429. - ApiKeyAuth: []
  14430. summary: 查询行情历史数据
  14431. tags:
  14432. - 行情服务
  14433. /Quote/QueryHistoryTikDatas:
  14434. get:
  14435. parameters:
  14436. - description: 商品代码
  14437. in: query
  14438. name: goodsCode
  14439. required: true
  14440. type: string
  14441. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  14442. in: query
  14443. name: startTime
  14444. type: string
  14445. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  14446. in: query
  14447. name: endTime
  14448. type: string
  14449. - description: 条数
  14450. in: query
  14451. name: count
  14452. type: integer
  14453. - description: 是否按时间顺序排序(默认为时间倒序排序)
  14454. in: query
  14455. name: isAsc
  14456. type: boolean
  14457. produces:
  14458. - application/json
  14459. responses:
  14460. "200":
  14461. description: OK
  14462. schema:
  14463. $ref: '#/definitions/quote.HistoryTikData'
  14464. "500":
  14465. description: Internal Server Error
  14466. schema:
  14467. $ref: '#/definitions/app.Response'
  14468. security:
  14469. - ApiKeyAuth: []
  14470. summary: 查询行情Tik数据
  14471. tags:
  14472. - 行情服务
  14473. /Quote/QueryQuoteDay:
  14474. get:
  14475. parameters:
  14476. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  14477. in: query
  14478. name: goodsCodes
  14479. required: true
  14480. type: string
  14481. produces:
  14482. - application/json
  14483. responses:
  14484. "200":
  14485. description: OK
  14486. schema:
  14487. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  14488. "500":
  14489. description: Internal Server Error
  14490. schema:
  14491. $ref: '#/definitions/app.Response'
  14492. security:
  14493. - ApiKeyAuth: []
  14494. summary: 获取商品盘面信息
  14495. tags:
  14496. - 行情服务
  14497. /Quote/QueryTSData:
  14498. get:
  14499. parameters:
  14500. - description: 商品代码
  14501. in: query
  14502. name: goodsCode
  14503. required: true
  14504. type: string
  14505. produces:
  14506. - application/json
  14507. responses:
  14508. "200":
  14509. description: OK
  14510. schema:
  14511. $ref: '#/definitions/quote.QueryTSDataRsp'
  14512. "500":
  14513. description: Internal Server Error
  14514. schema:
  14515. $ref: '#/definitions/app.Response'
  14516. security:
  14517. - ApiKeyAuth: []
  14518. summary: 分时图数据查询
  14519. tags:
  14520. - 行情服务
  14521. /SZDZ/QueryConvertConfig:
  14522. get:
  14523. parameters:
  14524. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  14525. 6:交易转花生米(不设置)
  14526. in: query
  14527. name: convertType
  14528. type: integer
  14529. - description: 外部商品代码[JD\PD]
  14530. in: query
  14531. name: outerGoodsCode
  14532. type: string
  14533. - description: 内部商品ID列表[交易],格式:1,2,3
  14534. in: query
  14535. name: innerGoodsIDs
  14536. type: string
  14537. produces:
  14538. - application/json
  14539. responses:
  14540. "200":
  14541. description: OK
  14542. schema:
  14543. $ref: '#/definitions/models.Szdz3convertconfig'
  14544. "500":
  14545. description: Internal Server Error
  14546. schema:
  14547. $ref: '#/definitions/app.Response'
  14548. security:
  14549. - ApiKeyAuth: []
  14550. summary: 查询交易系统转换设置
  14551. tags:
  14552. - 定制【尚志大宗】
  14553. /SZDZ/QueryConvertLog:
  14554. get:
  14555. parameters:
  14556. - description: 资金账户 - 格式:1,2,3
  14557. in: query
  14558. name: accountID
  14559. required: true
  14560. type: string
  14561. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  14562. in: query
  14563. name: startDate
  14564. type: string
  14565. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  14566. in: query
  14567. name: endDate
  14568. type: string
  14569. produces:
  14570. - application/json
  14571. responses:
  14572. "200":
  14573. description: OK
  14574. schema:
  14575. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  14576. "500":
  14577. description: Internal Server Error
  14578. schema:
  14579. $ref: '#/definitions/app.Response'
  14580. security:
  14581. - ApiKeyAuth: []
  14582. summary: 交易系统转换流水查询
  14583. tags:
  14584. - 定制【尚志大宗】
  14585. /SZDZ/QueryGoodsPickup:
  14586. get:
  14587. parameters:
  14588. - description: 资金账户 - 格式:1,2,3
  14589. in: query
  14590. name: accountID
  14591. required: true
  14592. type: string
  14593. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  14594. in: query
  14595. name: takeOrderStatus
  14596. type: integer
  14597. produces:
  14598. - application/json
  14599. responses:
  14600. "200":
  14601. description: OK
  14602. schema:
  14603. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  14604. "500":
  14605. description: Internal Server Error
  14606. schema:
  14607. $ref: '#/definitions/app.Response'
  14608. security:
  14609. - ApiKeyAuth: []
  14610. summary: 商品提货单查询
  14611. tags:
  14612. - 定制【尚志大宗】
  14613. /SZDZ/QueryRecieptOrder:
  14614. get:
  14615. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  14616. parameters:
  14617. - description: 页码
  14618. in: query
  14619. name: page
  14620. type: integer
  14621. - description: 每页条数
  14622. in: query
  14623. name: pagesize
  14624. type: integer
  14625. - description: 商品ID
  14626. in: query
  14627. name: goodsID
  14628. required: true
  14629. type: integer
  14630. - description: 所属账户名称
  14631. in: query
  14632. name: accountName
  14633. type: string
  14634. - description: 市场ID
  14635. in: query
  14636. name: marketID
  14637. type: integer
  14638. - description: 方向 - 0:买 1:卖
  14639. in: query
  14640. name: buyorsell
  14641. required: true
  14642. type: integer
  14643. produces:
  14644. - application/json
  14645. responses:
  14646. "200":
  14647. description: OK
  14648. schema:
  14649. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  14650. "500":
  14651. description: Internal Server Error
  14652. schema:
  14653. $ref: '#/definitions/app.Response'
  14654. security:
  14655. - ApiKeyAuth: []
  14656. summary: 点选挂牌委托单据查询(摘牌大厅)
  14657. tags:
  14658. - 定制【尚志大宗】
  14659. /SZDZ/QuerySZDZTradePosition:
  14660. get:
  14661. parameters:
  14662. - description: 资金账户
  14663. in: query
  14664. name: accountID
  14665. required: true
  14666. type: integer
  14667. produces:
  14668. - application/json
  14669. responses:
  14670. "200":
  14671. description: OK
  14672. schema:
  14673. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  14674. "500":
  14675. description: Internal Server Error
  14676. schema:
  14677. $ref: '#/definitions/app.Response'
  14678. security:
  14679. - ApiKeyAuth: []
  14680. summary: 持仓汇总查询(尚志大宗)
  14681. tags:
  14682. - 定制【尚志大宗】
  14683. /SZDZ/SearchWhite:
  14684. get:
  14685. parameters:
  14686. - description: 用户ID
  14687. in: query
  14688. name: userID
  14689. required: true
  14690. type: integer
  14691. produces:
  14692. - application/json
  14693. responses:
  14694. "200":
  14695. description: OK
  14696. schema:
  14697. $ref: '#/definitions/models.Szdz3searchwhitelist'
  14698. "500":
  14699. description: Internal Server Error
  14700. schema:
  14701. $ref: '#/definitions/app.Response'
  14702. security:
  14703. - ApiKeyAuth: []
  14704. summary: 搜索白名单
  14705. tags:
  14706. - 定制【尚志大宗】
  14707. /Search/SearchGoodses:
  14708. get:
  14709. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  14710. parameters:
  14711. - description: 检索内容
  14712. in: query
  14713. name: content
  14714. required: true
  14715. type: string
  14716. - description: 交易模式,格式:1,2,3
  14717. in: query
  14718. name: tradeModes
  14719. type: string
  14720. produces:
  14721. - application/json
  14722. responses:
  14723. "200":
  14724. description: OK
  14725. schema:
  14726. $ref: '#/definitions/models.SearchGoods'
  14727. "500":
  14728. description: Internal Server Error
  14729. schema:
  14730. $ref: '#/definitions/app.Response'
  14731. summary: 检索商品信息
  14732. tags:
  14733. - 检索服务
  14734. /TaAccount/GetTaAccounts:
  14735. get:
  14736. parameters:
  14737. - description: 登录账户
  14738. in: query
  14739. name: loginID
  14740. required: true
  14741. type: integer
  14742. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  14743. in: query
  14744. name: taAccountType
  14745. type: integer
  14746. produces:
  14747. - application/json
  14748. responses:
  14749. "200":
  14750. description: OK
  14751. schema:
  14752. $ref: '#/definitions/models.Taaccount'
  14753. "500":
  14754. description: Internal Server Error
  14755. schema:
  14756. $ref: '#/definitions/app.Response'
  14757. security:
  14758. - ApiKeyAuth: []
  14759. summary: 获取资金账户信息
  14760. tags:
  14761. - 资金账户
  14762. /TaAccount/QueryAmountLog:
  14763. get:
  14764. parameters:
  14765. - description: 页码
  14766. in: query
  14767. name: page
  14768. type: integer
  14769. - description: 每页条数
  14770. in: query
  14771. name: pagesize
  14772. type: integer
  14773. - description: 资金账户 - 格式:1,2,3
  14774. in: query
  14775. name: accountID
  14776. required: true
  14777. type: string
  14778. - description: 资金操作类型 - 格式:1,2,3
  14779. in: query
  14780. name: OperateType
  14781. type: string
  14782. produces:
  14783. - application/json
  14784. responses:
  14785. "200":
  14786. description: OK
  14787. schema:
  14788. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  14789. "500":
  14790. description: Internal Server Error
  14791. schema:
  14792. $ref: '#/definitions/app.Response'
  14793. security:
  14794. - ApiKeyAuth: []
  14795. summary: 资金流水查询(当前)
  14796. tags:
  14797. - 资金账户
  14798. /TaAccount/QueryHisAmountLog:
  14799. get:
  14800. parameters:
  14801. - description: 页码
  14802. in: query
  14803. name: page
  14804. type: integer
  14805. - description: 每页条数
  14806. in: query
  14807. name: pagesize
  14808. type: integer
  14809. - description: 资金账户 - 格式:1,2,3
  14810. in: query
  14811. name: accountID
  14812. required: true
  14813. type: string
  14814. - description: 资金操作类型 - 格式:1,2,3
  14815. in: query
  14816. name: OperateType
  14817. type: string
  14818. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14819. in: query
  14820. name: startDate
  14821. type: string
  14822. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14823. in: query
  14824. name: endDate
  14825. type: string
  14826. produces:
  14827. - application/json
  14828. responses:
  14829. "200":
  14830. description: OK
  14831. schema:
  14832. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  14833. "500":
  14834. description: Internal Server Error
  14835. schema:
  14836. $ref: '#/definitions/app.Response'
  14837. security:
  14838. - ApiKeyAuth: []
  14839. summary: 资金流水查询(历史)
  14840. tags:
  14841. - 资金账户
  14842. /Trade/QueryRecieptOrder:
  14843. get:
  14844. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  14845. parameters:
  14846. - description: 页码
  14847. in: query
  14848. name: page
  14849. type: integer
  14850. - description: 每页条数
  14851. in: query
  14852. name: pagesize
  14853. type: integer
  14854. - description: 商品ID
  14855. in: query
  14856. name: goodsID
  14857. required: true
  14858. type: integer
  14859. - description: 所属账户名称
  14860. in: query
  14861. name: accountName
  14862. type: string
  14863. - description: 市场ID
  14864. in: query
  14865. name: marketID
  14866. type: integer
  14867. - description: 方向 - 0:买 1:卖
  14868. in: query
  14869. name: buyorsell
  14870. required: true
  14871. type: integer
  14872. produces:
  14873. - application/json
  14874. responses:
  14875. "200":
  14876. description: OK
  14877. schema:
  14878. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  14879. "500":
  14880. description: Internal Server Error
  14881. schema:
  14882. $ref: '#/definitions/app.Response'
  14883. security:
  14884. - ApiKeyAuth: []
  14885. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  14886. tags:
  14887. - 通用交易
  14888. /User/AddMessageBoard:
  14889. post:
  14890. parameters:
  14891. - description: 用户ID
  14892. in: query
  14893. name: userID
  14894. required: true
  14895. type: integer
  14896. - description: 留言信息
  14897. in: query
  14898. name: message
  14899. required: true
  14900. type: string
  14901. - description: 联系电话
  14902. in: query
  14903. name: contactNum
  14904. required: true
  14905. type: string
  14906. produces:
  14907. - application/json
  14908. responses:
  14909. "200":
  14910. description: OK
  14911. schema:
  14912. $ref: '#/definitions/app.Response'
  14913. "500":
  14914. description: Internal Server Error
  14915. schema:
  14916. $ref: '#/definitions/app.Response'
  14917. security:
  14918. - ApiKeyAuth: []
  14919. summary: 添加用户留言板信息
  14920. tags:
  14921. - 用户信息
  14922. /User/AddUserFavoriteGoods:
  14923. post:
  14924. parameters:
  14925. - description: 用户ID
  14926. in: query
  14927. name: userID
  14928. required: true
  14929. type: integer
  14930. - description: 商品ID
  14931. in: query
  14932. name: goodsID
  14933. required: true
  14934. type: integer
  14935. produces:
  14936. - application/json
  14937. responses:
  14938. "200":
  14939. description: OK
  14940. schema:
  14941. $ref: '#/definitions/app.Response'
  14942. "500":
  14943. description: Internal Server Error
  14944. schema:
  14945. $ref: '#/definitions/app.Response'
  14946. security:
  14947. - ApiKeyAuth: []
  14948. summary: 添加用户商品收藏信息
  14949. tags:
  14950. - 用户信息
  14951. /User/GetLoginID:
  14952. get:
  14953. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  14954. parameters:
  14955. - description: 登录代码
  14956. in: query
  14957. name: username
  14958. required: true
  14959. type: string
  14960. produces:
  14961. - application/json
  14962. responses:
  14963. "200":
  14964. description: OK
  14965. schema:
  14966. $ref: '#/definitions/app.Response'
  14967. "500":
  14968. description: Internal Server Error
  14969. schema:
  14970. $ref: '#/definitions/app.Response'
  14971. summary: 获取登录ID
  14972. tags:
  14973. - 用户信息
  14974. /User/GetUserAccount:
  14975. get:
  14976. parameters:
  14977. - description: 用户ID
  14978. in: query
  14979. name: userID
  14980. required: true
  14981. type: integer
  14982. produces:
  14983. - application/json
  14984. responses:
  14985. "200":
  14986. description: OK
  14987. schema:
  14988. $ref: '#/definitions/models.Useraccount'
  14989. "500":
  14990. description: Internal Server Error
  14991. schema:
  14992. $ref: '#/definitions/app.Response'
  14993. security:
  14994. - ApiKeyAuth: []
  14995. summary: 获取用户账号信息
  14996. tags:
  14997. - 用户信息
  14998. /User/GetUserAuthStatus:
  14999. get:
  15000. parameters:
  15001. - description: 用户ID
  15002. in: query
  15003. name: userID
  15004. required: true
  15005. type: integer
  15006. produces:
  15007. - application/json
  15008. responses:
  15009. "200":
  15010. description: OK
  15011. schema:
  15012. $ref: '#/definitions/app.Response'
  15013. "500":
  15014. description: Internal Server Error
  15015. schema:
  15016. $ref: '#/definitions/app.Response'
  15017. security:
  15018. - ApiKeyAuth: []
  15019. summary: 获取用户实名认证状态
  15020. tags:
  15021. - 用户信息
  15022. /User/LoginQuery:
  15023. get:
  15024. parameters:
  15025. - description: 登录账号
  15026. in: query
  15027. name: loginID
  15028. required: true
  15029. type: integer
  15030. produces:
  15031. - application/json
  15032. responses:
  15033. "200":
  15034. description: OK
  15035. schema:
  15036. $ref: '#/definitions/user.LoginQueryRsp'
  15037. "500":
  15038. description: Internal Server Error
  15039. schema:
  15040. $ref: '#/definitions/app.Response'
  15041. security:
  15042. - ApiKeyAuth: []
  15043. summary: 账户登录后信息查询
  15044. tags:
  15045. - 用户信息
  15046. /User/QueryMessageBoard:
  15047. get:
  15048. parameters:
  15049. - description: 用户ID
  15050. in: query
  15051. name: userID
  15052. required: true
  15053. type: integer
  15054. produces:
  15055. - application/json
  15056. responses:
  15057. "200":
  15058. description: OK
  15059. schema:
  15060. $ref: '#/definitions/models.Messageboard'
  15061. "500":
  15062. description: Internal Server Error
  15063. schema:
  15064. $ref: '#/definitions/app.Response'
  15065. security:
  15066. - ApiKeyAuth: []
  15067. summary: 获取用户留言板信息
  15068. tags:
  15069. - 用户信息
  15070. /User/QueryUserFavoriteGoodses:
  15071. get:
  15072. parameters:
  15073. - description: 用户ID
  15074. in: query
  15075. name: userID
  15076. required: true
  15077. type: integer
  15078. produces:
  15079. - application/json
  15080. responses:
  15081. "200":
  15082. description: OK
  15083. schema:
  15084. $ref: '#/definitions/models.Userfavoritegoods'
  15085. "500":
  15086. description: Internal Server Error
  15087. schema:
  15088. $ref: '#/definitions/app.Response'
  15089. security:
  15090. - ApiKeyAuth: []
  15091. summary: 获取用户商品收藏信息
  15092. tags:
  15093. - 用户信息
  15094. /User/QueryUserInfo:
  15095. get:
  15096. parameters:
  15097. - description: 用户ID
  15098. in: query
  15099. name: userID
  15100. required: true
  15101. type: integer
  15102. - description: 是否解密
  15103. in: query
  15104. name: isDecrypt
  15105. type: boolean
  15106. produces:
  15107. - application/json
  15108. responses:
  15109. "200":
  15110. description: OK
  15111. schema:
  15112. $ref: '#/definitions/models.Userinfo'
  15113. "500":
  15114. description: Internal Server Error
  15115. schema:
  15116. $ref: '#/definitions/app.Response'
  15117. security:
  15118. - ApiKeyAuth: []
  15119. summary: 获取用户信息
  15120. tags:
  15121. - 用户信息
  15122. /User/QueryUserReferNum:
  15123. get:
  15124. parameters:
  15125. - description: 用户ID
  15126. in: query
  15127. name: userID
  15128. required: true
  15129. type: integer
  15130. produces:
  15131. - application/json
  15132. responses:
  15133. "200":
  15134. description: OK
  15135. schema:
  15136. $ref: '#/definitions/app.Response'
  15137. "500":
  15138. description: Internal Server Error
  15139. schema:
  15140. $ref: '#/definitions/app.Response'
  15141. summary: 获取用户邀请码
  15142. tags:
  15143. - 用户信息
  15144. /User/RemoveUserFavoriteGoods:
  15145. post:
  15146. parameters:
  15147. - description: 用户ID
  15148. in: query
  15149. name: userID
  15150. required: true
  15151. type: integer
  15152. - description: 商品ID
  15153. in: query
  15154. name: goodsID
  15155. required: true
  15156. type: integer
  15157. produces:
  15158. - application/json
  15159. responses:
  15160. "200":
  15161. description: OK
  15162. schema:
  15163. $ref: '#/definitions/app.Response'
  15164. "500":
  15165. description: Internal Server Error
  15166. schema:
  15167. $ref: '#/definitions/app.Response'
  15168. security:
  15169. - ApiKeyAuth: []
  15170. summary: 移除用户商品收藏信息
  15171. tags:
  15172. - 用户信息
  15173. /User/UpdateUserAccountStatus:
  15174. post:
  15175. parameters:
  15176. - description: 用户ID
  15177. in: query
  15178. name: userID
  15179. required: true
  15180. type: integer
  15181. - description: 账户状态 - 4:正常 6:注销(停用)
  15182. in: query
  15183. name: accountStatus
  15184. required: true
  15185. type: integer
  15186. produces:
  15187. - application/json
  15188. responses:
  15189. "200":
  15190. description: OK
  15191. schema:
  15192. $ref: '#/definitions/app.Response'
  15193. "500":
  15194. description: Internal Server Error
  15195. schema:
  15196. $ref: '#/definitions/app.Response'
  15197. security:
  15198. - ApiKeyAuth: []
  15199. summary: 更新用户状态
  15200. tags:
  15201. - 用户信息
  15202. /WR/GetWRCategoryInfo:
  15203. get:
  15204. produces:
  15205. - application/json
  15206. responses:
  15207. "200":
  15208. description: OK
  15209. schema:
  15210. $ref: '#/definitions/models.WRCategoryTree'
  15211. "500":
  15212. description: Internal Server Error
  15213. schema:
  15214. $ref: '#/definitions/app.Response'
  15215. summary: 获取现货分类信息
  15216. tags:
  15217. - 仓单服务
  15218. /WRTrade/GetAllDeliveryGoods:
  15219. get:
  15220. produces:
  15221. - application/json
  15222. - application/json
  15223. responses:
  15224. "200":
  15225. description: OK
  15226. schema:
  15227. $ref: '#/definitions/app.Response'
  15228. "500":
  15229. description: Internal Server Error
  15230. schema:
  15231. $ref: '#/definitions/app.Response'
  15232. security:
  15233. - ApiKeyAuth: []
  15234. - ApiKeyAuth: []
  15235. summary: 获取带仓单分类的种类信息
  15236. tags:
  15237. - 仓单贸易
  15238. - 仓单贸易
  15239. securityDefinitions:
  15240. ApiKeyAuth:
  15241. in: header
  15242. name: Authorization
  15243. type: apiKey
  15244. swagger: "2.0"