swagger.yaml 493 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. common.QueryTableDefineRsp:
  168. properties:
  169. columns:
  170. description: 列头信息数组
  171. items:
  172. $ref: '#/definitions/models.Tablecolumnconfig'
  173. type: array
  174. remark:
  175. description: Remark
  176. type: string
  177. tabelmenu:
  178. description: 列表菜单
  179. type: string
  180. tablekey:
  181. description: 列表Key
  182. type: string
  183. tablename:
  184. description: 列表名称
  185. type: string
  186. tabletype:
  187. description: 列表类型 - 1:管理端 2:终端
  188. type: integer
  189. required:
  190. - tablekey
  191. type: object
  192. common.QueryTraderMenuRsp:
  193. properties:
  194. OperationMenu:
  195. description: 功能菜单
  196. items:
  197. $ref: '#/definitions/models.OperationPrimaryMenu'
  198. type: array
  199. QuoteMenu:
  200. description: 报价牌分类菜单
  201. items:
  202. $ref: '#/definitions/models.QuotePrimaryMenu'
  203. type: array
  204. type: object
  205. cptrade.Cptradepositioncancel:
  206. properties:
  207. accountid:
  208. description: 申请人账户ID
  209. type: integer
  210. applystatus:
  211. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  212. type: integer
  213. applytime:
  214. description: 申请时间
  215. type: string
  216. cancelid:
  217. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  218. type: integer
  219. cancelqty:
  220. description: 注销数量
  221. type: integer
  222. createtime:
  223. description: 创建时间
  224. type: string
  225. creatorid:
  226. description: 创建人ID
  227. type: integer
  228. creatorname:
  229. description: 创建人
  230. type: string
  231. goodscode:
  232. description: 订单商品代码
  233. type: string
  234. goodsid:
  235. description: 商品ID
  236. type: integer
  237. goodsname:
  238. description: 订单商品名称
  239. type: string
  240. goodunit:
  241. description: 报价单位
  242. type: string
  243. handlestatus:
  244. description: 处理状态
  245. type: integer
  246. marketid:
  247. description: 市场ID
  248. type: integer
  249. marketname:
  250. description: 市场名称
  251. type: string
  252. tradedate:
  253. description: 交易日(yyyyMMdd)
  254. type: string
  255. userid:
  256. description: 申请人ID
  257. type: integer
  258. required:
  259. - cancelid
  260. type: object
  261. cptrade.Cptradepresaleapply:
  262. properties:
  263. accountid:
  264. description: 申请人账户ID
  265. type: integer
  266. applyid:
  267. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  268. type: integer
  269. applyremark:
  270. description: 申请备注
  271. type: string
  272. applystatus:
  273. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  274. type: integer
  275. applytime:
  276. description: 申请时间
  277. type: string
  278. attachmenturl:
  279. description: 附件地址
  280. type: string
  281. endtime:
  282. description: 预售结束时间
  283. type: string
  284. goodscode:
  285. description: 商品代码
  286. type: string
  287. goodsid:
  288. description: 商品ID
  289. type: integer
  290. goodsname:
  291. description: 商品名称
  292. type: string
  293. goodunit:
  294. description: 报价单位
  295. type: string
  296. handlestatus:
  297. description: 处理状态
  298. type: integer
  299. marketid:
  300. description: 预售市场ID
  301. type: integer
  302. marketname:
  303. description: 预售市场名称
  304. type: string
  305. presaleqty:
  306. description: 预售数量
  307. type: integer
  308. relatedgoodscode:
  309. description: 关联交易合约代码
  310. type: string
  311. relatedgoodsid:
  312. description: 关联交易合约ID
  313. type: integer
  314. relatedgoodsname:
  315. description: 关联交易合约名称
  316. type: string
  317. starttime:
  318. description: 预售开始时间
  319. type: string
  320. tradedate:
  321. description: 交易日(yyyyMMdd)
  322. type: string
  323. trademode:
  324. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  325. type: integer
  326. userid:
  327. description: 申请人ID
  328. type: integer
  329. required:
  330. - applyid
  331. type: object
  332. cptrade.Cptradeusergoodsdata:
  333. properties:
  334. EnabledQty:
  335. description: 可用量
  336. type: integer
  337. GoodsCode:
  338. description: 订单商品代码
  339. type: string
  340. GoodsName:
  341. description: 订单商品名称
  342. type: string
  343. WRStandardCode:
  344. description: 仓单标准代码
  345. type: string
  346. WRStandardName:
  347. description: 仓单标准名称
  348. type: string
  349. accountid:
  350. description: 账户ID
  351. type: integer
  352. cancelqty:
  353. description: 注销量
  354. type: integer
  355. curpresaleqty:
  356. description: 当前预售量
  357. type: integer
  358. deliveryqty:
  359. description: 交割量
  360. type: integer
  361. freezeamount:
  362. description: 冻结金额
  363. type: number
  364. goodsid:
  365. description: 商品ID
  366. type: integer
  367. goodunit:
  368. description: 报价单位
  369. type: string
  370. hasspotfreeze:
  371. description: 是否有现货冻结 - 0:否 1:有
  372. type: integer
  373. inqty:
  374. description: 转入量(总数量)
  375. type: integer
  376. marketid:
  377. description: 市场ID
  378. type: integer
  379. presaledamount:
  380. description: 已预售总金额
  381. type: integer
  382. presaledqty:
  383. description: 已预售量
  384. type: integer
  385. userid:
  386. description: 用户ID
  387. type: integer
  388. wrstandardid:
  389. description: 仓单标准ID
  390. type: integer
  391. required:
  392. - accountid
  393. - goodsid
  394. type: object
  395. cptrade.QueryCPTradeMyBidRsp:
  396. properties:
  397. accountid:
  398. description: 账户ID[报价币种]
  399. type: integer
  400. goodsid:
  401. description: 商品ID
  402. type: integer
  403. goodunit:
  404. description: 报价单位
  405. type: string
  406. marketid:
  407. description: 市场ID
  408. type: integer
  409. orderid:
  410. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  411. type: integer
  412. orderprice:
  413. description: 委托价格
  414. type: number
  415. orderqty:
  416. description: 委托数量
  417. type: integer
  418. ordertime:
  419. description: 委托时间
  420. type: string
  421. ordertotalprice:
  422. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  423. type: number
  424. ordertotalweight:
  425. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  426. type: integer
  427. totaltotalprice:
  428. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  429. type: number
  430. tradeprice:
  431. description: 成交价格
  432. type: number
  433. tradeqty:
  434. description: 成交数量
  435. type: integer
  436. required:
  437. - accountid
  438. - goodsid
  439. - marketid
  440. - orderid
  441. - orderqty
  442. - ordertime
  443. - tradeprice
  444. - tradeqty
  445. type: object
  446. cptrade.QueryCPTradeOrderDetailRsq:
  447. properties:
  448. accountid:
  449. description: 账户ID[报价币种]
  450. type: integer
  451. buildtype:
  452. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  453. type: integer
  454. buyorsell:
  455. description: 买卖 - 0:买 1:卖
  456. type: integer
  457. cancelorderid:
  458. description: 撤单单号(撤单时填写)
  459. type: integer
  460. cancelqty:
  461. description: 撤单数量
  462. type: integer
  463. clientordertime:
  464. description: 客户端委托时间
  465. type: string
  466. clientticket:
  467. description: 客户端流水号
  468. type: string
  469. clienttype:
  470. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  471. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  472. type: integer
  473. closeexchagechargevalue:
  474. description: 平仓交易所手续费设置值
  475. type: number
  476. closefeealgorithm:
  477. description: 平仓手续费收取方式 1:比率 2:固定
  478. type: integer
  479. closefreezecharge:
  480. description: 平仓冻结手续费(先建后平操作,需要记录)
  481. type: number
  482. closememberchargevalue:
  483. description: 平仓会员手续费设置值
  484. type: number
  485. closeqty:
  486. description: 平仓数量(先建后平操作 需要记录)
  487. type: integer
  488. closetradeqty:
  489. description: 平仓成交数量(先建后平操作,需要记录)
  490. type: integer
  491. closeunfreezecharge:
  492. description: 平仓解冻手续费(先建后平操作,需要记录)
  493. type: number
  494. delistingtype:
  495. description: 摘牌类型 - 1:价格最优 2:点选成交
  496. type: integer
  497. freezecharge:
  498. description: 冻结手续费
  499. type: number
  500. freezemargin:
  501. description: 冻结保证金(冻结交易金额)
  502. type: number
  503. gcaccountid:
  504. description: 账户ID[合约币种]
  505. type: integer
  506. goodsid:
  507. description: 商品ID
  508. type: integer
  509. isconfirmexercise:
  510. description: 是否确认行权- 0:否 1:是
  511. type: integer
  512. ispreexercise:
  513. description: 是否预申报- 0:否 1:是
  514. type: integer
  515. listingselecttype:
  516. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  517. type: integer
  518. marginalgorithm:
  519. description: 保证金收取方式 1:比率 2:固定
  520. type: integer
  521. marginvalue:
  522. description: 即市保证金设置值
  523. type: number
  524. marketid:
  525. description: 市场ID
  526. type: integer
  527. marketmaxsub:
  528. description: 市价最大偏移范围
  529. type: number
  530. memberuserid:
  531. description: 所属会员UserID
  532. type: integer
  533. openexchagechargevalue:
  534. description: 建仓交易所手续费设置值
  535. type: number
  536. openfeealgorithm:
  537. description: 建仓手续费收取方式 1:比率 2:固定
  538. type: integer
  539. openfreezecharge:
  540. description: 开仓冻结手续费(先建后平操作,需要记录)
  541. type: number
  542. openmemberchargevalue:
  543. description: 建仓会员手续费设置值
  544. type: number
  545. openqty:
  546. description: 开仓数量(先建后平操作,需要记录)
  547. type: integer
  548. opentradeqty:
  549. description: 开仓成交数量(先建后平操作,需要记录)
  550. type: integer
  551. openunfreezecharge:
  552. description: 开仓解冻手续费(先建后平操作,需要记录)
  553. type: number
  554. operatetype:
  555. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  556. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  557. 15:管理端协议转让
  558. type: integer
  559. operatorid:
  560. description: 登录账号(LoginID)
  561. type: integer
  562. optiontype:
  563. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  564. type: integer
  565. orderprice:
  566. description: 委托价格
  567. type: number
  568. orderqty:
  569. description: 委托数量
  570. type: integer
  571. ordersrc:
  572. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  573. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  574. type: integer
  575. orderstatus:
  576. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  577. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  578. 16:成交失败违约(荷兰式竞拍专用)
  579. type: integer
  580. ordertime:
  581. description: 委托时间
  582. type: string
  583. preexerciseprice:
  584. description: 预申报价格
  585. type: number
  586. premium:
  587. description: 权利金
  588. type: number
  589. preorderid:
  590. description: 关联预埋单号(止盈止损单时填写)
  591. type: integer
  592. pricemode:
  593. description: '取价方式 - 1:市价 2: 限价'
  594. type: integer
  595. quoteid:
  596. description: 报价单ID
  597. type: integer
  598. relatedid:
  599. description: 关联单号(交割单)
  600. type: integer
  601. retcode:
  602. description: 错误代码
  603. type: integer
  604. sessionid:
  605. description: 会话ID
  606. type: integer
  607. strorderid:
  608. description: 委托单号
  609. type: string
  610. tradedate:
  611. description: 交易日(yyyyMMdd)
  612. type: string
  613. tradeproperty:
  614. description: 交易属性
  615. type: integer
  616. tradeqty:
  617. description: 成交数量
  618. type: integer
  619. unfreezecharge:
  620. description: 解冻手续费
  621. type: number
  622. unfreezemargin:
  623. description: 解冻保证金
  624. type: number
  625. updatetime:
  626. description: 更新时间
  627. type: string
  628. uuid:
  629. description: 发起端唯一id
  630. type: string
  631. validtime:
  632. description: 有效期限
  633. type: string
  634. validtype:
  635. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  636. type: integer
  637. volumetype:
  638. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  639. type: integer
  640. required:
  641. - accountid
  642. - buildtype
  643. - buyorsell
  644. - goodsid
  645. - marketid
  646. - memberuserid
  647. - operatetype
  648. - orderqty
  649. - ordertime
  650. - pricemode
  651. - strorderid
  652. - tradedate
  653. - validtype
  654. type: object
  655. cptrade.QueryMyCPTradeGoodsRsp:
  656. properties:
  657. accountid:
  658. description: 卖方账户ID
  659. type: integer
  660. agreeunit:
  661. description: 合约单位
  662. type: number
  663. applyid:
  664. description: 关联申请ID
  665. type: integer
  666. attachmenturl:
  667. description: 附件地址
  668. type: string
  669. createtime:
  670. description: 创建时间
  671. type: string
  672. currencyid:
  673. description: 报价货币ID
  674. type: integer
  675. decimalplace:
  676. description: 报价小数位
  677. type: integer
  678. endtime:
  679. description: 预售结束时间
  680. type: string
  681. floorprice:
  682. description: 底价[大宗式竞拍]
  683. type: number
  684. goodscode:
  685. description: 商品代码(预售)
  686. type: string
  687. goodsdetail:
  688. description: 详情[大宗]
  689. type: string
  690. goodsid:
  691. description: 商品ID(自增ID SEQ_GOODS)
  692. type: integer
  693. goodsname:
  694. description: 商品名称(预售)
  695. type: string
  696. goodunit:
  697. description: 报价单位
  698. type: string
  699. goodunitid:
  700. description: 报价单位ID
  701. type: integer
  702. marketid:
  703. description: 所属市场ID
  704. type: integer
  705. marketname:
  706. description: 预售市场名称
  707. type: string
  708. presaledamount:
  709. description: 已预售总金额(预售结束时更新)
  710. type: number
  711. presaledqty:
  712. description: 已预售量(预售结束时更新)
  713. type: integer
  714. presalemode:
  715. description: 预售模式 - 1:一口价 2:大宗式竞拍
  716. type: integer
  717. presaleqty:
  718. description: 预售数量
  719. type: integer
  720. refprice:
  721. description: 参考价格[一口价]
  722. type: number
  723. relatedgoodscode:
  724. description: 商品代码(订单)
  725. type: string
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedgoodsname:
  730. description: 商品名称(订单)
  731. type: string
  732. relatedmarketid:
  733. description: 关联交易合约市场ID
  734. type: integer
  735. sellstatus:
  736. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  737. type: integer
  738. startprice:
  739. description: 起拍价[大宗式竞拍]
  740. type: number
  741. starttime:
  742. description: 预售开始时间
  743. type: string
  744. tradedate:
  745. description: 交易日(yyyyMMdd)
  746. type: string
  747. tradeprice:
  748. description: 成交价[大宗]
  749. type: number
  750. userid:
  751. description: 卖方用户ID
  752. type: integer
  753. required:
  754. - goodscode
  755. - goodsid
  756. - goodsname
  757. - marketid
  758. - relatedgoodscode
  759. - relatedgoodsname
  760. type: object
  761. cptrade.QueryPresaleGoodsExRsp:
  762. properties:
  763. attachmenturl:
  764. description: 附件地址
  765. type: string
  766. createtime:
  767. description: 创建时间
  768. type: string
  769. endtime:
  770. description: 预售结束时间
  771. type: string
  772. floorprice:
  773. description: 底价[大宗式竞拍]
  774. type: number
  775. goodsdetail:
  776. description: 详情[大宗]
  777. type: string
  778. goodsid:
  779. description: 商品ID(预售)
  780. type: integer
  781. goodunit:
  782. description: 报价单位
  783. type: string
  784. marketid:
  785. description: 预售市场ID - 根据预售模式选择市场
  786. type: integer
  787. presaledamount:
  788. description: 已预售总金额(预售结束时更新)
  789. type: number
  790. presaledqty:
  791. description: 已预售量(预售结束时更新)
  792. type: integer
  793. presalemode:
  794. description: 预售模式 - 1:一口价 2:大宗式竞拍
  795. type: integer
  796. presaleqty:
  797. description: 预售数量
  798. type: integer
  799. refprice:
  800. description: 参考价格[一口价]
  801. type: number
  802. relatedgoodsid:
  803. description: 关联交易合约ID
  804. type: integer
  805. relatedmarketid:
  806. description: 关联交易合约市场ID
  807. type: integer
  808. sellstatus:
  809. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  810. type: integer
  811. startprice:
  812. description: 起拍价[大宗式竞拍]
  813. type: number
  814. starttime:
  815. description: 预售开始时间
  816. type: string
  817. tradedate:
  818. description: 交易日(yyyyMMdd)
  819. type: string
  820. tradeprice:
  821. description: 成交价[大宗]
  822. type: number
  823. required:
  824. - goodsid
  825. type: object
  826. delivery.QueryDeliveryRelationRsp:
  827. properties:
  828. begindate:
  829. description: 起始日期(yyyyMMdd)
  830. type: string
  831. buytemplateid:
  832. description: 买履约计划模板ID
  833. type: integer
  834. deliverygoodscode:
  835. description: 品种代码
  836. type: string
  837. deliverygoodsid:
  838. description: 交割商品
  839. type: integer
  840. deliverygoodsname:
  841. description: 品种名称
  842. type: string
  843. deliverymode:
  844. description: 交割方式 - 1:点选式 2:申报式
  845. type: integer
  846. deliverypricerule:
  847. description: 交割价规则- 1:行情价 2:建仓价
  848. type: integer
  849. deliverytype:
  850. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  851. type: integer
  852. enddate:
  853. description: 结束日期(yyyyMMdd)
  854. type: string
  855. goodscode:
  856. description: 商品代码
  857. type: string
  858. goodsid:
  859. description: 交易合约ID
  860. type: integer
  861. goodsname:
  862. description: 商品名称
  863. type: string
  864. marketid:
  865. description: 市场ID
  866. type: integer
  867. mindeliveryqty:
  868. description: 最小交割系数(K)
  869. type: integer
  870. p2deliveryprice:
  871. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  872. type: number
  873. p2deliveryratio:
  874. description: P2合约系数(p)
  875. type: integer
  876. p2goodsid:
  877. description: P2合约ID
  878. type: integer
  879. p2pricemode:
  880. description: P2合约价格方式 - 1:商品价 2:固定值
  881. type: integer
  882. pdeliveryprice:
  883. description: P合约价格(商品价时填写0,固定值时填写固定值)
  884. type: number
  885. pdeliveryratio:
  886. description: P合约系数(n)
  887. type: integer
  888. pgoodsid:
  889. description: P合约ID
  890. type: integer
  891. ppricemode:
  892. description: P合约价格方式 - 1:商品价 2:固定值
  893. type: integer
  894. rratio:
  895. description: 兑换系数(R)
  896. type: integer
  897. rratio1:
  898. description: 兑换系数(交易合约)(R1)
  899. type: integer
  900. rratio2:
  901. description: 兑换系数(仓单标准)(R2)
  902. type: integer
  903. selltemplateid:
  904. description: 卖履约计划模板ID
  905. type: integer
  906. wrstandardid:
  907. description: 仓单标准ID
  908. type: integer
  909. xdeliveryratio:
  910. description: 交易合约系数(m)
  911. type: integer
  912. required:
  913. - begindate
  914. - enddate
  915. - goodsid
  916. - mindeliveryqty
  917. - xdeliveryratio
  918. type: object
  919. ermcp.ExposureDetailRsp:
  920. properties:
  921. areauserid:
  922. description: 机构ID
  923. type: integer
  924. changeQty:
  925. description: 套保变动量
  926. type: number
  927. contracttype:
  928. description: 现货合同类型 - 1:采购 -1:销售
  929. type: integer
  930. convertfactor:
  931. description: 标仓系数
  932. type: number
  933. convertratio:
  934. description: 套保系数
  935. type: number
  936. createtime:
  937. description: 时间
  938. type: string
  939. enumdicname:
  940. description: 现货商品单位名称
  941. type: string
  942. logtype:
  943. description: 类型 - 1:套保计划 2:现货合同
  944. type: integer
  945. middlegoodsId:
  946. description: 套保商品id
  947. type: integer
  948. middlegoodscode:
  949. description: 套保商品代码
  950. type: string
  951. middlegoodsname:
  952. description: 套保商品名称
  953. type: string
  954. qty:
  955. description: 数量
  956. type: number
  957. relateNo:
  958. description: 现货合同/套保计划编号
  959. type: string
  960. wrstandardcode:
  961. description: 现货商品代码
  962. type: string
  963. wrstandardid:
  964. description: 现货商品ID
  965. type: integer
  966. wrstandardname:
  967. description: 现货商品名称
  968. type: string
  969. type: object
  970. ermcp.ExposureHedgePosDetailRsp:
  971. properties:
  972. buyorsell:
  973. description: 买卖方向 0-买 1-卖
  974. type: integer
  975. channelbuildtype:
  976. description: 开平方向 1-建仓 2-平仓
  977. type: integer
  978. goodscode:
  979. description: 商品代码
  980. type: string
  981. goodsname:
  982. description: 商品名称
  983. type: string
  984. hedgegoodsid:
  985. description: 商品id
  986. type: integer
  987. tradeqty:
  988. description: 数量(成交数量)
  989. type: integer
  990. tradetime:
  991. description: 时间(成交时间)
  992. type: string
  993. type: object
  994. ermcp.ExposureHedgePositionRsp:
  995. properties:
  996. accountid:
  997. description: 资金账号[外部母账户]
  998. type: integer
  999. curbuyposition:
  1000. description: 期末买头寸
  1001. type: integer
  1002. cursellposition:
  1003. description: 期末卖头寸
  1004. type: integer
  1005. curtdbuyposition:
  1006. description: 期末今日买头寸
  1007. type: integer
  1008. curtdsellposition:
  1009. description: 期末今日卖头寸
  1010. type: integer
  1011. curydbuyposition:
  1012. description: 期末上日买头寸
  1013. type: integer
  1014. curydsellposition:
  1015. description: 期末上日卖头寸
  1016. type: integer
  1017. decreaseqty:
  1018. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1019. type: integer
  1020. fretdbuyposition:
  1021. description: 冻结今日买头寸
  1022. type: integer
  1023. fretdsellposition:
  1024. description: 冻结今日卖头寸
  1025. type: integer
  1026. freydbuyposition:
  1027. description: 冻结上日买头寸
  1028. type: integer
  1029. freydsellposition:
  1030. description: 冻结上日卖头寸
  1031. type: integer
  1032. goodscode:
  1033. description: 商品代码
  1034. type: string
  1035. goodsid:
  1036. description: 商品id
  1037. type: integer
  1038. goodsname:
  1039. description: 商品名称
  1040. type: string
  1041. hedgeaccountcode:
  1042. description: 对冲账号
  1043. type: string
  1044. hedgegoodsid:
  1045. description: 对冲合约ID
  1046. type: integer
  1047. increaseqty:
  1048. description: 增加数量 = 期末买头寸 - 期初买头寸
  1049. type: integer
  1050. marketid:
  1051. description: 市场ID
  1052. type: integer
  1053. relateduserid:
  1054. description: 关联用户id
  1055. type: integer
  1056. totalcurqty:
  1057. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1058. type: integer
  1059. totalydqty:
  1060. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1061. type: integer
  1062. tradedate:
  1063. description: 交易日(yyyyMMdd)
  1064. type: string
  1065. ydbuyposition:
  1066. description: 期初买头寸
  1067. type: integer
  1068. ydsellposition:
  1069. description: 期初卖头寸
  1070. type: integer
  1071. type: object
  1072. ermcp.ExposureSpotDetailRsp:
  1073. properties:
  1074. contracttype:
  1075. description: 合同类型 1-采购 -1-销售
  1076. type: integer
  1077. createtime:
  1078. description: 创建时间
  1079. type: string
  1080. enumdicname:
  1081. description: 现货商品单位名称
  1082. type: string
  1083. logtype:
  1084. description: 记录类型 1-套保 2-现货合同
  1085. type: integer
  1086. qty:
  1087. description: 数量
  1088. type: number
  1089. recordname:
  1090. description: 类型名称
  1091. type: string
  1092. relatedid:
  1093. description: 套保计划ID/现货合同ID
  1094. type: string
  1095. relatedno:
  1096. description: 编号
  1097. type: string
  1098. strtime:
  1099. description: 时间
  1100. type: string
  1101. wrstandardcode:
  1102. description: 现货商品代码
  1103. type: string
  1104. wrstandardname:
  1105. description: 现货商品名称
  1106. type: string
  1107. type: object
  1108. ermcp.ExposureSpotRsp:
  1109. properties:
  1110. areauserid:
  1111. description: 所属机构
  1112. type: integer
  1113. decreaseqty:
  1114. description: 减少数量=-(销售已定价数量+采购计划数量)
  1115. type: number
  1116. increaseqty:
  1117. description: 增加数量=销售计划数量+采购已定价数量
  1118. type: number
  1119. oritoalspotqty:
  1120. description: 昨日数量
  1121. type: number
  1122. totalspotqty:
  1123. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1124. type: number
  1125. updatetime:
  1126. description: 更新时间
  1127. type: string
  1128. wrstandardcode:
  1129. description: 现货品种代码
  1130. type: string
  1131. wrstandardid:
  1132. description: 现货商品ID
  1133. type: integer
  1134. wrstandardname:
  1135. description: 现货品种
  1136. type: string
  1137. type: object
  1138. ermcp.HisExposureRsp:
  1139. properties:
  1140. data:
  1141. description: 历史敞口
  1142. items:
  1143. $ref: '#/definitions/models.ErmcpHisExposure'
  1144. type: array
  1145. enumdicname:
  1146. description: 单位名称
  1147. type: string
  1148. middlegoodscode:
  1149. description: 套保品种代码
  1150. type: string
  1151. middlegoodsid:
  1152. description: 套保品种ID
  1153. type: integer
  1154. middlegoodsname:
  1155. description: 套保品种名称
  1156. type: string
  1157. type: object
  1158. ermcp.PendingAuditCntRsp:
  1159. properties:
  1160. areastockqty:
  1161. description: '待审核数量: 库存申请'
  1162. type: integer
  1163. businessdjqty:
  1164. description: '待审核数量: 点价'
  1165. type: integer
  1166. businessfpqty:
  1167. description: '待审核数量: 发票'
  1168. type: integer
  1169. businessjsqty:
  1170. description: '待审核数量: 结算'
  1171. type: integer
  1172. businesskxqty:
  1173. description: '待审核数量: 款项'
  1174. type: integer
  1175. hedgeplanqty:
  1176. description: '待审核数量: 套保计划'
  1177. type: integer
  1178. spotcontractqty:
  1179. description: '待审核数量: 现货合同'
  1180. type: integer
  1181. userqty:
  1182. description: '待审核数量: 用户'
  1183. type: integer
  1184. type: object
  1185. ermcp.QryAvalidGPRsp:
  1186. properties:
  1187. goodsgroupid:
  1188. description: 期货品种id
  1189. type: integer
  1190. goodsgroupname:
  1191. description: 期货品种名称
  1192. type: string
  1193. goodunitid:
  1194. description: 品种单位id
  1195. type: integer
  1196. goodunitname:
  1197. description: 品种单位名称
  1198. type: string
  1199. outergroupcode:
  1200. description: 期货品种代码
  1201. type: string
  1202. type: object
  1203. ermcp.QryBusinessDjRsp:
  1204. properties:
  1205. amount:
  1206. description: 点价金额=(点价价格+升贴水)*点价数量
  1207. type: number
  1208. applyid:
  1209. description: 申请人
  1210. type: string
  1211. applyname:
  1212. description: 申请人名称
  1213. type: string
  1214. applystatus:
  1215. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1216. type: integer
  1217. applytime:
  1218. description: 申请时间
  1219. type: string
  1220. attachurl:
  1221. description: 附件
  1222. type: string
  1223. auditid:
  1224. description: 审核人ID
  1225. type: string
  1226. auditname:
  1227. description: 审核人名称
  1228. type: string
  1229. audittime:
  1230. description: 审核时间
  1231. type: string
  1232. buyusername:
  1233. description: 采购方名称
  1234. type: string
  1235. contractno:
  1236. description: 合同编号
  1237. type: string
  1238. contractstatus:
  1239. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1240. type: integer
  1241. contracttype:
  1242. description: 现货合同类型 - 1:采购 -1:销售
  1243. type: integer
  1244. deliverygoodscode:
  1245. description: 现货品种代码
  1246. type: string
  1247. deliverygoodsid:
  1248. description: 现货商品ID
  1249. type: integer
  1250. deliverygoodsname:
  1251. description: 现货品种名称
  1252. type: string
  1253. enumdicname:
  1254. description: 单位名称
  1255. type: string
  1256. goodscode:
  1257. description: 点价合约
  1258. type: string
  1259. goodsname:
  1260. description: 商品名称
  1261. type: string
  1262. operateapplyid:
  1263. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1264. type: string
  1265. operateapplytype:
  1266. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1267. type: integer
  1268. pricedPrice:
  1269. description: 点价价格(非必填)
  1270. type: number
  1271. pricedQty:
  1272. description: 点价数量(非必填)
  1273. type: number
  1274. pricemove:
  1275. description: 升贴水
  1276. type: number
  1277. pricetype:
  1278. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1279. type: integer
  1280. relatedid:
  1281. description: 现货合同ID
  1282. type: string
  1283. sellusername:
  1284. description: 销售方名字
  1285. type: string
  1286. userid:
  1287. description: 用户ID
  1288. type: integer
  1289. wrstandardcode:
  1290. description: 品类代码
  1291. type: string
  1292. wrstandardid:
  1293. description: 品类id
  1294. type: integer
  1295. wrstandardname:
  1296. description: 品类名称
  1297. type: string
  1298. type: object
  1299. ermcp.QryBussinessFpRsp:
  1300. properties:
  1301. applyid:
  1302. description: 申请人
  1303. type: string
  1304. applyname:
  1305. description: 申请人名称
  1306. type: string
  1307. applystatus:
  1308. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1309. type: integer
  1310. applytime:
  1311. description: 申请时间
  1312. type: string
  1313. attachurl:
  1314. description: 附件
  1315. type: string
  1316. auditid:
  1317. description: 审核人ID
  1318. type: string
  1319. auditname:
  1320. description: 审核人名称
  1321. type: string
  1322. audittime:
  1323. description: 审核时间
  1324. type: string
  1325. buyusername:
  1326. description: 采购方名称
  1327. type: string
  1328. contractno:
  1329. description: 合同编号
  1330. type: string
  1331. contractstatus:
  1332. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1333. type: integer
  1334. contracttype:
  1335. description: 现货合同类型 - 1:采购 -1:销售
  1336. type: integer
  1337. deliverygoodscode:
  1338. description: 现货品种代码
  1339. type: string
  1340. deliverygoodsid:
  1341. description: 现货商品ID
  1342. type: integer
  1343. deliverygoodsname:
  1344. description: 现货品种名称
  1345. type: string
  1346. enumdicname:
  1347. description: 单位名称
  1348. type: string
  1349. goodscode:
  1350. description: 点价合约
  1351. type: string
  1352. goodsname:
  1353. description: 商品名称
  1354. type: string
  1355. invoiceAmount:
  1356. description: 已开收票金额(销售为开票,采购为收票)
  1357. type: number
  1358. operateapplyid:
  1359. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1360. type: string
  1361. operateapplytype:
  1362. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1363. type: integer
  1364. pricemove:
  1365. description: 升贴水
  1366. type: number
  1367. pricetype:
  1368. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1369. type: integer
  1370. relatedid:
  1371. description: 现货合同ID
  1372. type: string
  1373. sellusername:
  1374. description: 销售方名字
  1375. type: string
  1376. userid:
  1377. description: 用户ID
  1378. type: integer
  1379. wrstandardcode:
  1380. description: 品类代码
  1381. type: string
  1382. wrstandardid:
  1383. description: 品类id
  1384. type: integer
  1385. wrstandardname:
  1386. description: 品类名称
  1387. type: string
  1388. type: object
  1389. ermcp.QryBussinessJsExRsp:
  1390. properties:
  1391. applyid:
  1392. description: 申请人
  1393. type: string
  1394. applyname:
  1395. description: 申请人名称
  1396. type: string
  1397. applystatus:
  1398. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1399. type: integer
  1400. applytime:
  1401. description: 申请时间
  1402. type: string
  1403. attachurl:
  1404. description: 附件
  1405. type: string
  1406. auditid:
  1407. description: 审核人ID
  1408. type: string
  1409. auditname:
  1410. description: 审核人名称
  1411. type: string
  1412. audittime:
  1413. description: 审核时间
  1414. type: string
  1415. buyusername:
  1416. description: 采购方名称
  1417. type: string
  1418. contractno:
  1419. description: 合同编号
  1420. type: string
  1421. contractstatus:
  1422. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1423. type: integer
  1424. contracttype:
  1425. description: 现货合同类型 - 1:采购 -1:销售
  1426. type: integer
  1427. deliverygoodscode:
  1428. description: 现货品种代码
  1429. type: string
  1430. deliverygoodsid:
  1431. description: 现货商品ID
  1432. type: integer
  1433. deliverygoodsname:
  1434. description: 现货品种名称
  1435. type: string
  1436. enumdicname:
  1437. description: 单位名称
  1438. type: string
  1439. goodscode:
  1440. description: 点价合约
  1441. type: string
  1442. goodsname:
  1443. description: 商品名称
  1444. type: string
  1445. operateapplyid:
  1446. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1447. type: string
  1448. operateapplytype:
  1449. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1450. type: integer
  1451. pricemove:
  1452. description: 升贴水
  1453. type: number
  1454. pricetype:
  1455. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1456. type: integer
  1457. reckontype:
  1458. description: 结算类型
  1459. type: string
  1460. reckonvalue:
  1461. description: 值
  1462. type: number
  1463. relatedid:
  1464. description: 现货合同ID
  1465. type: string
  1466. sellusername:
  1467. description: 销售方名字
  1468. type: string
  1469. userid:
  1470. description: 用户ID
  1471. type: integer
  1472. wrstandardcode:
  1473. description: 品类代码
  1474. type: string
  1475. wrstandardid:
  1476. description: 品类id
  1477. type: integer
  1478. wrstandardname:
  1479. description: 品类名称
  1480. type: string
  1481. type: object
  1482. ermcp.QryBussinessJsRsp:
  1483. properties:
  1484. addmargin:
  1485. description: 追加保证金(非必填)
  1486. type: number
  1487. applyid:
  1488. description: 申请人
  1489. type: string
  1490. applyname:
  1491. description: 申请人名称
  1492. type: string
  1493. applystatus:
  1494. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1495. type: integer
  1496. applytime:
  1497. description: 申请时间
  1498. type: string
  1499. attachurl:
  1500. description: 附件
  1501. type: string
  1502. auditid:
  1503. description: 审核人ID
  1504. type: string
  1505. auditname:
  1506. description: 审核人名称
  1507. type: string
  1508. audittime:
  1509. description: 审核时间
  1510. type: string
  1511. buyusername:
  1512. description: 采购方名称
  1513. type: string
  1514. contractno:
  1515. description: 合同编号
  1516. type: string
  1517. contractstatus:
  1518. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1519. type: integer
  1520. contracttype:
  1521. description: 现货合同类型 - 1:采购 -1:销售
  1522. type: integer
  1523. decmargin:
  1524. description: 减少保证金(非必填)
  1525. type: number
  1526. deliverygoodscode:
  1527. description: 现货品种代码
  1528. type: string
  1529. deliverygoodsid:
  1530. description: 现货商品ID
  1531. type: integer
  1532. deliverygoodsname:
  1533. description: 现货品种名称
  1534. type: string
  1535. enumdicname:
  1536. description: 单位名称
  1537. type: string
  1538. goodscode:
  1539. description: 点价合约
  1540. type: string
  1541. goodsname:
  1542. description: 商品名称
  1543. type: string
  1544. operateapplyid:
  1545. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1546. type: string
  1547. operateapplytype:
  1548. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1549. type: integer
  1550. pricemove:
  1551. description: 升贴水
  1552. type: number
  1553. pricetype:
  1554. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1555. type: integer
  1556. reckonadjustamount:
  1557. description: 结算调整金额(非必填)
  1558. type: number
  1559. reckonosamount:
  1560. description: 结算溢短金额(非必填)
  1561. type: number
  1562. reckonotheramount:
  1563. description: 结算其他费用(非必填)
  1564. type: number
  1565. reckonrealqty:
  1566. description: 结算实际数量(非必填)
  1567. type: number
  1568. relatedid:
  1569. description: 现货合同ID
  1570. type: string
  1571. sellusername:
  1572. description: 销售方名字
  1573. type: string
  1574. userid:
  1575. description: 用户ID
  1576. type: integer
  1577. wrstandardcode:
  1578. description: 品类代码
  1579. type: string
  1580. wrstandardid:
  1581. description: 品类id
  1582. type: integer
  1583. wrstandardname:
  1584. description: 品类名称
  1585. type: string
  1586. type: object
  1587. ermcp.QryBussinessKxRsp:
  1588. properties:
  1589. applyid:
  1590. description: 申请人
  1591. type: string
  1592. applyname:
  1593. description: 申请人名称
  1594. type: string
  1595. applystatus:
  1596. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1597. type: integer
  1598. applytime:
  1599. description: 申请时间
  1600. type: string
  1601. attachurl:
  1602. description: 附件
  1603. type: string
  1604. auditid:
  1605. description: 审核人ID
  1606. type: string
  1607. auditname:
  1608. description: 审核人名称
  1609. type: string
  1610. audittime:
  1611. description: 审核时间
  1612. type: string
  1613. buyusername:
  1614. description: 采购方名称
  1615. type: string
  1616. contractno:
  1617. description: 合同编号
  1618. type: string
  1619. contractstatus:
  1620. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1621. type: integer
  1622. contracttype:
  1623. description: 现货合同类型 - 1:采购 -1:销售
  1624. type: integer
  1625. deductamount:
  1626. description: 退款(非必填)
  1627. type: number
  1628. deliverygoodscode:
  1629. description: 现货品种代码
  1630. type: string
  1631. deliverygoodsid:
  1632. description: 现货商品ID
  1633. type: integer
  1634. deliverygoodsname:
  1635. description: 现货品种名称
  1636. type: string
  1637. enumdicname:
  1638. description: 单位名称
  1639. type: string
  1640. goodscode:
  1641. description: 点价合约
  1642. type: string
  1643. goodsname:
  1644. description: 商品名称
  1645. type: string
  1646. kxtype:
  1647. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1648. type: integer
  1649. operateapplyid:
  1650. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1651. type: string
  1652. operateapplytype:
  1653. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1654. type: integer
  1655. payamount:
  1656. description: 收付款(非必填)
  1657. type: number
  1658. pricemove:
  1659. description: 升贴水
  1660. type: number
  1661. pricetype:
  1662. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1663. type: integer
  1664. relatedid:
  1665. description: 现货合同ID
  1666. type: string
  1667. sellusername:
  1668. description: 销售方名字
  1669. type: string
  1670. userid:
  1671. description: 用户ID
  1672. type: integer
  1673. wrstandardcode:
  1674. description: 品类代码
  1675. type: string
  1676. wrstandardid:
  1677. description: 品类id
  1678. type: integer
  1679. wrstandardname:
  1680. description: 品类名称
  1681. type: string
  1682. type: object
  1683. ermcp.QryGGCovertCfgRsp:
  1684. properties:
  1685. convertratio:
  1686. description: 折算系数
  1687. type: number
  1688. destgoodsgroupid:
  1689. description: 目标品种ID
  1690. type: integer
  1691. dstcode:
  1692. description: 目录品种代码
  1693. type: string
  1694. dstexchangecode:
  1695. description: 目标期货交易所
  1696. type: string
  1697. dstname:
  1698. description: 目标品种名称
  1699. type: string
  1700. dstunitid:
  1701. description: 目标品种单位ID
  1702. type: integer
  1703. dstunitidname:
  1704. description: 目标品种单位名称
  1705. type: string
  1706. modifytime:
  1707. description: 修改时间
  1708. type: string
  1709. srccode:
  1710. description: 源品种代码
  1711. type: string
  1712. srcexchangecode:
  1713. description: 源期货交易所
  1714. type: string
  1715. srcgoodsgroupid:
  1716. description: 源品种ID
  1717. type: integer
  1718. srcname:
  1719. description: 源品种名称
  1720. type: string
  1721. srcunitid:
  1722. description: 源品种单位ID
  1723. type: integer
  1724. srcunitidname:
  1725. description: 源品种单位名称
  1726. type: string
  1727. type: object
  1728. ermcp.QryMGChangeLogRsp:
  1729. properties:
  1730. aftervalue:
  1731. description: 变更后
  1732. type: number
  1733. applyid:
  1734. description: 操作人
  1735. type: integer
  1736. applyname:
  1737. description: 操作人名称
  1738. type: string
  1739. applysrc:
  1740. description: 操作来源 - 1:管理端 2:终端
  1741. type: integer
  1742. beforevalue:
  1743. description: 变更前
  1744. type: number
  1745. changelogtype:
  1746. description: 变更流水类型 - 1:套保比率变更
  1747. type: integer
  1748. handlestatus:
  1749. description: 处理状态
  1750. type: integer
  1751. logdatetime:
  1752. description: 流水日期
  1753. type: string
  1754. logid:
  1755. description: 流水ID
  1756. type: integer
  1757. logremark:
  1758. description: 流水备注
  1759. type: string
  1760. middlegoodsid:
  1761. description: 套保品种ID
  1762. type: integer
  1763. tradedate:
  1764. description: 交易日(yyyyMMdd)
  1765. type: string
  1766. updatetime:
  1767. description: 更新时间
  1768. type: string
  1769. type: object
  1770. ermcp.QryMiddleGoodsDetailRsp:
  1771. properties:
  1772. cvList:
  1773. description: 期货品种折算列表
  1774. items:
  1775. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1776. type: array
  1777. mg:
  1778. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1779. description: 套保品种基本信息
  1780. wrcList:
  1781. description: 现货品种列表(现货商品折算配置)
  1782. items:
  1783. $ref: '#/definitions/models.WRSConverTDetail'
  1784. type: array
  1785. type: object
  1786. ermcp.QryMiddleGoodsRsp:
  1787. properties:
  1788. areauserid:
  1789. description: 机构用户ID
  1790. type: integer
  1791. createtime:
  1792. description: 修改时间
  1793. type: string
  1794. enumdicname:
  1795. description: 单位名称
  1796. type: string
  1797. evaluateratio:
  1798. description: 估价系数
  1799. type: number
  1800. goodsgroupid:
  1801. description: 关联期货品种ID
  1802. type: integer
  1803. goodsunitid:
  1804. description: 单位ID
  1805. type: integer
  1806. isvalid:
  1807. description: 状态 0-无效(停用) 1-有效(正常)
  1808. type: integer
  1809. middlegoodscode:
  1810. description: 套保品种代码
  1811. type: string
  1812. middlegoodsid:
  1813. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1814. type: integer
  1815. middlegoodsname:
  1816. description: 套保品种名称
  1817. type: string
  1818. modifytime:
  1819. description: 修改时间
  1820. type: string
  1821. needarbitrageratio:
  1822. description: 套利比例
  1823. type: number
  1824. needhedgeratio:
  1825. description: 套保比率
  1826. type: number
  1827. qtydecimalplace:
  1828. description: 数量小数位
  1829. type: integer
  1830. relatedgoodsid:
  1831. description: 关联交易商品ID
  1832. type: integer
  1833. relatedgoodstype:
  1834. description: 关联商品类型 - 1:期货合约 2:现货品种
  1835. type: integer
  1836. remark:
  1837. description: 备注
  1838. type: string
  1839. type: object
  1840. ermcp.QryOPLogRsp:
  1841. properties:
  1842. aftervalue:
  1843. description: 变更后
  1844. type: number
  1845. applyid:
  1846. description: 操作人ID
  1847. type: string
  1848. applyname:
  1849. description: 操作人名称
  1850. type: string
  1851. beforevalue:
  1852. description: 变更前
  1853. type: number
  1854. biztype:
  1855. description: 业务类型 - 1:套保计划 2:现货合同
  1856. type: integer
  1857. contracttype:
  1858. description: 现货合同类型 - 1:采购 -1:销售
  1859. type: integer
  1860. logvalue:
  1861. description: 数值
  1862. type: number
  1863. operatelogtype:
  1864. description: 操作流水类型
  1865. type: integer
  1866. operatelogtypedesc:
  1867. description: 操作流水类型名称
  1868. type: string
  1869. relatedid:
  1870. description: 现货合同ID\套保计划
  1871. type: string
  1872. updatetime:
  1873. description: 更新时间
  1874. type: string
  1875. type: object
  1876. ermcp.QryUserInfoRsp:
  1877. properties:
  1878. address:
  1879. description: 通讯地址
  1880. type: string
  1881. attachment1:
  1882. description: 附件1
  1883. type: string
  1884. audittime:
  1885. description: 审核时间
  1886. type: string
  1887. cardbackphotourl:
  1888. description: 证件反面图片地址
  1889. type: string
  1890. cardfrontphotourl:
  1891. description: 证件正面图片地址
  1892. type: string
  1893. cardnum:
  1894. description: 证件号码
  1895. type: string
  1896. cardtype:
  1897. description: 证件类型
  1898. type: integer
  1899. cardtypename:
  1900. description: 证件类型名称
  1901. type: string
  1902. cityid:
  1903. description: 市
  1904. type: integer
  1905. contactname:
  1906. description: 联系人
  1907. type: string
  1908. countryid:
  1909. description: 国家
  1910. type: integer
  1911. createtime:
  1912. description: 创建时间
  1913. type: string
  1914. customername:
  1915. description: 企业名称
  1916. type: string
  1917. districtid:
  1918. description: 区域
  1919. type: integer
  1920. email:
  1921. description: 邮件
  1922. type: string
  1923. legalpersonname:
  1924. description: 法人姓名(企业)
  1925. type: string
  1926. memberuserid:
  1927. description: 所属机构ID
  1928. type: integer
  1929. mobile:
  1930. description: 手机号码
  1931. type: string
  1932. modifytime:
  1933. description: 修改时间
  1934. type: string
  1935. nickname:
  1936. description: 昵称
  1937. type: string
  1938. provinceid:
  1939. description: 省
  1940. type: integer
  1941. remark:
  1942. description: 备注
  1943. type: string
  1944. status:
  1945. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  1946. type: integer
  1947. statusdesc:
  1948. description: 账户状态中文描述
  1949. type: string
  1950. taxpayernum:
  1951. description: 纳税人识别号
  1952. type: string
  1953. telphone:
  1954. description: 联系电话
  1955. type: string
  1956. userid:
  1957. description: 用户ID
  1958. type: integer
  1959. userinfotype:
  1960. description: 客户类型
  1961. type: string
  1962. type: object
  1963. ermcp.QryWarehouseRsp:
  1964. properties:
  1965. address:
  1966. description: 详细地址
  1967. type: string
  1968. areauserid:
  1969. description: 所属机构
  1970. type: integer
  1971. autoid:
  1972. description: 自增ID(仓库ID)
  1973. type: integer
  1974. cityid:
  1975. description: 市
  1976. type: integer
  1977. contactname:
  1978. description: 联系人
  1979. type: string
  1980. contactnum:
  1981. description: 联系电话
  1982. type: string
  1983. countryid:
  1984. description: 国家
  1985. type: integer
  1986. createtime:
  1987. description: 创建时间
  1988. type: string
  1989. districtid:
  1990. description: 区
  1991. type: integer
  1992. hasvideo:
  1993. description: 是否有视频 - 0:无 1:有
  1994. type: integer
  1995. provinceid:
  1996. description: 省
  1997. type: integer
  1998. remark:
  1999. description: 审核备注
  2000. type: string
  2001. videourl:
  2002. description: 视频地址
  2003. type: string
  2004. warehousecode:
  2005. description: 仓库代码
  2006. type: string
  2007. warehousename:
  2008. description: 仓库名称
  2009. type: string
  2010. warehousestatus:
  2011. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2012. type: integer
  2013. warehousetype:
  2014. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2015. type: integer
  2016. type: object
  2017. ermcp.QueryErmcpTradePositionRsp:
  2018. properties:
  2019. agreeunit:
  2020. description: 合约单位
  2021. type: number
  2022. buyorsell:
  2023. description: 方向 - 0:买 1:卖
  2024. type: integer
  2025. curpositionqty:
  2026. description: 持仓(总仓数量, 期末头寸)
  2027. type: integer
  2028. curtdposition:
  2029. description: 今仓数量(期末今日头寸)
  2030. type: integer
  2031. curtdpositionenabled:
  2032. description: 今仓可用
  2033. type: integer
  2034. decimalplace:
  2035. description: 报价小数位
  2036. type: integer
  2037. enableqty:
  2038. description: 可用(总仓可用)
  2039. type: integer
  2040. exexchangename:
  2041. description: 外部交易所名称
  2042. type: string
  2043. goodscode:
  2044. description: 商品代码(内部)
  2045. type: string
  2046. goodsid:
  2047. description: 商品ID(自增ID SEQ_GOODS)
  2048. type: integer
  2049. goodsname:
  2050. description: 商品名称
  2051. type: string
  2052. last:
  2053. description: 现价
  2054. type: number
  2055. marketid:
  2056. description: 所属市场ID
  2057. type: integer
  2058. openaverageprice:
  2059. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2060. type: number
  2061. opencost:
  2062. description: 开仓成本
  2063. type: number
  2064. openpl:
  2065. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2066. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2067. type: number
  2068. outgoodscode:
  2069. description: 商品代码(外部)
  2070. type: string
  2071. positionaverageprice:
  2072. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2073. type: number
  2074. positioncost:
  2075. description: 持仓成本
  2076. type: number
  2077. positionpl:
  2078. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2079. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2080. type: number
  2081. positionplrate:
  2082. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2083. type: number
  2084. usedmargin:
  2085. description: 占用保证金
  2086. type: number
  2087. type: object
  2088. ermcp.RealtimeExposurePositionRsp:
  2089. properties:
  2090. agreeunit:
  2091. description: 合约单位
  2092. type: string
  2093. areauserid:
  2094. description: 所属机构id
  2095. type: integer
  2096. convertratio:
  2097. description: 期货品种系数(折算系数)
  2098. type: number
  2099. curqty:
  2100. description: 当前持仓
  2101. type: integer
  2102. diffhedgeqty:
  2103. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2104. type: number
  2105. diffqty:
  2106. description: 持仓变动量=当前持仓-昨日持仓
  2107. type: integer
  2108. goodscode:
  2109. description: 商品代码
  2110. type: string
  2111. goodsid:
  2112. description: 商品id
  2113. type: integer
  2114. goodsname:
  2115. description: 商品名称
  2116. type: string
  2117. middlegoodsid:
  2118. description: 套保商品id
  2119. type: integer
  2120. ydqty:
  2121. description: 昨日持仓
  2122. type: integer
  2123. type: object
  2124. ermcp.RealtimeExposureRsp:
  2125. properties:
  2126. AreaUserID:
  2127. description: 所属机构
  2128. type: integer
  2129. BuyFutureQty:
  2130. description: 买入期货数量
  2131. type: number
  2132. BuyPlanQty:
  2133. description: 采购计划数量
  2134. type: number
  2135. BuyPricedQty:
  2136. description: 采购合同已定价数量
  2137. type: number
  2138. MiddleGoodsCode:
  2139. description: 套保品种代码
  2140. type: string
  2141. MiddleGoodsHedgeRatio:
  2142. description: 套保比例
  2143. type: number
  2144. MiddleGoodsID:
  2145. description: 套保品种
  2146. type: integer
  2147. MiddleGoodsName:
  2148. description: 套保品种名称
  2149. type: string
  2150. NeedHedgeExposoure:
  2151. description: 应套保敞口(套保敞口)
  2152. type: number
  2153. NeedHedgeRatio:
  2154. description: 应套保敞口比例
  2155. type: number
  2156. OriBuyFutureQty:
  2157. description: 期初买入期货数量
  2158. type: number
  2159. OriBuyPlanQty:
  2160. description: 期初采购计划数量
  2161. type: number
  2162. OriBuyPricedQty:
  2163. description: 期初采购合同已定价数量
  2164. type: number
  2165. OriSellFutureQty:
  2166. description: 期初卖出期货数量
  2167. type: number
  2168. OriSellPlanQty:
  2169. description: 期初销售计划数量
  2170. type: number
  2171. OriSellPricedQty:
  2172. description: 期初销售合同已定价数量
  2173. type: number
  2174. SellFutureQty:
  2175. description: 卖出期货数量
  2176. type: number
  2177. SellPlanQty:
  2178. description: 销售计划数量
  2179. type: number
  2180. SellPricedQty:
  2181. description: 销售合同已定价数量
  2182. type: number
  2183. TotalExposure:
  2184. description: 总敞口
  2185. type: number
  2186. TotalFutureQty:
  2187. description: 期货总量
  2188. type: number
  2189. TotalHedgeRatio:
  2190. description: 敞口比例
  2191. type: number
  2192. TotalNeedHedgeQty:
  2193. description: 应套保总量(现货应套保总量)
  2194. type: number
  2195. TotalSpotQty:
  2196. description: 现货总量
  2197. type: number
  2198. arbitrageqty:
  2199. description: 套利量
  2200. type: number
  2201. diffArbitrageQty:
  2202. description: 套利变动量
  2203. type: number
  2204. diffExposoureQty:
  2205. description: 变动量(套保敞口)
  2206. type: number
  2207. diffFutuQty:
  2208. description: 变动量(期货总量)
  2209. type: number
  2210. diffHedgeQty:
  2211. description: 套保变动量
  2212. type: number
  2213. diffQty:
  2214. description: 变动量(总敞口)
  2215. type: number
  2216. diffSpotHedgeQty:
  2217. description: 变动量(现货应套保总量)
  2218. type: number
  2219. diffSpotQty:
  2220. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  2221. type: number
  2222. enumdicname:
  2223. description: 单位名称
  2224. type: string
  2225. hedgeqty:
  2226. description: 套保量
  2227. type: number
  2228. needarbitrageqty:
  2229. description: 应套利量
  2230. type: number
  2231. needarbitrageratio:
  2232. description: 套利比例
  2233. type: number
  2234. needhedgeqty:
  2235. description: 应套保量
  2236. type: number
  2237. oriTotalFutuQty:
  2238. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2239. type: number
  2240. oriTotalSpotQty:
  2241. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2242. type: number
  2243. oriarbitrageqty:
  2244. description: 期初套利量
  2245. type: number
  2246. orihedgeqty:
  2247. description: 期初套保量
  2248. type: number
  2249. orineedhedgeexposoure:
  2250. description: 期初套保敞口
  2251. type: number
  2252. oritotalexposure:
  2253. description: 期初总敞口
  2254. type: number
  2255. oritotalfutureqty:
  2256. description: 期初期货总量
  2257. type: number
  2258. oritotalneedhedgeqty:
  2259. description: 期初现货应套保量
  2260. type: number
  2261. type: object
  2262. erms2.QueryArbitrageStrategyRsp:
  2263. properties:
  2264. applybasis:
  2265. description: 申请基差
  2266. type: number
  2267. asapplyid:
  2268. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2269. type: string
  2270. asname:
  2271. description: 策略名称
  2272. type: string
  2273. asno:
  2274. description: 策略编号
  2275. type: string
  2276. basischangepl:
  2277. description: 基差变动损益[结算更新]
  2278. type: number
  2279. biztype:
  2280. description: 业务类型 - 1:正向套利 -1:反向套利
  2281. type: integer
  2282. closetradedate:
  2283. description: 完结交易日(yyyyMMdd)
  2284. type: string
  2285. curbasis:
  2286. description: 当前基差[结算更新]
  2287. type: number
  2288. deliverygoodsid:
  2289. description: 现货品种ID
  2290. type: integer
  2291. futureavgprice:
  2292. description: 期货建仓均价
  2293. type: number
  2294. futurecloseamount:
  2295. description: 期货平仓金额
  2296. type: number
  2297. futurecloseqty:
  2298. description: 期货平仓数量
  2299. type: number
  2300. futureopenamount:
  2301. description: 期货开仓金额
  2302. type: number
  2303. futureopenqty:
  2304. description: 期货开仓数量
  2305. type: number
  2306. futurepl:
  2307. description: 期货总盈亏[结算更新]
  2308. type: number
  2309. futureqty:
  2310. description: 期货持仓数量
  2311. type: number
  2312. futurequote:
  2313. description: 期货额度
  2314. type: number
  2315. goodsgroupid:
  2316. description: 期货品种ID
  2317. type: integer
  2318. marketid:
  2319. description: 市场ID
  2320. type: integer
  2321. netexposure:
  2322. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2323. type: number
  2324. netexposurepl:
  2325. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2326. type: number
  2327. netexposurerate:
  2328. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2329. type: number
  2330. openbasis:
  2331. description: 建仓基差
  2332. type: number
  2333. pricedspotqty:
  2334. description: 已定价现货数量
  2335. type: number
  2336. pricedspotqtynotax:
  2337. description: 已定价现货不含税数量
  2338. type: number
  2339. remark:
  2340. description: 备注
  2341. type: string
  2342. spotavgprice:
  2343. description: 现货均价
  2344. type: number
  2345. spotbuyamount:
  2346. description: 现货采购金额
  2347. type: number
  2348. spotbuyqty:
  2349. description: 现货采购数量
  2350. type: number
  2351. spotpl:
  2352. description: 现货总盈亏[结算更新]
  2353. type: number
  2354. spotquota:
  2355. description: 现货额度
  2356. type: number
  2357. spotsellamount:
  2358. description: 现货销售金额
  2359. type: number
  2360. spotsellqty:
  2361. description: 现货销售数量
  2362. type: number
  2363. spotusedquota:
  2364. description: 现货占用资金
  2365. type: number
  2366. strategystatus:
  2367. description: 策略状态 - 0:未结束 1:已结束
  2368. type: integer
  2369. totalpl:
  2370. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2371. type: number
  2372. tradedate:
  2373. description: 交易日(yyyyMMdd)
  2374. type: string
  2375. updatetime:
  2376. description: 更新时间
  2377. type: string
  2378. usedquota:
  2379. description: 已占用资金
  2380. type: number
  2381. userid:
  2382. description: 所属机构
  2383. type: integer
  2384. required:
  2385. - asapplyid
  2386. type: object
  2387. erms2.QueryInnerTradeDetailRsp:
  2388. properties:
  2389. accountid:
  2390. description: 账号ID
  2391. type: integer
  2392. agreeunit:
  2393. description: 合约单位
  2394. type: number
  2395. asapplyid:
  2396. description: 策略申请ID
  2397. type: integer
  2398. asname:
  2399. description: 策略名称
  2400. type: string
  2401. asno:
  2402. description: 策略编号
  2403. type: string
  2404. buyorsell:
  2405. description: 方向 - 0:买 1:卖
  2406. type: integer
  2407. channelbuildtype:
  2408. description: 委托单据类型 0:无 1:建仓 2:平仓
  2409. type: integer
  2410. closetype:
  2411. description: 平仓方式 - 0:无 1:平今 2:平昨
  2412. type: integer
  2413. decimalplace:
  2414. description: 报价小数位
  2415. type: integer
  2416. detailtype:
  2417. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2418. type: integer
  2419. exexchangecode:
  2420. description: 外部交易所代码
  2421. type: string
  2422. exexchangename:
  2423. description: 外部交易所名称
  2424. type: string
  2425. goodscode:
  2426. description: 商品代码(合约)
  2427. type: string
  2428. goodsgroupid:
  2429. description: 商品组ID(品种ID)
  2430. type: integer
  2431. goodsgroupname:
  2432. description: 商品组名称(品种)
  2433. type: string
  2434. goodsid:
  2435. description: 商品ID
  2436. type: integer
  2437. goodsname:
  2438. description: 商品名称(合约)
  2439. type: string
  2440. goodunit:
  2441. description: 报价单位
  2442. type: string
  2443. marketid:
  2444. description: 市场ID
  2445. type: integer
  2446. orderid:
  2447. description: 委托单号
  2448. type: string
  2449. outgoodscode:
  2450. description: 商品代码(外部)
  2451. type: string
  2452. relatedouttradeid:
  2453. description: 关联外部成交单ID
  2454. type: string
  2455. remark:
  2456. description: 备注
  2457. type: string
  2458. spotcontractid:
  2459. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2460. type: integer
  2461. spotcontractno:
  2462. description: 现货合同编号
  2463. type: string
  2464. tradeid:
  2465. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2466. type: string
  2467. tradeprice:
  2468. description: 成交价格
  2469. type: number
  2470. tradeqty:
  2471. description: 成交数量
  2472. type: integer
  2473. tradetime:
  2474. description: 成交时间
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. required:
  2480. - asapplyid
  2481. - buyorsell
  2482. - goodscode
  2483. - goodsgroupid
  2484. - goodsgroupname
  2485. - goodsname
  2486. - tradeid
  2487. type: object
  2488. erms2.QuerySpotContractRsp:
  2489. properties:
  2490. accountid:
  2491. description: 资金账户ID
  2492. type: integer
  2493. areauserid:
  2494. description: 所属机构
  2495. type: integer
  2496. closedate:
  2497. description: 终止日期
  2498. type: string
  2499. closeremark:
  2500. description: 结束备注
  2501. type: string
  2502. closetradedate:
  2503. description: 完结交易日(yyyyMMdd)
  2504. type: string
  2505. closetype:
  2506. description: 终止类型 - 1:违约 2:提前终止
  2507. type: integer
  2508. contractamount:
  2509. description: 合同金额
  2510. type: number
  2511. contractattachment:
  2512. description: 合同附件
  2513. type: string
  2514. contractno:
  2515. description: 现货合同编号
  2516. type: string
  2517. contractqty:
  2518. description: 合同数量(数值) (用于计算)
  2519. type: number
  2520. contractqtychar:
  2521. description: 合同数量\已订价数量 (用于显示)
  2522. type: string
  2523. contractstatus:
  2524. description: 合同状态 - 0:未结束 1:已结束
  2525. type: integer
  2526. contracttype:
  2527. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2528. type: integer
  2529. customeraccountid:
  2530. description: 客户资金账户ID
  2531. type: integer
  2532. customeruserid:
  2533. description: 客户ID
  2534. type: integer
  2535. deliverygoodsdesc:
  2536. description: 品种说明
  2537. type: string
  2538. deliverygoodsid:
  2539. description: 现货品种ID
  2540. type: integer
  2541. handlestatus:
  2542. description: 处理状态
  2543. type: integer
  2544. invoiceatt:
  2545. description: 发票附件
  2546. type: string
  2547. invoicedatetime:
  2548. description: 开收票更新时间
  2549. type: string
  2550. invoiceopentime:
  2551. description: 开票时间
  2552. type: string
  2553. invoiceremark:
  2554. description: 发票备注
  2555. type: string
  2556. invoicestatus:
  2557. description: 开收票状态 - 0:未开票 1:已开票
  2558. type: integer
  2559. lastdate:
  2560. description: 交货时间
  2561. type: string
  2562. marketid:
  2563. description: 市场ID
  2564. type: integer
  2565. paydatetime:
  2566. description: 收付款更新时间
  2567. type: string
  2568. payremark:
  2569. description: 收付款备注
  2570. type: string
  2571. paystatus:
  2572. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2573. type: integer
  2574. positionqty:
  2575. description: 头寸数量 - 合同数量去小数部分
  2576. type: integer
  2577. producttype:
  2578. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2579. type: integer
  2580. relatedqty:
  2581. description: 已关联数量
  2582. type: number
  2583. relatedstatus:
  2584. description: 关联完结状态 - 0:未结束 1:已结束
  2585. type: integer
  2586. remark:
  2587. description: 备注
  2588. type: string
  2589. signdate:
  2590. description: 签订日期
  2591. type: string
  2592. spotcontractid:
  2593. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2594. type: string
  2595. spotdatetime:
  2596. description: 收发货更新时间
  2597. type: string
  2598. spotprice:
  2599. description: 价格
  2600. type: number
  2601. spotremark:
  2602. description: 收发货备注
  2603. type: string
  2604. spotstatus:
  2605. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2606. type: integer
  2607. tradedate:
  2608. description: 交易日(yyyyMMdd)
  2609. type: string
  2610. userid:
  2611. description: 业务员用户ID
  2612. type: integer
  2613. warehouseid:
  2614. description: 仓库ID
  2615. type: integer
  2616. wrfactortypeid:
  2617. description: 仓单要素类型ID
  2618. type: integer
  2619. wrstandardid:
  2620. description: 仓单标准ID(SEQ_WRSTANDARD)
  2621. type: integer
  2622. required:
  2623. - spotcontractid
  2624. type: object
  2625. erms3.AddErms2ASApplyReq:
  2626. properties:
  2627. applybasis:
  2628. description: 申请基差
  2629. type: number
  2630. applystatus:
  2631. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2632. type: integer
  2633. asapplyid:
  2634. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2635. type: integer
  2636. asname:
  2637. description: 策略名称
  2638. type: string
  2639. asno:
  2640. description: 策略编号
  2641. type: string
  2642. auditid:
  2643. description: 审核人
  2644. type: integer
  2645. auditremark:
  2646. description: 审核备注
  2647. type: string
  2648. audittime:
  2649. description: 审核时间
  2650. type: string
  2651. biztype:
  2652. description: 业务类型 - 1:正向套利 2:反向套利
  2653. type: integer
  2654. createtime:
  2655. description: 创建时间
  2656. type: string
  2657. creatorid:
  2658. description: 创建人
  2659. type: integer
  2660. deliverygoodsid:
  2661. description: 现货品种ID
  2662. type: integer
  2663. futurequote:
  2664. description: 期货额度
  2665. type: number
  2666. goodsgroupid:
  2667. description: 期货品种ID
  2668. type: integer
  2669. marketid:
  2670. description: 市场ID
  2671. type: integer
  2672. remark:
  2673. description: 备注
  2674. type: string
  2675. spotquota:
  2676. description: 现货额度
  2677. type: number
  2678. tradedate:
  2679. description: 交易日(yyyyMMdd)
  2680. type: string
  2681. userid:
  2682. description: 所属机构
  2683. type: integer
  2684. required:
  2685. - asapplyid
  2686. type: object
  2687. erms3.AddErms2SpotTradeApplyReq:
  2688. properties:
  2689. applyjsondetail:
  2690. description: 申请明细(JSON)
  2691. type: string
  2692. applystatus:
  2693. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2694. type: integer
  2695. areauserid:
  2696. description: 所属机构
  2697. type: integer
  2698. auditid:
  2699. description: 审核人
  2700. type: integer
  2701. auditremark:
  2702. description: 审核备注
  2703. type: string
  2704. audittime:
  2705. description: 审核时间
  2706. type: string
  2707. createtime:
  2708. description: 创建时间
  2709. type: string
  2710. creatorid:
  2711. description: 创建人
  2712. type: integer
  2713. deliverygoodsid:
  2714. description: 现货品种ID
  2715. type: integer
  2716. futureaccountid:
  2717. description: 期货资金账户
  2718. type: integer
  2719. goodsgroupid:
  2720. description: 期货品种
  2721. type: integer
  2722. marketid:
  2723. description: 市场ID
  2724. type: integer
  2725. remark:
  2726. description: 备注
  2727. type: string
  2728. spotaccountid:
  2729. description: 现货资金账户
  2730. type: integer
  2731. spottradeid:
  2732. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2733. type: integer
  2734. spottradename:
  2735. description: 业务名称
  2736. type: string
  2737. spottradeno:
  2738. description: 业务编号
  2739. type: string
  2740. tradedate:
  2741. description: 交易日(yyyyMMdd)
  2742. type: string
  2743. wrstandardid:
  2744. description: 仓单标准ID
  2745. type: integer
  2746. required:
  2747. - spottradeid
  2748. type: object
  2749. erms3.AddSpotContractApplyReq:
  2750. properties:
  2751. accountid:
  2752. description: 资金账户ID
  2753. type: integer
  2754. areauserid:
  2755. description: 所属机构
  2756. type: integer
  2757. contractattachment:
  2758. description: 合同附件
  2759. type: string
  2760. contractno:
  2761. description: 现货合同编号
  2762. type: string
  2763. contracttype:
  2764. description: 现货合同类型 - 1:采购 -1:销售
  2765. type: integer
  2766. creatorid:
  2767. description: 申请人
  2768. type: integer
  2769. customeraccountid:
  2770. description: 客户资金账户ID
  2771. type: integer
  2772. customeruserid:
  2773. description: 客户ID
  2774. type: integer
  2775. details:
  2776. description: 明细
  2777. items:
  2778. $ref: '#/definitions/erms3.SoptContractDetail'
  2779. type: array
  2780. orimargin:
  2781. description: 初始保证金
  2782. type: number
  2783. remark:
  2784. description: 备注
  2785. type: string
  2786. signdate:
  2787. description: 签订日期
  2788. type: string
  2789. required:
  2790. - accountid
  2791. - areauserid
  2792. - contractno
  2793. - contracttype
  2794. - customeraccountid
  2795. - customeruserid
  2796. - details
  2797. - orimargin
  2798. - signdate
  2799. type: object
  2800. erms3.AddSpotContractApplyRsp:
  2801. properties:
  2802. contractno:
  2803. description: 现货合同编号
  2804. type: string
  2805. spotcontractid:
  2806. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2807. type: integer
  2808. required:
  2809. - contractno
  2810. type: object
  2811. erms3.AddUserInfoApplyReq:
  2812. properties:
  2813. accountid:
  2814. description: 交易系统帐号Id (加密存储)
  2815. type: integer
  2816. areacode:
  2817. description: 机构代码
  2818. type: string
  2819. areaid:
  2820. description: 机构Id
  2821. type: integer
  2822. attachment1:
  2823. description: 附件1
  2824. type: string
  2825. attachment2:
  2826. description: 附件2
  2827. type: string
  2828. attachment3:
  2829. description: 附件3
  2830. type: string
  2831. attachment4:
  2832. description: 附件4
  2833. type: string
  2834. attachment5:
  2835. description: 附件5
  2836. type: string
  2837. auditedby:
  2838. description: 审核人
  2839. type: string
  2840. auditime:
  2841. description: 审核时间
  2842. type: string
  2843. auditsrc:
  2844. description: 审核来源 - 1:管理端 2:终端
  2845. type: integer
  2846. bankaccount:
  2847. description: 银行帐号 (加密存储)
  2848. type: string
  2849. bankaccountname:
  2850. description: 收款人名称
  2851. type: string
  2852. bankcardbackphotourl:
  2853. description: 银行卡背面照地址
  2854. type: string
  2855. bankcardfrontphotourl:
  2856. description: 银行卡正面照地址
  2857. type: string
  2858. bankid:
  2859. description: 银行编码
  2860. type: string
  2861. bankname:
  2862. description: 银行名称
  2863. type: string
  2864. bankpictureurl:
  2865. description: 银行卡正面地址
  2866. type: string
  2867. biznature:
  2868. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2869. type: integer
  2870. bizscope:
  2871. description: 企业经营范围(企业)
  2872. type: string
  2873. biztype:
  2874. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2875. type: integer
  2876. brokerid:
  2877. description: 经纪人ID(加密存储)
  2878. type: string
  2879. cardaddress:
  2880. description: 证件地址 (加密存储)
  2881. type: string
  2882. cardbackphotourl:
  2883. description: 背面证件照地址
  2884. type: string
  2885. cardfrontphotourl:
  2886. description: 正面证件照地址
  2887. type: string
  2888. cardnum:
  2889. description: 证件号码 (加密存储)
  2890. type: string
  2891. cardtype:
  2892. description: 证件类型
  2893. type: integer
  2894. cityid:
  2895. description: 市
  2896. type: integer
  2897. company:
  2898. description: 公司(个人)
  2899. type: string
  2900. contactcardbackphotourl:
  2901. description: 联系人证件背面图片地址
  2902. type: string
  2903. contactcardfrontphotourl:
  2904. description: 联系人证件正面图片地址
  2905. type: string
  2906. contactname:
  2907. description: 联系人
  2908. type: string
  2909. countryid:
  2910. description: 国家
  2911. type: integer
  2912. createtime:
  2913. description: 开户申请时间
  2914. type: string
  2915. cusbankid:
  2916. description: 签约类型
  2917. type: string
  2918. cusbankname:
  2919. description: 签约类型名称
  2920. type: string
  2921. customername:
  2922. description: 客户名称(企业名称)
  2923. type: string
  2924. districtid:
  2925. description: 地区
  2926. type: integer
  2927. email:
  2928. description: Email地址(加密存储)
  2929. type: string
  2930. halfbodyphotourl:
  2931. description: 半身照地址
  2932. type: string
  2933. headurl:
  2934. description: 头像地址
  2935. type: string
  2936. ipaddress:
  2937. description: IP地址
  2938. type: string
  2939. isvalidate:
  2940. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2941. type: string
  2942. legalcardbackphotourl:
  2943. description: 法人身份证背面照地址
  2944. type: string
  2945. legalcardfrontphotourl:
  2946. description: 法人身份证正面照地址
  2947. type: string
  2948. legalpersonname:
  2949. description: 法人姓名(企业)
  2950. type: string
  2951. logincode:
  2952. description: 登录帐号 (加密存储)
  2953. type: string
  2954. memberareaid:
  2955. description: 所属会员ID
  2956. type: integer
  2957. mobile2:
  2958. description: 手机号码[明文-尚志]
  2959. type: string
  2960. mobilephone:
  2961. description: 手机号码 (加密存储)
  2962. type: string
  2963. modifiedby:
  2964. description: 修改人帐号
  2965. type: integer
  2966. modifiedtime:
  2967. description: 修改时间
  2968. type: string
  2969. nickname:
  2970. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2971. type: string
  2972. openmode:
  2973. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2974. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2975. type: integer
  2976. otherurl:
  2977. description: 其它图片地址[使用分号分隔]
  2978. type: string
  2979. postalcode:
  2980. description: 邮政编码
  2981. type: string
  2982. provinceid:
  2983. description: 省
  2984. type: integer
  2985. proxystatementurl:
  2986. description: 授权委托书
  2987. type: string
  2988. qq:
  2989. description: QQ(加密存储
  2990. type: string
  2991. referral:
  2992. description: 推荐人编码
  2993. type: string
  2994. remark:
  2995. description: 备注
  2996. type: string
  2997. removebeforestatus:
  2998. description: REMOVEBEFORESTATUS
  2999. type: integer
  3000. sex:
  3001. description: 性别 - 0:女 1:男
  3002. type: integer
  3003. signedstatus:
  3004. description: 账户一号签签约状态
  3005. type: integer
  3006. signpdfurl:
  3007. description: 签约pdf文件
  3008. type: string
  3009. subbranch:
  3010. description: 开户支行
  3011. type: string
  3012. taxpayernum:
  3013. description: 纳税人识别号
  3014. type: string
  3015. telphone:
  3016. description: 联系电话(加密存储)
  3017. type: string
  3018. userid:
  3019. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3020. type: integer
  3021. userinfotype:
  3022. description: 用户信息类型 - 1:个人 2:企业
  3023. type: integer
  3024. username:
  3025. description: 用户姓名
  3026. type: string
  3027. userstate:
  3028. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3029. type: integer
  3030. usertype:
  3031. description: 用户类型 - 1:投资者 2:机构
  3032. type: integer
  3033. videourl:
  3034. description: 视频地址
  3035. type: string
  3036. wechat:
  3037. description: 微信号 (加密存储)
  3038. type: string
  3039. required:
  3040. - userid
  3041. type: object
  3042. erms3.CustomerInfo:
  3043. properties:
  3044. accountids:
  3045. description: 资金账户ID列表
  3046. items:
  3047. type: integer
  3048. type: array
  3049. customername:
  3050. description: 名称(企业名称)
  3051. type: string
  3052. mobile:
  3053. description: 手机号码
  3054. type: string
  3055. userid:
  3056. description: 用户ID
  3057. type: integer
  3058. required:
  3059. - userid
  3060. type: object
  3061. erms3.ModifyUserInfoApplyReq:
  3062. properties:
  3063. accountid:
  3064. description: 交易系统帐号Id (加密存储)
  3065. type: integer
  3066. areacode:
  3067. description: 机构代码
  3068. type: string
  3069. areaid:
  3070. description: 机构Id
  3071. type: integer
  3072. attachment1:
  3073. description: 附件1
  3074. type: string
  3075. attachment2:
  3076. description: 附件2
  3077. type: string
  3078. attachment3:
  3079. description: 附件3
  3080. type: string
  3081. attachment4:
  3082. description: 附件4
  3083. type: string
  3084. attachment5:
  3085. description: 附件5
  3086. type: string
  3087. auditedby:
  3088. description: 审核人
  3089. type: string
  3090. auditime:
  3091. description: 审核时间
  3092. type: string
  3093. auditsrc:
  3094. description: 审核来源 - 1:管理端 2:终端
  3095. type: integer
  3096. bankaccount:
  3097. description: 银行帐号 (加密存储)
  3098. type: string
  3099. bankaccountname:
  3100. description: 收款人名称
  3101. type: string
  3102. bankcardbackphotourl:
  3103. description: 银行卡背面照地址
  3104. type: string
  3105. bankcardfrontphotourl:
  3106. description: 银行卡正面照地址
  3107. type: string
  3108. bankid:
  3109. description: 银行编码
  3110. type: string
  3111. bankname:
  3112. description: 银行名称
  3113. type: string
  3114. bankpictureurl:
  3115. description: 银行卡正面地址
  3116. type: string
  3117. biznature:
  3118. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3119. type: integer
  3120. bizscope:
  3121. description: 企业经营范围(企业)
  3122. type: string
  3123. biztype:
  3124. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3125. type: integer
  3126. brokerid:
  3127. description: 经纪人ID(加密存储)
  3128. type: string
  3129. cardaddress:
  3130. description: 证件地址 (加密存储)
  3131. type: string
  3132. cardbackphotourl:
  3133. description: 背面证件照地址
  3134. type: string
  3135. cardfrontphotourl:
  3136. description: 正面证件照地址
  3137. type: string
  3138. cardnum:
  3139. description: 证件号码 (加密存储)
  3140. type: string
  3141. cardtype:
  3142. description: 证件类型
  3143. type: integer
  3144. cityid:
  3145. description: 市
  3146. type: integer
  3147. company:
  3148. description: 公司(个人)
  3149. type: string
  3150. contactcardbackphotourl:
  3151. description: 联系人证件背面图片地址
  3152. type: string
  3153. contactcardfrontphotourl:
  3154. description: 联系人证件正面图片地址
  3155. type: string
  3156. contactname:
  3157. description: 联系人
  3158. type: string
  3159. countryid:
  3160. description: 国家
  3161. type: integer
  3162. createtime:
  3163. description: 开户申请时间
  3164. type: string
  3165. cusbankid:
  3166. description: 签约类型
  3167. type: string
  3168. cusbankname:
  3169. description: 签约类型名称
  3170. type: string
  3171. customername:
  3172. description: 客户名称(企业名称)
  3173. type: string
  3174. districtid:
  3175. description: 地区
  3176. type: integer
  3177. email:
  3178. description: Email地址(加密存储)
  3179. type: string
  3180. halfbodyphotourl:
  3181. description: 半身照地址
  3182. type: string
  3183. headurl:
  3184. description: 头像地址
  3185. type: string
  3186. ipaddress:
  3187. description: IP地址
  3188. type: string
  3189. isvalidate:
  3190. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3191. type: string
  3192. legalcardbackphotourl:
  3193. description: 法人身份证背面照地址
  3194. type: string
  3195. legalcardfrontphotourl:
  3196. description: 法人身份证正面照地址
  3197. type: string
  3198. legalpersonname:
  3199. description: 法人姓名(企业)
  3200. type: string
  3201. logincode:
  3202. description: 登录帐号 (加密存储)
  3203. type: string
  3204. memberareaid:
  3205. description: 所属会员ID
  3206. type: integer
  3207. mobile2:
  3208. description: 手机号码[明文-尚志]
  3209. type: string
  3210. mobilephone:
  3211. description: 手机号码 (加密存储)
  3212. type: string
  3213. modifiedby:
  3214. description: 修改人帐号
  3215. type: integer
  3216. modifiedtime:
  3217. description: 修改时间
  3218. type: string
  3219. nickname:
  3220. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3221. type: string
  3222. openmode:
  3223. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3224. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3225. type: integer
  3226. otherurl:
  3227. description: 其它图片地址[使用分号分隔]
  3228. type: string
  3229. postalcode:
  3230. description: 邮政编码
  3231. type: string
  3232. provinceid:
  3233. description: 省
  3234. type: integer
  3235. proxystatementurl:
  3236. description: 授权委托书
  3237. type: string
  3238. qq:
  3239. description: QQ(加密存储
  3240. type: string
  3241. referral:
  3242. description: 推荐人编码
  3243. type: string
  3244. remark:
  3245. description: 备注
  3246. type: string
  3247. removebeforestatus:
  3248. description: REMOVEBEFORESTATUS
  3249. type: integer
  3250. sex:
  3251. description: 性别 - 0:女 1:男
  3252. type: integer
  3253. signedstatus:
  3254. description: 账户一号签签约状态
  3255. type: integer
  3256. signpdfurl:
  3257. description: 签约pdf文件
  3258. type: string
  3259. subbranch:
  3260. description: 开户支行
  3261. type: string
  3262. taxpayernum:
  3263. description: 纳税人识别号
  3264. type: string
  3265. telphone:
  3266. description: 联系电话(加密存储)
  3267. type: string
  3268. userid:
  3269. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3270. type: integer
  3271. userinfotype:
  3272. description: 用户信息类型 - 1:个人 2:企业
  3273. type: integer
  3274. username:
  3275. description: 用户姓名
  3276. type: string
  3277. userstate:
  3278. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3279. type: integer
  3280. usertype:
  3281. description: 用户类型 - 1:投资者 2:机构
  3282. type: integer
  3283. videourl:
  3284. description: 视频地址
  3285. type: string
  3286. wechat:
  3287. description: 微信号 (加密存储)
  3288. type: string
  3289. required:
  3290. - userid
  3291. type: object
  3292. erms3.QryAuditContractRsp:
  3293. properties:
  3294. accountid:
  3295. description: 交易员ID
  3296. type: string
  3297. applystatus:
  3298. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3299. type: integer
  3300. curdeliveryqty:
  3301. description: 未交收量
  3302. type: integer
  3303. customername:
  3304. description: 采购方ID
  3305. type: string
  3306. deliverygoodsid:
  3307. description: 品种ID
  3308. type: string
  3309. deliveryqty:
  3310. description: 交收量
  3311. type: integer
  3312. enumdicname:
  3313. description: 单位名称
  3314. type: string
  3315. matchaccountid:
  3316. description: 业务员ID
  3317. type: string
  3318. matchcustomername:
  3319. description: 销售方ID
  3320. type: string
  3321. pricedqty:
  3322. description: 定价量
  3323. type: number
  3324. signdate:
  3325. description: 签订日期
  3326. type: string
  3327. spotcontractid:
  3328. description: 合同ID
  3329. type: string
  3330. totaldqty:
  3331. description: 合同量
  3332. type: number
  3333. unpricedqty:
  3334. description: 未定价量
  3335. type: number
  3336. wrstandardname:
  3337. description: 商品名称
  3338. type: string
  3339. required:
  3340. - matchcustomername
  3341. - spotcontractid
  3342. type: object
  3343. erms3.QryPendingBizRsp:
  3344. properties:
  3345. accountid:
  3346. description: 现货账户
  3347. type: string
  3348. areaname:
  3349. description: 所属部门
  3350. type: string
  3351. bizid:
  3352. description: 业务ID
  3353. type: string
  3354. bizname:
  3355. description: 业务名称
  3356. type: string
  3357. status:
  3358. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3359. type: integer
  3360. type:
  3361. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3362. type: integer
  3363. type: object
  3364. erms3.QueryBusinessInfoRsp:
  3365. properties:
  3366. businessid:
  3367. description: 业务ID.
  3368. type: integer
  3369. buyamount:
  3370. description: 采购额.
  3371. type: number
  3372. buyqty:
  3373. description: 采购量.
  3374. type: string
  3375. futurepl:
  3376. description: 期货盈亏.
  3377. type: number
  3378. futureqty:
  3379. description: 期货敞口.
  3380. type: string
  3381. goodsid:
  3382. description: 商品名称/商品代码.
  3383. type: string
  3384. hedgingqty:
  3385. description: 套保量.
  3386. type: string
  3387. sellamount:
  3388. description: 销售额.
  3389. type: number
  3390. sellqty:
  3391. description: 销售量.
  3392. type: string
  3393. spotmarketvalue:
  3394. description: 现货市值.
  3395. type: number
  3396. spotpl:
  3397. description: 浮动权益.
  3398. type: number
  3399. spotqty:
  3400. description: 现货量.
  3401. type: string
  3402. statu:
  3403. description: 状态,0-未结束 1-已结束.
  3404. type: integer
  3405. totalpl:
  3406. description: 总盈亏.
  3407. type: number
  3408. totalqty:
  3409. description: 总敞口.
  3410. type: string
  3411. type:
  3412. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3413. type: integer
  3414. type: object
  3415. erms3.QuerySpotContractAppleFormRsp:
  3416. properties:
  3417. goodses:
  3418. description: 合约列表
  3419. items:
  3420. $ref: '#/definitions/models.GoodsIDAndName'
  3421. type: array
  3422. oppositeusers:
  3423. description: 对方账号列表
  3424. items:
  3425. $ref: '#/definitions/erms3.CustomerInfo'
  3426. type: array
  3427. ouruser:
  3428. $ref: '#/definitions/erms3.CustomerInfo'
  3429. description: 我方账号
  3430. warehouseinfos:
  3431. description: 仓库信息列表
  3432. items:
  3433. $ref: '#/definitions/models.Warehouseinfo'
  3434. type: array
  3435. wrstandards:
  3436. description: 仓单标准列表
  3437. items:
  3438. $ref: '#/definitions/models.WRStandardInfo'
  3439. type: array
  3440. type: object
  3441. erms3.QuerySpotContractInfoRsp:
  3442. properties:
  3443. accountid:
  3444. description: 表示交易员ID.
  3445. type: integer
  3446. curdeliveryqty:
  3447. description: 表示未交收量.
  3448. type: number
  3449. customername:
  3450. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3451. type: string
  3452. deliverygoodsid:
  3453. description: 表示品种ID.
  3454. type: string
  3455. deliveryqty:
  3456. description: 表示交收量.
  3457. type: number
  3458. matchaccountid:
  3459. description: 表示业务员ID.
  3460. type: integer
  3461. matchcustomername:
  3462. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3463. type: string
  3464. priceqty:
  3465. description: 表示定价量.
  3466. type: number
  3467. relatedbizid:
  3468. description: 表示业务ID.
  3469. type: string
  3470. signdate:
  3471. description: 表示签订日期.
  3472. type: string
  3473. spotcontractid:
  3474. description: 合同ID
  3475. type: string
  3476. status:
  3477. description: 表示状态,0-履约中 1-已完成.
  3478. type: integer
  3479. totalqty:
  3480. description: 表示合同量.
  3481. type: number
  3482. unpricedqty:
  3483. description: 表示未定价量.
  3484. type: number
  3485. wrstandardname:
  3486. description: 表示商品ID.
  3487. type: string
  3488. type: object
  3489. erms3.QueryUserInfoAppliesRsp:
  3490. properties:
  3491. biznature:
  3492. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3493. type: integer
  3494. contactname:
  3495. description: 联系人
  3496. type: string
  3497. createtime:
  3498. description: 开户申请时间
  3499. type: string
  3500. userid:
  3501. description: 用户ID(自增ID)
  3502. type: integer
  3503. userinfotype:
  3504. description: 用户信息类型 - 1:个人 2:企业
  3505. type: integer
  3506. username:
  3507. description: 用户姓名
  3508. type: string
  3509. userstate:
  3510. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3511. type: integer
  3512. required:
  3513. - userid
  3514. type: object
  3515. erms3.QueryUserInfosRsp:
  3516. properties:
  3517. biznature:
  3518. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3519. type: integer
  3520. contactname:
  3521. description: 联系人
  3522. type: string
  3523. customername:
  3524. description: 客户名称(企业名称)
  3525. type: string
  3526. userid:
  3527. description: 用户ID
  3528. type: integer
  3529. userinfotype:
  3530. description: 用户信息类型 - 1:个人 2:企业
  3531. type: integer
  3532. userstatus:
  3533. description: 用户状态 - 1:正常 2:注销
  3534. type: integer
  3535. required:
  3536. - userid
  3537. type: object
  3538. erms3.SoptContractDetail:
  3539. properties:
  3540. deliverygoodsdesc:
  3541. description: 现货品种说明
  3542. type: string
  3543. deliverygoodsid:
  3544. description: 现货品种ID
  3545. type: integer
  3546. deliverygoodsname:
  3547. description: 现货品种名称
  3548. type: string
  3549. pointdesc:
  3550. description: 点价描述
  3551. type: string
  3552. producttype:
  3553. description: 产品类型 1:标准仓单 2:等标 3:非标
  3554. type: integer
  3555. producttypename:
  3556. description: 产品类型名称
  3557. type: string
  3558. spotPointOrderVoList:
  3559. description: 点价列表
  3560. items:
  3561. $ref: '#/definitions/erms3.SpotPointOrder'
  3562. type: array
  3563. spotPriceOrderList:
  3564. description: 定价列表
  3565. items:
  3566. $ref: '#/definitions/erms3.SpotPriceOrder'
  3567. type: array
  3568. unitname:
  3569. description: 单位名称
  3570. type: string
  3571. warehouseid:
  3572. description: 仓库ID
  3573. type: integer
  3574. warehousename:
  3575. description: 仓库名称
  3576. type: string
  3577. wrstandardid:
  3578. description: 交易标的ID
  3579. type: integer
  3580. wrstandardname:
  3581. description: 交易标的名称
  3582. type: string
  3583. required:
  3584. - deliverygoodsid
  3585. - producttype
  3586. - unitname
  3587. - warehouseid
  3588. - wrstandardid
  3589. - wrstandardname
  3590. type: object
  3591. erms3.SpotPointOrder:
  3592. properties:
  3593. basic:
  3594. description: 基差
  3595. type: number
  3596. deliveryenddate:
  3597. description: 交收结束日期
  3598. type: string
  3599. deliverystartdate:
  3600. description: 交收开始日期
  3601. type: string
  3602. enddate:
  3603. description: 点价结束日期
  3604. type: string
  3605. goodsid:
  3606. description: 商品ID
  3607. type: integer
  3608. goodsname:
  3609. description: 商品名称
  3610. type: string
  3611. qty:
  3612. description: 数量
  3613. type: number
  3614. startdate:
  3615. description: 点价开始日期
  3616. type: string
  3617. required:
  3618. - basic
  3619. - goodsid
  3620. - qty
  3621. type: object
  3622. erms3.SpotPriceOrder:
  3623. properties:
  3624. amount:
  3625. description: 金额
  3626. type: number
  3627. deliveryenddate:
  3628. description: 交收结束日期
  3629. type: string
  3630. deliverystartdate:
  3631. description: 交收开始日期
  3632. type: string
  3633. price:
  3634. description: 价格
  3635. type: number
  3636. qty:
  3637. description: 数量
  3638. type: number
  3639. required:
  3640. - amount
  3641. - price
  3642. - qty
  3643. type: object
  3644. hsby.GetHsbyMyCountRsp:
  3645. properties:
  3646. myCouponCount:
  3647. description: 我的优惠卷数量
  3648. type: integer
  3649. myOrderDetailListingCount:
  3650. description: 我的订单求购中数量
  3651. type: integer
  3652. myOrderDetailPreCount:
  3653. description: 我的订单抢购中数量
  3654. type: integer
  3655. myPackageUnReceiveCount:
  3656. description: 我的包裹待收货数量
  3657. type: integer
  3658. myPackageUnSendCount:
  3659. description: 我的包裹待发货数量
  3660. type: integer
  3661. myPayOrderCount:
  3662. description: 我的订单待付款数量
  3663. type: integer
  3664. type: object
  3665. hsby.QueryProvincesAndCitiesRsp:
  3666. properties:
  3667. cities:
  3668. description: 市
  3669. items:
  3670. $ref: '#/definitions/models.Division'
  3671. type: array
  3672. province:
  3673. $ref: '#/definitions/models.Division'
  3674. description: 省
  3675. type: object
  3676. models.Arearole:
  3677. properties:
  3678. createtime:
  3679. description: 创建时间
  3680. type: string
  3681. creatorid:
  3682. description: 创建人ID
  3683. type: integer
  3684. isreturnscore:
  3685. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3686. type: integer
  3687. modifierid:
  3688. description: 修改人ID
  3689. type: integer
  3690. modifytime:
  3691. description: 修改时间
  3692. type: string
  3693. orgtype:
  3694. description: 组织机构类型 1:机构 2:交易员
  3695. type: integer
  3696. outuserid:
  3697. description: 外部账户[场外期权做市商]
  3698. type: string
  3699. parentuserid:
  3700. description: 上级组织机构(组织机构)
  3701. type: integer
  3702. roletype:
  3703. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3704. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3705. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员
  3706. type: integer
  3707. rootuserid:
  3708. description: 顶级组织机构用户ID(组织机构)
  3709. type: integer
  3710. shoppassword:
  3711. description: 商城店铺登陆密码(商城店铺角色使用)
  3712. type: string
  3713. sublevelpath:
  3714. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3715. type: string
  3716. tradeaccountid:
  3717. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3718. type: integer
  3719. transurl:
  3720. description: 物流地址(物流机构)
  3721. type: string
  3722. userid:
  3723. description: 机构用户ID其他做市关系,都设置为 1
  3724. type: integer
  3725. required:
  3726. - roletype
  3727. - userid
  3728. type: object
  3729. models.Clientfixedadconfig:
  3730. properties:
  3731. adsort:
  3732. description: 排序
  3733. type: integer
  3734. adtype:
  3735. description: 广告位类型 - 1:新品抢购(HSBY)
  3736. type: integer
  3737. areauserid:
  3738. description: 所属机构ID
  3739. type: integer
  3740. createdate:
  3741. description: 创建时间
  3742. type: string
  3743. creatorid:
  3744. description: 创建人
  3745. type: integer
  3746. imagepath:
  3747. description: 图片
  3748. type: string
  3749. isshow:
  3750. description: 是否展示 - 0:不展示 1:展示
  3751. type: integer
  3752. modifierid:
  3753. description: 操作人
  3754. type: integer
  3755. recsize:
  3756. description: 推荐尺寸
  3757. type: string
  3758. title:
  3759. description: 标题
  3760. type: string
  3761. updatedate:
  3762. description: 更新时间
  3763. type: string
  3764. urlcontent:
  3765. description: 链接(地址或商品ID)
  3766. type: string
  3767. urltype:
  3768. description: 链接类型 - 1:直接地址 2:商品ID
  3769. type: integer
  3770. required:
  3771. - adsort
  3772. - adtype
  3773. type: object
  3774. models.Division:
  3775. properties:
  3776. autoid:
  3777. description: 自增ID
  3778. type: integer
  3779. divisioncode:
  3780. description: 行政代码
  3781. type: string
  3782. divisionlevel:
  3783. description: 行政级别
  3784. type: string
  3785. divisionname:
  3786. description: 行政名称
  3787. type: string
  3788. modifierid:
  3789. description: 修改人
  3790. type: integer
  3791. modifytime:
  3792. description: 修改时间
  3793. type: string
  3794. parentcode:
  3795. description: 上级行政代码
  3796. type: string
  3797. pathname:
  3798. description: 路径名称
  3799. type: string
  3800. postcode:
  3801. description: 邮政编码
  3802. type: string
  3803. separablename:
  3804. description: 可拆分的全称
  3805. type: string
  3806. shortcode:
  3807. description: 地区简码
  3808. type: string
  3809. required:
  3810. - autoid
  3811. - divisioncode
  3812. type: object
  3813. models.Enumdicitem:
  3814. properties:
  3815. autoid:
  3816. description: 自增ID
  3817. type: integer
  3818. bankmappedvalue:
  3819. description: 银行服务对应值
  3820. type: string
  3821. enumdiccode:
  3822. description: 所属枚举代码
  3823. type: string
  3824. enumdicid:
  3825. description: 所属枚举ID
  3826. type: integer
  3827. enumdicname:
  3828. description: 枚举项名称
  3829. type: string
  3830. enumitemname:
  3831. description: 枚举项值
  3832. type: integer
  3833. enumitemstatus:
  3834. description: 枚举项状态 - 1.启用 2.不启用
  3835. type: integer
  3836. enumitemvalue:
  3837. description: 通用值 - [币种通用简写]
  3838. type: string
  3839. param1:
  3840. description: 参数1[币种:币种小数位]
  3841. type: string
  3842. param2:
  3843. description: 参数1[币种:币种显示单位]
  3844. type: string
  3845. remark:
  3846. description: 备注
  3847. type: string
  3848. required:
  3849. - autoid
  3850. - enumdiccode
  3851. - enumdicid
  3852. - enumitemname
  3853. type: object
  3854. models.Ermcp3AreaSpot:
  3855. properties:
  3856. areauserid:
  3857. description: 所属机构
  3858. type: integer
  3859. decreaseqty:
  3860. description: 减少数量=-(销售已定价数量+采购计划数量)
  3861. type: number
  3862. deliverygoodscode:
  3863. description: 现货品种代码
  3864. type: string
  3865. deliverygoodsid:
  3866. description: 现货品种id
  3867. type: integer
  3868. deliverygoodsname:
  3869. description: 现货品种名称
  3870. type: string
  3871. enumdicname:
  3872. description: 单位名称
  3873. type: string
  3874. goodsunitid:
  3875. description: 现货品种单位id
  3876. type: integer
  3877. increaseqty:
  3878. description: 增加数量=销售计划数量+采购已定价数量
  3879. type: number
  3880. oritoalspotqty:
  3881. description: 昨日数量
  3882. type: number
  3883. totalspotqty:
  3884. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3885. type: number
  3886. updatetime:
  3887. description: 更新时间
  3888. type: string
  3889. type: object
  3890. models.Ermcp3AreaSpotDetail:
  3891. properties:
  3892. contracttype:
  3893. description: 合同类型 1-采购 -1-销售
  3894. type: integer
  3895. createtime:
  3896. description: 创建时间
  3897. type: string
  3898. deliverygoodscode:
  3899. description: 现货品种代码
  3900. type: string
  3901. deliverygoodsid:
  3902. description: 现货品种id
  3903. type: integer
  3904. deliverygoodsname:
  3905. description: 现货品种名称
  3906. type: string
  3907. enumdicname:
  3908. description: 现货商品单位名称
  3909. type: string
  3910. logtype:
  3911. description: 记录类型 1-套保 2-现货合同
  3912. type: integer
  3913. qty:
  3914. description: 数量
  3915. type: number
  3916. recordname:
  3917. description: 类型名称
  3918. type: string
  3919. relatedid:
  3920. description: 套保计划ID/现货合同ID
  3921. type: string
  3922. relatedno:
  3923. description: 编号
  3924. type: string
  3925. strtime:
  3926. description: 时间
  3927. type: string
  3928. type: object
  3929. models.Ermcp3AreaSpotPLReport:
  3930. properties:
  3931. accountid:
  3932. description: 期货账户ID (作废, 默认为0)
  3933. type: integer
  3934. accountname:
  3935. description: 机构名称
  3936. type: string
  3937. actualpl:
  3938. description: 现货损益
  3939. type: number
  3940. areauserid:
  3941. description: 所属机构\交易用户ID
  3942. type: integer
  3943. begindate:
  3944. description: 开始交易日
  3945. type: string
  3946. biztype:
  3947. description: 业务类型 - 1:套保 2:套利
  3948. type: integer
  3949. brandname:
  3950. description: 品牌名称
  3951. type: string
  3952. curamount:
  3953. description: 期末额
  3954. type: number
  3955. curaverageprice:
  3956. description: 期末均价
  3957. type: number
  3958. curbuyamount:
  3959. description: 期末采购总额
  3960. type: number
  3961. curbuyqty:
  3962. description: 期末采购总量
  3963. type: number
  3964. curmarketvalue:
  3965. description: 参考市值(期末市值)
  3966. type: number
  3967. curqty:
  3968. description: 期末量
  3969. type: number
  3970. currencyid:
  3971. description: 结算币种ID【原值】
  3972. type: integer
  3973. currencyname:
  3974. description: 币种名称
  3975. type: string
  3976. cursellamount:
  3977. description: 期末销售总额
  3978. type: number
  3979. cursellqty:
  3980. description: 期末销售总量
  3981. type: number
  3982. curspotprice:
  3983. description: 参考市价(最新价)
  3984. type: number
  3985. cycletime:
  3986. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3987. type: string
  3988. cycletype:
  3989. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3990. type: integer
  3991. deliverygoodscode:
  3992. description: 现货商品代码
  3993. type: string
  3994. deliverygoodsid:
  3995. description: 现货品种ID
  3996. type: integer
  3997. deliverygoodsname:
  3998. description: 现货商品名称
  3999. type: string
  4000. enddate:
  4001. description: 结束交易日
  4002. type: string
  4003. enumdicname:
  4004. description: 现货商品单位名称
  4005. type: string
  4006. floatpl:
  4007. description: 浮动损益
  4008. type: number
  4009. goodsunitid:
  4010. description: 现货商品单位id
  4011. type: integer
  4012. oriamount:
  4013. description: 期初额
  4014. type: number
  4015. oriaverageprice:
  4016. description: 期初均价
  4017. type: number
  4018. oribuyamount:
  4019. description: 期初采购总额
  4020. type: number
  4021. oribuyqty:
  4022. description: 期初采购总量
  4023. type: number
  4024. oriqty:
  4025. description: 期初量
  4026. type: number
  4027. orisellamount:
  4028. description: 期初销售总额
  4029. type: number
  4030. orisellqty:
  4031. description: 期初销售总量
  4032. type: number
  4033. reckondate:
  4034. description: 日照时期(yyyyMMdd)
  4035. type: string
  4036. spotgoodsbrandid:
  4037. description: 现货品牌ID
  4038. type: integer
  4039. todaybuyamount:
  4040. description: 今日采购额(今采购额)
  4041. type: number
  4042. todaybuyaverageprice:
  4043. description: 今日采购均价
  4044. type: number
  4045. todaybuyqty:
  4046. description: 今日采购量(今采购量)
  4047. type: number
  4048. todayinqty:
  4049. description: 今日入库量(今入库量)
  4050. type: number
  4051. todayoutqty:
  4052. description: 今日出库量(今出库量)
  4053. type: number
  4054. todaysellamount:
  4055. description: 今日销售额(今销售额)
  4056. type: number
  4057. todaysellaverageprice:
  4058. description: 今日销售均价
  4059. type: number
  4060. todaysellqty:
  4061. description: 今日销售量(今销售量)
  4062. type: number
  4063. unitid:
  4064. description: 品类单位id
  4065. type: integer
  4066. unitidname:
  4067. description: 品类单位名称
  4068. type: string
  4069. updatetime:
  4070. description: 更新时间
  4071. type: string
  4072. wrfactortypeid:
  4073. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4074. type: integer
  4075. wrstandardcode:
  4076. description: 品类代码
  4077. type: string
  4078. wrstandardid:
  4079. description: 现货品类ID
  4080. type: integer
  4081. wrstandardname:
  4082. description: 品类名称
  4083. type: string
  4084. type: object
  4085. models.Ermcp3AreaStock:
  4086. properties:
  4087. brandname:
  4088. description: 品牌名称
  4089. type: string
  4090. curstock:
  4091. description: 期末库存量(今日量)
  4092. type: number
  4093. deliverygoodscode:
  4094. description: 现货品种代码
  4095. type: string
  4096. deliverygoodsid:
  4097. description: 现货品种id
  4098. type: integer
  4099. deliverygoodsname:
  4100. description: 现货品种名称
  4101. type: string
  4102. enumdicname:
  4103. description: 单位名称
  4104. type: string
  4105. goodsunitid:
  4106. description: 现货商品单位id
  4107. type: integer
  4108. oristock:
  4109. description: 期初库存量(昨日量)
  4110. type: number
  4111. spotgoodsbrandid:
  4112. description: 现货品牌ID
  4113. type: integer
  4114. todaybuyinqty:
  4115. description: 今日采购入库量
  4116. type: number
  4117. todayproduceinqty:
  4118. description: 今日生产入库量
  4119. type: number
  4120. todayproduceoutqty:
  4121. description: 今日生产出库量
  4122. type: number
  4123. todayselloutqty:
  4124. description: 今日销售出库量
  4125. type: number
  4126. unitid:
  4127. description: 单位id
  4128. type: integer
  4129. updatetime:
  4130. description: 更新时间
  4131. type: string
  4132. userid:
  4133. description: 机构ID
  4134. type: integer
  4135. username:
  4136. description: 机构名称
  4137. type: string
  4138. warehousecode:
  4139. description: 仓库代码
  4140. type: string
  4141. warehouseinfoid:
  4142. description: 仓库ID
  4143. type: string
  4144. warehousename:
  4145. description: 仓库名称
  4146. type: string
  4147. warehousetype:
  4148. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4149. type: integer
  4150. wrstandardcode:
  4151. description: 品类代码
  4152. type: string
  4153. wrstandardid:
  4154. description: 品类ID
  4155. type: string
  4156. wrstandardname:
  4157. description: 品类名称
  4158. type: string
  4159. required:
  4160. - userid
  4161. type: object
  4162. models.Ermcp3AreaStockApply:
  4163. properties:
  4164. applyid:
  4165. description: 申请人
  4166. type: integer
  4167. applyname:
  4168. description: 申请人名称
  4169. type: string
  4170. applyremark:
  4171. description: 申请备注
  4172. type: string
  4173. applysrc:
  4174. description: 申请来源 - 1:管理端 2:终端
  4175. type: integer
  4176. applystatus:
  4177. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4178. type: integer
  4179. applytime:
  4180. description: 申请时间
  4181. type: string
  4182. auditid:
  4183. description: 审核人
  4184. type: integer
  4185. auditname:
  4186. description: 审核人名称
  4187. type: string
  4188. auditremark:
  4189. description: 审核备注
  4190. type: string
  4191. auditsrc:
  4192. description: 审核来源 - 1:管理端 2:终端
  4193. type: integer
  4194. audittime:
  4195. description: 审核时间
  4196. type: string
  4197. audittradedate:
  4198. description: 审核交易日(yyyyMMdd)
  4199. type: string
  4200. brandname:
  4201. description: 品牌名称
  4202. type: string
  4203. buynickname:
  4204. description: 采购方昵称
  4205. type: string
  4206. buyuserid:
  4207. description: 采购方userid
  4208. type: integer
  4209. buyusername:
  4210. description: 采购方名称
  4211. type: string
  4212. contractno:
  4213. description: 合同编号
  4214. type: string
  4215. contractqty:
  4216. description: 合同量
  4217. type: number
  4218. contracttype:
  4219. description: 现货合同类型 - 1:采购 -1:销售
  4220. type: integer
  4221. deliverygoodscode:
  4222. description: 现货品种代码
  4223. type: string
  4224. deliverygoodsid:
  4225. description: 现货品种id
  4226. type: integer
  4227. deliverygoodsname:
  4228. description: 现货品种名称
  4229. type: string
  4230. detailjson:
  4231. description: 明细数据
  4232. type: string
  4233. enumdicname:
  4234. description: 现货商品单位名称
  4235. type: string
  4236. inoutapplyid:
  4237. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4238. type: string
  4239. inouttype:
  4240. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4241. type: integer
  4242. pricetype:
  4243. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4244. type: integer
  4245. qty:
  4246. description: 数量
  4247. type: number
  4248. sellnickname:
  4249. description: 销售方昵称
  4250. type: string
  4251. selluserid:
  4252. description: 销售方userid
  4253. type: integer
  4254. sellusername:
  4255. description: 销售方名称
  4256. type: string
  4257. spotcontractid:
  4258. description: 关联现货合同ID
  4259. type: string
  4260. spotgoodsbrandid:
  4261. description: 现货品牌ID
  4262. type: integer
  4263. unitid:
  4264. description: 单位id
  4265. type: integer
  4266. userid:
  4267. description: 机构ID
  4268. type: integer
  4269. warehousecode:
  4270. description: 仓库代码
  4271. type: string
  4272. warehouseinfoid:
  4273. description: 现货仓库ID
  4274. type: string
  4275. warehousename:
  4276. description: 仓库名称
  4277. type: string
  4278. warehousetype:
  4279. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4280. type: integer
  4281. wrstandardcode:
  4282. description: 品类代码
  4283. type: string
  4284. wrstandardid:
  4285. description: 品类ID
  4286. type: integer
  4287. wrstandardname:
  4288. description: 品类名称
  4289. type: string
  4290. type: object
  4291. models.Ermcp3AreaStockApplySum:
  4292. properties:
  4293. brandname:
  4294. description: 品牌名称
  4295. type: string
  4296. inouttype:
  4297. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4298. type: integer
  4299. spotcontractid:
  4300. description: 关联现货合同ID
  4301. type: string
  4302. spotgoodsbrandid:
  4303. description: 品牌id
  4304. type: integer
  4305. totalqty:
  4306. description: 总数量
  4307. type: number
  4308. wrstandardid:
  4309. description: 品类id
  4310. type: integer
  4311. wrstandardname:
  4312. description: 品类名称
  4313. type: string
  4314. type: object
  4315. models.Ermcp3AreaStockReportEx:
  4316. properties:
  4317. begindate:
  4318. description: 开始交易日
  4319. type: string
  4320. brandname:
  4321. description: 品牌名称
  4322. type: string
  4323. curstock:
  4324. description: 期末库存量
  4325. type: number
  4326. cycletime:
  4327. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4328. type: string
  4329. cycletype:
  4330. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4331. type: integer
  4332. deliverygoodscode:
  4333. description: 现货品种代码
  4334. type: string
  4335. deliverygoodsid:
  4336. description: 现货品种id
  4337. type: integer
  4338. deliverygoodsname:
  4339. description: 现货品种名称
  4340. type: string
  4341. diffqty:
  4342. description: 库存变化量 = 期末 - 期初
  4343. type: number
  4344. enddate:
  4345. description: 结束交易日
  4346. type: string
  4347. enumdicname:
  4348. description: 单位名称
  4349. type: string
  4350. goodsunitid:
  4351. description: 现货单位id
  4352. type: integer
  4353. oristock:
  4354. description: 期初库存量
  4355. type: number
  4356. reckondate:
  4357. description: 日照时期(yyyyMMdd)
  4358. type: string
  4359. spotgoodsbrandid:
  4360. description: 现货品牌ID
  4361. type: integer
  4362. todaybuyinqty:
  4363. description: 今采购入库量
  4364. type: number
  4365. todayproduceinqty:
  4366. description: 今内部入库量
  4367. type: number
  4368. todayproduceoutqty:
  4369. description: 今内部出库量
  4370. type: number
  4371. todayselloutqty:
  4372. description: 今销售出库量
  4373. type: number
  4374. unbuyinqty:
  4375. description: 采购未入库量(数据库未找到相关字段?)
  4376. type: number
  4377. unitid:
  4378. description: 品类单位id
  4379. type: integer
  4380. unselloutqty:
  4381. description: 销售未出库量(数据库未找到相关字段?)
  4382. type: number
  4383. updatetime:
  4384. description: 更新时间
  4385. type: string
  4386. userid:
  4387. description: 机构ID
  4388. type: integer
  4389. username:
  4390. description: 机构名称
  4391. type: string
  4392. warehousecode:
  4393. description: 仓库代码
  4394. type: string
  4395. warehouseinfoid:
  4396. description: 仓库ID
  4397. type: string
  4398. warehousename:
  4399. description: 仓库名称
  4400. type: string
  4401. warehousetype:
  4402. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4403. type: integer
  4404. wrstandardcode:
  4405. description: 品类代码
  4406. type: string
  4407. wrstandardid:
  4408. description: 品类ID
  4409. type: integer
  4410. wrstandardname:
  4411. description: 品类名称
  4412. type: string
  4413. type: object
  4414. models.Ermcp3ArealSumPL:
  4415. properties:
  4416. accountname:
  4417. description: 机构名称
  4418. type: string
  4419. areauserid:
  4420. description: 所属机构\交易用户ID
  4421. type: integer
  4422. begindate:
  4423. description: 开始交易日
  4424. type: string
  4425. currencyid:
  4426. description: 结算币种ID
  4427. type: integer
  4428. currencyname:
  4429. description: 币种名称
  4430. type: string
  4431. cycletime:
  4432. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4433. type: string
  4434. cycletype:
  4435. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4436. type: integer
  4437. enddate:
  4438. description: 结束交易日
  4439. type: string
  4440. enumdicname:
  4441. description: 单位名称(套保品种)
  4442. type: string
  4443. futureactualpl:
  4444. description: 期货损益
  4445. type: number
  4446. futurefloatpl:
  4447. description: 期货浮动损益
  4448. type: number
  4449. goodsunitid:
  4450. description: 套保品种单位id
  4451. type: integer
  4452. middlegoodscode:
  4453. description: 套保品种代码
  4454. type: string
  4455. middlegoodsid:
  4456. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4457. type: integer
  4458. middlegoodsname:
  4459. description: 套保品种名称
  4460. type: string
  4461. reckondate:
  4462. description: 日照时期(yyyyMMdd)
  4463. type: string
  4464. spotactualpl:
  4465. description: 现货损益
  4466. type: number
  4467. spotfloatpl:
  4468. description: 现货浮动损益
  4469. type: number
  4470. sumactualpl:
  4471. description: 实际损益 = (ActualPL + FutureActualPL)
  4472. type: number
  4473. sumpl:
  4474. description: 汇总损益
  4475. type: number
  4476. updatetime:
  4477. description: 更新时间
  4478. type: string
  4479. type: object
  4480. models.Ermcp3Brand:
  4481. properties:
  4482. areauserid:
  4483. description: 用户id
  4484. type: integer
  4485. brandid:
  4486. description: 品牌id
  4487. type: integer
  4488. brandname:
  4489. description: 品牌名称
  4490. type: string
  4491. deliverygoodsid:
  4492. description: 品种ID
  4493. type: integer
  4494. type: object
  4495. models.Ermcp3Contract:
  4496. properties:
  4497. accountid:
  4498. description: 期货账户id
  4499. type: string
  4500. amount:
  4501. description: 金额 [1:一口价、3:暂定价]
  4502. type: number
  4503. attachment:
  4504. description: 附件
  4505. type: string
  4506. auditremark:
  4507. description: 审核意见
  4508. type: string
  4509. audittime:
  4510. description: 审核时间
  4511. type: string
  4512. biztype:
  4513. description: 业务类型 1-套保 2-套利
  4514. type: integer
  4515. brandname:
  4516. description: 品牌名称
  4517. type: string
  4518. buynickname:
  4519. description: 销售方昵称
  4520. type: string
  4521. buyuserid:
  4522. description: 采购方ID
  4523. type: integer
  4524. buyusername:
  4525. description: 采购方名称
  4526. type: string
  4527. contracctstatus:
  4528. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4529. type: integer
  4530. contractmargin:
  4531. description: 合同保证金
  4532. type: number
  4533. contractno:
  4534. description: 现货合同编号
  4535. type: string
  4536. contracttype:
  4537. description: 现货合同类型 - 1:采购 -1:销售
  4538. type: integer
  4539. convertfactor:
  4540. description: 标仓系数(品类)
  4541. type: number
  4542. createtime:
  4543. description: 创建时间
  4544. type: string
  4545. currencyid:
  4546. description: 币种id
  4547. type: integer
  4548. currencyname:
  4549. description: 币种名称
  4550. type: string
  4551. deliveryenddate:
  4552. description: 交收期(结束)
  4553. type: string
  4554. deliverygoodscode:
  4555. description: 现货品种代码
  4556. type: string
  4557. deliverygoodsid:
  4558. description: 现货品种ID
  4559. type: integer
  4560. deliverygoodsname:
  4561. description: 现货品种名称
  4562. type: string
  4563. deliverystartdate:
  4564. description: 交收期(开始)
  4565. type: string
  4566. enddate:
  4567. description: 点价结束日期 [2:点价 3:暂定价]
  4568. type: string
  4569. enumdicname:
  4570. description: 单位名称
  4571. type: string
  4572. goodscode:
  4573. description: 点价合约代码
  4574. type: string
  4575. goodsid:
  4576. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4577. type: integer
  4578. goodsname:
  4579. description: 点价商品名称
  4580. type: string
  4581. margin:
  4582. description: 当前保证金
  4583. type: number
  4584. meruserid:
  4585. description: 跟单员id
  4586. type: integer
  4587. meruserlogincode:
  4588. description: 跟单员登录代码
  4589. type: string
  4590. price:
  4591. description: 价格\暂定价 [1:一口价、3:暂定价]
  4592. type: number
  4593. pricemove:
  4594. description: 升贴水 [2:点价 3:暂定价]
  4595. type: number
  4596. pricetype:
  4597. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4598. type: integer
  4599. producttype:
  4600. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4601. type: integer
  4602. qty:
  4603. description: 数量
  4604. type: number
  4605. remark:
  4606. description: 备注
  4607. type: string
  4608. saleuserid:
  4609. description: 业务员id
  4610. type: integer
  4611. saleuserlogincode:
  4612. description: 业务员登录代码
  4613. type: string
  4614. sellnickname:
  4615. description: 采购方昵称
  4616. type: string
  4617. selluserid:
  4618. description: 销售方ID
  4619. type: integer
  4620. sellusername:
  4621. description: 销售方名称
  4622. type: string
  4623. spotcontractid:
  4624. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4625. type: string
  4626. spotgoodsbrandid:
  4627. description: 现货品牌ID(DGFactoryItem表的ID)
  4628. type: integer
  4629. spotgoodsdesc:
  4630. description: 商品型号
  4631. type: string
  4632. startdate:
  4633. description: 点价开始日期 [2:点价 3:暂定价]
  4634. type: string
  4635. tradeuserid:
  4636. description: 交易员id
  4637. type: integer
  4638. tradeuserlogincode:
  4639. description: 交易员登录代码
  4640. type: string
  4641. tradeusername:
  4642. description: 交易员名称
  4643. type: string
  4644. unitid:
  4645. description: 单位id(取品类上的单位id)
  4646. type: integer
  4647. updatetime:
  4648. description: 更新时间
  4649. type: string
  4650. userid:
  4651. description: 所属机构ID
  4652. type: integer
  4653. wrstandardcode:
  4654. description: 品类代码
  4655. type: string
  4656. wrstandardid:
  4657. description: 品类ID
  4658. type: integer
  4659. wrstandardname:
  4660. description: 品类名称
  4661. type: string
  4662. type: object
  4663. models.Ermcp3ExposureContractDetail:
  4664. properties:
  4665. biztype:
  4666. description: 业务类型 1-套保 2-套利
  4667. type: integer
  4668. brandname:
  4669. description: 品牌名称
  4670. type: string
  4671. buyuserid:
  4672. description: 采购方id
  4673. type: integer
  4674. buyusername:
  4675. description: 采购方名称
  4676. type: string
  4677. contractno:
  4678. description: 合同编号
  4679. type: string
  4680. contracttype:
  4681. description: 现货合同类型 - 1:采购 -1:销售
  4682. type: integer
  4683. convertratio:
  4684. description: 折算系数(套保品种)
  4685. type: number
  4686. curqty:
  4687. description: 今定价量
  4688. type: number
  4689. deliverygoodscode:
  4690. description: 现货商品代码
  4691. type: string
  4692. deliverygoodsid:
  4693. description: 现货商品id
  4694. type: integer
  4695. deliverygoodsname:
  4696. description: 现货商品名称
  4697. type: string
  4698. diffqty:
  4699. description: 套保品种今变动量
  4700. type: number
  4701. enumdicname:
  4702. description: 单位名称
  4703. type: string
  4704. middlegoodscode:
  4705. description: 套保品种代码
  4706. type: string
  4707. middlegoodsid:
  4708. description: 套保品种id
  4709. type: integer
  4710. middlegoodsname:
  4711. description: 套保品种名称
  4712. type: string
  4713. needarbitrageratio:
  4714. description: 应套利比例
  4715. type: number
  4716. needhedgeratio:
  4717. description: 应套保比例
  4718. type: number
  4719. pricedqty:
  4720. description: 已定价量
  4721. type: number
  4722. qty:
  4723. description: 合同量
  4724. type: number
  4725. selluserid:
  4726. description: 销售方id
  4727. type: integer
  4728. sellusername:
  4729. description: 销售方名称
  4730. type: string
  4731. spotcontractid:
  4732. description: 合同id
  4733. type: string
  4734. tradedate:
  4735. description: 交易日
  4736. type: string
  4737. unitid:
  4738. description: 品类单位id
  4739. type: integer
  4740. userid:
  4741. description: 机构id
  4742. type: integer
  4743. wrstandardcode:
  4744. description: 品类代码
  4745. type: string
  4746. wrstandardid:
  4747. description: 品类id
  4748. type: integer
  4749. wrstandardname:
  4750. description: 品类名称
  4751. type: string
  4752. type: object
  4753. models.Ermcp3ExposureDetail:
  4754. properties:
  4755. areauserid:
  4756. description: 机构ID
  4757. type: integer
  4758. changeQty:
  4759. description: 套保变动量
  4760. type: number
  4761. contracttype:
  4762. description: 现货合同类型 - 1:采购 -1:销售
  4763. type: integer
  4764. convertfactor:
  4765. description: 标仓系数
  4766. type: number
  4767. convertratio:
  4768. description: 套保系数
  4769. type: number
  4770. createtime:
  4771. description: 时间
  4772. type: string
  4773. deliverygoodscode:
  4774. description: 现货品种代码
  4775. type: string
  4776. deliverygoodsid:
  4777. description: 现货品种id
  4778. type: integer
  4779. deliverygoodsname:
  4780. description: 现货品种名称
  4781. type: string
  4782. enumdicname:
  4783. description: 现货商品单位名称
  4784. type: string
  4785. logtype:
  4786. description: 类型 - 1:套保计划 2:现货合同
  4787. type: integer
  4788. mgunitid:
  4789. description: 套保品种单位id
  4790. type: integer
  4791. mgunitidname:
  4792. description: 套保品种单位名称
  4793. type: string
  4794. middlegoodsId:
  4795. description: 套保商品id
  4796. type: integer
  4797. middlegoodscode:
  4798. description: 套保商品代码
  4799. type: string
  4800. middlegoodsname:
  4801. description: 套保商品名称
  4802. type: string
  4803. qty:
  4804. description: 数量
  4805. type: number
  4806. relateNo:
  4807. description: 现货合同/套保计划编号
  4808. type: string
  4809. type: object
  4810. models.Ermcp3ExposureHedgeplanDetail:
  4811. properties:
  4812. biztype:
  4813. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4814. type: integer
  4815. changqty:
  4816. description: 应套保总量变化量
  4817. type: number
  4818. contracttype:
  4819. description: 计划类型 - 1:采购 -1:销售
  4820. type: integer
  4821. convertratio:
  4822. description: 折算系数(套保品种)
  4823. type: number
  4824. deliverygoodscode:
  4825. description: 现货商品代码
  4826. type: string
  4827. deliverygoodsid:
  4828. description: 现货商品id
  4829. type: integer
  4830. deliverygoodsname:
  4831. description: 现货商吕名称
  4832. type: string
  4833. dgunitid:
  4834. description: 现货商品单位id
  4835. type: integer
  4836. dgunitidname:
  4837. description: 单位名称(现货商品)
  4838. type: string
  4839. diffqty:
  4840. description: 套保品种今变动量
  4841. type: number
  4842. enumdicname:
  4843. description: 单位名称(品类)
  4844. type: string
  4845. hedgeplanid:
  4846. description: 套保计划id
  4847. type: string
  4848. hedgeplanno:
  4849. description: 套保计划编号
  4850. type: string
  4851. hedgeplanstatus:
  4852. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4853. type: integer
  4854. mgunitidname:
  4855. description: 单位名称(套保商品)
  4856. type: string
  4857. middlegoodscode:
  4858. description: 套保品种代码
  4859. type: string
  4860. middlegoodsid:
  4861. description: 套保品种id
  4862. type: integer
  4863. middlegoodsname:
  4864. description: 套保品种名称
  4865. type: string
  4866. needarbitrageratio:
  4867. description: 应套利比例
  4868. type: number
  4869. needhedgeratio:
  4870. description: 应套保比例
  4871. type: number
  4872. pricedqty:
  4873. description: 已定价量
  4874. type: number
  4875. qty:
  4876. description: 合同量
  4877. type: number
  4878. tradedate:
  4879. description: 交易日(登记日)
  4880. type: string
  4881. unitid:
  4882. description: 品类单位id
  4883. type: integer
  4884. userid:
  4885. description: 机构id
  4886. type: integer
  4887. wrstandardcode:
  4888. description: 品类代码
  4889. type: string
  4890. wrstandardid:
  4891. description: 品类id
  4892. type: integer
  4893. wrstandardname:
  4894. description: 品类名称
  4895. type: string
  4896. type: object
  4897. models.Ermcp3ExpourseReport:
  4898. properties:
  4899. accountid:
  4900. description: 期货账户ID (作废, 默认为0)
  4901. type: integer
  4902. accountname:
  4903. description: 机构名称
  4904. type: string
  4905. arbitrageqty:
  4906. description: 套利量
  4907. type: number
  4908. areauserid:
  4909. description: 所属机构\交易用户ID
  4910. type: integer
  4911. begindate:
  4912. description: 开始交易日
  4913. type: string
  4914. buyfutureqty:
  4915. description: 买入期货数量
  4916. type: number
  4917. buyplanqty:
  4918. description: 采购计划数量
  4919. type: number
  4920. buypricedqty:
  4921. description: 采购合同已定价数量
  4922. type: number
  4923. cycletime:
  4924. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4925. type: string
  4926. cycletype:
  4927. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4928. type: integer
  4929. diffexposure:
  4930. description: 变动量(套保敞口)
  4931. type: number
  4932. difffutuqty:
  4933. description: 变动量(期货)
  4934. type: number
  4935. diffhedgeqty:
  4936. description: 变动量(现货应套保总量)
  4937. type: number
  4938. diffmgqtya:
  4939. description: 套保变动量
  4940. type: number
  4941. diffmgqtyb:
  4942. description: 套利变动量
  4943. type: number
  4944. diffqty:
  4945. description: 变动量(总敞口)
  4946. type: number
  4947. diffspotqty:
  4948. description: 变动量(现货)
  4949. type: number
  4950. enddate:
  4951. description: 结束交易日
  4952. type: string
  4953. enumdicname:
  4954. description: 单位名称
  4955. type: string
  4956. hedgeqty:
  4957. description: 套保量
  4958. type: number
  4959. mgneedhedgeratio:
  4960. description: 套保比例(套保品的)
  4961. type: number
  4962. middlegoodsid:
  4963. description: 套保品种ID
  4964. type: integer
  4965. middlegoodsname:
  4966. description: 套保商品名称
  4967. type: string
  4968. middlgoodscode:
  4969. description: 套保商品代码
  4970. type: string
  4971. needarbitrageqty:
  4972. description: 应套利量
  4973. type: number
  4974. needarbitrageratio:
  4975. description: 套利比例(套保品的)
  4976. type: number
  4977. needhedgeexposoure:
  4978. description: 应套保敞口(套保敞口)
  4979. type: number
  4980. needhedgeqty:
  4981. description: 应套保量
  4982. type: number
  4983. needhedgeratio:
  4984. description: 应套保敞口比例
  4985. type: number
  4986. oriarbitrageqty:
  4987. description: 期初套利量
  4988. type: number
  4989. oribuyfutureqty:
  4990. description: 期初买入期货数量
  4991. type: number
  4992. oribuyplanqty:
  4993. description: 期初采购计划数量
  4994. type: number
  4995. oribuypricedqty:
  4996. description: 期初采购合同已定价数量
  4997. type: number
  4998. orihedgeqty:
  4999. description: 期初套保量
  5000. type: number
  5001. orineedarbitrageqty:
  5002. description: 期初应套利量
  5003. type: number
  5004. orineedhedgeexposoure:
  5005. description: 期初应套保敞口
  5006. type: number
  5007. orineedhedgeqty:
  5008. description: 期初应套保量
  5009. type: number
  5010. orisellfutureqty:
  5011. description: 期初卖出期货数量
  5012. type: number
  5013. orisellplanqty:
  5014. description: 期初销售计划数量
  5015. type: number
  5016. orisellpricedqty:
  5017. description: 期初销售合同已定价数量
  5018. type: number
  5019. oritotalexposure:
  5020. description: 期初实时总敞口
  5021. type: number
  5022. oritotalfutureqty:
  5023. description: 期初期货头寸总量
  5024. type: number
  5025. oritotalneedhedgeqty:
  5026. description: 期初应套保总量
  5027. type: number
  5028. oritotalspotqty:
  5029. description: 期初现货头寸总量
  5030. type: number
  5031. reckondate:
  5032. description: 日照时期(yyyyMMdd)
  5033. type: string
  5034. sellfutureqty:
  5035. description: 卖出期货数量
  5036. type: number
  5037. sellplanqty:
  5038. description: 销售计划数量
  5039. type: number
  5040. sellpricedqty:
  5041. description: 销售合同已定价数量
  5042. type: number
  5043. totalexposure:
  5044. description: 实时总敞口(总敞口)
  5045. type: number
  5046. totalfutureqty:
  5047. description: 期货头寸总量(期货总量)
  5048. type: number
  5049. totalhedgeratio:
  5050. description: 敞口比例
  5051. type: number
  5052. totalneedhedgeqty:
  5053. description: 应套保总量(现货应套保总量)
  5054. type: number
  5055. totalspotqty:
  5056. description: 现货头寸总量
  5057. type: number
  5058. unitid:
  5059. description: 单位id
  5060. type: integer
  5061. updatetime:
  5062. description: 更新时间
  5063. type: string
  5064. type: object
  5065. models.Ermcp3FinanceReport:
  5066. properties:
  5067. accountname:
  5068. description: 机构名称
  5069. type: string
  5070. areauserid:
  5071. description: 所属机构\交易用户ID
  5072. type: integer
  5073. begindate:
  5074. description: 开始交易日
  5075. type: string
  5076. biztype:
  5077. description: 业务类型 - 1:套保 2:套利
  5078. type: integer
  5079. brandname:
  5080. description: 品牌名称
  5081. type: string
  5082. buypreinvoicedamount:
  5083. description: 采购预收票额(预收票额)
  5084. type: number
  5085. buyprepaidamount:
  5086. description: 采购预付款额(预付货款额)
  5087. type: number
  5088. buytodayinvoiceamount:
  5089. description: 采购今收票额(今收票额)
  5090. type: number
  5091. buytodayrefundamount:
  5092. description: 采购今收退款额(今收退款额)
  5093. type: number
  5094. buytodaysettleamount:
  5095. description: 采购今付款额(今付货款额)
  5096. type: number
  5097. buyuninvoicedamount:
  5098. description: 采购应收票额(应收票额)
  5099. type: number
  5100. buyunpaidamount:
  5101. description: 采购应付款额(应付货款额)
  5102. type: number
  5103. currencyid:
  5104. description: 结算币种ID
  5105. type: integer
  5106. currencyname:
  5107. description: 币种名称
  5108. type: string
  5109. cycletime:
  5110. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5111. type: string
  5112. cycletype:
  5113. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5114. type: integer
  5115. deliverygoodscode:
  5116. description: 现货品种代码
  5117. type: string
  5118. deliverygoodsid:
  5119. description: 现货品种ID
  5120. type: integer
  5121. deliverygoodsname:
  5122. description: 现货品种名称
  5123. type: string
  5124. enddate:
  5125. description: 结束交易日
  5126. type: string
  5127. reckondate:
  5128. description: 日照时期(yyyyMMdd)
  5129. type: string
  5130. sellpreinvoicedamount:
  5131. description: 销售预开票额(预开票额)
  5132. type: number
  5133. sellprepaidamount:
  5134. description: 销售预收款额(预收货款额)
  5135. type: number
  5136. selltodayinvoiceamount:
  5137. description: 销售今开票额(今开票额)
  5138. type: number
  5139. selltodayrefundamount:
  5140. description: 销售今付退款额(今付退款额)
  5141. type: number
  5142. selltodaysettleamount:
  5143. description: 销售今收款额(今收货款额)
  5144. type: number
  5145. selluninvoicedamount:
  5146. description: 销售应开票额(应开票额)
  5147. type: number
  5148. sellunpaidamount:
  5149. description: 销售应收款额(应收货款额)
  5150. type: number
  5151. spotgoodsbrandid:
  5152. description: 现货品牌ID
  5153. type: integer
  5154. todaypaysum:
  5155. description: 今付款合计
  5156. type: number
  5157. todayreceivesum:
  5158. description: 今收款合计
  5159. type: number
  5160. updatetime:
  5161. description: 更新时间
  5162. type: string
  5163. wrfactortypeid:
  5164. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5165. type: integer
  5166. wrstandardcode:
  5167. description: 品类代码
  5168. type: string
  5169. wrstandardid:
  5170. description: 现货商品ID
  5171. type: integer
  5172. wrstandardname:
  5173. description: 品类名称
  5174. type: string
  5175. type: object
  5176. models.Ermcp3Goods:
  5177. properties:
  5178. agreeunit:
  5179. description: 合约单位(合约乘数)
  5180. type: number
  5181. enumdicname:
  5182. description: 单位名称
  5183. type: string
  5184. exexchangecode:
  5185. description: 交易所代码
  5186. type: string
  5187. goodscode:
  5188. description: 期货商品代码
  5189. type: string
  5190. goodsid:
  5191. description: 期货商品id
  5192. type: integer
  5193. goodsname:
  5194. description: 期货商品名称
  5195. type: string
  5196. type: object
  5197. models.Ermcp3GoodsGroup:
  5198. properties:
  5199. agreeunit:
  5200. description: 合约单位
  5201. type: number
  5202. areauserid:
  5203. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5204. type: integer
  5205. canshort:
  5206. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5207. type: integer
  5208. closepricemode:
  5209. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5210. type: integer
  5211. createtime:
  5212. description: 创建时间
  5213. type: string
  5214. creatorid:
  5215. description: 创建人
  5216. type: integer
  5217. currencyid:
  5218. description: 报价货币ID
  5219. type: integer
  5220. decimalplace:
  5221. description: 报价小数位
  5222. type: integer
  5223. enumdicname:
  5224. description: 单位名称
  5225. type: string
  5226. excludecfg:
  5227. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5228. type: integer
  5229. exexchangeid:
  5230. description: 外部交易所ID[通道交易]
  5231. type: integer
  5232. goodsgroupid:
  5233. description: 商品组ID(自增ID)
  5234. type: integer
  5235. goodsgroupname:
  5236. description: 商品组名称
  5237. type: string
  5238. goodsgroupstatus:
  5239. description: 商品组状态 - 1:正常 2:注销
  5240. type: integer
  5241. goodunitid:
  5242. description: 报价单位ID
  5243. type: integer
  5244. groupcategroyid:
  5245. description: 品种分类ID
  5246. type: integer
  5247. innerdealmode:
  5248. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5249. type: integer
  5250. marketid:
  5251. description: 所属市场ID
  5252. type: integer
  5253. modifierid:
  5254. description: 修改人
  5255. type: integer
  5256. modifytime:
  5257. description: 修改时间
  5258. type: string
  5259. outerdealmode:
  5260. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5261. type: integer
  5262. outergroupcode:
  5263. description: 外部商品组代码[通道交易]
  5264. type: string
  5265. quoteminunit:
  5266. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5267. type: integer
  5268. quotesourcegroupid:
  5269. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5270. type: integer
  5271. syncgoodsqty:
  5272. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5273. type: integer
  5274. required:
  5275. - areauserid
  5276. type: object
  5277. models.Ermcp3GoodsGroupEx:
  5278. properties:
  5279. convertratio:
  5280. description: 折算系数(品种系数)
  5281. type: number
  5282. enumdicname:
  5283. description: 单位名称
  5284. type: string
  5285. exexchangecode:
  5286. description: 交易所代码
  5287. type: string
  5288. glist:
  5289. description: 合约列表
  5290. items:
  5291. $ref: '#/definitions/models.Ermcp3Goods'
  5292. type: array
  5293. goodsgroupid:
  5294. description: 商品组id
  5295. type: integer
  5296. goodsgroupname:
  5297. description: 商品组名称
  5298. type: string
  5299. goodsunitid:
  5300. description: 单位id
  5301. type: integer
  5302. middlegoodsid:
  5303. description: 套保商品id
  5304. type: integer
  5305. type: object
  5306. models.Ermcp3HedgePlan:
  5307. properties:
  5308. accountid:
  5309. description: 资金账号
  5310. type: integer
  5311. areauserid:
  5312. description: 用户ID
  5313. type: integer
  5314. audittime:
  5315. description: 审核时间
  5316. type: string
  5317. contracttype:
  5318. description: 计划类型 - 1:采购 -1:销售
  5319. type: integer
  5320. convertfactor:
  5321. description: 标仓系数
  5322. type: number
  5323. createtime:
  5324. description: 创建时间
  5325. type: string
  5326. currencyid:
  5327. description: 币种id
  5328. type: integer
  5329. currencyname:
  5330. description: 币种名称
  5331. type: string
  5332. deliverygoodscode:
  5333. description: 现货品种代码
  5334. type: string
  5335. deliverygoodsid:
  5336. description: 现货品种ID
  5337. type: integer
  5338. deliverygoodsname:
  5339. description: 现货品种名称
  5340. type: string
  5341. enumdicname:
  5342. description: 单位名称(现货商品)
  5343. type: string
  5344. hedgeplanid:
  5345. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5346. type: string
  5347. hedgeplanno:
  5348. description: 套保计划编号(名称)
  5349. type: string
  5350. hedgeplanstatus:
  5351. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5352. type: integer
  5353. planqty:
  5354. description: 计划数量
  5355. type: number
  5356. plantime:
  5357. description: 计划时间
  5358. type: string
  5359. producttype:
  5360. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5361. type: integer
  5362. remark:
  5363. description: 备注
  5364. type: string
  5365. spotgoodsdesc:
  5366. description: 商品型号
  5367. type: string
  5368. taaccountname:
  5369. description: 资金账号名称
  5370. type: string
  5371. tradeuserid:
  5372. description: 交易用户id
  5373. type: integer
  5374. tradeusername:
  5375. description: 交易用户名称
  5376. type: string
  5377. unitid:
  5378. description: 单位id(现货商品)
  5379. type: integer
  5380. updatetime:
  5381. description: 更新时间
  5382. type: string
  5383. wrstandardcode:
  5384. description: 品类代码
  5385. type: string
  5386. wrstandardid:
  5387. description: 品类id
  5388. type: integer
  5389. wrstandardname:
  5390. description: 品类名称
  5391. type: string
  5392. wrunitid:
  5393. description: 品类单位id
  5394. type: integer
  5395. wrunitidame:
  5396. description: 品类单位名称
  5397. type: string
  5398. type: object
  5399. models.Ermcp3MiddleGoodsDetail2:
  5400. properties:
  5401. convertratio:
  5402. description: 套保系数(折算系数)
  5403. type: number
  5404. gplist:
  5405. description: 关联商品组列表
  5406. items:
  5407. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  5408. type: array
  5409. mg:
  5410. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5411. description: 套保商品信息
  5412. type: object
  5413. models.Ermcp3MiddleGoodsDetailEx:
  5414. properties:
  5415. dglist:
  5416. description: 关联的现货品种列表
  5417. items:
  5418. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  5419. type: array
  5420. gplist:
  5421. description: 关联商品组列表
  5422. items:
  5423. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  5424. type: array
  5425. mg:
  5426. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5427. description: 套保商品信息
  5428. type: object
  5429. models.Ermcp3SellBuyContract:
  5430. properties:
  5431. accountid:
  5432. description: 期货账户id
  5433. type: string
  5434. accountname:
  5435. description: 账户名称
  5436. type: string
  5437. attachment:
  5438. description: 附件
  5439. type: string
  5440. audittime:
  5441. description: 审核时间
  5442. type: string
  5443. biztype:
  5444. description: 业务类型 1-套保 2-套利
  5445. type: integer
  5446. brandname:
  5447. description: 品牌名称
  5448. type: string
  5449. contracctstatus:
  5450. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5451. type: integer
  5452. contractmargin:
  5453. description: 合同保证金
  5454. type: number
  5455. contractno:
  5456. description: 合同编号
  5457. type: string
  5458. contracttype:
  5459. description: 合同类型 1-采购, -1-销售
  5460. type: integer
  5461. convertfactor:
  5462. description: 标仓系数(品类)
  5463. type: number
  5464. createtime:
  5465. description: 创建时间
  5466. type: string
  5467. currencyid:
  5468. description: 币种id
  5469. type: integer
  5470. currencyname:
  5471. description: 币种名称
  5472. type: string
  5473. daikaiamount:
  5474. description: 应收(开)票额
  5475. type: number
  5476. deliveryenddate:
  5477. description: 交割结束日
  5478. type: string
  5479. deliverygoodscode:
  5480. description: 现货品种代码
  5481. type: string
  5482. deliverygoodsid:
  5483. description: 现货商品ID
  5484. type: integer
  5485. deliverygoodsname:
  5486. description: 现货品种名称
  5487. type: string
  5488. deliverystartdate:
  5489. description: 交割开始日
  5490. type: string
  5491. enddate:
  5492. description: 点价结束日
  5493. type: string
  5494. enumdicname:
  5495. description: 单位名称
  5496. type: string
  5497. goodscode:
  5498. description: 点价商品代码
  5499. type: string
  5500. goodsid:
  5501. description: 点价商品ID
  5502. type: integer
  5503. goodsname:
  5504. description: 点价商品名称
  5505. type: string
  5506. invoiceamount:
  5507. description: 已开票额
  5508. type: number
  5509. loanamount:
  5510. description: 贷款总额=已定价额+调整金额
  5511. type: number
  5512. margin:
  5513. description: 保证金
  5514. type: number
  5515. meruserid:
  5516. description: 跟单员id
  5517. type: integer
  5518. meruserlogincode:
  5519. description: 跟单员登录代码
  5520. type: string
  5521. nickname:
  5522. description: 账户昵称
  5523. type: string
  5524. payamount:
  5525. description: 已收付额(收款或付款)
  5526. type: number
  5527. preinvoiceamount:
  5528. description: 预收(开)票额
  5529. type: number
  5530. prepayamount:
  5531. description: 预收付额
  5532. type: number
  5533. price:
  5534. description: 价格
  5535. type: number
  5536. pricedamount:
  5537. description: 已定价额
  5538. type: number
  5539. pricedavg:
  5540. description: 已点均价
  5541. type: number
  5542. pricedqty:
  5543. description: 已定价量
  5544. type: number
  5545. pricemove:
  5546. description: 升贴水
  5547. type: number
  5548. pricetype:
  5549. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5550. type: integer
  5551. producttype:
  5552. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5553. type: integer
  5554. qty:
  5555. description: 合同量
  5556. type: number
  5557. reckonadjustamount:
  5558. description: 调整金额
  5559. type: number
  5560. reckonedamount:
  5561. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5562. type: number
  5563. reckonotheramount:
  5564. description: 其它费用
  5565. type: number
  5566. reckonrealqty:
  5567. description: 已确定量
  5568. type: number
  5569. remark:
  5570. description: 备注
  5571. type: string
  5572. saleuserid:
  5573. description: 业务员id
  5574. type: integer
  5575. saleuserlogincode:
  5576. description: 业务员登录代码
  5577. type: string
  5578. spotcontractid:
  5579. description: 合同ID
  5580. type: string
  5581. spotgoodsbrandid:
  5582. description: 现货品牌ID(DGFactoryItem表的ID)
  5583. type: integer
  5584. spotgoodsdesc:
  5585. description: 商品型号(商品规格)
  5586. type: string
  5587. startdate:
  5588. description: 点价开始日
  5589. type: string
  5590. totalamount:
  5591. description: 合计总额
  5592. type: number
  5593. tradeuserid:
  5594. description: 交易员id
  5595. type: integer
  5596. tradeuserlogincode:
  5597. description: 交易员登录代码
  5598. type: string
  5599. tradeusername:
  5600. description: 交易员名称
  5601. type: string
  5602. unpayamount:
  5603. description: 应收付款额(应支付或应收款)
  5604. type: number
  5605. unpricedqty:
  5606. description: 未定价量
  5607. type: number
  5608. unsureqty:
  5609. description: 未确定量
  5610. type: number
  5611. userid:
  5612. description: 机构ID
  5613. type: integer
  5614. wrstandardcode:
  5615. description: 品类代码
  5616. type: string
  5617. wrstandardid:
  5618. description: 品类ID
  5619. type: integer
  5620. wrstandardname:
  5621. description: 品类名称
  5622. type: string
  5623. type: object
  5624. models.Ermcp3SpotGoodsPrice:
  5625. properties:
  5626. areauserid:
  5627. description: 所属机构id
  5628. type: integer
  5629. brandname:
  5630. description: 品牌名称
  5631. type: string
  5632. currencyid:
  5633. description: 报价货币ID
  5634. type: integer
  5635. currencyname:
  5636. description: 币种名称
  5637. type: string
  5638. deliverygoodscode:
  5639. description: 现货商品代码
  5640. type: string
  5641. deliverygoodsid:
  5642. description: 现货商品id
  5643. type: integer
  5644. deliverygoodsname:
  5645. description: 现货商品名称
  5646. type: string
  5647. enumdicname:
  5648. description: 现货商品单位名称
  5649. type: string
  5650. gbenumdicname:
  5651. description: 品类单位名称
  5652. type: string
  5653. gmunitid:
  5654. description: 品类单位id
  5655. type: integer
  5656. isvalid:
  5657. description: 是否有效 - 0:无效 1:有效
  5658. type: integer
  5659. operateid:
  5660. description: 最后操作人
  5661. type: integer
  5662. operatesrc:
  5663. description: 最后操作来源 - 1:管理端 2:终端
  5664. type: integer
  5665. operatetime:
  5666. description: 最后操作时间
  5667. type: string
  5668. operatorname:
  5669. description: 操作人名称
  5670. type: string
  5671. spotgoodsbrandid:
  5672. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5673. type: integer
  5674. spotgoodsprice:
  5675. description: 现货价格
  5676. type: number
  5677. tradedate:
  5678. description: 交易日(yyyyMMdd)
  5679. type: string
  5680. unitid:
  5681. description: 现货商品单位id
  5682. type: integer
  5683. wrstandardcode:
  5684. description: 品类代码
  5685. type: string
  5686. wrstandardid:
  5687. description: 现货品类ID(通用则为0)
  5688. type: integer
  5689. wrstandardname:
  5690. description: 品类名称
  5691. type: string
  5692. type: object
  5693. models.Ermcp3SpotGoodsPriceLog:
  5694. properties:
  5695. areauserid:
  5696. description: 所属机构id
  5697. type: integer
  5698. brandname:
  5699. description: 品牌名称
  5700. type: string
  5701. currencyid:
  5702. description: 报价货币ID
  5703. type: integer
  5704. deliverygoodscode:
  5705. description: 现货商品代码
  5706. type: string
  5707. deliverygoodsid:
  5708. description: 现货商品id
  5709. type: integer
  5710. deliverygoodsname:
  5711. description: 现货商品名称
  5712. type: string
  5713. enumdicname:
  5714. description: 现货商品单位名称
  5715. type: string
  5716. gbenumdicname:
  5717. description: 品类单位名称
  5718. type: string
  5719. gmunitid:
  5720. description: 品类单位id
  5721. type: integer
  5722. logid:
  5723. description: 日志id
  5724. type: integer
  5725. operateid:
  5726. description: 最后操作人
  5727. type: integer
  5728. operatesrc:
  5729. description: 最后操作来源 - 1:管理端 2:终端
  5730. type: integer
  5731. operatetime:
  5732. description: 最后操作时间
  5733. type: string
  5734. operatorname:
  5735. description: 操作人名称
  5736. type: string
  5737. spotgoodsbrandid:
  5738. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5739. type: integer
  5740. spotgoodsprice:
  5741. description: 现货价格
  5742. type: number
  5743. tradedate:
  5744. description: 交易日(yyyyMMdd)
  5745. type: string
  5746. unitid:
  5747. description: 现货商品单位id
  5748. type: integer
  5749. wrstandardcode:
  5750. description: 品类代码
  5751. type: string
  5752. wrstandardid:
  5753. description: 现货品类ID(通用则为0)
  5754. type: integer
  5755. wrstandardname:
  5756. description: 品类名称
  5757. type: string
  5758. type: object
  5759. models.Ermcp3Wrstandard:
  5760. properties:
  5761. areauserid:
  5762. description: 所属机构
  5763. type: integer
  5764. convertfactor:
  5765. description: 标仓系数
  5766. type: number
  5767. createtime:
  5768. description: 创建时间
  5769. type: string
  5770. creatorid:
  5771. description: 创建人
  5772. type: integer
  5773. deliverygoodsid:
  5774. description: 现货品种ID
  5775. type: integer
  5776. enumdicname:
  5777. description: 品类单位名称
  5778. type: string
  5779. isvalid:
  5780. description: 是否有效 0-无效(停用) 1-有效(正常)
  5781. type: integer
  5782. minivalue:
  5783. description: 最小变动值
  5784. type: integer
  5785. minivaluedp:
  5786. description: 最小变动值小数位
  5787. type: integer
  5788. realminivalue:
  5789. description: 实际最小变动值
  5790. type: integer
  5791. realminivaluedp:
  5792. description: 实际最小变动值小数位
  5793. type: integer
  5794. remark:
  5795. description: 备注
  5796. type: string
  5797. unitid:
  5798. description: 品类单位ID
  5799. type: integer
  5800. updatetime:
  5801. description: 更新时间
  5802. type: string
  5803. wrstandardcode:
  5804. description: 品类代码
  5805. type: string
  5806. wrstandardid:
  5807. description: 品类ID(SEQ_WRSTANDARD)
  5808. type: integer
  5809. wrstandardname:
  5810. description: 品类名称
  5811. type: string
  5812. type: object
  5813. models.ErmcpBizGroupEx:
  5814. properties:
  5815. acclist:
  5816. description: 账号列表
  5817. items:
  5818. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5819. type: array
  5820. bizgroupid:
  5821. description: 业务分组id
  5822. type: integer
  5823. biztype:
  5824. description: 业务类型 1-套保 2-套利
  5825. type: integer
  5826. wrlist:
  5827. description: 现货商品表
  5828. items:
  5829. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5830. type: array
  5831. type: object
  5832. models.ErmcpBizGroupSpotGoods:
  5833. properties:
  5834. areauserid:
  5835. description: 所属机构id
  5836. type: integer
  5837. bizgroupid:
  5838. description: 分组id
  5839. type: integer
  5840. biztype:
  5841. description: 业务类型 1-套保 2-套利
  5842. type: integer
  5843. deliverygoodscode:
  5844. description: 现货商品代码
  5845. type: string
  5846. deliverygoodsid:
  5847. description: 现货商品id
  5848. type: integer
  5849. deliverygoodsname:
  5850. description: 现货商品名称
  5851. type: string
  5852. unitid:
  5853. description: 现货商品单位id
  5854. type: integer
  5855. type: object
  5856. models.ErmcpBizGroupTaAccount:
  5857. properties:
  5858. accountid:
  5859. description: 账号id
  5860. type: integer
  5861. accountname:
  5862. description: 账号名称
  5863. type: string
  5864. areauserid:
  5865. description: 所属机构id
  5866. type: integer
  5867. bizgroupid:
  5868. description: 业务分组id
  5869. type: integer
  5870. ismain:
  5871. description: 是否主账号 1-是 0-否
  5872. type: integer
  5873. type: object
  5874. models.ErmcpDGFactoryItem:
  5875. properties:
  5876. areauserid:
  5877. description: 用户id
  5878. type: integer
  5879. deliverygoodsid:
  5880. description: 现货品种ID
  5881. type: integer
  5882. dgfactoryitemid:
  5883. description: 选择项ID(SEQ_DGFACTORYITEM)
  5884. type: integer
  5885. dgfactoryitemtypeid:
  5886. description: 要素项类型
  5887. type: integer
  5888. dgfactoryitemvalue:
  5889. description: 要素项值(类型为仓库时填写仓库名称)
  5890. type: string
  5891. isvalid:
  5892. description: 是否有效 - 0:无效 1:有效
  5893. type: integer
  5894. orderindex:
  5895. description: 顺序
  5896. type: integer
  5897. warehouseid:
  5898. description: 仓库ID(类型为仓库时填写)
  5899. type: integer
  5900. type: object
  5901. models.ErmcpDeliveryGoods:
  5902. properties:
  5903. agreeunit:
  5904. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5905. type: integer
  5906. areauserid:
  5907. description: 所属机构
  5908. type: integer
  5909. auditflag:
  5910. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5911. type: integer
  5912. categoryid:
  5913. description: 类别ID(SEQ_WRCATEGORY)
  5914. type: integer
  5915. deliverygoodscode:
  5916. description: 现货品种代码
  5917. type: string
  5918. deliverygoodsid:
  5919. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5920. type: integer
  5921. deliverygoodsname:
  5922. description: 现货品种名称
  5923. type: string
  5924. deliverygoodstype:
  5925. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5926. type: integer
  5927. dgstatus:
  5928. description: 品种状态 - 作废 - 0:未激活 1:正常
  5929. type: integer
  5930. enumdicname:
  5931. description: 现货品种单位名称
  5932. type: string
  5933. goodsunitid:
  5934. description: 现货品种单位ID
  5935. type: integer
  5936. isvalid:
  5937. description: 是否有效 - 0:无效 1:有效
  5938. type: integer
  5939. qtydecimalplace:
  5940. description: 成交量小数位
  5941. type: integer
  5942. remark:
  5943. description: 备注
  5944. type: string
  5945. standardqty:
  5946. description: 标准数量(库位数量) [标准品特有]
  5947. type: integer
  5948. standardqtyrange:
  5949. description: 标准数量偏差范围 [标准品特有]
  5950. type: integer
  5951. type: object
  5952. models.ErmcpDeliveryGoodsDetail2:
  5953. properties:
  5954. convertratio:
  5955. description: 套保系数(折算系数)
  5956. type: number
  5957. data:
  5958. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5959. description: 现货商品基本信息(交割品种)
  5960. gblist:
  5961. description: 品牌列表
  5962. items:
  5963. $ref: '#/definitions/models.Ermcp3Brand'
  5964. type: array
  5965. gmlist:
  5966. description: 品类列表(仓单标准)
  5967. items:
  5968. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5969. type: array
  5970. type: object
  5971. models.ErmcpDeliveryGoodsDetailEx:
  5972. properties:
  5973. data:
  5974. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5975. description: 现货商品基本信息(交割品种)
  5976. gblist:
  5977. description: 品牌列表
  5978. items:
  5979. $ref: '#/definitions/models.Ermcp3Brand'
  5980. type: array
  5981. gmlist:
  5982. description: 品类列表(仓单标准)
  5983. items:
  5984. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5985. type: array
  5986. mgList:
  5987. description: 套保列表
  5988. items:
  5989. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5990. type: array
  5991. type: object
  5992. models.ErmcpFuturesCompany:
  5993. properties:
  5994. brokerid:
  5995. description: 经纪公司代码
  5996. type: string
  5997. channeladdress:
  5998. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5999. type: string
  6000. channelid:
  6001. description: 对冲渠道ID
  6002. type: string
  6003. createtime:
  6004. description: 创建时间
  6005. type: string
  6006. creatorid:
  6007. description: 创建人
  6008. type: string
  6009. fcid:
  6010. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  6011. type: integer
  6012. fcname:
  6013. description: 期货公司名称
  6014. type: string
  6015. isvalid:
  6016. description: 是否有效 - 0:无效 1:有效
  6017. type: integer
  6018. mhpaddress:
  6019. description: MHP服务地址(IP:Port)
  6020. type: string
  6021. riskrulegroupid:
  6022. description: 风控规则组ID
  6023. type: string
  6024. tradefeetmpid:
  6025. description: 手续费模板ID[TradeConfigTmpType为2]
  6026. type: string
  6027. trademargintmpid:
  6028. description: 保证金模板ID [TradeConfigTmpType为1]
  6029. type: string
  6030. traderatetmpid:
  6031. description: 汇率模板ID[TradeConfigTmpType为3]
  6032. type: string
  6033. updatetime:
  6034. description: 更新时间
  6035. type: string
  6036. updatorid:
  6037. description: 更新人
  6038. type: string
  6039. type: object
  6040. models.ErmcpGGConvertCfg:
  6041. properties:
  6042. convertratio:
  6043. description: 折算系数
  6044. type: number
  6045. destgoodsgroupid:
  6046. description: 目标品种ID
  6047. type: integer
  6048. dstcode:
  6049. description: 目录品种代码
  6050. type: string
  6051. dstexchangecode:
  6052. description: 目标期货交易所
  6053. type: string
  6054. dstname:
  6055. description: 目标品种名称
  6056. type: string
  6057. dstunitid:
  6058. description: 目标品种单位ID
  6059. type: integer
  6060. dstunitidname:
  6061. description: 目标品种单位名称
  6062. type: string
  6063. modifytime:
  6064. description: 修改时间
  6065. type: string
  6066. srccode:
  6067. description: 源品种代码
  6068. type: string
  6069. srcexchangecode:
  6070. description: 源期货交易所
  6071. type: string
  6072. srcgoodsgroupid:
  6073. description: 源品种ID
  6074. type: integer
  6075. srcname:
  6076. description: 源品种名称
  6077. type: string
  6078. srcunitid:
  6079. description: 源品种单位ID
  6080. type: integer
  6081. srcunitidname:
  6082. description: 源品种单位名称
  6083. type: string
  6084. type: object
  6085. models.ErmcpGoods:
  6086. properties:
  6087. agreeunit:
  6088. description: 合约单位
  6089. type: number
  6090. auditaccountid:
  6091. description: 审核操作员账号
  6092. type: integer
  6093. audittime:
  6094. description: 审核时间
  6095. type: string
  6096. cancelaccountid:
  6097. description: 注销操作员账号
  6098. type: integer
  6099. canceltime:
  6100. description: 注销时间
  6101. type: string
  6102. closepricemode:
  6103. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6104. type: integer
  6105. closepriceparam:
  6106. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6107. type: number
  6108. createtime:
  6109. description: 创建时间
  6110. type: string
  6111. creatorid:
  6112. description: 创建人
  6113. type: integer
  6114. currencyid:
  6115. description: 报价货币ID
  6116. type: integer
  6117. cutmode:
  6118. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6119. type: integer
  6120. decimalplace:
  6121. description: 报价小数位
  6122. type: integer
  6123. delistingdate:
  6124. description: 商品退市时间(状态:退市) -- 已作废
  6125. type: string
  6126. delistingmode:
  6127. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6128. type: integer
  6129. deliveryflag:
  6130. description: 交割标志 - 0:不可交割 1:可交割
  6131. type: integer
  6132. forceclosemode:
  6133. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6134. type: integer
  6135. forceclosevalue:
  6136. description: 定期强平参数 [收益权]
  6137. type: integer
  6138. goodscode:
  6139. description: 商品代码(内部)
  6140. type: string
  6141. goodscurrencyid:
  6142. description: 合约货币ID
  6143. type: integer
  6144. goodsgroupid:
  6145. description: 所属商品组ID
  6146. type: integer
  6147. goodsid:
  6148. description: 商品ID(自增ID SEQ_GOODS)
  6149. type: integer
  6150. goodsname:
  6151. description: 商品名称
  6152. type: string
  6153. goodsquotetype:
  6154. description: '合约报价类型: 1-直接报价 2-间接报价'
  6155. type: integer
  6156. goodsstatus:
  6157. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6158. type: integer
  6159. goodstradetype:
  6160. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6161. type: integer
  6162. goodunitid:
  6163. description: 报价单位ID
  6164. type: integer
  6165. hasquoter:
  6166. description: 是否有报价商 - 0:无报价商 1:有报价商
  6167. type: integer
  6168. hqprotecttime:
  6169. description: 行情保护时间(秒)
  6170. type: integer
  6171. innerdealmode:
  6172. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6173. type: integer
  6174. isbuylimited:
  6175. description: 是否限制建仓量 - 0:不限制 1:限制
  6176. type: integer
  6177. lasttradedate:
  6178. description: 最后交易日期(状态:待退市)
  6179. type: string
  6180. listingdate:
  6181. description: 交易开始日期
  6182. type: string
  6183. marketid:
  6184. description: 所属市场ID
  6185. type: integer
  6186. modifierid:
  6187. description: 修改人
  6188. type: integer
  6189. modifystatus:
  6190. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6191. type: integer
  6192. modifytime:
  6193. description: 修改时间
  6194. type: string
  6195. outerdealmode:
  6196. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6197. type: integer
  6198. outgoodscode:
  6199. description: 商品代码(外部)
  6200. type: string
  6201. qtydecimalplace:
  6202. description: 成交量小数位
  6203. type: integer
  6204. quotegear:
  6205. description: 行情档位(1-10)
  6206. type: integer
  6207. quoteminunit:
  6208. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6209. type: integer
  6210. quoteshowtype:
  6211. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6212. type: integer
  6213. quoteshowtypeinterval:
  6214. description: 行情报价间隔时间(秒)(成交价时为0)
  6215. type: integer
  6216. relatedgoodsid:
  6217. description: 关联参考商品ID
  6218. type: integer
  6219. remark:
  6220. description: 备注
  6221. type: string
  6222. required:
  6223. - goodscode
  6224. - goodsid
  6225. - goodsname
  6226. - marketid
  6227. type: object
  6228. models.ErmcpGoodsBrand:
  6229. properties:
  6230. areauserid:
  6231. description: 所属机构
  6232. type: integer
  6233. brandid:
  6234. description: BrandID(SEQ_SPOTGOODSBRAND)
  6235. type: integer
  6236. brandname:
  6237. description: 品牌名称
  6238. type: string
  6239. createtime:
  6240. description: 创建时间
  6241. type: string
  6242. creatorid:
  6243. description: 创建人
  6244. type: integer
  6245. creatorsrc:
  6246. description: 创建人来源 - 1:管理端 2:终端
  6247. type: integer
  6248. deliverygoodsid:
  6249. description: 现货品种ID
  6250. type: integer
  6251. isvalid:
  6252. description: 是否有效 - 0:无效 1:有效
  6253. type: integer
  6254. updatetime:
  6255. description: 更新时间
  6256. type: string
  6257. updatorid:
  6258. description: 更新人
  6259. type: integer
  6260. updatorsrc:
  6261. description: 更新人来源 - 1:管理端 2:终端
  6262. type: integer
  6263. wrstandardid:
  6264. description: 现货商品ID
  6265. type: integer
  6266. type: object
  6267. models.ErmcpGoodsModel:
  6268. properties:
  6269. areauserid:
  6270. description: 所属机构
  6271. type: integer
  6272. convertfactor:
  6273. description: 标仓系数
  6274. type: number
  6275. createtime:
  6276. description: 创建时间
  6277. type: string
  6278. creatorid:
  6279. description: 创建人
  6280. type: integer
  6281. creatorsrc:
  6282. description: 创建人来源 - 1:管理端 2:终端
  6283. type: integer
  6284. deliverygoodsid:
  6285. description: 现货品种ID
  6286. type: integer
  6287. isvalid:
  6288. description: 是否有效 - 0:无效 1:有效
  6289. type: integer
  6290. modelid:
  6291. description: ModelID(SEQ_SPOTGOODSMODEL)
  6292. type: integer
  6293. modelname:
  6294. description: 型号名称
  6295. type: string
  6296. updatetime:
  6297. description: 更新时间
  6298. type: string
  6299. updatorid:
  6300. description: 更新人
  6301. type: integer
  6302. updatorsrc:
  6303. description: 更新人来源 - 1:管理端 2:终端
  6304. type: integer
  6305. wrstandardid:
  6306. description: 现货商品ID
  6307. type: integer
  6308. type: object
  6309. models.ErmcpHisExposure:
  6310. properties:
  6311. needhedgeexposoure:
  6312. description: 应套保敞口
  6313. type: number
  6314. reckondate:
  6315. description: 日照时期(yyyyMMdd)
  6316. type: string
  6317. totalexposure:
  6318. description: 总敞口
  6319. type: number
  6320. type: object
  6321. models.ErmcpLoginTaAccount:
  6322. properties:
  6323. accountid:
  6324. description: 账号id
  6325. type: integer
  6326. accountname:
  6327. description: 账号名称
  6328. type: string
  6329. type: object
  6330. models.ErmcpLoginUser:
  6331. properties:
  6332. acclist:
  6333. description: 关联资金账号
  6334. items:
  6335. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6336. type: array
  6337. accountname:
  6338. description: 用户名称
  6339. type: string
  6340. clientroleid:
  6341. description: 角色id(usertype=2)
  6342. type: integer
  6343. createtime:
  6344. description: 创建时间
  6345. type: string
  6346. logincode:
  6347. description: 登录代码
  6348. type: string
  6349. loginid:
  6350. description: 登录id(LOGINID)
  6351. type: integer
  6352. loginname:
  6353. description: 登录名称(loginaccount表中的accountname字段)
  6354. type: string
  6355. loginstatus:
  6356. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6357. type: integer
  6358. memberuserid:
  6359. description: 所属会员id
  6360. type: integer
  6361. mobile:
  6362. description: 手机号
  6363. type: string
  6364. modifytime:
  6365. description: 修改时间
  6366. type: string
  6367. password:
  6368. description: 密码(不可解密)
  6369. type: string
  6370. rolename:
  6371. description: 角色名称
  6372. type: string
  6373. rolestatus:
  6374. description: 角色状态 1-启用 2-停用
  6375. type: integer
  6376. roletype:
  6377. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6378. type: string
  6379. userid:
  6380. description: 用户id
  6381. type: integer
  6382. usertype:
  6383. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6384. type: integer
  6385. type: object
  6386. models.ErmcpLoginUserEx:
  6387. properties:
  6388. accountstatus:
  6389. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6390. type: integer
  6391. mobile:
  6392. description: 手机号
  6393. type: string
  6394. querytype:
  6395. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6396. type: integer
  6397. roleid:
  6398. description: 角色id(交易账户->用户id)
  6399. type: integer
  6400. rolename:
  6401. description: 角色名称(交易账户->用户名称)
  6402. type: string
  6403. userlist:
  6404. description: 用户列表
  6405. items:
  6406. $ref: '#/definitions/models.ErmcpLoginUser'
  6407. type: array
  6408. usertype:
  6409. description: 用户类型 2-机构 7-企业成员(云平台)
  6410. type: integer
  6411. type: object
  6412. models.ErmcpMiddleGoodsModel:
  6413. properties:
  6414. areauserid:
  6415. description: 机构用户ID
  6416. type: integer
  6417. createtime:
  6418. description: 修改时间
  6419. type: string
  6420. enumdicname:
  6421. description: 单位名称
  6422. type: string
  6423. evaluateratio:
  6424. description: 估价系数
  6425. type: number
  6426. goodsgroupid:
  6427. description: 关联期货品种ID
  6428. type: integer
  6429. goodsunitid:
  6430. description: 单位ID
  6431. type: integer
  6432. isvalid:
  6433. description: 状态 0-无效(停用) 1-有效(正常)
  6434. type: integer
  6435. middlegoodscode:
  6436. description: 套保品种代码
  6437. type: string
  6438. middlegoodsid:
  6439. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6440. type: integer
  6441. middlegoodsname:
  6442. description: 套保品种名称
  6443. type: string
  6444. modifytime:
  6445. description: 修改时间
  6446. type: string
  6447. needarbitrageratio:
  6448. description: 套利比例
  6449. type: number
  6450. needhedgeratio:
  6451. description: 套保比率
  6452. type: number
  6453. qtydecimalplace:
  6454. description: 数量小数位
  6455. type: integer
  6456. relatedgoodsid:
  6457. description: 关联交易商品ID
  6458. type: integer
  6459. relatedgoodstype:
  6460. description: 关联商品类型 - 1:期货合约 2:现货品种
  6461. type: integer
  6462. remark:
  6463. description: 备注
  6464. type: string
  6465. type: object
  6466. models.ErmcpRole:
  6467. properties:
  6468. areauserid:
  6469. description: 所属机构
  6470. type: integer
  6471. autoid:
  6472. description: 角色ID(自增ID)
  6473. type: integer
  6474. modifierid:
  6475. description: 修改人(创建人)
  6476. type: integer
  6477. modifiername:
  6478. description: 修改人名称
  6479. type: string
  6480. modifytime:
  6481. description: 修改时间(创建时间)
  6482. type: string
  6483. rolename:
  6484. description: 角色名称
  6485. type: string
  6486. rolestatus:
  6487. description: 角色状态 - 1:启用 2:停用
  6488. type: integer
  6489. roletype:
  6490. description: 角色类型 - 1- 管理端 2- 交易端
  6491. type: integer
  6492. type: object
  6493. models.ErmcpRoleMenu:
  6494. properties:
  6495. iconame:
  6496. description: 菜单图标
  6497. type: string
  6498. ishadrole:
  6499. description: 是否有权限
  6500. type: boolean
  6501. menutype:
  6502. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6503. type: integer
  6504. parentcode:
  6505. description: 上级资源代码
  6506. type: string
  6507. remark:
  6508. description: 菜单备注
  6509. type: string
  6510. resourcecode:
  6511. description: 菜单代码
  6512. type: string
  6513. resourcelevel:
  6514. description: 级别
  6515. type: integer
  6516. resourcename:
  6517. description: 菜单名称
  6518. type: string
  6519. roleid:
  6520. description: 角色id
  6521. type: integer
  6522. sort:
  6523. description: 排序
  6524. type: integer
  6525. url:
  6526. description: URL
  6527. type: string
  6528. userid:
  6529. description: 用户id
  6530. type: integer
  6531. type: object
  6532. models.ErmcpRoleMenuEx:
  6533. properties:
  6534. menu:
  6535. $ref: '#/definitions/models.ErmcpRoleMenu'
  6536. description: 父级菜单
  6537. subMenu:
  6538. description: 子级菜单
  6539. items:
  6540. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6541. type: array
  6542. type: object
  6543. models.ErmcpTaAccount:
  6544. properties:
  6545. accountid:
  6546. description: 账户id
  6547. type: integer
  6548. accountname:
  6549. description: 账户名称
  6550. type: string
  6551. currencyid:
  6552. description: 币种id
  6553. type: integer
  6554. hedgeaccountcode:
  6555. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6556. type: string
  6557. ismain:
  6558. description: 是否主账户 0-否 1-是
  6559. type: integer
  6560. parentaccountid:
  6561. description: 父账户id
  6562. type: integer
  6563. relateduserid:
  6564. description: 关联userid
  6565. type: integer
  6566. tradestatus:
  6567. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6568. type: integer
  6569. userid:
  6570. description: 用户id
  6571. type: integer
  6572. type: object
  6573. models.ErmcpTaAccountEx:
  6574. properties:
  6575. mainAcc:
  6576. $ref: '#/definitions/models.ErmcpTaAccountM'
  6577. description: 主账号
  6578. subacclist:
  6579. description: 子账号列表
  6580. items:
  6581. $ref: '#/definitions/models.ErmcpTaAccount'
  6582. type: array
  6583. type: object
  6584. models.ErmcpTaAccountInfo:
  6585. properties:
  6586. accountid:
  6587. description: 资金账户ID
  6588. type: integer
  6589. accountname:
  6590. description: 账户名称
  6591. type: string
  6592. balance:
  6593. description: 期初余额
  6594. type: number
  6595. capitalbalance:
  6596. description: 本金余额[外部子账户实际出入金余额]
  6597. type: number
  6598. closepl:
  6599. description: 今日平仓盈亏
  6600. type: number
  6601. creditdecrease:
  6602. description: 今日授信减少
  6603. type: number
  6604. creditincrease:
  6605. description: 今日授信增加
  6606. type: number
  6607. curdebt:
  6608. description: 期末欠款
  6609. type: number
  6610. currencyid:
  6611. description: 货币ID
  6612. type: integer
  6613. currentbalance:
  6614. description: 期末余额
  6615. type: number
  6616. freezecharge:
  6617. description: 手续费冻结
  6618. type: number
  6619. freezemargin:
  6620. description: 冻结保证金
  6621. type: number
  6622. fromaccountid:
  6623. description: 所属上级账户
  6624. type: integer
  6625. inamount:
  6626. description: 今日入金金额(包括三方入金)
  6627. type: number
  6628. ismain:
  6629. description: 是否母账号 0:不是母账户 1:是母账户
  6630. type: integer
  6631. mortgagecredit:
  6632. description: 授信金额
  6633. type: number
  6634. oridebt:
  6635. description: 期初欠款
  6636. type: number
  6637. orifreezecharge:
  6638. description: 期初手续费冻结
  6639. type: number
  6640. orifreezemargin:
  6641. description: 期初冻结保证金
  6642. type: number
  6643. orimortgagecredit:
  6644. description: 期初授信金额
  6645. type: number
  6646. oriothercredit:
  6647. description: 期初其它授信金额
  6648. type: number
  6649. oriotherfreezemargin:
  6650. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6651. type: number
  6652. orioutamountfreeze:
  6653. description: 期初出金冻结
  6654. type: number
  6655. oriusedmargin:
  6656. description: 期初占用保证金
  6657. type: number
  6658. othercredit:
  6659. description: 其它授信金额
  6660. type: number
  6661. othercreditdecrease:
  6662. description: 今日其它授信减少
  6663. type: number
  6664. othercreditincrease:
  6665. description: 今日其它授信增加
  6666. type: number
  6667. otherfreezemargin:
  6668. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6669. type: number
  6670. outamount:
  6671. description: 今日出金金额(包括三方出金)
  6672. type: number
  6673. outamountfreeze:
  6674. description: 出金冻结
  6675. type: number
  6676. outthreshold:
  6677. description: 出金阈值
  6678. type: number
  6679. parentaccountid:
  6680. description: 所属根账号
  6681. type: integer
  6682. paycharge:
  6683. description: 今日手续费支出
  6684. type: number
  6685. relateduserid:
  6686. description: 关联用户
  6687. type: integer
  6688. signstatus:
  6689. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6690. type: integer
  6691. sublevelpath:
  6692. description: 账号层级路径(逗号分隔,首尾加逗号)
  6693. type: string
  6694. taaccounttype:
  6695. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6696. type: integer
  6697. thirdinamount:
  6698. description: 今日三方入金
  6699. type: number
  6700. thirdoutamount:
  6701. description: 今日三方出金
  6702. type: number
  6703. tradestatus:
  6704. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6705. type: integer
  6706. transferamount:
  6707. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6708. type: number
  6709. usedmargin:
  6710. description: 占用保证金
  6711. type: number
  6712. userid:
  6713. description: 用户ID
  6714. type: integer
  6715. type: object
  6716. models.ErmcpTaAccountM:
  6717. properties:
  6718. accountid:
  6719. description: 账户id
  6720. type: integer
  6721. accountname:
  6722. description: 账户名称
  6723. type: string
  6724. currencyid:
  6725. description: 币种id
  6726. type: integer
  6727. fcid:
  6728. description: 期货公司id
  6729. type: integer
  6730. fcname:
  6731. description: 期货公司代码
  6732. type: string
  6733. hedgeaccountcode:
  6734. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6735. type: string
  6736. ismain:
  6737. description: 是否主账户 0-否 1-是
  6738. type: integer
  6739. parentaccountid:
  6740. description: 父账户id
  6741. type: integer
  6742. relateduserid:
  6743. description: 关联userid
  6744. type: integer
  6745. tradestatus:
  6746. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6747. type: integer
  6748. userid:
  6749. description: 用户id
  6750. type: integer
  6751. type: object
  6752. models.ErmcpTradeConfigTMP:
  6753. properties:
  6754. areauserid:
  6755. description: 所属机构
  6756. type: integer
  6757. basiccurrencyid:
  6758. description: 基本币种ID[汇率] - 目标币种
  6759. type: integer
  6760. mainaccountid:
  6761. description: 主账户ID
  6762. type: integer
  6763. modifierid:
  6764. description: 修改人
  6765. type: integer
  6766. remark:
  6767. description: 备注
  6768. type: string
  6769. tradeconfigtmpid:
  6770. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6771. type: integer
  6772. tradeconfigtmpname:
  6773. description: 交易配置模板名称
  6774. type: string
  6775. tradeconfigtmptype:
  6776. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6777. type: integer
  6778. updatetime:
  6779. description: 更新时间
  6780. type: string
  6781. type: object
  6782. models.Externalexchange:
  6783. properties:
  6784. autoid:
  6785. description: AutoID - SEQ_EXTERNALEXCHANGE
  6786. type: integer
  6787. exchangefullname:
  6788. description: 外部交易所全称
  6789. type: string
  6790. exexchangecode:
  6791. description: 外部交易所代码
  6792. type: string
  6793. exexchangename:
  6794. description: 外部交易所名称(简称)
  6795. type: string
  6796. ismarketprice:
  6797. description: 是否支持市价 - 0:不支持 1:支持
  6798. type: integer
  6799. quotegear:
  6800. description: 行情档位(1-10)
  6801. type: integer
  6802. showbrokerflag:
  6803. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6804. type: integer
  6805. updatetime:
  6806. description: 更新时间
  6807. type: string
  6808. required:
  6809. - autoid
  6810. type: object
  6811. models.Funcmenulist:
  6812. properties:
  6813. iconame:
  6814. description: 菜单图标
  6815. type: string
  6816. menutype:
  6817. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6818. type: integer
  6819. parentcode:
  6820. description: 上级资源代码
  6821. type: string
  6822. remark:
  6823. description: 备注
  6824. type: string
  6825. resourcecode:
  6826. description: 资源代码
  6827. type: string
  6828. resourcelevel:
  6829. description: 级别 1-一级 2-二级 3-三级 4-四级
  6830. type: integer
  6831. resourcename:
  6832. description: 资源名
  6833. type: string
  6834. sort:
  6835. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6836. type: integer
  6837. url:
  6838. description: URL
  6839. type: string
  6840. required:
  6841. - resourcecode
  6842. type: object
  6843. models.Goods:
  6844. properties:
  6845. agreeunit:
  6846. description: 合约单位
  6847. type: number
  6848. auditaccountid:
  6849. description: 审核操作员账号
  6850. type: integer
  6851. audittime:
  6852. description: 审核时间
  6853. type: string
  6854. cancelaccountid:
  6855. description: 注销操作员账号
  6856. type: integer
  6857. canceltime:
  6858. description: 注销时间
  6859. type: string
  6860. closepricemode:
  6861. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6862. type: integer
  6863. closepriceparam:
  6864. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6865. type: number
  6866. createtime:
  6867. description: 创建时间
  6868. type: string
  6869. creatorid:
  6870. description: 创建人
  6871. type: integer
  6872. currencyid:
  6873. description: 报价货币ID
  6874. type: integer
  6875. cutmode:
  6876. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6877. type: integer
  6878. decimalplace:
  6879. description: 报价小数位
  6880. type: integer
  6881. delistingdate:
  6882. description: 商品退市时间(状态:退市) -- 已作废
  6883. type: string
  6884. delistingmode:
  6885. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6886. type: integer
  6887. deliveryflag:
  6888. description: 交割标志 - 0:不可交割 1:可交割
  6889. type: integer
  6890. forceclosemode:
  6891. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6892. type: integer
  6893. forceclosevalue:
  6894. description: 定期强平参数 [收益权]
  6895. type: integer
  6896. goodscode:
  6897. description: 商品代码(内部)
  6898. type: string
  6899. goodscurrencyid:
  6900. description: 合约货币ID
  6901. type: integer
  6902. goodsgroupid:
  6903. description: 所属商品组ID
  6904. type: integer
  6905. goodsid:
  6906. description: 商品ID(自增ID SEQ_GOODS)
  6907. type: integer
  6908. goodsname:
  6909. description: 商品名称
  6910. type: string
  6911. goodsquotetype:
  6912. description: '合约报价类型: 1-直接报价 2-间接报价'
  6913. type: integer
  6914. goodsstatus:
  6915. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6916. type: integer
  6917. goodstradetype:
  6918. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6919. type: integer
  6920. goodunitid:
  6921. description: 报价单位ID
  6922. type: integer
  6923. hasquoter:
  6924. description: 是否有报价商 - 0:无报价商 1:有报价商
  6925. type: integer
  6926. hqprotecttime:
  6927. description: 行情保护时间(秒)
  6928. type: integer
  6929. innerdealmode:
  6930. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6931. type: integer
  6932. isbuylimited:
  6933. description: 是否限制建仓量 - 0:不限制 1:限制
  6934. type: integer
  6935. lasttradedate:
  6936. description: 最后交易日期(状态:待退市)
  6937. type: string
  6938. listingdate:
  6939. description: 交易开始日期
  6940. type: string
  6941. marketid:
  6942. description: 所属市场ID
  6943. type: integer
  6944. modifierid:
  6945. description: 修改人
  6946. type: integer
  6947. modifystatus:
  6948. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6949. type: integer
  6950. modifytime:
  6951. description: 修改时间
  6952. type: string
  6953. outerdealmode:
  6954. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6955. type: integer
  6956. outgoodscode:
  6957. description: 商品代码(外部)
  6958. type: string
  6959. qtydecimalplace:
  6960. description: 成交量小数位
  6961. type: integer
  6962. quotegear:
  6963. description: 行情档位(1-10)
  6964. type: integer
  6965. quoteminunit:
  6966. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6967. type: integer
  6968. quoteshowtype:
  6969. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6970. type: integer
  6971. quoteshowtypeinterval:
  6972. description: 行情报价间隔时间(秒)(成交价时为0)
  6973. type: integer
  6974. remark:
  6975. description: 备注
  6976. type: string
  6977. required:
  6978. - goodscode
  6979. - goodsid
  6980. - goodsname
  6981. - marketid
  6982. type: object
  6983. models.GoodsIDAndName:
  6984. properties:
  6985. goodscode:
  6986. description: 商品代码(内部)
  6987. type: string
  6988. goodsid:
  6989. description: 商品ID(自增ID SEQ_GOODS)
  6990. type: integer
  6991. goodsname:
  6992. description: 商品名称
  6993. type: string
  6994. marketid:
  6995. description: 所属市场ID
  6996. type: integer
  6997. required:
  6998. - goodscode
  6999. - goodsid
  7000. - goodsname
  7001. - marketid
  7002. type: object
  7003. models.Goodsgroup:
  7004. properties:
  7005. agreeunit:
  7006. description: 合约单位
  7007. type: number
  7008. canshort:
  7009. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7010. type: integer
  7011. closepricemode:
  7012. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7013. type: integer
  7014. closepriceparam:
  7015. description: 强平最新价浮动比例 - 方式为2时使用
  7016. type: number
  7017. createtime:
  7018. description: 创建时间
  7019. type: string
  7020. creatorid:
  7021. description: 创建人
  7022. type: integer
  7023. currencyid:
  7024. description: 报价货币ID
  7025. type: integer
  7026. decimalplace:
  7027. description: 报价小数位
  7028. type: integer
  7029. exercisetype:
  7030. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7031. type: integer
  7032. exexchangeid:
  7033. description: 外部交易所ID[通道交易]
  7034. type: integer
  7035. goodsgroupid:
  7036. description: 商品组ID(自增ID)
  7037. type: integer
  7038. goodsgroupname:
  7039. description: 商品组名称
  7040. type: string
  7041. goodsgroupstatus:
  7042. description: 商品组状态 - 1:正常 2:注销
  7043. type: integer
  7044. goodunitid:
  7045. description: 报价单位ID
  7046. type: integer
  7047. innerdealmode:
  7048. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7049. type: integer
  7050. isbuylimited:
  7051. description: 是否限制建仓量 - 0:不限制 1:限制
  7052. type: integer
  7053. marketid:
  7054. description: 所属市场ID
  7055. type: integer
  7056. modifierid:
  7057. description: 修改人
  7058. type: integer
  7059. modifytime:
  7060. description: 修改时间
  7061. type: string
  7062. outerdealmode:
  7063. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7064. type: integer
  7065. outergroupcode:
  7066. description: 外部商品组代码[通道交易]
  7067. type: string
  7068. premiumdecimalplace:
  7069. description: 权利金小数位[场外期权]
  7070. type: integer
  7071. premiumspreadalgorithm:
  7072. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7073. type: integer
  7074. premiumspreadvalue:
  7075. description: 权利金点差值[场外期权]
  7076. type: number
  7077. qtydecimalplace:
  7078. description: 成交量小数位
  7079. type: integer
  7080. quotegear:
  7081. description: 行情档位(1-10)
  7082. type: integer
  7083. quoteminunit:
  7084. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7085. type: integer
  7086. quoterid:
  7087. description: 报价商ID[场外期权]
  7088. type: integer
  7089. quotesourcegroupid:
  7090. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7091. type: integer
  7092. syncgoodsqty:
  7093. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7094. type: integer
  7095. required:
  7096. - goodsgroupid
  7097. - goodsgroupname
  7098. - goodsgroupstatus
  7099. - marketid
  7100. type: object
  7101. models.Goodssortbypreposition:
  7102. properties:
  7103. goodscode:
  7104. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7105. type: string
  7106. goodsgroupcode:
  7107. description: 品种代码
  7108. type: string
  7109. prepositionqty:
  7110. description: 昨持仓量
  7111. type: integer
  7112. sortindex:
  7113. description: 排序
  7114. type: integer
  7115. tradedate:
  7116. description: 交易日
  7117. type: string
  7118. updatetime:
  7119. description: 更新时间
  7120. type: string
  7121. required:
  7122. - goodscode
  7123. - tradedate
  7124. type: object
  7125. models.Hedgeinnerholderdetail:
  7126. properties:
  7127. accountid:
  7128. description: 账号ID
  7129. type: integer
  7130. buyorsell:
  7131. description: 方向 - 0:买 1:卖
  7132. type: integer
  7133. freezeqty:
  7134. description: 冻结数量 - 按单平使用
  7135. type: integer
  7136. goodsid:
  7137. description: 商品ID
  7138. type: integer
  7139. holderamount:
  7140. description: 持仓金额 [商品币种]
  7141. type: number
  7142. holderdays:
  7143. description: 剩余冻结天数
  7144. type: integer
  7145. holderprice:
  7146. description: 持仓价格
  7147. type: number
  7148. holderqty:
  7149. description: 持仓数量
  7150. type: integer
  7151. marketid:
  7152. description: 市场ID
  7153. type: integer
  7154. openprice:
  7155. description: 建仓价格
  7156. type: number
  7157. openqty:
  7158. description: 建仓数量
  7159. type: integer
  7160. parentaccountid:
  7161. description: 所属母账户
  7162. type: integer
  7163. releaseamount:
  7164. description: 释放持仓金额[商品币种]
  7165. type: number
  7166. tradeamount:
  7167. description: 成交金额[账户]
  7168. type: number
  7169. tradedate:
  7170. description: 交易日(yyyyMMdd)
  7171. type: string
  7172. tradeid:
  7173. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7174. type: string
  7175. tradetime:
  7176. description: 交易时间
  7177. type: string
  7178. required:
  7179. - buyorsell
  7180. - tradeid
  7181. type: object
  7182. models.Hedgemarketopenlog:
  7183. properties:
  7184. accountid:
  7185. description: 资金账号[外部母账户]
  7186. type: integer
  7187. fcname:
  7188. description: 期货公司名称
  7189. type: string
  7190. handlestatus:
  7191. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7192. type: integer
  7193. marketid:
  7194. description: 市场ID
  7195. type: integer
  7196. status:
  7197. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7198. type: integer
  7199. tradedate:
  7200. description: 交易日(yyyyMMdd)
  7201. type: string
  7202. updatetime:
  7203. description: 更新时间
  7204. type: string
  7205. required:
  7206. - accountid
  7207. type: object
  7208. models.HsbyBuyMyPayOrder:
  7209. properties:
  7210. agreeunit:
  7211. description: 合约单位
  7212. type: number
  7213. buyaccountid:
  7214. description: 买方账号ID[报价币种]
  7215. type: integer
  7216. buyorderid:
  7217. description: 买方委托单号
  7218. type: string
  7219. createtime:
  7220. description: 创建时间
  7221. type: string
  7222. currencysign:
  7223. description: 货币符号
  7224. type: string
  7225. decimalplace:
  7226. description: 报价小数位
  7227. type: integer
  7228. goodscode:
  7229. description: 商品代码(内部)
  7230. type: string
  7231. goodsid:
  7232. description: 商品ID
  7233. type: integer
  7234. goodsname:
  7235. description: 商品名称
  7236. type: string
  7237. marketid:
  7238. description: 市场ID
  7239. type: integer
  7240. offamount:
  7241. description: 优惠金额
  7242. type: number
  7243. originalamount:
  7244. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7245. type: number
  7246. payamount:
  7247. description: 支付金额 = TradeAmount + TradeCharge
  7248. type: number
  7249. payflag:
  7250. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7251. type: integer
  7252. paylimitedtime:
  7253. description: 支付期限
  7254. type: string
  7255. paytime:
  7256. description: 付款时间
  7257. type: string
  7258. picurls1:
  7259. description: 预售商品介绍图片[多张用逗号分隔]
  7260. type: string
  7261. picurls2:
  7262. description: 挂牌商品介绍图片[多张用逗号分隔]
  7263. type: string
  7264. sellaccountid:
  7265. description: 卖方账号ID[报价币种]
  7266. type: integer
  7267. sellorderid:
  7268. description: 卖方委托单号
  7269. type: string
  7270. tradeamount:
  7271. description: 成交金额
  7272. type: number
  7273. tradecharge:
  7274. description: 成交手续费(买方)
  7275. type: number
  7276. tradedate:
  7277. description: 交易日(yyyyMMdd)
  7278. type: string
  7279. tradeid:
  7280. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7281. type: string
  7282. trademode:
  7283. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7284. 21:竞拍-大宗式 22:受托竞价
  7285. type: integer
  7286. tradeprice:
  7287. description: 成交价格
  7288. type: number
  7289. tradeqty:
  7290. description: 成交数量
  7291. type: integer
  7292. vendorname1:
  7293. description: 预售商品供应商名称
  7294. type: string
  7295. vendorname2:
  7296. description: 挂牌商品供应商名称
  7297. type: string
  7298. required:
  7299. - goodscode
  7300. - goodsname
  7301. - tradeid
  7302. - trademode
  7303. type: object
  7304. models.HsbyBuyMyTradeDetail:
  7305. properties:
  7306. accountid:
  7307. description: 账户ID[报价币种]
  7308. type: integer
  7309. agreeunit:
  7310. description: 合约单位
  7311. type: number
  7312. amount:
  7313. description: 金额 = 价格 * 数量 * 合约单位
  7314. type: number
  7315. buyorsell:
  7316. description: 买卖 - 0:买 1:卖
  7317. type: integer
  7318. currencysign:
  7319. description: 货币符号
  7320. type: string
  7321. decimalplace:
  7322. description: 报价小数位
  7323. type: integer
  7324. goodscode:
  7325. description: 商品代码(内部)
  7326. type: string
  7327. goodsid:
  7328. description: 商品ID
  7329. type: integer
  7330. goodsname:
  7331. description: 商品名称
  7332. type: string
  7333. marketid:
  7334. description: 市场ID
  7335. type: integer
  7336. orderamount:
  7337. description: 委托金额
  7338. type: number
  7339. orderid:
  7340. description: 单号(成交单号)
  7341. type: string
  7342. picurls1:
  7343. description: 预售商品介绍图片[多张用逗号分隔]
  7344. type: string
  7345. picurls2:
  7346. description: 挂牌商品介绍图片[多张用逗号分隔]
  7347. type: string
  7348. price:
  7349. description: 价格
  7350. type: number
  7351. qty:
  7352. description: 数量
  7353. type: integer
  7354. time:
  7355. description: 时间
  7356. type: string
  7357. trademode:
  7358. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7359. 21:竞拍-大宗式 22:受托竞价
  7360. type: integer
  7361. vendorname1:
  7362. description: 预售商品供应商名称
  7363. type: string
  7364. vendorname2:
  7365. description: 挂牌商品供应商名称
  7366. type: string
  7367. required:
  7368. - accountid
  7369. - buyorsell
  7370. - goodscode
  7371. - goodsid
  7372. - goodsname
  7373. - marketid
  7374. - orderid
  7375. - qty
  7376. - time
  7377. - trademode
  7378. type: object
  7379. models.HsbyGoodsOrderDetail:
  7380. properties:
  7381. buyorsell:
  7382. description: 买卖 - 0:买 1:卖
  7383. type: integer
  7384. currencysign:
  7385. description: 货币符号
  7386. type: string
  7387. customername:
  7388. description: 客户名称(企业名称),已脱敏
  7389. type: string
  7390. enableqty:
  7391. description: 可用数量
  7392. type: integer
  7393. goodunit:
  7394. description: 报价单位
  7395. type: string
  7396. orderid:
  7397. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7398. type: string
  7399. orderprice:
  7400. description: 委托价格
  7401. type: number
  7402. ordertime:
  7403. description: 委托时间
  7404. type: string
  7405. required:
  7406. - buyorsell
  7407. - orderid
  7408. - ordertime
  7409. type: object
  7410. models.HsbyListingGoodsDetail:
  7411. properties:
  7412. agreeunit:
  7413. description: 合约单位
  7414. type: number
  7415. buymaxqty:
  7416. description: 购买上限 [71] - 0为不限
  7417. type: integer
  7418. currency:
  7419. description: 货币
  7420. type: string
  7421. currencysign:
  7422. description: 货币符号
  7423. type: string
  7424. decimalplace:
  7425. description: 报价小数位
  7426. type: integer
  7427. desccityid:
  7428. description: 目的地(市)ID
  7429. type: integer
  7430. descprovinceid:
  7431. description: 目的地(省)ID
  7432. type: integer
  7433. goodscode:
  7434. description: 商品代码(内部)
  7435. type: string
  7436. goodsdesc:
  7437. description: 商品详情
  7438. type: string
  7439. goodsid:
  7440. description: 商品ID(自增ID SEQ_GOODS)
  7441. type: integer
  7442. goodsname:
  7443. description: 商品名称
  7444. type: string
  7445. goodsprice:
  7446. description: 商品价格
  7447. type: number
  7448. hotindex:
  7449. description: 景点热度
  7450. type: integer
  7451. last:
  7452. description: 现价
  7453. type: number
  7454. limitdown:
  7455. description: 跌停价
  7456. type: number
  7457. limitup:
  7458. description: 涨停价
  7459. type: number
  7460. lotsize:
  7461. description: 手数最小变动单位
  7462. type: integer
  7463. marketid:
  7464. description: 所属市场ID
  7465. type: integer
  7466. picurls:
  7467. description: 介绍图片[多张用逗号分隔]
  7468. type: string
  7469. quoteminunit:
  7470. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7471. type: integer
  7472. stepvalue:
  7473. description: 价格最小变动单位
  7474. type: number
  7475. trademode:
  7476. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7477. 21:竞拍-大宗式 22:受托竞价
  7478. type: integer
  7479. vendorattr:
  7480. description: 供应商附件(多张,逗号分隔)
  7481. type: string
  7482. vendorname:
  7483. description: 供应商名称
  7484. type: string
  7485. vendorphone:
  7486. description: 供应商客服电话
  7487. type: string
  7488. videourls:
  7489. description: 介绍视频[多张用逗号分隔]
  7490. type: string
  7491. required:
  7492. - goodscode
  7493. - goodsid
  7494. - goodsname
  7495. - marketid
  7496. - trademode
  7497. type: object
  7498. models.HsbyMarketGoods:
  7499. properties:
  7500. accountid:
  7501. description: 账户ID[报价币种]
  7502. type: integer
  7503. agreeunit:
  7504. description: 合约单位
  7505. type: number
  7506. buyorsell:
  7507. description: 买卖 - 0:买 1:卖
  7508. type: integer
  7509. categoryid:
  7510. description: 类别ID(WRCATEGORY)
  7511. type: integer
  7512. currency:
  7513. description: 货币
  7514. type: string
  7515. currencysign:
  7516. description: 货币符号
  7517. type: string
  7518. customername:
  7519. description: 卖家名称
  7520. type: string
  7521. decimalplace:
  7522. description: 报价小数位
  7523. type: integer
  7524. goodscode:
  7525. description: 商品代码(内部)
  7526. type: string
  7527. goodsid:
  7528. description: 商品ID
  7529. type: integer
  7530. goodsname:
  7531. description: 商品名称
  7532. type: string
  7533. goodsprice:
  7534. description: 商品价格
  7535. type: number
  7536. hascoupon:
  7537. description: 是否可用优惠卷
  7538. type: boolean
  7539. hotindex:
  7540. description: 景点热度
  7541. type: integer
  7542. marketid:
  7543. description: 市场ID
  7544. type: integer
  7545. orderid:
  7546. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7547. type: string
  7548. orderprice:
  7549. description: 委托价格
  7550. type: number
  7551. orderstatus:
  7552. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7553. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7554. 16:成交失败违约(荷兰式竞拍专用)
  7555. type: integer
  7556. picurls:
  7557. description: 介绍图片[多张用逗号分隔]
  7558. type: string
  7559. quoteminunit:
  7560. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7561. type: integer
  7562. sellUserID:
  7563. description: 卖方UserID
  7564. type: integer
  7565. trademode:
  7566. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7567. 21:竞拍-大宗式 22:受托竞价
  7568. type: integer
  7569. videourls:
  7570. description: 介绍视频[多张用逗号分隔]
  7571. type: string
  7572. required:
  7573. - accountid
  7574. - buyorsell
  7575. - goodscode
  7576. - goodsid
  7577. - goodsname
  7578. - marketid
  7579. - orderid
  7580. - trademode
  7581. type: object
  7582. models.HsbyMarketGoodsDetail:
  7583. properties:
  7584. accountid:
  7585. description: 账户ID[报价币种]
  7586. type: integer
  7587. agreeunit:
  7588. description: 合约单位
  7589. type: number
  7590. buymaxqty:
  7591. description: 购买上限 [71] - 0为不限
  7592. type: integer
  7593. buyorsell:
  7594. description: 买卖 - 0:买 1:卖
  7595. type: integer
  7596. cancelqty:
  7597. description: 撤单数量
  7598. type: integer
  7599. categoryid:
  7600. description: 类别ID(WRCATEGORY)
  7601. type: integer
  7602. currency:
  7603. description: 货币
  7604. type: string
  7605. currencysign:
  7606. description: 货币符号
  7607. type: string
  7608. customername:
  7609. description: 卖家名称
  7610. type: string
  7611. decimalplace:
  7612. description: 报价小数位
  7613. type: integer
  7614. goodscode:
  7615. description: 商品代码(内部)
  7616. type: string
  7617. goodsdesc:
  7618. description: 商品详情
  7619. type: string
  7620. goodsid:
  7621. description: 商品ID
  7622. type: integer
  7623. goodsname:
  7624. description: 商品名称
  7625. type: string
  7626. goodsprice:
  7627. description: 商品价格
  7628. type: number
  7629. hotindex:
  7630. description: 景点热度
  7631. type: integer
  7632. lotsize:
  7633. description: 手数最小变动单位
  7634. type: integer
  7635. marketid:
  7636. description: 市场ID
  7637. type: integer
  7638. orderid:
  7639. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7640. type: string
  7641. orderprice:
  7642. description: 委托价格
  7643. type: number
  7644. orderqty:
  7645. description: 委托数量
  7646. type: integer
  7647. orderstatus:
  7648. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7649. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7650. 16:成交失败违约(荷兰式竞拍专用)
  7651. type: integer
  7652. picurls:
  7653. description: 介绍图片[多张用逗号分隔]
  7654. type: string
  7655. quoteminunit:
  7656. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7657. type: integer
  7658. sellUserID:
  7659. description: 卖方UserID
  7660. type: integer
  7661. trademode:
  7662. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7663. 21:竞拍-大宗式 22:受托竞价
  7664. type: integer
  7665. tradeqty:
  7666. description: 成交数量
  7667. type: integer
  7668. vendorattr:
  7669. description: 供应商附件(多张,逗号分隔)
  7670. type: string
  7671. vendorname:
  7672. description: 供应商名称
  7673. type: string
  7674. vendorphone:
  7675. description: 供应商客服电话
  7676. type: string
  7677. videourls:
  7678. description: 介绍视频[多张用逗号分隔]
  7679. type: string
  7680. required:
  7681. - accountid
  7682. - buyorsell
  7683. - goodscode
  7684. - goodsid
  7685. - goodsname
  7686. - marketid
  7687. - orderid
  7688. - orderqty
  7689. - trademode
  7690. type: object
  7691. models.HsbyMarketInfo:
  7692. properties:
  7693. marketid:
  7694. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7695. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7696. type: integer
  7697. marketname:
  7698. description: 市场名称
  7699. type: string
  7700. marketstatus:
  7701. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7702. type: integer
  7703. trademode:
  7704. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7705. 21:竞拍-大宗式 22:受托竞价
  7706. type: integer
  7707. required:
  7708. - marketid
  7709. - marketstatus
  7710. - trademode
  7711. type: object
  7712. models.HsbyMyGoods:
  7713. properties:
  7714. accountid:
  7715. description: 账号Id
  7716. type: integer
  7717. agreeunit:
  7718. description: 合约单位
  7719. type: number
  7720. buyaverageprice:
  7721. description: 持仓均价
  7722. type: number
  7723. buycurholderamount:
  7724. description: 买当前持仓总金额[商品币种]
  7725. type: number
  7726. buycurpositionqty:
  7727. description: 买当前持仓总数量
  7728. type: integer
  7729. buymaxqty:
  7730. description: 购买上限 [71] - 0为不限
  7731. type: integer
  7732. currencysign:
  7733. description: 货币符号
  7734. type: string
  7735. decimalplace:
  7736. description: 报价小数位
  7737. type: integer
  7738. enableqty:
  7739. description: 可用数量
  7740. type: integer
  7741. goodscode:
  7742. description: 商品代码(内部)
  7743. type: string
  7744. goodsid:
  7745. description: 商品Id
  7746. type: integer
  7747. goodsname:
  7748. description: 商品名称
  7749. type: string
  7750. goodsprice:
  7751. description: 商品价格
  7752. type: number
  7753. goodsstatus:
  7754. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7755. type: integer
  7756. last:
  7757. description: 现价(仅使用于挂牌点选)
  7758. type: number
  7759. limitdown:
  7760. description: 跌停价(仅使用于挂牌点选)
  7761. type: number
  7762. limitup:
  7763. description: 涨停价(仅使用于挂牌点选)
  7764. type: number
  7765. lotsize:
  7766. description: 手数最小变动单位
  7767. type: integer
  7768. marketid:
  7769. description: 所属市场ID
  7770. type: integer
  7771. picurls:
  7772. description: 介绍图片[多张用逗号分隔]
  7773. type: string
  7774. quoteminunit:
  7775. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7776. type: integer
  7777. stepvalue:
  7778. description: 价格最小变动单位
  7779. type: number
  7780. trademode:
  7781. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7782. 21:竞拍-大宗式 22:受托竞价
  7783. type: integer
  7784. required:
  7785. - accountid
  7786. - goodscode
  7787. - goodsid
  7788. - goodsname
  7789. - marketid
  7790. - trademode
  7791. type: object
  7792. models.HsbyMyPackage:
  7793. properties:
  7794. accountid:
  7795. description: 账户ID
  7796. type: integer
  7797. address:
  7798. description: 提货人详细地址
  7799. type: string
  7800. agreeunit:
  7801. description: 合约单位
  7802. type: number
  7803. amount:
  7804. description: 提货金额
  7805. type: number
  7806. auditer:
  7807. description: 审核人
  7808. type: integer
  7809. audittime:
  7810. description: 审核时间
  7811. type: string
  7812. averageprice:
  7813. description: 均价
  7814. type: number
  7815. cardnum:
  7816. description: 提货人证件号码
  7817. type: string
  7818. cardtypeid:
  7819. description: 提货人证件类型
  7820. type: integer
  7821. checkremark:
  7822. description: 审核备注
  7823. type: string
  7824. currencysign:
  7825. description: 货币符号
  7826. type: string
  7827. decimalplace:
  7828. description: 报价小数位
  7829. type: integer
  7830. goodscode:
  7831. description: 商品代码(内部)
  7832. type: string
  7833. goodsid:
  7834. description: 商品ID
  7835. type: integer
  7836. goodsname:
  7837. description: 商品名称
  7838. type: string
  7839. handlestatus:
  7840. description: 处理状态
  7841. type: integer
  7842. marketid:
  7843. description: 市场ID
  7844. type: integer
  7845. phonenum:
  7846. description: 提货人联系方式
  7847. type: string
  7848. picurls:
  7849. description: 介绍图片[多张用逗号分隔]
  7850. type: string
  7851. qty:
  7852. description: 提货数量
  7853. type: number
  7854. recivername:
  7855. description: 提货人姓名
  7856. type: string
  7857. reqtime:
  7858. description: 更新时间
  7859. type: string
  7860. takemode:
  7861. description: 提货方式 - 2:自提 3:配送
  7862. type: integer
  7863. takeorderid:
  7864. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7865. type: string
  7866. takeorderstatus:
  7867. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7868. type: integer
  7869. takeremark:
  7870. description: 提货备注
  7871. type: string
  7872. tradedate:
  7873. description: 交易日(yyyyMMdd)
  7874. type: string
  7875. trademode:
  7876. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7877. 21:竞拍-大宗式 22:受托竞价
  7878. type: integer
  7879. userid:
  7880. description: 用户ID
  7881. type: integer
  7882. vendorname:
  7883. description: 供应商名称
  7884. type: string
  7885. required:
  7886. - goodscode
  7887. - goodsname
  7888. - takeorderid
  7889. - trademode
  7890. type: object
  7891. models.HsbyPreGoods:
  7892. properties:
  7893. agreeunit:
  7894. description: 合约单位
  7895. type: number
  7896. currency:
  7897. description: 货币
  7898. type: string
  7899. currencysign:
  7900. description: 货币符号
  7901. type: string
  7902. decimalplace:
  7903. description: 报价小数位
  7904. type: integer
  7905. desccityid:
  7906. description: 目的地(市)
  7907. type: integer
  7908. descprovinceid:
  7909. description: 目的地(省)
  7910. type: integer
  7911. enableqty:
  7912. description: 剩余数量
  7913. type: integer
  7914. goodscode:
  7915. description: 商品代码(内部)
  7916. type: string
  7917. goodsid:
  7918. description: 商品ID(自增ID SEQ_GOODS)
  7919. type: integer
  7920. goodsname:
  7921. description: 商品名称
  7922. type: string
  7923. goodsstatus:
  7924. description: 商品状态- 2:未上市 3:上市
  7925. type: integer
  7926. lasttradedate:
  7927. description: 最后交易日期(状态:待退市)
  7928. type: string
  7929. listingdate:
  7930. description: 交易开始日期
  7931. type: string
  7932. marketid:
  7933. description: 所属市场ID
  7934. type: integer
  7935. picurls:
  7936. description: 介绍图片[多张用逗号分隔]
  7937. type: string
  7938. presaledqty:
  7939. description: 已预售量(预售结束时更新)
  7940. type: integer
  7941. presaleqty:
  7942. description: 预售数量
  7943. type: integer
  7944. quoteminunit:
  7945. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7946. type: integer
  7947. refprice:
  7948. description: 参考价格[一口价]
  7949. type: number
  7950. relatedgoodsid:
  7951. description: 关联交易合约ID
  7952. type: integer
  7953. trademode:
  7954. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7955. 21:竞拍-大宗式 22:受托竞价
  7956. type: integer
  7957. videourls:
  7958. description: 介绍视频[多张用逗号分隔]
  7959. type: string
  7960. required:
  7961. - goodscode
  7962. - goodsid
  7963. - goodsname
  7964. - marketid
  7965. - trademode
  7966. type: object
  7967. models.HsbyPreGoodsDetail:
  7968. properties:
  7969. agreeunit:
  7970. description: 合约单位
  7971. type: number
  7972. buymaxqty:
  7973. description: 购买上限 [71] - 0为不限
  7974. type: integer
  7975. currency:
  7976. description: 货币
  7977. type: string
  7978. currencysign:
  7979. description: 货币符号
  7980. type: string
  7981. customername:
  7982. description: 发行单位
  7983. type: string
  7984. decimalplace:
  7985. description: 报价小数位
  7986. type: integer
  7987. desccityid:
  7988. description: 目的地(市)ID
  7989. type: integer
  7990. descprovinceid:
  7991. description: 目的地(省)ID
  7992. type: integer
  7993. enableqty:
  7994. description: 剩余数量
  7995. type: integer
  7996. goodscode:
  7997. description: 商品代码(内部)
  7998. type: string
  7999. goodsdesc:
  8000. description: 商品详情
  8001. type: string
  8002. goodsid:
  8003. description: 商品ID(自增ID SEQ_GOODS)
  8004. type: integer
  8005. goodsname:
  8006. description: 商品名称
  8007. type: string
  8008. goodsstatus:
  8009. description: 商品状态- 2:未上市 3:上市
  8010. type: integer
  8011. goodunit:
  8012. description: 报价单位
  8013. type: string
  8014. lasttradedate:
  8015. description: 最后交易日期(状态:待退市)
  8016. type: string
  8017. listingdate:
  8018. description: 交易开始日期
  8019. type: string
  8020. lotsize:
  8021. description: 手数最小变动单位
  8022. type: integer
  8023. marketid:
  8024. description: 所属市场ID
  8025. type: integer
  8026. picurls:
  8027. description: 介绍图片[多张用逗号分隔]
  8028. type: string
  8029. presaledqty:
  8030. description: 已预售量(预售结束时更新)
  8031. type: integer
  8032. presaleqty:
  8033. description: 预售数量
  8034. type: integer
  8035. quoteminunit:
  8036. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8037. type: integer
  8038. refprice:
  8039. description: 参考价格[一口价]
  8040. type: number
  8041. relatedgoodsid:
  8042. description: 关联交易合约ID
  8043. type: integer
  8044. stepvalue:
  8045. description: 价格最小变动单位
  8046. type: number
  8047. trademode:
  8048. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8049. 21:竞拍-大宗式 22:受托竞价
  8050. type: integer
  8051. vendorattr:
  8052. description: 供应商附件(多张,逗号分隔)
  8053. type: string
  8054. vendorname:
  8055. description: 供应商名称
  8056. type: string
  8057. vendorphone:
  8058. description: 供应商客服电话
  8059. type: string
  8060. videourls:
  8061. description: 介绍视频[多张用逗号分隔]
  8062. type: string
  8063. required:
  8064. - goodscode
  8065. - goodsid
  8066. - goodsname
  8067. - marketid
  8068. - trademode
  8069. type: object
  8070. models.HsbySellCollectionOrder:
  8071. properties:
  8072. agreeunit:
  8073. description: 合约单位
  8074. type: number
  8075. buyaccountid:
  8076. description: 买方账号ID[报价币种]
  8077. type: integer
  8078. buyorderid:
  8079. description: 买方委托单号
  8080. type: string
  8081. createtime:
  8082. description: 创建时间
  8083. type: string
  8084. currencysign:
  8085. description: 货币符号
  8086. type: string
  8087. decimalplace:
  8088. description: 报价小数位
  8089. type: integer
  8090. goodscode:
  8091. description: 商品代码(内部)
  8092. type: string
  8093. goodsid:
  8094. description: 商品ID
  8095. type: integer
  8096. goodsname:
  8097. description: 商品名称
  8098. type: string
  8099. marketid:
  8100. description: 市场ID
  8101. type: integer
  8102. offamount:
  8103. description: 优惠金额
  8104. type: number
  8105. payamount:
  8106. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8107. type: number
  8108. payflag:
  8109. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8110. type: integer
  8111. paylimitedtime:
  8112. description: 支付期限
  8113. type: string
  8114. paytime:
  8115. description: 付款时间
  8116. type: string
  8117. picurls:
  8118. description: 商品介绍图片[多张用逗号分隔]
  8119. type: string
  8120. sellaccountid:
  8121. description: 卖方账号ID[报价币种]
  8122. type: integer
  8123. sellorderid:
  8124. description: 卖方委托单号
  8125. type: string
  8126. tradeamount:
  8127. description: 成交金额
  8128. type: number
  8129. tradecharge:
  8130. description: 成交手续费(买方)
  8131. type: number
  8132. tradedate:
  8133. description: 交易日(yyyyMMdd)
  8134. type: string
  8135. tradeid:
  8136. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8137. type: string
  8138. trademode:
  8139. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8140. 21:竞拍-大宗式 22:受托竞价
  8141. type: integer
  8142. tradeprice:
  8143. description: 成交价格
  8144. type: number
  8145. tradeqty:
  8146. description: 成交数量
  8147. type: integer
  8148. required:
  8149. - goodscode
  8150. - goodsname
  8151. - tradeid
  8152. - trademode
  8153. type: object
  8154. models.HsbySellMyDetail:
  8155. properties:
  8156. accountid:
  8157. description: 账户ID[报价币种]
  8158. type: integer
  8159. agreeunit:
  8160. description: 合约单位
  8161. type: number
  8162. buyorsell:
  8163. description: 买卖 - 0:买 1:卖
  8164. type: integer
  8165. currencysign:
  8166. description: 货币符号
  8167. type: string
  8168. decimalplace:
  8169. description: 报价小数位
  8170. type: integer
  8171. goodscode:
  8172. description: 商品代码(内部)
  8173. type: string
  8174. goodsid:
  8175. description: 商品ID
  8176. type: integer
  8177. goodsname:
  8178. description: 商品名称
  8179. type: string
  8180. marketid:
  8181. description: 市场ID
  8182. type: integer
  8183. orderid:
  8184. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8185. type: string
  8186. ordertype:
  8187. description: 单据类型:0 - 发布中, 1 - 已完成
  8188. type: integer
  8189. picurls:
  8190. description: 介绍图片[多张用逗号分隔]
  8191. type: string
  8192. price:
  8193. description: 价格
  8194. type: number
  8195. qty:
  8196. description: 数量
  8197. type: integer
  8198. time:
  8199. description: 时间
  8200. type: string
  8201. trademode:
  8202. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8203. 21:竞拍-大宗式 22:受托竞价
  8204. type: integer
  8205. vendorname:
  8206. description: 供应商名称
  8207. type: string
  8208. required:
  8209. - accountid
  8210. - buyorsell
  8211. - goodscode
  8212. - goodsid
  8213. - goodsname
  8214. - marketid
  8215. - orderid
  8216. - time
  8217. - trademode
  8218. type: object
  8219. models.HsbyTopGoods:
  8220. properties:
  8221. agreeunit:
  8222. description: 合约单位
  8223. type: number
  8224. currency:
  8225. description: 货币
  8226. type: string
  8227. currencysign:
  8228. description: 货币符号
  8229. type: string
  8230. decimalplace:
  8231. description: 报价小数位
  8232. type: integer
  8233. desccityid:
  8234. description: 目的地(市)
  8235. type: integer
  8236. descprovinceid:
  8237. description: 目的地(省)
  8238. type: integer
  8239. goodscode:
  8240. description: 商品代码(内部)
  8241. type: string
  8242. goodsid:
  8243. description: 商品ID(自增ID SEQ_GOODS)
  8244. type: integer
  8245. goodsname:
  8246. description: 商品名称
  8247. type: string
  8248. hotindex:
  8249. description: 景点热度
  8250. type: integer
  8251. last:
  8252. description: 现价
  8253. type: number
  8254. marketid:
  8255. description: 所属市场ID
  8256. type: integer
  8257. picurls:
  8258. description: 介绍图片[多张用逗号分隔]
  8259. type: string
  8260. quoteminunit:
  8261. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8262. type: integer
  8263. trademode:
  8264. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8265. 21:竞拍-大宗式 22:受托竞价
  8266. type: integer
  8267. videourls:
  8268. description: 介绍视频[多张用逗号分隔]
  8269. type: string
  8270. required:
  8271. - goodscode
  8272. - goodsid
  8273. - goodsname
  8274. - marketid
  8275. - trademode
  8276. type: object
  8277. models.HybsMyBuyOrderDetail:
  8278. properties:
  8279. accountid:
  8280. description: 账户ID[报价币种]
  8281. type: integer
  8282. agreeunit:
  8283. description: 合约单位
  8284. type: number
  8285. buyorsell:
  8286. description: 买卖 - 0:买 1:卖
  8287. type: integer
  8288. cancelqty:
  8289. description: 撤单数量
  8290. type: integer
  8291. currencysign:
  8292. description: 货币符号
  8293. type: string
  8294. decimalplace:
  8295. description: 报价小数位
  8296. type: integer
  8297. goodscode:
  8298. description: 商品代码(内部)
  8299. type: string
  8300. goodsid:
  8301. description: 商品ID
  8302. type: integer
  8303. goodsname:
  8304. description: 商品名称
  8305. type: string
  8306. listingselecttype:
  8307. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8308. type: integer
  8309. marketid:
  8310. description: 市场ID
  8311. type: integer
  8312. mybuystatus:
  8313. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8314. type: integer
  8315. orderamount:
  8316. description: 委托金额
  8317. type: number
  8318. orderid:
  8319. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8320. type: string
  8321. orderprice:
  8322. description: 委托价格
  8323. type: number
  8324. orderqty:
  8325. description: 委托数量
  8326. type: integer
  8327. orderstatus:
  8328. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8329. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8330. 16:成交失败违约(荷兰式竞拍专用)
  8331. type: integer
  8332. ordertime:
  8333. description: 委托时间
  8334. type: string
  8335. picurls1:
  8336. description: 预售商品介绍图片[多张用逗号分隔]
  8337. type: string
  8338. picurls2:
  8339. description: 挂牌商品介绍图片[多张用逗号分隔]
  8340. type: string
  8341. trademode:
  8342. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8343. 21:竞拍-大宗式 22:受托竞价
  8344. type: integer
  8345. tradeqty:
  8346. description: 成交数量
  8347. type: integer
  8348. vendorname1:
  8349. description: 预售商品供应商名称
  8350. type: string
  8351. vendorname2:
  8352. description: 挂牌商品供应商名称
  8353. type: string
  8354. required:
  8355. - accountid
  8356. - buyorsell
  8357. - goodscode
  8358. - goodsid
  8359. - goodsname
  8360. - marketid
  8361. - orderid
  8362. - orderqty
  8363. - ordertime
  8364. - trademode
  8365. type: object
  8366. models.Loginaccount:
  8367. properties:
  8368. canoutin:
  8369. description: 是否可出入金 - 0:不可 1:可
  8370. type: integer
  8371. clientroleid:
  8372. description: 终端角色ID
  8373. type: integer
  8374. haslogined:
  8375. description: 是否已登录 - 0:未登录 1:已登录
  8376. type: integer
  8377. hasupdatedpwd:
  8378. description: 是否已更改密码 - 0:未修改 1:已修改
  8379. type: integer
  8380. lastloginip:
  8381. description: 最新登录地址
  8382. type: string
  8383. lastloginmode:
  8384. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8385. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8386. type: integer
  8387. lastloginremark:
  8388. description: 最新登录描述
  8389. type: string
  8390. lastlogintime:
  8391. description: 最新登录时间
  8392. type: string
  8393. logincode:
  8394. description: 登录代码
  8395. type: string
  8396. loginfailnum:
  8397. description: 连续登录失败次数(登录成功时清零)
  8398. type: integer
  8399. loginid:
  8400. description: 登陆账号
  8401. type: integer
  8402. loginport:
  8403. description: 最新登录端口
  8404. type: integer
  8405. loginstatus:
  8406. description: 登录账号状态 1:正常 2:冻结 3:无效
  8407. type: integer
  8408. loginusertype:
  8409. description: 登录账号类型 - 1:投资者 2:机构交易员
  8410. type: integer
  8411. modifierid:
  8412. description: 修改人
  8413. type: integer
  8414. modifytime:
  8415. description: 修改时间
  8416. type: string
  8417. pwdwrongcount:
  8418. description: 密码错误次数
  8419. type: integer
  8420. taaccountrighttype:
  8421. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8422. type: integer
  8423. unfreezetime:
  8424. description: 账户解冻时间
  8425. type: string
  8426. userid:
  8427. description: 用户ID
  8428. type: integer
  8429. required:
  8430. - loginid
  8431. type: object
  8432. models.MainAccountInfo:
  8433. properties:
  8434. accountid:
  8435. description: 账号id
  8436. type: integer
  8437. accountname:
  8438. description: 账号名称(taaccount表中的名称)
  8439. type: string
  8440. appid:
  8441. description: AppID
  8442. type: string
  8443. authcode:
  8444. description: 授权码
  8445. type: string
  8446. brokerid:
  8447. description: 经纪商id
  8448. type: string
  8449. fcid:
  8450. description: 期货公司id
  8451. type: integer
  8452. fcname:
  8453. description: 期货公司代码
  8454. type: string
  8455. hedgeaccountcode:
  8456. description: 外部账号代码(主账号登录代码)
  8457. type: string
  8458. hedgeaccountpwd:
  8459. description: 密码
  8460. type: string
  8461. ismain:
  8462. description: 是否主账号
  8463. type: integer
  8464. relateduserid:
  8465. description: 关联用户id
  8466. type: integer
  8467. userid:
  8468. description: 关联用户id
  8469. type: integer
  8470. type: object
  8471. models.Market:
  8472. properties:
  8473. auctionwrtype:
  8474. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8475. type: integer
  8476. canacceptquote:
  8477. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8478. type: integer
  8479. cangoodsexercise:
  8480. description: '[期权]是否可现货行权- 0:否 1:是'
  8481. type: integer
  8482. cangoodsexercisetype:
  8483. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8484. type: integer
  8485. canmanualquotestrike:
  8486. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8487. type: integer
  8488. canmutistage:
  8489. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8490. type: integer
  8491. canpreexercise:
  8492. description: '[期权]是否可预申报- 0:否 1:是'
  8493. type: integer
  8494. clearinterval:
  8495. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8496. type: integer
  8497. contracttmp:
  8498. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8499. type: string
  8500. exchareaid:
  8501. description: 所属交易所,可以没有
  8502. type: integer
  8503. goodstype:
  8504. description: 商品类型 - 1:交易商品 2:仓单商品
  8505. type: integer
  8506. hasrebate:
  8507. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8508. type: integer
  8509. hastradecredit:
  8510. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8511. type: integer
  8512. haswr:
  8513. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8514. type: integer
  8515. isdeductmargin:
  8516. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8517. type: integer
  8518. isrecordsource:
  8519. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8520. type: integer
  8521. isreleasemargin:
  8522. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8523. type: integer
  8524. marginformula:
  8525. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8526. type: integer
  8527. marginformula2:
  8528. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8529. type: integer
  8530. marketid:
  8531. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8532. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8533. type: integer
  8534. marketname:
  8535. description: 市场名称
  8536. type: string
  8537. marketserviceid:
  8538. description: 市场服务ID
  8539. type: integer
  8540. marketstatus:
  8541. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8542. type: integer
  8543. markettype:
  8544. description: 市场类型- 1:非交易服务 2:交易服务
  8545. type: integer
  8546. matchermode:
  8547. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8548. type: integer
  8549. openmethod:
  8550. description: 开盘模式 - 0 自动 1手动
  8551. type: integer
  8552. otcuserid:
  8553. description: 场外期权做市商[场外期权]
  8554. type: integer
  8555. outersynctime:
  8556. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8557. type: string
  8558. pendingflag:
  8559. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8560. type: integer
  8561. pendingtime:
  8562. description: 待开市时间[通道交易-对冲](HH:mm)
  8563. type: string
  8564. performancetempid:
  8565. description: 履约计划模板ID - 作废
  8566. type: integer
  8567. premiumquotemode:
  8568. description: 权利金报价方式 - 1:自动 2:手动
  8569. type: integer
  8570. rebateratio:
  8571. description: 返利比率[竞价式]
  8572. type: number
  8573. reckonorder:
  8574. description: 结算顺序
  8575. type: integer
  8576. reckonpricealgorithm:
  8577. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8578. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8579. type: integer
  8580. reckonpriceparam:
  8581. description: 结算价参数
  8582. type: integer
  8583. reckontime:
  8584. description: 结算时间[通道交易-对冲](HH:mm)
  8585. type: string
  8586. roleprioritytype:
  8587. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8588. type: integer
  8589. selllistingauditflag:
  8590. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8591. type: integer
  8592. trademarkettype:
  8593. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8594. type: integer
  8595. trademode:
  8596. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8597. 21:竞拍-大宗式 22:受托竞价
  8598. type: integer
  8599. tradeproperty:
  8600. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8601. 8:场外期权
  8602. type: integer
  8603. tradetype:
  8604. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8605. type: integer
  8606. required:
  8607. - marketid
  8608. - marketstatus
  8609. - openmethod
  8610. - reckonpricealgorithm
  8611. - trademode
  8612. - tradeproperty
  8613. type: object
  8614. models.Marketrun:
  8615. properties:
  8616. afternexttradedate:
  8617. description: 下下交易日
  8618. type: string
  8619. clearquoteflag:
  8620. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8621. type: integer
  8622. lastreckondate:
  8623. description: 最新交易日(结算成功)
  8624. type: string
  8625. machinedate:
  8626. description: 机器时间
  8627. type: string
  8628. manualflag:
  8629. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8630. type: integer
  8631. marketid:
  8632. description: 市场ID
  8633. type: integer
  8634. nexttradedate:
  8635. description: 下一交易日
  8636. type: string
  8637. pretradedate:
  8638. description: 上一交易日
  8639. type: string
  8640. reckonflag:
  8641. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8642. type: integer
  8643. runstatus:
  8644. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8645. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8646. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8647. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8648. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8649. 62.今日免清算
  8650. type: integer
  8651. sectionid:
  8652. description: 时间段号[多时段时用]
  8653. type: integer
  8654. tradedate:
  8655. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8656. type: string
  8657. tradedate2:
  8658. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8659. type: string
  8660. updatetime:
  8661. description: 更新时间
  8662. type: string
  8663. required:
  8664. - marketid
  8665. - nexttradedate
  8666. - reckonflag
  8667. - runstatus
  8668. - tradedate
  8669. - tradedate2
  8670. type: object
  8671. models.Messageboard:
  8672. properties:
  8673. contactnum:
  8674. description: 联系电话
  8675. type: string
  8676. createtime:
  8677. description: 创建时间
  8678. type: string
  8679. message:
  8680. description: 留言信息
  8681. type: string
  8682. messageboardid:
  8683. description: 留言簿ID(SEQ_MessageBoard)
  8684. type: integer
  8685. userid:
  8686. description: 用户ID
  8687. type: integer
  8688. required:
  8689. - messageboardid
  8690. type: object
  8691. models.MyCoupon:
  8692. properties:
  8693. accountid:
  8694. description: 资金账户ID
  8695. type: integer
  8696. areauserid:
  8697. description: 所属机构
  8698. type: integer
  8699. conditionvalue:
  8700. description: 条件阈值(可为0)
  8701. type: number
  8702. couponcategroy:
  8703. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8704. type: integer
  8705. couponname:
  8706. description: 优惠券名称
  8707. type: string
  8708. coupontypeid:
  8709. description: 优惠券类型ID
  8710. type: string
  8711. couponvalue:
  8712. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8713. type: number
  8714. curfreezeqty:
  8715. description: 期末冻结数量
  8716. type: integer
  8717. curqty:
  8718. description: 期末数量
  8719. type: integer
  8720. isgeneral:
  8721. description: 是否通用券 - 0:否 1:是
  8722. type: integer
  8723. isunusable:
  8724. description: 是否不可用
  8725. type: boolean
  8726. limitedflag:
  8727. description: 是否指定商品 - 0:不限 1:限制
  8728. type: integer
  8729. limitedgoodsids:
  8730. description: 指定商品IDs[逗号分隔,前后加逗号]
  8731. type: string
  8732. orifreezeqty:
  8733. description: 期初冻结数量
  8734. type: integer
  8735. oriqty:
  8736. description: 期初数量
  8737. type: integer
  8738. reasontype:
  8739. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8740. type: integer
  8741. todaydecrease:
  8742. description: 今日减少
  8743. type: integer
  8744. todayincrease:
  8745. description: 今日增加
  8746. type: integer
  8747. userid:
  8748. description: 用户ID
  8749. type: integer
  8750. userscope:
  8751. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8752. type: string
  8753. required:
  8754. - accountid
  8755. - coupontypeid
  8756. type: object
  8757. models.MyCouponHold:
  8758. properties:
  8759. accountid:
  8760. description: 资金账户ID
  8761. type: integer
  8762. conditionvalue:
  8763. description: 条件阈值(可为0)
  8764. type: number
  8765. couponcategroy:
  8766. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8767. type: integer
  8768. couponholdid:
  8769. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8770. type: string
  8771. couponname:
  8772. description: 优惠券名称
  8773. type: string
  8774. coupontypeid:
  8775. description: 优惠券类型ID - SEQ_COUPONTYPE
  8776. type: string
  8777. couponvalue:
  8778. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8779. type: number
  8780. createtime:
  8781. description: 创建时间
  8782. type: string
  8783. enddate:
  8784. description: 结束日期
  8785. type: string
  8786. giveapplyid:
  8787. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8788. type: integer
  8789. holdstatus:
  8790. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8791. type: integer
  8792. isgeneral:
  8793. description: 是否通用券 - 0:否 1:是
  8794. type: integer
  8795. limitedflag:
  8796. description: 是否指定商品 - 0:不限 1:限制
  8797. type: integer
  8798. limitedgoodsids:
  8799. description: 指定商品IDs[逗号分隔]
  8800. type: string
  8801. qty:
  8802. description: 数量(按1平铺)
  8803. type: integer
  8804. startdate:
  8805. description: 开始日期
  8806. type: string
  8807. userid:
  8808. description: 用户ID
  8809. type: integer
  8810. userscope:
  8811. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8812. type: string
  8813. required:
  8814. - couponholdid
  8815. type: object
  8816. models.MyUsedCoupon:
  8817. properties:
  8818. accountid:
  8819. description: 资金账户ID(买方)
  8820. type: integer
  8821. conditionvalue:
  8822. description: 条件阈值(可为0)
  8823. type: number
  8824. couponcategroy:
  8825. description: 种类 - 1:现金券 2:折扣券
  8826. type: integer
  8827. couponname:
  8828. description: 优惠券名称
  8829. type: string
  8830. coupontypeid:
  8831. description: 优惠券类型ID(买方)
  8832. type: string
  8833. couponvalue:
  8834. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8835. type: number
  8836. createtime:
  8837. description: 创建时间
  8838. type: string
  8839. goodsid:
  8840. description: 商品ID
  8841. type: integer
  8842. handlestatus:
  8843. description: 处理状态
  8844. type: integer
  8845. marketid:
  8846. description: 市场ID
  8847. type: integer
  8848. offamount:
  8849. description: 优惠金额
  8850. type: number
  8851. orderid:
  8852. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8853. type: string
  8854. sellaccountid:
  8855. description: 资金账户ID(卖方)
  8856. type: integer
  8857. tradeamount:
  8858. description: 成交金额
  8859. type: number
  8860. tradeid:
  8861. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8862. type: string
  8863. usedqty:
  8864. description: 使用数量
  8865. type: integer
  8866. required:
  8867. - coupontypeid
  8868. - orderid
  8869. type: object
  8870. models.OperationPrimaryMenu:
  8871. properties:
  8872. Children:
  8873. description: 二级功能菜单
  8874. items:
  8875. $ref: '#/definitions/models.OperationSecondaryMenu'
  8876. type: array
  8877. Key:
  8878. description: 菜单KEY
  8879. type: string
  8880. Label:
  8881. description: 菜单标题
  8882. type: string
  8883. type: object
  8884. models.OperationSecondaryMenu:
  8885. properties:
  8886. Key:
  8887. description: 菜单KEY
  8888. type: string
  8889. Label:
  8890. description: 菜单标题
  8891. type: string
  8892. TabList:
  8893. description: 三级功能菜单
  8894. items:
  8895. $ref: '#/definitions/models.OperationTabMenu'
  8896. type: array
  8897. type: object
  8898. models.OperationTabMenu:
  8899. properties:
  8900. Key:
  8901. description: 菜单KEY
  8902. type: string
  8903. Label:
  8904. description: 菜单标题
  8905. type: string
  8906. type: object
  8907. models.QhjBankAccountSign:
  8908. properties:
  8909. accountcode:
  8910. description: 资金账号
  8911. type: string
  8912. accountname:
  8913. description: 资金账号对应的账号名(UserName)
  8914. type: string
  8915. accounttype:
  8916. description: 账户类型(UserType)
  8917. type: integer
  8918. applicationtime:
  8919. description: 最后一次更新的时间
  8920. type: string
  8921. applyexchticket:
  8922. description: 申请流水
  8923. type: string
  8924. auditid:
  8925. description: 审核人
  8926. type: integer
  8927. audittime:
  8928. description: 审核时间
  8929. type: string
  8930. bankaccountname:
  8931. description: 签约银行卡账号名
  8932. type: string
  8933. bankaccountno:
  8934. description: 银行卡号
  8935. type: string
  8936. bankaccounttype:
  8937. description: 银行账户类型 - 1-对私; 2-对公
  8938. type: integer
  8939. bankcardtype:
  8940. description: 银行卡类型
  8941. type: integer
  8942. bankchildaccount:
  8943. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  8944. type: string
  8945. bankcity:
  8946. description: 开户行城市
  8947. type: string
  8948. bankid:
  8949. description: 签约银行ID
  8950. type: string
  8951. bankprovince:
  8952. description: 开户行省份
  8953. type: string
  8954. branchbankid:
  8955. description: 签约银行支行号
  8956. type: string
  8957. branchbankname:
  8958. description: 签约银行支行名称
  8959. type: string
  8960. cardno:
  8961. description: 证件号码
  8962. type: string
  8963. cardtype:
  8964. description: 证件类型
  8965. type: string
  8966. currency:
  8967. description: 币种
  8968. type: string
  8969. cusbankid:
  8970. description: 托管银行编号
  8971. type: string
  8972. direct:
  8973. description: 方向(可以判断那方先发起的签约)
  8974. type: integer
  8975. exchticket:
  8976. description: 最后一次签约成功的流水号
  8977. type: string
  8978. extendinfo:
  8979. description: 扩展信息(JSON字符串)
  8980. type: string
  8981. mobilephone:
  8982. description: 手机号
  8983. type: string
  8984. netaddr:
  8985. description: 调转网址
  8986. type: string
  8987. relateduserid:
  8988. description: 关联使用者userid
  8989. type: integer
  8990. signstatus:
  8991. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8992. 10:审核拒绝 11:换签待审核
  8993. type: integer
  8994. updatetime:
  8995. description: 更新时间(签解约更新时间)
  8996. type: string
  8997. type: object
  8998. models.QhjBankInfo:
  8999. properties:
  9000. bankid:
  9001. description: 银行ID
  9002. type: string
  9003. bankname:
  9004. description: 银行名称
  9005. type: string
  9006. clearbankno:
  9007. description: 清算系统银行编号
  9008. type: string
  9009. orderindex:
  9010. description: 排序顺序
  9011. type: integer
  9012. status:
  9013. description: 状态 - 0:正常 1:注销
  9014. type: integer
  9015. type: object
  9016. models.QhjContract:
  9017. properties:
  9018. contractconfirmtime:
  9019. description: 合同确认时间(时间)
  9020. type: string
  9021. enumdicname:
  9022. description: 单位名称
  9023. type: string
  9024. goodscode:
  9025. description: 商品代码
  9026. type: string
  9027. goodsid:
  9028. description: 商品ID [5:融资单]
  9029. type: integer
  9030. goodsname:
  9031. description: 商品名称
  9032. type: string
  9033. goodunitid:
  9034. description: 商品单位id
  9035. type: integer
  9036. initmargin:
  9037. description: 初始保证金(首付款)
  9038. type: number
  9039. lenderamount:
  9040. description: 贷款金额(总额|订单总额)
  9041. type: number
  9042. marginratio:
  9043. description: 保证金比率(首付比例)
  9044. type: number
  9045. payamount:
  9046. description: 已付(已付货款)
  9047. type: number
  9048. recoveredmargin:
  9049. description: 已追缴保证金
  9050. type: number
  9051. remainamount:
  9052. description: 合同剩余金额(融资额)
  9053. type: number
  9054. scfcontractid:
  9055. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9056. type: integer
  9057. scfcontracttype:
  9058. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  9059. type: integer
  9060. totalinterest:
  9061. description: 已计总利息(利息)
  9062. type: number
  9063. tradeprice:
  9064. description: 成交价格(成本价格)
  9065. type: number
  9066. userid:
  9067. description: 用户ID
  9068. type: integer
  9069. username:
  9070. description: 用户名称
  9071. type: string
  9072. wrqty:
  9073. description: 仓单数量(数量)
  9074. type: integer
  9075. type: object
  9076. models.QhjContractLog:
  9077. properties:
  9078. amount:
  9079. description: 支付金额
  9080. type: number
  9081. amounttype:
  9082. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  9083. type: integer
  9084. logid:
  9085. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9086. type: string
  9087. remainamount:
  9088. description: 剩余货款
  9089. type: number
  9090. scfcontractid:
  9091. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9092. type: integer
  9093. updatetime:
  9094. description: 更新时间
  9095. type: string
  9096. type: object
  9097. models.QhjPickArea:
  9098. properties:
  9099. cityid:
  9100. description: 市
  9101. type: integer
  9102. cityname:
  9103. description: 城市名称
  9104. type: string
  9105. countryid:
  9106. description: 国家
  9107. type: integer
  9108. countryname:
  9109. description: 国家名称
  9110. type: string
  9111. districtid:
  9112. description: 地区
  9113. type: integer
  9114. districtname:
  9115. description: 地区名称
  9116. type: string
  9117. fromuserid:
  9118. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  9119. type: integer
  9120. fromusername:
  9121. description: 所属机构名称
  9122. type: string
  9123. provinceid:
  9124. description: 省
  9125. type: integer
  9126. provincename:
  9127. description: 省名称
  9128. type: string
  9129. suborgtype:
  9130. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  9131. type: integer
  9132. userid:
  9133. description: 机构用户ID 其他做市关系,都设置为 1
  9134. type: integer
  9135. username:
  9136. description: 机构用户名称(门店门称)
  9137. type: string
  9138. type: object
  9139. models.QhjPickGoods:
  9140. properties:
  9141. imageaddress:
  9142. description: 图片
  9143. type: string
  9144. modifierid:
  9145. description: 修改人
  9146. type: integer
  9147. modifiername:
  9148. description: 修改人名称
  9149. type: string
  9150. modifysrc:
  9151. description: 修改来源 - 1:管理端 2:终端
  9152. type: integer
  9153. pickupgoodsagreeunit:
  9154. description: 合约乘数
  9155. type: number
  9156. pickupgoodsdesc:
  9157. description: 描述
  9158. type: string
  9159. pickupgoodsid:
  9160. description: 提货商品ID
  9161. type: string
  9162. pickupgoodsname:
  9163. description: 提货商品名称
  9164. type: string
  9165. pickupgoodsstatus:
  9166. description: 状态 - 1:正常 2:停用 3:注销
  9167. type: integer
  9168. pickupgoodsunitid:
  9169. description: 单位ID
  9170. type: integer
  9171. preparedays:
  9172. description: 备货期(天)
  9173. type: integer
  9174. remark:
  9175. description: 备注
  9176. type: string
  9177. updatetime:
  9178. description: 更新时间
  9179. type: string
  9180. type: object
  9181. models.QhjRSTriggerLog:
  9182. properties:
  9183. accountid:
  9184. description: 用户资金账户
  9185. type: integer
  9186. accountname:
  9187. description: 账号名称(ACCOUNTID对应的名称)
  9188. type: string
  9189. currencyid:
  9190. description: 币种id
  9191. type: integer
  9192. currencyname:
  9193. description: 币种名称
  9194. type: string
  9195. enumdicname:
  9196. description: 单位名称
  9197. type: string
  9198. goodscode:
  9199. description: 定投商品代码
  9200. type: string
  9201. goodsid:
  9202. description: 定投商品ID
  9203. type: string
  9204. goodsname:
  9205. description: 定投商品名称
  9206. type: string
  9207. goodunitid:
  9208. description: 定投商品单位id
  9209. type: integer
  9210. logid:
  9211. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  9212. type: string
  9213. regularlycycle:
  9214. description: 定投频率 - 1:每周 2:每月
  9215. type: integer
  9216. regularlycyclevalue:
  9217. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  9218. type: string
  9219. regularlymode:
  9220. description: 定投方式 - 1:按数量 2:按金额
  9221. type: integer
  9222. regularlymodevalue:
  9223. description: 定投方式值 - 数量或金额
  9224. type: number
  9225. regularlystrategyid:
  9226. description: 定投策略ID
  9227. type: integer
  9228. retcode:
  9229. description: 错误码
  9230. type: string
  9231. tradeid:
  9232. description: 成交单ID
  9233. type: string
  9234. triggeramount:
  9235. description: 触发金额
  9236. type: number
  9237. triggerqty:
  9238. description: 触发数量
  9239. type: number
  9240. triggerstatus:
  9241. description: 触发状态 - 1:成功 2:失败
  9242. type: integer
  9243. triggertime:
  9244. description: 触发时间
  9245. type: string
  9246. triggertradedate:
  9247. description: 触发交易日
  9248. type: string
  9249. userid:
  9250. description: 所属用户ID
  9251. type: integer
  9252. username:
  9253. description: 用户名称(userid对应的名称)
  9254. type: string
  9255. type: object
  9256. models.QhjRStrategy:
  9257. properties:
  9258. accountid:
  9259. description: 用户资金账户
  9260. type: integer
  9261. accountname:
  9262. description: 账号名称(ACCOUNTID对应的名称)
  9263. type: string
  9264. currencyid:
  9265. description: 币种id
  9266. type: integer
  9267. currencyname:
  9268. description: 币种名称
  9269. type: string
  9270. enumdicname:
  9271. description: 单位名称
  9272. type: string
  9273. goodscode:
  9274. description: 定投商品代码
  9275. type: string
  9276. goodsid:
  9277. description: 定投商品ID
  9278. type: string
  9279. goodsname:
  9280. description: 定投商品名称
  9281. type: string
  9282. goodunitid:
  9283. description: 定投商品单位id
  9284. type: integer
  9285. lasteffecttradedate:
  9286. description: 最新生效交易日
  9287. type: string
  9288. laststoptradedate:
  9289. description: 最新暂停交易日
  9290. type: string
  9291. lasttriggertradedate:
  9292. description: 最新触发交易日
  9293. type: string
  9294. nexttriggeramount:
  9295. description: 下次触发金额
  9296. type: number
  9297. nexttriggerdate:
  9298. description: 下次触发日期
  9299. type: string
  9300. nexttriggerqty:
  9301. description: 下次触发数量 [按小数位放大值]
  9302. type: number
  9303. regularlycycle:
  9304. description: 定投频率 - 1:每周 2:每月
  9305. type: integer
  9306. regularlycyclevalue:
  9307. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  9308. type: string
  9309. regularlymode:
  9310. description: 定投方式 - 1:按数量 2:按金额
  9311. type: integer
  9312. regularlymodevalue:
  9313. description: 定投方式值 - 数量或金额
  9314. type: number
  9315. regularlystrategyid:
  9316. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  9317. type: integer
  9318. regularlystrategystatus:
  9319. description: 策略状态 - 1:正常 2:暂停 3:终止
  9320. type: integer
  9321. remark:
  9322. description: 备注
  9323. type: string
  9324. triggersuccesstimes:
  9325. description: 累计定投成功次数
  9326. type: string
  9327. triggertotalamount:
  9328. description: 累计定投金额(成功)
  9329. type: number
  9330. triggertotalqty:
  9331. description: 累计定投数量(成功) [按小数位放大值]
  9332. type: number
  9333. triggertotaltimes:
  9334. description: 累计定投总次数
  9335. type: string
  9336. updatesrc:
  9337. description: 更新来源 - 1:管理端 2:终端
  9338. type: integer
  9339. updatetime:
  9340. description: 更新时间
  9341. type: string
  9342. updatorid:
  9343. description: 更新人
  9344. type: string
  9345. userid:
  9346. description: 所属用户ID
  9347. type: integer
  9348. username:
  9349. description: 用户名称(userid对应的名称)
  9350. type: string
  9351. type: object
  9352. models.QhjReckonPriceLog:
  9353. properties:
  9354. goodsid:
  9355. description: 商品ID
  9356. type: integer
  9357. lastreckonprice:
  9358. description: 上日结算价
  9359. type: number
  9360. nextdnlimitprice:
  9361. description: 下个交易日跌停价
  9362. type: number
  9363. nexttrade:
  9364. description: 下个交易日
  9365. type: string
  9366. nextuplimitprice:
  9367. description: 下个交易日涨停价
  9368. type: number
  9369. reckonprice:
  9370. description: 今日结算价(定投价)
  9371. type: number
  9372. reckontime:
  9373. description: 结算时间
  9374. type: string
  9375. totalholderqty:
  9376. description: 总持仓数
  9377. type: integer
  9378. totalstock:
  9379. description: 总库存
  9380. type: integer
  9381. tradedate:
  9382. description: 交易日
  9383. type: string
  9384. updowncount:
  9385. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  9386. type: integer
  9387. updownflag:
  9388. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  9389. type: integer
  9390. updownrate:
  9391. description: 今日涨跌幅
  9392. type: number
  9393. updownrate_2d:
  9394. description: 连续两日涨跌幅
  9395. type: number
  9396. updownrate_3d:
  9397. description: 连续三日涨跌幅
  9398. type: number
  9399. type: object
  9400. models.QhjTradeGoodsPickup:
  9401. properties:
  9402. accountid:
  9403. description: 账户ID
  9404. type: integer
  9405. address:
  9406. description: 提货人详细地址
  9407. type: string
  9408. amount:
  9409. description: 提货金额
  9410. type: number
  9411. artradedate:
  9412. description: 自动收货交易日(yyyyMMdd)
  9413. type: string
  9414. auditer:
  9415. description: 审核人
  9416. type: integer
  9417. auditsrc:
  9418. description: 更新来源 - 1:管理端 2:终端
  9419. type: integer
  9420. audittime:
  9421. description: 审核时间(发货时间)
  9422. type: string
  9423. audittradedate:
  9424. description: 审核交易日(yyyyMMdd)
  9425. type: string
  9426. cardnum:
  9427. description: 提货人证件号码
  9428. type: string
  9429. cardtypeid:
  9430. description: 提货人证件类型
  9431. type: integer
  9432. checkremark:
  9433. description: 审核备注
  9434. type: string
  9435. cityid:
  9436. description: 市
  9437. type: integer
  9438. cityname:
  9439. description: 城市名称
  9440. type: string
  9441. countryid:
  9442. description: 国家
  9443. type: integer
  9444. countryname:
  9445. description: 国家名称
  9446. type: string
  9447. districtid:
  9448. description: 地区
  9449. type: integer
  9450. districtname:
  9451. description: 地区名称
  9452. type: string
  9453. enumdicname:
  9454. description: 单位名称(提货商品)
  9455. type: string
  9456. expresscompany:
  9457. description: 物流公司
  9458. type: string
  9459. expressnum:
  9460. description: 物流单号
  9461. type: string
  9462. goodsagreeunit:
  9463. description: 交易商品乘数
  9464. type: number
  9465. goodscode:
  9466. description: 商品代码
  9467. type: string
  9468. goodsid:
  9469. description: 商品ID
  9470. type: integer
  9471. goodsname:
  9472. description: 商品名称
  9473. type: string
  9474. goodsqty:
  9475. description: 交易商品手数(69模式按成交量小数位放大取整)
  9476. type: number
  9477. handlestatus:
  9478. description: 处理状态
  9479. type: integer
  9480. marketid:
  9481. description: 市场ID
  9482. type: integer
  9483. phonenum:
  9484. description: 提货人联系方式
  9485. type: string
  9486. pickupgoodsagreeunit:
  9487. description: 提货商品合约乘数
  9488. type: number
  9489. pickupgoodsid:
  9490. description: 提货商品ID
  9491. type: string
  9492. pickupgoodsname:
  9493. description: 提货商品名称
  9494. type: string
  9495. pickupgoodsqty:
  9496. description: 提货商品手数(数量)
  9497. type: number
  9498. pickupgoodsunitid:
  9499. description: 单位ID(提货商品)
  9500. type: integer
  9501. pickupratio:
  9502. description: 提货系数
  9503. type: number
  9504. preparedays:
  9505. description: 备货期(天)-提货单明细表
  9506. type: integer
  9507. provinceid:
  9508. description: 省
  9509. type: integer
  9510. provincename:
  9511. description: 省名称
  9512. type: string
  9513. qty:
  9514. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  9515. type: number
  9516. recivername:
  9517. description: 提货人姓名
  9518. type: string
  9519. reqtime:
  9520. description: 提货申请时间
  9521. type: string
  9522. storeuserid:
  9523. description: 门店用户ID (千海金)
  9524. type: integer
  9525. storeusername:
  9526. description: 门店用户名称
  9527. type: string
  9528. takemode:
  9529. description: 提货方式 - 2:自提 3:配送(邮寄)
  9530. type: integer
  9531. takeorderid:
  9532. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9533. type: integer
  9534. takeorderstatus:
  9535. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  9536. 7:已拒绝 8:已撤销
  9537. type: integer
  9538. takeremark:
  9539. description: 提货备注
  9540. type: string
  9541. tradedate:
  9542. description: 交易日(yyyyMMdd)
  9543. type: string
  9544. updatetime:
  9545. description: 更新时间
  9546. type: string
  9547. userid:
  9548. description: 用户ID
  9549. type: integer
  9550. username:
  9551. description: 用户名称
  9552. type: string
  9553. type: object
  9554. models.QueryErrorInfosRsp:
  9555. properties:
  9556. description:
  9557. description: 异常描述
  9558. type: string
  9559. errorcode:
  9560. description: 异常代码
  9561. type: string
  9562. errorid:
  9563. description: 异常ID
  9564. type: integer
  9565. modulecode:
  9566. description: 所属模块
  9567. type: string
  9568. operatecode:
  9569. description: 所属操作
  9570. type: string
  9571. rownumber:
  9572. description: 行号
  9573. type: string
  9574. required:
  9575. - errorid
  9576. type: object
  9577. models.QueryHedgeOrderDetailRsp:
  9578. properties:
  9579. accountid:
  9580. description: 账户ID
  9581. type: integer
  9582. buyorsell:
  9583. description: 买卖 - 0:买 1:卖
  9584. type: integer
  9585. cancellogincode:
  9586. description: 撤单人
  9587. type: string
  9588. channelbuildtype:
  9589. description: 开平标志 - 0:无 1:建仓 2:平仓
  9590. type: integer
  9591. channelinnerorderstatus:
  9592. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  9593. 9:全部成交
  9594. type: integer
  9595. channeloperatetype:
  9596. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  9597. type: integer
  9598. closetype:
  9599. description: 平仓方式 - 0:无 1:平今 2:平昨
  9600. type: integer
  9601. curexchangerate:
  9602. description: 当前汇率
  9603. type: number
  9604. exchangefullname:
  9605. description: 外部交易所全称
  9606. type: string
  9607. goodscode:
  9608. description: 商品代码(内部)
  9609. type: string
  9610. goodsid:
  9611. description: 商品ID
  9612. type: integer
  9613. goodsname:
  9614. description: 商品名称
  9615. type: string
  9616. marketid:
  9617. description: 市场ID
  9618. type: integer
  9619. openfreezemargin:
  9620. description: 冻结保证金(冻结交易金额)
  9621. type: number
  9622. orderid:
  9623. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9624. type: string
  9625. orderlogincode:
  9626. description: 委托人
  9627. type: string
  9628. orderprice:
  9629. description: 委托价格(账户)
  9630. type: number
  9631. orderqty:
  9632. description: 委托数量
  9633. type: integer
  9634. ordertime:
  9635. description: 委托时间
  9636. type: string
  9637. pricemode:
  9638. description: '取价方式 - 1:市价 2: 限价'
  9639. type: integer
  9640. tradedate:
  9641. description: 交易日(yyyyMMdd)
  9642. type: string
  9643. tradeqty:
  9644. description: 成交数量
  9645. type: integer
  9646. type: object
  9647. models.QueryHedgeTradeDetailRsp:
  9648. properties:
  9649. accountid:
  9650. description: 账号ID
  9651. type: integer
  9652. buyorsell:
  9653. description: 方向 - 0:买 1:卖
  9654. type: integer
  9655. channelbuildtype:
  9656. description: 委托单据类型 0:无 1:建仓 2:平仓
  9657. type: integer
  9658. closecharge:
  9659. description: 平仓手续费(账户)
  9660. type: number
  9661. closecharge2:
  9662. description: 平仓手续费(商品)
  9663. type: number
  9664. closepl:
  9665. description: 平仓盈亏(账户)
  9666. type: number
  9667. closepl2:
  9668. description: 平仓盈亏(商品)
  9669. type: number
  9670. closepl3:
  9671. description: 平仓盈亏(账户)(逐笔)
  9672. type: number
  9673. closepl4:
  9674. description: 平仓盈亏(商品)(逐笔)
  9675. type: number
  9676. closetype:
  9677. description: 平仓方式 - 0:无 1:平今 2:平昨
  9678. type: integer
  9679. curexchangerate:
  9680. description: 当前汇率
  9681. type: number
  9682. exchangefullname:
  9683. description: 外部交易所全称
  9684. type: string
  9685. goodscode:
  9686. description: 商品代码(内部)
  9687. type: string
  9688. goodsid:
  9689. description: 商品ID
  9690. type: integer
  9691. goodsname:
  9692. description: 商品名称
  9693. type: string
  9694. marketid:
  9695. description: 市场ID
  9696. type: integer
  9697. opencharge:
  9698. description: 建仓手续费(账户)
  9699. type: number
  9700. opencharge2:
  9701. description: 建仓手续费(商品)
  9702. type: number
  9703. orderid:
  9704. description: 委托单号
  9705. type: string
  9706. orderlogincode:
  9707. description: 委托人
  9708. type: string
  9709. tradeamount:
  9710. description: 成交金额(账户)
  9711. type: number
  9712. tradedate:
  9713. description: 交易日(yyyyMMdd)
  9714. type: string
  9715. tradeid:
  9716. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9717. type: string
  9718. tradeprice:
  9719. description: 成交价格
  9720. type: number
  9721. tradeqty:
  9722. description: 成交数量
  9723. type: integer
  9724. tradetime:
  9725. description: 成交时间
  9726. type: string
  9727. tradetype:
  9728. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9729. type: integer
  9730. type: object
  9731. models.QuotePrimaryMenu:
  9732. properties:
  9733. Index:
  9734. description: 序号
  9735. type: integer
  9736. Key:
  9737. description: 键名
  9738. type: string
  9739. Name:
  9740. description: 菜单名称
  9741. type: string
  9742. SubMenus:
  9743. description: 子菜单
  9744. items:
  9745. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9746. type: array
  9747. SubTitleType:
  9748. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9749. type: integer
  9750. TradeModes:
  9751. description: 包含市场交易类型
  9752. type: string
  9753. type: object
  9754. models.QuoteSecondaryMenu:
  9755. properties:
  9756. ExExchangeCode:
  9757. description: 外部交易所代码
  9758. type: string
  9759. ExExchangeID:
  9760. description: 外部交易所ID
  9761. type: integer
  9762. GoodsGroupIDs:
  9763. description: 商品组ID列表
  9764. items:
  9765. type: integer
  9766. type: array
  9767. Index:
  9768. description: 序号
  9769. type: integer
  9770. MarketID:
  9771. description: 市场ID
  9772. type: integer
  9773. MenuTitle:
  9774. description: 菜单标题(市场名称或外部交易所名称)
  9775. type: string
  9776. TradeMode:
  9777. description: 交易模式
  9778. type: integer
  9779. type: object
  9780. models.SearchGoods:
  9781. properties:
  9782. goodscode:
  9783. description: 商品代码(内部)
  9784. type: string
  9785. goodsid:
  9786. description: 商品ID(自增ID SEQ_GOODS)
  9787. type: integer
  9788. goodsname:
  9789. description: 商品名称
  9790. type: string
  9791. marketid:
  9792. description: 所属市场ID
  9793. type: integer
  9794. marketname:
  9795. description: 市场名称
  9796. type: string
  9797. trademode:
  9798. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9799. 21:竞拍-大宗式 22:受托竞价
  9800. type: integer
  9801. required:
  9802. - goodscode
  9803. - goodsid
  9804. - goodsname
  9805. - marketid
  9806. - trademode
  9807. type: object
  9808. models.Systemparam:
  9809. properties:
  9810. loginid:
  9811. description: 更新用户账号,登录账号
  9812. type: string
  9813. modifyflag:
  9814. description: 修改标志0 不允许修改 1 允许修改
  9815. type: integer
  9816. paramcode:
  9817. description: 参数代码
  9818. type: string
  9819. paramname:
  9820. description: 参数名
  9821. type: string
  9822. paramtype:
  9823. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9824. type: integer
  9825. paramvalue:
  9826. description: 参数值
  9827. type: string
  9828. paramvalue2:
  9829. description: 参数值(CLOB)
  9830. type: string
  9831. regexpress:
  9832. description: 正则表达式
  9833. type: string
  9834. remark:
  9835. description: 备注
  9836. type: string
  9837. serverip:
  9838. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9839. type: string
  9840. showflag:
  9841. description: 是否显示0 不显示 1 显示
  9842. type: integer
  9843. updatetime:
  9844. description: 更新时间
  9845. type: string
  9846. userid:
  9847. description: 更新用户ID
  9848. type: integer
  9849. required:
  9850. - paramcode
  9851. type: object
  9852. models.Szdz3convertconfig:
  9853. properties:
  9854. canin:
  9855. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9856. type: integer
  9857. canout:
  9858. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9859. type: integer
  9860. converttype:
  9861. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9862. 6:交易转花生米(不设置)
  9863. type: integer
  9864. createtime:
  9865. description: 创建时间
  9866. type: string
  9867. creatorid:
  9868. description: 创建人
  9869. type: integer
  9870. daymaxvalue:
  9871. description: 当日最大转入限制
  9872. type: number
  9873. freezedays:
  9874. description: 冻结天数 [5:花生米转交易]
  9875. type: integer
  9876. innergoodsid:
  9877. description: 内部商品ID[交易]
  9878. type: integer
  9879. inratio:
  9880. description: 目标值
  9881. type: integer
  9882. modifierid:
  9883. description: 修改人
  9884. type: integer
  9885. modifytime:
  9886. description: 修改时间
  9887. type: string
  9888. outergoodscode:
  9889. description: 外部商品代码[JD\PD]
  9890. type: string
  9891. outratio:
  9892. description: 源值
  9893. type: integer
  9894. pddecimalplace:
  9895. description: PD小数位
  9896. type: integer
  9897. timemaxvalue:
  9898. description: 单次最大转入限制
  9899. type: number
  9900. timeminvalue:
  9901. description: 单次最小转入限制
  9902. type: number
  9903. required:
  9904. - converttype
  9905. - innergoodsid
  9906. - outergoodscode
  9907. type: object
  9908. models.Szdz3searchwhitelist:
  9909. properties:
  9910. createtime:
  9911. description: 创建时间
  9912. type: string
  9913. creatorid:
  9914. description: 创建人
  9915. type: integer
  9916. modifierid:
  9917. description: 修改人
  9918. type: integer
  9919. modifytime:
  9920. description: 修改时间
  9921. type: string
  9922. userid:
  9923. description: 用户ID
  9924. type: integer
  9925. required:
  9926. - userid
  9927. type: object
  9928. models.Taaccount:
  9929. properties:
  9930. accountflag:
  9931. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9932. type: integer
  9933. accountid:
  9934. description: 资金账户ID
  9935. type: integer
  9936. accountname:
  9937. description: 账户名称
  9938. type: string
  9939. balance:
  9940. description: 期初余额
  9941. type: number
  9942. capitalbalance:
  9943. description: 本金余额[外部子账户实际出入金余额]
  9944. type: number
  9945. changeflag:
  9946. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9947. type: integer
  9948. changetime:
  9949. description: 账户状态变更时间
  9950. type: string
  9951. closepl:
  9952. description: 今日平仓盈亏
  9953. type: number
  9954. creditdecrease:
  9955. description: 今日授信减少
  9956. type: number
  9957. creditincrease:
  9958. description: 今日授信增加
  9959. type: number
  9960. currencyid:
  9961. description: 货币ID
  9962. type: integer
  9963. currentbalance:
  9964. description: 期末余额
  9965. type: number
  9966. freezecharge:
  9967. description: 手续费冻结
  9968. type: number
  9969. freezemargin:
  9970. description: 冻结保证金
  9971. type: number
  9972. fromaccountid:
  9973. description: 所属上级账户
  9974. type: integer
  9975. inamount:
  9976. description: 今日入金金额(包括三方入金)
  9977. type: number
  9978. ismain:
  9979. description: 是否母账号 0:不是母账户 1:是母账户
  9980. type: integer
  9981. ismarketaccount:
  9982. description: 是否机构接单账号 0:不是 1:是
  9983. type: integer
  9984. isreckonaccount:
  9985. description: 是否机构分润账号 0:不是 1:是
  9986. type: integer
  9987. mortgagecredit:
  9988. description: 授信金额
  9989. type: number
  9990. orifreezecharge:
  9991. description: 期初手续费冻结
  9992. type: number
  9993. orifreezemargin:
  9994. description: 期初冻结保证金
  9995. type: number
  9996. orimortgagecredit:
  9997. description: 期初授信金额
  9998. type: number
  9999. oriothercredit:
  10000. description: 期初其它授信金额
  10001. type: number
  10002. oriotherfreezemargin:
  10003. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  10004. type: number
  10005. orioutamountfreeze:
  10006. description: 期初出金冻结
  10007. type: number
  10008. oriusedmargin:
  10009. description: 期初占用保证金
  10010. type: number
  10011. othercredit:
  10012. description: 其它授信金额
  10013. type: number
  10014. othercreditdecrease:
  10015. description: 今日其它授信减少
  10016. type: number
  10017. othercreditincrease:
  10018. description: 今日其它授信增加
  10019. type: number
  10020. otherfreezemargin:
  10021. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  10022. type: number
  10023. otherincome:
  10024. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  10025. type: number
  10026. otherpay:
  10027. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  10028. type: number
  10029. outamount:
  10030. description: 今日出金金额(包括三方出金)
  10031. type: number
  10032. outamountfreeze:
  10033. description: 出金冻结
  10034. type: number
  10035. outthreshold:
  10036. description: 出金阈值
  10037. type: number
  10038. parentaccountid:
  10039. description: 所属根账号
  10040. type: integer
  10041. paycharge:
  10042. description: 今日手续费支出
  10043. type: number
  10044. relatedaccountstatus:
  10045. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  10046. type: integer
  10047. relateduserid:
  10048. description: 关联用户
  10049. type: integer
  10050. serivcegroup:
  10051. description: 服务分组
  10052. type: integer
  10053. signstatus:
  10054. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10055. type: integer
  10056. sublevelpath:
  10057. description: 账号层级路径(逗号分隔,首尾加逗号)
  10058. type: string
  10059. taaccounttype:
  10060. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  10061. type: integer
  10062. thirdinamount:
  10063. description: 今日三方入金
  10064. type: number
  10065. thirdoutamount:
  10066. description: 今日三方出金
  10067. type: number
  10068. tradestatus:
  10069. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  10070. type: integer
  10071. tradestatuschangetime:
  10072. description: 激活时间
  10073. type: string
  10074. transferamount:
  10075. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  10076. type: number
  10077. usedmargin:
  10078. description: 占用保证金
  10079. type: number
  10080. userid:
  10081. description: 用户ID
  10082. type: integer
  10083. required:
  10084. - accountid
  10085. - userid
  10086. type: object
  10087. models.Tablecolumnconfig:
  10088. properties:
  10089. aligntype:
  10090. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  10091. type: integer
  10092. autoid:
  10093. description: AutoID
  10094. type: integer
  10095. columnfield:
  10096. description: 列字段
  10097. type: string
  10098. columntitle:
  10099. description: 列Title
  10100. type: string
  10101. columnwidth:
  10102. description: 列宽
  10103. type: string
  10104. formatterstring:
  10105. description: 格式化字符
  10106. type: string
  10107. formattertype:
  10108. description: 格式化类型
  10109. type: string
  10110. groupname:
  10111. description: 表头分组名称
  10112. type: string
  10113. isshow:
  10114. description: 是否显示 - 0:不显示 1:显示
  10115. type: integer
  10116. needsummary:
  10117. description: 是否需要汇总 - 0:不需要 1:需要
  10118. type: integer
  10119. orderindex:
  10120. description: 顺序
  10121. type: integer
  10122. remark:
  10123. description: 备注
  10124. type: string
  10125. summarytype:
  10126. description: 汇总类型 - 1:加总 2:最后一个
  10127. type: integer
  10128. tablekey:
  10129. description: 列表Key
  10130. type: string
  10131. required:
  10132. - autoid
  10133. type: object
  10134. models.UserCollectConfig:
  10135. properties:
  10136. accountstatus:
  10137. description: 账户状态 - 1:正常 2:停用 3:注销
  10138. type: integer
  10139. collectaccountname:
  10140. description: 收款人账户名称
  10141. type: string
  10142. collectaccountno:
  10143. description: 收款人账户
  10144. type: string
  10145. collectbankname:
  10146. description: 收款人开户行
  10147. type: string
  10148. collectbranchbankname:
  10149. description: 收款人开户支行
  10150. type: string
  10151. collectconfigid:
  10152. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  10153. type: string
  10154. remark:
  10155. description: 备注
  10156. type: string
  10157. userid:
  10158. description: 收款人用户ID
  10159. type: integer
  10160. type: object
  10161. models.UserReceiveInfo:
  10162. properties:
  10163. address:
  10164. description: 提货人详细地址
  10165. type: string
  10166. autoid:
  10167. description: AutoID
  10168. type: integer
  10169. cardnum:
  10170. description: 证件号码(加密存储)
  10171. type: string
  10172. cardtypeid:
  10173. description: 证件类型
  10174. type: integer
  10175. cityid:
  10176. description: 市
  10177. type: integer
  10178. cityname:
  10179. description: 城市名称
  10180. type: string
  10181. countryid:
  10182. description: 国家
  10183. type: integer
  10184. countryname:
  10185. description: 国家名称
  10186. type: string
  10187. districtid:
  10188. description: 地区
  10189. type: integer
  10190. districtname:
  10191. description: 地区名称
  10192. type: string
  10193. hasencrypt:
  10194. description: 数据是否已加密 - 0:未加密 1:已加密
  10195. type: integer
  10196. isdefault:
  10197. description: 是否默认地址 - 0:否 1:是
  10198. type: integer
  10199. phonenum:
  10200. description: 提货人联系方式(加密存储)
  10201. type: string
  10202. provinceid:
  10203. description: 省
  10204. type: integer
  10205. provincename:
  10206. description: 省名称
  10207. type: string
  10208. receivername:
  10209. description: 提货人姓名
  10210. type: string
  10211. takeremark:
  10212. description: 提货备注
  10213. type: string
  10214. userid:
  10215. description: 用户ID
  10216. type: integer
  10217. type: object
  10218. models.Useraccount:
  10219. properties:
  10220. accountname:
  10221. description: 账户名称(机构名称)
  10222. type: string
  10223. accountstatus:
  10224. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  10225. type: integer
  10226. applysrc:
  10227. description: 申请来源 - 1:管理端 2:终端
  10228. type: integer
  10229. auditremark:
  10230. description: 审核备注
  10231. type: string
  10232. auditsrc:
  10233. description: 审核来源 - 1:管理端 2:终端
  10234. type: integer
  10235. audittime:
  10236. description: 审核时间
  10237. type: string
  10238. audituserid:
  10239. description: 审核人
  10240. type: integer
  10241. broker:
  10242. description: 所属经纪人ID
  10243. type: integer
  10244. canceltime:
  10245. description: 销户时间
  10246. type: string
  10247. canceluserid:
  10248. description: 销户人
  10249. type: integer
  10250. canrecommend:
  10251. description: 是否可推荐 - 0:不可 1;可
  10252. type: integer
  10253. createtime:
  10254. description: 创建时间
  10255. type: string
  10256. creatorid:
  10257. description: 创建人
  10258. type: integer
  10259. hasauth:
  10260. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  10261. type: integer
  10262. isanonymous:
  10263. description: 是否匿名下单 - 0:否 1:是
  10264. type: integer
  10265. maxinvestornum:
  10266. description: 最大用户数(经纪会员下投资者个数)
  10267. type: integer
  10268. memberuserid:
  10269. description: 所属会员ID
  10270. type: integer
  10271. modifierid:
  10272. description: 修改人
  10273. type: integer
  10274. modifyremark:
  10275. description: 变更备注
  10276. type: string
  10277. modifystatus:
  10278. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  10279. type: integer
  10280. modifytime:
  10281. description: 修改时间
  10282. type: string
  10283. parenttopuser:
  10284. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10285. type: string
  10286. parentuserid:
  10287. description: 所属机构ID
  10288. type: integer
  10289. reckonaccountid:
  10290. description: 默认结算资金账号ID(机构分润使用) 作废
  10291. type: integer
  10292. refercount:
  10293. description: 推荐总人数
  10294. type: integer
  10295. refereeuserid:
  10296. description: 推荐人ID
  10297. type: integer
  10298. refernum:
  10299. description: 推荐码
  10300. type: string
  10301. rootuserid:
  10302. description: 根用户ID
  10303. type: integer
  10304. subaccountlevel:
  10305. description: 子账户层数
  10306. type: integer
  10307. subarealevelpath:
  10308. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10309. type: string
  10310. userid:
  10311. description: 用户ID
  10312. type: integer
  10313. usertype:
  10314. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10315. type: integer
  10316. required:
  10317. - userid
  10318. type: object
  10319. models.Userfavoritegoods:
  10320. properties:
  10321. goodsid:
  10322. description: 商品ID
  10323. type: integer
  10324. required:
  10325. - goodsid
  10326. type: object
  10327. models.Userinfo:
  10328. properties:
  10329. address:
  10330. description: 地址
  10331. type: string
  10332. attachment1:
  10333. description: 附件1
  10334. type: string
  10335. attachment2:
  10336. description: 附件2
  10337. type: string
  10338. bankaccount:
  10339. description: 银行帐号 (加密存储)
  10340. type: string
  10341. bankaccountname:
  10342. description: 收款人名称
  10343. type: string
  10344. bankcardfrontphotourl:
  10345. description: 银行卡正面照地址
  10346. type: string
  10347. bankid:
  10348. description: 银行编码
  10349. type: string
  10350. bankname:
  10351. description: 银行名称
  10352. type: string
  10353. biznature:
  10354. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  10355. type: integer
  10356. bizscope:
  10357. description: 企业经营范围(企业)
  10358. type: string
  10359. cardbackphotourl:
  10360. description: 证件背面图片地址
  10361. type: string
  10362. cardfrontphotourl:
  10363. description: 证件正面图片地址
  10364. type: string
  10365. cardnum:
  10366. description: 证件号码(加密存储)
  10367. type: string
  10368. cardtypeid:
  10369. description: 证件类型ID
  10370. type: integer
  10371. cityid:
  10372. description: 市
  10373. type: integer
  10374. company:
  10375. description: 公司(个人)
  10376. type: string
  10377. contactname:
  10378. description: 联系人
  10379. type: string
  10380. countryid:
  10381. description: 国家
  10382. type: integer
  10383. createtime:
  10384. description: 创建时间
  10385. type: string
  10386. creatorid:
  10387. description: 创建人
  10388. type: integer
  10389. customername:
  10390. description: 客户名称(企业名称)
  10391. type: string
  10392. districtid:
  10393. description: 地区
  10394. type: integer
  10395. email:
  10396. description: 邮件(加密存储)
  10397. type: string
  10398. fax:
  10399. description: 传真(加密存储)
  10400. type: string
  10401. halfbodyphotourl:
  10402. description: 半身照地址
  10403. type: string
  10404. hasencrypt:
  10405. description: 数据是否已加密 - 0:未加密 1:已加密
  10406. type: integer
  10407. headurl:
  10408. description: 头像地址
  10409. type: string
  10410. legalcardbackphotourl:
  10411. description: 法人身份证背面照地址
  10412. type: string
  10413. legalcardfrontphotourl:
  10414. description: 法人身份证正面照地址
  10415. type: string
  10416. legalpersonname:
  10417. description: 法人姓名(企业)
  10418. type: string
  10419. mobile:
  10420. description: 手机号码(加密存储)
  10421. type: string
  10422. mobile2:
  10423. description: 手机号码[明文-尚志]
  10424. type: string
  10425. modifierid:
  10426. description: 修改人
  10427. type: integer
  10428. modifiertime:
  10429. description: 修改时间
  10430. type: string
  10431. needinvoice:
  10432. description: 是否需要发票 - 0:不需要 1:需要
  10433. type: integer
  10434. nickname:
  10435. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  10436. type: string
  10437. openmode:
  10438. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  10439. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  10440. type: integer
  10441. otherurl:
  10442. description: 其它图片地址[使用分号分隔]
  10443. type: string
  10444. postalcode:
  10445. description: 邮政编码
  10446. type: string
  10447. provinceid:
  10448. description: 省
  10449. type: integer
  10450. qq:
  10451. description: QQ(加密存储
  10452. type: string
  10453. remark:
  10454. description: 备注
  10455. type: string
  10456. sex:
  10457. description: '用户性别 0: 女 1: 男'
  10458. type: integer
  10459. signpdfurl:
  10460. description: 签约pdf文件
  10461. type: string
  10462. telphone:
  10463. description: 联系电话(加密存储)
  10464. type: string
  10465. userid:
  10466. description: 用户ID
  10467. type: integer
  10468. userinfotype:
  10469. description: 用户信息类型 - 1:个人 2:企业
  10470. type: integer
  10471. userstatus:
  10472. description: 用户状态 - 1:正常 2:注销
  10473. type: integer
  10474. usertype:
  10475. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10476. type: integer
  10477. wechat:
  10478. description: 微信(加密存储)
  10479. type: string
  10480. wskhinfo:
  10481. description: 开户申请信息(JSON)
  10482. type: string
  10483. required:
  10484. - userid
  10485. type: object
  10486. models.WRSConverTDetail:
  10487. properties:
  10488. convertratio:
  10489. description: 套保系数
  10490. type: number
  10491. deliverygoodscode:
  10492. description: 现货商品代码
  10493. type: string
  10494. deliverygoodsid:
  10495. description: 现货品种ID
  10496. type: integer
  10497. deliverygoodsname:
  10498. description: 现货商品名称
  10499. type: string
  10500. enumdicname:
  10501. description: 单位名称
  10502. type: string
  10503. goodsunitid:
  10504. description: 套保品种单位id
  10505. type: integer
  10506. middlegoodscode:
  10507. description: 套保品种代码
  10508. type: string
  10509. middlegoodsid:
  10510. description: 套保品种ID
  10511. type: integer
  10512. middlegoodsname:
  10513. description: 套保品种名称
  10514. type: string
  10515. modifytime:
  10516. description: 修改时间
  10517. type: string
  10518. wrstandardid:
  10519. description: 品类ID
  10520. type: integer
  10521. type: object
  10522. models.WRStandardInfo:
  10523. properties:
  10524. areauserid:
  10525. description: 所属机构
  10526. type: integer
  10527. convertfactor:
  10528. description: 标仓系数
  10529. type: number
  10530. createtime:
  10531. description: 创建时间
  10532. type: string
  10533. creatorid:
  10534. description: 创建人
  10535. type: integer
  10536. deliverygoodsid:
  10537. description: 品种ID
  10538. type: integer
  10539. deliverygoodsname:
  10540. description: 交割商品名称
  10541. type: string
  10542. factoryitemjson:
  10543. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  10544. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  10545. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  10546. 逗号分隔'
  10547. type: string
  10548. isvalid:
  10549. description: 是否有效 - 0:无效 1:有效
  10550. type: integer
  10551. minivalue:
  10552. description: 最小变动值
  10553. type: integer
  10554. minivaluedp:
  10555. description: 最小变动值小数位
  10556. type: integer
  10557. realminivalue:
  10558. description: 实际最小变动值
  10559. type: integer
  10560. realminivaluedp:
  10561. description: 实际最小变动值小数位
  10562. type: integer
  10563. remark:
  10564. description: 备注
  10565. type: string
  10566. unitid:
  10567. description: 单位ID
  10568. type: integer
  10569. unitname:
  10570. description: 单位
  10571. type: string
  10572. updatetime:
  10573. description: 更新时间
  10574. type: string
  10575. updatorid:
  10576. description: 更新人
  10577. type: integer
  10578. wrsstatus:
  10579. description: 状态 - 作废 - 0:未激活 1:正常
  10580. type: integer
  10581. wrstandardcode:
  10582. description: 现货品类代码
  10583. type: string
  10584. wrstandardid:
  10585. description: 现货品类ID(SEQ_WRSTANDARD)
  10586. type: integer
  10587. wrstandardname:
  10588. description: 现货品类名称
  10589. type: string
  10590. required:
  10591. - wrstandardid
  10592. type: object
  10593. models.Warehouseinfo:
  10594. properties:
  10595. address:
  10596. description: 详细地址
  10597. type: string
  10598. areauserid:
  10599. description: 所属机构
  10600. type: integer
  10601. autoid:
  10602. description: 自增ID
  10603. type: integer
  10604. cityid:
  10605. description: 市
  10606. type: integer
  10607. contactname:
  10608. description: 联系人
  10609. type: string
  10610. contactnum:
  10611. description: 联系电话
  10612. type: string
  10613. countryid:
  10614. description: 国家
  10615. type: integer
  10616. createtime:
  10617. description: 创建时间
  10618. type: string
  10619. districtid:
  10620. description: 区
  10621. type: integer
  10622. hasvideo:
  10623. description: 是否有视频 - 0:无 1:有
  10624. type: integer
  10625. provinceid:
  10626. description: 省
  10627. type: integer
  10628. remark:
  10629. description: 审核备注
  10630. type: string
  10631. videourl:
  10632. description: 视频地址
  10633. type: string
  10634. warehousecode:
  10635. description: 仓库代码
  10636. type: string
  10637. warehousename:
  10638. description: 仓库名称
  10639. type: string
  10640. warehousestatus:
  10641. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10642. type: integer
  10643. warehousetype:
  10644. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10645. type: integer
  10646. required:
  10647. - autoid
  10648. - warehousecode
  10649. type: object
  10650. order.QueryHisTradeDetailRsp:
  10651. properties:
  10652. accountid:
  10653. description: 账户ID[报价币种]
  10654. type: integer
  10655. buildtype:
  10656. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10657. type: integer
  10658. buyorsell:
  10659. description: 方向 - 0:买 1:卖
  10660. type: integer
  10661. charge:
  10662. description: 手续费
  10663. type: number
  10664. closecharge:
  10665. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10666. type: number
  10667. closeexchagechargevalue:
  10668. description: 平仓交易所手续费设置值
  10669. type: number
  10670. closefeealgorithm:
  10671. description: 平仓手续费收取方式 1:比率 2:固定
  10672. type: integer
  10673. closememberchargevalue:
  10674. description: 平仓会员手续费设置值
  10675. type: number
  10676. closepl:
  10677. description: 平仓盈亏
  10678. type: number
  10679. closepl2:
  10680. description: 平仓盈亏[逐笔]
  10681. type: number
  10682. closeqty:
  10683. description: 平仓数量(先建后平操作 需要记录)
  10684. type: integer
  10685. creditamount:
  10686. description: 授信金额
  10687. type: number
  10688. gcaccountid:
  10689. description: 账户ID[合约币种]
  10690. type: integer
  10691. goodscode:
  10692. description: 商品代码
  10693. type: string
  10694. goodsid:
  10695. description: 商品ID
  10696. type: integer
  10697. goodsname:
  10698. description: 商品名称
  10699. type: string
  10700. histradedate:
  10701. description: 历史交易日
  10702. type: string
  10703. intclosepl:
  10704. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10705. type: integer
  10706. isconfirmexercise:
  10707. description: 是否确认行权- 0:否 1:是
  10708. type: integer
  10709. ismain:
  10710. description: 是否主单 - 0:不是 1:是
  10711. type: integer
  10712. ispreexercise:
  10713. description: 是否预申报- 0:否 1:是
  10714. type: integer
  10715. isreckoned:
  10716. description: 是否结算 - 0:未结算 1:已结算
  10717. type: integer
  10718. isvaliddata:
  10719. description: 是否有效 - 0:无效 1:有效
  10720. type: integer
  10721. listingselecttype:
  10722. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10723. type: integer
  10724. marketid:
  10725. description: 市场ID
  10726. type: integer
  10727. marketname:
  10728. description: 市场名称
  10729. type: string
  10730. matchaccountid:
  10731. description: 对手账号id
  10732. type: integer
  10733. memberuserid:
  10734. description: 会员id 个人投资者 需要填写
  10735. type: integer
  10736. opencharge:
  10737. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10738. type: number
  10739. openexchagechargevalue:
  10740. description: 建仓交易所手续费设置值
  10741. type: number
  10742. openfeealgorithm:
  10743. description: 建仓手续费收取方式 1:比率 2:固定
  10744. type: integer
  10745. openmemberchargevalue:
  10746. description: 建仓会员手续费设置值
  10747. type: number
  10748. openqty:
  10749. description: 开仓数量(先建后平操作 需要记录)
  10750. type: integer
  10751. optiontype:
  10752. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10753. type: integer
  10754. orderid:
  10755. description: 委托单号
  10756. type: string
  10757. performanceplanid:
  10758. description: 履约计划ID[期权]
  10759. type: integer
  10760. performancestatus:
  10761. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10762. type: integer
  10763. preexerciseprice:
  10764. description: 预申报价格
  10765. type: number
  10766. premium:
  10767. description: 权利金 - [持仓单的权利金]
  10768. type: number
  10769. relatedouttradeid:
  10770. description: 关联外部成交单ID
  10771. type: integer
  10772. status:
  10773. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10774. type: integer
  10775. tradeamount:
  10776. description: 成交金额[账户币种,用于所有权]
  10777. type: number
  10778. tradedate:
  10779. description: 交易日(yyyyMMdd)
  10780. type: string
  10781. tradeid:
  10782. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10783. type: string
  10784. trademode:
  10785. description: 交易模式
  10786. type: integer
  10787. tradeprice:
  10788. description: 成交价格
  10789. type: number
  10790. tradeproperty:
  10791. description: 交易属性
  10792. type: integer
  10793. tradeqty:
  10794. description: 成交数量
  10795. type: integer
  10796. tradetime:
  10797. description: 成交时间
  10798. type: string
  10799. tradetype:
  10800. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10801. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10802. type: integer
  10803. required:
  10804. - accountid
  10805. - buyorsell
  10806. - goodsid
  10807. - histradedate
  10808. - marketid
  10809. - memberuserid
  10810. - orderid
  10811. - tradeamount
  10812. - tradedate
  10813. - tradeid
  10814. - tradeprice
  10815. - tradeqty
  10816. - tradetime
  10817. type: object
  10818. order.QueryHisTradeOrderDetailRsp:
  10819. properties:
  10820. accountid:
  10821. description: 账户ID[报价币种]
  10822. type: integer
  10823. buildtype:
  10824. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10825. type: integer
  10826. buyorsell:
  10827. description: 买卖 - 0:买 1:卖
  10828. type: integer
  10829. cancelorderid:
  10830. description: 撤单单号(撤单时填写)
  10831. type: string
  10832. cancelqty:
  10833. description: 撤单数量
  10834. type: integer
  10835. clientordertime:
  10836. description: 客户端委托时间
  10837. type: string
  10838. clientticket:
  10839. description: 客户端流水号
  10840. type: string
  10841. clienttype:
  10842. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10843. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10844. type: integer
  10845. closeexchagechargevalue:
  10846. description: 平仓交易所手续费设置值
  10847. type: number
  10848. closefeealgorithm:
  10849. description: 平仓手续费收取方式 1:比率 2:固定
  10850. type: integer
  10851. closefreezecharge:
  10852. description: 平仓冻结手续费(先建后平操作,需要记录)
  10853. type: number
  10854. closememberchargevalue:
  10855. description: 平仓会员手续费设置值
  10856. type: number
  10857. closeqty:
  10858. description: 平仓数量(先建后平操作 需要记录)
  10859. type: integer
  10860. closetradeqty:
  10861. description: 平仓成交数量(先建后平操作,需要记录)
  10862. type: integer
  10863. closeunfreezecharge:
  10864. description: 平仓解冻手续费(先建后平操作,需要记录)
  10865. type: number
  10866. delistingtype:
  10867. description: 摘牌类型 - 1:价格最优 2:点选成交
  10868. type: integer
  10869. freezecharge:
  10870. description: 冻结手续费
  10871. type: number
  10872. freezemargin:
  10873. description: 冻结保证金(冻结交易金额)
  10874. type: number
  10875. gcaccountid:
  10876. description: 账户ID[合约币种]
  10877. type: integer
  10878. goodscode:
  10879. description: 商品代码
  10880. type: string
  10881. goodsid:
  10882. description: 商品ID
  10883. type: integer
  10884. goodsname:
  10885. description: 商品名称
  10886. type: string
  10887. histradedate:
  10888. description: 历史交易日
  10889. type: string
  10890. isconfirmexercise:
  10891. description: 是否确认行权- 0:否 1:是
  10892. type: integer
  10893. ispreexercise:
  10894. description: 是否预申报- 0:否 1:是
  10895. type: integer
  10896. isvaliddata:
  10897. description: 是否有效 - 0:无效 1:有效
  10898. type: integer
  10899. listingselecttype:
  10900. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10901. type: integer
  10902. marginalgorithm:
  10903. description: 保证金收取方式 1:比率 2:固定
  10904. type: integer
  10905. marginvalue:
  10906. description: 即市保证金设置值
  10907. type: number
  10908. marketid:
  10909. description: 市场ID
  10910. type: integer
  10911. marketmaxsub:
  10912. description: 市价最大偏移范围
  10913. type: number
  10914. marketname:
  10915. description: 市场名称
  10916. type: string
  10917. memberuserid:
  10918. description: 所属会员UserID
  10919. type: integer
  10920. openexchagechargevalue:
  10921. description: 建仓交易所手续费设置值
  10922. type: number
  10923. openfeealgorithm:
  10924. description: 建仓手续费收取方式 1:比率 2:固定
  10925. type: integer
  10926. openfreezecharge:
  10927. description: 开仓冻结手续费(先建后平操作,需要记录)
  10928. type: number
  10929. openmemberchargevalue:
  10930. description: 建仓会员手续费设置值
  10931. type: number
  10932. openqty:
  10933. description: 开仓数量(先建后平操作,需要记录)
  10934. type: integer
  10935. opentradeqty:
  10936. description: 开仓成交数量(先建后平操作,需要记录)
  10937. type: integer
  10938. openunfreezecharge:
  10939. description: 开仓解冻手续费(先建后平操作,需要记录)
  10940. type: number
  10941. operatetype:
  10942. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10943. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10944. 15:管理端协议转让
  10945. type: integer
  10946. operatorid:
  10947. description: 登录账号(LoginID)
  10948. type: integer
  10949. optiontype:
  10950. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10951. type: integer
  10952. orderid:
  10953. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10954. type: string
  10955. orderprice:
  10956. description: 委托价格
  10957. type: number
  10958. orderqty:
  10959. description: 委托数量
  10960. type: integer
  10961. ordersrc:
  10962. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10963. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10964. type: integer
  10965. orderstatus:
  10966. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10967. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10968. 16:成交失败违约(荷兰式竞拍专用)
  10969. type: integer
  10970. ordertime:
  10971. description: 委托时间
  10972. type: string
  10973. preexerciseprice:
  10974. description: 预申报价格
  10975. type: number
  10976. premium:
  10977. description: 权利金
  10978. type: number
  10979. preorderid:
  10980. description: 关联预埋单号(止盈止损单时填写)
  10981. type: string
  10982. pricemode:
  10983. description: '取价方式 - 1:市价 2: 限价'
  10984. type: integer
  10985. quoteid:
  10986. description: 报价单ID
  10987. type: integer
  10988. relatedid:
  10989. description: 关联单号(交割单)
  10990. type: string
  10991. retcode:
  10992. description: 错误代码
  10993. type: integer
  10994. sessionid:
  10995. description: 会话ID
  10996. type: integer
  10997. tradedate:
  10998. description: 交易日(yyyyMMdd)
  10999. type: string
  11000. trademode:
  11001. description: 交易模式
  11002. type: integer
  11003. tradeproperty:
  11004. description: 交易属性
  11005. type: integer
  11006. tradeqty:
  11007. description: 成交数量
  11008. type: integer
  11009. unfreezecharge:
  11010. description: 解冻手续费
  11011. type: number
  11012. unfreezemargin:
  11013. description: 解冻保证金
  11014. type: number
  11015. updatetime:
  11016. description: 更新时间
  11017. type: string
  11018. uuid:
  11019. description: 发起端唯一id
  11020. type: string
  11021. validtime:
  11022. description: 有效期限
  11023. type: string
  11024. validtype:
  11025. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11026. type: integer
  11027. volumetype:
  11028. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11029. type: integer
  11030. required:
  11031. - accountid
  11032. - buildtype
  11033. - buyorsell
  11034. - goodsid
  11035. - histradedate
  11036. - marketid
  11037. - memberuserid
  11038. - operatetype
  11039. - orderid
  11040. - orderqty
  11041. - ordertime
  11042. - pricemode
  11043. - tradedate
  11044. - validtype
  11045. type: object
  11046. order.QueryTradeDetailRsp:
  11047. properties:
  11048. accountid:
  11049. description: 账户ID[报价币种]
  11050. type: integer
  11051. buildtype:
  11052. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11053. type: integer
  11054. buyorsell:
  11055. description: 方向 - 0:买 1:卖
  11056. type: integer
  11057. charge:
  11058. description: 手续费
  11059. type: number
  11060. closecharge:
  11061. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11062. type: number
  11063. closeexchagechargevalue:
  11064. description: 平仓交易所手续费设置值
  11065. type: number
  11066. closefeealgorithm:
  11067. description: 平仓手续费收取方式 1:比率 2:固定
  11068. type: integer
  11069. closememberchargevalue:
  11070. description: 平仓会员手续费设置值
  11071. type: number
  11072. closepl:
  11073. description: 平仓盈亏
  11074. type: number
  11075. closepl2:
  11076. description: 平仓盈亏[逐笔]
  11077. type: number
  11078. closeqty:
  11079. description: 平仓数量(先建后平操作 需要记录)
  11080. type: integer
  11081. creditamount:
  11082. description: 授信金额
  11083. type: number
  11084. gcaccountid:
  11085. description: 账户ID[合约币种]
  11086. type: integer
  11087. goodscode:
  11088. description: 商品代码
  11089. type: string
  11090. goodsid:
  11091. description: 商品ID
  11092. type: integer
  11093. goodsname:
  11094. description: 商品名称
  11095. type: string
  11096. intclosepl:
  11097. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11098. type: integer
  11099. isconfirmexercise:
  11100. description: 是否确认行权- 0:否 1:是
  11101. type: integer
  11102. ismain:
  11103. description: 是否主单 - 0:不是 1:是
  11104. type: integer
  11105. ispreexercise:
  11106. description: 是否预申报- 0:否 1:是
  11107. type: integer
  11108. isreckoned:
  11109. description: 是否结算 - 0:未结算 1:已结算
  11110. type: integer
  11111. listingselecttype:
  11112. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11113. type: integer
  11114. marketid:
  11115. description: 市场ID
  11116. type: integer
  11117. marketname:
  11118. description: 市场名称
  11119. type: string
  11120. matchaccountid:
  11121. description: 对手账号id
  11122. type: integer
  11123. memberuserid:
  11124. description: 会员id 个人投资者 需要填写
  11125. type: integer
  11126. opencharge:
  11127. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11128. type: number
  11129. openexchagechargevalue:
  11130. description: 建仓交易所手续费设置值
  11131. type: number
  11132. openfeealgorithm:
  11133. description: 建仓手续费收取方式 1:比率 2:固定
  11134. type: integer
  11135. openmemberchargevalue:
  11136. description: 建仓会员手续费设置值
  11137. type: number
  11138. openqty:
  11139. description: 开仓数量(先建后平操作 需要记录)
  11140. type: integer
  11141. optiontype:
  11142. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11143. type: integer
  11144. orderid:
  11145. description: 委托单号
  11146. type: string
  11147. performanceplanid:
  11148. description: 履约计划ID[期权]
  11149. type: integer
  11150. performancestatus:
  11151. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11152. type: integer
  11153. preexerciseprice:
  11154. description: 预申报价格
  11155. type: number
  11156. premium:
  11157. description: 权利金 - [持仓单的权利金]
  11158. type: number
  11159. relatedouttradeid:
  11160. description: 关联外部成交单ID
  11161. type: integer
  11162. status:
  11163. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11164. type: integer
  11165. tradeamount:
  11166. description: 成交金额[账户币种,用于所有权]
  11167. type: number
  11168. tradedate:
  11169. description: 交易日(yyyyMMdd)
  11170. type: string
  11171. tradeid:
  11172. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11173. type: string
  11174. trademode:
  11175. description: 交易模式
  11176. type: integer
  11177. tradeprice:
  11178. description: 成交价格
  11179. type: number
  11180. tradeproperty:
  11181. description: 交易属性
  11182. type: integer
  11183. tradeqty:
  11184. description: 成交数量
  11185. type: integer
  11186. tradetime:
  11187. description: 成交时间
  11188. type: string
  11189. tradetype:
  11190. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11191. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11192. type: integer
  11193. required:
  11194. - accountid
  11195. - buyorsell
  11196. - goodsid
  11197. - marketid
  11198. - memberuserid
  11199. - orderid
  11200. - tradeamount
  11201. - tradedate
  11202. - tradeid
  11203. - tradeprice
  11204. - tradeqty
  11205. - tradetime
  11206. type: object
  11207. order.QueryTradeOrderDetailRsp:
  11208. properties:
  11209. accountid:
  11210. description: 账户ID[报价币种]
  11211. type: integer
  11212. buildtype:
  11213. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11214. type: integer
  11215. buyorsell:
  11216. description: 买卖 - 0:买 1:卖
  11217. type: integer
  11218. cancelorderid:
  11219. description: 撤单单号(撤单时填写)
  11220. type: string
  11221. cancelqty:
  11222. description: 撤单数量
  11223. type: integer
  11224. clienttype:
  11225. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11226. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11227. type: integer
  11228. closefreezecharge:
  11229. description: 平仓冻结手续费(先建后平操作,需要记录)
  11230. type: number
  11231. closeqty:
  11232. description: 平仓数量(先建后平操作 需要记录)
  11233. type: integer
  11234. closetradeqty:
  11235. description: 平仓成交数量(先建后平操作,需要记录)
  11236. type: integer
  11237. closeunfreezecharge:
  11238. description: 平仓解冻手续费(先建后平操作,需要记录)
  11239. type: number
  11240. delistingtype:
  11241. description: 摘牌类型 - 1:价格最优 2:点选成交
  11242. type: integer
  11243. enableqty:
  11244. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  11245. type: integer
  11246. freezecharge:
  11247. description: 冻结手续费
  11248. type: number
  11249. freezemargin:
  11250. description: 冻结保证金(冻结交易金额)
  11251. type: number
  11252. goodscode:
  11253. description: 商品代码
  11254. type: string
  11255. goodsid:
  11256. description: 商品ID
  11257. type: integer
  11258. goodsname:
  11259. description: 商品名称
  11260. type: string
  11261. listingselecttype:
  11262. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11263. type: integer
  11264. marketid:
  11265. description: 市场ID
  11266. type: integer
  11267. marketname:
  11268. description: 市场名称
  11269. type: string
  11270. openfreezecharge:
  11271. description: 开仓冻结手续费(先建后平操作,需要记录)
  11272. type: number
  11273. openqty:
  11274. description: 开仓数量(先建后平操作,需要记录)
  11275. type: integer
  11276. opentradeqty:
  11277. description: 开仓成交数量(先建后平操作,需要记录)
  11278. type: integer
  11279. openunfreezecharge:
  11280. description: 开仓解冻手续费(先建后平操作,需要记录)
  11281. type: number
  11282. operatetype:
  11283. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11284. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11285. 15:管理端协议转让
  11286. type: integer
  11287. operatorid:
  11288. description: 登录账号(LoginID)
  11289. type: integer
  11290. orderid:
  11291. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11292. type: string
  11293. orderprice:
  11294. description: 委托价格
  11295. type: number
  11296. orderqty:
  11297. description: 委托数量
  11298. type: integer
  11299. ordersrc:
  11300. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11301. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11302. type: integer
  11303. orderstatus:
  11304. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11305. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11306. 16:成交失败违约(荷兰式竞拍专用)
  11307. type: integer
  11308. ordertime:
  11309. description: 委托时间
  11310. type: string
  11311. preorderid:
  11312. description: 关联预埋单号(止盈止损单时填写)
  11313. type: string
  11314. pricemode:
  11315. description: '取价方式 - 1:市价 2: 限价'
  11316. type: integer
  11317. relatedid:
  11318. description: 关联单号(交割单)
  11319. type: string
  11320. tradedate:
  11321. description: 交易日(yyyyMMdd)
  11322. type: string
  11323. trademode:
  11324. description: 交易模式
  11325. type: integer
  11326. tradeqty:
  11327. description: 成交数量
  11328. type: integer
  11329. unfreezecharge:
  11330. description: 解冻手续费
  11331. type: number
  11332. unfreezemargin:
  11333. description: 解冻保证金
  11334. type: number
  11335. validtime:
  11336. description: 有效期限
  11337. type: string
  11338. validtype:
  11339. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11340. type: integer
  11341. volumetype:
  11342. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11343. type: integer
  11344. required:
  11345. - accountid
  11346. - buildtype
  11347. - buyorsell
  11348. - goodsid
  11349. - marketid
  11350. - operatetype
  11351. - orderqty
  11352. - ordertime
  11353. - pricemode
  11354. - tradedate
  11355. - validtype
  11356. type: object
  11357. order.QueryTradePositionRsp:
  11358. properties:
  11359. accountid:
  11360. description: 资金账户
  11361. type: integer
  11362. agreeunit:
  11363. description: 合约单位
  11364. type: number
  11365. averageprice:
  11366. description: 持仓均价
  11367. type: number
  11368. buyorsell:
  11369. description: 方向 - 0:买 1:卖
  11370. type: integer
  11371. closetotalqty:
  11372. description: 平仓总数量
  11373. type: integer
  11374. curholderamount:
  11375. description: 当前持仓总金额[商品币种]
  11376. type: number
  11377. curpositionqty:
  11378. description: 当前持仓总数量
  11379. type: integer
  11380. currencyid:
  11381. description: 报价货币ID
  11382. type: integer
  11383. curtdposition:
  11384. description: 期末今日头寸
  11385. type: integer
  11386. decimalplace:
  11387. description: 报价小数位
  11388. type: integer
  11389. enableqty:
  11390. description: 可用量
  11391. type: integer
  11392. fretdposition:
  11393. description: 冻结今日头寸
  11394. type: integer
  11395. frozenqty:
  11396. description: 持仓冻结数量
  11397. type: integer
  11398. goodscode:
  11399. description: 商品代码
  11400. type: string
  11401. goodsid:
  11402. description: 商品Id
  11403. type: integer
  11404. goodsname:
  11405. description: 商品名称
  11406. type: string
  11407. goodunit:
  11408. description: 报价单位
  11409. type: string
  11410. goodunitid:
  11411. description: 报价单位ID
  11412. type: integer
  11413. holderamount:
  11414. description: 期初持仓总金额[商品币种]
  11415. type: number
  11416. marketid:
  11417. description: 所属市场ID
  11418. type: integer
  11419. openreqqty:
  11420. description: 开仓申请数量(用于比较最大持仓数量)
  11421. type: integer
  11422. opentotalqty:
  11423. description: 开仓总数量
  11424. type: integer
  11425. otherfrozenqty:
  11426. description: 持仓其他冻结数量(交割冻结)
  11427. type: integer
  11428. positionqty:
  11429. description: 期初持仓数量
  11430. type: integer
  11431. tnqty:
  11432. description: T+N冻结总量
  11433. type: integer
  11434. tnusedqty:
  11435. description: T+N使用量(可以使用T+N的冻结数量)
  11436. type: integer
  11437. trademode:
  11438. description: 交易模式
  11439. type: integer
  11440. usedmargin:
  11441. description: 占用保证金[商品币种]
  11442. type: number
  11443. required:
  11444. - goodsid
  11445. type: object
  11446. quote.HistoryData:
  11447. properties:
  11448. c:
  11449. description: 收盘价
  11450. type: number
  11451. f:
  11452. description: 是否补充数据
  11453. type: boolean
  11454. h:
  11455. description: 最高价
  11456. type: number
  11457. hv:
  11458. description: 持仓量
  11459. type: integer
  11460. l:
  11461. description: 最低价
  11462. type: number
  11463. o:
  11464. description: 开盘价
  11465. type: number
  11466. s:
  11467. description: 结算价,日线周期(包括)以上才有
  11468. type: number
  11469. ts:
  11470. description: 时间
  11471. type: string
  11472. tt:
  11473. description: 总金额
  11474. type: number
  11475. tv:
  11476. description: 总量
  11477. type: integer
  11478. type: object
  11479. quote.HistoryTikData:
  11480. properties:
  11481. AV:
  11482. description: 卖量
  11483. type: integer
  11484. Ask:
  11485. description: 卖价
  11486. type: number
  11487. BV:
  11488. description: 买量
  11489. type: integer
  11490. Bid:
  11491. description: 买价
  11492. type: number
  11493. HI:
  11494. description: 单笔持仓
  11495. type: integer
  11496. HV:
  11497. description: 持仓量
  11498. type: integer
  11499. PE:
  11500. description: 现价
  11501. type: number
  11502. TDR:
  11503. description: 交易方向,0:买 1:卖
  11504. type: integer
  11505. TK:
  11506. description: 交易类型
  11507. type: integer
  11508. TS:
  11509. description: 行情时间文本
  11510. type: string
  11511. TT:
  11512. description: 现金额
  11513. type: number
  11514. Vol:
  11515. description: 现量
  11516. type: integer
  11517. type: object
  11518. quote.QueryQuoteDayRsp:
  11519. properties:
  11520. ask:
  11521. description: 卖1
  11522. type: number
  11523. ask2:
  11524. description: 卖2
  11525. type: number
  11526. ask3:
  11527. description: 卖3
  11528. type: number
  11529. ask4:
  11530. description: 卖4
  11531. type: number
  11532. ask5:
  11533. description: 卖5
  11534. type: number
  11535. ask6:
  11536. description: 卖6
  11537. type: number
  11538. ask7:
  11539. description: 卖7
  11540. type: number
  11541. ask8:
  11542. description: 卖8
  11543. type: number
  11544. ask9:
  11545. description: 卖9
  11546. type: number
  11547. ask10:
  11548. description: 卖10
  11549. type: number
  11550. askorderid:
  11551. description: 卖单号1
  11552. type: integer
  11553. askorderid2:
  11554. description: 卖单号2
  11555. type: integer
  11556. askorderid3:
  11557. description: 卖单号3
  11558. type: integer
  11559. askorderid4:
  11560. description: 卖单号4
  11561. type: integer
  11562. askorderid5:
  11563. description: 卖单号5
  11564. type: integer
  11565. askordervolume:
  11566. description: 卖单量1
  11567. type: integer
  11568. askordervolume2:
  11569. description: 卖单量2
  11570. type: integer
  11571. askordervolume3:
  11572. description: 卖单量3
  11573. type: integer
  11574. askordervolume4:
  11575. description: 卖单量4
  11576. type: integer
  11577. askordervolume5:
  11578. description: 卖单量5
  11579. type: integer
  11580. askordervolume6:
  11581. description: 卖单量6
  11582. type: integer
  11583. askordervolume7:
  11584. description: 卖单量7
  11585. type: integer
  11586. askordervolume8:
  11587. description: 卖单量8
  11588. type: integer
  11589. askordervolume9:
  11590. description: 卖单量9
  11591. type: integer
  11592. askordervolume10:
  11593. description: 卖单量10
  11594. type: integer
  11595. askqueueinfo:
  11596. description: 大利市卖港股用
  11597. type: string
  11598. askvolume:
  11599. description: 卖量1
  11600. type: integer
  11601. askvolume2:
  11602. description: 卖量2
  11603. type: integer
  11604. askvolume3:
  11605. description: 卖量3
  11606. type: integer
  11607. askvolume4:
  11608. description: 卖量4
  11609. type: integer
  11610. askvolume5:
  11611. description: 卖量5
  11612. type: integer
  11613. askvolume6:
  11614. description: 卖量6
  11615. type: integer
  11616. askvolume7:
  11617. description: 卖量7
  11618. type: integer
  11619. askvolume8:
  11620. description: 卖量8
  11621. type: integer
  11622. askvolume9:
  11623. description: 卖量9
  11624. type: integer
  11625. askvolume10:
  11626. description: 卖量10
  11627. type: integer
  11628. averageprice:
  11629. description: 均价
  11630. type: number
  11631. bid:
  11632. description: 买1
  11633. type: number
  11634. bid2:
  11635. description: 买2
  11636. type: number
  11637. bid3:
  11638. description: 买3
  11639. type: number
  11640. bid4:
  11641. description: 买4
  11642. type: number
  11643. bid5:
  11644. description: 买5
  11645. type: number
  11646. bid6:
  11647. description: 买6
  11648. type: number
  11649. bid7:
  11650. description: 买7
  11651. type: number
  11652. bid8:
  11653. description: 买8
  11654. type: number
  11655. bid9:
  11656. description: 买9
  11657. type: number
  11658. bid10:
  11659. description: 买10
  11660. type: number
  11661. bidorderid:
  11662. description: 买单号1
  11663. type: integer
  11664. bidorderid2:
  11665. description: 买单号2
  11666. type: integer
  11667. bidorderid3:
  11668. description: 买单号3
  11669. type: integer
  11670. bidorderid4:
  11671. description: 买单号4
  11672. type: integer
  11673. bidorderid5:
  11674. description: 买单号5
  11675. type: integer
  11676. bidordervolume:
  11677. description: 买单量1
  11678. type: integer
  11679. bidordervolume2:
  11680. description: 买单量2
  11681. type: integer
  11682. bidordervolume3:
  11683. description: 买单量3
  11684. type: integer
  11685. bidordervolume4:
  11686. description: 买单量4
  11687. type: integer
  11688. bidordervolume5:
  11689. description: 买单量5
  11690. type: integer
  11691. bidordervolume6:
  11692. description: 买单量6
  11693. type: integer
  11694. bidordervolume7:
  11695. description: 买单量7
  11696. type: integer
  11697. bidordervolume8:
  11698. description: 买单量8
  11699. type: integer
  11700. bidordervolume9:
  11701. description: 买单量9
  11702. type: integer
  11703. bidordervolume10:
  11704. description: 买单量10
  11705. type: integer
  11706. bidqueueinfo:
  11707. description: 大利市买港股用
  11708. type: string
  11709. bidvolume:
  11710. description: 买量1
  11711. type: integer
  11712. bidvolume2:
  11713. description: 买量2
  11714. type: integer
  11715. bidvolume3:
  11716. description: 买量3
  11717. type: integer
  11718. bidvolume4:
  11719. description: 买量4
  11720. type: integer
  11721. bidvolume5:
  11722. description: 买量5
  11723. type: integer
  11724. bidvolume6:
  11725. description: 买量6
  11726. type: integer
  11727. bidvolume7:
  11728. description: 买量7
  11729. type: integer
  11730. bidvolume8:
  11731. description: 买量8
  11732. type: integer
  11733. bidvolume9:
  11734. description: 买量9
  11735. type: integer
  11736. bidvolume10:
  11737. description: 买量10
  11738. type: integer
  11739. calloptionpremiums:
  11740. description: 认购期权1
  11741. type: integer
  11742. calloptionpremiums2:
  11743. description: 认购期权2
  11744. type: integer
  11745. calloptionpremiums3:
  11746. description: 认购期权3
  11747. type: integer
  11748. calloptionpremiums4:
  11749. description: 认购期权4
  11750. type: integer
  11751. calloptionpremiums5:
  11752. description: 认购期权5
  11753. type: integer
  11754. cleartime:
  11755. description: 清盘时间
  11756. type: integer
  11757. exchangecode:
  11758. description: 交易所代码
  11759. type: integer
  11760. exchangedate:
  11761. description: 交易日
  11762. type: integer
  11763. goodscode:
  11764. description: 商品代码
  11765. type: string
  11766. grepmarketprice:
  11767. description: 暗盘价 港股专用
  11768. type: number
  11769. highest:
  11770. description: 最高价
  11771. type: number
  11772. holdincrement:
  11773. description: 单笔持仓
  11774. type: integer
  11775. holdvolume:
  11776. description: 持仓
  11777. type: integer
  11778. iep:
  11779. description: 平衡价 港股专用
  11780. type: number
  11781. iev:
  11782. description: 平衡量 港股专用
  11783. type: number
  11784. inventory:
  11785. description: 库存
  11786. type: integer
  11787. iscleared:
  11788. description: 是否清盘标志
  11789. type: integer
  11790. issettled:
  11791. description: 是否结算标志
  11792. type: integer
  11793. last:
  11794. description: 最新价
  11795. type: number
  11796. lastlot:
  11797. description: 最新成交手数
  11798. type: integer
  11799. lasttime:
  11800. description: 行情时间(只有现价变化行情时间才变化)
  11801. type: string
  11802. lastturnover:
  11803. description: 最新成交金额
  11804. type: number
  11805. lastvolume:
  11806. description: 最新成交量
  11807. type: integer
  11808. limitdown:
  11809. description: 跌停价
  11810. type: number
  11811. limitup:
  11812. description: 涨停价
  11813. type: number
  11814. lowest:
  11815. description: 最低价
  11816. type: number
  11817. nontotalholdervolume:
  11818. description: 非交易持仓量
  11819. type: integer
  11820. nontotallot:
  11821. description: 非交易总手数
  11822. type: integer
  11823. nontotalturnover:
  11824. description: 非交易总金额
  11825. type: integer
  11826. nontotalvolume:
  11827. description: 非交易总量
  11828. type: integer
  11829. opened:
  11830. description: 开盘价
  11831. type: number
  11832. opentime:
  11833. description: 开盘时间
  11834. type: string
  11835. orderid:
  11836. description: 序号
  11837. type: integer
  11838. preclose:
  11839. description: 昨收
  11840. type: number
  11841. preholdvolume:
  11842. description: 昨持仓
  11843. type: integer
  11844. presettle:
  11845. description: 昨结价
  11846. type: number
  11847. publictradetype:
  11848. description: 公共交易标志类型 港股专用
  11849. type: string
  11850. putoptionpremiums:
  11851. description: 认沽期权1
  11852. type: integer
  11853. putoptionpremiums2:
  11854. description: 认沽期权2
  11855. type: integer
  11856. putoptionpremiums3:
  11857. description: 认沽期权3
  11858. type: integer
  11859. putoptionpremiums4:
  11860. description: 认沽期权4
  11861. type: integer
  11862. putoptionpremiums5:
  11863. description: 认沽期权5
  11864. type: integer
  11865. settle:
  11866. description: 结算价
  11867. type: number
  11868. strikeprice:
  11869. description: 发行价
  11870. type: number
  11871. totalaskvolume:
  11872. description: 内盘
  11873. type: integer
  11874. totalbidvolume:
  11875. description: 外盘
  11876. type: integer
  11877. totallot:
  11878. description: 总手数
  11879. type: integer
  11880. totalturnover:
  11881. description: 总金额
  11882. type: number
  11883. totalvolume:
  11884. description: 总量
  11885. type: integer
  11886. utclasttime:
  11887. description: utc的行情时间
  11888. type: string
  11889. type: object
  11890. quote.QueryTSDataRsp:
  11891. properties:
  11892. Count:
  11893. description: 交易日应有数据个数
  11894. type: integer
  11895. decimalPlace:
  11896. description: 小数位
  11897. type: integer
  11898. endTime:
  11899. description: 结束时间
  11900. type: string
  11901. goodsCode:
  11902. description: 商品代码
  11903. type: string
  11904. historyDatas:
  11905. description: 历史数据
  11906. items:
  11907. $ref: '#/definitions/quote.HistoryData'
  11908. type: array
  11909. outGoodsCode:
  11910. description: 外部商品代码
  11911. type: string
  11912. preSettle:
  11913. description: 昨结价
  11914. type: number
  11915. runSteps:
  11916. description: 交易日开休市计划
  11917. items:
  11918. $ref: '#/definitions/quote.TSDataRunStep'
  11919. type: array
  11920. startTime:
  11921. description: 开始时间
  11922. type: string
  11923. tradeDate:
  11924. description: 交易日
  11925. type: string
  11926. type: object
  11927. quote.TSDataRunStep:
  11928. properties:
  11929. end:
  11930. description: 真实结束时间
  11931. type: string
  11932. endflag:
  11933. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11934. type: integer
  11935. endtime:
  11936. description: 结束时间(HH:mm)
  11937. type: string
  11938. endweekday:
  11939. description: 结束周几
  11940. type: integer
  11941. groupid:
  11942. description: 分组ID
  11943. type: integer
  11944. runstep:
  11945. description: 运行阶段 - 2:连续交易
  11946. type: integer
  11947. sectionid:
  11948. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11949. 结束时间=结算时间 结束周几=结算周几
  11950. type: integer
  11951. start:
  11952. description: 真实开始时间
  11953. type: string
  11954. startflag:
  11955. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11956. type: integer
  11957. starttime:
  11958. description: 起始时间(HH:mm)
  11959. type: string
  11960. startweekday:
  11961. description: 起始周几
  11962. type: integer
  11963. tradeweekday:
  11964. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11965. type: integer
  11966. type: object
  11967. szdz.QueryConvertLogRsp:
  11968. properties:
  11969. accountid:
  11970. description: 资金账户ID
  11971. type: integer
  11972. clientticket:
  11973. description: 客户端流水号
  11974. type: string
  11975. converttype:
  11976. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11977. type: integer
  11978. createtime:
  11979. description: 记账时间
  11980. type: string
  11981. daymaxvalue:
  11982. description: 配置当日最大转入限制
  11983. type: number
  11984. daymaxvalue2:
  11985. description: 配置当日最大转入限制(转入)
  11986. type: number
  11987. goodscode:
  11988. description: 商品代码
  11989. type: string
  11990. goodsname:
  11991. description: 商品名称
  11992. type: string
  11993. handlestatus:
  11994. description: 处理状态
  11995. type: integer
  11996. innergoodsid:
  11997. description: 内部商品ID
  11998. type: integer
  11999. inratio:
  12000. description: 配置转入比值
  12001. type: integer
  12002. invalue:
  12003. description: 目标值
  12004. type: number
  12005. logid:
  12006. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12007. type: integer
  12008. mobile:
  12009. description: 手机号码(加密存储)
  12010. type: string
  12011. outergoodscode:
  12012. description: 外部商品代码[JD\PD]
  12013. type: string
  12014. outratio:
  12015. description: 配置转出比值
  12016. type: integer
  12017. outvalue:
  12018. description: 源值
  12019. type: number
  12020. pddecimalplace:
  12021. description: PD小数位
  12022. type: integer
  12023. qty:
  12024. description: 数量
  12025. type: string
  12026. remark:
  12027. description: 备注
  12028. type: string
  12029. sessionid:
  12030. description: 会话ID
  12031. type: integer
  12032. timemaxvalue:
  12033. description: 配置单次最大转入限制
  12034. type: number
  12035. timemaxvalue2:
  12036. description: 配置单次最大转入限制(转入)
  12037. type: number
  12038. timeminvalue:
  12039. description: 配置单次最小数量限制
  12040. type: number
  12041. timeminvalue2:
  12042. description: 配置单次最小数量限制(转入)
  12043. type: number
  12044. tradedate:
  12045. description: 交易日(yyyyMMdd)
  12046. type: string
  12047. userid:
  12048. description: 用户ID
  12049. type: integer
  12050. required:
  12051. - logid
  12052. type: object
  12053. szdz.QueryGoodsPickupRsp:
  12054. properties:
  12055. accountid:
  12056. description: 账户ID
  12057. type: integer
  12058. address:
  12059. description: 提货人详细地址
  12060. type: string
  12061. auditer:
  12062. description: 审核人
  12063. type: integer
  12064. audittime:
  12065. description: 审核时间
  12066. type: string
  12067. cardnum:
  12068. description: 提货人证件号码
  12069. type: string
  12070. cardtypeid:
  12071. description: 提货人证件类型
  12072. type: integer
  12073. checkremark:
  12074. description: 审核备注
  12075. type: string
  12076. goodscode:
  12077. description: 商品代码
  12078. type: string
  12079. goodsid:
  12080. description: 商品ID
  12081. type: integer
  12082. goodsname:
  12083. description: 商品名称
  12084. type: string
  12085. handlestatus:
  12086. description: 处理状态
  12087. type: integer
  12088. marketid:
  12089. description: 市场ID
  12090. type: integer
  12091. phonenum:
  12092. description: 提货人联系方式
  12093. type: string
  12094. qty:
  12095. description: 提货数量
  12096. type: number
  12097. recivername:
  12098. description: 提货人姓名
  12099. type: string
  12100. reqtime:
  12101. description: 更新时间
  12102. type: string
  12103. takemode:
  12104. description: 提货方式 - 2:自提 3:配送
  12105. type: integer
  12106. takeorderid:
  12107. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12108. type: string
  12109. takeorderstatus:
  12110. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12111. type: integer
  12112. takeremark:
  12113. description: 提货备注
  12114. type: string
  12115. tradedate:
  12116. description: 交易日(yyyyMMdd)
  12117. type: string
  12118. userid:
  12119. description: 用户ID
  12120. type: integer
  12121. required:
  12122. - takeorderid
  12123. type: object
  12124. szdz.QueryRecieptOrderRsp:
  12125. properties:
  12126. accountName:
  12127. description: 所属账号名称(已脱敏)
  12128. type: string
  12129. accountid:
  12130. description: 资金账号
  12131. type: integer
  12132. buyorsell:
  12133. description: 方向 - 0:买 1:卖
  12134. type: integer
  12135. enableqty:
  12136. description: 可摘数量
  12137. type: integer
  12138. goodscode:
  12139. description: 商品代码
  12140. type: string
  12141. goodsid:
  12142. description: 商品ID
  12143. type: integer
  12144. goodsname:
  12145. description: 商品名称
  12146. type: string
  12147. orderid:
  12148. description: 委托单号
  12149. type: string
  12150. orderprice:
  12151. description: 委托价格
  12152. type: number
  12153. ordertime:
  12154. description: 委托时间
  12155. type: string
  12156. tradedate:
  12157. description: 交易日(yyyyMMdd)
  12158. type: string
  12159. required:
  12160. - ordertime
  12161. type: object
  12162. szdz.QuerySZDZTradePositionRsp:
  12163. properties:
  12164. accountid:
  12165. description: 账号Id
  12166. type: integer
  12167. agreeunit:
  12168. description: 合约单位
  12169. type: number
  12170. averageprice:
  12171. description: 持仓均价
  12172. type: number
  12173. buyorsell:
  12174. description: 方向 - 0:买 1:卖
  12175. type: integer
  12176. closetotalqty:
  12177. description: 平仓总数量
  12178. type: integer
  12179. curholderamount:
  12180. description: 当前持仓总金额
  12181. type: number
  12182. curpositionqty:
  12183. description: 当前持仓总数量
  12184. type: integer
  12185. currencyid:
  12186. description: 报价货币ID
  12187. type: integer
  12188. curtdposition:
  12189. description: 期末今日头寸
  12190. type: integer
  12191. decimalplace:
  12192. description: 报价小数位
  12193. type: integer
  12194. enableqty:
  12195. description: 可用量
  12196. type: integer
  12197. fretdposition:
  12198. description: 冻结今日头寸
  12199. type: integer
  12200. frozenqty:
  12201. description: 持仓冻结数量
  12202. type: integer
  12203. goodscode:
  12204. description: 商品代码(内部)
  12205. type: string
  12206. goodsid:
  12207. description: 商品Id
  12208. type: integer
  12209. goodsname:
  12210. description: 商品名称
  12211. type: string
  12212. goodunit:
  12213. description: 报价单位
  12214. type: string
  12215. goodunitid:
  12216. description: 报价单位ID
  12217. type: integer
  12218. holderamount:
  12219. description: 期初持仓总金额
  12220. type: number
  12221. marketid:
  12222. description: 市场ID
  12223. type: integer
  12224. openreqqty:
  12225. description: 开仓申请数量
  12226. type: integer
  12227. opentotalqty:
  12228. description: 开仓总数量
  12229. type: integer
  12230. otherfrozenqty:
  12231. description: 持仓其他冻结数量(交割冻结)
  12232. type: integer
  12233. positionqty:
  12234. description: 期初持仓数量
  12235. type: integer
  12236. szdz3freezqty:
  12237. description: 尚志大宗转换冻结总数量
  12238. type: integer
  12239. tnqty:
  12240. description: T+N冻结总量
  12241. type: integer
  12242. tnusedqty:
  12243. description: T+N使用量
  12244. type: integer
  12245. trademode:
  12246. description: 交易模式
  12247. type: integer
  12248. usedmargin:
  12249. description: 占用保证金
  12250. type: number
  12251. type: object
  12252. taaccount.QueryAmountLogRsp:
  12253. properties:
  12254. OPERATETYPENAME:
  12255. description: 资金操作类型名称
  12256. type: string
  12257. accountid:
  12258. description: 资金账户ID
  12259. type: integer
  12260. agoodscode:
  12261. description: 竞拍商品代码
  12262. type: string
  12263. agoodsname:
  12264. description: 竞拍商品名称
  12265. type: string
  12266. amount:
  12267. description: 资金金额
  12268. type: number
  12269. amountadjusttype:
  12270. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12271. type: integer
  12272. autoid:
  12273. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12274. type: integer
  12275. balance:
  12276. description: 期初余额
  12277. type: number
  12278. businesscode:
  12279. description: 业务编号
  12280. type: integer
  12281. createtime:
  12282. description: 发生时间
  12283. type: string
  12284. currencyid:
  12285. description: 币种ID
  12286. type: integer
  12287. currentbalance:
  12288. description: 期末余额(变动后金额)
  12289. type: number
  12290. dgoodscode:
  12291. description: 交割商品代码
  12292. type: string
  12293. dgoodsname:
  12294. description: 交割商品名称
  12295. type: string
  12296. goodscode:
  12297. description: 商品代码
  12298. type: string
  12299. goodsid:
  12300. description: 商品ID
  12301. type: integer
  12302. goodsname:
  12303. description: 商品名称
  12304. type: string
  12305. marketid:
  12306. description: 市场ID
  12307. type: integer
  12308. marketname:
  12309. description: 市场名称
  12310. type: string
  12311. moneyticket:
  12312. description: 资金流水号:银行端流水号
  12313. type: integer
  12314. operatetype:
  12315. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12316. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12317. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12318. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12319. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12320. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12321. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12322. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12323. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12324. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12325. type: integer
  12326. relationorderid:
  12327. description: 关联单号
  12328. type: string
  12329. remark:
  12330. description: 备注
  12331. type: string
  12332. trademode:
  12333. description: 交易模式
  12334. type: integer
  12335. required:
  12336. - accountid
  12337. - amount
  12338. - amountadjusttype
  12339. - autoid
  12340. - balance
  12341. - createtime
  12342. - currentbalance
  12343. - operatetype
  12344. type: object
  12345. taaccount.QueryHisAmountLogRsp:
  12346. properties:
  12347. OPERATETYPENAME:
  12348. description: 资金操作类型名称
  12349. type: string
  12350. accountid:
  12351. description: 资金账户ID
  12352. type: integer
  12353. agoodscode:
  12354. description: 竞拍商品代码
  12355. type: string
  12356. agoodsname:
  12357. description: 竞拍商品名称
  12358. type: string
  12359. amount:
  12360. description: 资金金额
  12361. type: number
  12362. amountadjusttype:
  12363. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12364. type: integer
  12365. autoid:
  12366. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12367. type: integer
  12368. balance:
  12369. description: 期初余额
  12370. type: number
  12371. businesscode:
  12372. description: 业务编号
  12373. type: integer
  12374. createtime:
  12375. description: 发生时间
  12376. type: string
  12377. currencyid:
  12378. description: 币种ID
  12379. type: integer
  12380. currentbalance:
  12381. description: 期末余额(变动后金额)
  12382. type: number
  12383. dgoodscode:
  12384. description: 交割商品代码
  12385. type: string
  12386. dgoodsname:
  12387. description: 交割商品名称
  12388. type: string
  12389. goodscode:
  12390. description: 商品代码
  12391. type: string
  12392. goodsid:
  12393. description: 商品ID
  12394. type: integer
  12395. goodsname:
  12396. description: 商品名称
  12397. type: string
  12398. histradedate:
  12399. description: 历史交易日
  12400. type: string
  12401. isvaliddata:
  12402. description: 是否有效 - 0:无效 1:有效
  12403. type: integer
  12404. marketid:
  12405. description: 市场ID
  12406. type: integer
  12407. marketname:
  12408. description: 市场名称
  12409. type: string
  12410. moneyticket:
  12411. description: 资金流水号:银行端流水号
  12412. type: integer
  12413. operatetype:
  12414. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12415. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12416. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12417. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12418. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12419. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12420. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12421. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12422. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12423. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12424. type: integer
  12425. relationorderid:
  12426. description: 关联单号
  12427. type: string
  12428. remark:
  12429. description: 备注
  12430. type: string
  12431. trademode:
  12432. description: 交易模式
  12433. type: integer
  12434. required:
  12435. - accountid
  12436. - amount
  12437. - amountadjusttype
  12438. - autoid
  12439. - balance
  12440. - createtime
  12441. - currentbalance
  12442. - histradedate
  12443. - operatetype
  12444. type: object
  12445. trade.QueryRecieptOrderRsp:
  12446. properties:
  12447. accountName:
  12448. description: 所属账号名称(已脱敏)
  12449. type: string
  12450. accountid:
  12451. description: 资金账号
  12452. type: integer
  12453. buyorsell:
  12454. description: 方向 - 0:买 1:卖
  12455. type: integer
  12456. enableqty:
  12457. description: 可摘数量
  12458. type: integer
  12459. goodscode:
  12460. description: 商品代码
  12461. type: string
  12462. goodsid:
  12463. description: 商品ID
  12464. type: integer
  12465. goodsname:
  12466. description: 商品名称
  12467. type: string
  12468. orderid:
  12469. description: 委托单号
  12470. type: string
  12471. orderprice:
  12472. description: 委托价格
  12473. type: number
  12474. ordertime:
  12475. description: 委托时间
  12476. type: string
  12477. tradedate:
  12478. description: 交易日(yyyyMMdd)
  12479. type: string
  12480. required:
  12481. - ordertime
  12482. type: object
  12483. user.LoginQueryRsp:
  12484. properties:
  12485. areaRoles:
  12486. description: 所属角色信息
  12487. items:
  12488. $ref: '#/definitions/models.Arearole'
  12489. type: array
  12490. externalExchanges:
  12491. description: 外部交易所
  12492. items:
  12493. $ref: '#/definitions/models.Externalexchange'
  12494. type: array
  12495. goodsgroups:
  12496. description: 商品组
  12497. items:
  12498. $ref: '#/definitions/models.Goodsgroup'
  12499. type: array
  12500. loginAccount:
  12501. $ref: '#/definitions/models.Loginaccount'
  12502. description: 登录账号
  12503. markets:
  12504. description: 市场
  12505. items:
  12506. $ref: '#/definitions/models.Market'
  12507. type: array
  12508. systemParams:
  12509. description: 系统参数
  12510. items:
  12511. $ref: '#/definitions/models.Systemparam'
  12512. type: array
  12513. userAccount:
  12514. $ref: '#/definitions/models.Useraccount'
  12515. description: 用户账号
  12516. userInfo:
  12517. $ref: '#/definitions/models.Userinfo'
  12518. description: 用户信息
  12519. username:
  12520. description: 用户姓名
  12521. type: string
  12522. type: object
  12523. info:
  12524. contact: {}
  12525. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  12526. termsOfService: http://www.muchinfo.cn
  12527. title: MTP2.0 查询服务 API
  12528. version: "1.0"
  12529. paths:
  12530. /CPTrade/QueryCPTradeMyBidInfos:
  12531. get:
  12532. parameters:
  12533. - description: 资金账户
  12534. in: query
  12535. name: accountid
  12536. required: true
  12537. type: integer
  12538. - description: 预售市场ID
  12539. in: query
  12540. name: marketid
  12541. type: integer
  12542. - description: 预售商品ID
  12543. in: query
  12544. name: goodsid
  12545. type: integer
  12546. produces:
  12547. - application/json
  12548. responses:
  12549. "200":
  12550. description: OK
  12551. schema:
  12552. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  12553. "500":
  12554. description: Internal Server Error
  12555. schema:
  12556. $ref: '#/definitions/app.Response'
  12557. security:
  12558. - ApiKeyAuth: []
  12559. summary: 查询产能预售我的出价信息
  12560. tags:
  12561. - 产能预售
  12562. /CPTrade/QueryCPTradeOrderDetail:
  12563. get:
  12564. parameters:
  12565. - description: 预售商品ID
  12566. in: query
  12567. name: goodsid
  12568. type: integer
  12569. - description: 预售市场ID
  12570. in: query
  12571. name: marketid
  12572. type: integer
  12573. - description: 预售商品ID列表 - 格式:1,2,3
  12574. in: query
  12575. name: goodsids
  12576. type: string
  12577. produces:
  12578. - application/json
  12579. responses:
  12580. "200":
  12581. description: OK
  12582. schema:
  12583. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  12584. "500":
  12585. description: Internal Server Error
  12586. schema:
  12587. $ref: '#/definitions/app.Response'
  12588. security:
  12589. - ApiKeyAuth: []
  12590. summary: 查询产能预售委托单信息
  12591. tags:
  12592. - 产能预售
  12593. /CPTrade/QueryMyCPTradeGoods:
  12594. get:
  12595. parameters:
  12596. - description: 资金账户
  12597. in: query
  12598. name: accountid
  12599. required: true
  12600. type: integer
  12601. produces:
  12602. - application/json
  12603. responses:
  12604. "200":
  12605. description: OK
  12606. schema:
  12607. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  12608. "500":
  12609. description: Internal Server Error
  12610. schema:
  12611. $ref: '#/definitions/app.Response'
  12612. security:
  12613. - ApiKeyAuth: []
  12614. summary: 查询我的预售信息
  12615. tags:
  12616. - 产能预售
  12617. /CPTrade/QueryPositionCancel:
  12618. get:
  12619. parameters:
  12620. - description: 账户ID
  12621. in: query
  12622. name: userid
  12623. required: true
  12624. type: integer
  12625. - description: 注销ID
  12626. in: query
  12627. name: cancelid
  12628. type: integer
  12629. - description: 资金账户ID
  12630. in: query
  12631. name: accountid
  12632. type: integer
  12633. produces:
  12634. - application/json
  12635. responses:
  12636. "200":
  12637. description: OK
  12638. schema:
  12639. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  12640. "500":
  12641. description: Internal Server Error
  12642. schema:
  12643. $ref: '#/definitions/app.Response'
  12644. security:
  12645. - ApiKeyAuth: []
  12646. summary: 查询远期订单注销申请信息
  12647. tags:
  12648. - 产能预售
  12649. /CPTrade/QueryPreasleApply:
  12650. get:
  12651. parameters:
  12652. - description: 账户ID
  12653. in: query
  12654. name: userid
  12655. required: true
  12656. type: integer
  12657. - description: 申请ID
  12658. in: query
  12659. name: applyid
  12660. type: integer
  12661. - description: 资金账户ID
  12662. in: query
  12663. name: accountid
  12664. type: integer
  12665. produces:
  12666. - application/json
  12667. responses:
  12668. "200":
  12669. description: OK
  12670. schema:
  12671. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  12672. "500":
  12673. description: Internal Server Error
  12674. schema:
  12675. $ref: '#/definitions/app.Response'
  12676. security:
  12677. - ApiKeyAuth: []
  12678. summary: 查询产能预售申请信息
  12679. tags:
  12680. - 产能预售
  12681. /CPTrade/QueryPresaleGoodsEx:
  12682. get:
  12683. parameters:
  12684. - description: 预售商品ID
  12685. in: query
  12686. name: goodsid
  12687. type: integer
  12688. - description: 预售市场ID
  12689. in: query
  12690. name: marketid
  12691. type: integer
  12692. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  12693. in: query
  12694. name: presalemode
  12695. type: integer
  12696. - description: 预售商品ID列表 - 格式:1,2,3
  12697. in: query
  12698. name: goodsids
  12699. type: string
  12700. - description: 预售商品代码
  12701. in: query
  12702. name: goodscode
  12703. type: string
  12704. produces:
  12705. - application/json
  12706. responses:
  12707. "200":
  12708. description: OK
  12709. schema:
  12710. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  12711. "500":
  12712. description: Internal Server Error
  12713. schema:
  12714. $ref: '#/definitions/app.Response'
  12715. security:
  12716. - ApiKeyAuth: []
  12717. summary: 查询产能预售商品扩展信息
  12718. tags:
  12719. - 产能预售
  12720. /CPTrade/QueryUserGoodsData:
  12721. get:
  12722. parameters:
  12723. - description: 资金账户ID
  12724. in: query
  12725. name: accountid
  12726. required: true
  12727. type: integer
  12728. produces:
  12729. - application/json
  12730. responses:
  12731. "200":
  12732. description: OK
  12733. schema:
  12734. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  12735. "500":
  12736. description: Internal Server Error
  12737. schema:
  12738. $ref: '#/definitions/app.Response'
  12739. security:
  12740. - ApiKeyAuth: []
  12741. summary: 查询远期订单信息
  12742. tags:
  12743. - 产能预售
  12744. /Common/GetAllEnums:
  12745. get:
  12746. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  12747. parameters:
  12748. - description: 起始自增ID
  12749. in: query
  12750. name: autoid
  12751. type: integer
  12752. produces:
  12753. - application/json
  12754. responses:
  12755. "200":
  12756. description: OK
  12757. schema:
  12758. $ref: '#/definitions/models.Enumdicitem'
  12759. "500":
  12760. description: Internal Server Error
  12761. schema:
  12762. $ref: '#/definitions/app.Response'
  12763. summary: 获取所有枚举信息
  12764. tags:
  12765. - 通用服务
  12766. /Common/GetClientMenus:
  12767. get:
  12768. parameters:
  12769. - description: 登录账号
  12770. in: query
  12771. name: loginID
  12772. required: true
  12773. type: integer
  12774. - description: 终端类型,0:PC 1:Mobile
  12775. in: query
  12776. name: clientType
  12777. type: integer
  12778. produces:
  12779. - application/json
  12780. responses:
  12781. "200":
  12782. description: OK
  12783. schema:
  12784. items:
  12785. $ref: '#/definitions/common.ClientMenu'
  12786. type: array
  12787. "500":
  12788. description: Internal Server Error
  12789. schema:
  12790. $ref: '#/definitions/app.Response'
  12791. security:
  12792. - ApiKeyAuth: []
  12793. summary: 获取交易端菜单
  12794. tags:
  12795. - 通用服务
  12796. /Common/GetDivisions:
  12797. get:
  12798. produces:
  12799. - application/json
  12800. responses:
  12801. "200":
  12802. description: OK
  12803. schema:
  12804. $ref: '#/definitions/models.Division'
  12805. "500":
  12806. description: Internal Server Error
  12807. schema:
  12808. $ref: '#/definitions/app.Response'
  12809. summary: 查询区域信息
  12810. tags:
  12811. - 通用服务
  12812. /Common/GetServerTime:
  12813. get:
  12814. produces:
  12815. - application/json
  12816. responses:
  12817. "200":
  12818. description: OK
  12819. schema:
  12820. $ref: '#/definitions/app.Response'
  12821. "500":
  12822. description: Internal Server Error
  12823. schema:
  12824. $ref: '#/definitions/app.Response'
  12825. summary: 获取服务器时间
  12826. tags:
  12827. - 通用服务
  12828. /Common/NoticeReaded:
  12829. post:
  12830. parameters:
  12831. - description: 登录账号
  12832. in: query
  12833. name: loginID
  12834. required: true
  12835. type: integer
  12836. - description: 通知公告ID
  12837. in: query
  12838. name: noticeID
  12839. required: true
  12840. type: integer
  12841. produces:
  12842. - application/json
  12843. responses:
  12844. "200":
  12845. description: OK
  12846. schema:
  12847. $ref: '#/definitions/app.Response'
  12848. "500":
  12849. description: Internal Server Error
  12850. schema:
  12851. $ref: '#/definitions/app.Response'
  12852. security:
  12853. - ApiKeyAuth: []
  12854. summary: 通知公告设置已读请求
  12855. tags:
  12856. - 通用服务
  12857. /Common/QueryErrorInfos:
  12858. get:
  12859. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12860. parameters:
  12861. - description: 起始行号前索引
  12862. in: query
  12863. name: rowNumber
  12864. type: string
  12865. produces:
  12866. - application/json
  12867. responses:
  12868. "200":
  12869. description: OK
  12870. schema:
  12871. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12872. "500":
  12873. description: Internal Server Error
  12874. schema:
  12875. $ref: '#/definitions/app.Response'
  12876. summary: 获取数据库错误信息
  12877. tags:
  12878. - 通用服务
  12879. /Common/QueryImageConfigs:
  12880. get:
  12881. parameters:
  12882. - description: 类型 - 1:App首页轮播 2:我的
  12883. in: query
  12884. name: imageType
  12885. type: integer
  12886. produces:
  12887. - application/json
  12888. responses:
  12889. "200":
  12890. description: OK
  12891. schema:
  12892. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12893. "500":
  12894. description: Internal Server Error
  12895. schema:
  12896. $ref: '#/definitions/app.Response'
  12897. summary: 查询轮播图配置信息
  12898. tags:
  12899. - 通用服务
  12900. /Common/QueryNotice:
  12901. get:
  12902. parameters:
  12903. - description: 页码
  12904. in: query
  12905. name: page
  12906. type: integer
  12907. - description: 每页条数
  12908. in: query
  12909. name: pagesize
  12910. type: integer
  12911. - description: 登录账号
  12912. in: query
  12913. name: loginID
  12914. required: true
  12915. type: integer
  12916. - description: 消息类型 - 1:公告通知 2:系统消息
  12917. in: query
  12918. name: msgType
  12919. type: integer
  12920. - description: 是否只获取未读信息
  12921. in: query
  12922. name: onlyUnRead
  12923. type: boolean
  12924. - description: 自增ID,传入后会返回这个ID后面的记录
  12925. in: query
  12926. name: lastID
  12927. type: integer
  12928. produces:
  12929. - application/json
  12930. responses:
  12931. "200":
  12932. description: OK
  12933. schema:
  12934. $ref: '#/definitions/common.QueryNoticeRsp'
  12935. "500":
  12936. description: Internal Server Error
  12937. schema:
  12938. $ref: '#/definitions/app.Response'
  12939. security:
  12940. - ApiKeyAuth: []
  12941. summary: 通知公告系统消息查询
  12942. tags:
  12943. - 通用服务
  12944. /Common/QueryProvincesAndCities:
  12945. get:
  12946. parameters:
  12947. - description: 省ID
  12948. in: query
  12949. name: provinceID
  12950. type: integer
  12951. produces:
  12952. - application/json
  12953. responses:
  12954. "200":
  12955. description: OK
  12956. schema:
  12957. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12958. "500":
  12959. description: Internal Server Error
  12960. schema:
  12961. $ref: '#/definitions/app.Response'
  12962. summary: 查询省市信息(不包括区)
  12963. tags:
  12964. - 通用服务
  12965. /Common/QueryTableDefine:
  12966. get:
  12967. parameters:
  12968. - description: 表key
  12969. in: query
  12970. name: tableKey
  12971. type: string
  12972. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12973. in: query
  12974. name: tableType
  12975. type: integer
  12976. produces:
  12977. - application/json
  12978. responses:
  12979. "200":
  12980. description: OK
  12981. schema:
  12982. $ref: '#/definitions/common.QueryTableDefineRsp'
  12983. "500":
  12984. description: Internal Server Error
  12985. schema:
  12986. $ref: '#/definitions/app.Response'
  12987. summary: 查询交易端列表头信息
  12988. tags:
  12989. - 通用服务
  12990. /Common/QueryTraderMenu:
  12991. get:
  12992. parameters:
  12993. - description: 登录账号
  12994. in: query
  12995. name: loginid
  12996. required: true
  12997. type: integer
  12998. produces:
  12999. - application/json
  13000. responses:
  13001. "200":
  13002. description: OK
  13003. schema:
  13004. $ref: '#/definitions/common.QueryTraderMenuRsp'
  13005. "500":
  13006. description: Internal Server Error
  13007. schema:
  13008. $ref: '#/definitions/app.Response'
  13009. summary: 查询交易端菜单
  13010. tags:
  13011. - 通用服务
  13012. /Delivery/QueryDeliveryRelation:
  13013. get:
  13014. parameters:
  13015. - description: 商品ID
  13016. in: query
  13017. name: goodsid
  13018. type: integer
  13019. - description: 品种ID
  13020. in: query
  13021. name: deliverygoodsid
  13022. type: integer
  13023. - description: 市场ID
  13024. in: query
  13025. name: marketid
  13026. type: integer
  13027. produces:
  13028. - application/json
  13029. responses:
  13030. "200":
  13031. description: OK
  13032. schema:
  13033. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  13034. "500":
  13035. description: Internal Server Error
  13036. schema:
  13037. $ref: '#/definitions/app.Response'
  13038. security:
  13039. - ApiKeyAuth: []
  13040. summary: 查询商品交割关系表
  13041. tags:
  13042. - 交割服务
  13043. /Ermcp/GetErmcpGoods:
  13044. get:
  13045. parameters:
  13046. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13047. in: query
  13048. name: lastUpdateTime
  13049. type: string
  13050. produces:
  13051. - application/json
  13052. responses:
  13053. "200":
  13054. description: OK
  13055. schema:
  13056. $ref: '#/definitions/models.ErmcpGoods'
  13057. "500":
  13058. description: Internal Server Error
  13059. schema:
  13060. $ref: '#/definitions/app.Response'
  13061. security:
  13062. - ApiKeyAuth: []
  13063. summary: 查询企业风管期货商品信息
  13064. tags:
  13065. - 企业风险管理(app)
  13066. /Ermcp/GetErmcpGoodsSortByPosition:
  13067. get:
  13068. parameters:
  13069. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  13070. in: query
  13071. name: sortIndex
  13072. type: string
  13073. produces:
  13074. - application/json
  13075. responses:
  13076. "200":
  13077. description: OK
  13078. schema:
  13079. $ref: '#/definitions/models.Goodssortbypreposition'
  13080. "500":
  13081. description: Internal Server Error
  13082. schema:
  13083. $ref: '#/definitions/app.Response'
  13084. security:
  13085. - ApiKeyAuth: []
  13086. summary: 查询企业风管期货主力、次主力商品信息
  13087. tags:
  13088. - 企业风险管理(app)
  13089. /Ermcp/GetErmcpOutAccountStatus:
  13090. get:
  13091. parameters:
  13092. - description: 登录账号
  13093. in: query
  13094. name: loginID
  13095. required: true
  13096. type: integer
  13097. produces:
  13098. - application/json
  13099. responses:
  13100. "200":
  13101. description: OK
  13102. schema:
  13103. $ref: '#/definitions/models.Hedgemarketopenlog'
  13104. "500":
  13105. description: Internal Server Error
  13106. schema:
  13107. $ref: '#/definitions/app.Response'
  13108. security:
  13109. - ApiKeyAuth: []
  13110. summary: 获取目标登录账号当前对冲账号在线状态
  13111. tags:
  13112. - 企业风险管理(app)
  13113. /Ermcp/GetErmcpRoleFuncMenuLists:
  13114. get:
  13115. parameters:
  13116. - description: 登录账号
  13117. in: query
  13118. name: loginID
  13119. required: true
  13120. type: integer
  13121. produces:
  13122. - application/json
  13123. responses:
  13124. "200":
  13125. description: OK
  13126. schema:
  13127. $ref: '#/definitions/models.Funcmenulist'
  13128. "500":
  13129. description: Internal Server Error
  13130. schema:
  13131. $ref: '#/definitions/app.Response'
  13132. security:
  13133. - ApiKeyAuth: []
  13134. summary: 获取企业风管终端权限
  13135. tags:
  13136. - 企业风险管理(app)
  13137. /Ermcp/QueryAccMgrBizGroupSet:
  13138. get:
  13139. parameters:
  13140. - description: 用户ID
  13141. in: query
  13142. name: userid
  13143. required: true
  13144. type: integer
  13145. - description: 现货商品id
  13146. in: query
  13147. name: deliverygoodsid
  13148. type: integer
  13149. produces:
  13150. - application/json
  13151. responses:
  13152. "200":
  13153. description: OK
  13154. schema:
  13155. items:
  13156. $ref: '#/definitions/models.ErmcpBizGroupEx'
  13157. type: array
  13158. "500":
  13159. description: Internal Server Error
  13160. schema:
  13161. $ref: '#/definitions/app.Response'
  13162. security:
  13163. - ApiKeyAuth: []
  13164. summary: 查询业务类型分组(账户管理/账户设置)
  13165. tags:
  13166. - 企业风险管理(app)
  13167. /Ermcp/QueryAccMgrLoginUser:
  13168. get:
  13169. parameters:
  13170. - description: 用户ID
  13171. in: query
  13172. name: userid
  13173. required: true
  13174. type: integer
  13175. - description: 用户类型 2-机构 7-企业成员
  13176. in: query
  13177. name: usertype
  13178. type: integer
  13179. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  13180. in: query
  13181. name: querytype
  13182. required: true
  13183. type: integer
  13184. produces:
  13185. - application/json
  13186. responses:
  13187. "200":
  13188. description: OK
  13189. schema:
  13190. items:
  13191. $ref: '#/definitions/models.ErmcpLoginUserEx'
  13192. type: array
  13193. "500":
  13194. description: Internal Server Error
  13195. schema:
  13196. $ref: '#/definitions/app.Response'
  13197. security:
  13198. - ApiKeyAuth: []
  13199. summary: 查询账户管理登录账号(账户管理/登录账号)
  13200. tags:
  13201. - 企业风险管理(app)
  13202. /Ermcp/QueryAccMgrMainAccountInfo:
  13203. get:
  13204. parameters:
  13205. - description: 用户ID
  13206. in: query
  13207. name: userid
  13208. type: integer
  13209. - description: 主账号id
  13210. in: query
  13211. name: accountid
  13212. type: integer
  13213. produces:
  13214. - application/json
  13215. responses:
  13216. "200":
  13217. description: OK
  13218. schema:
  13219. items:
  13220. $ref: '#/definitions/models.MainAccountInfo'
  13221. type: array
  13222. "500":
  13223. description: Internal Server Error
  13224. schema:
  13225. $ref: '#/definitions/app.Response'
  13226. security:
  13227. - ApiKeyAuth: []
  13228. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  13229. tags:
  13230. - 企业风险管理(app)
  13231. /Ermcp/QueryAccMgrRole:
  13232. get:
  13233. parameters:
  13234. - description: 用户ID
  13235. in: query
  13236. name: userid
  13237. required: true
  13238. type: integer
  13239. produces:
  13240. - application/json
  13241. responses:
  13242. "200":
  13243. description: OK
  13244. schema:
  13245. items:
  13246. $ref: '#/definitions/models.ErmcpRole'
  13247. type: array
  13248. "500":
  13249. description: Internal Server Error
  13250. schema:
  13251. $ref: '#/definitions/app.Response'
  13252. security:
  13253. - ApiKeyAuth: []
  13254. summary: 查询账户管理角色设置(账户管理/角色设置)
  13255. tags:
  13256. - 企业风险管理(app)
  13257. /Ermcp/QueryAccMgrRoleMenu:
  13258. get:
  13259. parameters:
  13260. - description: 用户ID
  13261. in: query
  13262. name: userid
  13263. required: true
  13264. type: integer
  13265. - description: 角色id(可多个,逗号隔开)
  13266. in: query
  13267. name: roleid
  13268. type: string
  13269. produces:
  13270. - application/json
  13271. responses:
  13272. "200":
  13273. description: OK
  13274. schema:
  13275. items:
  13276. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  13277. type: array
  13278. "500":
  13279. description: Internal Server Error
  13280. schema:
  13281. $ref: '#/definitions/app.Response'
  13282. security:
  13283. - ApiKeyAuth: []
  13284. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  13285. tags:
  13286. - 企业风险管理(app)
  13287. /Ermcp/QueryAccMgrTaAccountInfo:
  13288. get:
  13289. parameters:
  13290. - description: 用户ID
  13291. in: query
  13292. name: userid
  13293. required: true
  13294. type: integer
  13295. - description: 账号id
  13296. in: query
  13297. name: accountid
  13298. type: integer
  13299. produces:
  13300. - application/json
  13301. responses:
  13302. "200":
  13303. description: OK
  13304. schema:
  13305. items:
  13306. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  13307. type: array
  13308. "500":
  13309. description: Internal Server Error
  13310. schema:
  13311. $ref: '#/definitions/app.Response'
  13312. security:
  13313. - ApiKeyAuth: []
  13314. summary: 查询账户管理授信(账户管理/账户设置/授信)
  13315. tags:
  13316. - 企业风险管理(app)
  13317. /Ermcp/QueryAccMgrTaaccount:
  13318. get:
  13319. parameters:
  13320. - description: 用户ID
  13321. in: query
  13322. name: userid
  13323. required: true
  13324. type: integer
  13325. produces:
  13326. - application/json
  13327. responses:
  13328. "200":
  13329. description: OK
  13330. schema:
  13331. items:
  13332. $ref: '#/definitions/models.ErmcpTaAccountEx'
  13333. type: array
  13334. "500":
  13335. description: Internal Server Error
  13336. schema:
  13337. $ref: '#/definitions/app.Response'
  13338. security:
  13339. - ApiKeyAuth: []
  13340. summary: 查询账户管理期货账号(账户管理/期货账号)
  13341. tags:
  13342. - 企业风险管理(app)
  13343. /Ermcp/QueryAvaildGoodsGroup:
  13344. get:
  13345. parameters:
  13346. - description: 所属机构ID
  13347. in: query
  13348. name: userid
  13349. required: true
  13350. type: integer
  13351. produces:
  13352. - application/json
  13353. responses:
  13354. "200":
  13355. description: OK
  13356. schema:
  13357. items:
  13358. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  13359. type: array
  13360. "500":
  13361. description: Internal Server Error
  13362. schema:
  13363. $ref: '#/definitions/app.Response'
  13364. security:
  13365. - ApiKeyAuth: []
  13366. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13367. tags:
  13368. - 企业风险管理(app)
  13369. /Ermcp/QueryBusinessDj:
  13370. get:
  13371. parameters:
  13372. - description: 用户ID
  13373. in: query
  13374. name: UserId
  13375. required: true
  13376. type: integer
  13377. - description: 用户类型 2-机构 7-企业成员
  13378. in: query
  13379. name: usertype
  13380. type: integer
  13381. - description: 现货合同ID, 不填则查所有
  13382. in: query
  13383. name: relatedid
  13384. type: string
  13385. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13386. in: query
  13387. name: applystatus
  13388. type: string
  13389. produces:
  13390. - application/json
  13391. responses:
  13392. "200":
  13393. description: OK
  13394. schema:
  13395. items:
  13396. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13397. type: array
  13398. "500":
  13399. description: Internal Server Error
  13400. schema:
  13401. $ref: '#/definitions/app.Response'
  13402. security:
  13403. - ApiKeyAuth: []
  13404. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  13405. tags:
  13406. - 企业风险管理(app)
  13407. /Ermcp/QueryBusinessFp:
  13408. get:
  13409. parameters:
  13410. - description: 用户ID
  13411. in: query
  13412. name: UserId
  13413. required: true
  13414. type: integer
  13415. - description: 用户类型 2-机构 7-企业成员
  13416. in: query
  13417. name: usertype
  13418. type: integer
  13419. - description: 现货合同ID, 不填则查所有
  13420. in: query
  13421. name: relatedid
  13422. type: string
  13423. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13424. in: query
  13425. name: applystatus
  13426. type: string
  13427. produces:
  13428. - application/json
  13429. responses:
  13430. "200":
  13431. description: OK
  13432. schema:
  13433. items:
  13434. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  13435. type: array
  13436. "500":
  13437. description: Internal Server Error
  13438. schema:
  13439. $ref: '#/definitions/app.Response'
  13440. security:
  13441. - ApiKeyAuth: []
  13442. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  13443. tags:
  13444. - 企业风险管理(app)
  13445. /Ermcp/QueryBusinessJs:
  13446. get:
  13447. parameters:
  13448. - description: 用户ID
  13449. in: query
  13450. name: UserId
  13451. required: true
  13452. type: integer
  13453. - description: 用户类型 2-机构 7-企业成员
  13454. in: query
  13455. name: usertype
  13456. type: integer
  13457. - description: 现货合同ID, 不填则查所有
  13458. in: query
  13459. name: relatedid
  13460. type: string
  13461. - description: 操作申请id
  13462. in: query
  13463. name: operateapplyid
  13464. type: string
  13465. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13466. in: query
  13467. name: applystatus
  13468. type: string
  13469. produces:
  13470. - application/json
  13471. responses:
  13472. "200":
  13473. description: OK
  13474. schema:
  13475. items:
  13476. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  13477. type: array
  13478. "500":
  13479. description: Internal Server Error
  13480. schema:
  13481. $ref: '#/definitions/app.Response'
  13482. security:
  13483. - ApiKeyAuth: []
  13484. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  13485. tags:
  13486. - 企业风险管理(app)
  13487. /Ermcp/QueryBusinessJsEx:
  13488. get:
  13489. parameters:
  13490. - description: 用户ID
  13491. in: query
  13492. name: UserId
  13493. required: true
  13494. type: integer
  13495. - description: 用户类型 2-机构 7-企业成员
  13496. in: query
  13497. name: usertype
  13498. type: integer
  13499. - description: 现货合同ID, 不填则查所有
  13500. in: query
  13501. name: relatedid
  13502. type: string
  13503. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13504. in: query
  13505. name: applystatus
  13506. type: string
  13507. produces:
  13508. - application/json
  13509. responses:
  13510. "200":
  13511. description: OK
  13512. schema:
  13513. items:
  13514. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  13515. type: array
  13516. "500":
  13517. description: Internal Server Error
  13518. schema:
  13519. $ref: '#/definitions/app.Response'
  13520. security:
  13521. - ApiKeyAuth: []
  13522. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  13523. tags:
  13524. - 企业风险管理(app)
  13525. /Ermcp/QueryBusinessKx:
  13526. get:
  13527. parameters:
  13528. - description: 用户ID
  13529. in: query
  13530. name: UserId
  13531. required: true
  13532. type: integer
  13533. - description: 用户类型 2-机构 7-企业成员
  13534. in: query
  13535. name: usertype
  13536. type: integer
  13537. - description: 现货合同ID, 不填则查所有
  13538. in: query
  13539. name: relatedid
  13540. type: string
  13541. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13542. in: query
  13543. name: applystatus
  13544. type: string
  13545. produces:
  13546. - application/json
  13547. responses:
  13548. "200":
  13549. description: OK
  13550. schema:
  13551. items:
  13552. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  13553. type: array
  13554. "500":
  13555. description: Internal Server Error
  13556. schema:
  13557. $ref: '#/definitions/app.Response'
  13558. security:
  13559. - ApiKeyAuth: []
  13560. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  13561. tags:
  13562. - 企业风险管理(app)
  13563. /Ermcp/QueryChangeLog:
  13564. get:
  13565. parameters:
  13566. - description: 合同ID
  13567. in: query
  13568. name: RelatedId
  13569. required: true
  13570. type: string
  13571. produces:
  13572. - application/json
  13573. responses:
  13574. "200":
  13575. description: OK
  13576. schema:
  13577. items:
  13578. $ref: '#/definitions/ermcp.QryOPLogRsp'
  13579. type: array
  13580. "500":
  13581. description: Internal Server Error
  13582. schema:
  13583. $ref: '#/definitions/app.Response'
  13584. security:
  13585. - ApiKeyAuth: []
  13586. summary: 查询变更记录
  13587. tags:
  13588. - 企业风险管理(app)
  13589. /Ermcp/QueryErmcpHisOrderDetails:
  13590. get:
  13591. parameters:
  13592. - description: 资金账户ID
  13593. in: query
  13594. name: accountID
  13595. required: true
  13596. type: integer
  13597. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13598. in: query
  13599. name: startDate
  13600. type: string
  13601. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13602. in: query
  13603. name: endDate
  13604. type: string
  13605. produces:
  13606. - application/json
  13607. responses:
  13608. "200":
  13609. description: OK
  13610. schema:
  13611. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13612. "500":
  13613. description: Internal Server Error
  13614. schema:
  13615. $ref: '#/definitions/app.Response'
  13616. security:
  13617. - ApiKeyAuth: []
  13618. summary: 获取企业风管期货历史委托单信息
  13619. tags:
  13620. - 企业风险管理(app)
  13621. /Ermcp/QueryErmcpHisTradeDetails:
  13622. get:
  13623. parameters:
  13624. - description: 资金账户ID
  13625. in: query
  13626. name: accountID
  13627. required: true
  13628. type: integer
  13629. - description: 商品ID
  13630. in: query
  13631. name: goodsID
  13632. type: integer
  13633. - description: 买卖方向,0:买 1:卖
  13634. in: query
  13635. name: buyOrSell
  13636. type: integer
  13637. - description: 关联委托单号
  13638. in: query
  13639. name: orderID
  13640. type: integer
  13641. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13642. in: query
  13643. name: startDate
  13644. type: string
  13645. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13646. in: query
  13647. name: endDate
  13648. type: string
  13649. produces:
  13650. - application/json
  13651. responses:
  13652. "200":
  13653. description: OK
  13654. schema:
  13655. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13656. "500":
  13657. description: Internal Server Error
  13658. schema:
  13659. $ref: '#/definitions/app.Response'
  13660. security:
  13661. - ApiKeyAuth: []
  13662. summary: 获取企业风管期货历史成交单信息
  13663. tags:
  13664. - 企业风险管理(app)
  13665. /Ermcp/QueryErmcpInnerHolderDetails:
  13666. get:
  13667. parameters:
  13668. - description: 资金账户ID
  13669. in: query
  13670. name: accountID
  13671. required: true
  13672. type: integer
  13673. - description: 商品ID
  13674. in: query
  13675. name: goodsID
  13676. type: integer
  13677. - description: 买卖方向,0:买 1:卖
  13678. in: query
  13679. name: buyOrSell
  13680. type: integer
  13681. produces:
  13682. - application/json
  13683. responses:
  13684. "200":
  13685. description: OK
  13686. schema:
  13687. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  13688. "500":
  13689. description: Internal Server Error
  13690. schema:
  13691. $ref: '#/definitions/app.Response'
  13692. security:
  13693. - ApiKeyAuth: []
  13694. summary: 获取企业风管期货内部持仓单信息
  13695. tags:
  13696. - 企业风险管理(app)
  13697. /Ermcp/QueryErmcpOrderDetails:
  13698. get:
  13699. parameters:
  13700. - description: 资金账户ID
  13701. in: query
  13702. name: accountID
  13703. required: true
  13704. type: integer
  13705. produces:
  13706. - application/json
  13707. responses:
  13708. "200":
  13709. description: OK
  13710. schema:
  13711. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13712. "500":
  13713. description: Internal Server Error
  13714. schema:
  13715. $ref: '#/definitions/app.Response'
  13716. security:
  13717. - ApiKeyAuth: []
  13718. summary: 获取企业风管期货委托单信息
  13719. tags:
  13720. - 企业风险管理(app)
  13721. /Ermcp/QueryErmcpTradeDetails:
  13722. get:
  13723. parameters:
  13724. - description: 资金账户ID
  13725. in: query
  13726. name: accountID
  13727. required: true
  13728. type: integer
  13729. - description: 商品ID
  13730. in: query
  13731. name: goodsID
  13732. type: integer
  13733. - description: 买卖方向,0:买 1:卖
  13734. in: query
  13735. name: buyOrSell
  13736. type: integer
  13737. - description: 关联委托单号
  13738. in: query
  13739. name: orderID
  13740. type: integer
  13741. produces:
  13742. - application/json
  13743. responses:
  13744. "200":
  13745. description: OK
  13746. schema:
  13747. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13748. "500":
  13749. description: Internal Server Error
  13750. schema:
  13751. $ref: '#/definitions/app.Response'
  13752. security:
  13753. - ApiKeyAuth: []
  13754. summary: 获取企业风管期货成交单信息
  13755. tags:
  13756. - 企业风险管理(app)
  13757. /Ermcp/QueryErmcpTradePosition:
  13758. get:
  13759. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  13760. parameters:
  13761. - description: 资金账户ID
  13762. in: query
  13763. name: accountID
  13764. required: true
  13765. type: integer
  13766. - description: 所属市场ID
  13767. in: query
  13768. name: marketID
  13769. type: integer
  13770. produces:
  13771. - application/json
  13772. responses:
  13773. "200":
  13774. description: OK
  13775. schema:
  13776. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  13777. "500":
  13778. description: Internal Server Error
  13779. schema:
  13780. $ref: '#/definitions/app.Response'
  13781. security:
  13782. - ApiKeyAuth: []
  13783. summary: 获取企业风管期货持仓头寸信息
  13784. tags:
  13785. - 企业风险管理(app)
  13786. /Ermcp/QueryExposureDetail:
  13787. get:
  13788. parameters:
  13789. - description: 所属机构ID
  13790. in: query
  13791. name: areaUserId
  13792. required: true
  13793. type: integer
  13794. - description: 套保商品
  13795. in: query
  13796. name: middleGoodsId
  13797. required: true
  13798. type: integer
  13799. produces:
  13800. - application/json
  13801. responses:
  13802. "200":
  13803. description: OK
  13804. schema:
  13805. items:
  13806. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  13807. type: array
  13808. "500":
  13809. description: Internal Server Error
  13810. schema:
  13811. $ref: '#/definitions/app.Response'
  13812. security:
  13813. - ApiKeyAuth: []
  13814. summary: 查询敞口现货明细
  13815. tags:
  13816. - 企业风险管理(app)
  13817. /Ermcp/QueryExposureHedgePosition:
  13818. get:
  13819. parameters:
  13820. - description: 用户id
  13821. in: query
  13822. name: userid
  13823. required: true
  13824. type: integer
  13825. produces:
  13826. - application/json
  13827. responses:
  13828. "200":
  13829. description: OK
  13830. schema:
  13831. items:
  13832. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  13833. type: array
  13834. "500":
  13835. description: Internal Server Error
  13836. schema:
  13837. $ref: '#/definitions/app.Response'
  13838. security:
  13839. - ApiKeyAuth: []
  13840. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  13841. tags:
  13842. - 企业风险管理(app)
  13843. /Ermcp/QueryExposureHedgePositionDetail:
  13844. get:
  13845. parameters:
  13846. - description: 所属机构ID
  13847. in: query
  13848. name: userid
  13849. required: true
  13850. type: integer
  13851. - description: 商品id
  13852. in: query
  13853. name: goodsId
  13854. required: true
  13855. type: integer
  13856. produces:
  13857. - application/json
  13858. responses:
  13859. "200":
  13860. description: OK
  13861. schema:
  13862. items:
  13863. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  13864. type: array
  13865. "500":
  13866. description: Internal Server Error
  13867. schema:
  13868. $ref: '#/definitions/app.Response'
  13869. security:
  13870. - ApiKeyAuth: []
  13871. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  13872. tags:
  13873. - 企业风险管理(app)
  13874. /Ermcp/QueryExposureSpot:
  13875. get:
  13876. parameters:
  13877. - description: 所属机构ID
  13878. in: query
  13879. name: areaUserId
  13880. required: true
  13881. type: integer
  13882. produces:
  13883. - application/json
  13884. responses:
  13885. "200":
  13886. description: OK
  13887. schema:
  13888. items:
  13889. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  13890. type: array
  13891. "500":
  13892. description: Internal Server Error
  13893. schema:
  13894. $ref: '#/definitions/app.Response'
  13895. security:
  13896. - ApiKeyAuth: []
  13897. summary: 查询敞口现货头寸(敞口/现货头寸)
  13898. tags:
  13899. - 企业风险管理(app)
  13900. /Ermcp/QueryExposureSpotDetail:
  13901. get:
  13902. parameters:
  13903. - description: 所属机构ID
  13904. in: query
  13905. name: areaUserId
  13906. required: true
  13907. type: integer
  13908. - description: 现货品种ID
  13909. in: query
  13910. name: wrstandardId
  13911. required: true
  13912. type: integer
  13913. produces:
  13914. - application/json
  13915. responses:
  13916. "200":
  13917. description: OK
  13918. schema:
  13919. items:
  13920. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  13921. type: array
  13922. "500":
  13923. description: Internal Server Error
  13924. schema:
  13925. $ref: '#/definitions/app.Response'
  13926. security:
  13927. - ApiKeyAuth: []
  13928. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13929. tags:
  13930. - 企业风险管理(app)
  13931. /Ermcp/QueryFuturesCompany:
  13932. get:
  13933. produces:
  13934. - application/json
  13935. responses:
  13936. "200":
  13937. description: OK
  13938. schema:
  13939. items:
  13940. $ref: '#/definitions/models.ErmcpFuturesCompany'
  13941. type: array
  13942. "500":
  13943. description: Internal Server Error
  13944. schema:
  13945. $ref: '#/definitions/app.Response'
  13946. security:
  13947. - ApiKeyAuth: []
  13948. summary: 查询期货公司
  13949. tags:
  13950. - 企业风险管理(app)
  13951. /Ermcp/QueryGGConvertConfig:
  13952. get:
  13953. parameters:
  13954. - description: 品种id(不填则查所有)
  13955. in: query
  13956. name: goodsgroupid
  13957. type: integer
  13958. produces:
  13959. - application/json
  13960. responses:
  13961. "200":
  13962. description: OK
  13963. schema:
  13964. items:
  13965. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  13966. type: array
  13967. "500":
  13968. description: Internal Server Error
  13969. schema:
  13970. $ref: '#/definitions/app.Response'
  13971. security:
  13972. - ApiKeyAuth: []
  13973. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  13974. tags:
  13975. - 企业风险管理(app)
  13976. /Ermcp/QueryGoodsBrand:
  13977. get:
  13978. parameters:
  13979. - description: 用户ID
  13980. in: query
  13981. name: userid
  13982. required: true
  13983. type: integer
  13984. - description: 现货商品ID
  13985. in: query
  13986. name: wrstandardid
  13987. type: integer
  13988. produces:
  13989. - application/json
  13990. responses:
  13991. "200":
  13992. description: OK
  13993. schema:
  13994. items:
  13995. $ref: '#/definitions/models.ErmcpGoodsBrand'
  13996. type: array
  13997. "500":
  13998. description: Internal Server Error
  13999. schema:
  14000. $ref: '#/definitions/app.Response'
  14001. security:
  14002. - ApiKeyAuth: []
  14003. summary: 查询商品品牌
  14004. tags:
  14005. - 企业风险管理(app)
  14006. /Ermcp/QueryGoodsModel:
  14007. get:
  14008. parameters:
  14009. - description: 用户ID
  14010. in: query
  14011. name: userid
  14012. required: true
  14013. type: integer
  14014. produces:
  14015. - application/json
  14016. responses:
  14017. "200":
  14018. description: OK
  14019. schema:
  14020. items:
  14021. $ref: '#/definitions/models.ErmcpGoodsModel'
  14022. type: array
  14023. "500":
  14024. description: Internal Server Error
  14025. schema:
  14026. $ref: '#/definitions/app.Response'
  14027. security:
  14028. - ApiKeyAuth: []
  14029. summary: 查询商品型号
  14030. tags:
  14031. - 企业风险管理(app)
  14032. /Ermcp/QueryHisExposure:
  14033. get:
  14034. parameters:
  14035. - description: 用户id
  14036. in: query
  14037. name: userid
  14038. required: true
  14039. type: integer
  14040. - description: 每个品种记录数
  14041. in: query
  14042. name: lastNum
  14043. required: true
  14044. type: integer
  14045. produces:
  14046. - application/json
  14047. responses:
  14048. "200":
  14049. description: OK
  14050. schema:
  14051. items:
  14052. $ref: '#/definitions/ermcp.HisExposureRsp'
  14053. type: array
  14054. "500":
  14055. description: Internal Server Error
  14056. schema:
  14057. $ref: '#/definitions/app.Response'
  14058. security:
  14059. - ApiKeyAuth: []
  14060. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14061. tags:
  14062. - 企业风险管理(app)
  14063. /Ermcp/QueryMiddleGoods:
  14064. get:
  14065. parameters:
  14066. - description: 所属机构ID
  14067. in: query
  14068. name: userid
  14069. required: true
  14070. type: integer
  14071. - description: 状态 0-停用 1-正常
  14072. in: query
  14073. name: status
  14074. required: true
  14075. type: integer
  14076. produces:
  14077. - application/json
  14078. responses:
  14079. "200":
  14080. description: OK
  14081. schema:
  14082. items:
  14083. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14084. type: array
  14085. "500":
  14086. description: Internal Server Error
  14087. schema:
  14088. $ref: '#/definitions/app.Response'
  14089. security:
  14090. - ApiKeyAuth: []
  14091. summary: 查询套保品种(菜单:套保品种)
  14092. tags:
  14093. - 企业风险管理(app)
  14094. /Ermcp/QueryMiddleGoodsChangeLog:
  14095. get:
  14096. parameters:
  14097. - description: 所属机构ID
  14098. in: query
  14099. name: userid
  14100. required: true
  14101. type: integer
  14102. - description: 套保品种id
  14103. in: query
  14104. name: middlegoodsid
  14105. required: true
  14106. type: integer
  14107. produces:
  14108. - application/json
  14109. responses:
  14110. "200":
  14111. description: OK
  14112. schema:
  14113. items:
  14114. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  14115. type: array
  14116. "500":
  14117. description: Internal Server Error
  14118. schema:
  14119. $ref: '#/definitions/app.Response'
  14120. security:
  14121. - ApiKeyAuth: []
  14122. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  14123. tags:
  14124. - 企业风险管理(app)
  14125. /Ermcp/QueryMiddleGoodsDetail:
  14126. get:
  14127. parameters:
  14128. - description: 所属机构ID
  14129. in: query
  14130. name: userid
  14131. required: true
  14132. type: integer
  14133. - description: 套保品种id
  14134. in: query
  14135. name: middlegoodsid
  14136. type: integer
  14137. produces:
  14138. - application/json
  14139. responses:
  14140. "200":
  14141. description: OK
  14142. schema:
  14143. items:
  14144. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  14145. type: array
  14146. "500":
  14147. description: Internal Server Error
  14148. schema:
  14149. $ref: '#/definitions/app.Response'
  14150. security:
  14151. - ApiKeyAuth: []
  14152. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  14153. tags:
  14154. - 企业风险管理(app)
  14155. /Ermcp/QueryPendingAuditInfo:
  14156. get:
  14157. parameters:
  14158. - description: 用户ID
  14159. in: query
  14160. name: UserId
  14161. required: true
  14162. type: integer
  14163. produces:
  14164. - application/json
  14165. responses:
  14166. "200":
  14167. description: OK
  14168. schema:
  14169. items:
  14170. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  14171. type: array
  14172. "500":
  14173. description: Internal Server Error
  14174. schema:
  14175. $ref: '#/definitions/app.Response'
  14176. security:
  14177. - ApiKeyAuth: []
  14178. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  14179. tags:
  14180. - 企业风险管理(app)
  14181. /Ermcp/QueryRealtimeExposure:
  14182. get:
  14183. parameters:
  14184. - description: 所属机构ID
  14185. in: query
  14186. name: userid
  14187. required: true
  14188. type: integer
  14189. produces:
  14190. - application/json
  14191. responses:
  14192. "200":
  14193. description: OK
  14194. schema:
  14195. items:
  14196. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14197. type: array
  14198. "500":
  14199. description: Internal Server Error
  14200. schema:
  14201. $ref: '#/definitions/app.Response'
  14202. security:
  14203. - ApiKeyAuth: []
  14204. summary: 查询实时敞口
  14205. tags:
  14206. - 企业风险管理(app)
  14207. /Ermcp/QueryRealtimeExposurePosition:
  14208. get:
  14209. parameters:
  14210. - description: 用户id
  14211. in: query
  14212. name: userid
  14213. required: true
  14214. type: integer
  14215. - description: 套保商品ID
  14216. in: query
  14217. name: middleGoodsId
  14218. required: true
  14219. type: integer
  14220. produces:
  14221. - application/json
  14222. responses:
  14223. "200":
  14224. description: OK
  14225. schema:
  14226. items:
  14227. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14228. type: array
  14229. "500":
  14230. description: Internal Server Error
  14231. schema:
  14232. $ref: '#/definitions/app.Response'
  14233. security:
  14234. - ApiKeyAuth: []
  14235. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14236. tags:
  14237. - 企业风险管理(app)
  14238. /Ermcp/QueryTradeConfigTMP:
  14239. get:
  14240. parameters:
  14241. - description: 所属机构id
  14242. in: query
  14243. name: areauserid
  14244. type: integer
  14245. produces:
  14246. - application/json
  14247. responses:
  14248. "200":
  14249. description: OK
  14250. schema:
  14251. items:
  14252. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14253. type: array
  14254. "500":
  14255. description: Internal Server Error
  14256. schema:
  14257. $ref: '#/definitions/app.Response'
  14258. security:
  14259. - ApiKeyAuth: []
  14260. summary: 查询交易模板配置
  14261. tags:
  14262. - 企业风险管理(app)
  14263. /Ermcp/QueryUserInfo:
  14264. get:
  14265. parameters:
  14266. - description: 所属机构用户ID
  14267. in: query
  14268. name: MemberUserID
  14269. required: true
  14270. type: integer
  14271. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14272. in: query
  14273. name: queryType
  14274. required: true
  14275. type: integer
  14276. produces:
  14277. - application/json
  14278. responses:
  14279. "200":
  14280. description: OK
  14281. schema:
  14282. items:
  14283. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  14284. type: array
  14285. "500":
  14286. description: Internal Server Error
  14287. schema:
  14288. $ref: '#/definitions/app.Response'
  14289. security:
  14290. - ApiKeyAuth: []
  14291. summary: 查询客户资料
  14292. tags:
  14293. - 企业风险管理(app)
  14294. /Ermcp/QueryWarehouseInfo:
  14295. get:
  14296. parameters:
  14297. - description: 用户ID
  14298. in: query
  14299. name: userid
  14300. required: true
  14301. type: integer
  14302. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  14303. in: query
  14304. name: status
  14305. type: string
  14306. produces:
  14307. - application/json
  14308. responses:
  14309. "200":
  14310. description: OK
  14311. schema:
  14312. items:
  14313. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  14314. type: array
  14315. "500":
  14316. description: Internal Server Error
  14317. schema:
  14318. $ref: '#/definitions/app.Response'
  14319. security:
  14320. - ApiKeyAuth: []
  14321. summary: 查询仓库信息
  14322. tags:
  14323. - 企业风险管理(app)
  14324. /Ermcp3/QryAreaExpourseContractDetail:
  14325. get:
  14326. parameters:
  14327. - description: 用户ID
  14328. in: query
  14329. name: userid
  14330. required: true
  14331. type: integer
  14332. - description: 套保商品id
  14333. in: query
  14334. name: middlegoodsid
  14335. required: true
  14336. type: integer
  14337. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14338. in: query
  14339. name: cycletype
  14340. required: true
  14341. type: integer
  14342. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14343. 全(0)【原值】
  14344. in: query
  14345. name: cycletime
  14346. required: true
  14347. type: string
  14348. produces:
  14349. - application/json
  14350. responses:
  14351. "200":
  14352. description: OK
  14353. schema:
  14354. items:
  14355. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  14356. type: array
  14357. "500":
  14358. description: Internal Server Error
  14359. schema:
  14360. $ref: '#/definitions/app.Response'
  14361. security:
  14362. - ApiKeyAuth: []
  14363. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  14364. tags:
  14365. - 企业风险管理v3(app)
  14366. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  14367. get:
  14368. parameters:
  14369. - description: 用户ID
  14370. in: query
  14371. name: userid
  14372. required: true
  14373. type: integer
  14374. - description: 套保商品id
  14375. in: query
  14376. name: middlegoodsid
  14377. required: true
  14378. type: integer
  14379. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14380. in: query
  14381. name: cycletype
  14382. required: true
  14383. type: integer
  14384. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14385. 全(0)【原值】
  14386. in: query
  14387. name: cycletime
  14388. required: true
  14389. type: string
  14390. produces:
  14391. - application/json
  14392. responses:
  14393. "200":
  14394. description: OK
  14395. schema:
  14396. items:
  14397. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  14398. type: array
  14399. "500":
  14400. description: Internal Server Error
  14401. schema:
  14402. $ref: '#/definitions/app.Response'
  14403. security:
  14404. - ApiKeyAuth: []
  14405. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  14406. tags:
  14407. - 企业风险管理v3(app)
  14408. /Ermcp3/QryAreaExpourseReport:
  14409. get:
  14410. parameters:
  14411. - description: 用户ID
  14412. in: query
  14413. name: userid
  14414. required: true
  14415. type: integer
  14416. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  14417. in: query
  14418. name: querytype
  14419. required: true
  14420. type: integer
  14421. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14422. in: query
  14423. name: cycletype
  14424. required: true
  14425. type: integer
  14426. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14427. 全(0)【原值】
  14428. in: query
  14429. name: cycletime
  14430. required: true
  14431. type: string
  14432. produces:
  14433. - application/json
  14434. responses:
  14435. "200":
  14436. description: OK
  14437. schema:
  14438. items:
  14439. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  14440. type: array
  14441. "500":
  14442. description: Internal Server Error
  14443. schema:
  14444. $ref: '#/definitions/app.Response'
  14445. security:
  14446. - ApiKeyAuth: []
  14447. summary: 查询敞口报表
  14448. tags:
  14449. - 企业风险管理v3(app)
  14450. /Ermcp3/QryAreaSpotplReport:
  14451. get:
  14452. parameters:
  14453. - description: 用户ID
  14454. in: query
  14455. name: userid
  14456. required: true
  14457. type: integer
  14458. - description: 查询类型 1-报表 2-报表明细
  14459. in: query
  14460. name: querytype
  14461. required: true
  14462. type: integer
  14463. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14464. in: query
  14465. name: cycletype
  14466. required: true
  14467. type: integer
  14468. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14469. 全(0)【原值】
  14470. in: query
  14471. name: cycletime
  14472. required: true
  14473. type: string
  14474. - description: 现货品种id(明细必填)
  14475. in: query
  14476. name: deliverygoodsid
  14477. type: integer
  14478. - description: 币种id(明细必填)
  14479. in: query
  14480. name: currencyid
  14481. type: integer
  14482. produces:
  14483. - application/json
  14484. responses:
  14485. "200":
  14486. description: OK
  14487. schema:
  14488. items:
  14489. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  14490. type: array
  14491. "500":
  14492. description: Internal Server Error
  14493. schema:
  14494. $ref: '#/definitions/app.Response'
  14495. security:
  14496. - ApiKeyAuth: []
  14497. summary: 查询现货报表
  14498. tags:
  14499. - 企业风险管理v3(app)
  14500. /Ermcp3/QryAreaStockReport:
  14501. get:
  14502. parameters:
  14503. - description: 用户ID
  14504. in: query
  14505. name: userid
  14506. required: true
  14507. type: integer
  14508. - description: 查询类型 1-报表 2-报表明细
  14509. in: query
  14510. name: querytype
  14511. required: true
  14512. type: integer
  14513. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14514. in: query
  14515. name: cycletype
  14516. required: true
  14517. type: integer
  14518. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14519. 全(0)【原值】
  14520. in: query
  14521. name: cycletime
  14522. required: true
  14523. type: string
  14524. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  14525. in: query
  14526. name: sumfields
  14527. type: string
  14528. - description: 品种ID
  14529. in: query
  14530. name: deliverygoodsid
  14531. type: integer
  14532. - description: 品类ID
  14533. in: query
  14534. name: wrstandardid
  14535. type: integer
  14536. - description: 品牌ID
  14537. in: query
  14538. name: spotgoodsbrandid
  14539. type: integer
  14540. - description: 仓库ID
  14541. in: query
  14542. name: warehouseinfoid
  14543. type: integer
  14544. produces:
  14545. - application/json
  14546. responses:
  14547. "200":
  14548. description: OK
  14549. schema:
  14550. items:
  14551. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  14552. type: array
  14553. "500":
  14554. description: Internal Server Error
  14555. schema:
  14556. $ref: '#/definitions/app.Response'
  14557. security:
  14558. - ApiKeyAuth: []
  14559. summary: 查询库存报表
  14560. tags:
  14561. - 企业风险管理v3(app)
  14562. /Ermcp3/QryAreaSumPL:
  14563. get:
  14564. parameters:
  14565. - description: 用户ID
  14566. in: query
  14567. name: userid
  14568. required: true
  14569. type: integer
  14570. - description: 查询类型 1-报表 2-报表明细
  14571. in: query
  14572. name: querytype
  14573. required: true
  14574. type: integer
  14575. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14576. in: query
  14577. name: cycletype
  14578. required: true
  14579. type: integer
  14580. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14581. 全(0)【原值】
  14582. in: query
  14583. name: cycletime
  14584. required: true
  14585. type: string
  14586. - description: 币种id(明细必填)
  14587. in: query
  14588. name: currencyid
  14589. type: integer
  14590. produces:
  14591. - application/json
  14592. responses:
  14593. "200":
  14594. description: OK
  14595. schema:
  14596. items:
  14597. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  14598. type: array
  14599. "500":
  14600. description: Internal Server Error
  14601. schema:
  14602. $ref: '#/definitions/app.Response'
  14603. security:
  14604. - ApiKeyAuth: []
  14605. summary: 查询汇总损益表
  14606. tags:
  14607. - 企业风险管理v3(app)
  14608. /Ermcp3/QryFinanceReport:
  14609. get:
  14610. parameters:
  14611. - description: 用户ID
  14612. in: query
  14613. name: userid
  14614. required: true
  14615. type: integer
  14616. - description: 查询类型 1-报表 2-报表明细
  14617. in: query
  14618. name: querytype
  14619. required: true
  14620. type: integer
  14621. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14622. in: query
  14623. name: cycletype
  14624. required: true
  14625. type: integer
  14626. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14627. 全(0)【原值】
  14628. in: query
  14629. name: cycletime
  14630. required: true
  14631. type: string
  14632. - description: 币种id(报表明细必填)
  14633. in: query
  14634. name: currencyid
  14635. type: integer
  14636. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  14637. in: query
  14638. name: sumfields
  14639. type: string
  14640. produces:
  14641. - application/json
  14642. responses:
  14643. "200":
  14644. description: OK
  14645. schema:
  14646. items:
  14647. $ref: '#/definitions/models.Ermcp3FinanceReport'
  14648. type: array
  14649. "500":
  14650. description: Internal Server Error
  14651. schema:
  14652. $ref: '#/definitions/app.Response'
  14653. security:
  14654. - ApiKeyAuth: []
  14655. summary: 查询财务报表
  14656. tags:
  14657. - 企业风险管理v3(app)
  14658. /Ermcp3/QueryAreaStock:
  14659. get:
  14660. parameters:
  14661. - description: 用户ID
  14662. in: query
  14663. name: userid
  14664. required: true
  14665. type: integer
  14666. produces:
  14667. - application/json
  14668. responses:
  14669. "200":
  14670. description: OK
  14671. schema:
  14672. items:
  14673. $ref: '#/definitions/models.Ermcp3AreaStock'
  14674. type: array
  14675. "500":
  14676. description: Internal Server Error
  14677. schema:
  14678. $ref: '#/definitions/app.Response'
  14679. security:
  14680. - ApiKeyAuth: []
  14681. summary: 查询机构库存(库存管理/当前库存)
  14682. tags:
  14683. - 企业风险管理v3(app)
  14684. /Ermcp3/QueryAreaStockApply:
  14685. get:
  14686. parameters:
  14687. - description: 用户ID
  14688. in: query
  14689. name: userid
  14690. required: true
  14691. type: integer
  14692. - description: 用户类型 2-机构 7-企业成员
  14693. in: query
  14694. name: usertype
  14695. type: integer
  14696. - description: 现货商品ID
  14697. in: query
  14698. name: deliverygoodsid
  14699. type: integer
  14700. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  14701. in: query
  14702. name: inouttype
  14703. type: string
  14704. - description: 合同ID
  14705. in: query
  14706. name: spotcontractid
  14707. type: integer
  14708. - description: 品类ID
  14709. in: query
  14710. name: wrstandardid
  14711. type: integer
  14712. - description: 品牌ID
  14713. in: query
  14714. name: spotgoodsbrandid
  14715. type: integer
  14716. - description: 仓库ID
  14717. in: query
  14718. name: warehouseinfoid
  14719. type: integer
  14720. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14721. in: query
  14722. name: applystatus
  14723. type: string
  14724. produces:
  14725. - application/json
  14726. responses:
  14727. "200":
  14728. description: OK
  14729. schema:
  14730. items:
  14731. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  14732. type: array
  14733. "500":
  14734. description: Internal Server Error
  14735. schema:
  14736. $ref: '#/definitions/app.Response'
  14737. security:
  14738. - ApiKeyAuth: []
  14739. summary: 查询库存申请(出入库记录|库存审核)
  14740. tags:
  14741. - 企业风险管理v3(app)
  14742. /Ermcp3/QueryAreaStockApplySum:
  14743. get:
  14744. parameters:
  14745. - description: 合同ID
  14746. in: query
  14747. name: spotcontractid
  14748. type: integer
  14749. produces:
  14750. - application/json
  14751. responses:
  14752. "200":
  14753. description: OK
  14754. schema:
  14755. items:
  14756. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  14757. type: array
  14758. "500":
  14759. description: Internal Server Error
  14760. schema:
  14761. $ref: '#/definitions/app.Response'
  14762. security:
  14763. - ApiKeyAuth: []
  14764. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  14765. tags:
  14766. - 企业风险管理v3(app)
  14767. /Ermcp3/QueryDGFactoryItem:
  14768. get:
  14769. parameters:
  14770. - description: 用户id
  14771. in: query
  14772. name: userid
  14773. type: integer
  14774. - description: 用户类型 2-机构 7-企业成员
  14775. in: query
  14776. name: usertype
  14777. type: integer
  14778. - description: 选择项ID(SEQ_DGFACTORYITEM)
  14779. in: query
  14780. name: dgfactoryitemid
  14781. type: integer
  14782. - description: 现货品种ID
  14783. in: query
  14784. name: deliverygoodsid
  14785. type: integer
  14786. - description: 要素项类型
  14787. in: query
  14788. name: dgfactoryitemtypeid
  14789. type: integer
  14790. - description: 顺序
  14791. in: query
  14792. name: orderindex
  14793. type: integer
  14794. produces:
  14795. - application/json
  14796. responses:
  14797. "200":
  14798. description: OK
  14799. schema:
  14800. items:
  14801. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  14802. type: array
  14803. "500":
  14804. description: Internal Server Error
  14805. schema:
  14806. $ref: '#/definitions/app.Response'
  14807. security:
  14808. - ApiKeyAuth: []
  14809. summary: 查询品种要素定义项
  14810. tags:
  14811. - 企业风险管理v3(app)
  14812. /Ermcp3/QueryDeliveryGoods:
  14813. get:
  14814. parameters:
  14815. - description: 用户id
  14816. in: query
  14817. name: userid
  14818. required: true
  14819. type: integer
  14820. - description: 用户类型 2-机构 7-企业成员
  14821. in: query
  14822. name: usertype
  14823. type: integer
  14824. - description: 排除已配置的业务类型商品 1-套保 2-套利
  14825. in: query
  14826. name: excludecfg
  14827. type: integer
  14828. produces:
  14829. - application/json
  14830. responses:
  14831. "200":
  14832. description: OK
  14833. schema:
  14834. items:
  14835. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  14836. type: array
  14837. "500":
  14838. description: Internal Server Error
  14839. schema:
  14840. $ref: '#/definitions/app.Response'
  14841. security:
  14842. - ApiKeyAuth: []
  14843. summary: 查询现货商品
  14844. tags:
  14845. - 企业风险管理v3(app)
  14846. /Ermcp3/QueryDeliveryGoodsDetail:
  14847. get:
  14848. parameters:
  14849. - description: 用户id
  14850. in: query
  14851. name: userid
  14852. required: true
  14853. type: integer
  14854. - description: 用户类型 2-机构 7-企业成员
  14855. in: query
  14856. name: usertype
  14857. type: integer
  14858. - description: 现货商品id
  14859. in: query
  14860. name: deliverygoodsid
  14861. type: integer
  14862. produces:
  14863. - application/json
  14864. responses:
  14865. "200":
  14866. description: OK
  14867. schema:
  14868. items:
  14869. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  14870. type: array
  14871. "500":
  14872. description: Internal Server Error
  14873. schema:
  14874. $ref: '#/definitions/app.Response'
  14875. security:
  14876. - ApiKeyAuth: []
  14877. summary: 查询现货商品详情
  14878. tags:
  14879. - 企业风险管理v3(app)
  14880. /Ermcp3/QueryExposureDetail:
  14881. get:
  14882. parameters:
  14883. - description: 用户id
  14884. in: query
  14885. name: userid
  14886. required: true
  14887. type: integer
  14888. - description: 用户类型 2-机构 7-企业成员
  14889. in: query
  14890. name: usertype
  14891. type: integer
  14892. - description: 套保商品
  14893. in: query
  14894. name: middlegoodsid
  14895. required: true
  14896. type: integer
  14897. produces:
  14898. - application/json
  14899. responses:
  14900. "200":
  14901. description: OK
  14902. schema:
  14903. items:
  14904. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  14905. type: array
  14906. "500":
  14907. description: Internal Server Error
  14908. schema:
  14909. $ref: '#/definitions/app.Response'
  14910. security:
  14911. - ApiKeyAuth: []
  14912. summary: 查询敞口现货明细
  14913. tags:
  14914. - 企业风险管理v3(app)
  14915. /Ermcp3/QueryExposureSpot:
  14916. get:
  14917. parameters:
  14918. - description: 用户id
  14919. in: query
  14920. name: userid
  14921. required: true
  14922. type: integer
  14923. - description: 用户类型 2-机构 7-企业成员
  14924. in: query
  14925. name: usertype
  14926. type: integer
  14927. produces:
  14928. - application/json
  14929. responses:
  14930. "200":
  14931. description: OK
  14932. schema:
  14933. items:
  14934. $ref: '#/definitions/models.Ermcp3AreaSpot'
  14935. type: array
  14936. "500":
  14937. description: Internal Server Error
  14938. schema:
  14939. $ref: '#/definitions/app.Response'
  14940. security:
  14941. - ApiKeyAuth: []
  14942. summary: 查询敞口现货头寸(敞口/现货头寸)
  14943. tags:
  14944. - 企业风险管理v3(app)
  14945. /Ermcp3/QueryExposureSpotDetail:
  14946. get:
  14947. parameters:
  14948. - description: 用户id
  14949. in: query
  14950. name: userid
  14951. required: true
  14952. type: integer
  14953. - description: 用户类型 2-机构 7-企业成员
  14954. in: query
  14955. name: usertype
  14956. type: integer
  14957. - description: 现货品种ID
  14958. in: query
  14959. name: deliverygoodsid
  14960. required: true
  14961. type: integer
  14962. produces:
  14963. - application/json
  14964. responses:
  14965. "200":
  14966. description: OK
  14967. schema:
  14968. items:
  14969. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  14970. type: array
  14971. "500":
  14972. description: Internal Server Error
  14973. schema:
  14974. $ref: '#/definitions/app.Response'
  14975. security:
  14976. - ApiKeyAuth: []
  14977. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14978. tags:
  14979. - 企业风险管理v3(app)
  14980. /Ermcp3/QueryGoodsGroup:
  14981. get:
  14982. parameters:
  14983. - description: 用户id
  14984. in: query
  14985. name: userid
  14986. required: true
  14987. type: integer
  14988. - description: 用户类型 2-机构 7-企业成员
  14989. in: query
  14990. name: usertype
  14991. type: integer
  14992. - description: 排除套保品中已关联的商品组 1-排除
  14993. in: query
  14994. name: excludecfg
  14995. type: integer
  14996. produces:
  14997. - application/json
  14998. responses:
  14999. "200":
  15000. description: OK
  15001. schema:
  15002. items:
  15003. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  15004. type: array
  15005. "500":
  15006. description: Internal Server Error
  15007. schema:
  15008. $ref: '#/definitions/app.Response'
  15009. security:
  15010. - ApiKeyAuth: []
  15011. summary: 查询期货商品组
  15012. tags:
  15013. - 企业风险管理v3(app)
  15014. /Ermcp3/QueryGoodsWrstandard:
  15015. get:
  15016. parameters:
  15017. - description: 用户id
  15018. in: query
  15019. name: userid
  15020. required: true
  15021. type: integer
  15022. - description: 用户类型 2-机构 7-企业成员
  15023. in: query
  15024. name: usertype
  15025. type: integer
  15026. - description: 现货商品id
  15027. in: query
  15028. name: deliverygoodsid
  15029. type: integer
  15030. produces:
  15031. - application/json
  15032. responses:
  15033. "200":
  15034. description: OK
  15035. schema:
  15036. items:
  15037. $ref: '#/definitions/models.Ermcp3Wrstandard'
  15038. type: array
  15039. "500":
  15040. description: Internal Server Error
  15041. schema:
  15042. $ref: '#/definitions/app.Response'
  15043. security:
  15044. - ApiKeyAuth: []
  15045. summary: 查询商品品类
  15046. tags:
  15047. - 企业风险管理v3(app)
  15048. /Ermcp3/QueryGoodsbrand:
  15049. get:
  15050. parameters:
  15051. - description: 用户id
  15052. in: query
  15053. name: userid
  15054. required: true
  15055. type: integer
  15056. - description: 用户类型 2-机构 7-企业成员
  15057. in: query
  15058. name: usertype
  15059. type: integer
  15060. produces:
  15061. - application/json
  15062. responses:
  15063. "200":
  15064. description: OK
  15065. schema:
  15066. items:
  15067. $ref: '#/definitions/models.Ermcp3Brand'
  15068. type: array
  15069. "500":
  15070. description: Internal Server Error
  15071. schema:
  15072. $ref: '#/definitions/app.Response'
  15073. security:
  15074. - ApiKeyAuth: []
  15075. summary: 查询商品品牌
  15076. tags:
  15077. - 企业风险管理v3(app)
  15078. /Ermcp3/QueryHedgePlan:
  15079. get:
  15080. parameters:
  15081. - description: 用户ID
  15082. in: query
  15083. name: userid
  15084. required: true
  15085. type: integer
  15086. - description: 用户类型 2-机构 7-企业成员
  15087. in: query
  15088. name: usertype
  15089. type: integer
  15090. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  15091. in: query
  15092. name: hedgeplanstatus
  15093. required: true
  15094. type: string
  15095. produces:
  15096. - application/json
  15097. responses:
  15098. "200":
  15099. description: OK
  15100. schema:
  15101. items:
  15102. $ref: '#/definitions/models.Ermcp3HedgePlan'
  15103. type: array
  15104. "500":
  15105. description: Internal Server Error
  15106. schema:
  15107. $ref: '#/definitions/app.Response'
  15108. security:
  15109. - ApiKeyAuth: []
  15110. summary: 查询套保计划
  15111. tags:
  15112. - 企业风险管理v3(app)
  15113. /Ermcp3/QueryMiddleGoodsDetail:
  15114. get:
  15115. parameters:
  15116. - description: 用户id
  15117. in: query
  15118. name: userid
  15119. required: true
  15120. type: integer
  15121. - description: 用户类型 2-机构 7-企业成员
  15122. in: query
  15123. name: usertype
  15124. type: integer
  15125. - description: 套保品种id
  15126. in: query
  15127. name: middlegoodsid
  15128. type: integer
  15129. produces:
  15130. - application/json
  15131. responses:
  15132. "200":
  15133. description: OK
  15134. schema:
  15135. items:
  15136. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  15137. type: array
  15138. "500":
  15139. description: Internal Server Error
  15140. schema:
  15141. $ref: '#/definitions/app.Response'
  15142. security:
  15143. - ApiKeyAuth: []
  15144. summary: 查询套保品种详情(套保品种/商品详情)
  15145. tags:
  15146. - 企业风险管理v3(app)
  15147. /Ermcp3/QuerySpotContract:
  15148. get:
  15149. parameters:
  15150. - description: 用户id
  15151. in: query
  15152. name: userid
  15153. required: true
  15154. type: integer
  15155. - description: 用户类型 2-机构 7-企业成员
  15156. in: query
  15157. name: usertype
  15158. type: integer
  15159. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  15160. in: query
  15161. name: querytype
  15162. required: true
  15163. type: integer
  15164. - description: 合同ID(SpotContractId)
  15165. in: query
  15166. name: contractid
  15167. type: string
  15168. produces:
  15169. - application/json
  15170. responses:
  15171. "200":
  15172. description: OK
  15173. schema:
  15174. items:
  15175. $ref: '#/definitions/models.Ermcp3Contract'
  15176. type: array
  15177. "500":
  15178. description: Internal Server Error
  15179. schema:
  15180. $ref: '#/definitions/app.Response'
  15181. security:
  15182. - ApiKeyAuth: []
  15183. summary: 查询现货合同
  15184. tags:
  15185. - 企业风险管理v3(app)
  15186. /Ermcp3/QuerySpotContractBS:
  15187. get:
  15188. parameters:
  15189. - description: 用户id
  15190. in: query
  15191. name: userid
  15192. required: true
  15193. type: integer
  15194. - description: 用户类型 2-机构 7-企业成员
  15195. in: query
  15196. name: usertype
  15197. type: integer
  15198. - description: 合同类型 1-采购, -1-销售
  15199. in: query
  15200. name: contracttype
  15201. required: true
  15202. type: integer
  15203. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15204. in: query
  15205. name: querytype
  15206. required: true
  15207. type: integer
  15208. - description: 合同ID(SpotContractId)
  15209. in: query
  15210. name: contractid
  15211. type: string
  15212. produces:
  15213. - application/json
  15214. responses:
  15215. "200":
  15216. description: OK
  15217. schema:
  15218. items:
  15219. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  15220. type: array
  15221. "500":
  15222. description: Internal Server Error
  15223. schema:
  15224. $ref: '#/definitions/app.Response'
  15225. security:
  15226. - ApiKeyAuth: []
  15227. summary: 查询合同(采购/销售)
  15228. tags:
  15229. - 企业风险管理v3(app)
  15230. /Ermcp3/QuerySpotGoodsPrice:
  15231. get:
  15232. parameters:
  15233. - description: 用户ID
  15234. in: query
  15235. name: userid
  15236. required: true
  15237. type: integer
  15238. produces:
  15239. - application/json
  15240. responses:
  15241. "200":
  15242. description: OK
  15243. schema:
  15244. items:
  15245. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  15246. type: array
  15247. "500":
  15248. description: Internal Server Error
  15249. schema:
  15250. $ref: '#/definitions/app.Response'
  15251. security:
  15252. - ApiKeyAuth: []
  15253. summary: 查询现货市价(现货市价)
  15254. tags:
  15255. - 企业风险管理v3(app)
  15256. /Ermcp3/QuerySpotGoodsPriceLog:
  15257. get:
  15258. parameters:
  15259. - description: 用户ID
  15260. in: query
  15261. name: userid
  15262. required: true
  15263. type: integer
  15264. - description: 现货商品ID
  15265. in: query
  15266. name: deliverygoodsid
  15267. required: true
  15268. type: integer
  15269. - description: 品牌ID
  15270. in: query
  15271. name: brandid
  15272. type: integer
  15273. - description: 品类ID
  15274. in: query
  15275. name: wrstandardid
  15276. type: integer
  15277. produces:
  15278. - application/json
  15279. responses:
  15280. "200":
  15281. description: OK
  15282. schema:
  15283. items:
  15284. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  15285. type: array
  15286. "500":
  15287. description: Internal Server Error
  15288. schema:
  15289. $ref: '#/definitions/app.Response'
  15290. security:
  15291. - ApiKeyAuth: []
  15292. summary: 查询现货市价详情(现货市价/详情)
  15293. tags:
  15294. - 企业风险管理v3(app)
  15295. /Erms2/QueryArbitrageStrategy:
  15296. get:
  15297. parameters:
  15298. - description: 账户ID
  15299. in: query
  15300. name: userid
  15301. required: true
  15302. type: integer
  15303. - description: 商品组ID(品种ID)
  15304. in: query
  15305. name: goodsgroupid
  15306. type: string
  15307. produces:
  15308. - application/json
  15309. responses:
  15310. "200":
  15311. description: OK
  15312. schema:
  15313. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  15314. "500":
  15315. description: Internal Server Error
  15316. schema:
  15317. $ref: '#/definitions/app.Response'
  15318. security:
  15319. - ApiKeyAuth: []
  15320. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  15321. tags:
  15322. - 风险管理
  15323. /Erms2/QueryInnerTradeDetail:
  15324. get:
  15325. parameters:
  15326. - description: 资金账户
  15327. in: query
  15328. name: accountid
  15329. required: true
  15330. type: integer
  15331. produces:
  15332. - application/json
  15333. responses:
  15334. "200":
  15335. description: OK
  15336. schema:
  15337. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  15338. "500":
  15339. description: Internal Server Error
  15340. schema:
  15341. $ref: '#/definitions/app.Response'
  15342. security:
  15343. - ApiKeyAuth: []
  15344. summary: 查询内部成交单信息
  15345. tags:
  15346. - 风险管理
  15347. /Erms2/QuerySpotContract:
  15348. get:
  15349. parameters:
  15350. - description: 策略申请ID
  15351. in: query
  15352. name: asapplyid
  15353. required: true
  15354. type: integer
  15355. - description: 现货合同ID
  15356. in: query
  15357. name: spotcontractid
  15358. type: integer
  15359. produces:
  15360. - application/json
  15361. responses:
  15362. "200":
  15363. description: OK
  15364. schema:
  15365. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  15366. "500":
  15367. description: Internal Server Error
  15368. schema:
  15369. $ref: '#/definitions/app.Response'
  15370. security:
  15371. - ApiKeyAuth: []
  15372. summary: 查询现货合同表信息(指定策略ID、未结束的)
  15373. tags:
  15374. - 风险管理
  15375. /Erms3/AddErms2ASApply:
  15376. post:
  15377. parameters:
  15378. - description: 申请参数
  15379. in: body
  15380. name: jsonBody
  15381. required: true
  15382. schema:
  15383. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  15384. produces:
  15385. - application/json
  15386. responses:
  15387. "200":
  15388. description: OK
  15389. schema:
  15390. $ref: '#/definitions/app.Response'
  15391. "500":
  15392. description: Internal Server Error
  15393. schema:
  15394. $ref: '#/definitions/app.Response'
  15395. security:
  15396. - ApiKeyAuth: []
  15397. summary: 新增期现套利业务申请
  15398. tags:
  15399. - 风险管理v3
  15400. /Erms3/AddErms2SpotTradeApply:
  15401. post:
  15402. parameters:
  15403. - description: 申请参数
  15404. in: body
  15405. name: jsonBody
  15406. required: true
  15407. schema:
  15408. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  15409. produces:
  15410. - application/json
  15411. responses:
  15412. "200":
  15413. description: OK
  15414. schema:
  15415. $ref: '#/definitions/app.Response'
  15416. "500":
  15417. description: Internal Server Error
  15418. schema:
  15419. $ref: '#/definitions/app.Response'
  15420. security:
  15421. - ApiKeyAuth: []
  15422. summary: 新增现货贸易业务申请
  15423. tags:
  15424. - 风险管理v3
  15425. /Erms3/AddSpotContractApply:
  15426. post:
  15427. parameters:
  15428. - description: 申请参数
  15429. in: body
  15430. name: jsonBody
  15431. required: true
  15432. schema:
  15433. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  15434. produces:
  15435. - application/json
  15436. responses:
  15437. "200":
  15438. description: OK
  15439. schema:
  15440. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  15441. "500":
  15442. description: Internal Server Error
  15443. schema:
  15444. $ref: '#/definitions/app.Response'
  15445. security:
  15446. - ApiKeyAuth: []
  15447. summary: 新增现货合同申请
  15448. tags:
  15449. - 风险管理v3
  15450. /Erms3/AddUserInfoApply:
  15451. post:
  15452. parameters:
  15453. - description: 用户信息
  15454. in: body
  15455. name: jsonBody
  15456. required: true
  15457. schema:
  15458. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  15459. produces:
  15460. - application/json
  15461. responses:
  15462. "200":
  15463. description: OK
  15464. schema:
  15465. $ref: '#/definitions/app.Response'
  15466. "500":
  15467. description: Internal Server Error
  15468. schema:
  15469. $ref: '#/definitions/app.Response'
  15470. security:
  15471. - ApiKeyAuth: []
  15472. summary: 新增客户申请
  15473. tags:
  15474. - 风险管理v3
  15475. /Erms3/DeleteUserInfoApply:
  15476. get:
  15477. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  15478. parameters:
  15479. - description: 用户ID
  15480. in: query
  15481. name: userID
  15482. required: true
  15483. type: integer
  15484. produces:
  15485. - application/json
  15486. responses:
  15487. "200":
  15488. description: OK
  15489. schema:
  15490. $ref: '#/definitions/app.Response'
  15491. "500":
  15492. description: Internal Server Error
  15493. schema:
  15494. $ref: '#/definitions/app.Response'
  15495. security:
  15496. - ApiKeyAuth: []
  15497. summary: 删除客户申请
  15498. tags:
  15499. - 风险管理v3
  15500. /Erms3/ModifyUserInfoApply:
  15501. post:
  15502. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  15503. int, "userstate": 2 }'
  15504. parameters:
  15505. - description: 用户信息
  15506. in: body
  15507. name: jsonBody
  15508. required: true
  15509. schema:
  15510. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  15511. produces:
  15512. - application/json
  15513. responses:
  15514. "200":
  15515. description: OK
  15516. schema:
  15517. $ref: '#/definitions/app.Response'
  15518. "500":
  15519. description: Internal Server Error
  15520. schema:
  15521. $ref: '#/definitions/app.Response'
  15522. security:
  15523. - ApiKeyAuth: []
  15524. summary: 修改客户申请
  15525. tags:
  15526. - 风险管理v3
  15527. /Erms3/QueryBusinessInfo:
  15528. get:
  15529. parameters:
  15530. - description: 资金账号ID列表,用逗号分隔
  15531. in: query
  15532. name: accountids
  15533. required: true
  15534. type: string
  15535. - description: 状态,0为未结束 1为已结束
  15536. in: query
  15537. name: status
  15538. required: true
  15539. type: integer
  15540. produces:
  15541. - application/json
  15542. responses:
  15543. "200":
  15544. description: OK
  15545. schema:
  15546. items:
  15547. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  15548. type: array
  15549. "500":
  15550. description: Internal Server Error
  15551. schema:
  15552. $ref: '#/definitions/app.Response'
  15553. security:
  15554. - ApiKeyAuth: []
  15555. summary: 查询业务表单数据
  15556. tags:
  15557. - 风险管理v3
  15558. /Erms3/QueryPendingAuditContract:
  15559. get:
  15560. parameters:
  15561. - description: 资金账号ID列表,逗号隔开
  15562. in: query
  15563. name: accountids
  15564. required: true
  15565. type: string
  15566. - description: 合同类型 1-采购 -1-销售
  15567. in: query
  15568. name: contracttype
  15569. required: true
  15570. type: integer
  15571. - description: 合同模式 1-普通 2-回购
  15572. in: query
  15573. name: contractmode
  15574. required: true
  15575. type: integer
  15576. produces:
  15577. - application/json
  15578. responses:
  15579. "200":
  15580. description: OK
  15581. schema:
  15582. items:
  15583. $ref: '#/definitions/erms3.QryAuditContractRsp'
  15584. type: array
  15585. "500":
  15586. description: Internal Server Error
  15587. schema:
  15588. $ref: '#/definitions/app.Response'
  15589. security:
  15590. - ApiKeyAuth: []
  15591. summary: 查询待审核合同
  15592. tags:
  15593. - 风险管理v3
  15594. /Erms3/QueryPendingBusiness:
  15595. get:
  15596. parameters:
  15597. - description: 资金账号ID列表,逗号隔开
  15598. in: query
  15599. name: accountids
  15600. required: true
  15601. type: string
  15602. produces:
  15603. - application/json
  15604. responses:
  15605. "200":
  15606. description: OK
  15607. schema:
  15608. items:
  15609. $ref: '#/definitions/erms3.QryPendingBizRsp'
  15610. type: array
  15611. "500":
  15612. description: Internal Server Error
  15613. schema:
  15614. $ref: '#/definitions/app.Response'
  15615. security:
  15616. - ApiKeyAuth: []
  15617. summary: 查询待审核基差贸易业务
  15618. tags:
  15619. - 风险管理v3
  15620. /Erms3/QuerySpotContractAppleForm:
  15621. get:
  15622. parameters:
  15623. - description: 登录账号
  15624. in: query
  15625. name: loginID
  15626. required: true
  15627. type: integer
  15628. produces:
  15629. - application/json
  15630. responses:
  15631. "200":
  15632. description: OK
  15633. schema:
  15634. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  15635. "500":
  15636. description: Internal Server Error
  15637. schema:
  15638. $ref: '#/definitions/app.Response'
  15639. security:
  15640. - ApiKeyAuth: []
  15641. summary: 查询合同申请表单数据
  15642. tags:
  15643. - 风险管理v3
  15644. /Erms3/QuerySpotContractDetail:
  15645. get:
  15646. parameters:
  15647. - description: 资金账号ID列表,用逗号分隔
  15648. in: query
  15649. name: accountids
  15650. required: true
  15651. type: string
  15652. - description: 合同类型,1为采购合同 -1为销售合同
  15653. in: query
  15654. name: contracttype
  15655. required: true
  15656. type: integer
  15657. - description: 合同模式,1为普通合同 2为回购销售合同
  15658. in: query
  15659. name: contractmode
  15660. required: true
  15661. type: integer
  15662. - description: 状态,0为履约中 1为已完成
  15663. in: query
  15664. name: status
  15665. required: true
  15666. type: integer
  15667. produces:
  15668. - application/json
  15669. responses:
  15670. "200":
  15671. description: OK
  15672. schema:
  15673. items:
  15674. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  15675. type: array
  15676. "500":
  15677. description: Internal Server Error
  15678. schema:
  15679. $ref: '#/definitions/app.Response'
  15680. security:
  15681. - ApiKeyAuth: []
  15682. summary: 查询合同详细信息
  15683. tags:
  15684. - 风险管理v3
  15685. /Erms3/QueryUserInfoApplies:
  15686. get:
  15687. parameters:
  15688. - description: 页码
  15689. in: query
  15690. name: page
  15691. type: integer
  15692. - description: 每页条数
  15693. in: query
  15694. name: pagesize
  15695. type: integer
  15696. - description: 客户名称,支持模糊查询
  15697. in: query
  15698. name: userName
  15699. type: string
  15700. produces:
  15701. - application/json
  15702. responses:
  15703. "200":
  15704. description: OK
  15705. schema:
  15706. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  15707. "500":
  15708. description: Internal Server Error
  15709. schema:
  15710. $ref: '#/definitions/app.Response'
  15711. security:
  15712. - ApiKeyAuth: []
  15713. summary: 客户申请信息查询
  15714. tags:
  15715. - 风险管理v3
  15716. /Erms3/QueryUserInfos:
  15717. get:
  15718. parameters:
  15719. - description: 页码
  15720. in: query
  15721. name: page
  15722. type: integer
  15723. - description: 每页条数
  15724. in: query
  15725. name: pagesize
  15726. type: integer
  15727. - description: 客户名称,支持模糊查询
  15728. in: query
  15729. name: userName
  15730. type: string
  15731. produces:
  15732. - application/json
  15733. responses:
  15734. "200":
  15735. description: OK
  15736. schema:
  15737. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  15738. "500":
  15739. description: Internal Server Error
  15740. schema:
  15741. $ref: '#/definitions/app.Response'
  15742. security:
  15743. - ApiKeyAuth: []
  15744. summary: 客户信息查询
  15745. tags:
  15746. - 风险管理v3
  15747. /HSBY/GetHsbyMyCount:
  15748. get:
  15749. description: 说明: 不包括已完成的数量。
  15750. parameters:
  15751. - description: 资金账户列表,格式:1,2,3
  15752. in: query
  15753. name: accountIDs
  15754. required: true
  15755. type: string
  15756. produces:
  15757. - application/json
  15758. responses:
  15759. "200":
  15760. description: OK
  15761. schema:
  15762. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  15763. "500":
  15764. description: Internal Server Error
  15765. schema:
  15766. $ref: '#/definitions/app.Response'
  15767. security:
  15768. - ApiKeyAuth: []
  15769. summary: 获取我的订单与包裹数量
  15770. tags:
  15771. - 定制【海商报业】
  15772. /HSBY/QueryClientFixedADConfigs:
  15773. get:
  15774. produces:
  15775. - application/json
  15776. responses:
  15777. "200":
  15778. description: OK
  15779. schema:
  15780. $ref: '#/definitions/models.Clientfixedadconfig'
  15781. "500":
  15782. description: Internal Server Error
  15783. schema:
  15784. $ref: '#/definitions/app.Response'
  15785. security:
  15786. - ApiKeyAuth: []
  15787. summary: 获取终端固定广告配置
  15788. tags:
  15789. - 定制【海商报业】
  15790. /HSBY/QueryHsbyBuyMyTradeDetail:
  15791. get:
  15792. parameters:
  15793. - description: 页码
  15794. in: query
  15795. name: page
  15796. type: integer
  15797. - description: 每页条数
  15798. in: query
  15799. name: pagesize
  15800. type: integer
  15801. - description: 资金账户列表,格式:1,2,3
  15802. in: query
  15803. name: accountIDs
  15804. required: true
  15805. type: string
  15806. produces:
  15807. - application/json
  15808. responses:
  15809. "200":
  15810. description: OK
  15811. schema:
  15812. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  15813. "500":
  15814. description: Internal Server Error
  15815. schema:
  15816. $ref: '#/definitions/app.Response'
  15817. security:
  15818. - ApiKeyAuth: []
  15819. summary: 查询"我的订单 - 已完成"单据信息
  15820. tags:
  15821. - 定制【海商报业】
  15822. /HSBY/QueryHsbyGoodsOrderDetails:
  15823. get:
  15824. description: 说明:查询结果已按委托价格和委托时间排序
  15825. parameters:
  15826. - description: 商品ID
  15827. in: query
  15828. name: goodsID
  15829. required: true
  15830. type: integer
  15831. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  15832. in: query
  15833. name: accountIDs
  15834. type: string
  15835. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  15836. in: query
  15837. name: buyOrSell
  15838. type: integer
  15839. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  15840. in: query
  15841. name: price
  15842. type: number
  15843. - description: 档位,不传则默认为3档
  15844. in: query
  15845. name: speed
  15846. type: integer
  15847. produces:
  15848. - application/json
  15849. responses:
  15850. "200":
  15851. description: OK
  15852. schema:
  15853. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  15854. "500":
  15855. description: Internal Server Error
  15856. schema:
  15857. $ref: '#/definitions/app.Response'
  15858. security:
  15859. - ApiKeyAuth: []
  15860. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  15861. tags:
  15862. - 定制【海商报业】
  15863. /HSBY/QueryHsbyListingGoodsDetail:
  15864. get:
  15865. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  15866. parameters:
  15867. - description: 商品ID
  15868. in: query
  15869. name: goodsID
  15870. required: true
  15871. type: integer
  15872. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  15873. in: query
  15874. name: accountID
  15875. type: integer
  15876. produces:
  15877. - application/json
  15878. responses:
  15879. "200":
  15880. description: OK
  15881. schema:
  15882. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  15883. "500":
  15884. description: Internal Server Error
  15885. schema:
  15886. $ref: '#/definitions/app.Response'
  15887. security:
  15888. - ApiKeyAuth: []
  15889. summary: 查询二级市场(挂牌点选)商品信息详情
  15890. tags:
  15891. - 定制【海商报业】
  15892. /HSBY/QueryHsbyMarketGoodsDetail:
  15893. get:
  15894. parameters:
  15895. - description: 委托单号
  15896. in: query
  15897. name: orderID
  15898. required: true
  15899. type: integer
  15900. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  15901. in: query
  15902. name: accountID
  15903. type: integer
  15904. produces:
  15905. - application/json
  15906. responses:
  15907. "200":
  15908. description: OK
  15909. schema:
  15910. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15911. "500":
  15912. description: Internal Server Error
  15913. schema:
  15914. $ref: '#/definitions/app.Response'
  15915. security:
  15916. - ApiKeyAuth: []
  15917. summary: 查询三级市场(商城)商品信息详情
  15918. tags:
  15919. - 定制【海商报业】
  15920. /HSBY/QueryHsbyMarketGoodses:
  15921. get:
  15922. parameters:
  15923. - description: 页码
  15924. in: query
  15925. name: page
  15926. type: integer
  15927. - description: 每页条数
  15928. in: query
  15929. name: pagesize
  15930. type: integer
  15931. - description: 市场ID列表,格式:1,2,3
  15932. in: query
  15933. name: marketIDs
  15934. required: true
  15935. type: string
  15936. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  15937. in: query
  15938. name: accountID
  15939. required: true
  15940. type: integer
  15941. - description: 类别ID
  15942. in: query
  15943. name: categoryID
  15944. type: integer
  15945. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15946. in: query
  15947. name: goodsIDs
  15948. type: string
  15949. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  15950. in: query
  15951. name: couponTypeID
  15952. type: integer
  15953. produces:
  15954. - application/json
  15955. responses:
  15956. "200":
  15957. description: OK
  15958. schema:
  15959. $ref: '#/definitions/models.HsbyMarketGoods'
  15960. "500":
  15961. description: Internal Server Error
  15962. schema:
  15963. $ref: '#/definitions/app.Response'
  15964. security:
  15965. - ApiKeyAuth: []
  15966. summary: 查询特卖商品列表(三级商城)
  15967. tags:
  15968. - 定制【海商报业】
  15969. /HSBY/QueryHsbyMarkets:
  15970. get:
  15971. produces:
  15972. - application/json
  15973. responses:
  15974. "200":
  15975. description: OK
  15976. schema:
  15977. $ref: '#/definitions/models.HsbyMarketInfo'
  15978. "500":
  15979. description: Internal Server Error
  15980. schema:
  15981. $ref: '#/definitions/app.Response'
  15982. security:
  15983. - ApiKeyAuth: []
  15984. summary: 查询海商报业相关市场信息
  15985. tags:
  15986. - 定制【海商报业】
  15987. /HSBY/QueryHsbyMyBuyOrderDetails:
  15988. get:
  15989. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  15990. parameters:
  15991. - description: 资金账户列表,格式:1,2,3
  15992. in: query
  15993. name: accountIDs
  15994. required: true
  15995. type: string
  15996. produces:
  15997. - application/json
  15998. responses:
  15999. "200":
  16000. description: OK
  16001. schema:
  16002. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  16003. "500":
  16004. description: Internal Server Error
  16005. schema:
  16006. $ref: '#/definitions/app.Response'
  16007. security:
  16008. - ApiKeyAuth: []
  16009. summary: 查询“我的订单”信息
  16010. tags:
  16011. - 定制【海商报业】
  16012. /HSBY/QueryHsbyMyGoods:
  16013. get:
  16014. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  16015. parameters:
  16016. - description: 资金账户列表,格式:1,2,3
  16017. in: query
  16018. name: accountIDs
  16019. required: true
  16020. type: string
  16021. produces:
  16022. - application/json
  16023. responses:
  16024. "200":
  16025. description: OK
  16026. schema:
  16027. $ref: '#/definitions/models.HsbyMyGoods'
  16028. "500":
  16029. description: Internal Server Error
  16030. schema:
  16031. $ref: '#/definitions/app.Response'
  16032. security:
  16033. - ApiKeyAuth: []
  16034. summary: 查询“我的商品”信息
  16035. tags:
  16036. - 定制【海商报业】
  16037. /HSBY/QueryHsbyMyPackages:
  16038. get:
  16039. parameters:
  16040. - description: 资金账户列表,格式:1,2,3
  16041. in: query
  16042. name: accountIDs
  16043. required: true
  16044. type: string
  16045. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16046. in: query
  16047. name: takeOrderStatus
  16048. type: integer
  16049. produces:
  16050. - application/json
  16051. responses:
  16052. "200":
  16053. description: OK
  16054. schema:
  16055. $ref: '#/definitions/models.HsbyMyPackage'
  16056. "500":
  16057. description: Internal Server Error
  16058. schema:
  16059. $ref: '#/definitions/app.Response'
  16060. security:
  16061. - ApiKeyAuth: []
  16062. summary: 查询我的包裹信息
  16063. tags:
  16064. - 定制【海商报业】
  16065. /HSBY/QueryHsbyPreGoodsDetail:
  16066. get:
  16067. parameters:
  16068. - description: 商品ID
  16069. in: query
  16070. name: goodsID
  16071. required: true
  16072. type: integer
  16073. - description: 资金账户,主要用于获取预售商品购买上限
  16074. in: query
  16075. name: accountID
  16076. type: integer
  16077. produces:
  16078. - application/json
  16079. responses:
  16080. "200":
  16081. description: OK
  16082. schema:
  16083. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  16084. "500":
  16085. description: Internal Server Error
  16086. schema:
  16087. $ref: '#/definitions/app.Response'
  16088. security:
  16089. - ApiKeyAuth: []
  16090. summary: 查询一级市场(预售)商品信息详情
  16091. tags:
  16092. - 定制【海商报业】
  16093. /HSBY/QueryHsbyPreGoodses:
  16094. get:
  16095. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  16096. parameters:
  16097. - description: 页码
  16098. in: query
  16099. name: page
  16100. type: integer
  16101. - description: 每页条数
  16102. in: query
  16103. name: pagesize
  16104. type: integer
  16105. - description: 市场ID列表,格式:1,2,3
  16106. in: query
  16107. name: marketIDs
  16108. required: true
  16109. type: string
  16110. - description: 目的地(省)ID
  16111. in: query
  16112. name: descProvinceID
  16113. type: integer
  16114. - description: 目的地(市)ID
  16115. in: query
  16116. name: descCityID
  16117. type: integer
  16118. produces:
  16119. - application/json
  16120. responses:
  16121. "200":
  16122. description: OK
  16123. schema:
  16124. $ref: '#/definitions/models.HsbyPreGoods'
  16125. "500":
  16126. description: Internal Server Error
  16127. schema:
  16128. $ref: '#/definitions/app.Response'
  16129. security:
  16130. - ApiKeyAuth: []
  16131. summary: 查询新品上市商品列表(一级市场预售)
  16132. tags:
  16133. - 定制【海商报业】
  16134. /HSBY/QueryHsbySellMyDetails:
  16135. get:
  16136. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  16137. parameters:
  16138. - description: 页码
  16139. in: query
  16140. name: page
  16141. type: integer
  16142. - description: 每页条数
  16143. in: query
  16144. name: pagesize
  16145. type: integer
  16146. - description: 资金账户列表,格式:1,2,3
  16147. in: query
  16148. name: accountIDs
  16149. required: true
  16150. type: string
  16151. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  16152. in: query
  16153. name: orderType
  16154. type: integer
  16155. produces:
  16156. - application/json
  16157. responses:
  16158. "200":
  16159. description: OK
  16160. schema:
  16161. $ref: '#/definitions/models.HsbySellMyDetail'
  16162. "500":
  16163. description: Internal Server Error
  16164. schema:
  16165. $ref: '#/definitions/app.Response'
  16166. security:
  16167. - ApiKeyAuth: []
  16168. summary: 查询"我的闲置"单据信息
  16169. tags:
  16170. - 定制【海商报业】
  16171. /HSBY/QueryHsbyTopGoodses:
  16172. get:
  16173. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  16174. parameters:
  16175. - description: 页码
  16176. in: query
  16177. name: page
  16178. type: integer
  16179. - description: 每页条数
  16180. in: query
  16181. name: pagesize
  16182. type: integer
  16183. - description: 市场ID列表,格式:1,2,3
  16184. in: query
  16185. name: marketIDs
  16186. required: true
  16187. type: string
  16188. - description: 目的地(省)ID
  16189. in: query
  16190. name: descProvinceID
  16191. type: integer
  16192. - description: 目的地(市)ID
  16193. in: query
  16194. name: descCityID
  16195. type: integer
  16196. produces:
  16197. - application/json
  16198. responses:
  16199. "200":
  16200. description: OK
  16201. schema:
  16202. $ref: '#/definitions/models.HsbyTopGoods'
  16203. "500":
  16204. description: Internal Server Error
  16205. schema:
  16206. $ref: '#/definitions/app.Response'
  16207. security:
  16208. - ApiKeyAuth: []
  16209. summary: 查询热卖商品列表(二级市场挂牌点选)
  16210. tags:
  16211. - 定制【海商报业】
  16212. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  16213. get:
  16214. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  16215. parameters:
  16216. - description: 商品ID
  16217. in: query
  16218. name: goodsID
  16219. required: true
  16220. type: integer
  16221. produces:
  16222. - application/json
  16223. responses:
  16224. "200":
  16225. description: OK
  16226. schema:
  16227. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16228. "500":
  16229. description: Internal Server Error
  16230. schema:
  16231. $ref: '#/definitions/app.Response'
  16232. security:
  16233. - ApiKeyAuth: []
  16234. summary: 查询游客三级市场(商城)商品信息详情
  16235. tags:
  16236. - 定制【海商报业】
  16237. /HSBY/QueryHsbyVisitorMarketGoodses:
  16238. get:
  16239. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  16240. parameters:
  16241. - description: 页码
  16242. in: query
  16243. name: page
  16244. type: integer
  16245. - description: 每页条数
  16246. in: query
  16247. name: pagesize
  16248. type: integer
  16249. - description: 市场ID列表,格式:1,2,3
  16250. in: query
  16251. name: marketIDs
  16252. required: true
  16253. type: string
  16254. - description: 类别ID
  16255. in: query
  16256. name: categoryID
  16257. type: integer
  16258. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16259. in: query
  16260. name: goodsIDs
  16261. type: string
  16262. produces:
  16263. - application/json
  16264. responses:
  16265. "200":
  16266. description: OK
  16267. schema:
  16268. $ref: '#/definitions/models.HsbyMarketGoods'
  16269. "500":
  16270. description: Internal Server Error
  16271. schema:
  16272. $ref: '#/definitions/app.Response'
  16273. security:
  16274. - ApiKeyAuth: []
  16275. summary: 查询游客特卖商品列表(三级商城)
  16276. tags:
  16277. - 定制【海商报业】
  16278. /HSBY/QueryMyCollectionOrders:
  16279. get:
  16280. parameters:
  16281. - description: 页码
  16282. in: query
  16283. name: page
  16284. type: integer
  16285. - description: 每页条数
  16286. in: query
  16287. name: pagesize
  16288. type: integer
  16289. - description: 资金账户,格式:1,2,3
  16290. in: query
  16291. name: accountIDs
  16292. required: true
  16293. type: string
  16294. produces:
  16295. - application/json
  16296. responses:
  16297. "200":
  16298. description: OK
  16299. schema:
  16300. $ref: '#/definitions/models.HsbySellCollectionOrder'
  16301. "500":
  16302. description: Internal Server Error
  16303. schema:
  16304. $ref: '#/definitions/app.Response'
  16305. security:
  16306. - ApiKeyAuth: []
  16307. summary: 我的闲置中收款信息查询
  16308. tags:
  16309. - 定制【海商报业】
  16310. /HSBY/QueryMyCouponHolds:
  16311. get:
  16312. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  16313. parameters:
  16314. - description: 资金账户列表,格式:1,2,3
  16315. in: query
  16316. name: accountIDs
  16317. required: true
  16318. type: string
  16319. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  16320. in: query
  16321. name: holdStatus
  16322. type: string
  16323. produces:
  16324. - application/json
  16325. responses:
  16326. "200":
  16327. description: OK
  16328. schema:
  16329. $ref: '#/definitions/models.MyCouponHold'
  16330. "500":
  16331. description: Internal Server Error
  16332. schema:
  16333. $ref: '#/definitions/app.Response'
  16334. security:
  16335. - ApiKeyAuth: []
  16336. summary: 我的优惠卷持仓查询
  16337. tags:
  16338. - 定制【海商报业】
  16339. /HSBY/QueryMyCoupons:
  16340. get:
  16341. parameters:
  16342. - description: 资金账户列表,格式:1,2,3
  16343. in: query
  16344. name: accountIDs
  16345. required: true
  16346. type: string
  16347. - description: 商品ID, 一般与sellUserID配套传入
  16348. in: query
  16349. name: goodsID
  16350. type: integer
  16351. - description: 卖方UserID
  16352. in: query
  16353. name: sellUserID
  16354. type: integer
  16355. produces:
  16356. - application/json
  16357. responses:
  16358. "200":
  16359. description: OK
  16360. schema:
  16361. $ref: '#/definitions/models.MyCoupon'
  16362. "500":
  16363. description: Internal Server Error
  16364. schema:
  16365. $ref: '#/definitions/app.Response'
  16366. security:
  16367. - ApiKeyAuth: []
  16368. summary: 我的优惠卷查询
  16369. tags:
  16370. - 定制【海商报业】
  16371. /HSBY/QueryMyPayOrders:
  16372. get:
  16373. parameters:
  16374. - description: 页码
  16375. in: query
  16376. name: page
  16377. type: integer
  16378. - description: 每页条数
  16379. in: query
  16380. name: pagesize
  16381. type: integer
  16382. - description: 资金账户列表,格式:1,2,3
  16383. in: query
  16384. name: accountIDs
  16385. required: true
  16386. type: string
  16387. - description: 买方委托单号
  16388. in: query
  16389. name: buyOrderID
  16390. type: integer
  16391. - description: 卖方委托单号
  16392. in: query
  16393. name: sellOrderID
  16394. type: integer
  16395. produces:
  16396. - application/json
  16397. responses:
  16398. "200":
  16399. description: OK
  16400. schema:
  16401. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  16402. "500":
  16403. description: Internal Server Error
  16404. schema:
  16405. $ref: '#/definitions/app.Response'
  16406. security:
  16407. - ApiKeyAuth: []
  16408. summary: 获取我的订单中待付款信息
  16409. tags:
  16410. - 定制【海商报业】
  16411. /HSBY/QueryMyUsedCoupon:
  16412. get:
  16413. parameters:
  16414. - description: 资金账户列表,格式:1,2,3
  16415. in: query
  16416. name: accountIDs
  16417. required: true
  16418. type: string
  16419. produces:
  16420. - application/json
  16421. responses:
  16422. "200":
  16423. description: OK
  16424. schema:
  16425. $ref: '#/definitions/models.MyUsedCoupon'
  16426. "500":
  16427. description: Internal Server Error
  16428. schema:
  16429. $ref: '#/definitions/app.Response'
  16430. security:
  16431. - ApiKeyAuth: []
  16432. summary: 已使用优惠卷查询
  16433. tags:
  16434. - 定制【海商报业】
  16435. /HSBY/QueryProvincesAndCities:
  16436. get:
  16437. description: 查询结果只包括二级市场商品已关连的省市信息。
  16438. parameters:
  16439. - description: 省ID
  16440. in: query
  16441. name: provinceID
  16442. type: integer
  16443. produces:
  16444. - application/json
  16445. responses:
  16446. "200":
  16447. description: OK
  16448. schema:
  16449. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  16450. "500":
  16451. description: Internal Server Error
  16452. schema:
  16453. $ref: '#/definitions/app.Response'
  16454. security:
  16455. - ApiKeyAuth: []
  16456. summary: 查询省市信息(不包括区)
  16457. tags:
  16458. - 定制【海商报业】
  16459. /HSBY/SetHsbyMyPackagesStatus:
  16460. post:
  16461. parameters:
  16462. - description: 提货单号
  16463. in: query
  16464. name: takeOrderID
  16465. required: true
  16466. type: string
  16467. - description: 资金账号
  16468. in: query
  16469. name: accountID
  16470. required: true
  16471. type: integer
  16472. produces:
  16473. - application/json
  16474. responses:
  16475. "200":
  16476. description: OK
  16477. schema:
  16478. $ref: '#/definitions/app.Response'
  16479. "500":
  16480. description: Internal Server Error
  16481. schema:
  16482. $ref: '#/definitions/app.Response'
  16483. security:
  16484. - ApiKeyAuth: []
  16485. summary: 设置我的包裹已收货状态
  16486. tags:
  16487. - 定制【海商报业】
  16488. /Market/QueryGoodsesByLoginID:
  16489. get:
  16490. parameters:
  16491. - description: 登录账号
  16492. in: query
  16493. name: loginID
  16494. required: true
  16495. type: integer
  16496. - description: 市场ID列表,格式:1,2,3
  16497. in: query
  16498. name: marketIDs
  16499. type: string
  16500. produces:
  16501. - application/json
  16502. responses:
  16503. "200":
  16504. description: OK
  16505. schema:
  16506. $ref: '#/definitions/models.Goods'
  16507. "500":
  16508. description: Internal Server Error
  16509. schema:
  16510. $ref: '#/definitions/app.Response'
  16511. security:
  16512. - ApiKeyAuth: []
  16513. summary: 获取登录账号有权限的商品信息
  16514. tags:
  16515. - 通用市场
  16516. /Market/QueryMarketRun:
  16517. get:
  16518. parameters:
  16519. - description: 市场ID,不传返回所有
  16520. in: query
  16521. name: marketID
  16522. type: integer
  16523. produces:
  16524. - application/json
  16525. responses:
  16526. "200":
  16527. description: OK
  16528. schema:
  16529. $ref: '#/definitions/models.Marketrun'
  16530. "500":
  16531. description: Internal Server Error
  16532. schema:
  16533. $ref: '#/definitions/app.Response'
  16534. security:
  16535. - ApiKeyAuth: []
  16536. summary: 查询市场运行信息
  16537. tags:
  16538. - 通用市场
  16539. /Market/QueryMarketsByLoginID:
  16540. get:
  16541. parameters:
  16542. - description: 登录账号
  16543. in: query
  16544. name: loginID
  16545. required: true
  16546. type: integer
  16547. produces:
  16548. - application/json
  16549. responses:
  16550. "200":
  16551. description: OK
  16552. schema:
  16553. $ref: '#/definitions/models.Market'
  16554. "500":
  16555. description: Internal Server Error
  16556. schema:
  16557. $ref: '#/definitions/app.Response'
  16558. security:
  16559. - ApiKeyAuth: []
  16560. summary: 获取登录账号有权限的市场信息
  16561. tags:
  16562. - 通用市场
  16563. /Order/QueryHisTradeDetail:
  16564. get:
  16565. parameters:
  16566. - description: 资金账户 - 格式:1,2,3
  16567. in: query
  16568. name: accountID
  16569. required: true
  16570. type: string
  16571. - description: 成交单号
  16572. in: query
  16573. name: tradeID
  16574. type: integer
  16575. - description: 委托单号
  16576. in: query
  16577. name: orderID
  16578. type: integer
  16579. - description: 交易模式 - 格式:1,2,3
  16580. in: query
  16581. name: tradeMode
  16582. type: string
  16583. - description: 委托单据类型
  16584. in: query
  16585. name: buildType
  16586. type: integer
  16587. - description: 成交类别 - 格式:1,2,3
  16588. in: query
  16589. name: tradeType
  16590. type: string
  16591. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16592. in: query
  16593. name: startDate
  16594. type: string
  16595. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16596. in: query
  16597. name: endDate
  16598. type: string
  16599. produces:
  16600. - application/json
  16601. responses:
  16602. "200":
  16603. description: OK
  16604. schema:
  16605. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  16606. "500":
  16607. description: Internal Server Error
  16608. schema:
  16609. $ref: '#/definitions/app.Response'
  16610. security:
  16611. - ApiKeyAuth: []
  16612. summary: 历史成交单查询(合约市场)
  16613. tags:
  16614. - 通用单据
  16615. /Order/QueryHisTradeOrderDetail:
  16616. get:
  16617. parameters:
  16618. - description: 资金账户 - 格式:1,2,3
  16619. in: query
  16620. name: accountID
  16621. required: true
  16622. type: string
  16623. - description: 交易模式 - 格式:1,2,3
  16624. in: query
  16625. name: tradeMode
  16626. type: string
  16627. - description: 委托状态 - 格式:1,2,3
  16628. in: query
  16629. name: orderStatus
  16630. type: string
  16631. - description: 委托单号
  16632. in: query
  16633. name: orderID
  16634. type: integer
  16635. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16636. in: query
  16637. name: startDate
  16638. type: string
  16639. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16640. in: query
  16641. name: endDate
  16642. type: string
  16643. produces:
  16644. - application/json
  16645. responses:
  16646. "200":
  16647. description: OK
  16648. schema:
  16649. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  16650. "500":
  16651. description: Internal Server Error
  16652. schema:
  16653. $ref: '#/definitions/app.Response'
  16654. security:
  16655. - ApiKeyAuth: []
  16656. summary: 历史委托单查询请求(合约市场)
  16657. tags:
  16658. - 通用单据
  16659. /Order/QueryTradeDetail:
  16660. get:
  16661. parameters:
  16662. - description: 资金账户 - 格式:1,2,3
  16663. in: query
  16664. name: accountID
  16665. required: true
  16666. type: string
  16667. - description: 成交单号
  16668. in: query
  16669. name: tradeID
  16670. type: integer
  16671. - description: 委托单号
  16672. in: query
  16673. name: orderID
  16674. type: integer
  16675. - description: 交易模式 - 格式:1,2,3
  16676. in: query
  16677. name: tradeMode
  16678. type: string
  16679. - description: 委托单据类型
  16680. in: query
  16681. name: buildType
  16682. type: integer
  16683. - description: 成交类别 - 格式:1,2,3
  16684. in: query
  16685. name: tradeType
  16686. type: string
  16687. produces:
  16688. - application/json
  16689. responses:
  16690. "200":
  16691. description: OK
  16692. schema:
  16693. $ref: '#/definitions/order.QueryTradeDetailRsp'
  16694. "500":
  16695. description: Internal Server Error
  16696. schema:
  16697. $ref: '#/definitions/app.Response'
  16698. security:
  16699. - ApiKeyAuth: []
  16700. summary: 成交单查询(合约市场)
  16701. tags:
  16702. - 通用单据
  16703. /Order/QueryTradeOrderDetail:
  16704. get:
  16705. parameters:
  16706. - description: 资金账户 - 格式:1,2,3
  16707. in: query
  16708. name: accountID
  16709. required: true
  16710. type: string
  16711. - description: 交易模式 - 格式:1,2,3
  16712. in: query
  16713. name: tradeMode
  16714. type: string
  16715. - description: 委托状态 - 格式:1,2,3
  16716. in: query
  16717. name: orderStatus
  16718. type: string
  16719. - description: 委托单号
  16720. in: query
  16721. name: orderID
  16722. type: integer
  16723. produces:
  16724. - application/json
  16725. responses:
  16726. "200":
  16727. description: OK
  16728. schema:
  16729. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  16730. "500":
  16731. description: Internal Server Error
  16732. schema:
  16733. $ref: '#/definitions/app.Response'
  16734. security:
  16735. - ApiKeyAuth: []
  16736. summary: 委托单查询请求(合约市场)
  16737. tags:
  16738. - 通用单据
  16739. /Order/QueryTradePosition:
  16740. get:
  16741. parameters:
  16742. - description: 资金账户 - 格式:1,2,3
  16743. in: query
  16744. name: accountID
  16745. required: true
  16746. type: string
  16747. - description: 交易模式 - 格式:1,2,3
  16748. in: query
  16749. name: tradeMode
  16750. type: string
  16751. produces:
  16752. - application/json
  16753. responses:
  16754. "200":
  16755. description: OK
  16756. schema:
  16757. $ref: '#/definitions/order.QueryTradePositionRsp'
  16758. "500":
  16759. description: Internal Server Error
  16760. schema:
  16761. $ref: '#/definitions/app.Response'
  16762. security:
  16763. - ApiKeyAuth: []
  16764. summary: 持仓汇总查询(合约市场)
  16765. tags:
  16766. - 通用单据
  16767. /Qhj/QueryBankAccountSign:
  16768. get:
  16769. parameters:
  16770. - description: 用户ID
  16771. in: query
  16772. name: userid
  16773. required: true
  16774. type: integer
  16775. produces:
  16776. - application/json
  16777. responses:
  16778. "200":
  16779. description: OK
  16780. schema:
  16781. items:
  16782. $ref: '#/definitions/models.QhjBankAccountSign'
  16783. type: array
  16784. "500":
  16785. description: Internal Server Error
  16786. schema:
  16787. $ref: '#/definitions/app.Response'
  16788. security:
  16789. - ApiKeyAuth: []
  16790. summary: 查询签约银行信息(提现账户管理)
  16791. tags:
  16792. - 大连千海金
  16793. /Qhj/QueryBankInfo:
  16794. get:
  16795. produces:
  16796. - application/json
  16797. responses:
  16798. "200":
  16799. description: OK
  16800. schema:
  16801. items:
  16802. $ref: '#/definitions/models.QhjBankInfo'
  16803. type: array
  16804. "500":
  16805. description: Internal Server Error
  16806. schema:
  16807. $ref: '#/definitions/app.Response'
  16808. security:
  16809. - ApiKeyAuth: []
  16810. summary: 查询开户行
  16811. tags:
  16812. - 大连千海金
  16813. /Qhj/QueryContract:
  16814. get:
  16815. parameters:
  16816. - description: 用户ID
  16817. in: query
  16818. name: userid
  16819. required: true
  16820. type: integer
  16821. - description: scf合同id
  16822. in: query
  16823. name: scfcontractid
  16824. type: integer
  16825. produces:
  16826. - application/json
  16827. responses:
  16828. "200":
  16829. description: OK
  16830. schema:
  16831. items:
  16832. $ref: '#/definitions/models.QhjContract'
  16833. type: array
  16834. "500":
  16835. description: Internal Server Error
  16836. schema:
  16837. $ref: '#/definitions/app.Response'
  16838. security:
  16839. - ApiKeyAuth: []
  16840. summary: 查询融资明细(合同)
  16841. tags:
  16842. - 大连千海金
  16843. /Qhj/QueryContractLog:
  16844. get:
  16845. parameters:
  16846. - description: scf合同id
  16847. in: query
  16848. name: scfcontractid
  16849. required: true
  16850. type: integer
  16851. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  16852. in: query
  16853. name: amounttype
  16854. type: string
  16855. produces:
  16856. - application/json
  16857. responses:
  16858. "200":
  16859. description: OK
  16860. schema:
  16861. items:
  16862. $ref: '#/definitions/models.QhjContractLog'
  16863. type: array
  16864. "500":
  16865. description: Internal Server Error
  16866. schema:
  16867. $ref: '#/definitions/app.Response'
  16868. security:
  16869. - ApiKeyAuth: []
  16870. summary: 查询融资明细流水(融资明细详情页中的流水)
  16871. tags:
  16872. - 大连千海金
  16873. /Qhj/QueryPickArea:
  16874. get:
  16875. parameters:
  16876. - description: 用户ID
  16877. in: query
  16878. name: userid
  16879. type: integer
  16880. produces:
  16881. - application/json
  16882. responses:
  16883. "200":
  16884. description: OK
  16885. schema:
  16886. items:
  16887. $ref: '#/definitions/models.QhjPickArea'
  16888. type: array
  16889. "500":
  16890. description: Internal Server Error
  16891. schema:
  16892. $ref: '#/definitions/app.Response'
  16893. security:
  16894. - ApiKeyAuth: []
  16895. summary: 查询提货门店
  16896. tags:
  16897. - 大连千海金
  16898. /Qhj/QueryPickGoods:
  16899. get:
  16900. parameters:
  16901. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  16902. in: query
  16903. name: status
  16904. type: string
  16905. produces:
  16906. - application/json
  16907. responses:
  16908. "200":
  16909. description: OK
  16910. schema:
  16911. items:
  16912. $ref: '#/definitions/models.QhjPickGoods'
  16913. type: array
  16914. "500":
  16915. description: Internal Server Error
  16916. schema:
  16917. $ref: '#/definitions/app.Response'
  16918. security:
  16919. - ApiKeyAuth: []
  16920. summary: 查询提货商品
  16921. tags:
  16922. - 大连千海金
  16923. /Qhj/QueryRSTriggerLog:
  16924. get:
  16925. parameters:
  16926. - description: 用户ID
  16927. in: query
  16928. name: userid
  16929. required: true
  16930. type: integer
  16931. - description: 定投策略id
  16932. in: query
  16933. name: regularlystrategyid
  16934. type: integer
  16935. produces:
  16936. - application/json
  16937. responses:
  16938. "200":
  16939. description: OK
  16940. schema:
  16941. items:
  16942. $ref: '#/definitions/models.QhjRSTriggerLog'
  16943. type: array
  16944. "500":
  16945. description: Internal Server Error
  16946. schema:
  16947. $ref: '#/definitions/app.Response'
  16948. security:
  16949. - ApiKeyAuth: []
  16950. summary: 查询定投记录(定投管理/详情/定投记录)
  16951. tags:
  16952. - 大连千海金
  16953. /Qhj/QueryRStrategy:
  16954. get:
  16955. parameters:
  16956. - description: 用户ID
  16957. in: query
  16958. name: userid
  16959. required: true
  16960. type: integer
  16961. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  16962. in: query
  16963. name: status
  16964. type: string
  16965. produces:
  16966. - application/json
  16967. responses:
  16968. "200":
  16969. description: OK
  16970. schema:
  16971. items:
  16972. $ref: '#/definitions/models.QhjRStrategy'
  16973. type: array
  16974. "500":
  16975. description: Internal Server Error
  16976. schema:
  16977. $ref: '#/definitions/app.Response'
  16978. security:
  16979. - ApiKeyAuth: []
  16980. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  16981. tags:
  16982. - 大连千海金
  16983. /Qhj/QueryReckonPriceLog:
  16984. get:
  16985. parameters:
  16986. - description: 商品ID
  16987. in: query
  16988. name: goodsid
  16989. type: integer
  16990. - description: 交易日 格式(yyyymmdd)
  16991. in: query
  16992. name: tradedate
  16993. type: string
  16994. produces:
  16995. - application/json
  16996. responses:
  16997. "200":
  16998. description: OK
  16999. schema:
  17000. items:
  17001. $ref: '#/definitions/models.QhjReckonPriceLog'
  17002. type: array
  17003. "500":
  17004. description: Internal Server Error
  17005. schema:
  17006. $ref: '#/definitions/app.Response'
  17007. security:
  17008. - ApiKeyAuth: []
  17009. summary: 查询定投价(结算价)
  17010. tags:
  17011. - 大连千海金
  17012. /Qhj/QueryTradeGoodsPickup:
  17013. get:
  17014. parameters:
  17015. - description: 用户ID
  17016. in: query
  17017. name: userid
  17018. required: true
  17019. type: integer
  17020. produces:
  17021. - application/json
  17022. responses:
  17023. "200":
  17024. description: OK
  17025. schema:
  17026. items:
  17027. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  17028. type: array
  17029. "500":
  17030. description: Internal Server Error
  17031. schema:
  17032. $ref: '#/definitions/app.Response'
  17033. security:
  17034. - ApiKeyAuth: []
  17035. summary: 查询提货
  17036. tags:
  17037. - 大连千海金
  17038. /Qhj/QueryUserCollectConfig:
  17039. get:
  17040. parameters:
  17041. - description: 用户ID
  17042. in: query
  17043. name: userid
  17044. required: true
  17045. type: integer
  17046. produces:
  17047. - application/json
  17048. responses:
  17049. "200":
  17050. description: OK
  17051. schema:
  17052. items:
  17053. $ref: '#/definitions/models.UserCollectConfig'
  17054. type: array
  17055. "500":
  17056. description: Internal Server Error
  17057. schema:
  17058. $ref: '#/definitions/app.Response'
  17059. security:
  17060. - ApiKeyAuth: []
  17061. summary: 查询提现账户设置
  17062. tags:
  17063. - 大连千海金
  17064. /Qhj/QueryUserReceiveInfo:
  17065. get:
  17066. parameters:
  17067. - description: 用户ID
  17068. in: query
  17069. name: userid
  17070. required: true
  17071. type: integer
  17072. produces:
  17073. - application/json
  17074. responses:
  17075. "200":
  17076. description: OK
  17077. schema:
  17078. items:
  17079. $ref: '#/definitions/models.UserReceiveInfo'
  17080. type: array
  17081. "500":
  17082. description: Internal Server Error
  17083. schema:
  17084. $ref: '#/definitions/app.Response'
  17085. security:
  17086. - ApiKeyAuth: []
  17087. summary: 查询收货地址信息
  17088. tags:
  17089. - 大连千海金
  17090. /Quote/QueryHistoryDatas:
  17091. get:
  17092. parameters:
  17093. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  17094. 日线'
  17095. in: query
  17096. name: cycleType
  17097. required: true
  17098. type: integer
  17099. - description: 商品代码
  17100. in: query
  17101. name: goodsCode
  17102. required: true
  17103. type: string
  17104. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17105. in: query
  17106. name: startTime
  17107. type: string
  17108. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17109. in: query
  17110. name: endTime
  17111. type: string
  17112. - description: 条数
  17113. in: query
  17114. name: count
  17115. type: integer
  17116. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17117. in: query
  17118. name: isAsc
  17119. type: boolean
  17120. produces:
  17121. - application/json
  17122. responses:
  17123. "200":
  17124. description: OK
  17125. schema:
  17126. $ref: '#/definitions/quote.HistoryData'
  17127. "500":
  17128. description: Internal Server Error
  17129. schema:
  17130. $ref: '#/definitions/app.Response'
  17131. security:
  17132. - ApiKeyAuth: []
  17133. summary: 查询行情历史数据
  17134. tags:
  17135. - 行情服务
  17136. /Quote/QueryHistoryTikDatas:
  17137. get:
  17138. parameters:
  17139. - description: 商品代码
  17140. in: query
  17141. name: goodsCode
  17142. required: true
  17143. type: string
  17144. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17145. in: query
  17146. name: startTime
  17147. type: string
  17148. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17149. in: query
  17150. name: endTime
  17151. type: string
  17152. - description: 条数
  17153. in: query
  17154. name: count
  17155. type: integer
  17156. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17157. in: query
  17158. name: isAsc
  17159. type: boolean
  17160. produces:
  17161. - application/json
  17162. responses:
  17163. "200":
  17164. description: OK
  17165. schema:
  17166. $ref: '#/definitions/quote.HistoryTikData'
  17167. "500":
  17168. description: Internal Server Error
  17169. schema:
  17170. $ref: '#/definitions/app.Response'
  17171. security:
  17172. - ApiKeyAuth: []
  17173. summary: 查询行情Tik数据
  17174. tags:
  17175. - 行情服务
  17176. /Quote/QueryQuoteDay:
  17177. get:
  17178. parameters:
  17179. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  17180. in: query
  17181. name: goodsCodes
  17182. required: true
  17183. type: string
  17184. produces:
  17185. - application/json
  17186. responses:
  17187. "200":
  17188. description: OK
  17189. schema:
  17190. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  17191. "500":
  17192. description: Internal Server Error
  17193. schema:
  17194. $ref: '#/definitions/app.Response'
  17195. security:
  17196. - ApiKeyAuth: []
  17197. summary: 获取商品盘面信息
  17198. tags:
  17199. - 行情服务
  17200. /Quote/QueryTSData:
  17201. get:
  17202. parameters:
  17203. - description: 商品代码
  17204. in: query
  17205. name: goodsCode
  17206. required: true
  17207. type: string
  17208. produces:
  17209. - application/json
  17210. responses:
  17211. "200":
  17212. description: OK
  17213. schema:
  17214. $ref: '#/definitions/quote.QueryTSDataRsp'
  17215. "500":
  17216. description: Internal Server Error
  17217. schema:
  17218. $ref: '#/definitions/app.Response'
  17219. security:
  17220. - ApiKeyAuth: []
  17221. summary: 分时图数据查询
  17222. tags:
  17223. - 行情服务
  17224. /SZDZ/QueryConvertConfig:
  17225. get:
  17226. parameters:
  17227. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  17228. 6:交易转花生米(不设置)
  17229. in: query
  17230. name: convertType
  17231. type: integer
  17232. - description: 外部商品代码[JD\PD]
  17233. in: query
  17234. name: outerGoodsCode
  17235. type: string
  17236. - description: 内部商品ID列表[交易],格式:1,2,3
  17237. in: query
  17238. name: innerGoodsIDs
  17239. type: string
  17240. produces:
  17241. - application/json
  17242. responses:
  17243. "200":
  17244. description: OK
  17245. schema:
  17246. $ref: '#/definitions/models.Szdz3convertconfig'
  17247. "500":
  17248. description: Internal Server Error
  17249. schema:
  17250. $ref: '#/definitions/app.Response'
  17251. security:
  17252. - ApiKeyAuth: []
  17253. summary: 查询交易系统转换设置
  17254. tags:
  17255. - 定制【尚志大宗】
  17256. /SZDZ/QueryConvertLog:
  17257. get:
  17258. parameters:
  17259. - description: 资金账户 - 格式:1,2,3
  17260. in: query
  17261. name: accountID
  17262. required: true
  17263. type: string
  17264. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17265. in: query
  17266. name: startDate
  17267. type: string
  17268. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17269. in: query
  17270. name: endDate
  17271. type: string
  17272. produces:
  17273. - application/json
  17274. responses:
  17275. "200":
  17276. description: OK
  17277. schema:
  17278. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  17279. "500":
  17280. description: Internal Server Error
  17281. schema:
  17282. $ref: '#/definitions/app.Response'
  17283. security:
  17284. - ApiKeyAuth: []
  17285. summary: 交易系统转换流水查询
  17286. tags:
  17287. - 定制【尚志大宗】
  17288. /SZDZ/QueryGoodsPickup:
  17289. get:
  17290. parameters:
  17291. - description: 资金账户 - 格式:1,2,3
  17292. in: query
  17293. name: accountID
  17294. required: true
  17295. type: string
  17296. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17297. in: query
  17298. name: takeOrderStatus
  17299. type: integer
  17300. produces:
  17301. - application/json
  17302. responses:
  17303. "200":
  17304. description: OK
  17305. schema:
  17306. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  17307. "500":
  17308. description: Internal Server Error
  17309. schema:
  17310. $ref: '#/definitions/app.Response'
  17311. security:
  17312. - ApiKeyAuth: []
  17313. summary: 商品提货单查询
  17314. tags:
  17315. - 定制【尚志大宗】
  17316. /SZDZ/QueryRecieptOrder:
  17317. get:
  17318. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17319. parameters:
  17320. - description: 页码
  17321. in: query
  17322. name: page
  17323. type: integer
  17324. - description: 每页条数
  17325. in: query
  17326. name: pagesize
  17327. type: integer
  17328. - description: 商品ID
  17329. in: query
  17330. name: goodsID
  17331. required: true
  17332. type: integer
  17333. - description: 所属账户名称
  17334. in: query
  17335. name: accountName
  17336. type: string
  17337. - description: 市场ID
  17338. in: query
  17339. name: marketID
  17340. type: integer
  17341. - description: 方向 - 0:买 1:卖
  17342. in: query
  17343. name: buyorsell
  17344. required: true
  17345. type: integer
  17346. produces:
  17347. - application/json
  17348. responses:
  17349. "200":
  17350. description: OK
  17351. schema:
  17352. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  17353. "500":
  17354. description: Internal Server Error
  17355. schema:
  17356. $ref: '#/definitions/app.Response'
  17357. security:
  17358. - ApiKeyAuth: []
  17359. summary: 点选挂牌委托单据查询(摘牌大厅)
  17360. tags:
  17361. - 定制【尚志大宗】
  17362. /SZDZ/QuerySZDZTradePosition:
  17363. get:
  17364. parameters:
  17365. - description: 资金账户
  17366. in: query
  17367. name: accountID
  17368. required: true
  17369. type: integer
  17370. produces:
  17371. - application/json
  17372. responses:
  17373. "200":
  17374. description: OK
  17375. schema:
  17376. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  17377. "500":
  17378. description: Internal Server Error
  17379. schema:
  17380. $ref: '#/definitions/app.Response'
  17381. security:
  17382. - ApiKeyAuth: []
  17383. summary: 持仓汇总查询(尚志大宗)
  17384. tags:
  17385. - 定制【尚志大宗】
  17386. /SZDZ/SearchWhite:
  17387. get:
  17388. parameters:
  17389. - description: 用户ID
  17390. in: query
  17391. name: userID
  17392. required: true
  17393. type: integer
  17394. produces:
  17395. - application/json
  17396. responses:
  17397. "200":
  17398. description: OK
  17399. schema:
  17400. $ref: '#/definitions/models.Szdz3searchwhitelist'
  17401. "500":
  17402. description: Internal Server Error
  17403. schema:
  17404. $ref: '#/definitions/app.Response'
  17405. security:
  17406. - ApiKeyAuth: []
  17407. summary: 搜索白名单
  17408. tags:
  17409. - 定制【尚志大宗】
  17410. /Search/SearchGoodses:
  17411. get:
  17412. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  17413. parameters:
  17414. - description: 检索内容
  17415. in: query
  17416. name: content
  17417. required: true
  17418. type: string
  17419. - description: 交易模式,格式:1,2,3
  17420. in: query
  17421. name: tradeModes
  17422. type: string
  17423. produces:
  17424. - application/json
  17425. responses:
  17426. "200":
  17427. description: OK
  17428. schema:
  17429. $ref: '#/definitions/models.SearchGoods'
  17430. "500":
  17431. description: Internal Server Error
  17432. schema:
  17433. $ref: '#/definitions/app.Response'
  17434. summary: 检索商品信息
  17435. tags:
  17436. - 检索服务
  17437. /TaAccount/GetTaAccounts:
  17438. get:
  17439. parameters:
  17440. - description: 登录账户
  17441. in: query
  17442. name: loginID
  17443. required: true
  17444. type: integer
  17445. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17446. in: query
  17447. name: taAccountType
  17448. type: integer
  17449. produces:
  17450. - application/json
  17451. responses:
  17452. "200":
  17453. description: OK
  17454. schema:
  17455. $ref: '#/definitions/models.Taaccount'
  17456. "500":
  17457. description: Internal Server Error
  17458. schema:
  17459. $ref: '#/definitions/app.Response'
  17460. security:
  17461. - ApiKeyAuth: []
  17462. summary: 获取资金账户信息
  17463. tags:
  17464. - 资金账户
  17465. /TaAccount/QueryAmountLog:
  17466. get:
  17467. parameters:
  17468. - description: 页码
  17469. in: query
  17470. name: page
  17471. type: integer
  17472. - description: 每页条数
  17473. in: query
  17474. name: pagesize
  17475. type: integer
  17476. - description: 资金账户 - 格式:1,2,3
  17477. in: query
  17478. name: accountID
  17479. required: true
  17480. type: string
  17481. - description: 资金操作类型 - 格式:1,2,3
  17482. in: query
  17483. name: OperateType
  17484. type: string
  17485. produces:
  17486. - application/json
  17487. responses:
  17488. "200":
  17489. description: OK
  17490. schema:
  17491. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  17492. "500":
  17493. description: Internal Server Error
  17494. schema:
  17495. $ref: '#/definitions/app.Response'
  17496. security:
  17497. - ApiKeyAuth: []
  17498. summary: 资金流水查询(当前)
  17499. tags:
  17500. - 资金账户
  17501. /TaAccount/QueryHisAmountLog:
  17502. get:
  17503. parameters:
  17504. - description: 页码
  17505. in: query
  17506. name: page
  17507. type: integer
  17508. - description: 每页条数
  17509. in: query
  17510. name: pagesize
  17511. type: integer
  17512. - description: 资金账户 - 格式:1,2,3
  17513. in: query
  17514. name: accountID
  17515. required: true
  17516. type: string
  17517. - description: 资金操作类型 - 格式:1,2,3
  17518. in: query
  17519. name: OperateType
  17520. type: string
  17521. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17522. in: query
  17523. name: startDate
  17524. type: string
  17525. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17526. in: query
  17527. name: endDate
  17528. type: string
  17529. produces:
  17530. - application/json
  17531. responses:
  17532. "200":
  17533. description: OK
  17534. schema:
  17535. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  17536. "500":
  17537. description: Internal Server Error
  17538. schema:
  17539. $ref: '#/definitions/app.Response'
  17540. security:
  17541. - ApiKeyAuth: []
  17542. summary: 资金流水查询(历史)
  17543. tags:
  17544. - 资金账户
  17545. /Trade/QueryRecieptOrder:
  17546. get:
  17547. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17548. parameters:
  17549. - description: 页码
  17550. in: query
  17551. name: page
  17552. type: integer
  17553. - description: 每页条数
  17554. in: query
  17555. name: pagesize
  17556. type: integer
  17557. - description: 商品ID
  17558. in: query
  17559. name: goodsID
  17560. required: true
  17561. type: integer
  17562. - description: 所属账户名称
  17563. in: query
  17564. name: accountName
  17565. type: string
  17566. - description: 市场ID
  17567. in: query
  17568. name: marketID
  17569. type: integer
  17570. - description: 方向 - 0:买 1:卖
  17571. in: query
  17572. name: buyorsell
  17573. required: true
  17574. type: integer
  17575. produces:
  17576. - application/json
  17577. responses:
  17578. "200":
  17579. description: OK
  17580. schema:
  17581. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  17582. "500":
  17583. description: Internal Server Error
  17584. schema:
  17585. $ref: '#/definitions/app.Response'
  17586. security:
  17587. - ApiKeyAuth: []
  17588. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  17589. tags:
  17590. - 通用交易
  17591. /User/AddMessageBoard:
  17592. post:
  17593. parameters:
  17594. - description: 用户ID
  17595. in: query
  17596. name: userID
  17597. required: true
  17598. type: integer
  17599. - description: 留言信息
  17600. in: query
  17601. name: message
  17602. required: true
  17603. type: string
  17604. - description: 联系电话
  17605. in: query
  17606. name: contactNum
  17607. required: true
  17608. type: string
  17609. produces:
  17610. - application/json
  17611. responses:
  17612. "200":
  17613. description: OK
  17614. schema:
  17615. $ref: '#/definitions/app.Response'
  17616. "500":
  17617. description: Internal Server Error
  17618. schema:
  17619. $ref: '#/definitions/app.Response'
  17620. security:
  17621. - ApiKeyAuth: []
  17622. summary: 添加用户留言板信息
  17623. tags:
  17624. - 用户信息
  17625. /User/AddUserFavoriteGoods:
  17626. post:
  17627. parameters:
  17628. - description: 用户ID
  17629. in: query
  17630. name: userID
  17631. required: true
  17632. type: integer
  17633. - description: 商品ID
  17634. in: query
  17635. name: goodsID
  17636. required: true
  17637. type: integer
  17638. produces:
  17639. - application/json
  17640. responses:
  17641. "200":
  17642. description: OK
  17643. schema:
  17644. $ref: '#/definitions/app.Response'
  17645. "500":
  17646. description: Internal Server Error
  17647. schema:
  17648. $ref: '#/definitions/app.Response'
  17649. security:
  17650. - ApiKeyAuth: []
  17651. summary: 添加用户商品收藏信息
  17652. tags:
  17653. - 用户信息
  17654. /User/GetLoginID:
  17655. get:
  17656. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  17657. parameters:
  17658. - description: 登录代码
  17659. in: query
  17660. name: username
  17661. required: true
  17662. type: string
  17663. produces:
  17664. - application/json
  17665. responses:
  17666. "200":
  17667. description: OK
  17668. schema:
  17669. $ref: '#/definitions/app.Response'
  17670. "500":
  17671. description: Internal Server Error
  17672. schema:
  17673. $ref: '#/definitions/app.Response'
  17674. summary: 获取登录ID
  17675. tags:
  17676. - 用户信息
  17677. /User/GetUserAccount:
  17678. get:
  17679. parameters:
  17680. - description: 用户ID
  17681. in: query
  17682. name: userID
  17683. required: true
  17684. type: integer
  17685. produces:
  17686. - application/json
  17687. responses:
  17688. "200":
  17689. description: OK
  17690. schema:
  17691. $ref: '#/definitions/models.Useraccount'
  17692. "500":
  17693. description: Internal Server Error
  17694. schema:
  17695. $ref: '#/definitions/app.Response'
  17696. security:
  17697. - ApiKeyAuth: []
  17698. summary: 获取用户账号信息
  17699. tags:
  17700. - 用户信息
  17701. /User/GetUserAuthStatus:
  17702. get:
  17703. parameters:
  17704. - description: 用户ID
  17705. in: query
  17706. name: userID
  17707. required: true
  17708. type: integer
  17709. produces:
  17710. - application/json
  17711. responses:
  17712. "200":
  17713. description: OK
  17714. schema:
  17715. $ref: '#/definitions/app.Response'
  17716. "500":
  17717. description: Internal Server Error
  17718. schema:
  17719. $ref: '#/definitions/app.Response'
  17720. security:
  17721. - ApiKeyAuth: []
  17722. summary: 获取用户实名认证状态
  17723. tags:
  17724. - 用户信息
  17725. /User/LoginQuery:
  17726. get:
  17727. parameters:
  17728. - description: 登录账号
  17729. in: query
  17730. name: loginID
  17731. required: true
  17732. type: integer
  17733. produces:
  17734. - application/json
  17735. responses:
  17736. "200":
  17737. description: OK
  17738. schema:
  17739. $ref: '#/definitions/user.LoginQueryRsp'
  17740. "500":
  17741. description: Internal Server Error
  17742. schema:
  17743. $ref: '#/definitions/app.Response'
  17744. security:
  17745. - ApiKeyAuth: []
  17746. summary: 账户登录后信息查询
  17747. tags:
  17748. - 用户信息
  17749. /User/QueryMessageBoard:
  17750. get:
  17751. parameters:
  17752. - description: 用户ID
  17753. in: query
  17754. name: userID
  17755. required: true
  17756. type: integer
  17757. produces:
  17758. - application/json
  17759. responses:
  17760. "200":
  17761. description: OK
  17762. schema:
  17763. $ref: '#/definitions/models.Messageboard'
  17764. "500":
  17765. description: Internal Server Error
  17766. schema:
  17767. $ref: '#/definitions/app.Response'
  17768. security:
  17769. - ApiKeyAuth: []
  17770. summary: 获取用户留言板信息
  17771. tags:
  17772. - 用户信息
  17773. /User/QueryUserFavoriteGoodses:
  17774. get:
  17775. parameters:
  17776. - description: 用户ID
  17777. in: query
  17778. name: userID
  17779. required: true
  17780. type: integer
  17781. produces:
  17782. - application/json
  17783. responses:
  17784. "200":
  17785. description: OK
  17786. schema:
  17787. $ref: '#/definitions/models.Userfavoritegoods'
  17788. "500":
  17789. description: Internal Server Error
  17790. schema:
  17791. $ref: '#/definitions/app.Response'
  17792. security:
  17793. - ApiKeyAuth: []
  17794. summary: 获取用户商品收藏信息
  17795. tags:
  17796. - 用户信息
  17797. /User/QueryUserInfo:
  17798. get:
  17799. parameters:
  17800. - description: 用户ID
  17801. in: query
  17802. name: userID
  17803. required: true
  17804. type: integer
  17805. - description: 是否解密
  17806. in: query
  17807. name: isDecrypt
  17808. type: boolean
  17809. produces:
  17810. - application/json
  17811. responses:
  17812. "200":
  17813. description: OK
  17814. schema:
  17815. $ref: '#/definitions/models.Userinfo'
  17816. "500":
  17817. description: Internal Server Error
  17818. schema:
  17819. $ref: '#/definitions/app.Response'
  17820. security:
  17821. - ApiKeyAuth: []
  17822. summary: 获取用户信息
  17823. tags:
  17824. - 用户信息
  17825. /User/QueryUserReferNum:
  17826. get:
  17827. parameters:
  17828. - description: 用户ID
  17829. in: query
  17830. name: userID
  17831. required: true
  17832. type: integer
  17833. produces:
  17834. - application/json
  17835. responses:
  17836. "200":
  17837. description: OK
  17838. schema:
  17839. $ref: '#/definitions/app.Response'
  17840. "500":
  17841. description: Internal Server Error
  17842. schema:
  17843. $ref: '#/definitions/app.Response'
  17844. summary: 获取用户邀请码
  17845. tags:
  17846. - 用户信息
  17847. /User/RemoveUserFavoriteGoods:
  17848. post:
  17849. parameters:
  17850. - description: 用户ID
  17851. in: query
  17852. name: userID
  17853. required: true
  17854. type: integer
  17855. - description: 商品ID
  17856. in: query
  17857. name: goodsID
  17858. required: true
  17859. type: integer
  17860. produces:
  17861. - application/json
  17862. responses:
  17863. "200":
  17864. description: OK
  17865. schema:
  17866. $ref: '#/definitions/app.Response'
  17867. "500":
  17868. description: Internal Server Error
  17869. schema:
  17870. $ref: '#/definitions/app.Response'
  17871. security:
  17872. - ApiKeyAuth: []
  17873. summary: 移除用户商品收藏信息
  17874. tags:
  17875. - 用户信息
  17876. /User/UpdateUserAccountStatus:
  17877. post:
  17878. parameters:
  17879. - description: 用户ID
  17880. in: query
  17881. name: userID
  17882. required: true
  17883. type: integer
  17884. - description: 账户状态 - 4:正常 6:注销(停用)
  17885. in: query
  17886. name: accountStatus
  17887. required: true
  17888. type: integer
  17889. produces:
  17890. - application/json
  17891. responses:
  17892. "200":
  17893. description: OK
  17894. schema:
  17895. $ref: '#/definitions/app.Response'
  17896. "500":
  17897. description: Internal Server Error
  17898. schema:
  17899. $ref: '#/definitions/app.Response'
  17900. security:
  17901. - ApiKeyAuth: []
  17902. summary: 更新用户状态
  17903. tags:
  17904. - 用户信息
  17905. /WRTrade/GetAllDeliveryGoods:
  17906. get:
  17907. produces:
  17908. - application/json
  17909. - application/json
  17910. responses:
  17911. "200":
  17912. description: OK
  17913. schema:
  17914. $ref: '#/definitions/app.Response'
  17915. "500":
  17916. description: Internal Server Error
  17917. schema:
  17918. $ref: '#/definitions/app.Response'
  17919. security:
  17920. - ApiKeyAuth: []
  17921. - ApiKeyAuth: []
  17922. summary: 获取带仓单分类的种类信息
  17923. tags:
  17924. - 仓单贸易
  17925. - 仓单贸易
  17926. securityDefinitions:
  17927. ApiKeyAuth:
  17928. in: header
  17929. name: Authorization
  17930. type: apiKey
  17931. swagger: "2.0"