swagger.yaml 517 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815
  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.Ermcp3TaFutuReDataReport:
  5760. properties:
  5761. accountid:
  5762. description: 交易账户
  5763. type: integer
  5764. accountname:
  5765. description: 交易账号名称
  5766. type: string
  5767. begindate:
  5768. description: 开始交易日
  5769. type: string
  5770. buyorsell:
  5771. description: 持仓方向
  5772. type: integer
  5773. charge:
  5774. description: 手续费
  5775. type: number
  5776. closepl:
  5777. description: 平仓损益
  5778. type: number
  5779. currencyid:
  5780. description: 结算币种ID
  5781. type: integer
  5782. cycletime:
  5783. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5784. type: string
  5785. cycletype:
  5786. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5787. type: integer
  5788. enddate:
  5789. description: 结束交易日
  5790. type: string
  5791. enumdicname:
  5792. description: 单位名称(现货商品)
  5793. type: string
  5794. floatpl:
  5795. description: 浮动损益
  5796. type: number
  5797. goodscode:
  5798. description: 交易合约代码
  5799. type: string
  5800. goodsgroupid:
  5801. description: 交易品种
  5802. type: integer
  5803. goodsgroupname:
  5804. description: 交易品种名称
  5805. type: string
  5806. goodsgroupspotqty:
  5807. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5808. type: number
  5809. goodsid:
  5810. description: 交易合约
  5811. type: integer
  5812. goodsname:
  5813. description: 交易合约名称
  5814. type: string
  5815. goodunitid:
  5816. description: 交易合约单位id
  5817. type: integer
  5818. holdamount:
  5819. description: 期末持仓额
  5820. type: number
  5821. holdqty:
  5822. description: 期末持仓量
  5823. type: number
  5824. lastholdamount:
  5825. description: 当前持仓额
  5826. type: number
  5827. lastprice:
  5828. description: 最新价
  5829. type: number
  5830. middlegoodsqty:
  5831. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5832. type: number
  5833. openamount:
  5834. description: 期末开仓额
  5835. type: number
  5836. oriholdamount:
  5837. description: 期初持仓额
  5838. type: number
  5839. oriholdqty:
  5840. description: 期初持仓量
  5841. type: number
  5842. oriopenamount:
  5843. description: 期初开仓额
  5844. type: number
  5845. outergroupcode:
  5846. description: 交易品种代码
  5847. type: string
  5848. reckondate:
  5849. description: 日照时期(yyyyMMdd)
  5850. type: string
  5851. reckonholdamount:
  5852. description: 结算持仓额
  5853. type: number
  5854. reckonpl:
  5855. description: 结算损益
  5856. type: number
  5857. reckonpl2:
  5858. description: 结算逐笔盈亏
  5859. type: number
  5860. reckonprice:
  5861. description: 结算价
  5862. type: number
  5863. relateduserid:
  5864. description: 账户关联用户ID
  5865. type: integer
  5866. todaycloseamount:
  5867. description: 今平仓额
  5868. type: number
  5869. todaycloseqty:
  5870. description: 今平仓量
  5871. type: number
  5872. todaygoodsgroupspotqty:
  5873. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5874. type: number
  5875. todaymiddlegoodsqty:
  5876. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5877. type: number
  5878. todayopenamount:
  5879. description: 今开仓额
  5880. type: number
  5881. todayopenqty:
  5882. description: 今开仓量
  5883. type: number
  5884. userid:
  5885. description: 账户所属用户ID
  5886. type: integer
  5887. type: object
  5888. models.Ermcp3Wrstandard:
  5889. properties:
  5890. areauserid:
  5891. description: 所属机构
  5892. type: integer
  5893. convertfactor:
  5894. description: 标仓系数
  5895. type: number
  5896. createtime:
  5897. description: 创建时间
  5898. type: string
  5899. creatorid:
  5900. description: 创建人
  5901. type: integer
  5902. deliverygoodsid:
  5903. description: 现货品种ID
  5904. type: integer
  5905. enumdicname:
  5906. description: 品类单位名称
  5907. type: string
  5908. isvalid:
  5909. description: 是否有效 0-无效(停用) 1-有效(正常)
  5910. type: integer
  5911. minivalue:
  5912. description: 最小变动值
  5913. type: integer
  5914. minivaluedp:
  5915. description: 最小变动值小数位
  5916. type: integer
  5917. realminivalue:
  5918. description: 实际最小变动值
  5919. type: integer
  5920. realminivaluedp:
  5921. description: 实际最小变动值小数位
  5922. type: integer
  5923. remark:
  5924. description: 备注
  5925. type: string
  5926. unitid:
  5927. description: 品类单位ID
  5928. type: integer
  5929. updatetime:
  5930. description: 更新时间
  5931. type: string
  5932. wrstandardcode:
  5933. description: 品类代码
  5934. type: string
  5935. wrstandardid:
  5936. description: 品类ID(SEQ_WRSTANDARD)
  5937. type: integer
  5938. wrstandardname:
  5939. description: 品类名称
  5940. type: string
  5941. type: object
  5942. models.ErmcpBizGroupEx:
  5943. properties:
  5944. acclist:
  5945. description: 账号列表
  5946. items:
  5947. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5948. type: array
  5949. bizgroupid:
  5950. description: 业务分组id
  5951. type: integer
  5952. biztype:
  5953. description: 业务类型 1-套保 2-套利
  5954. type: integer
  5955. wrlist:
  5956. description: 现货商品表
  5957. items:
  5958. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5959. type: array
  5960. type: object
  5961. models.ErmcpBizGroupSpotGoods:
  5962. properties:
  5963. areauserid:
  5964. description: 所属机构id
  5965. type: integer
  5966. bizgroupid:
  5967. description: 分组id
  5968. type: integer
  5969. biztype:
  5970. description: 业务类型 1-套保 2-套利
  5971. type: integer
  5972. deliverygoodscode:
  5973. description: 现货商品代码
  5974. type: string
  5975. deliverygoodsid:
  5976. description: 现货商品id
  5977. type: integer
  5978. deliverygoodsname:
  5979. description: 现货商品名称
  5980. type: string
  5981. unitid:
  5982. description: 现货商品单位id
  5983. type: integer
  5984. type: object
  5985. models.ErmcpBizGroupTaAccount:
  5986. properties:
  5987. accountid:
  5988. description: 账号id
  5989. type: integer
  5990. accountname:
  5991. description: 账号名称
  5992. type: string
  5993. areauserid:
  5994. description: 所属机构id
  5995. type: integer
  5996. bizgroupid:
  5997. description: 业务分组id
  5998. type: integer
  5999. ismain:
  6000. description: 是否主账号 1-是 0-否
  6001. type: integer
  6002. type: object
  6003. models.ErmcpDGFactoryItem:
  6004. properties:
  6005. areauserid:
  6006. description: 用户id
  6007. type: integer
  6008. deliverygoodsid:
  6009. description: 现货品种ID
  6010. type: integer
  6011. dgfactoryitemid:
  6012. description: 选择项ID(SEQ_DGFACTORYITEM)
  6013. type: integer
  6014. dgfactoryitemtypeid:
  6015. description: 要素项类型
  6016. type: integer
  6017. dgfactoryitemvalue:
  6018. description: 要素项值(类型为仓库时填写仓库名称)
  6019. type: string
  6020. isvalid:
  6021. description: 是否有效 - 0:无效 1:有效
  6022. type: integer
  6023. orderindex:
  6024. description: 顺序
  6025. type: integer
  6026. warehouseid:
  6027. description: 仓库ID(类型为仓库时填写)
  6028. type: integer
  6029. type: object
  6030. models.ErmcpDeliveryGoods:
  6031. properties:
  6032. agreeunit:
  6033. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  6034. type: integer
  6035. areauserid:
  6036. description: 所属机构
  6037. type: integer
  6038. auditflag:
  6039. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  6040. type: integer
  6041. categoryid:
  6042. description: 类别ID(SEQ_WRCATEGORY)
  6043. type: integer
  6044. deliverygoodscode:
  6045. description: 现货品种代码
  6046. type: string
  6047. deliverygoodsid:
  6048. description: 现货品种ID(SEQ_DELIVERYGOODS)
  6049. type: integer
  6050. deliverygoodsname:
  6051. description: 现货品种名称
  6052. type: string
  6053. deliverygoodstype:
  6054. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  6055. type: integer
  6056. dgstatus:
  6057. description: 品种状态 - 作废 - 0:未激活 1:正常
  6058. type: integer
  6059. enumdicname:
  6060. description: 现货品种单位名称
  6061. type: string
  6062. goodsunitid:
  6063. description: 现货品种单位ID
  6064. type: integer
  6065. isvalid:
  6066. description: 是否有效 - 0:无效 1:有效
  6067. type: integer
  6068. qtydecimalplace:
  6069. description: 成交量小数位
  6070. type: integer
  6071. remark:
  6072. description: 备注
  6073. type: string
  6074. standardqty:
  6075. description: 标准数量(库位数量) [标准品特有]
  6076. type: integer
  6077. standardqtyrange:
  6078. description: 标准数量偏差范围 [标准品特有]
  6079. type: integer
  6080. type: object
  6081. models.ErmcpDeliveryGoodsDetail2:
  6082. properties:
  6083. convertratio:
  6084. description: 套保系数(折算系数)
  6085. type: number
  6086. data:
  6087. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  6088. description: 现货商品基本信息(交割品种)
  6089. gblist:
  6090. description: 品牌列表
  6091. items:
  6092. $ref: '#/definitions/models.Ermcp3Brand'
  6093. type: array
  6094. gmlist:
  6095. description: 品类列表(仓单标准)
  6096. items:
  6097. $ref: '#/definitions/models.Ermcp3Wrstandard'
  6098. type: array
  6099. type: object
  6100. models.ErmcpDeliveryGoodsDetailEx:
  6101. properties:
  6102. data:
  6103. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  6104. description: 现货商品基本信息(交割品种)
  6105. gblist:
  6106. description: 品牌列表
  6107. items:
  6108. $ref: '#/definitions/models.Ermcp3Brand'
  6109. type: array
  6110. gmlist:
  6111. description: 品类列表(仓单标准)
  6112. items:
  6113. $ref: '#/definitions/models.Ermcp3Wrstandard'
  6114. type: array
  6115. mgList:
  6116. description: 套保列表
  6117. items:
  6118. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  6119. type: array
  6120. type: object
  6121. models.ErmcpFuturesCompany:
  6122. properties:
  6123. brokerid:
  6124. description: 经纪公司代码
  6125. type: string
  6126. channeladdress:
  6127. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  6128. type: string
  6129. channelid:
  6130. description: 对冲渠道ID
  6131. type: string
  6132. createtime:
  6133. description: 创建时间
  6134. type: string
  6135. creatorid:
  6136. description: 创建人
  6137. type: string
  6138. fcid:
  6139. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  6140. type: integer
  6141. fcname:
  6142. description: 期货公司名称
  6143. type: string
  6144. isvalid:
  6145. description: 是否有效 - 0:无效 1:有效
  6146. type: integer
  6147. mhpaddress:
  6148. description: MHP服务地址(IP:Port)
  6149. type: string
  6150. riskrulegroupid:
  6151. description: 风控规则组ID
  6152. type: string
  6153. tradefeetmpid:
  6154. description: 手续费模板ID[TradeConfigTmpType为2]
  6155. type: string
  6156. trademargintmpid:
  6157. description: 保证金模板ID [TradeConfigTmpType为1]
  6158. type: string
  6159. traderatetmpid:
  6160. description: 汇率模板ID[TradeConfigTmpType为3]
  6161. type: string
  6162. updatetime:
  6163. description: 更新时间
  6164. type: string
  6165. updatorid:
  6166. description: 更新人
  6167. type: string
  6168. type: object
  6169. models.ErmcpGGConvertCfg:
  6170. properties:
  6171. convertratio:
  6172. description: 折算系数
  6173. type: number
  6174. destgoodsgroupid:
  6175. description: 目标品种ID
  6176. type: integer
  6177. dstcode:
  6178. description: 目录品种代码
  6179. type: string
  6180. dstexchangecode:
  6181. description: 目标期货交易所
  6182. type: string
  6183. dstname:
  6184. description: 目标品种名称
  6185. type: string
  6186. dstunitid:
  6187. description: 目标品种单位ID
  6188. type: integer
  6189. dstunitidname:
  6190. description: 目标品种单位名称
  6191. type: string
  6192. modifytime:
  6193. description: 修改时间
  6194. type: string
  6195. srccode:
  6196. description: 源品种代码
  6197. type: string
  6198. srcexchangecode:
  6199. description: 源期货交易所
  6200. type: string
  6201. srcgoodsgroupid:
  6202. description: 源品种ID
  6203. type: integer
  6204. srcname:
  6205. description: 源品种名称
  6206. type: string
  6207. srcunitid:
  6208. description: 源品种单位ID
  6209. type: integer
  6210. srcunitidname:
  6211. description: 源品种单位名称
  6212. type: string
  6213. type: object
  6214. models.ErmcpGoods:
  6215. properties:
  6216. agreeunit:
  6217. description: 合约单位
  6218. type: number
  6219. auditaccountid:
  6220. description: 审核操作员账号
  6221. type: integer
  6222. audittime:
  6223. description: 审核时间
  6224. type: string
  6225. cancelaccountid:
  6226. description: 注销操作员账号
  6227. type: integer
  6228. canceltime:
  6229. description: 注销时间
  6230. type: string
  6231. closepricemode:
  6232. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6233. type: integer
  6234. closepriceparam:
  6235. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6236. type: number
  6237. createtime:
  6238. description: 创建时间
  6239. type: string
  6240. creatorid:
  6241. description: 创建人
  6242. type: integer
  6243. currencyid:
  6244. description: 报价货币ID
  6245. type: integer
  6246. cutmode:
  6247. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6248. type: integer
  6249. decimalplace:
  6250. description: 报价小数位
  6251. type: integer
  6252. delistingdate:
  6253. description: 商品退市时间(状态:退市) -- 已作废
  6254. type: string
  6255. delistingmode:
  6256. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6257. type: integer
  6258. deliveryflag:
  6259. description: 交割标志 - 0:不可交割 1:可交割
  6260. type: integer
  6261. forceclosemode:
  6262. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6263. type: integer
  6264. forceclosevalue:
  6265. description: 定期强平参数 [收益权]
  6266. type: integer
  6267. goodscode:
  6268. description: 商品代码(内部)
  6269. type: string
  6270. goodscurrencyid:
  6271. description: 合约货币ID
  6272. type: integer
  6273. goodsgroupid:
  6274. description: 所属商品组ID
  6275. type: integer
  6276. goodsid:
  6277. description: 商品ID(自增ID SEQ_GOODS)
  6278. type: integer
  6279. goodsname:
  6280. description: 商品名称
  6281. type: string
  6282. goodsquotetype:
  6283. description: '合约报价类型: 1-直接报价 2-间接报价'
  6284. type: integer
  6285. goodsstatus:
  6286. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6287. type: integer
  6288. goodstradetype:
  6289. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6290. type: integer
  6291. goodunitid:
  6292. description: 报价单位ID
  6293. type: integer
  6294. hasquoter:
  6295. description: 是否有报价商 - 0:无报价商 1:有报价商
  6296. type: integer
  6297. hqprotecttime:
  6298. description: 行情保护时间(秒)
  6299. type: integer
  6300. innerdealmode:
  6301. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6302. type: integer
  6303. isbuylimited:
  6304. description: 是否限制建仓量 - 0:不限制 1:限制
  6305. type: integer
  6306. lasttradedate:
  6307. description: 最后交易日期(状态:待退市)
  6308. type: string
  6309. listingdate:
  6310. description: 交易开始日期
  6311. type: string
  6312. marketid:
  6313. description: 所属市场ID
  6314. type: integer
  6315. modifierid:
  6316. description: 修改人
  6317. type: integer
  6318. modifystatus:
  6319. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6320. type: integer
  6321. modifytime:
  6322. description: 修改时间
  6323. type: string
  6324. outerdealmode:
  6325. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6326. type: integer
  6327. outgoodscode:
  6328. description: 商品代码(外部)
  6329. type: string
  6330. qtydecimalplace:
  6331. description: 成交量小数位
  6332. type: integer
  6333. quotegear:
  6334. description: 行情档位(1-10)
  6335. type: integer
  6336. quoteminunit:
  6337. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6338. type: integer
  6339. quoteshowtype:
  6340. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6341. type: integer
  6342. quoteshowtypeinterval:
  6343. description: 行情报价间隔时间(秒)(成交价时为0)
  6344. type: integer
  6345. relatedgoodsid:
  6346. description: 关联参考商品ID
  6347. type: integer
  6348. remark:
  6349. description: 备注
  6350. type: string
  6351. trademode:
  6352. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6353. 21:竞拍-大宗式 22:受托竞价
  6354. type: integer
  6355. required:
  6356. - goodscode
  6357. - goodsid
  6358. - goodsname
  6359. - marketid
  6360. type: object
  6361. models.ErmcpGoodsBrand:
  6362. properties:
  6363. areauserid:
  6364. description: 所属机构
  6365. type: integer
  6366. brandid:
  6367. description: BrandID(SEQ_SPOTGOODSBRAND)
  6368. type: integer
  6369. brandname:
  6370. description: 品牌名称
  6371. type: string
  6372. createtime:
  6373. description: 创建时间
  6374. type: string
  6375. creatorid:
  6376. description: 创建人
  6377. type: integer
  6378. creatorsrc:
  6379. description: 创建人来源 - 1:管理端 2:终端
  6380. type: integer
  6381. deliverygoodsid:
  6382. description: 现货品种ID
  6383. type: integer
  6384. isvalid:
  6385. description: 是否有效 - 0:无效 1:有效
  6386. type: integer
  6387. updatetime:
  6388. description: 更新时间
  6389. type: string
  6390. updatorid:
  6391. description: 更新人
  6392. type: integer
  6393. updatorsrc:
  6394. description: 更新人来源 - 1:管理端 2:终端
  6395. type: integer
  6396. wrstandardid:
  6397. description: 现货商品ID
  6398. type: integer
  6399. type: object
  6400. models.ErmcpGoodsModel:
  6401. properties:
  6402. areauserid:
  6403. description: 所属机构
  6404. type: integer
  6405. convertfactor:
  6406. description: 标仓系数
  6407. type: number
  6408. createtime:
  6409. description: 创建时间
  6410. type: string
  6411. creatorid:
  6412. description: 创建人
  6413. type: integer
  6414. creatorsrc:
  6415. description: 创建人来源 - 1:管理端 2:终端
  6416. type: integer
  6417. deliverygoodsid:
  6418. description: 现货品种ID
  6419. type: integer
  6420. isvalid:
  6421. description: 是否有效 - 0:无效 1:有效
  6422. type: integer
  6423. modelid:
  6424. description: ModelID(SEQ_SPOTGOODSMODEL)
  6425. type: integer
  6426. modelname:
  6427. description: 型号名称
  6428. type: string
  6429. updatetime:
  6430. description: 更新时间
  6431. type: string
  6432. updatorid:
  6433. description: 更新人
  6434. type: integer
  6435. updatorsrc:
  6436. description: 更新人来源 - 1:管理端 2:终端
  6437. type: integer
  6438. wrstandardid:
  6439. description: 现货商品ID
  6440. type: integer
  6441. type: object
  6442. models.ErmcpHisExposure:
  6443. properties:
  6444. needhedgeexposoure:
  6445. description: 应套保敞口
  6446. type: number
  6447. reckondate:
  6448. description: 日照时期(yyyyMMdd)
  6449. type: string
  6450. totalexposure:
  6451. description: 总敞口
  6452. type: number
  6453. type: object
  6454. models.ErmcpLoginTaAccount:
  6455. properties:
  6456. accountid:
  6457. description: 账号id
  6458. type: integer
  6459. accountname:
  6460. description: 账号名称
  6461. type: string
  6462. type: object
  6463. models.ErmcpLoginUser:
  6464. properties:
  6465. acclist:
  6466. description: 关联资金账号
  6467. items:
  6468. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6469. type: array
  6470. accountname:
  6471. description: 用户名称
  6472. type: string
  6473. clientroleid:
  6474. description: 角色id(usertype=2)
  6475. type: integer
  6476. createtime:
  6477. description: 创建时间
  6478. type: string
  6479. logincode:
  6480. description: 登录代码
  6481. type: string
  6482. loginid:
  6483. description: 登录id(LOGINID)
  6484. type: integer
  6485. loginname:
  6486. description: 登录名称(loginaccount表中的accountname字段)
  6487. type: string
  6488. loginstatus:
  6489. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6490. type: integer
  6491. memberuserid:
  6492. description: 所属会员id
  6493. type: integer
  6494. mobile:
  6495. description: 手机号
  6496. type: string
  6497. modifytime:
  6498. description: 修改时间
  6499. type: string
  6500. password:
  6501. description: 密码(不可解密)
  6502. type: string
  6503. rolename:
  6504. description: 角色名称
  6505. type: string
  6506. rolestatus:
  6507. description: 角色状态 1-启用 2-停用
  6508. type: integer
  6509. roletype:
  6510. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6511. type: string
  6512. userid:
  6513. description: 用户id
  6514. type: integer
  6515. usertype:
  6516. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6517. type: integer
  6518. type: object
  6519. models.ErmcpLoginUserEx:
  6520. properties:
  6521. accountstatus:
  6522. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6523. type: integer
  6524. mobile:
  6525. description: 手机号
  6526. type: string
  6527. querytype:
  6528. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6529. type: integer
  6530. roleid:
  6531. description: 角色id(交易账户->用户id)
  6532. type: integer
  6533. rolename:
  6534. description: 角色名称(交易账户->用户名称)
  6535. type: string
  6536. userlist:
  6537. description: 用户列表
  6538. items:
  6539. $ref: '#/definitions/models.ErmcpLoginUser'
  6540. type: array
  6541. usertype:
  6542. description: 用户类型 2-机构 7-企业成员(云平台)
  6543. type: integer
  6544. type: object
  6545. models.ErmcpMiddleGoodsModel:
  6546. properties:
  6547. areauserid:
  6548. description: 机构用户ID
  6549. type: integer
  6550. createtime:
  6551. description: 修改时间
  6552. type: string
  6553. enumdicname:
  6554. description: 单位名称
  6555. type: string
  6556. evaluateratio:
  6557. description: 估价系数
  6558. type: number
  6559. goodsgroupid:
  6560. description: 关联期货品种ID
  6561. type: integer
  6562. goodsunitid:
  6563. description: 单位ID
  6564. type: integer
  6565. isvalid:
  6566. description: 状态 0-无效(停用) 1-有效(正常)
  6567. type: integer
  6568. middlegoodscode:
  6569. description: 套保品种代码
  6570. type: string
  6571. middlegoodsid:
  6572. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6573. type: integer
  6574. middlegoodsname:
  6575. description: 套保品种名称
  6576. type: string
  6577. modifytime:
  6578. description: 修改时间
  6579. type: string
  6580. needarbitrageratio:
  6581. description: 套利比例
  6582. type: number
  6583. needhedgeratio:
  6584. description: 套保比率
  6585. type: number
  6586. qtydecimalplace:
  6587. description: 数量小数位
  6588. type: integer
  6589. relatedgoodsid:
  6590. description: 关联交易商品ID
  6591. type: integer
  6592. relatedgoodstype:
  6593. description: 关联商品类型 - 1:期货合约 2:现货品种
  6594. type: integer
  6595. remark:
  6596. description: 备注
  6597. type: string
  6598. type: object
  6599. models.ErmcpRole:
  6600. properties:
  6601. areauserid:
  6602. description: 所属机构
  6603. type: integer
  6604. autoid:
  6605. description: 角色ID(自增ID)
  6606. type: integer
  6607. modifierid:
  6608. description: 修改人(创建人)
  6609. type: integer
  6610. modifiername:
  6611. description: 修改人名称
  6612. type: string
  6613. modifytime:
  6614. description: 修改时间(创建时间)
  6615. type: string
  6616. rolename:
  6617. description: 角色名称
  6618. type: string
  6619. rolestatus:
  6620. description: 角色状态 - 1:启用 2:停用
  6621. type: integer
  6622. roletype:
  6623. description: 角色类型 - 1- 管理端 2- 交易端
  6624. type: integer
  6625. type: object
  6626. models.ErmcpRoleMenu:
  6627. properties:
  6628. iconame:
  6629. description: 菜单图标
  6630. type: string
  6631. ishadrole:
  6632. description: 是否有权限
  6633. type: boolean
  6634. menutype:
  6635. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6636. type: integer
  6637. parentcode:
  6638. description: 上级资源代码
  6639. type: string
  6640. remark:
  6641. description: 菜单备注
  6642. type: string
  6643. resourcecode:
  6644. description: 菜单代码
  6645. type: string
  6646. resourcelevel:
  6647. description: 级别
  6648. type: integer
  6649. resourcename:
  6650. description: 菜单名称
  6651. type: string
  6652. roleid:
  6653. description: 角色id
  6654. type: integer
  6655. sort:
  6656. description: 排序
  6657. type: integer
  6658. url:
  6659. description: URL
  6660. type: string
  6661. userid:
  6662. description: 用户id
  6663. type: integer
  6664. type: object
  6665. models.ErmcpRoleMenuEx:
  6666. properties:
  6667. menu:
  6668. $ref: '#/definitions/models.ErmcpRoleMenu'
  6669. description: 父级菜单
  6670. subMenu:
  6671. description: 子级菜单
  6672. items:
  6673. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6674. type: array
  6675. type: object
  6676. models.ErmcpTaAccount:
  6677. properties:
  6678. accountid:
  6679. description: 账户id
  6680. type: integer
  6681. accountname:
  6682. description: 账户名称
  6683. type: string
  6684. currencyid:
  6685. description: 币种id
  6686. type: integer
  6687. hedgeaccountcode:
  6688. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6689. type: string
  6690. ismain:
  6691. description: 是否主账户 0-否 1-是
  6692. type: integer
  6693. parentaccountid:
  6694. description: 父账户id
  6695. type: integer
  6696. relateduserid:
  6697. description: 关联userid
  6698. type: integer
  6699. tradefeetmpid:
  6700. description: 手续费模板id
  6701. type: integer
  6702. tradefeetmpname:
  6703. description: 手续费模板名称
  6704. type: string
  6705. trademargintmpid:
  6706. description: 保证金模板id
  6707. type: integer
  6708. trademargintmpname:
  6709. description: 保证金模板名称
  6710. type: string
  6711. traderatetmpid:
  6712. description: 汇率模板id
  6713. type: integer
  6714. traderatetmpname:
  6715. description: 汇率模板名称
  6716. type: string
  6717. tradestatus:
  6718. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6719. type: integer
  6720. userid:
  6721. description: 用户id
  6722. type: integer
  6723. type: object
  6724. models.ErmcpTaAccountEx:
  6725. properties:
  6726. mainAcc:
  6727. $ref: '#/definitions/models.ErmcpTaAccountM'
  6728. description: 主账号
  6729. subacclist:
  6730. description: 子账号列表
  6731. items:
  6732. $ref: '#/definitions/models.ErmcpTaAccount'
  6733. type: array
  6734. type: object
  6735. models.ErmcpTaAccountInfo:
  6736. properties:
  6737. accountid:
  6738. description: 资金账户ID
  6739. type: integer
  6740. accountname:
  6741. description: 账户名称
  6742. type: string
  6743. balance:
  6744. description: 期初余额
  6745. type: number
  6746. capitalbalance:
  6747. description: 本金余额[外部子账户实际出入金余额]
  6748. type: number
  6749. closepl:
  6750. description: 今日平仓盈亏
  6751. type: number
  6752. creditdecrease:
  6753. description: 今日授信减少
  6754. type: number
  6755. creditincrease:
  6756. description: 今日授信增加
  6757. type: number
  6758. curdebt:
  6759. description: 期末欠款
  6760. type: number
  6761. currencyid:
  6762. description: 货币ID
  6763. type: integer
  6764. currentbalance:
  6765. description: 期末余额
  6766. type: number
  6767. freezecharge:
  6768. description: 手续费冻结
  6769. type: number
  6770. freezemargin:
  6771. description: 冻结保证金
  6772. type: number
  6773. fromaccountid:
  6774. description: 所属上级账户
  6775. type: integer
  6776. inamount:
  6777. description: 今日入金金额(包括三方入金)
  6778. type: number
  6779. ismain:
  6780. description: 是否母账号 0:不是母账户 1:是母账户
  6781. type: integer
  6782. mortgagecredit:
  6783. description: 授信金额
  6784. type: number
  6785. oridebt:
  6786. description: 期初欠款
  6787. type: number
  6788. orifreezecharge:
  6789. description: 期初手续费冻结
  6790. type: number
  6791. orifreezemargin:
  6792. description: 期初冻结保证金
  6793. type: number
  6794. orimortgagecredit:
  6795. description: 期初授信金额
  6796. type: number
  6797. oriothercredit:
  6798. description: 期初其它授信金额
  6799. type: number
  6800. oriotherfreezemargin:
  6801. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6802. type: number
  6803. orioutamountfreeze:
  6804. description: 期初出金冻结
  6805. type: number
  6806. oriusedmargin:
  6807. description: 期初占用保证金
  6808. type: number
  6809. othercredit:
  6810. description: 其它授信金额
  6811. type: number
  6812. othercreditdecrease:
  6813. description: 今日其它授信减少
  6814. type: number
  6815. othercreditincrease:
  6816. description: 今日其它授信增加
  6817. type: number
  6818. otherfreezemargin:
  6819. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6820. type: number
  6821. outamount:
  6822. description: 今日出金金额(包括三方出金)
  6823. type: number
  6824. outamountfreeze:
  6825. description: 出金冻结
  6826. type: number
  6827. outthreshold:
  6828. description: 出金阈值
  6829. type: number
  6830. parentaccountid:
  6831. description: 所属根账号
  6832. type: integer
  6833. paycharge:
  6834. description: 今日手续费支出
  6835. type: number
  6836. relateduserid:
  6837. description: 关联用户
  6838. type: integer
  6839. signstatus:
  6840. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6841. type: integer
  6842. sublevelpath:
  6843. description: 账号层级路径(逗号分隔,首尾加逗号)
  6844. type: string
  6845. taaccounttype:
  6846. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6847. type: integer
  6848. thirdinamount:
  6849. description: 今日三方入金
  6850. type: number
  6851. thirdoutamount:
  6852. description: 今日三方出金
  6853. type: number
  6854. tradestatus:
  6855. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6856. type: integer
  6857. transferamount:
  6858. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6859. type: number
  6860. usedmargin:
  6861. description: 占用保证金
  6862. type: number
  6863. userid:
  6864. description: 用户ID
  6865. type: integer
  6866. type: object
  6867. models.ErmcpTaAccountM:
  6868. properties:
  6869. accountid:
  6870. description: 账户id
  6871. type: integer
  6872. accountname:
  6873. description: 账户名称
  6874. type: string
  6875. currencyid:
  6876. description: 币种id
  6877. type: integer
  6878. fcid:
  6879. description: 期货公司id
  6880. type: integer
  6881. fcname:
  6882. description: 期货公司代码
  6883. type: string
  6884. hedgeaccountcode:
  6885. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6886. type: string
  6887. ismain:
  6888. description: 是否主账户 0-否 1-是
  6889. type: integer
  6890. parentaccountid:
  6891. description: 父账户id
  6892. type: integer
  6893. relateduserid:
  6894. description: 关联userid
  6895. type: integer
  6896. tradefeetmpid:
  6897. description: 手续费模板id
  6898. type: integer
  6899. tradefeetmpname:
  6900. description: 手续费模板名称
  6901. type: string
  6902. trademargintmpid:
  6903. description: 保证金模板id
  6904. type: integer
  6905. trademargintmpname:
  6906. description: 保证金模板名称
  6907. type: string
  6908. traderatetmpid:
  6909. description: 汇率模板id
  6910. type: integer
  6911. traderatetmpname:
  6912. description: 汇率模板名称
  6913. type: string
  6914. tradestatus:
  6915. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6916. type: integer
  6917. userid:
  6918. description: 用户id
  6919. type: integer
  6920. type: object
  6921. models.ErmcpTradeConfigTMP:
  6922. properties:
  6923. areauserid:
  6924. description: 所属机构
  6925. type: integer
  6926. basiccurrencyid:
  6927. description: 基本币种ID[汇率] - 目标币种
  6928. type: integer
  6929. mainaccountid:
  6930. description: 主账户ID
  6931. type: integer
  6932. modifierid:
  6933. description: 修改人
  6934. type: integer
  6935. remark:
  6936. description: 备注
  6937. type: string
  6938. tradeconfigtmpid:
  6939. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6940. type: integer
  6941. tradeconfigtmpname:
  6942. description: 交易配置模板名称
  6943. type: string
  6944. tradeconfigtmptype:
  6945. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6946. type: integer
  6947. updatetime:
  6948. description: 更新时间
  6949. type: string
  6950. type: object
  6951. models.Externalexchange:
  6952. properties:
  6953. autoid:
  6954. description: AutoID - SEQ_EXTERNALEXCHANGE
  6955. type: integer
  6956. exchangefullname:
  6957. description: 外部交易所全称
  6958. type: string
  6959. exexchangecode:
  6960. description: 外部交易所代码
  6961. type: string
  6962. exexchangename:
  6963. description: 外部交易所名称(简称)
  6964. type: string
  6965. ismarketprice:
  6966. description: 是否支持市价 - 0:不支持 1:支持
  6967. type: integer
  6968. quotegear:
  6969. description: 行情档位(1-10)
  6970. type: integer
  6971. showbrokerflag:
  6972. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6973. type: integer
  6974. updatetime:
  6975. description: 更新时间
  6976. type: string
  6977. required:
  6978. - autoid
  6979. type: object
  6980. models.Funcmenulist:
  6981. properties:
  6982. iconame:
  6983. description: 菜单图标
  6984. type: string
  6985. menutype:
  6986. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6987. type: integer
  6988. parentcode:
  6989. description: 上级资源代码
  6990. type: string
  6991. remark:
  6992. description: 备注
  6993. type: string
  6994. resourcecode:
  6995. description: 资源代码
  6996. type: string
  6997. resourcelevel:
  6998. description: 级别 1-一级 2-二级 3-三级 4-四级
  6999. type: integer
  7000. resourcename:
  7001. description: 资源名
  7002. type: string
  7003. sort:
  7004. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7005. type: integer
  7006. url:
  7007. description: URL
  7008. type: string
  7009. required:
  7010. - resourcecode
  7011. type: object
  7012. models.Goods:
  7013. properties:
  7014. agreeunit:
  7015. description: 合约单位
  7016. type: number
  7017. auditaccountid:
  7018. description: 审核操作员账号
  7019. type: integer
  7020. audittime:
  7021. description: 审核时间
  7022. type: string
  7023. cancelaccountid:
  7024. description: 注销操作员账号
  7025. type: integer
  7026. canceltime:
  7027. description: 注销时间
  7028. type: string
  7029. closepricemode:
  7030. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7031. type: integer
  7032. closepriceparam:
  7033. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7034. type: number
  7035. createtime:
  7036. description: 创建时间
  7037. type: string
  7038. creatorid:
  7039. description: 创建人
  7040. type: integer
  7041. currencyid:
  7042. description: 报价货币ID
  7043. type: integer
  7044. cutmode:
  7045. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7046. type: integer
  7047. decimalplace:
  7048. description: 报价小数位
  7049. type: integer
  7050. delistingdate:
  7051. description: 商品退市时间(状态:退市) -- 已作废
  7052. type: string
  7053. delistingmode:
  7054. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7055. type: integer
  7056. deliveryflag:
  7057. description: 交割标志 - 0:不可交割 1:可交割
  7058. type: integer
  7059. forceclosemode:
  7060. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7061. type: integer
  7062. forceclosevalue:
  7063. description: 定期强平参数 [收益权]
  7064. type: integer
  7065. goodscode:
  7066. description: 商品代码(内部)
  7067. type: string
  7068. goodscurrencyid:
  7069. description: 合约货币ID
  7070. type: integer
  7071. goodsgroupid:
  7072. description: 所属商品组ID
  7073. type: integer
  7074. goodsid:
  7075. description: 商品ID(自增ID SEQ_GOODS)
  7076. type: integer
  7077. goodsname:
  7078. description: 商品名称
  7079. type: string
  7080. goodsquotetype:
  7081. description: '合约报价类型: 1-直接报价 2-间接报价'
  7082. type: integer
  7083. goodsstatus:
  7084. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7085. type: integer
  7086. goodstradetype:
  7087. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7088. type: integer
  7089. goodunitid:
  7090. description: 报价单位ID
  7091. type: integer
  7092. hasquoter:
  7093. description: 是否有报价商 - 0:无报价商 1:有报价商
  7094. type: integer
  7095. hqprotecttime:
  7096. description: 行情保护时间(秒)
  7097. type: integer
  7098. innerdealmode:
  7099. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7100. type: integer
  7101. isbuylimited:
  7102. description: 是否限制建仓量 - 0:不限制 1:限制
  7103. type: integer
  7104. lasttradedate:
  7105. description: 最后交易日期(状态:待退市)
  7106. type: string
  7107. listingdate:
  7108. description: 交易开始日期
  7109. type: string
  7110. marketid:
  7111. description: 所属市场ID
  7112. type: integer
  7113. modifierid:
  7114. description: 修改人
  7115. type: integer
  7116. modifystatus:
  7117. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7118. type: integer
  7119. modifytime:
  7120. description: 修改时间
  7121. type: string
  7122. outerdealmode:
  7123. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7124. type: integer
  7125. outgoodscode:
  7126. description: 商品代码(外部)
  7127. type: string
  7128. qtydecimalplace:
  7129. description: 成交量小数位
  7130. type: integer
  7131. quotegear:
  7132. description: 行情档位(1-10)
  7133. type: integer
  7134. quoteminunit:
  7135. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7136. type: integer
  7137. quoteshowtype:
  7138. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7139. type: integer
  7140. quoteshowtypeinterval:
  7141. description: 行情报价间隔时间(秒)(成交价时为0)
  7142. type: integer
  7143. remark:
  7144. description: 备注
  7145. type: string
  7146. required:
  7147. - goodscode
  7148. - goodsid
  7149. - goodsname
  7150. - marketid
  7151. type: object
  7152. models.GoodsIDAndName:
  7153. properties:
  7154. goodscode:
  7155. description: 商品代码(内部)
  7156. type: string
  7157. goodsid:
  7158. description: 商品ID(自增ID SEQ_GOODS)
  7159. type: integer
  7160. goodsname:
  7161. description: 商品名称
  7162. type: string
  7163. marketid:
  7164. description: 所属市场ID
  7165. type: integer
  7166. required:
  7167. - goodscode
  7168. - goodsid
  7169. - goodsname
  7170. - marketid
  7171. type: object
  7172. models.Goodsgroup:
  7173. properties:
  7174. agreeunit:
  7175. description: 合约单位
  7176. type: number
  7177. canshort:
  7178. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7179. type: integer
  7180. closepricemode:
  7181. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7182. type: integer
  7183. closepriceparam:
  7184. description: 强平最新价浮动比例 - 方式为2时使用
  7185. type: number
  7186. createtime:
  7187. description: 创建时间
  7188. type: string
  7189. creatorid:
  7190. description: 创建人
  7191. type: integer
  7192. currencyid:
  7193. description: 报价货币ID
  7194. type: integer
  7195. decimalplace:
  7196. description: 报价小数位
  7197. type: integer
  7198. exercisetype:
  7199. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7200. type: integer
  7201. exexchangeid:
  7202. description: 外部交易所ID[通道交易]
  7203. type: integer
  7204. goodsgroupid:
  7205. description: 商品组ID(自增ID)
  7206. type: integer
  7207. goodsgroupname:
  7208. description: 商品组名称
  7209. type: string
  7210. goodsgroupstatus:
  7211. description: 商品组状态 - 1:正常 2:注销
  7212. type: integer
  7213. goodunitid:
  7214. description: 报价单位ID
  7215. type: integer
  7216. innerdealmode:
  7217. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7218. type: integer
  7219. isbuylimited:
  7220. description: 是否限制建仓量 - 0:不限制 1:限制
  7221. type: integer
  7222. marketid:
  7223. description: 所属市场ID
  7224. type: integer
  7225. modifierid:
  7226. description: 修改人
  7227. type: integer
  7228. modifytime:
  7229. description: 修改时间
  7230. type: string
  7231. outerdealmode:
  7232. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7233. type: integer
  7234. outergroupcode:
  7235. description: 外部商品组代码[通道交易]
  7236. type: string
  7237. premiumdecimalplace:
  7238. description: 权利金小数位[场外期权]
  7239. type: integer
  7240. premiumspreadalgorithm:
  7241. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7242. type: integer
  7243. premiumspreadvalue:
  7244. description: 权利金点差值[场外期权]
  7245. type: number
  7246. qtydecimalplace:
  7247. description: 成交量小数位
  7248. type: integer
  7249. quotegear:
  7250. description: 行情档位(1-10)
  7251. type: integer
  7252. quoteminunit:
  7253. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7254. type: integer
  7255. quoterid:
  7256. description: 报价商ID[场外期权]
  7257. type: integer
  7258. quotesourcegroupid:
  7259. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7260. type: integer
  7261. syncgoodsqty:
  7262. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7263. type: integer
  7264. required:
  7265. - goodsgroupid
  7266. - goodsgroupname
  7267. - goodsgroupstatus
  7268. - marketid
  7269. type: object
  7270. models.Goodssortbypreposition:
  7271. properties:
  7272. goodscode:
  7273. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7274. type: string
  7275. goodsgroupcode:
  7276. description: 品种代码
  7277. type: string
  7278. prepositionqty:
  7279. description: 昨持仓量
  7280. type: integer
  7281. sortindex:
  7282. description: 排序
  7283. type: integer
  7284. tradedate:
  7285. description: 交易日
  7286. type: string
  7287. updatetime:
  7288. description: 更新时间
  7289. type: string
  7290. required:
  7291. - goodscode
  7292. - tradedate
  7293. type: object
  7294. models.Hedgeinnerholderdetail:
  7295. properties:
  7296. accountid:
  7297. description: 账号ID
  7298. type: integer
  7299. buyorsell:
  7300. description: 方向 - 0:买 1:卖
  7301. type: integer
  7302. freezeqty:
  7303. description: 冻结数量 - 按单平使用
  7304. type: integer
  7305. goodsid:
  7306. description: 商品ID
  7307. type: integer
  7308. holderamount:
  7309. description: 持仓金额 [商品币种]
  7310. type: number
  7311. holderdays:
  7312. description: 剩余冻结天数
  7313. type: integer
  7314. holderprice:
  7315. description: 持仓价格
  7316. type: number
  7317. holderqty:
  7318. description: 持仓数量
  7319. type: integer
  7320. marketid:
  7321. description: 市场ID
  7322. type: integer
  7323. openprice:
  7324. description: 建仓价格
  7325. type: number
  7326. openqty:
  7327. description: 建仓数量
  7328. type: integer
  7329. parentaccountid:
  7330. description: 所属母账户
  7331. type: integer
  7332. releaseamount:
  7333. description: 释放持仓金额[商品币种]
  7334. type: number
  7335. tradeamount:
  7336. description: 成交金额[账户]
  7337. type: number
  7338. tradedate:
  7339. description: 交易日(yyyyMMdd)
  7340. type: string
  7341. tradeid:
  7342. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7343. type: string
  7344. tradetime:
  7345. description: 交易时间
  7346. type: string
  7347. required:
  7348. - buyorsell
  7349. - tradeid
  7350. type: object
  7351. models.Hedgemarketopenlog:
  7352. properties:
  7353. accountid:
  7354. description: 资金账号[外部母账户]
  7355. type: integer
  7356. fcname:
  7357. description: 期货公司名称
  7358. type: string
  7359. handlestatus:
  7360. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7361. type: integer
  7362. marketid:
  7363. description: 市场ID
  7364. type: integer
  7365. status:
  7366. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7367. type: integer
  7368. tradedate:
  7369. description: 交易日(yyyyMMdd)
  7370. type: string
  7371. updatetime:
  7372. description: 更新时间
  7373. type: string
  7374. required:
  7375. - accountid
  7376. type: object
  7377. models.HsbyBuyMyPayOrder:
  7378. properties:
  7379. agreeunit:
  7380. description: 合约单位
  7381. type: number
  7382. buyaccountid:
  7383. description: 买方账号ID[报价币种]
  7384. type: integer
  7385. buyorderid:
  7386. description: 买方委托单号
  7387. type: string
  7388. createtime:
  7389. description: 创建时间
  7390. type: string
  7391. currencysign:
  7392. description: 货币符号
  7393. type: string
  7394. decimalplace:
  7395. description: 报价小数位
  7396. type: integer
  7397. goodscode:
  7398. description: 商品代码(内部)
  7399. type: string
  7400. goodsid:
  7401. description: 商品ID
  7402. type: integer
  7403. goodsname:
  7404. description: 商品名称
  7405. type: string
  7406. marketid:
  7407. description: 市场ID
  7408. type: integer
  7409. offamount:
  7410. description: 优惠金额
  7411. type: number
  7412. originalamount:
  7413. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7414. type: number
  7415. payamount:
  7416. description: 支付金额 = TradeAmount + TradeCharge
  7417. type: number
  7418. payflag:
  7419. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7420. type: integer
  7421. paylimitedtime:
  7422. description: 支付期限
  7423. type: string
  7424. paytime:
  7425. description: 付款时间
  7426. type: string
  7427. picurls1:
  7428. description: 预售商品介绍图片[多张用逗号分隔]
  7429. type: string
  7430. picurls2:
  7431. description: 挂牌商品介绍图片[多张用逗号分隔]
  7432. type: string
  7433. sellaccountid:
  7434. description: 卖方账号ID[报价币种]
  7435. type: integer
  7436. sellorderid:
  7437. description: 卖方委托单号
  7438. type: string
  7439. tradeamount:
  7440. description: 成交金额
  7441. type: number
  7442. tradecharge:
  7443. description: 成交手续费(买方)
  7444. type: number
  7445. tradedate:
  7446. description: 交易日(yyyyMMdd)
  7447. type: string
  7448. tradeid:
  7449. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7450. type: string
  7451. trademode:
  7452. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7453. 21:竞拍-大宗式 22:受托竞价
  7454. type: integer
  7455. tradeprice:
  7456. description: 成交价格
  7457. type: number
  7458. tradeqty:
  7459. description: 成交数量
  7460. type: integer
  7461. vendorname1:
  7462. description: 预售商品供应商名称
  7463. type: string
  7464. vendorname2:
  7465. description: 挂牌商品供应商名称
  7466. type: string
  7467. required:
  7468. - goodscode
  7469. - goodsname
  7470. - tradeid
  7471. - trademode
  7472. type: object
  7473. models.HsbyBuyMyTradeDetail:
  7474. properties:
  7475. accountid:
  7476. description: 账户ID[报价币种]
  7477. type: integer
  7478. agreeunit:
  7479. description: 合约单位
  7480. type: number
  7481. amount:
  7482. description: 金额 = 价格 * 数量 * 合约单位
  7483. type: number
  7484. buyorsell:
  7485. description: 买卖 - 0:买 1:卖
  7486. type: integer
  7487. currencysign:
  7488. description: 货币符号
  7489. type: string
  7490. decimalplace:
  7491. description: 报价小数位
  7492. type: integer
  7493. goodscode:
  7494. description: 商品代码(内部)
  7495. type: string
  7496. goodsid:
  7497. description: 商品ID
  7498. type: integer
  7499. goodsname:
  7500. description: 商品名称
  7501. type: string
  7502. marketid:
  7503. description: 市场ID
  7504. type: integer
  7505. orderamount:
  7506. description: 委托金额
  7507. type: number
  7508. orderid:
  7509. description: 单号(成交单号)
  7510. type: string
  7511. picurls1:
  7512. description: 预售商品介绍图片[多张用逗号分隔]
  7513. type: string
  7514. picurls2:
  7515. description: 挂牌商品介绍图片[多张用逗号分隔]
  7516. type: string
  7517. price:
  7518. description: 价格
  7519. type: number
  7520. qty:
  7521. description: 数量
  7522. type: integer
  7523. time:
  7524. description: 时间
  7525. type: string
  7526. trademode:
  7527. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7528. 21:竞拍-大宗式 22:受托竞价
  7529. type: integer
  7530. vendorname1:
  7531. description: 预售商品供应商名称
  7532. type: string
  7533. vendorname2:
  7534. description: 挂牌商品供应商名称
  7535. type: string
  7536. required:
  7537. - accountid
  7538. - buyorsell
  7539. - goodscode
  7540. - goodsid
  7541. - goodsname
  7542. - marketid
  7543. - orderid
  7544. - qty
  7545. - time
  7546. - trademode
  7547. type: object
  7548. models.HsbyGoodsOrderDetail:
  7549. properties:
  7550. buyorsell:
  7551. description: 买卖 - 0:买 1:卖
  7552. type: integer
  7553. currencysign:
  7554. description: 货币符号
  7555. type: string
  7556. customername:
  7557. description: 客户名称(企业名称),已脱敏
  7558. type: string
  7559. enableqty:
  7560. description: 可用数量
  7561. type: integer
  7562. goodunit:
  7563. description: 报价单位
  7564. type: string
  7565. orderid:
  7566. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7567. type: string
  7568. orderprice:
  7569. description: 委托价格
  7570. type: number
  7571. ordertime:
  7572. description: 委托时间
  7573. type: string
  7574. required:
  7575. - buyorsell
  7576. - orderid
  7577. - ordertime
  7578. type: object
  7579. models.HsbyListingGoodsDetail:
  7580. properties:
  7581. agreeunit:
  7582. description: 合约单位
  7583. type: number
  7584. buymaxqty:
  7585. description: 购买上限 [71] - 0为不限
  7586. type: integer
  7587. currency:
  7588. description: 货币
  7589. type: string
  7590. currencysign:
  7591. description: 货币符号
  7592. type: string
  7593. decimalplace:
  7594. description: 报价小数位
  7595. type: integer
  7596. desccityid:
  7597. description: 目的地(市)ID
  7598. type: integer
  7599. descprovinceid:
  7600. description: 目的地(省)ID
  7601. type: integer
  7602. goodscode:
  7603. description: 商品代码(内部)
  7604. type: string
  7605. goodsdesc:
  7606. description: 商品详情
  7607. type: string
  7608. goodsid:
  7609. description: 商品ID(自增ID SEQ_GOODS)
  7610. type: integer
  7611. goodsname:
  7612. description: 商品名称
  7613. type: string
  7614. goodsprice:
  7615. description: 商品价格
  7616. type: number
  7617. hotindex:
  7618. description: 景点热度
  7619. type: integer
  7620. last:
  7621. description: 现价
  7622. type: number
  7623. limitdown:
  7624. description: 跌停价
  7625. type: number
  7626. limitup:
  7627. description: 涨停价
  7628. type: number
  7629. lotsize:
  7630. description: 手数最小变动单位
  7631. type: integer
  7632. marketid:
  7633. description: 所属市场ID
  7634. type: integer
  7635. picurls:
  7636. description: 介绍图片[多张用逗号分隔]
  7637. type: string
  7638. quoteminunit:
  7639. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7640. type: integer
  7641. stepvalue:
  7642. description: 价格最小变动单位
  7643. type: number
  7644. trademode:
  7645. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7646. 21:竞拍-大宗式 22:受托竞价
  7647. type: integer
  7648. vendorattr:
  7649. description: 供应商附件(多张,逗号分隔)
  7650. type: string
  7651. vendorname:
  7652. description: 供应商名称
  7653. type: string
  7654. vendorphone:
  7655. description: 供应商客服电话
  7656. type: string
  7657. videourls:
  7658. description: 介绍视频[多张用逗号分隔]
  7659. type: string
  7660. required:
  7661. - goodscode
  7662. - goodsid
  7663. - goodsname
  7664. - marketid
  7665. - trademode
  7666. type: object
  7667. models.HsbyMarketGoods:
  7668. properties:
  7669. accountid:
  7670. description: 账户ID[报价币种]
  7671. type: integer
  7672. agreeunit:
  7673. description: 合约单位
  7674. type: number
  7675. buyorsell:
  7676. description: 买卖 - 0:买 1:卖
  7677. type: integer
  7678. categoryid:
  7679. description: 类别ID(WRCATEGORY)
  7680. type: integer
  7681. currency:
  7682. description: 货币
  7683. type: string
  7684. currencysign:
  7685. description: 货币符号
  7686. type: string
  7687. customername:
  7688. description: 卖家名称
  7689. type: string
  7690. decimalplace:
  7691. description: 报价小数位
  7692. type: integer
  7693. goodscode:
  7694. description: 商品代码(内部)
  7695. type: string
  7696. goodsid:
  7697. description: 商品ID
  7698. type: integer
  7699. goodsname:
  7700. description: 商品名称
  7701. type: string
  7702. goodsprice:
  7703. description: 商品价格
  7704. type: number
  7705. hascoupon:
  7706. description: 是否可用优惠卷
  7707. type: boolean
  7708. hotindex:
  7709. description: 景点热度
  7710. type: integer
  7711. marketid:
  7712. description: 市场ID
  7713. type: integer
  7714. orderid:
  7715. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7716. type: string
  7717. orderprice:
  7718. description: 委托价格
  7719. type: number
  7720. orderstatus:
  7721. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7722. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7723. 16:成交失败违约(荷兰式竞拍专用)
  7724. type: integer
  7725. picurls:
  7726. description: 介绍图片[多张用逗号分隔]
  7727. type: string
  7728. quoteminunit:
  7729. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7730. type: integer
  7731. sellUserID:
  7732. description: 卖方UserID
  7733. type: integer
  7734. trademode:
  7735. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7736. 21:竞拍-大宗式 22:受托竞价
  7737. type: integer
  7738. videourls:
  7739. description: 介绍视频[多张用逗号分隔]
  7740. type: string
  7741. required:
  7742. - accountid
  7743. - buyorsell
  7744. - goodscode
  7745. - goodsid
  7746. - goodsname
  7747. - marketid
  7748. - orderid
  7749. - trademode
  7750. type: object
  7751. models.HsbyMarketGoodsDetail:
  7752. properties:
  7753. accountid:
  7754. description: 账户ID[报价币种]
  7755. type: integer
  7756. agreeunit:
  7757. description: 合约单位
  7758. type: number
  7759. buymaxqty:
  7760. description: 购买上限 [71] - 0为不限
  7761. type: integer
  7762. buyorsell:
  7763. description: 买卖 - 0:买 1:卖
  7764. type: integer
  7765. cancelqty:
  7766. description: 撤单数量
  7767. type: integer
  7768. categoryid:
  7769. description: 类别ID(WRCATEGORY)
  7770. type: integer
  7771. currency:
  7772. description: 货币
  7773. type: string
  7774. currencysign:
  7775. description: 货币符号
  7776. type: string
  7777. customername:
  7778. description: 卖家名称
  7779. type: string
  7780. decimalplace:
  7781. description: 报价小数位
  7782. type: integer
  7783. goodscode:
  7784. description: 商品代码(内部)
  7785. type: string
  7786. goodsdesc:
  7787. description: 商品详情
  7788. type: string
  7789. goodsid:
  7790. description: 商品ID
  7791. type: integer
  7792. goodsname:
  7793. description: 商品名称
  7794. type: string
  7795. goodsprice:
  7796. description: 商品价格
  7797. type: number
  7798. hotindex:
  7799. description: 景点热度
  7800. type: integer
  7801. lotsize:
  7802. description: 手数最小变动单位
  7803. type: integer
  7804. marketid:
  7805. description: 市场ID
  7806. type: integer
  7807. orderid:
  7808. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7809. type: string
  7810. orderprice:
  7811. description: 委托价格
  7812. type: number
  7813. orderqty:
  7814. description: 委托数量
  7815. type: integer
  7816. orderstatus:
  7817. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7818. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7819. 16:成交失败违约(荷兰式竞拍专用)
  7820. type: integer
  7821. picurls:
  7822. description: 介绍图片[多张用逗号分隔]
  7823. type: string
  7824. quoteminunit:
  7825. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7826. type: integer
  7827. sellUserID:
  7828. description: 卖方UserID
  7829. type: integer
  7830. trademode:
  7831. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7832. 21:竞拍-大宗式 22:受托竞价
  7833. type: integer
  7834. tradeqty:
  7835. description: 成交数量
  7836. type: integer
  7837. vendorattr:
  7838. description: 供应商附件(多张,逗号分隔)
  7839. type: string
  7840. vendorname:
  7841. description: 供应商名称
  7842. type: string
  7843. vendorphone:
  7844. description: 供应商客服电话
  7845. type: string
  7846. videourls:
  7847. description: 介绍视频[多张用逗号分隔]
  7848. type: string
  7849. required:
  7850. - accountid
  7851. - buyorsell
  7852. - goodscode
  7853. - goodsid
  7854. - goodsname
  7855. - marketid
  7856. - orderid
  7857. - orderqty
  7858. - trademode
  7859. type: object
  7860. models.HsbyMarketInfo:
  7861. properties:
  7862. marketid:
  7863. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7864. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7865. type: integer
  7866. marketname:
  7867. description: 市场名称
  7868. type: string
  7869. marketstatus:
  7870. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7871. type: integer
  7872. trademode:
  7873. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7874. 21:竞拍-大宗式 22:受托竞价
  7875. type: integer
  7876. required:
  7877. - marketid
  7878. - marketstatus
  7879. - trademode
  7880. type: object
  7881. models.HsbyMyGoods:
  7882. properties:
  7883. accountid:
  7884. description: 账号Id
  7885. type: integer
  7886. agreeunit:
  7887. description: 合约单位
  7888. type: number
  7889. buyaverageprice:
  7890. description: 持仓均价
  7891. type: number
  7892. buycurholderamount:
  7893. description: 买当前持仓总金额[商品币种]
  7894. type: number
  7895. buycurpositionqty:
  7896. description: 买当前持仓总数量
  7897. type: integer
  7898. buymaxqty:
  7899. description: 购买上限 [71] - 0为不限
  7900. type: integer
  7901. currencysign:
  7902. description: 货币符号
  7903. type: string
  7904. decimalplace:
  7905. description: 报价小数位
  7906. type: integer
  7907. enableqty:
  7908. description: 可用数量
  7909. type: integer
  7910. goodscode:
  7911. description: 商品代码(内部)
  7912. type: string
  7913. goodsid:
  7914. description: 商品Id
  7915. type: integer
  7916. goodsname:
  7917. description: 商品名称
  7918. type: string
  7919. goodsprice:
  7920. description: 商品价格
  7921. type: number
  7922. goodsstatus:
  7923. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7924. type: integer
  7925. last:
  7926. description: 现价(仅使用于挂牌点选)
  7927. type: number
  7928. limitdown:
  7929. description: 跌停价(仅使用于挂牌点选)
  7930. type: number
  7931. limitup:
  7932. description: 涨停价(仅使用于挂牌点选)
  7933. type: number
  7934. lotsize:
  7935. description: 手数最小变动单位
  7936. type: integer
  7937. marketid:
  7938. description: 所属市场ID
  7939. type: integer
  7940. picurls:
  7941. description: 介绍图片[多张用逗号分隔]
  7942. type: string
  7943. quoteminunit:
  7944. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7945. type: integer
  7946. stepvalue:
  7947. description: 价格最小变动单位
  7948. type: number
  7949. trademode:
  7950. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7951. 21:竞拍-大宗式 22:受托竞价
  7952. type: integer
  7953. required:
  7954. - accountid
  7955. - goodscode
  7956. - goodsid
  7957. - goodsname
  7958. - marketid
  7959. - trademode
  7960. type: object
  7961. models.HsbyMyPackage:
  7962. properties:
  7963. accountid:
  7964. description: 账户ID
  7965. type: integer
  7966. address:
  7967. description: 提货人详细地址
  7968. type: string
  7969. agreeunit:
  7970. description: 合约单位
  7971. type: number
  7972. amount:
  7973. description: 提货金额
  7974. type: number
  7975. auditer:
  7976. description: 审核人
  7977. type: integer
  7978. audittime:
  7979. description: 审核时间
  7980. type: string
  7981. averageprice:
  7982. description: 均价
  7983. type: number
  7984. cardnum:
  7985. description: 提货人证件号码
  7986. type: string
  7987. cardtypeid:
  7988. description: 提货人证件类型
  7989. type: integer
  7990. checkremark:
  7991. description: 审核备注
  7992. type: string
  7993. currencysign:
  7994. description: 货币符号
  7995. type: string
  7996. decimalplace:
  7997. description: 报价小数位
  7998. type: integer
  7999. goodscode:
  8000. description: 商品代码(内部)
  8001. type: string
  8002. goodsid:
  8003. description: 商品ID
  8004. type: integer
  8005. goodsname:
  8006. description: 商品名称
  8007. type: string
  8008. handlestatus:
  8009. description: 处理状态
  8010. type: integer
  8011. marketid:
  8012. description: 市场ID
  8013. type: integer
  8014. phonenum:
  8015. description: 提货人联系方式
  8016. type: string
  8017. picurls:
  8018. description: 介绍图片[多张用逗号分隔]
  8019. type: string
  8020. qty:
  8021. description: 提货数量
  8022. type: number
  8023. recivername:
  8024. description: 提货人姓名
  8025. type: string
  8026. reqtime:
  8027. description: 更新时间
  8028. type: string
  8029. takemode:
  8030. description: 提货方式 - 2:自提 3:配送
  8031. type: integer
  8032. takeorderid:
  8033. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8034. type: string
  8035. takeorderstatus:
  8036. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8037. type: integer
  8038. takeremark:
  8039. description: 提货备注
  8040. type: string
  8041. tradedate:
  8042. description: 交易日(yyyyMMdd)
  8043. type: string
  8044. trademode:
  8045. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8046. 21:竞拍-大宗式 22:受托竞价
  8047. type: integer
  8048. userid:
  8049. description: 用户ID
  8050. type: integer
  8051. vendorname:
  8052. description: 供应商名称
  8053. type: string
  8054. required:
  8055. - goodscode
  8056. - goodsname
  8057. - takeorderid
  8058. - trademode
  8059. type: object
  8060. models.HsbyPreGoods:
  8061. properties:
  8062. agreeunit:
  8063. description: 合约单位
  8064. type: number
  8065. currency:
  8066. description: 货币
  8067. type: string
  8068. currencysign:
  8069. description: 货币符号
  8070. type: string
  8071. decimalplace:
  8072. description: 报价小数位
  8073. type: integer
  8074. desccityid:
  8075. description: 目的地(市)
  8076. type: integer
  8077. descprovinceid:
  8078. description: 目的地(省)
  8079. type: integer
  8080. enableqty:
  8081. description: 剩余数量
  8082. type: integer
  8083. goodscode:
  8084. description: 商品代码(内部)
  8085. type: string
  8086. goodsid:
  8087. description: 商品ID(自增ID SEQ_GOODS)
  8088. type: integer
  8089. goodsname:
  8090. description: 商品名称
  8091. type: string
  8092. goodsstatus:
  8093. description: 商品状态- 2:未上市 3:上市
  8094. type: integer
  8095. lasttradedate:
  8096. description: 最后交易日期(状态:待退市)
  8097. type: string
  8098. listingdate:
  8099. description: 交易开始日期
  8100. type: string
  8101. marketid:
  8102. description: 所属市场ID
  8103. type: integer
  8104. picurls:
  8105. description: 介绍图片[多张用逗号分隔]
  8106. type: string
  8107. presaledqty:
  8108. description: 已预售量(预售结束时更新)
  8109. type: integer
  8110. presaleqty:
  8111. description: 预售数量
  8112. type: integer
  8113. quoteminunit:
  8114. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8115. type: integer
  8116. refprice:
  8117. description: 参考价格[一口价]
  8118. type: number
  8119. relatedgoodsid:
  8120. description: 关联交易合约ID
  8121. type: integer
  8122. trademode:
  8123. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8124. 21:竞拍-大宗式 22:受托竞价
  8125. type: integer
  8126. videourls:
  8127. description: 介绍视频[多张用逗号分隔]
  8128. type: string
  8129. required:
  8130. - goodscode
  8131. - goodsid
  8132. - goodsname
  8133. - marketid
  8134. - trademode
  8135. type: object
  8136. models.HsbyPreGoodsDetail:
  8137. properties:
  8138. agreeunit:
  8139. description: 合约单位
  8140. type: number
  8141. buymaxqty:
  8142. description: 购买上限 [71] - 0为不限
  8143. type: integer
  8144. currency:
  8145. description: 货币
  8146. type: string
  8147. currencysign:
  8148. description: 货币符号
  8149. type: string
  8150. customername:
  8151. description: 发行单位
  8152. type: string
  8153. decimalplace:
  8154. description: 报价小数位
  8155. type: integer
  8156. desccityid:
  8157. description: 目的地(市)ID
  8158. type: integer
  8159. descprovinceid:
  8160. description: 目的地(省)ID
  8161. type: integer
  8162. enableqty:
  8163. description: 剩余数量
  8164. type: integer
  8165. goodscode:
  8166. description: 商品代码(内部)
  8167. type: string
  8168. goodsdesc:
  8169. description: 商品详情
  8170. type: string
  8171. goodsid:
  8172. description: 商品ID(自增ID SEQ_GOODS)
  8173. type: integer
  8174. goodsname:
  8175. description: 商品名称
  8176. type: string
  8177. goodsstatus:
  8178. description: 商品状态- 2:未上市 3:上市
  8179. type: integer
  8180. goodunit:
  8181. description: 报价单位
  8182. type: string
  8183. lasttradedate:
  8184. description: 最后交易日期(状态:待退市)
  8185. type: string
  8186. listingdate:
  8187. description: 交易开始日期
  8188. type: string
  8189. lotsize:
  8190. description: 手数最小变动单位
  8191. type: integer
  8192. marketid:
  8193. description: 所属市场ID
  8194. type: integer
  8195. picurls:
  8196. description: 介绍图片[多张用逗号分隔]
  8197. type: string
  8198. presaledqty:
  8199. description: 已预售量(预售结束时更新)
  8200. type: integer
  8201. presaleqty:
  8202. description: 预售数量
  8203. type: integer
  8204. quoteminunit:
  8205. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8206. type: integer
  8207. refprice:
  8208. description: 参考价格[一口价]
  8209. type: number
  8210. relatedgoodsid:
  8211. description: 关联交易合约ID
  8212. type: integer
  8213. stepvalue:
  8214. description: 价格最小变动单位
  8215. type: number
  8216. trademode:
  8217. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8218. 21:竞拍-大宗式 22:受托竞价
  8219. type: integer
  8220. vendorattr:
  8221. description: 供应商附件(多张,逗号分隔)
  8222. type: string
  8223. vendorname:
  8224. description: 供应商名称
  8225. type: string
  8226. vendorphone:
  8227. description: 供应商客服电话
  8228. type: string
  8229. videourls:
  8230. description: 介绍视频[多张用逗号分隔]
  8231. type: string
  8232. required:
  8233. - goodscode
  8234. - goodsid
  8235. - goodsname
  8236. - marketid
  8237. - trademode
  8238. type: object
  8239. models.HsbySellCollectionOrder:
  8240. properties:
  8241. agreeunit:
  8242. description: 合约单位
  8243. type: number
  8244. buyaccountid:
  8245. description: 买方账号ID[报价币种]
  8246. type: integer
  8247. buyorderid:
  8248. description: 买方委托单号
  8249. type: string
  8250. createtime:
  8251. description: 创建时间
  8252. type: string
  8253. currencysign:
  8254. description: 货币符号
  8255. type: string
  8256. decimalplace:
  8257. description: 报价小数位
  8258. type: integer
  8259. goodscode:
  8260. description: 商品代码(内部)
  8261. type: string
  8262. goodsid:
  8263. description: 商品ID
  8264. type: integer
  8265. goodsname:
  8266. description: 商品名称
  8267. type: string
  8268. marketid:
  8269. description: 市场ID
  8270. type: integer
  8271. offamount:
  8272. description: 优惠金额
  8273. type: number
  8274. payamount:
  8275. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8276. type: number
  8277. payflag:
  8278. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8279. type: integer
  8280. paylimitedtime:
  8281. description: 支付期限
  8282. type: string
  8283. paytime:
  8284. description: 付款时间
  8285. type: string
  8286. picurls:
  8287. description: 商品介绍图片[多张用逗号分隔]
  8288. type: string
  8289. sellaccountid:
  8290. description: 卖方账号ID[报价币种]
  8291. type: integer
  8292. sellorderid:
  8293. description: 卖方委托单号
  8294. type: string
  8295. tradeamount:
  8296. description: 成交金额
  8297. type: number
  8298. tradecharge:
  8299. description: 成交手续费(买方)
  8300. type: number
  8301. tradedate:
  8302. description: 交易日(yyyyMMdd)
  8303. type: string
  8304. tradeid:
  8305. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8306. type: string
  8307. trademode:
  8308. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8309. 21:竞拍-大宗式 22:受托竞价
  8310. type: integer
  8311. tradeprice:
  8312. description: 成交价格
  8313. type: number
  8314. tradeqty:
  8315. description: 成交数量
  8316. type: integer
  8317. required:
  8318. - goodscode
  8319. - goodsname
  8320. - tradeid
  8321. - trademode
  8322. type: object
  8323. models.HsbySellMyDetail:
  8324. properties:
  8325. accountid:
  8326. description: 账户ID[报价币种]
  8327. type: integer
  8328. agreeunit:
  8329. description: 合约单位
  8330. type: number
  8331. buyorsell:
  8332. description: 买卖 - 0:买 1:卖
  8333. type: integer
  8334. currencysign:
  8335. description: 货币符号
  8336. type: string
  8337. decimalplace:
  8338. description: 报价小数位
  8339. type: integer
  8340. goodscode:
  8341. description: 商品代码(内部)
  8342. type: string
  8343. goodsid:
  8344. description: 商品ID
  8345. type: integer
  8346. goodsname:
  8347. description: 商品名称
  8348. type: string
  8349. marketid:
  8350. description: 市场ID
  8351. type: integer
  8352. orderid:
  8353. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8354. type: string
  8355. ordertype:
  8356. description: 单据类型:0 - 发布中, 1 - 已完成
  8357. type: integer
  8358. picurls:
  8359. description: 介绍图片[多张用逗号分隔]
  8360. type: string
  8361. price:
  8362. description: 价格
  8363. type: number
  8364. qty:
  8365. description: 数量
  8366. type: integer
  8367. time:
  8368. description: 时间
  8369. type: string
  8370. trademode:
  8371. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8372. 21:竞拍-大宗式 22:受托竞价
  8373. type: integer
  8374. vendorname:
  8375. description: 供应商名称
  8376. type: string
  8377. required:
  8378. - accountid
  8379. - buyorsell
  8380. - goodscode
  8381. - goodsid
  8382. - goodsname
  8383. - marketid
  8384. - orderid
  8385. - time
  8386. - trademode
  8387. type: object
  8388. models.HsbyTopGoods:
  8389. properties:
  8390. agreeunit:
  8391. description: 合约单位
  8392. type: number
  8393. currency:
  8394. description: 货币
  8395. type: string
  8396. currencysign:
  8397. description: 货币符号
  8398. type: string
  8399. decimalplace:
  8400. description: 报价小数位
  8401. type: integer
  8402. desccityid:
  8403. description: 目的地(市)
  8404. type: integer
  8405. descprovinceid:
  8406. description: 目的地(省)
  8407. type: integer
  8408. goodscode:
  8409. description: 商品代码(内部)
  8410. type: string
  8411. goodsid:
  8412. description: 商品ID(自增ID SEQ_GOODS)
  8413. type: integer
  8414. goodsname:
  8415. description: 商品名称
  8416. type: string
  8417. hotindex:
  8418. description: 景点热度
  8419. type: integer
  8420. last:
  8421. description: 现价
  8422. type: number
  8423. marketid:
  8424. description: 所属市场ID
  8425. type: integer
  8426. picurls:
  8427. description: 介绍图片[多张用逗号分隔]
  8428. type: string
  8429. quoteminunit:
  8430. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8431. type: integer
  8432. trademode:
  8433. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8434. 21:竞拍-大宗式 22:受托竞价
  8435. type: integer
  8436. videourls:
  8437. description: 介绍视频[多张用逗号分隔]
  8438. type: string
  8439. required:
  8440. - goodscode
  8441. - goodsid
  8442. - goodsname
  8443. - marketid
  8444. - trademode
  8445. type: object
  8446. models.HybsMyBuyOrderDetail:
  8447. properties:
  8448. accountid:
  8449. description: 账户ID[报价币种]
  8450. type: integer
  8451. agreeunit:
  8452. description: 合约单位
  8453. type: number
  8454. buyorsell:
  8455. description: 买卖 - 0:买 1:卖
  8456. type: integer
  8457. cancelqty:
  8458. description: 撤单数量
  8459. type: integer
  8460. currencysign:
  8461. description: 货币符号
  8462. type: string
  8463. decimalplace:
  8464. description: 报价小数位
  8465. type: integer
  8466. goodscode:
  8467. description: 商品代码(内部)
  8468. type: string
  8469. goodsid:
  8470. description: 商品ID
  8471. type: integer
  8472. goodsname:
  8473. description: 商品名称
  8474. type: string
  8475. listingselecttype:
  8476. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8477. type: integer
  8478. marketid:
  8479. description: 市场ID
  8480. type: integer
  8481. mybuystatus:
  8482. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8483. type: integer
  8484. orderamount:
  8485. description: 委托金额
  8486. type: number
  8487. orderid:
  8488. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8489. type: string
  8490. orderprice:
  8491. description: 委托价格
  8492. type: number
  8493. orderqty:
  8494. description: 委托数量
  8495. type: integer
  8496. orderstatus:
  8497. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8498. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8499. 16:成交失败违约(荷兰式竞拍专用)
  8500. type: integer
  8501. ordertime:
  8502. description: 委托时间
  8503. type: string
  8504. picurls1:
  8505. description: 预售商品介绍图片[多张用逗号分隔]
  8506. type: string
  8507. picurls2:
  8508. description: 挂牌商品介绍图片[多张用逗号分隔]
  8509. type: string
  8510. trademode:
  8511. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8512. 21:竞拍-大宗式 22:受托竞价
  8513. type: integer
  8514. tradeqty:
  8515. description: 成交数量
  8516. type: integer
  8517. vendorname1:
  8518. description: 预售商品供应商名称
  8519. type: string
  8520. vendorname2:
  8521. description: 挂牌商品供应商名称
  8522. type: string
  8523. required:
  8524. - accountid
  8525. - buyorsell
  8526. - goodscode
  8527. - goodsid
  8528. - goodsname
  8529. - marketid
  8530. - orderid
  8531. - orderqty
  8532. - ordertime
  8533. - trademode
  8534. type: object
  8535. models.Loginaccount:
  8536. properties:
  8537. canoutin:
  8538. description: 是否可出入金 - 0:不可 1:可
  8539. type: integer
  8540. clientroleid:
  8541. description: 终端角色ID
  8542. type: integer
  8543. haslogined:
  8544. description: 是否已登录 - 0:未登录 1:已登录
  8545. type: integer
  8546. hasupdatedpwd:
  8547. description: 是否已更改密码 - 0:未修改 1:已修改
  8548. type: integer
  8549. lastloginip:
  8550. description: 最新登录地址
  8551. type: string
  8552. lastloginmode:
  8553. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8554. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8555. type: integer
  8556. lastloginremark:
  8557. description: 最新登录描述
  8558. type: string
  8559. lastlogintime:
  8560. description: 最新登录时间
  8561. type: string
  8562. logincode:
  8563. description: 登录代码
  8564. type: string
  8565. loginfailnum:
  8566. description: 连续登录失败次数(登录成功时清零)
  8567. type: integer
  8568. loginid:
  8569. description: 登陆账号
  8570. type: integer
  8571. loginport:
  8572. description: 最新登录端口
  8573. type: integer
  8574. loginstatus:
  8575. description: 登录账号状态 1:正常 2:冻结 3:无效
  8576. type: integer
  8577. loginusertype:
  8578. description: 登录账号类型 - 1:投资者 2:机构交易员
  8579. type: integer
  8580. modifierid:
  8581. description: 修改人
  8582. type: integer
  8583. modifytime:
  8584. description: 修改时间
  8585. type: string
  8586. pwdwrongcount:
  8587. description: 密码错误次数
  8588. type: integer
  8589. taaccountrighttype:
  8590. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8591. type: integer
  8592. unfreezetime:
  8593. description: 账户解冻时间
  8594. type: string
  8595. userid:
  8596. description: 用户ID
  8597. type: integer
  8598. required:
  8599. - loginid
  8600. type: object
  8601. models.MainAccountInfo:
  8602. properties:
  8603. accountid:
  8604. description: 账号id
  8605. type: integer
  8606. accountname:
  8607. description: 账号名称(taaccount表中的名称)
  8608. type: string
  8609. appid:
  8610. description: AppID
  8611. type: string
  8612. authcode:
  8613. description: 授权码
  8614. type: string
  8615. brokerid:
  8616. description: 经纪商id
  8617. type: string
  8618. fcid:
  8619. description: 期货公司id
  8620. type: integer
  8621. fcname:
  8622. description: 期货公司代码
  8623. type: string
  8624. hedgeaccountcode:
  8625. description: 外部账号代码(主账号登录代码)
  8626. type: string
  8627. hedgeaccountpwd:
  8628. description: 密码
  8629. type: string
  8630. ismain:
  8631. description: 是否主账号
  8632. type: integer
  8633. relateduserid:
  8634. description: 关联用户id
  8635. type: integer
  8636. userid:
  8637. description: 关联用户id
  8638. type: integer
  8639. type: object
  8640. models.Market:
  8641. properties:
  8642. auctionwrtype:
  8643. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8644. type: integer
  8645. canacceptquote:
  8646. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8647. type: integer
  8648. cangoodsexercise:
  8649. description: '[期权]是否可现货行权- 0:否 1:是'
  8650. type: integer
  8651. cangoodsexercisetype:
  8652. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8653. type: integer
  8654. canmanualquotestrike:
  8655. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8656. type: integer
  8657. canmutistage:
  8658. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8659. type: integer
  8660. canpreexercise:
  8661. description: '[期权]是否可预申报- 0:否 1:是'
  8662. type: integer
  8663. clearinterval:
  8664. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8665. type: integer
  8666. contracttmp:
  8667. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8668. type: string
  8669. exchareaid:
  8670. description: 所属交易所,可以没有
  8671. type: integer
  8672. goodstype:
  8673. description: 商品类型 - 1:交易商品 2:仓单商品
  8674. type: integer
  8675. hasrebate:
  8676. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8677. type: integer
  8678. hastradecredit:
  8679. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8680. type: integer
  8681. haswr:
  8682. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8683. type: integer
  8684. isdeductmargin:
  8685. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8686. type: integer
  8687. isrecordsource:
  8688. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8689. type: integer
  8690. isreleasemargin:
  8691. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8692. type: integer
  8693. marginformula:
  8694. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8695. type: integer
  8696. marginformula2:
  8697. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8698. type: integer
  8699. marketid:
  8700. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8701. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8702. type: integer
  8703. marketname:
  8704. description: 市场名称
  8705. type: string
  8706. marketserviceid:
  8707. description: 市场服务ID
  8708. type: integer
  8709. marketstatus:
  8710. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8711. type: integer
  8712. markettype:
  8713. description: 市场类型- 1:非交易服务 2:交易服务
  8714. type: integer
  8715. matchermode:
  8716. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8717. type: integer
  8718. openmethod:
  8719. description: 开盘模式 - 0 自动 1手动
  8720. type: integer
  8721. otcuserid:
  8722. description: 场外期权做市商[场外期权]
  8723. type: integer
  8724. outersynctime:
  8725. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8726. type: string
  8727. pendingflag:
  8728. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8729. type: integer
  8730. pendingtime:
  8731. description: 待开市时间[通道交易-对冲](HH:mm)
  8732. type: string
  8733. performancetempid:
  8734. description: 履约计划模板ID - 作废
  8735. type: integer
  8736. premiumquotemode:
  8737. description: 权利金报价方式 - 1:自动 2:手动
  8738. type: integer
  8739. rebateratio:
  8740. description: 返利比率[竞价式]
  8741. type: number
  8742. reckonorder:
  8743. description: 结算顺序
  8744. type: integer
  8745. reckonpricealgorithm:
  8746. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8747. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8748. type: integer
  8749. reckonpriceparam:
  8750. description: 结算价参数
  8751. type: integer
  8752. reckontime:
  8753. description: 结算时间[通道交易-对冲](HH:mm)
  8754. type: string
  8755. roleprioritytype:
  8756. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8757. type: integer
  8758. selllistingauditflag:
  8759. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8760. type: integer
  8761. trademarkettype:
  8762. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8763. type: integer
  8764. trademode:
  8765. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8766. 21:竞拍-大宗式 22:受托竞价
  8767. type: integer
  8768. tradeproperty:
  8769. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8770. 8:场外期权
  8771. type: integer
  8772. tradetype:
  8773. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8774. type: integer
  8775. required:
  8776. - marketid
  8777. - marketstatus
  8778. - openmethod
  8779. - reckonpricealgorithm
  8780. - trademode
  8781. - tradeproperty
  8782. type: object
  8783. models.Marketrun:
  8784. properties:
  8785. afternexttradedate:
  8786. description: 下下交易日
  8787. type: string
  8788. clearquoteflag:
  8789. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8790. type: integer
  8791. lastreckondate:
  8792. description: 最新交易日(结算成功)
  8793. type: string
  8794. machinedate:
  8795. description: 机器时间
  8796. type: string
  8797. manualflag:
  8798. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8799. type: integer
  8800. marketid:
  8801. description: 市场ID
  8802. type: integer
  8803. nexttradedate:
  8804. description: 下一交易日
  8805. type: string
  8806. pretradedate:
  8807. description: 上一交易日
  8808. type: string
  8809. reckonflag:
  8810. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8811. type: integer
  8812. runstatus:
  8813. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8814. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8815. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8816. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8817. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8818. 62.今日免清算
  8819. type: integer
  8820. sectionid:
  8821. description: 时间段号[多时段时用]
  8822. type: integer
  8823. tradedate:
  8824. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8825. type: string
  8826. tradedate2:
  8827. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8828. type: string
  8829. updatetime:
  8830. description: 更新时间
  8831. type: string
  8832. required:
  8833. - marketid
  8834. - nexttradedate
  8835. - reckonflag
  8836. - runstatus
  8837. - tradedate
  8838. - tradedate2
  8839. type: object
  8840. models.Messageboard:
  8841. properties:
  8842. contactnum:
  8843. description: 联系电话
  8844. type: string
  8845. createtime:
  8846. description: 创建时间
  8847. type: string
  8848. message:
  8849. description: 留言信息
  8850. type: string
  8851. messageboardid:
  8852. description: 留言簿ID(SEQ_MessageBoard)
  8853. type: integer
  8854. userid:
  8855. description: 用户ID
  8856. type: integer
  8857. required:
  8858. - messageboardid
  8859. type: object
  8860. models.MyCoupon:
  8861. properties:
  8862. accountid:
  8863. description: 资金账户ID
  8864. type: integer
  8865. areauserid:
  8866. description: 所属机构
  8867. type: integer
  8868. conditionvalue:
  8869. description: 条件阈值(可为0)
  8870. type: number
  8871. couponcategroy:
  8872. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8873. type: integer
  8874. couponname:
  8875. description: 优惠券名称
  8876. type: string
  8877. coupontypeid:
  8878. description: 优惠券类型ID
  8879. type: string
  8880. couponvalue:
  8881. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8882. type: number
  8883. curfreezeqty:
  8884. description: 期末冻结数量
  8885. type: integer
  8886. curqty:
  8887. description: 期末数量
  8888. type: integer
  8889. isgeneral:
  8890. description: 是否通用券 - 0:否 1:是
  8891. type: integer
  8892. isunusable:
  8893. description: 是否不可用
  8894. type: boolean
  8895. limitedflag:
  8896. description: 是否指定商品 - 0:不限 1:限制
  8897. type: integer
  8898. limitedgoodsids:
  8899. description: 指定商品IDs[逗号分隔,前后加逗号]
  8900. type: string
  8901. orifreezeqty:
  8902. description: 期初冻结数量
  8903. type: integer
  8904. oriqty:
  8905. description: 期初数量
  8906. type: integer
  8907. reasontype:
  8908. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8909. type: integer
  8910. todaydecrease:
  8911. description: 今日减少
  8912. type: integer
  8913. todayincrease:
  8914. description: 今日增加
  8915. type: integer
  8916. userid:
  8917. description: 用户ID
  8918. type: integer
  8919. userscope:
  8920. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8921. type: string
  8922. required:
  8923. - accountid
  8924. - coupontypeid
  8925. type: object
  8926. models.MyCouponHold:
  8927. properties:
  8928. accountid:
  8929. description: 资金账户ID
  8930. type: integer
  8931. conditionvalue:
  8932. description: 条件阈值(可为0)
  8933. type: number
  8934. couponcategroy:
  8935. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8936. type: integer
  8937. couponholdid:
  8938. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8939. type: string
  8940. couponname:
  8941. description: 优惠券名称
  8942. type: string
  8943. coupontypeid:
  8944. description: 优惠券类型ID - SEQ_COUPONTYPE
  8945. type: string
  8946. couponvalue:
  8947. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8948. type: number
  8949. createtime:
  8950. description: 创建时间
  8951. type: string
  8952. enddate:
  8953. description: 结束日期
  8954. type: string
  8955. giveapplyid:
  8956. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8957. type: integer
  8958. holdstatus:
  8959. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8960. type: integer
  8961. isgeneral:
  8962. description: 是否通用券 - 0:否 1:是
  8963. type: integer
  8964. limitedflag:
  8965. description: 是否指定商品 - 0:不限 1:限制
  8966. type: integer
  8967. limitedgoodsids:
  8968. description: 指定商品IDs[逗号分隔]
  8969. type: string
  8970. qty:
  8971. description: 数量(按1平铺)
  8972. type: integer
  8973. startdate:
  8974. description: 开始日期
  8975. type: string
  8976. userid:
  8977. description: 用户ID
  8978. type: integer
  8979. userscope:
  8980. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8981. type: string
  8982. required:
  8983. - couponholdid
  8984. type: object
  8985. models.MyUsedCoupon:
  8986. properties:
  8987. accountid:
  8988. description: 资金账户ID(买方)
  8989. type: integer
  8990. conditionvalue:
  8991. description: 条件阈值(可为0)
  8992. type: number
  8993. couponcategroy:
  8994. description: 种类 - 1:现金券 2:折扣券
  8995. type: integer
  8996. couponname:
  8997. description: 优惠券名称
  8998. type: string
  8999. coupontypeid:
  9000. description: 优惠券类型ID(买方)
  9001. type: string
  9002. couponvalue:
  9003. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9004. type: number
  9005. createtime:
  9006. description: 创建时间
  9007. type: string
  9008. goodsid:
  9009. description: 商品ID
  9010. type: integer
  9011. handlestatus:
  9012. description: 处理状态
  9013. type: integer
  9014. marketid:
  9015. description: 市场ID
  9016. type: integer
  9017. offamount:
  9018. description: 优惠金额
  9019. type: number
  9020. orderid:
  9021. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9022. type: string
  9023. sellaccountid:
  9024. description: 资金账户ID(卖方)
  9025. type: integer
  9026. tradeamount:
  9027. description: 成交金额
  9028. type: number
  9029. tradeid:
  9030. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9031. type: string
  9032. usedqty:
  9033. description: 使用数量
  9034. type: integer
  9035. required:
  9036. - coupontypeid
  9037. - orderid
  9038. type: object
  9039. models.OperationPrimaryMenu:
  9040. properties:
  9041. Children:
  9042. description: 二级功能菜单
  9043. items:
  9044. $ref: '#/definitions/models.OperationSecondaryMenu'
  9045. type: array
  9046. Key:
  9047. description: 菜单KEY
  9048. type: string
  9049. Label:
  9050. description: 菜单标题
  9051. type: string
  9052. type: object
  9053. models.OperationSecondaryMenu:
  9054. properties:
  9055. Key:
  9056. description: 菜单KEY
  9057. type: string
  9058. Label:
  9059. description: 菜单标题
  9060. type: string
  9061. TabList:
  9062. description: 三级功能菜单
  9063. items:
  9064. $ref: '#/definitions/models.OperationTabMenu'
  9065. type: array
  9066. type: object
  9067. models.OperationTabMenu:
  9068. properties:
  9069. Key:
  9070. description: 菜单KEY
  9071. type: string
  9072. Label:
  9073. description: 菜单标题
  9074. type: string
  9075. type: object
  9076. models.QhjAccountOutInApply:
  9077. properties:
  9078. accountcode:
  9079. description: 资金账号
  9080. type: string
  9081. accountname:
  9082. description: 用户名称(名称)
  9083. type: string
  9084. accountpwd:
  9085. description: 资金密码
  9086. type: string
  9087. accountticket:
  9088. description: 最新账户服务流水号
  9089. type: string
  9090. amount:
  9091. description: 金额
  9092. type: number
  9093. applyremark:
  9094. description: 申请备注
  9095. type: string
  9096. applystatus:
  9097. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9098. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9099. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9100. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9101. type: integer
  9102. auditid:
  9103. description: 审核人
  9104. type: integer
  9105. audittime:
  9106. description: 审核时间
  9107. type: string
  9108. bank_apply_ticket:
  9109. description: 银行申请流水
  9110. type: string
  9111. bankaccountname:
  9112. description: 银行账户名
  9113. type: string
  9114. bankaccountno:
  9115. description: 银行卡号
  9116. type: string
  9117. bankid:
  9118. description: 银行编号
  9119. type: string
  9120. bankticket:
  9121. description: 银行流水
  9122. type: string
  9123. branchbankid:
  9124. description: 银行支行号
  9125. type: string
  9126. branchbankname:
  9127. description: 银行支行名称
  9128. type: string
  9129. capamountout:
  9130. description: 出金(劣后本金) - 外部子账户
  9131. type: number
  9132. certificatephotourl:
  9133. description: 凭证地址
  9134. type: string
  9135. charge:
  9136. description: 手续费
  9137. type: number
  9138. checkerrorflag:
  9139. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9140. type: integer
  9141. currency:
  9142. description: 币种
  9143. type: string
  9144. cusbankid:
  9145. description: 托管银行编号
  9146. type: string
  9147. exchticket:
  9148. description: 银行服务流水号
  9149. type: string
  9150. executetype:
  9151. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9152. 7:外部子账户:入金 8:外部子账户:出金'
  9153. type: integer
  9154. extendinfo:
  9155. description: 扩展信息
  9156. type: string
  9157. extoperateid:
  9158. description: 交易服务流水号
  9159. type: integer
  9160. infamount:
  9161. description: 劣后金额(自有)
  9162. type: number
  9163. logincode:
  9164. description: 登录账号(账号)
  9165. type: string
  9166. netaddr:
  9167. description: 调转网址
  9168. type: string
  9169. priamount:
  9170. description: 优先金额(授信)
  9171. type: number
  9172. reauditid:
  9173. description: 复审人
  9174. type: integer
  9175. reauditremark:
  9176. description: 复审备注
  9177. type: string
  9178. reaudittime:
  9179. description: 复审时间
  9180. type: string
  9181. relatedorderid:
  9182. description: 三方关联ID
  9183. type: string
  9184. remark:
  9185. description: 备注
  9186. type: string
  9187. remark2:
  9188. description: 备注(失败原因)
  9189. type: string
  9190. soucreamount:
  9191. description: 原始出入金金额
  9192. type: number
  9193. soucrecurrencyid:
  9194. description: 原始出入金币种
  9195. type: integer
  9196. tradedate:
  9197. description: 交易日(yyyyMMdd)
  9198. type: string
  9199. updatetime:
  9200. description: 更新时间(申请时间)
  9201. type: string
  9202. userid:
  9203. description: 用户id
  9204. type: integer
  9205. userinfotype:
  9206. description: 账户类型 1-个人 2-企业
  9207. type: integer
  9208. type: object
  9209. models.QhjBankAccountSign:
  9210. properties:
  9211. accountcode:
  9212. description: 资金账号
  9213. type: string
  9214. accountname:
  9215. description: 资金账号对应的账号名(UserName)
  9216. type: string
  9217. accounttype:
  9218. description: 账户类型(UserType)
  9219. type: integer
  9220. applicationtime:
  9221. description: 最后一次更新的时间
  9222. type: string
  9223. applyexchticket:
  9224. description: 申请流水
  9225. type: string
  9226. auditid:
  9227. description: 审核人
  9228. type: integer
  9229. audittime:
  9230. description: 审核时间
  9231. type: string
  9232. bankaccountname:
  9233. description: 签约银行卡账号名
  9234. type: string
  9235. bankaccountno:
  9236. description: 银行卡号
  9237. type: string
  9238. bankaccounttype:
  9239. description: 银行账户类型 - 1-对私; 2-对公
  9240. type: integer
  9241. bankcardtype:
  9242. description: 银行卡类型
  9243. type: integer
  9244. bankchildaccount:
  9245. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9246. type: string
  9247. bankcity:
  9248. description: 开户行城市
  9249. type: string
  9250. bankid:
  9251. description: 签约银行ID
  9252. type: string
  9253. bankprovince:
  9254. description: 开户行省份
  9255. type: string
  9256. branchbankid:
  9257. description: 签约银行支行号
  9258. type: string
  9259. branchbankname:
  9260. description: 签约银行支行名称
  9261. type: string
  9262. cardno:
  9263. description: 证件号码
  9264. type: string
  9265. cardtype:
  9266. description: 证件类型
  9267. type: string
  9268. currency:
  9269. description: 币种
  9270. type: string
  9271. cusbankid:
  9272. description: 托管银行编号
  9273. type: string
  9274. direct:
  9275. description: 方向(可以判断那方先发起的签约)
  9276. type: integer
  9277. exchticket:
  9278. description: 最后一次签约成功的流水号
  9279. type: string
  9280. extendinfo:
  9281. description: 扩展信息(JSON字符串)
  9282. type: string
  9283. mobilephone:
  9284. description: 手机号
  9285. type: string
  9286. netaddr:
  9287. description: 调转网址
  9288. type: string
  9289. relateduserid:
  9290. description: 关联使用者userid
  9291. type: integer
  9292. signstatus:
  9293. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9294. 10:审核拒绝 11:换签待审核
  9295. type: integer
  9296. updatetime:
  9297. description: 更新时间(签解约更新时间)
  9298. type: string
  9299. type: object
  9300. models.QhjBankInfo:
  9301. properties:
  9302. bankid:
  9303. description: 银行ID
  9304. type: string
  9305. bankname:
  9306. description: 银行名称
  9307. type: string
  9308. clearbankno:
  9309. description: 清算系统银行编号
  9310. type: string
  9311. orderindex:
  9312. description: 排序顺序
  9313. type: integer
  9314. status:
  9315. description: 状态 - 0:正常 1:注销
  9316. type: integer
  9317. type: object
  9318. models.QhjContract:
  9319. properties:
  9320. contractconfirmtime:
  9321. description: 合同确认时间(时间)
  9322. type: string
  9323. enumdicname:
  9324. description: 单位名称
  9325. type: string
  9326. goodscode:
  9327. description: 商品代码
  9328. type: string
  9329. goodsid:
  9330. description: 商品ID [5:融资单]
  9331. type: integer
  9332. goodsname:
  9333. description: 商品名称
  9334. type: string
  9335. goodunitid:
  9336. description: 商品单位id
  9337. type: integer
  9338. initmargin:
  9339. description: 初始保证金(首付款)
  9340. type: number
  9341. lenderamount:
  9342. description: 贷款金额(总额|订单总额)
  9343. type: number
  9344. marginratio:
  9345. description: 保证金比率(首付比例)
  9346. type: number
  9347. payamount:
  9348. description: 已付(已付货款)
  9349. type: number
  9350. recoveredmargin:
  9351. description: 已追缴保证金
  9352. type: number
  9353. remainamount:
  9354. description: 合同剩余金额(融资额)
  9355. type: number
  9356. scfcontractid:
  9357. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9358. type: integer
  9359. scfcontracttype:
  9360. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  9361. type: integer
  9362. totalinterest:
  9363. description: 已计总利息(利息)
  9364. type: number
  9365. tradeprice:
  9366. description: 成交价格(成本价格)
  9367. type: number
  9368. userid:
  9369. description: 用户ID
  9370. type: integer
  9371. username:
  9372. description: 用户名称
  9373. type: string
  9374. wrqty:
  9375. description: 仓单数量(数量)
  9376. type: integer
  9377. type: object
  9378. models.QhjContractLog:
  9379. properties:
  9380. amount:
  9381. description: 支付金额
  9382. type: number
  9383. amounttype:
  9384. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  9385. type: integer
  9386. logid:
  9387. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9388. type: string
  9389. remainamount:
  9390. description: 剩余货款
  9391. type: number
  9392. scfcontractid:
  9393. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9394. type: integer
  9395. updatetime:
  9396. description: 更新时间
  9397. type: string
  9398. type: object
  9399. models.QhjCusBankSignBankEx:
  9400. properties:
  9401. banklst:
  9402. description: 银行列表
  9403. items:
  9404. $ref: '#/definitions/models.QhjBankInfo'
  9405. type: array
  9406. canallot:
  9407. description: 是否支持跨行调拨 - 0:不支持 1:支持
  9408. type: integer
  9409. canallotquery:
  9410. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  9411. type: integer
  9412. canbindcard:
  9413. description: 是否可绑卡与解卡 - 0:不可 1:可以
  9414. type: integer
  9415. caninamount:
  9416. description: 是否可入金 - 0:不可 1:可以
  9417. type: integer
  9418. caninamount2:
  9419. description: 是否可入金(网银端) - 0:不可 1:可以
  9420. type: integer
  9421. canmodifybankcard:
  9422. description: 是否可修改银行卡号 - 0:不可 1:可以
  9423. type: integer
  9424. canmodifyphone:
  9425. description: 是否可修改手机号 - 0:不可 1:可以
  9426. type: integer
  9427. canmodifysigninfo:
  9428. description: 是否可修改签约信息 - 0:不可 1:可以
  9429. type: integer
  9430. canoutamount:
  9431. description: 是否可出金 - 0:不可 1:可以
  9432. type: integer
  9433. canoutamount2:
  9434. description: 是否可出金(网银端) - 0:不可 1:可以
  9435. type: integer
  9436. canrelease:
  9437. description: 是否可解约 - 0:不可 1:可以
  9438. type: integer
  9439. canrelease2:
  9440. description: 是否可解约(网银端) - 0:不可 1:可以
  9441. type: integer
  9442. cansign:
  9443. description: 是否可签约 - 0:不可 1:可以
  9444. type: integer
  9445. cansign2:
  9446. description: 是否可签约(网银端) - 0:不可 1:可以
  9447. type: integer
  9448. currency:
  9449. description: 币种
  9450. type: string
  9451. cusbankid:
  9452. description: 托管银行编号(对应清算中心TRAN_NO)
  9453. type: string
  9454. cusbankname:
  9455. description: 银行业务名称
  9456. type: string
  9457. cusbankshortname:
  9458. description: 银行业务简称
  9459. type: string
  9460. exchbankid:
  9461. description: 交易所开户银行ID
  9462. type: string
  9463. exchpaybankaccname:
  9464. description: 交易所支出结算账户户名
  9465. type: string
  9466. exchpaybankaccno:
  9467. description: 交易所支出结算账户
  9468. type: string
  9469. isneedcheck:
  9470. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  9471. type: integer
  9472. isneedclear:
  9473. description: 是否需要清算 - 0:不需要 1:需要
  9474. type: integer
  9475. riskinfo:
  9476. description: 签约风险提示书
  9477. type: string
  9478. type: object
  9479. models.QhjCustomer:
  9480. properties:
  9481. address:
  9482. description: 通讯地址
  9483. type: string
  9484. attachment1:
  9485. description: 附件1
  9486. type: string
  9487. audittime:
  9488. description: 审核时间
  9489. type: string
  9490. cardbackphotourl:
  9491. description: 证件反面图片地址
  9492. type: string
  9493. cardfrontphotourl:
  9494. description: 证件正面图片地址
  9495. type: string
  9496. cardnum:
  9497. description: 证件号码
  9498. type: string
  9499. cardtype:
  9500. description: 证件类型
  9501. type: integer
  9502. cardtypename:
  9503. description: 证件类型名称
  9504. type: string
  9505. cityid:
  9506. description: 市
  9507. type: integer
  9508. cityname:
  9509. description: 城市名称
  9510. type: string
  9511. contactname:
  9512. description: 联系人
  9513. type: string
  9514. countryid:
  9515. description: 国家
  9516. type: integer
  9517. countryname:
  9518. description: 国家名称
  9519. type: string
  9520. createtime:
  9521. description: 创建时间
  9522. type: string
  9523. customername:
  9524. description: 客户名称
  9525. type: string
  9526. districtid:
  9527. description: 区域
  9528. type: integer
  9529. districtname:
  9530. description: 地区名称
  9531. type: string
  9532. email:
  9533. description: 邮件
  9534. type: string
  9535. legalpersonname:
  9536. description: 法人姓名(企业)
  9537. type: string
  9538. memberuserid:
  9539. description: 所属机构ID(所属会员)
  9540. type: integer
  9541. memberusername:
  9542. description: 所属会员名称
  9543. type: string
  9544. mobile:
  9545. description: 手机号码
  9546. type: string
  9547. modifytime:
  9548. description: 修改时间
  9549. type: string
  9550. nickname:
  9551. description: 昵称
  9552. type: string
  9553. parentuserid:
  9554. description: 上级机构(所属机构)
  9555. type: integer
  9556. parentusername:
  9557. description: 所属机构名称
  9558. type: string
  9559. provinceid:
  9560. description: 省
  9561. type: integer
  9562. provincename:
  9563. description: 省名称
  9564. type: string
  9565. remark:
  9566. description: 备注
  9567. type: string
  9568. status:
  9569. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9570. type: integer
  9571. statusdesc:
  9572. description: 账户状态中文描述
  9573. type: string
  9574. taxpayernum:
  9575. description: 纳税人识别号
  9576. type: string
  9577. telphone:
  9578. description: 联系电话
  9579. type: string
  9580. userid:
  9581. description: 用户ID
  9582. type: integer
  9583. userinfotype:
  9584. description: 客户类型 1-个人 2-企业
  9585. type: integer
  9586. username:
  9587. description: 用户名称
  9588. type: string
  9589. type: object
  9590. models.QhjPayOrder:
  9591. properties:
  9592. buyaccountid:
  9593. description: 买方账号ID[报价币种]
  9594. type: integer
  9595. buyorderid:
  9596. description: 买方委托单号
  9597. type: integer
  9598. createtime:
  9599. description: 创建时间
  9600. type: string
  9601. goodscode:
  9602. description: 商品代码
  9603. type: string
  9604. goodsid:
  9605. description: 商品ID
  9606. type: integer
  9607. goodsname:
  9608. description: 商品名称
  9609. type: string
  9610. marketid:
  9611. description: 市场ID
  9612. type: integer
  9613. offamount:
  9614. description: 优惠金额
  9615. type: number
  9616. operatetype:
  9617. description: 买委托操作类型 - 1:正常下单 16:融资买入
  9618. type: integer
  9619. payamount:
  9620. description: 支付金额=TradeAmount + TradeCharge
  9621. type: number
  9622. payflag:
  9623. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9624. type: integer
  9625. paylimitedtime:
  9626. description: 支付期限
  9627. type: string
  9628. paytime:
  9629. description: 付款时间
  9630. type: string
  9631. sellaccountid:
  9632. description: 卖方账号ID[报价币种]
  9633. type: integer
  9634. sellorderid:
  9635. description: 卖方委托单号
  9636. type: integer
  9637. tradeamount:
  9638. description: 成交金额(优惠后金额)
  9639. type: number
  9640. tradecharge:
  9641. description: 成交手续费(买方)
  9642. type: number
  9643. tradedate:
  9644. description: 交易日(yyyyMMdd)
  9645. type: string
  9646. tradeid:
  9647. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9648. type: integer
  9649. tradeprice:
  9650. description: 成交价格
  9651. type: number
  9652. tradeqty:
  9653. description: 成交数量
  9654. type: integer
  9655. type: object
  9656. models.QhjPickArea:
  9657. properties:
  9658. cityid:
  9659. description: 市
  9660. type: integer
  9661. cityname:
  9662. description: 城市名称
  9663. type: string
  9664. countryid:
  9665. description: 国家
  9666. type: integer
  9667. countryname:
  9668. description: 国家名称
  9669. type: string
  9670. districtid:
  9671. description: 地区
  9672. type: integer
  9673. districtname:
  9674. description: 地区名称
  9675. type: string
  9676. fromuserid:
  9677. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  9678. type: integer
  9679. fromusername:
  9680. description: 所属机构名称
  9681. type: string
  9682. provinceid:
  9683. description: 省
  9684. type: integer
  9685. provincename:
  9686. description: 省名称
  9687. type: string
  9688. suborgtype:
  9689. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  9690. type: integer
  9691. userid:
  9692. description: 机构用户ID 其他做市关系,都设置为 1
  9693. type: integer
  9694. username:
  9695. description: 机构用户名称(门店门称)
  9696. type: string
  9697. type: object
  9698. models.QhjPickGoods:
  9699. properties:
  9700. imageaddress:
  9701. description: 图片
  9702. type: string
  9703. modifierid:
  9704. description: 修改人
  9705. type: integer
  9706. modifiername:
  9707. description: 修改人名称
  9708. type: string
  9709. modifysrc:
  9710. description: 修改来源 - 1:管理端 2:终端
  9711. type: integer
  9712. pickupgoodsagreeunit:
  9713. description: 合约乘数
  9714. type: number
  9715. pickupgoodsdesc:
  9716. description: 描述
  9717. type: string
  9718. pickupgoodsid:
  9719. description: 提货商品ID
  9720. type: string
  9721. pickupgoodsname:
  9722. description: 提货商品名称
  9723. type: string
  9724. pickupgoodsstatus:
  9725. description: 状态 - 1:正常 2:停用 3:注销
  9726. type: integer
  9727. pickupgoodsunitid:
  9728. description: 单位ID
  9729. type: integer
  9730. preparedays:
  9731. description: 备货期(天)
  9732. type: integer
  9733. remark:
  9734. description: 备注
  9735. type: string
  9736. updatetime:
  9737. description: 更新时间
  9738. type: string
  9739. type: object
  9740. models.QhjRSTriggerLog:
  9741. properties:
  9742. accountid:
  9743. description: 用户资金账户
  9744. type: integer
  9745. accountname:
  9746. description: 账号名称(ACCOUNTID对应的名称)
  9747. type: string
  9748. currencyid:
  9749. description: 币种id
  9750. type: integer
  9751. currencyname:
  9752. description: 币种名称
  9753. type: string
  9754. enumdicname:
  9755. description: 单位名称
  9756. type: string
  9757. goodscode:
  9758. description: 定投商品代码
  9759. type: string
  9760. goodsid:
  9761. description: 定投商品ID
  9762. type: string
  9763. goodsname:
  9764. description: 定投商品名称
  9765. type: string
  9766. goodunitid:
  9767. description: 定投商品单位id
  9768. type: integer
  9769. logid:
  9770. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  9771. type: string
  9772. regularlycycle:
  9773. description: 定投频率 - 1:每周 2:每月
  9774. type: integer
  9775. regularlycyclevalue:
  9776. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  9777. type: string
  9778. regularlymode:
  9779. description: 定投方式 - 1:按数量 2:按金额
  9780. type: integer
  9781. regularlymodevalue:
  9782. description: 定投方式值 - 数量或金额
  9783. type: number
  9784. regularlystrategyid:
  9785. description: 定投策略ID
  9786. type: integer
  9787. retcode:
  9788. description: 错误码
  9789. type: string
  9790. tradeid:
  9791. description: 成交单ID
  9792. type: string
  9793. triggeramount:
  9794. description: 触发金额
  9795. type: number
  9796. triggerqty:
  9797. description: 触发数量
  9798. type: number
  9799. triggerstatus:
  9800. description: 触发状态 - 1:成功 2:失败
  9801. type: integer
  9802. triggertime:
  9803. description: 触发时间
  9804. type: string
  9805. triggertradedate:
  9806. description: 触发交易日
  9807. type: string
  9808. userid:
  9809. description: 所属用户ID
  9810. type: integer
  9811. username:
  9812. description: 用户名称(userid对应的名称)
  9813. type: string
  9814. type: object
  9815. models.QhjRStrategy:
  9816. properties:
  9817. accountid:
  9818. description: 用户资金账户
  9819. type: integer
  9820. accountname:
  9821. description: 账号名称(ACCOUNTID对应的名称)
  9822. type: string
  9823. currencyid:
  9824. description: 币种id
  9825. type: integer
  9826. currencyname:
  9827. description: 币种名称
  9828. type: string
  9829. enumdicname:
  9830. description: 单位名称
  9831. type: string
  9832. goodscode:
  9833. description: 定投商品代码
  9834. type: string
  9835. goodsid:
  9836. description: 定投商品ID
  9837. type: string
  9838. goodsname:
  9839. description: 定投商品名称
  9840. type: string
  9841. goodunitid:
  9842. description: 定投商品单位id
  9843. type: integer
  9844. lasteffecttradedate:
  9845. description: 最新生效交易日
  9846. type: string
  9847. laststoptradedate:
  9848. description: 最新暂停交易日
  9849. type: string
  9850. lasttriggertradedate:
  9851. description: 最新触发交易日
  9852. type: string
  9853. nexttriggeramount:
  9854. description: 下次触发金额
  9855. type: number
  9856. nexttriggerdate:
  9857. description: 下次触发日期
  9858. type: string
  9859. nexttriggerqty:
  9860. description: 下次触发数量 [按小数位放大值]
  9861. type: number
  9862. regularlycycle:
  9863. description: 定投频率 - 1:每周 2:每月
  9864. type: integer
  9865. regularlycyclevalue:
  9866. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  9867. type: string
  9868. regularlymode:
  9869. description: 定投方式 - 1:按数量 2:按金额
  9870. type: integer
  9871. regularlymodevalue:
  9872. description: 定投方式值 - 数量或金额
  9873. type: number
  9874. regularlystrategyid:
  9875. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  9876. type: integer
  9877. regularlystrategystatus:
  9878. description: 策略状态 - 1:正常 2:暂停 3:终止
  9879. type: integer
  9880. remark:
  9881. description: 备注
  9882. type: string
  9883. triggersuccesstimes:
  9884. description: 累计定投成功次数
  9885. type: string
  9886. triggertotalamount:
  9887. description: 累计定投金额(成功)
  9888. type: number
  9889. triggertotalqty:
  9890. description: 累计定投数量(成功) [按小数位放大值]
  9891. type: number
  9892. triggertotaltimes:
  9893. description: 累计定投总次数
  9894. type: string
  9895. updatesrc:
  9896. description: 更新来源 - 1:管理端 2:终端
  9897. type: integer
  9898. updatetime:
  9899. description: 更新时间
  9900. type: string
  9901. updatorid:
  9902. description: 更新人
  9903. type: string
  9904. userid:
  9905. description: 所属用户ID
  9906. type: integer
  9907. username:
  9908. description: 用户名称(userid对应的名称)
  9909. type: string
  9910. type: object
  9911. models.QhjReckonPriceLog:
  9912. properties:
  9913. goodsid:
  9914. description: 商品ID
  9915. type: integer
  9916. lastreckonprice:
  9917. description: 上日结算价
  9918. type: number
  9919. nextdnlimitprice:
  9920. description: 下个交易日跌停价
  9921. type: number
  9922. nexttrade:
  9923. description: 下个交易日
  9924. type: string
  9925. nextuplimitprice:
  9926. description: 下个交易日涨停价
  9927. type: number
  9928. reckonprice:
  9929. description: 今日结算价(定投价)
  9930. type: number
  9931. reckontime:
  9932. description: 结算时间
  9933. type: string
  9934. totalholderqty:
  9935. description: 总持仓数
  9936. type: integer
  9937. totalstock:
  9938. description: 总库存
  9939. type: integer
  9940. tradedate:
  9941. description: 交易日
  9942. type: string
  9943. updowncount:
  9944. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  9945. type: integer
  9946. updownflag:
  9947. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  9948. type: integer
  9949. updownrate:
  9950. description: 今日涨跌幅
  9951. type: number
  9952. updownrate_2d:
  9953. description: 连续两日涨跌幅
  9954. type: number
  9955. updownrate_3d:
  9956. description: 连续三日涨跌幅
  9957. type: number
  9958. type: object
  9959. models.QhjSiteColumnDetail:
  9960. properties:
  9961. author:
  9962. description: 作者
  9963. type: string
  9964. brief:
  9965. description: 简介
  9966. type: string
  9967. columnid:
  9968. description: 所属栏目
  9969. type: integer
  9970. context:
  9971. description: 内容
  9972. type: string
  9973. coverimage:
  9974. description: 封面图片
  9975. type: string
  9976. creaedate:
  9977. description: 创建时间
  9978. type: string
  9979. creatorid:
  9980. description: 创建人
  9981. type: integer
  9982. hits:
  9983. description: 点击数
  9984. type: integer
  9985. id:
  9986. description: ID(SEQ_SITE_COLUMNDETAIL)
  9987. type: integer
  9988. isshow:
  9989. description: 是否展示 - 0:不展示 1:展示
  9990. type: integer
  9991. istop:
  9992. description: 是否置顶 - 0:不置 1:置顶
  9993. type: integer
  9994. modifierid:
  9995. description: 操作人
  9996. type: integer
  9997. publishdate:
  9998. description: 发布日期
  9999. type: string
  10000. status:
  10001. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  10002. type: integer
  10003. title:
  10004. description: 标题
  10005. type: string
  10006. updatedate:
  10007. description: 修改时间
  10008. type: string
  10009. userid:
  10010. description: 用户ID(默认为0, 核心为为机构用户ID)
  10011. type: integer
  10012. username:
  10013. description: 用户名称
  10014. type: string
  10015. type: object
  10016. models.QhjTradeGoodsPickup:
  10017. properties:
  10018. accountid:
  10019. description: 账户ID
  10020. type: integer
  10021. address:
  10022. description: 提货人详细地址
  10023. type: string
  10024. amount:
  10025. description: 提货金额
  10026. type: number
  10027. artradedate:
  10028. description: 自动收货交易日(yyyyMMdd)
  10029. type: string
  10030. auditer:
  10031. description: 审核人
  10032. type: integer
  10033. auditsrc:
  10034. description: 更新来源 - 1:管理端 2:终端
  10035. type: integer
  10036. audittime:
  10037. description: 审核时间(发货时间)
  10038. type: string
  10039. audittradedate:
  10040. description: 审核交易日(yyyyMMdd)
  10041. type: string
  10042. cardnum:
  10043. description: 提货人证件号码
  10044. type: string
  10045. cardtypeid:
  10046. description: 提货人证件类型
  10047. type: integer
  10048. checkremark:
  10049. description: 审核备注
  10050. type: string
  10051. cityid:
  10052. description: 市
  10053. type: integer
  10054. cityname:
  10055. description: 城市名称
  10056. type: string
  10057. countryid:
  10058. description: 国家
  10059. type: integer
  10060. countryname:
  10061. description: 国家名称
  10062. type: string
  10063. districtid:
  10064. description: 地区
  10065. type: integer
  10066. districtname:
  10067. description: 地区名称
  10068. type: string
  10069. enumdicname:
  10070. description: 单位名称(提货商品)
  10071. type: string
  10072. expresscompany:
  10073. description: 物流公司
  10074. type: string
  10075. expressnum:
  10076. description: 物流单号
  10077. type: string
  10078. goodsagreeunit:
  10079. description: 交易商品乘数
  10080. type: number
  10081. goodscode:
  10082. description: 商品代码
  10083. type: string
  10084. goodsid:
  10085. description: 商品ID
  10086. type: integer
  10087. goodsname:
  10088. description: 商品名称
  10089. type: string
  10090. goodsqty:
  10091. description: 交易商品手数(69模式按成交量小数位放大取整)
  10092. type: number
  10093. handlestatus:
  10094. description: 处理状态
  10095. type: integer
  10096. marketid:
  10097. description: 市场ID
  10098. type: integer
  10099. phonenum:
  10100. description: 提货人联系方式
  10101. type: string
  10102. pickupgoodsagreeunit:
  10103. description: 提货商品合约乘数
  10104. type: number
  10105. pickupgoodsid:
  10106. description: 提货商品ID
  10107. type: string
  10108. pickupgoodsname:
  10109. description: 提货商品名称
  10110. type: string
  10111. pickupgoodsqty:
  10112. description: 提货商品手数(数量)
  10113. type: number
  10114. pickupgoodsunitid:
  10115. description: 单位ID(提货商品)
  10116. type: integer
  10117. pickupratio:
  10118. description: 提货系数
  10119. type: number
  10120. preparedays:
  10121. description: 备货期(天)-提货单明细表
  10122. type: integer
  10123. provinceid:
  10124. description: 省
  10125. type: integer
  10126. provincename:
  10127. description: 省名称
  10128. type: string
  10129. qty:
  10130. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  10131. type: number
  10132. recivername:
  10133. description: 提货人姓名
  10134. type: string
  10135. reqtime:
  10136. description: 提货申请时间
  10137. type: string
  10138. storeuserid:
  10139. description: 门店用户ID (千海金)
  10140. type: integer
  10141. storeusername:
  10142. description: 门店用户名称
  10143. type: string
  10144. takemode:
  10145. description: 提货方式 - 2:自提 3:配送(邮寄)
  10146. type: integer
  10147. takeorderid:
  10148. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10149. type: integer
  10150. takeorderstatus:
  10151. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  10152. 7:已拒绝 8:已撤销
  10153. type: integer
  10154. takeremark:
  10155. description: 提货备注
  10156. type: string
  10157. tradedate:
  10158. description: 交易日(yyyyMMdd)
  10159. type: string
  10160. updatetime:
  10161. description: 更新时间
  10162. type: string
  10163. userid:
  10164. description: 用户ID
  10165. type: integer
  10166. username:
  10167. description: 用户名称
  10168. type: string
  10169. type: object
  10170. models.Qhjgoodsex:
  10171. properties:
  10172. canfinance:
  10173. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  10174. type: integer
  10175. canregularlybuy:
  10176. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  10177. type: integer
  10178. defaulttradeuserid:
  10179. description: 默认交易用户ID
  10180. type: integer
  10181. deliverygoodsid:
  10182. description: 现货品种ID
  10183. type: integer
  10184. goodsid:
  10185. description: 商品ID(自增ID SEQ_GOODS)
  10186. type: integer
  10187. minamount:
  10188. description: 最小购买金额
  10189. type: number
  10190. regularlybuyminamount:
  10191. description: 定投最小金额
  10192. type: number
  10193. regularlybuyminqty:
  10194. description: 定投最小数量
  10195. type: number
  10196. spotgoodsbrandid:
  10197. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  10198. type: integer
  10199. wrstandardid:
  10200. description: 现货商品ID
  10201. type: integer
  10202. type: object
  10203. models.QueryErrorInfosRsp:
  10204. properties:
  10205. description:
  10206. description: 异常描述
  10207. type: string
  10208. errorcode:
  10209. description: 异常代码
  10210. type: string
  10211. errorid:
  10212. description: 异常ID
  10213. type: integer
  10214. modulecode:
  10215. description: 所属模块
  10216. type: string
  10217. operatecode:
  10218. description: 所属操作
  10219. type: string
  10220. rownumber:
  10221. description: 行号
  10222. type: string
  10223. required:
  10224. - errorid
  10225. type: object
  10226. models.QueryHedgeOrderDetailRsp:
  10227. properties:
  10228. accountid:
  10229. description: 账户ID
  10230. type: integer
  10231. buyorsell:
  10232. description: 买卖 - 0:买 1:卖
  10233. type: integer
  10234. cancellogincode:
  10235. description: 撤单人
  10236. type: string
  10237. channelbuildtype:
  10238. description: 开平标志 - 0:无 1:建仓 2:平仓
  10239. type: integer
  10240. channelinnerorderstatus:
  10241. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  10242. 9:全部成交
  10243. type: integer
  10244. channeloperatetype:
  10245. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  10246. type: integer
  10247. closetype:
  10248. description: 平仓方式 - 0:无 1:平今 2:平昨
  10249. type: integer
  10250. curexchangerate:
  10251. description: 当前汇率
  10252. type: number
  10253. exchangefullname:
  10254. description: 外部交易所全称
  10255. type: string
  10256. goodscode:
  10257. description: 商品代码(内部)
  10258. type: string
  10259. goodsid:
  10260. description: 商品ID
  10261. type: integer
  10262. goodsname:
  10263. description: 商品名称
  10264. type: string
  10265. marketid:
  10266. description: 市场ID
  10267. type: integer
  10268. openfreezemargin:
  10269. description: 冻结保证金(冻结交易金额)
  10270. type: number
  10271. orderid:
  10272. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10273. type: string
  10274. orderlogincode:
  10275. description: 委托人
  10276. type: string
  10277. orderprice:
  10278. description: 委托价格(账户)
  10279. type: number
  10280. orderqty:
  10281. description: 委托数量
  10282. type: integer
  10283. ordertime:
  10284. description: 委托时间
  10285. type: string
  10286. pricemode:
  10287. description: '取价方式 - 1:市价 2: 限价'
  10288. type: integer
  10289. tradedate:
  10290. description: 交易日(yyyyMMdd)
  10291. type: string
  10292. tradeqty:
  10293. description: 成交数量
  10294. type: integer
  10295. type: object
  10296. models.QueryHedgeTradeDetailRsp:
  10297. properties:
  10298. accountid:
  10299. description: 账号ID
  10300. type: integer
  10301. buyorsell:
  10302. description: 方向 - 0:买 1:卖
  10303. type: integer
  10304. channelbuildtype:
  10305. description: 委托单据类型 0:无 1:建仓 2:平仓
  10306. type: integer
  10307. closecharge:
  10308. description: 平仓手续费(账户)
  10309. type: number
  10310. closecharge2:
  10311. description: 平仓手续费(商品)
  10312. type: number
  10313. closepl:
  10314. description: 平仓盈亏(账户)
  10315. type: number
  10316. closepl2:
  10317. description: 平仓盈亏(商品)
  10318. type: number
  10319. closepl3:
  10320. description: 平仓盈亏(账户)(逐笔)
  10321. type: number
  10322. closepl4:
  10323. description: 平仓盈亏(商品)(逐笔)
  10324. type: number
  10325. closetype:
  10326. description: 平仓方式 - 0:无 1:平今 2:平昨
  10327. type: integer
  10328. curexchangerate:
  10329. description: 当前汇率
  10330. type: number
  10331. exchangefullname:
  10332. description: 外部交易所全称
  10333. type: string
  10334. goodscode:
  10335. description: 商品代码(内部)
  10336. type: string
  10337. goodsid:
  10338. description: 商品ID
  10339. type: integer
  10340. goodsname:
  10341. description: 商品名称
  10342. type: string
  10343. marketid:
  10344. description: 市场ID
  10345. type: integer
  10346. opencharge:
  10347. description: 建仓手续费(账户)
  10348. type: number
  10349. opencharge2:
  10350. description: 建仓手续费(商品)
  10351. type: number
  10352. orderid:
  10353. description: 委托单号
  10354. type: string
  10355. orderlogincode:
  10356. description: 委托人
  10357. type: string
  10358. tradeamount:
  10359. description: 成交金额(账户)
  10360. type: number
  10361. tradedate:
  10362. description: 交易日(yyyyMMdd)
  10363. type: string
  10364. tradeid:
  10365. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10366. type: string
  10367. tradeprice:
  10368. description: 成交价格
  10369. type: number
  10370. tradeqty:
  10371. description: 成交数量
  10372. type: integer
  10373. tradetime:
  10374. description: 成交时间
  10375. type: string
  10376. tradetype:
  10377. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  10378. type: integer
  10379. type: object
  10380. models.QuotePrimaryMenu:
  10381. properties:
  10382. Index:
  10383. description: 序号
  10384. type: integer
  10385. Key:
  10386. description: 键名
  10387. type: string
  10388. Name:
  10389. description: 菜单名称
  10390. type: string
  10391. SubMenus:
  10392. description: 子菜单
  10393. items:
  10394. $ref: '#/definitions/models.QuoteSecondaryMenu'
  10395. type: array
  10396. SubTitleType:
  10397. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  10398. type: integer
  10399. TradeModes:
  10400. description: 包含市场交易类型
  10401. type: string
  10402. type: object
  10403. models.QuoteSecondaryMenu:
  10404. properties:
  10405. ExExchangeCode:
  10406. description: 外部交易所代码
  10407. type: string
  10408. ExExchangeID:
  10409. description: 外部交易所ID
  10410. type: integer
  10411. GoodsGroupIDs:
  10412. description: 商品组ID列表
  10413. items:
  10414. type: integer
  10415. type: array
  10416. Index:
  10417. description: 序号
  10418. type: integer
  10419. MarketID:
  10420. description: 市场ID
  10421. type: integer
  10422. MenuTitle:
  10423. description: 菜单标题(市场名称或外部交易所名称)
  10424. type: string
  10425. TradeMode:
  10426. description: 交易模式
  10427. type: integer
  10428. type: object
  10429. models.SearchGoods:
  10430. properties:
  10431. goodscode:
  10432. description: 商品代码(内部)
  10433. type: string
  10434. goodsid:
  10435. description: 商品ID(自增ID SEQ_GOODS)
  10436. type: integer
  10437. goodsname:
  10438. description: 商品名称
  10439. type: string
  10440. marketid:
  10441. description: 所属市场ID
  10442. type: integer
  10443. marketname:
  10444. description: 市场名称
  10445. type: string
  10446. trademode:
  10447. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10448. 21:竞拍-大宗式 22:受托竞价
  10449. type: integer
  10450. required:
  10451. - goodscode
  10452. - goodsid
  10453. - goodsname
  10454. - marketid
  10455. - trademode
  10456. type: object
  10457. models.Systemparam:
  10458. properties:
  10459. loginid:
  10460. description: 更新用户账号,登录账号
  10461. type: string
  10462. modifyflag:
  10463. description: 修改标志0 不允许修改 1 允许修改
  10464. type: integer
  10465. paramcode:
  10466. description: 参数代码
  10467. type: string
  10468. paramname:
  10469. description: 参数名
  10470. type: string
  10471. paramtype:
  10472. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  10473. type: integer
  10474. paramvalue:
  10475. description: 参数值
  10476. type: string
  10477. paramvalue2:
  10478. description: 参数值(CLOB)
  10479. type: string
  10480. regexpress:
  10481. description: 正则表达式
  10482. type: string
  10483. remark:
  10484. description: 备注
  10485. type: string
  10486. serverip:
  10487. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  10488. type: string
  10489. showflag:
  10490. description: 是否显示0 不显示 1 显示
  10491. type: integer
  10492. updatetime:
  10493. description: 更新时间
  10494. type: string
  10495. userid:
  10496. description: 更新用户ID
  10497. type: integer
  10498. required:
  10499. - paramcode
  10500. type: object
  10501. models.Szdz3convertconfig:
  10502. properties:
  10503. canin:
  10504. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  10505. type: integer
  10506. canout:
  10507. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  10508. type: integer
  10509. converttype:
  10510. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  10511. 6:交易转花生米(不设置)
  10512. type: integer
  10513. createtime:
  10514. description: 创建时间
  10515. type: string
  10516. creatorid:
  10517. description: 创建人
  10518. type: integer
  10519. daymaxvalue:
  10520. description: 当日最大转入限制
  10521. type: number
  10522. freezedays:
  10523. description: 冻结天数 [5:花生米转交易]
  10524. type: integer
  10525. innergoodsid:
  10526. description: 内部商品ID[交易]
  10527. type: integer
  10528. inratio:
  10529. description: 目标值
  10530. type: integer
  10531. modifierid:
  10532. description: 修改人
  10533. type: integer
  10534. modifytime:
  10535. description: 修改时间
  10536. type: string
  10537. outergoodscode:
  10538. description: 外部商品代码[JD\PD]
  10539. type: string
  10540. outratio:
  10541. description: 源值
  10542. type: integer
  10543. pddecimalplace:
  10544. description: PD小数位
  10545. type: integer
  10546. timemaxvalue:
  10547. description: 单次最大转入限制
  10548. type: number
  10549. timeminvalue:
  10550. description: 单次最小转入限制
  10551. type: number
  10552. required:
  10553. - converttype
  10554. - innergoodsid
  10555. - outergoodscode
  10556. type: object
  10557. models.Szdz3searchwhitelist:
  10558. properties:
  10559. createtime:
  10560. description: 创建时间
  10561. type: string
  10562. creatorid:
  10563. description: 创建人
  10564. type: integer
  10565. modifierid:
  10566. description: 修改人
  10567. type: integer
  10568. modifytime:
  10569. description: 修改时间
  10570. type: string
  10571. userid:
  10572. description: 用户ID
  10573. type: integer
  10574. required:
  10575. - userid
  10576. type: object
  10577. models.Taaccount:
  10578. properties:
  10579. accountflag:
  10580. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  10581. type: integer
  10582. accountid:
  10583. description: 资金账户ID
  10584. type: integer
  10585. accountname:
  10586. description: 账户名称
  10587. type: string
  10588. balance:
  10589. description: 期初余额
  10590. type: number
  10591. capitalbalance:
  10592. description: 本金余额[外部子账户实际出入金余额]
  10593. type: number
  10594. changeflag:
  10595. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  10596. type: integer
  10597. changetime:
  10598. description: 账户状态变更时间
  10599. type: string
  10600. closepl:
  10601. description: 今日平仓盈亏
  10602. type: number
  10603. creditdecrease:
  10604. description: 今日授信减少
  10605. type: number
  10606. creditincrease:
  10607. description: 今日授信增加
  10608. type: number
  10609. currencyid:
  10610. description: 货币ID
  10611. type: integer
  10612. currentbalance:
  10613. description: 期末余额
  10614. type: number
  10615. freezecharge:
  10616. description: 手续费冻结
  10617. type: number
  10618. freezemargin:
  10619. description: 冻结保证金
  10620. type: number
  10621. fromaccountid:
  10622. description: 所属上级账户
  10623. type: integer
  10624. inamount:
  10625. description: 今日入金金额(包括三方入金)
  10626. type: number
  10627. ismain:
  10628. description: 是否母账号 0:不是母账户 1:是母账户
  10629. type: integer
  10630. ismarketaccount:
  10631. description: 是否机构接单账号 0:不是 1:是
  10632. type: integer
  10633. isreckonaccount:
  10634. description: 是否机构分润账号 0:不是 1:是
  10635. type: integer
  10636. mortgagecredit:
  10637. description: 授信金额
  10638. type: number
  10639. orifreezecharge:
  10640. description: 期初手续费冻结
  10641. type: number
  10642. orifreezemargin:
  10643. description: 期初冻结保证金
  10644. type: number
  10645. orimortgagecredit:
  10646. description: 期初授信金额
  10647. type: number
  10648. oriothercredit:
  10649. description: 期初其它授信金额
  10650. type: number
  10651. oriotherfreezemargin:
  10652. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  10653. type: number
  10654. orioutamountfreeze:
  10655. description: 期初出金冻结
  10656. type: number
  10657. oriusedmargin:
  10658. description: 期初占用保证金
  10659. type: number
  10660. othercredit:
  10661. description: 其它授信金额
  10662. type: number
  10663. othercreditdecrease:
  10664. description: 今日其它授信减少
  10665. type: number
  10666. othercreditincrease:
  10667. description: 今日其它授信增加
  10668. type: number
  10669. otherfreezemargin:
  10670. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  10671. type: number
  10672. otherincome:
  10673. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  10674. type: number
  10675. otherpay:
  10676. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  10677. type: number
  10678. outamount:
  10679. description: 今日出金金额(包括三方出金)
  10680. type: number
  10681. outamountfreeze:
  10682. description: 出金冻结
  10683. type: number
  10684. outthreshold:
  10685. description: 出金阈值
  10686. type: number
  10687. parentaccountid:
  10688. description: 所属根账号
  10689. type: integer
  10690. paycharge:
  10691. description: 今日手续费支出
  10692. type: number
  10693. relatedaccountstatus:
  10694. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  10695. type: integer
  10696. relateduserid:
  10697. description: 关联用户
  10698. type: integer
  10699. serivcegroup:
  10700. description: 服务分组
  10701. type: integer
  10702. signstatus:
  10703. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10704. type: integer
  10705. sublevelpath:
  10706. description: 账号层级路径(逗号分隔,首尾加逗号)
  10707. type: string
  10708. taaccounttype:
  10709. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  10710. type: integer
  10711. thirdinamount:
  10712. description: 今日三方入金
  10713. type: number
  10714. thirdoutamount:
  10715. description: 今日三方出金
  10716. type: number
  10717. tradestatus:
  10718. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  10719. type: integer
  10720. tradestatuschangetime:
  10721. description: 激活时间
  10722. type: string
  10723. transferamount:
  10724. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  10725. type: number
  10726. usedmargin:
  10727. description: 占用保证金
  10728. type: number
  10729. userid:
  10730. description: 用户ID
  10731. type: integer
  10732. required:
  10733. - accountid
  10734. - userid
  10735. type: object
  10736. models.Tablecolumnconfig:
  10737. properties:
  10738. aligntype:
  10739. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  10740. type: integer
  10741. autoid:
  10742. description: AutoID
  10743. type: integer
  10744. columnfield:
  10745. description: 列字段
  10746. type: string
  10747. columntitle:
  10748. description: 列Title
  10749. type: string
  10750. columnwidth:
  10751. description: 列宽
  10752. type: string
  10753. formatterstring:
  10754. description: 格式化字符
  10755. type: string
  10756. formattertype:
  10757. description: 格式化类型
  10758. type: string
  10759. groupname:
  10760. description: 表头分组名称
  10761. type: string
  10762. isshow:
  10763. description: 是否显示 - 0:不显示 1:显示
  10764. type: integer
  10765. needsummary:
  10766. description: 是否需要汇总 - 0:不需要 1:需要
  10767. type: integer
  10768. orderindex:
  10769. description: 顺序
  10770. type: integer
  10771. remark:
  10772. description: 备注
  10773. type: string
  10774. summarytype:
  10775. description: 汇总类型 - 1:加总 2:最后一个
  10776. type: integer
  10777. tablekey:
  10778. description: 列表Key
  10779. type: string
  10780. required:
  10781. - autoid
  10782. type: object
  10783. models.UserCollectConfig:
  10784. properties:
  10785. accountstatus:
  10786. description: 账户状态 - 1:正常 2:停用 3:注销
  10787. type: integer
  10788. collectaccountname:
  10789. description: 收款人账户名称
  10790. type: string
  10791. collectaccountno:
  10792. description: 收款人账户
  10793. type: string
  10794. collectbankname:
  10795. description: 收款人开户行
  10796. type: string
  10797. collectbranchbankname:
  10798. description: 收款人开户支行
  10799. type: string
  10800. collectconfigid:
  10801. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  10802. type: string
  10803. remark:
  10804. description: 备注
  10805. type: string
  10806. userid:
  10807. description: 收款人用户ID
  10808. type: integer
  10809. type: object
  10810. models.UserReceiveInfo:
  10811. properties:
  10812. address:
  10813. description: 提货人详细地址
  10814. type: string
  10815. autoid:
  10816. description: AutoID
  10817. type: integer
  10818. cardnum:
  10819. description: 证件号码(加密存储)
  10820. type: string
  10821. cardtypeid:
  10822. description: 证件类型
  10823. type: integer
  10824. cityid:
  10825. description: 市
  10826. type: integer
  10827. cityname:
  10828. description: 城市名称
  10829. type: string
  10830. countryid:
  10831. description: 国家
  10832. type: integer
  10833. countryname:
  10834. description: 国家名称
  10835. type: string
  10836. districtid:
  10837. description: 地区
  10838. type: integer
  10839. districtname:
  10840. description: 地区名称
  10841. type: string
  10842. hasencrypt:
  10843. description: 数据是否已加密 - 0:未加密 1:已加密
  10844. type: integer
  10845. isdefault:
  10846. description: 是否默认地址 - 0:否 1:是
  10847. type: integer
  10848. phonenum:
  10849. description: 提货人联系方式(加密存储)
  10850. type: string
  10851. provinceid:
  10852. description: 省
  10853. type: integer
  10854. provincename:
  10855. description: 省名称
  10856. type: string
  10857. receivername:
  10858. description: 提货人姓名
  10859. type: string
  10860. takeremark:
  10861. description: 提货备注
  10862. type: string
  10863. userid:
  10864. description: 用户ID
  10865. type: integer
  10866. type: object
  10867. models.Useraccount:
  10868. properties:
  10869. accountname:
  10870. description: 账户名称(机构名称)
  10871. type: string
  10872. accountstatus:
  10873. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  10874. type: integer
  10875. applysrc:
  10876. description: 申请来源 - 1:管理端 2:终端
  10877. type: integer
  10878. auditremark:
  10879. description: 审核备注
  10880. type: string
  10881. auditsrc:
  10882. description: 审核来源 - 1:管理端 2:终端
  10883. type: integer
  10884. audittime:
  10885. description: 审核时间
  10886. type: string
  10887. audituserid:
  10888. description: 审核人
  10889. type: integer
  10890. broker:
  10891. description: 所属经纪人ID
  10892. type: integer
  10893. canceltime:
  10894. description: 销户时间
  10895. type: string
  10896. canceluserid:
  10897. description: 销户人
  10898. type: integer
  10899. canrecommend:
  10900. description: 是否可推荐 - 0:不可 1;可
  10901. type: integer
  10902. createtime:
  10903. description: 创建时间
  10904. type: string
  10905. creatorid:
  10906. description: 创建人
  10907. type: integer
  10908. hasauth:
  10909. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  10910. type: integer
  10911. isanonymous:
  10912. description: 是否匿名下单 - 0:否 1:是
  10913. type: integer
  10914. maxinvestornum:
  10915. description: 最大用户数(经纪会员下投资者个数)
  10916. type: integer
  10917. memberuserid:
  10918. description: 所属会员ID
  10919. type: integer
  10920. modifierid:
  10921. description: 修改人
  10922. type: integer
  10923. modifyremark:
  10924. description: 变更备注
  10925. type: string
  10926. modifystatus:
  10927. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  10928. type: integer
  10929. modifytime:
  10930. description: 修改时间
  10931. type: string
  10932. parenttopuser:
  10933. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10934. type: string
  10935. parentuserid:
  10936. description: 所属机构ID
  10937. type: integer
  10938. reckonaccountid:
  10939. description: 默认结算资金账号ID(机构分润使用) 作废
  10940. type: integer
  10941. refercount:
  10942. description: 推荐总人数
  10943. type: integer
  10944. refereeuserid:
  10945. description: 推荐人ID
  10946. type: integer
  10947. refernum:
  10948. description: 推荐码
  10949. type: string
  10950. rootuserid:
  10951. description: 根用户ID
  10952. type: integer
  10953. subaccountlevel:
  10954. description: 子账户层数
  10955. type: integer
  10956. subarealevelpath:
  10957. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10958. type: string
  10959. userid:
  10960. description: 用户ID
  10961. type: integer
  10962. usertype:
  10963. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10964. type: integer
  10965. required:
  10966. - userid
  10967. type: object
  10968. models.Userfavoritegoods:
  10969. properties:
  10970. goodsid:
  10971. description: 商品ID
  10972. type: integer
  10973. required:
  10974. - goodsid
  10975. type: object
  10976. models.Userinfo:
  10977. properties:
  10978. address:
  10979. description: 地址
  10980. type: string
  10981. attachment1:
  10982. description: 附件1
  10983. type: string
  10984. attachment2:
  10985. description: 附件2
  10986. type: string
  10987. bankaccount:
  10988. description: 银行帐号 (加密存储)
  10989. type: string
  10990. bankaccountname:
  10991. description: 收款人名称
  10992. type: string
  10993. bankcardfrontphotourl:
  10994. description: 银行卡正面照地址
  10995. type: string
  10996. bankid:
  10997. description: 银行编码
  10998. type: string
  10999. bankname:
  11000. description: 银行名称
  11001. type: string
  11002. biznature:
  11003. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  11004. type: integer
  11005. bizscope:
  11006. description: 企业经营范围(企业)
  11007. type: string
  11008. cardbackphotourl:
  11009. description: 证件背面图片地址
  11010. type: string
  11011. cardfrontphotourl:
  11012. description: 证件正面图片地址
  11013. type: string
  11014. cardnum:
  11015. description: 证件号码(加密存储)
  11016. type: string
  11017. cardtypeid:
  11018. description: 证件类型ID
  11019. type: integer
  11020. cityid:
  11021. description: 市
  11022. type: integer
  11023. company:
  11024. description: 公司(个人)
  11025. type: string
  11026. contactname:
  11027. description: 联系人
  11028. type: string
  11029. countryid:
  11030. description: 国家
  11031. type: integer
  11032. createtime:
  11033. description: 创建时间
  11034. type: string
  11035. creatorid:
  11036. description: 创建人
  11037. type: integer
  11038. customername:
  11039. description: 客户名称(企业名称)
  11040. type: string
  11041. districtid:
  11042. description: 地区
  11043. type: integer
  11044. email:
  11045. description: 邮件(加密存储)
  11046. type: string
  11047. fax:
  11048. description: 传真(加密存储)
  11049. type: string
  11050. halfbodyphotourl:
  11051. description: 半身照地址
  11052. type: string
  11053. hasencrypt:
  11054. description: 数据是否已加密 - 0:未加密 1:已加密
  11055. type: integer
  11056. headurl:
  11057. description: 头像地址
  11058. type: string
  11059. legalcardbackphotourl:
  11060. description: 法人身份证背面照地址
  11061. type: string
  11062. legalcardfrontphotourl:
  11063. description: 法人身份证正面照地址
  11064. type: string
  11065. legalpersonname:
  11066. description: 法人姓名(企业)
  11067. type: string
  11068. mobile:
  11069. description: 手机号码(加密存储)
  11070. type: string
  11071. mobile2:
  11072. description: 手机号码[明文-尚志]
  11073. type: string
  11074. modifierid:
  11075. description: 修改人
  11076. type: integer
  11077. modifiertime:
  11078. description: 修改时间
  11079. type: string
  11080. needinvoice:
  11081. description: 是否需要发票 - 0:不需要 1:需要
  11082. type: integer
  11083. nickname:
  11084. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  11085. type: string
  11086. openmode:
  11087. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  11088. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  11089. type: integer
  11090. otherurl:
  11091. description: 其它图片地址[使用分号分隔]
  11092. type: string
  11093. postalcode:
  11094. description: 邮政编码
  11095. type: string
  11096. provinceid:
  11097. description: 省
  11098. type: integer
  11099. qq:
  11100. description: QQ(加密存储
  11101. type: string
  11102. remark:
  11103. description: 备注
  11104. type: string
  11105. sex:
  11106. description: '用户性别 0: 女 1: 男'
  11107. type: integer
  11108. signpdfurl:
  11109. description: 签约pdf文件
  11110. type: string
  11111. telphone:
  11112. description: 联系电话(加密存储)
  11113. type: string
  11114. userid:
  11115. description: 用户ID
  11116. type: integer
  11117. userinfotype:
  11118. description: 用户信息类型 - 1:个人 2:企业
  11119. type: integer
  11120. userstatus:
  11121. description: 用户状态 - 1:正常 2:注销
  11122. type: integer
  11123. usertype:
  11124. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  11125. type: integer
  11126. wechat:
  11127. description: 微信(加密存储)
  11128. type: string
  11129. wskhinfo:
  11130. description: 开户申请信息(JSON)
  11131. type: string
  11132. required:
  11133. - userid
  11134. type: object
  11135. models.WRSConverTDetail:
  11136. properties:
  11137. convertratio:
  11138. description: 套保系数
  11139. type: number
  11140. deliverygoodscode:
  11141. description: 现货商品代码
  11142. type: string
  11143. deliverygoodsid:
  11144. description: 现货品种ID
  11145. type: integer
  11146. deliverygoodsname:
  11147. description: 现货商品名称
  11148. type: string
  11149. enumdicname:
  11150. description: 单位名称
  11151. type: string
  11152. goodsunitid:
  11153. description: 套保品种单位id
  11154. type: integer
  11155. middlegoodscode:
  11156. description: 套保品种代码
  11157. type: string
  11158. middlegoodsid:
  11159. description: 套保品种ID
  11160. type: integer
  11161. middlegoodsname:
  11162. description: 套保品种名称
  11163. type: string
  11164. modifytime:
  11165. description: 修改时间
  11166. type: string
  11167. wrstandardid:
  11168. description: 品类ID
  11169. type: integer
  11170. type: object
  11171. models.WRStandardInfo:
  11172. properties:
  11173. areauserid:
  11174. description: 所属机构
  11175. type: integer
  11176. convertfactor:
  11177. description: 标仓系数
  11178. type: number
  11179. createtime:
  11180. description: 创建时间
  11181. type: string
  11182. creatorid:
  11183. description: 创建人
  11184. type: integer
  11185. deliverygoodsid:
  11186. description: 品种ID
  11187. type: integer
  11188. deliverygoodsname:
  11189. description: 交割商品名称
  11190. type: string
  11191. factoryitemjson:
  11192. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  11193. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  11194. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  11195. 逗号分隔'
  11196. type: string
  11197. isvalid:
  11198. description: 是否有效 - 0:无效 1:有效
  11199. type: integer
  11200. minivalue:
  11201. description: 最小变动值
  11202. type: integer
  11203. minivaluedp:
  11204. description: 最小变动值小数位
  11205. type: integer
  11206. realminivalue:
  11207. description: 实际最小变动值
  11208. type: integer
  11209. realminivaluedp:
  11210. description: 实际最小变动值小数位
  11211. type: integer
  11212. remark:
  11213. description: 备注
  11214. type: string
  11215. unitid:
  11216. description: 单位ID
  11217. type: integer
  11218. unitname:
  11219. description: 单位
  11220. type: string
  11221. updatetime:
  11222. description: 更新时间
  11223. type: string
  11224. updatorid:
  11225. description: 更新人
  11226. type: integer
  11227. wrsstatus:
  11228. description: 状态 - 作废 - 0:未激活 1:正常
  11229. type: integer
  11230. wrstandardcode:
  11231. description: 现货品类代码
  11232. type: string
  11233. wrstandardid:
  11234. description: 现货品类ID(SEQ_WRSTANDARD)
  11235. type: integer
  11236. wrstandardname:
  11237. description: 现货品类名称
  11238. type: string
  11239. required:
  11240. - wrstandardid
  11241. type: object
  11242. models.Warehouseinfo:
  11243. properties:
  11244. address:
  11245. description: 详细地址
  11246. type: string
  11247. areauserid:
  11248. description: 所属机构
  11249. type: integer
  11250. autoid:
  11251. description: 自增ID
  11252. type: integer
  11253. cityid:
  11254. description: 市
  11255. type: integer
  11256. contactname:
  11257. description: 联系人
  11258. type: string
  11259. contactnum:
  11260. description: 联系电话
  11261. type: string
  11262. countryid:
  11263. description: 国家
  11264. type: integer
  11265. createtime:
  11266. description: 创建时间
  11267. type: string
  11268. districtid:
  11269. description: 区
  11270. type: integer
  11271. hasvideo:
  11272. description: 是否有视频 - 0:无 1:有
  11273. type: integer
  11274. provinceid:
  11275. description: 省
  11276. type: integer
  11277. remark:
  11278. description: 审核备注
  11279. type: string
  11280. videourl:
  11281. description: 视频地址
  11282. type: string
  11283. warehousecode:
  11284. description: 仓库代码
  11285. type: string
  11286. warehousename:
  11287. description: 仓库名称
  11288. type: string
  11289. warehousestatus:
  11290. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  11291. type: integer
  11292. warehousetype:
  11293. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  11294. type: integer
  11295. required:
  11296. - autoid
  11297. - warehousecode
  11298. type: object
  11299. order.QueryHisTradeDetailRsp:
  11300. properties:
  11301. accountid:
  11302. description: 账户ID[报价币种]
  11303. type: integer
  11304. buildtype:
  11305. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11306. type: integer
  11307. buyorsell:
  11308. description: 方向 - 0:买 1:卖
  11309. type: integer
  11310. charge:
  11311. description: 手续费
  11312. type: number
  11313. closecharge:
  11314. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11315. type: number
  11316. closeexchagechargevalue:
  11317. description: 平仓交易所手续费设置值
  11318. type: number
  11319. closefeealgorithm:
  11320. description: 平仓手续费收取方式 1:比率 2:固定
  11321. type: integer
  11322. closememberchargevalue:
  11323. description: 平仓会员手续费设置值
  11324. type: number
  11325. closepl:
  11326. description: 平仓盈亏
  11327. type: number
  11328. closepl2:
  11329. description: 平仓盈亏[逐笔]
  11330. type: number
  11331. closeqty:
  11332. description: 平仓数量(先建后平操作 需要记录)
  11333. type: integer
  11334. creditamount:
  11335. description: 授信金额
  11336. type: number
  11337. gcaccountid:
  11338. description: 账户ID[合约币种]
  11339. type: integer
  11340. goodscode:
  11341. description: 商品代码
  11342. type: string
  11343. goodsid:
  11344. description: 商品ID
  11345. type: integer
  11346. goodsname:
  11347. description: 商品名称
  11348. type: string
  11349. histradedate:
  11350. description: 历史交易日
  11351. type: string
  11352. intclosepl:
  11353. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11354. type: integer
  11355. isconfirmexercise:
  11356. description: 是否确认行权- 0:否 1:是
  11357. type: integer
  11358. ismain:
  11359. description: 是否主单 - 0:不是 1:是
  11360. type: integer
  11361. ispreexercise:
  11362. description: 是否预申报- 0:否 1:是
  11363. type: integer
  11364. isreckoned:
  11365. description: 是否结算 - 0:未结算 1:已结算
  11366. type: integer
  11367. isvaliddata:
  11368. description: 是否有效 - 0:无效 1:有效
  11369. type: integer
  11370. listingselecttype:
  11371. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11372. type: integer
  11373. marketid:
  11374. description: 市场ID
  11375. type: integer
  11376. marketname:
  11377. description: 市场名称
  11378. type: string
  11379. matchaccountid:
  11380. description: 对手账号id
  11381. type: integer
  11382. memberuserid:
  11383. description: 会员id 个人投资者 需要填写
  11384. type: integer
  11385. opencharge:
  11386. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11387. type: number
  11388. openexchagechargevalue:
  11389. description: 建仓交易所手续费设置值
  11390. type: number
  11391. openfeealgorithm:
  11392. description: 建仓手续费收取方式 1:比率 2:固定
  11393. type: integer
  11394. openmemberchargevalue:
  11395. description: 建仓会员手续费设置值
  11396. type: number
  11397. openqty:
  11398. description: 开仓数量(先建后平操作 需要记录)
  11399. type: integer
  11400. optiontype:
  11401. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11402. type: integer
  11403. orderid:
  11404. description: 委托单号
  11405. type: string
  11406. performanceplanid:
  11407. description: 履约计划ID[期权]
  11408. type: integer
  11409. performancestatus:
  11410. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11411. type: integer
  11412. preexerciseprice:
  11413. description: 预申报价格
  11414. type: number
  11415. premium:
  11416. description: 权利金 - [持仓单的权利金]
  11417. type: number
  11418. relatedouttradeid:
  11419. description: 关联外部成交单ID
  11420. type: integer
  11421. status:
  11422. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11423. type: integer
  11424. tradeamount:
  11425. description: 成交金额[账户币种,用于所有权]
  11426. type: number
  11427. tradedate:
  11428. description: 交易日(yyyyMMdd)
  11429. type: string
  11430. tradeid:
  11431. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11432. type: string
  11433. trademode:
  11434. description: 交易模式
  11435. type: integer
  11436. tradeprice:
  11437. description: 成交价格
  11438. type: number
  11439. tradeproperty:
  11440. description: 交易属性
  11441. type: integer
  11442. tradeqty:
  11443. description: 成交数量
  11444. type: integer
  11445. tradetime:
  11446. description: 成交时间
  11447. type: string
  11448. tradetype:
  11449. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11450. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11451. type: integer
  11452. required:
  11453. - accountid
  11454. - buyorsell
  11455. - goodsid
  11456. - histradedate
  11457. - marketid
  11458. - memberuserid
  11459. - orderid
  11460. - tradeamount
  11461. - tradedate
  11462. - tradeid
  11463. - tradeprice
  11464. - tradeqty
  11465. - tradetime
  11466. type: object
  11467. order.QueryHisTradeOrderDetailRsp:
  11468. properties:
  11469. accountid:
  11470. description: 账户ID[报价币种]
  11471. type: integer
  11472. buildtype:
  11473. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11474. type: integer
  11475. buyorsell:
  11476. description: 买卖 - 0:买 1:卖
  11477. type: integer
  11478. cancelorderid:
  11479. description: 撤单单号(撤单时填写)
  11480. type: string
  11481. cancelqty:
  11482. description: 撤单数量
  11483. type: integer
  11484. clientordertime:
  11485. description: 客户端委托时间
  11486. type: string
  11487. clientticket:
  11488. description: 客户端流水号
  11489. type: string
  11490. clienttype:
  11491. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11492. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11493. type: integer
  11494. closeexchagechargevalue:
  11495. description: 平仓交易所手续费设置值
  11496. type: number
  11497. closefeealgorithm:
  11498. description: 平仓手续费收取方式 1:比率 2:固定
  11499. type: integer
  11500. closefreezecharge:
  11501. description: 平仓冻结手续费(先建后平操作,需要记录)
  11502. type: number
  11503. closememberchargevalue:
  11504. description: 平仓会员手续费设置值
  11505. type: number
  11506. closeqty:
  11507. description: 平仓数量(先建后平操作 需要记录)
  11508. type: integer
  11509. closetradeqty:
  11510. description: 平仓成交数量(先建后平操作,需要记录)
  11511. type: integer
  11512. closeunfreezecharge:
  11513. description: 平仓解冻手续费(先建后平操作,需要记录)
  11514. type: number
  11515. delistingtype:
  11516. description: 摘牌类型 - 1:价格最优 2:点选成交
  11517. type: integer
  11518. freezecharge:
  11519. description: 冻结手续费
  11520. type: number
  11521. freezemargin:
  11522. description: 冻结保证金(冻结交易金额)
  11523. type: number
  11524. gcaccountid:
  11525. description: 账户ID[合约币种]
  11526. type: integer
  11527. goodscode:
  11528. description: 商品代码
  11529. type: string
  11530. goodsid:
  11531. description: 商品ID
  11532. type: integer
  11533. goodsname:
  11534. description: 商品名称
  11535. type: string
  11536. histradedate:
  11537. description: 历史交易日
  11538. type: string
  11539. isconfirmexercise:
  11540. description: 是否确认行权- 0:否 1:是
  11541. type: integer
  11542. ispreexercise:
  11543. description: 是否预申报- 0:否 1:是
  11544. type: integer
  11545. isvaliddata:
  11546. description: 是否有效 - 0:无效 1:有效
  11547. type: integer
  11548. listingselecttype:
  11549. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11550. type: integer
  11551. marginalgorithm:
  11552. description: 保证金收取方式 1:比率 2:固定
  11553. type: integer
  11554. marginvalue:
  11555. description: 即市保证金设置值
  11556. type: number
  11557. marketid:
  11558. description: 市场ID
  11559. type: integer
  11560. marketmaxsub:
  11561. description: 市价最大偏移范围
  11562. type: number
  11563. marketname:
  11564. description: 市场名称
  11565. type: string
  11566. memberuserid:
  11567. description: 所属会员UserID
  11568. type: integer
  11569. openexchagechargevalue:
  11570. description: 建仓交易所手续费设置值
  11571. type: number
  11572. openfeealgorithm:
  11573. description: 建仓手续费收取方式 1:比率 2:固定
  11574. type: integer
  11575. openfreezecharge:
  11576. description: 开仓冻结手续费(先建后平操作,需要记录)
  11577. type: number
  11578. openmemberchargevalue:
  11579. description: 建仓会员手续费设置值
  11580. type: number
  11581. openqty:
  11582. description: 开仓数量(先建后平操作,需要记录)
  11583. type: integer
  11584. opentradeqty:
  11585. description: 开仓成交数量(先建后平操作,需要记录)
  11586. type: integer
  11587. openunfreezecharge:
  11588. description: 开仓解冻手续费(先建后平操作,需要记录)
  11589. type: number
  11590. operatetype:
  11591. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11592. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11593. 15:管理端协议转让
  11594. type: integer
  11595. operatorid:
  11596. description: 登录账号(LoginID)
  11597. type: integer
  11598. optiontype:
  11599. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11600. type: integer
  11601. orderid:
  11602. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11603. type: string
  11604. orderprice:
  11605. description: 委托价格
  11606. type: number
  11607. orderqty:
  11608. description: 委托数量
  11609. type: integer
  11610. ordersrc:
  11611. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11612. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11613. type: integer
  11614. orderstatus:
  11615. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11616. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11617. 16:成交失败违约(荷兰式竞拍专用)
  11618. type: integer
  11619. ordertime:
  11620. description: 委托时间
  11621. type: string
  11622. preexerciseprice:
  11623. description: 预申报价格
  11624. type: number
  11625. premium:
  11626. description: 权利金
  11627. type: number
  11628. preorderid:
  11629. description: 关联预埋单号(止盈止损单时填写)
  11630. type: string
  11631. pricemode:
  11632. description: '取价方式 - 1:市价 2: 限价'
  11633. type: integer
  11634. quoteid:
  11635. description: 报价单ID
  11636. type: integer
  11637. relatedid:
  11638. description: 关联单号(交割单)
  11639. type: string
  11640. retcode:
  11641. description: 错误代码
  11642. type: integer
  11643. sessionid:
  11644. description: 会话ID
  11645. type: integer
  11646. tradedate:
  11647. description: 交易日(yyyyMMdd)
  11648. type: string
  11649. trademode:
  11650. description: 交易模式
  11651. type: integer
  11652. tradeproperty:
  11653. description: 交易属性
  11654. type: integer
  11655. tradeqty:
  11656. description: 成交数量
  11657. type: integer
  11658. unfreezecharge:
  11659. description: 解冻手续费
  11660. type: number
  11661. unfreezemargin:
  11662. description: 解冻保证金
  11663. type: number
  11664. updatetime:
  11665. description: 更新时间
  11666. type: string
  11667. uuid:
  11668. description: 发起端唯一id
  11669. type: string
  11670. validtime:
  11671. description: 有效期限
  11672. type: string
  11673. validtype:
  11674. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11675. type: integer
  11676. volumetype:
  11677. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11678. type: integer
  11679. required:
  11680. - accountid
  11681. - buildtype
  11682. - buyorsell
  11683. - goodsid
  11684. - histradedate
  11685. - marketid
  11686. - memberuserid
  11687. - operatetype
  11688. - orderid
  11689. - orderqty
  11690. - ordertime
  11691. - pricemode
  11692. - tradedate
  11693. - validtype
  11694. type: object
  11695. order.QueryTradeDetailRsp:
  11696. properties:
  11697. accountid:
  11698. description: 账户ID[报价币种]
  11699. type: integer
  11700. buildtype:
  11701. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11702. type: integer
  11703. buyorsell:
  11704. description: 方向 - 0:买 1:卖
  11705. type: integer
  11706. charge:
  11707. description: 手续费
  11708. type: number
  11709. closecharge:
  11710. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11711. type: number
  11712. closeexchagechargevalue:
  11713. description: 平仓交易所手续费设置值
  11714. type: number
  11715. closefeealgorithm:
  11716. description: 平仓手续费收取方式 1:比率 2:固定
  11717. type: integer
  11718. closememberchargevalue:
  11719. description: 平仓会员手续费设置值
  11720. type: number
  11721. closepl:
  11722. description: 平仓盈亏
  11723. type: number
  11724. closepl2:
  11725. description: 平仓盈亏[逐笔]
  11726. type: number
  11727. closeqty:
  11728. description: 平仓数量(先建后平操作 需要记录)
  11729. type: integer
  11730. creditamount:
  11731. description: 授信金额
  11732. type: number
  11733. gcaccountid:
  11734. description: 账户ID[合约币种]
  11735. type: integer
  11736. goodscode:
  11737. description: 商品代码
  11738. type: string
  11739. goodsid:
  11740. description: 商品ID
  11741. type: integer
  11742. goodsname:
  11743. description: 商品名称
  11744. type: string
  11745. intclosepl:
  11746. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11747. type: integer
  11748. isconfirmexercise:
  11749. description: 是否确认行权- 0:否 1:是
  11750. type: integer
  11751. ismain:
  11752. description: 是否主单 - 0:不是 1:是
  11753. type: integer
  11754. ispreexercise:
  11755. description: 是否预申报- 0:否 1:是
  11756. type: integer
  11757. isreckoned:
  11758. description: 是否结算 - 0:未结算 1:已结算
  11759. type: integer
  11760. listingselecttype:
  11761. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11762. type: integer
  11763. marketid:
  11764. description: 市场ID
  11765. type: integer
  11766. marketname:
  11767. description: 市场名称
  11768. type: string
  11769. matchaccountid:
  11770. description: 对手账号id
  11771. type: integer
  11772. memberuserid:
  11773. description: 会员id 个人投资者 需要填写
  11774. type: integer
  11775. opencharge:
  11776. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11777. type: number
  11778. openexchagechargevalue:
  11779. description: 建仓交易所手续费设置值
  11780. type: number
  11781. openfeealgorithm:
  11782. description: 建仓手续费收取方式 1:比率 2:固定
  11783. type: integer
  11784. openmemberchargevalue:
  11785. description: 建仓会员手续费设置值
  11786. type: number
  11787. openqty:
  11788. description: 开仓数量(先建后平操作 需要记录)
  11789. type: integer
  11790. optiontype:
  11791. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11792. type: integer
  11793. orderid:
  11794. description: 委托单号
  11795. type: string
  11796. performanceplanid:
  11797. description: 履约计划ID[期权]
  11798. type: integer
  11799. performancestatus:
  11800. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11801. type: integer
  11802. preexerciseprice:
  11803. description: 预申报价格
  11804. type: number
  11805. premium:
  11806. description: 权利金 - [持仓单的权利金]
  11807. type: number
  11808. relatedouttradeid:
  11809. description: 关联外部成交单ID
  11810. type: integer
  11811. status:
  11812. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11813. type: integer
  11814. tradeamount:
  11815. description: 成交金额[账户币种,用于所有权]
  11816. type: number
  11817. tradedate:
  11818. description: 交易日(yyyyMMdd)
  11819. type: string
  11820. tradeid:
  11821. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11822. type: string
  11823. trademode:
  11824. description: 交易模式
  11825. type: integer
  11826. tradeprice:
  11827. description: 成交价格
  11828. type: number
  11829. tradeproperty:
  11830. description: 交易属性
  11831. type: integer
  11832. tradeqty:
  11833. description: 成交数量
  11834. type: integer
  11835. tradetime:
  11836. description: 成交时间
  11837. type: string
  11838. tradetype:
  11839. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11840. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11841. type: integer
  11842. required:
  11843. - accountid
  11844. - buyorsell
  11845. - goodsid
  11846. - marketid
  11847. - memberuserid
  11848. - orderid
  11849. - tradeamount
  11850. - tradedate
  11851. - tradeid
  11852. - tradeprice
  11853. - tradeqty
  11854. - tradetime
  11855. type: object
  11856. order.QueryTradeOrderDetailRsp:
  11857. properties:
  11858. accountid:
  11859. description: 账户ID[报价币种]
  11860. type: integer
  11861. buildtype:
  11862. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11863. type: integer
  11864. buyorsell:
  11865. description: 买卖 - 0:买 1:卖
  11866. type: integer
  11867. cancelorderid:
  11868. description: 撤单单号(撤单时填写)
  11869. type: string
  11870. cancelqty:
  11871. description: 撤单数量
  11872. type: integer
  11873. clienttype:
  11874. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11875. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11876. type: integer
  11877. closefreezecharge:
  11878. description: 平仓冻结手续费(先建后平操作,需要记录)
  11879. type: number
  11880. closeqty:
  11881. description: 平仓数量(先建后平操作 需要记录)
  11882. type: integer
  11883. closetradeqty:
  11884. description: 平仓成交数量(先建后平操作,需要记录)
  11885. type: integer
  11886. closeunfreezecharge:
  11887. description: 平仓解冻手续费(先建后平操作,需要记录)
  11888. type: number
  11889. delistingtype:
  11890. description: 摘牌类型 - 1:价格最优 2:点选成交
  11891. type: integer
  11892. enableqty:
  11893. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  11894. type: integer
  11895. freezecharge:
  11896. description: 冻结手续费
  11897. type: number
  11898. freezemargin:
  11899. description: 冻结保证金(冻结交易金额)
  11900. type: number
  11901. goodscode:
  11902. description: 商品代码
  11903. type: string
  11904. goodsid:
  11905. description: 商品ID
  11906. type: integer
  11907. goodsname:
  11908. description: 商品名称
  11909. type: string
  11910. listingselecttype:
  11911. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11912. type: integer
  11913. marketid:
  11914. description: 市场ID
  11915. type: integer
  11916. marketname:
  11917. description: 市场名称
  11918. type: string
  11919. openfreezecharge:
  11920. description: 开仓冻结手续费(先建后平操作,需要记录)
  11921. type: number
  11922. openqty:
  11923. description: 开仓数量(先建后平操作,需要记录)
  11924. type: integer
  11925. opentradeqty:
  11926. description: 开仓成交数量(先建后平操作,需要记录)
  11927. type: integer
  11928. openunfreezecharge:
  11929. description: 开仓解冻手续费(先建后平操作,需要记录)
  11930. type: number
  11931. operatetype:
  11932. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11933. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11934. 15:管理端协议转让
  11935. type: integer
  11936. operatorid:
  11937. description: 登录账号(LoginID)
  11938. type: integer
  11939. orderid:
  11940. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11941. type: string
  11942. orderprice:
  11943. description: 委托价格
  11944. type: number
  11945. orderqty:
  11946. description: 委托数量
  11947. type: integer
  11948. ordersrc:
  11949. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11950. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11951. type: integer
  11952. orderstatus:
  11953. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11954. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11955. 16:成交失败违约(荷兰式竞拍专用)
  11956. type: integer
  11957. ordertime:
  11958. description: 委托时间
  11959. type: string
  11960. preorderid:
  11961. description: 关联预埋单号(止盈止损单时填写)
  11962. type: string
  11963. pricemode:
  11964. description: '取价方式 - 1:市价 2: 限价'
  11965. type: integer
  11966. relatedid:
  11967. description: 关联单号(交割单)
  11968. type: string
  11969. tradedate:
  11970. description: 交易日(yyyyMMdd)
  11971. type: string
  11972. trademode:
  11973. description: 交易模式
  11974. type: integer
  11975. tradeqty:
  11976. description: 成交数量
  11977. type: integer
  11978. unfreezecharge:
  11979. description: 解冻手续费
  11980. type: number
  11981. unfreezemargin:
  11982. description: 解冻保证金
  11983. type: number
  11984. validtime:
  11985. description: 有效期限
  11986. type: string
  11987. validtype:
  11988. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11989. type: integer
  11990. volumetype:
  11991. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11992. type: integer
  11993. required:
  11994. - accountid
  11995. - buildtype
  11996. - buyorsell
  11997. - goodsid
  11998. - marketid
  11999. - operatetype
  12000. - orderqty
  12001. - ordertime
  12002. - pricemode
  12003. - tradedate
  12004. - validtype
  12005. type: object
  12006. order.QueryTradePositionRsp:
  12007. properties:
  12008. accountid:
  12009. description: 资金账户
  12010. type: integer
  12011. agreeunit:
  12012. description: 合约单位
  12013. type: number
  12014. averageprice:
  12015. description: 持仓均价
  12016. type: number
  12017. buyorsell:
  12018. description: 方向 - 0:买 1:卖
  12019. type: integer
  12020. closetotalqty:
  12021. description: 平仓总数量
  12022. type: integer
  12023. curholderamount:
  12024. description: 当前持仓总金额[商品币种]
  12025. type: number
  12026. curpositionqty:
  12027. description: 当前持仓总数量
  12028. type: integer
  12029. currencyid:
  12030. description: 报价货币ID
  12031. type: integer
  12032. curtdposition:
  12033. description: 期末今日头寸
  12034. type: integer
  12035. decimalplace:
  12036. description: 报价小数位
  12037. type: integer
  12038. enableqty:
  12039. description: 可用量
  12040. type: integer
  12041. fretdposition:
  12042. description: 冻结今日头寸
  12043. type: integer
  12044. frozenqty:
  12045. description: 持仓冻结数量
  12046. type: integer
  12047. goodscode:
  12048. description: 商品代码
  12049. type: string
  12050. goodsid:
  12051. description: 商品Id
  12052. type: integer
  12053. goodsname:
  12054. description: 商品名称
  12055. type: string
  12056. goodunit:
  12057. description: 报价单位
  12058. type: string
  12059. goodunitid:
  12060. description: 报价单位ID
  12061. type: integer
  12062. holderamount:
  12063. description: 期初持仓总金额[商品币种]
  12064. type: number
  12065. marketid:
  12066. description: 所属市场ID
  12067. type: integer
  12068. openreqqty:
  12069. description: 开仓申请数量(用于比较最大持仓数量)
  12070. type: integer
  12071. opentotalqty:
  12072. description: 开仓总数量
  12073. type: integer
  12074. otherfrozenqty:
  12075. description: 持仓其他冻结数量(交割冻结)
  12076. type: integer
  12077. positionqty:
  12078. description: 期初持仓数量
  12079. type: integer
  12080. tnqty:
  12081. description: T+N冻结总量
  12082. type: integer
  12083. tnusedqty:
  12084. description: T+N使用量(可以使用T+N的冻结数量)
  12085. type: integer
  12086. trademode:
  12087. description: 交易模式
  12088. type: integer
  12089. usedmargin:
  12090. description: 占用保证金[商品币种]
  12091. type: number
  12092. required:
  12093. - goodsid
  12094. type: object
  12095. quote.HistoryData:
  12096. properties:
  12097. c:
  12098. description: 收盘价
  12099. type: number
  12100. f:
  12101. description: 是否补充数据
  12102. type: boolean
  12103. h:
  12104. description: 最高价
  12105. type: number
  12106. hv:
  12107. description: 持仓量
  12108. type: integer
  12109. l:
  12110. description: 最低价
  12111. type: number
  12112. o:
  12113. description: 开盘价
  12114. type: number
  12115. s:
  12116. description: 结算价,日线周期(包括)以上才有
  12117. type: number
  12118. ts:
  12119. description: 时间
  12120. type: string
  12121. tt:
  12122. description: 总金额
  12123. type: number
  12124. tv:
  12125. description: 总量
  12126. type: integer
  12127. type: object
  12128. quote.HistoryTikData:
  12129. properties:
  12130. AV:
  12131. description: 卖量
  12132. type: integer
  12133. Ask:
  12134. description: 卖价
  12135. type: number
  12136. BV:
  12137. description: 买量
  12138. type: integer
  12139. Bid:
  12140. description: 买价
  12141. type: number
  12142. HI:
  12143. description: 单笔持仓
  12144. type: integer
  12145. HV:
  12146. description: 持仓量
  12147. type: integer
  12148. PE:
  12149. description: 现价
  12150. type: number
  12151. TDR:
  12152. description: 交易方向,0:买 1:卖
  12153. type: integer
  12154. TK:
  12155. description: 交易类型
  12156. type: integer
  12157. TS:
  12158. description: 行情时间文本
  12159. type: string
  12160. TT:
  12161. description: 现金额
  12162. type: number
  12163. Vol:
  12164. description: 现量
  12165. type: integer
  12166. type: object
  12167. quote.QueryQuoteDayRsp:
  12168. properties:
  12169. ask:
  12170. description: 卖1
  12171. type: number
  12172. ask2:
  12173. description: 卖2
  12174. type: number
  12175. ask3:
  12176. description: 卖3
  12177. type: number
  12178. ask4:
  12179. description: 卖4
  12180. type: number
  12181. ask5:
  12182. description: 卖5
  12183. type: number
  12184. ask6:
  12185. description: 卖6
  12186. type: number
  12187. ask7:
  12188. description: 卖7
  12189. type: number
  12190. ask8:
  12191. description: 卖8
  12192. type: number
  12193. ask9:
  12194. description: 卖9
  12195. type: number
  12196. ask10:
  12197. description: 卖10
  12198. type: number
  12199. askorderid:
  12200. description: 卖单号1
  12201. type: integer
  12202. askorderid2:
  12203. description: 卖单号2
  12204. type: integer
  12205. askorderid3:
  12206. description: 卖单号3
  12207. type: integer
  12208. askorderid4:
  12209. description: 卖单号4
  12210. type: integer
  12211. askorderid5:
  12212. description: 卖单号5
  12213. type: integer
  12214. askordervolume:
  12215. description: 卖单量1
  12216. type: integer
  12217. askordervolume2:
  12218. description: 卖单量2
  12219. type: integer
  12220. askordervolume3:
  12221. description: 卖单量3
  12222. type: integer
  12223. askordervolume4:
  12224. description: 卖单量4
  12225. type: integer
  12226. askordervolume5:
  12227. description: 卖单量5
  12228. type: integer
  12229. askordervolume6:
  12230. description: 卖单量6
  12231. type: integer
  12232. askordervolume7:
  12233. description: 卖单量7
  12234. type: integer
  12235. askordervolume8:
  12236. description: 卖单量8
  12237. type: integer
  12238. askordervolume9:
  12239. description: 卖单量9
  12240. type: integer
  12241. askordervolume10:
  12242. description: 卖单量10
  12243. type: integer
  12244. askqueueinfo:
  12245. description: 大利市卖港股用
  12246. type: string
  12247. askvolume:
  12248. description: 卖量1
  12249. type: integer
  12250. askvolume2:
  12251. description: 卖量2
  12252. type: integer
  12253. askvolume3:
  12254. description: 卖量3
  12255. type: integer
  12256. askvolume4:
  12257. description: 卖量4
  12258. type: integer
  12259. askvolume5:
  12260. description: 卖量5
  12261. type: integer
  12262. askvolume6:
  12263. description: 卖量6
  12264. type: integer
  12265. askvolume7:
  12266. description: 卖量7
  12267. type: integer
  12268. askvolume8:
  12269. description: 卖量8
  12270. type: integer
  12271. askvolume9:
  12272. description: 卖量9
  12273. type: integer
  12274. askvolume10:
  12275. description: 卖量10
  12276. type: integer
  12277. averageprice:
  12278. description: 均价
  12279. type: number
  12280. bid:
  12281. description: 买1
  12282. type: number
  12283. bid2:
  12284. description: 买2
  12285. type: number
  12286. bid3:
  12287. description: 买3
  12288. type: number
  12289. bid4:
  12290. description: 买4
  12291. type: number
  12292. bid5:
  12293. description: 买5
  12294. type: number
  12295. bid6:
  12296. description: 买6
  12297. type: number
  12298. bid7:
  12299. description: 买7
  12300. type: number
  12301. bid8:
  12302. description: 买8
  12303. type: number
  12304. bid9:
  12305. description: 买9
  12306. type: number
  12307. bid10:
  12308. description: 买10
  12309. type: number
  12310. bidorderid:
  12311. description: 买单号1
  12312. type: integer
  12313. bidorderid2:
  12314. description: 买单号2
  12315. type: integer
  12316. bidorderid3:
  12317. description: 买单号3
  12318. type: integer
  12319. bidorderid4:
  12320. description: 买单号4
  12321. type: integer
  12322. bidorderid5:
  12323. description: 买单号5
  12324. type: integer
  12325. bidordervolume:
  12326. description: 买单量1
  12327. type: integer
  12328. bidordervolume2:
  12329. description: 买单量2
  12330. type: integer
  12331. bidordervolume3:
  12332. description: 买单量3
  12333. type: integer
  12334. bidordervolume4:
  12335. description: 买单量4
  12336. type: integer
  12337. bidordervolume5:
  12338. description: 买单量5
  12339. type: integer
  12340. bidordervolume6:
  12341. description: 买单量6
  12342. type: integer
  12343. bidordervolume7:
  12344. description: 买单量7
  12345. type: integer
  12346. bidordervolume8:
  12347. description: 买单量8
  12348. type: integer
  12349. bidordervolume9:
  12350. description: 买单量9
  12351. type: integer
  12352. bidordervolume10:
  12353. description: 买单量10
  12354. type: integer
  12355. bidqueueinfo:
  12356. description: 大利市买港股用
  12357. type: string
  12358. bidvolume:
  12359. description: 买量1
  12360. type: integer
  12361. bidvolume2:
  12362. description: 买量2
  12363. type: integer
  12364. bidvolume3:
  12365. description: 买量3
  12366. type: integer
  12367. bidvolume4:
  12368. description: 买量4
  12369. type: integer
  12370. bidvolume5:
  12371. description: 买量5
  12372. type: integer
  12373. bidvolume6:
  12374. description: 买量6
  12375. type: integer
  12376. bidvolume7:
  12377. description: 买量7
  12378. type: integer
  12379. bidvolume8:
  12380. description: 买量8
  12381. type: integer
  12382. bidvolume9:
  12383. description: 买量9
  12384. type: integer
  12385. bidvolume10:
  12386. description: 买量10
  12387. type: integer
  12388. calloptionpremiums:
  12389. description: 认购期权1
  12390. type: integer
  12391. calloptionpremiums2:
  12392. description: 认购期权2
  12393. type: integer
  12394. calloptionpremiums3:
  12395. description: 认购期权3
  12396. type: integer
  12397. calloptionpremiums4:
  12398. description: 认购期权4
  12399. type: integer
  12400. calloptionpremiums5:
  12401. description: 认购期权5
  12402. type: integer
  12403. cleartime:
  12404. description: 清盘时间
  12405. type: integer
  12406. exchangecode:
  12407. description: 交易所代码
  12408. type: integer
  12409. exchangedate:
  12410. description: 交易日
  12411. type: integer
  12412. goodscode:
  12413. description: 商品代码
  12414. type: string
  12415. grepmarketprice:
  12416. description: 暗盘价 港股专用
  12417. type: number
  12418. highest:
  12419. description: 最高价
  12420. type: number
  12421. holdincrement:
  12422. description: 单笔持仓
  12423. type: integer
  12424. holdvolume:
  12425. description: 持仓
  12426. type: integer
  12427. iep:
  12428. description: 平衡价 港股专用
  12429. type: number
  12430. iev:
  12431. description: 平衡量 港股专用
  12432. type: number
  12433. inventory:
  12434. description: 库存
  12435. type: integer
  12436. iscleared:
  12437. description: 是否清盘标志
  12438. type: integer
  12439. issettled:
  12440. description: 是否结算标志
  12441. type: integer
  12442. last:
  12443. description: 最新价
  12444. type: number
  12445. lastlot:
  12446. description: 最新成交手数
  12447. type: integer
  12448. lasttime:
  12449. description: 行情时间(只有现价变化行情时间才变化)
  12450. type: string
  12451. lastturnover:
  12452. description: 最新成交金额
  12453. type: number
  12454. lastvolume:
  12455. description: 最新成交量
  12456. type: integer
  12457. limitdown:
  12458. description: 跌停价
  12459. type: number
  12460. limitup:
  12461. description: 涨停价
  12462. type: number
  12463. lowest:
  12464. description: 最低价
  12465. type: number
  12466. nontotalholdervolume:
  12467. description: 非交易持仓量
  12468. type: integer
  12469. nontotallot:
  12470. description: 非交易总手数
  12471. type: integer
  12472. nontotalturnover:
  12473. description: 非交易总金额
  12474. type: integer
  12475. nontotalvolume:
  12476. description: 非交易总量
  12477. type: integer
  12478. opened:
  12479. description: 开盘价
  12480. type: number
  12481. opentime:
  12482. description: 开盘时间
  12483. type: string
  12484. orderid:
  12485. description: 序号
  12486. type: integer
  12487. preclose:
  12488. description: 昨收
  12489. type: number
  12490. preholdvolume:
  12491. description: 昨持仓
  12492. type: integer
  12493. presettle:
  12494. description: 昨结价
  12495. type: number
  12496. publictradetype:
  12497. description: 公共交易标志类型 港股专用
  12498. type: string
  12499. putoptionpremiums:
  12500. description: 认沽期权1
  12501. type: integer
  12502. putoptionpremiums2:
  12503. description: 认沽期权2
  12504. type: integer
  12505. putoptionpremiums3:
  12506. description: 认沽期权3
  12507. type: integer
  12508. putoptionpremiums4:
  12509. description: 认沽期权4
  12510. type: integer
  12511. putoptionpremiums5:
  12512. description: 认沽期权5
  12513. type: integer
  12514. settle:
  12515. description: 结算价
  12516. type: number
  12517. strikeprice:
  12518. description: 发行价
  12519. type: number
  12520. totalaskvolume:
  12521. description: 内盘
  12522. type: integer
  12523. totalbidvolume:
  12524. description: 外盘
  12525. type: integer
  12526. totallot:
  12527. description: 总手数
  12528. type: integer
  12529. totalturnover:
  12530. description: 总金额
  12531. type: number
  12532. totalvolume:
  12533. description: 总量
  12534. type: integer
  12535. utclasttime:
  12536. description: utc的行情时间
  12537. type: string
  12538. type: object
  12539. quote.QueryTSDataRsp:
  12540. properties:
  12541. Count:
  12542. description: 交易日应有数据个数
  12543. type: integer
  12544. decimalPlace:
  12545. description: 小数位
  12546. type: integer
  12547. endTime:
  12548. description: 结束时间
  12549. type: string
  12550. goodsCode:
  12551. description: 商品代码
  12552. type: string
  12553. historyDatas:
  12554. description: 历史数据
  12555. items:
  12556. $ref: '#/definitions/quote.HistoryData'
  12557. type: array
  12558. outGoodsCode:
  12559. description: 外部商品代码
  12560. type: string
  12561. preSettle:
  12562. description: 昨结价
  12563. type: number
  12564. runSteps:
  12565. description: 交易日开休市计划
  12566. items:
  12567. $ref: '#/definitions/quote.TSDataRunStep'
  12568. type: array
  12569. startTime:
  12570. description: 开始时间
  12571. type: string
  12572. tradeDate:
  12573. description: 交易日
  12574. type: string
  12575. type: object
  12576. quote.TSDataRunStep:
  12577. properties:
  12578. end:
  12579. description: 真实结束时间
  12580. type: string
  12581. endflag:
  12582. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  12583. type: integer
  12584. endtime:
  12585. description: 结束时间(HH:mm)
  12586. type: string
  12587. endweekday:
  12588. description: 结束周几
  12589. type: integer
  12590. groupid:
  12591. description: 分组ID
  12592. type: integer
  12593. runstep:
  12594. description: 运行阶段 - 2:连续交易
  12595. type: integer
  12596. sectionid:
  12597. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  12598. 结束时间=结算时间 结束周几=结算周几
  12599. type: integer
  12600. start:
  12601. description: 真实开始时间
  12602. type: string
  12603. startflag:
  12604. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  12605. type: integer
  12606. starttime:
  12607. description: 起始时间(HH:mm)
  12608. type: string
  12609. startweekday:
  12610. description: 起始周几
  12611. type: integer
  12612. tradeweekday:
  12613. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  12614. type: integer
  12615. type: object
  12616. szdz.QueryConvertLogRsp:
  12617. properties:
  12618. accountid:
  12619. description: 资金账户ID
  12620. type: integer
  12621. clientticket:
  12622. description: 客户端流水号
  12623. type: string
  12624. converttype:
  12625. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  12626. type: integer
  12627. createtime:
  12628. description: 记账时间
  12629. type: string
  12630. daymaxvalue:
  12631. description: 配置当日最大转入限制
  12632. type: number
  12633. daymaxvalue2:
  12634. description: 配置当日最大转入限制(转入)
  12635. type: number
  12636. goodscode:
  12637. description: 商品代码
  12638. type: string
  12639. goodsname:
  12640. description: 商品名称
  12641. type: string
  12642. handlestatus:
  12643. description: 处理状态
  12644. type: integer
  12645. innergoodsid:
  12646. description: 内部商品ID
  12647. type: integer
  12648. inratio:
  12649. description: 配置转入比值
  12650. type: integer
  12651. invalue:
  12652. description: 目标值
  12653. type: number
  12654. logid:
  12655. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12656. type: integer
  12657. mobile:
  12658. description: 手机号码(加密存储)
  12659. type: string
  12660. outergoodscode:
  12661. description: 外部商品代码[JD\PD]
  12662. type: string
  12663. outratio:
  12664. description: 配置转出比值
  12665. type: integer
  12666. outvalue:
  12667. description: 源值
  12668. type: number
  12669. pddecimalplace:
  12670. description: PD小数位
  12671. type: integer
  12672. qty:
  12673. description: 数量
  12674. type: string
  12675. remark:
  12676. description: 备注
  12677. type: string
  12678. sessionid:
  12679. description: 会话ID
  12680. type: integer
  12681. timemaxvalue:
  12682. description: 配置单次最大转入限制
  12683. type: number
  12684. timemaxvalue2:
  12685. description: 配置单次最大转入限制(转入)
  12686. type: number
  12687. timeminvalue:
  12688. description: 配置单次最小数量限制
  12689. type: number
  12690. timeminvalue2:
  12691. description: 配置单次最小数量限制(转入)
  12692. type: number
  12693. tradedate:
  12694. description: 交易日(yyyyMMdd)
  12695. type: string
  12696. userid:
  12697. description: 用户ID
  12698. type: integer
  12699. required:
  12700. - logid
  12701. type: object
  12702. szdz.QueryGoodsPickupRsp:
  12703. properties:
  12704. accountid:
  12705. description: 账户ID
  12706. type: integer
  12707. address:
  12708. description: 提货人详细地址
  12709. type: string
  12710. auditer:
  12711. description: 审核人
  12712. type: integer
  12713. audittime:
  12714. description: 审核时间
  12715. type: string
  12716. cardnum:
  12717. description: 提货人证件号码
  12718. type: string
  12719. cardtypeid:
  12720. description: 提货人证件类型
  12721. type: integer
  12722. checkremark:
  12723. description: 审核备注
  12724. type: string
  12725. goodscode:
  12726. description: 商品代码
  12727. type: string
  12728. goodsid:
  12729. description: 商品ID
  12730. type: integer
  12731. goodsname:
  12732. description: 商品名称
  12733. type: string
  12734. handlestatus:
  12735. description: 处理状态
  12736. type: integer
  12737. marketid:
  12738. description: 市场ID
  12739. type: integer
  12740. phonenum:
  12741. description: 提货人联系方式
  12742. type: string
  12743. qty:
  12744. description: 提货数量
  12745. type: number
  12746. recivername:
  12747. description: 提货人姓名
  12748. type: string
  12749. reqtime:
  12750. description: 更新时间
  12751. type: string
  12752. takemode:
  12753. description: 提货方式 - 2:自提 3:配送
  12754. type: integer
  12755. takeorderid:
  12756. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12757. type: string
  12758. takeorderstatus:
  12759. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12760. type: integer
  12761. takeremark:
  12762. description: 提货备注
  12763. type: string
  12764. tradedate:
  12765. description: 交易日(yyyyMMdd)
  12766. type: string
  12767. userid:
  12768. description: 用户ID
  12769. type: integer
  12770. required:
  12771. - takeorderid
  12772. type: object
  12773. szdz.QueryRecieptOrderRsp:
  12774. properties:
  12775. accountName:
  12776. description: 所属账号名称(已脱敏)
  12777. type: string
  12778. accountid:
  12779. description: 资金账号
  12780. type: integer
  12781. buyorsell:
  12782. description: 方向 - 0:买 1:卖
  12783. type: integer
  12784. enableqty:
  12785. description: 可摘数量
  12786. type: integer
  12787. goodscode:
  12788. description: 商品代码
  12789. type: string
  12790. goodsid:
  12791. description: 商品ID
  12792. type: integer
  12793. goodsname:
  12794. description: 商品名称
  12795. type: string
  12796. orderid:
  12797. description: 委托单号
  12798. type: string
  12799. orderprice:
  12800. description: 委托价格
  12801. type: number
  12802. ordertime:
  12803. description: 委托时间
  12804. type: string
  12805. tradedate:
  12806. description: 交易日(yyyyMMdd)
  12807. type: string
  12808. required:
  12809. - ordertime
  12810. type: object
  12811. szdz.QuerySZDZTradePositionRsp:
  12812. properties:
  12813. accountid:
  12814. description: 账号Id
  12815. type: integer
  12816. agreeunit:
  12817. description: 合约单位
  12818. type: number
  12819. averageprice:
  12820. description: 持仓均价
  12821. type: number
  12822. buyorsell:
  12823. description: 方向 - 0:买 1:卖
  12824. type: integer
  12825. closetotalqty:
  12826. description: 平仓总数量
  12827. type: integer
  12828. curholderamount:
  12829. description: 当前持仓总金额
  12830. type: number
  12831. curpositionqty:
  12832. description: 当前持仓总数量
  12833. type: integer
  12834. currencyid:
  12835. description: 报价货币ID
  12836. type: integer
  12837. curtdposition:
  12838. description: 期末今日头寸
  12839. type: integer
  12840. decimalplace:
  12841. description: 报价小数位
  12842. type: integer
  12843. enableqty:
  12844. description: 可用量
  12845. type: integer
  12846. fretdposition:
  12847. description: 冻结今日头寸
  12848. type: integer
  12849. frozenqty:
  12850. description: 持仓冻结数量
  12851. type: integer
  12852. goodscode:
  12853. description: 商品代码(内部)
  12854. type: string
  12855. goodsid:
  12856. description: 商品Id
  12857. type: integer
  12858. goodsname:
  12859. description: 商品名称
  12860. type: string
  12861. goodunit:
  12862. description: 报价单位
  12863. type: string
  12864. goodunitid:
  12865. description: 报价单位ID
  12866. type: integer
  12867. holderamount:
  12868. description: 期初持仓总金额
  12869. type: number
  12870. marketid:
  12871. description: 市场ID
  12872. type: integer
  12873. openreqqty:
  12874. description: 开仓申请数量
  12875. type: integer
  12876. opentotalqty:
  12877. description: 开仓总数量
  12878. type: integer
  12879. otherfrozenqty:
  12880. description: 持仓其他冻结数量(交割冻结)
  12881. type: integer
  12882. positionqty:
  12883. description: 期初持仓数量
  12884. type: integer
  12885. szdz3freezqty:
  12886. description: 尚志大宗转换冻结总数量
  12887. type: integer
  12888. tnqty:
  12889. description: T+N冻结总量
  12890. type: integer
  12891. tnusedqty:
  12892. description: T+N使用量
  12893. type: integer
  12894. trademode:
  12895. description: 交易模式
  12896. type: integer
  12897. usedmargin:
  12898. description: 占用保证金
  12899. type: number
  12900. type: object
  12901. taaccount.QueryAmountLogRsp:
  12902. properties:
  12903. OPERATETYPENAME:
  12904. description: 资金操作类型名称
  12905. type: string
  12906. accountid:
  12907. description: 资金账户ID
  12908. type: integer
  12909. agoodscode:
  12910. description: 竞拍商品代码
  12911. type: string
  12912. agoodsname:
  12913. description: 竞拍商品名称
  12914. type: string
  12915. amount:
  12916. description: 资金金额
  12917. type: number
  12918. amountadjusttype:
  12919. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12920. type: integer
  12921. autoid:
  12922. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12923. type: integer
  12924. balance:
  12925. description: 期初余额
  12926. type: number
  12927. businesscode:
  12928. description: 业务编号
  12929. type: integer
  12930. createtime:
  12931. description: 发生时间
  12932. type: string
  12933. currencyid:
  12934. description: 币种ID
  12935. type: integer
  12936. currentbalance:
  12937. description: 期末余额(变动后金额)
  12938. type: number
  12939. dgoodscode:
  12940. description: 交割商品代码
  12941. type: string
  12942. dgoodsname:
  12943. description: 交割商品名称
  12944. type: string
  12945. goodscode:
  12946. description: 商品代码
  12947. type: string
  12948. goodsid:
  12949. description: 商品ID
  12950. type: integer
  12951. goodsname:
  12952. description: 商品名称
  12953. type: string
  12954. marketid:
  12955. description: 市场ID
  12956. type: integer
  12957. marketname:
  12958. description: 市场名称
  12959. type: string
  12960. moneyticket:
  12961. description: 资金流水号:银行端流水号
  12962. type: integer
  12963. operatetype:
  12964. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12965. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12966. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12967. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12968. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12969. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12970. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12971. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12972. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12973. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12974. type: integer
  12975. relationorderid:
  12976. description: 关联单号
  12977. type: string
  12978. remark:
  12979. description: 备注
  12980. type: string
  12981. trademode:
  12982. description: 交易模式
  12983. type: integer
  12984. required:
  12985. - accountid
  12986. - amount
  12987. - amountadjusttype
  12988. - autoid
  12989. - balance
  12990. - createtime
  12991. - currentbalance
  12992. - operatetype
  12993. type: object
  12994. taaccount.QueryHisAmountLogRsp:
  12995. properties:
  12996. OPERATETYPENAME:
  12997. description: 资金操作类型名称
  12998. type: string
  12999. accountid:
  13000. description: 资金账户ID
  13001. type: integer
  13002. agoodscode:
  13003. description: 竞拍商品代码
  13004. type: string
  13005. agoodsname:
  13006. description: 竞拍商品名称
  13007. type: string
  13008. amount:
  13009. description: 资金金额
  13010. type: number
  13011. amountadjusttype:
  13012. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  13013. type: integer
  13014. autoid:
  13015. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  13016. type: integer
  13017. balance:
  13018. description: 期初余额
  13019. type: number
  13020. businesscode:
  13021. description: 业务编号
  13022. type: integer
  13023. createtime:
  13024. description: 发生时间
  13025. type: string
  13026. currencyid:
  13027. description: 币种ID
  13028. type: integer
  13029. currentbalance:
  13030. description: 期末余额(变动后金额)
  13031. type: number
  13032. dgoodscode:
  13033. description: 交割商品代码
  13034. type: string
  13035. dgoodsname:
  13036. description: 交割商品名称
  13037. type: string
  13038. goodscode:
  13039. description: 商品代码
  13040. type: string
  13041. goodsid:
  13042. description: 商品ID
  13043. type: integer
  13044. goodsname:
  13045. description: 商品名称
  13046. type: string
  13047. histradedate:
  13048. description: 历史交易日
  13049. type: string
  13050. isvaliddata:
  13051. description: 是否有效 - 0:无效 1:有效
  13052. type: integer
  13053. marketid:
  13054. description: 市场ID
  13055. type: integer
  13056. marketname:
  13057. description: 市场名称
  13058. type: string
  13059. moneyticket:
  13060. description: 资金流水号:银行端流水号
  13061. type: integer
  13062. operatetype:
  13063. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  13064. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  13065. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  13066. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  13067. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  13068. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  13069. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  13070. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  13071. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  13072. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  13073. type: integer
  13074. relationorderid:
  13075. description: 关联单号
  13076. type: string
  13077. remark:
  13078. description: 备注
  13079. type: string
  13080. trademode:
  13081. description: 交易模式
  13082. type: integer
  13083. required:
  13084. - accountid
  13085. - amount
  13086. - amountadjusttype
  13087. - autoid
  13088. - balance
  13089. - createtime
  13090. - currentbalance
  13091. - histradedate
  13092. - operatetype
  13093. type: object
  13094. trade.QueryRecieptOrderRsp:
  13095. properties:
  13096. accountName:
  13097. description: 所属账号名称(已脱敏)
  13098. type: string
  13099. accountid:
  13100. description: 资金账号
  13101. type: integer
  13102. buyorsell:
  13103. description: 方向 - 0:买 1:卖
  13104. type: integer
  13105. enableqty:
  13106. description: 可摘数量
  13107. type: integer
  13108. goodscode:
  13109. description: 商品代码
  13110. type: string
  13111. goodsid:
  13112. description: 商品ID
  13113. type: integer
  13114. goodsname:
  13115. description: 商品名称
  13116. type: string
  13117. orderid:
  13118. description: 委托单号
  13119. type: string
  13120. orderprice:
  13121. description: 委托价格
  13122. type: number
  13123. ordertime:
  13124. description: 委托时间
  13125. type: string
  13126. tradedate:
  13127. description: 交易日(yyyyMMdd)
  13128. type: string
  13129. required:
  13130. - ordertime
  13131. type: object
  13132. user.LoginQueryRsp:
  13133. properties:
  13134. areaRoles:
  13135. description: 所属角色信息
  13136. items:
  13137. $ref: '#/definitions/models.Arearole'
  13138. type: array
  13139. externalExchanges:
  13140. description: 外部交易所
  13141. items:
  13142. $ref: '#/definitions/models.Externalexchange'
  13143. type: array
  13144. goodsgroups:
  13145. description: 商品组
  13146. items:
  13147. $ref: '#/definitions/models.Goodsgroup'
  13148. type: array
  13149. loginAccount:
  13150. $ref: '#/definitions/models.Loginaccount'
  13151. description: 登录账号
  13152. markets:
  13153. description: 市场
  13154. items:
  13155. $ref: '#/definitions/models.Market'
  13156. type: array
  13157. systemParams:
  13158. description: 系统参数
  13159. items:
  13160. $ref: '#/definitions/models.Systemparam'
  13161. type: array
  13162. userAccount:
  13163. $ref: '#/definitions/models.Useraccount'
  13164. description: 用户账号
  13165. userInfo:
  13166. $ref: '#/definitions/models.Userinfo'
  13167. description: 用户信息
  13168. username:
  13169. description: 用户姓名
  13170. type: string
  13171. type: object
  13172. info:
  13173. contact: {}
  13174. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  13175. termsOfService: http://www.muchinfo.cn
  13176. title: MTP2.0 查询服务 API
  13177. version: "1.0"
  13178. paths:
  13179. /CPTrade/QueryCPTradeMyBidInfos:
  13180. get:
  13181. parameters:
  13182. - description: 资金账户
  13183. in: query
  13184. name: accountid
  13185. required: true
  13186. type: integer
  13187. - description: 预售市场ID
  13188. in: query
  13189. name: marketid
  13190. type: integer
  13191. - description: 预售商品ID
  13192. in: query
  13193. name: goodsid
  13194. type: integer
  13195. produces:
  13196. - application/json
  13197. responses:
  13198. "200":
  13199. description: OK
  13200. schema:
  13201. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  13202. "500":
  13203. description: Internal Server Error
  13204. schema:
  13205. $ref: '#/definitions/app.Response'
  13206. security:
  13207. - ApiKeyAuth: []
  13208. summary: 查询产能预售我的出价信息
  13209. tags:
  13210. - 产能预售
  13211. /CPTrade/QueryCPTradeOrderDetail:
  13212. get:
  13213. parameters:
  13214. - description: 预售商品ID
  13215. in: query
  13216. name: goodsid
  13217. type: integer
  13218. - description: 预售市场ID
  13219. in: query
  13220. name: marketid
  13221. type: integer
  13222. - description: 预售商品ID列表 - 格式:1,2,3
  13223. in: query
  13224. name: goodsids
  13225. type: string
  13226. produces:
  13227. - application/json
  13228. responses:
  13229. "200":
  13230. description: OK
  13231. schema:
  13232. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  13233. "500":
  13234. description: Internal Server Error
  13235. schema:
  13236. $ref: '#/definitions/app.Response'
  13237. security:
  13238. - ApiKeyAuth: []
  13239. summary: 查询产能预售委托单信息
  13240. tags:
  13241. - 产能预售
  13242. /CPTrade/QueryMyCPTradeGoods:
  13243. get:
  13244. parameters:
  13245. - description: 资金账户
  13246. in: query
  13247. name: accountid
  13248. required: true
  13249. type: integer
  13250. produces:
  13251. - application/json
  13252. responses:
  13253. "200":
  13254. description: OK
  13255. schema:
  13256. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  13257. "500":
  13258. description: Internal Server Error
  13259. schema:
  13260. $ref: '#/definitions/app.Response'
  13261. security:
  13262. - ApiKeyAuth: []
  13263. summary: 查询我的预售信息
  13264. tags:
  13265. - 产能预售
  13266. /CPTrade/QueryPositionCancel:
  13267. get:
  13268. parameters:
  13269. - description: 账户ID
  13270. in: query
  13271. name: userid
  13272. required: true
  13273. type: integer
  13274. - description: 注销ID
  13275. in: query
  13276. name: cancelid
  13277. type: integer
  13278. - description: 资金账户ID
  13279. in: query
  13280. name: accountid
  13281. type: integer
  13282. produces:
  13283. - application/json
  13284. responses:
  13285. "200":
  13286. description: OK
  13287. schema:
  13288. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  13289. "500":
  13290. description: Internal Server Error
  13291. schema:
  13292. $ref: '#/definitions/app.Response'
  13293. security:
  13294. - ApiKeyAuth: []
  13295. summary: 查询远期订单注销申请信息
  13296. tags:
  13297. - 产能预售
  13298. /CPTrade/QueryPreasleApply:
  13299. get:
  13300. parameters:
  13301. - description: 账户ID
  13302. in: query
  13303. name: userid
  13304. required: true
  13305. type: integer
  13306. - description: 申请ID
  13307. in: query
  13308. name: applyid
  13309. type: integer
  13310. - description: 资金账户ID
  13311. in: query
  13312. name: accountid
  13313. type: integer
  13314. produces:
  13315. - application/json
  13316. responses:
  13317. "200":
  13318. description: OK
  13319. schema:
  13320. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  13321. "500":
  13322. description: Internal Server Error
  13323. schema:
  13324. $ref: '#/definitions/app.Response'
  13325. security:
  13326. - ApiKeyAuth: []
  13327. summary: 查询产能预售申请信息
  13328. tags:
  13329. - 产能预售
  13330. /CPTrade/QueryPresaleGoodsEx:
  13331. get:
  13332. parameters:
  13333. - description: 预售商品ID
  13334. in: query
  13335. name: goodsid
  13336. type: integer
  13337. - description: 预售市场ID
  13338. in: query
  13339. name: marketid
  13340. type: integer
  13341. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  13342. in: query
  13343. name: presalemode
  13344. type: integer
  13345. - description: 预售商品ID列表 - 格式:1,2,3
  13346. in: query
  13347. name: goodsids
  13348. type: string
  13349. - description: 预售商品代码
  13350. in: query
  13351. name: goodscode
  13352. type: string
  13353. produces:
  13354. - application/json
  13355. responses:
  13356. "200":
  13357. description: OK
  13358. schema:
  13359. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  13360. "500":
  13361. description: Internal Server Error
  13362. schema:
  13363. $ref: '#/definitions/app.Response'
  13364. security:
  13365. - ApiKeyAuth: []
  13366. summary: 查询产能预售商品扩展信息
  13367. tags:
  13368. - 产能预售
  13369. /CPTrade/QueryUserGoodsData:
  13370. get:
  13371. parameters:
  13372. - description: 资金账户ID
  13373. in: query
  13374. name: accountid
  13375. required: true
  13376. type: integer
  13377. produces:
  13378. - application/json
  13379. responses:
  13380. "200":
  13381. description: OK
  13382. schema:
  13383. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  13384. "500":
  13385. description: Internal Server Error
  13386. schema:
  13387. $ref: '#/definitions/app.Response'
  13388. security:
  13389. - ApiKeyAuth: []
  13390. summary: 查询远期订单信息
  13391. tags:
  13392. - 产能预售
  13393. /Common/GetAllEnums:
  13394. get:
  13395. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  13396. parameters:
  13397. - description: 起始自增ID
  13398. in: query
  13399. name: autoid
  13400. type: integer
  13401. produces:
  13402. - application/json
  13403. responses:
  13404. "200":
  13405. description: OK
  13406. schema:
  13407. $ref: '#/definitions/models.Enumdicitem'
  13408. "500":
  13409. description: Internal Server Error
  13410. schema:
  13411. $ref: '#/definitions/app.Response'
  13412. summary: 获取所有枚举信息
  13413. tags:
  13414. - 通用服务
  13415. /Common/GetClientMenus:
  13416. get:
  13417. parameters:
  13418. - description: 登录账号
  13419. in: query
  13420. name: loginID
  13421. required: true
  13422. type: integer
  13423. - description: 终端类型,0:PC 1:Mobile
  13424. in: query
  13425. name: clientType
  13426. type: integer
  13427. produces:
  13428. - application/json
  13429. responses:
  13430. "200":
  13431. description: OK
  13432. schema:
  13433. items:
  13434. $ref: '#/definitions/common.ClientMenu'
  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. - 通用服务
  13445. /Common/GetDivisions:
  13446. get:
  13447. produces:
  13448. - application/json
  13449. responses:
  13450. "200":
  13451. description: OK
  13452. schema:
  13453. $ref: '#/definitions/models.Division'
  13454. "500":
  13455. description: Internal Server Error
  13456. schema:
  13457. $ref: '#/definitions/app.Response'
  13458. summary: 查询区域信息
  13459. tags:
  13460. - 通用服务
  13461. /Common/GetServerTime:
  13462. get:
  13463. produces:
  13464. - application/json
  13465. responses:
  13466. "200":
  13467. description: OK
  13468. schema:
  13469. $ref: '#/definitions/app.Response'
  13470. "500":
  13471. description: Internal Server Error
  13472. schema:
  13473. $ref: '#/definitions/app.Response'
  13474. summary: 获取服务器时间
  13475. tags:
  13476. - 通用服务
  13477. /Common/NoticeReaded:
  13478. post:
  13479. parameters:
  13480. - description: 登录账号
  13481. in: query
  13482. name: loginID
  13483. required: true
  13484. type: integer
  13485. - description: 通知公告ID
  13486. in: query
  13487. name: noticeID
  13488. required: true
  13489. type: integer
  13490. produces:
  13491. - application/json
  13492. responses:
  13493. "200":
  13494. description: OK
  13495. schema:
  13496. $ref: '#/definitions/app.Response'
  13497. "500":
  13498. description: Internal Server Error
  13499. schema:
  13500. $ref: '#/definitions/app.Response'
  13501. security:
  13502. - ApiKeyAuth: []
  13503. summary: 通知公告设置已读请求
  13504. tags:
  13505. - 通用服务
  13506. /Common/QueryErrorInfos:
  13507. get:
  13508. description: 如果传入rowNumber,则返回此rowNumber后的数据
  13509. parameters:
  13510. - description: 起始行号前索引
  13511. in: query
  13512. name: rowNumber
  13513. type: string
  13514. produces:
  13515. - application/json
  13516. responses:
  13517. "200":
  13518. description: OK
  13519. schema:
  13520. $ref: '#/definitions/models.QueryErrorInfosRsp'
  13521. "500":
  13522. description: Internal Server Error
  13523. schema:
  13524. $ref: '#/definitions/app.Response'
  13525. summary: 获取数据库错误信息
  13526. tags:
  13527. - 通用服务
  13528. /Common/QueryImageConfigs:
  13529. get:
  13530. parameters:
  13531. - description: 类型 - 1:App首页轮播 2:我的
  13532. in: query
  13533. name: imageType
  13534. type: integer
  13535. produces:
  13536. - application/json
  13537. responses:
  13538. "200":
  13539. description: OK
  13540. schema:
  13541. $ref: '#/definitions/common.QueryImageConfigsRsp'
  13542. "500":
  13543. description: Internal Server Error
  13544. schema:
  13545. $ref: '#/definitions/app.Response'
  13546. summary: 查询轮播图配置信息
  13547. tags:
  13548. - 通用服务
  13549. /Common/QueryNotice:
  13550. get:
  13551. parameters:
  13552. - description: 页码
  13553. in: query
  13554. name: page
  13555. type: integer
  13556. - description: 每页条数
  13557. in: query
  13558. name: pagesize
  13559. type: integer
  13560. - description: 登录账号
  13561. in: query
  13562. name: loginID
  13563. required: true
  13564. type: integer
  13565. - description: 消息类型 - 1:公告通知 2:系统消息
  13566. in: query
  13567. name: msgType
  13568. type: integer
  13569. - description: 是否只获取未读信息
  13570. in: query
  13571. name: onlyUnRead
  13572. type: boolean
  13573. - description: 自增ID,传入后会返回这个ID后面的记录
  13574. in: query
  13575. name: lastID
  13576. type: integer
  13577. produces:
  13578. - application/json
  13579. responses:
  13580. "200":
  13581. description: OK
  13582. schema:
  13583. $ref: '#/definitions/common.QueryNoticeRsp'
  13584. "500":
  13585. description: Internal Server Error
  13586. schema:
  13587. $ref: '#/definitions/app.Response'
  13588. security:
  13589. - ApiKeyAuth: []
  13590. summary: 通知公告系统消息查询
  13591. tags:
  13592. - 通用服务
  13593. /Common/QueryProvincesAndCities:
  13594. get:
  13595. parameters:
  13596. - description: 省ID
  13597. in: query
  13598. name: provinceID
  13599. type: integer
  13600. produces:
  13601. - application/json
  13602. responses:
  13603. "200":
  13604. description: OK
  13605. schema:
  13606. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  13607. "500":
  13608. description: Internal Server Error
  13609. schema:
  13610. $ref: '#/definitions/app.Response'
  13611. summary: 查询省市信息(不包括区)
  13612. tags:
  13613. - 通用服务
  13614. /Common/QueryTableDefine:
  13615. get:
  13616. parameters:
  13617. - description: 表key
  13618. in: query
  13619. name: tableKey
  13620. type: string
  13621. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  13622. in: query
  13623. name: tableType
  13624. type: integer
  13625. produces:
  13626. - application/json
  13627. responses:
  13628. "200":
  13629. description: OK
  13630. schema:
  13631. $ref: '#/definitions/common.QueryTableDefineRsp'
  13632. "500":
  13633. description: Internal Server Error
  13634. schema:
  13635. $ref: '#/definitions/app.Response'
  13636. summary: 查询交易端列表头信息
  13637. tags:
  13638. - 通用服务
  13639. /Common/QueryTraderMenu:
  13640. get:
  13641. parameters:
  13642. - description: 登录账号
  13643. in: query
  13644. name: loginid
  13645. required: true
  13646. type: integer
  13647. produces:
  13648. - application/json
  13649. responses:
  13650. "200":
  13651. description: OK
  13652. schema:
  13653. $ref: '#/definitions/common.QueryTraderMenuRsp'
  13654. "500":
  13655. description: Internal Server Error
  13656. schema:
  13657. $ref: '#/definitions/app.Response'
  13658. summary: 查询交易端菜单
  13659. tags:
  13660. - 通用服务
  13661. /Delivery/QueryDeliveryRelation:
  13662. get:
  13663. parameters:
  13664. - description: 商品ID
  13665. in: query
  13666. name: goodsid
  13667. type: integer
  13668. - description: 品种ID
  13669. in: query
  13670. name: deliverygoodsid
  13671. type: integer
  13672. - description: 市场ID
  13673. in: query
  13674. name: marketid
  13675. type: integer
  13676. produces:
  13677. - application/json
  13678. responses:
  13679. "200":
  13680. description: OK
  13681. schema:
  13682. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  13683. "500":
  13684. description: Internal Server Error
  13685. schema:
  13686. $ref: '#/definitions/app.Response'
  13687. security:
  13688. - ApiKeyAuth: []
  13689. summary: 查询商品交割关系表
  13690. tags:
  13691. - 交割服务
  13692. /Ermcp/GetErmcpGoods:
  13693. get:
  13694. parameters:
  13695. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13696. in: query
  13697. name: lastUpdateTime
  13698. type: string
  13699. produces:
  13700. - application/json
  13701. responses:
  13702. "200":
  13703. description: OK
  13704. schema:
  13705. $ref: '#/definitions/models.ErmcpGoods'
  13706. "500":
  13707. description: Internal Server Error
  13708. schema:
  13709. $ref: '#/definitions/app.Response'
  13710. security:
  13711. - ApiKeyAuth: []
  13712. summary: 查询企业风管期货商品信息
  13713. tags:
  13714. - 企业风险管理(app)
  13715. /Ermcp/GetErmcpGoodsSortByPosition:
  13716. get:
  13717. parameters:
  13718. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  13719. in: query
  13720. name: sortIndex
  13721. type: string
  13722. produces:
  13723. - application/json
  13724. responses:
  13725. "200":
  13726. description: OK
  13727. schema:
  13728. $ref: '#/definitions/models.Goodssortbypreposition'
  13729. "500":
  13730. description: Internal Server Error
  13731. schema:
  13732. $ref: '#/definitions/app.Response'
  13733. security:
  13734. - ApiKeyAuth: []
  13735. summary: 查询企业风管期货主力、次主力商品信息
  13736. tags:
  13737. - 企业风险管理(app)
  13738. /Ermcp/GetErmcpOutAccountStatus:
  13739. get:
  13740. parameters:
  13741. - description: 登录账号
  13742. in: query
  13743. name: loginID
  13744. required: true
  13745. type: integer
  13746. produces:
  13747. - application/json
  13748. responses:
  13749. "200":
  13750. description: OK
  13751. schema:
  13752. $ref: '#/definitions/models.Hedgemarketopenlog'
  13753. "500":
  13754. description: Internal Server Error
  13755. schema:
  13756. $ref: '#/definitions/app.Response'
  13757. security:
  13758. - ApiKeyAuth: []
  13759. summary: 获取目标登录账号当前对冲账号在线状态
  13760. tags:
  13761. - 企业风险管理(app)
  13762. /Ermcp/GetErmcpRoleFuncMenuLists:
  13763. get:
  13764. parameters:
  13765. - description: 登录账号
  13766. in: query
  13767. name: loginID
  13768. required: true
  13769. type: integer
  13770. produces:
  13771. - application/json
  13772. responses:
  13773. "200":
  13774. description: OK
  13775. schema:
  13776. $ref: '#/definitions/models.Funcmenulist'
  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/QueryAccMgrBizGroupSet:
  13787. get:
  13788. parameters:
  13789. - description: 用户ID
  13790. in: query
  13791. name: userid
  13792. required: true
  13793. type: integer
  13794. - description: 现货商品id
  13795. in: query
  13796. name: deliverygoodsid
  13797. type: integer
  13798. produces:
  13799. - application/json
  13800. responses:
  13801. "200":
  13802. description: OK
  13803. schema:
  13804. items:
  13805. $ref: '#/definitions/models.ErmcpBizGroupEx'
  13806. type: array
  13807. "500":
  13808. description: Internal Server Error
  13809. schema:
  13810. $ref: '#/definitions/app.Response'
  13811. security:
  13812. - ApiKeyAuth: []
  13813. summary: 查询业务类型分组(账户管理/账户设置)
  13814. tags:
  13815. - 企业风险管理(app)
  13816. /Ermcp/QueryAccMgrLoginUser:
  13817. get:
  13818. parameters:
  13819. - description: 用户ID
  13820. in: query
  13821. name: userid
  13822. required: true
  13823. type: integer
  13824. - description: 用户类型 2-机构 7-企业成员
  13825. in: query
  13826. name: usertype
  13827. type: integer
  13828. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  13829. in: query
  13830. name: querytype
  13831. required: true
  13832. type: integer
  13833. produces:
  13834. - application/json
  13835. responses:
  13836. "200":
  13837. description: OK
  13838. schema:
  13839. items:
  13840. $ref: '#/definitions/models.ErmcpLoginUserEx'
  13841. type: array
  13842. "500":
  13843. description: Internal Server Error
  13844. schema:
  13845. $ref: '#/definitions/app.Response'
  13846. security:
  13847. - ApiKeyAuth: []
  13848. summary: 查询账户管理登录账号(账户管理/登录账号)
  13849. tags:
  13850. - 企业风险管理(app)
  13851. /Ermcp/QueryAccMgrMainAccountInfo:
  13852. get:
  13853. parameters:
  13854. - description: 用户ID
  13855. in: query
  13856. name: userid
  13857. type: integer
  13858. - description: 主账号id
  13859. in: query
  13860. name: accountid
  13861. type: integer
  13862. produces:
  13863. - application/json
  13864. responses:
  13865. "200":
  13866. description: OK
  13867. schema:
  13868. items:
  13869. $ref: '#/definitions/models.MainAccountInfo'
  13870. type: array
  13871. "500":
  13872. description: Internal Server Error
  13873. schema:
  13874. $ref: '#/definitions/app.Response'
  13875. security:
  13876. - ApiKeyAuth: []
  13877. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  13878. tags:
  13879. - 企业风险管理(app)
  13880. /Ermcp/QueryAccMgrRole:
  13881. get:
  13882. parameters:
  13883. - description: 用户ID
  13884. in: query
  13885. name: userid
  13886. required: true
  13887. type: integer
  13888. produces:
  13889. - application/json
  13890. responses:
  13891. "200":
  13892. description: OK
  13893. schema:
  13894. items:
  13895. $ref: '#/definitions/models.ErmcpRole'
  13896. type: array
  13897. "500":
  13898. description: Internal Server Error
  13899. schema:
  13900. $ref: '#/definitions/app.Response'
  13901. security:
  13902. - ApiKeyAuth: []
  13903. summary: 查询账户管理角色设置(账户管理/角色设置)
  13904. tags:
  13905. - 企业风险管理(app)
  13906. /Ermcp/QueryAccMgrRoleMenu:
  13907. get:
  13908. parameters:
  13909. - description: 用户ID
  13910. in: query
  13911. name: userid
  13912. required: true
  13913. type: integer
  13914. - description: 角色id(可多个,逗号隔开)
  13915. in: query
  13916. name: roleid
  13917. type: string
  13918. produces:
  13919. - application/json
  13920. responses:
  13921. "200":
  13922. description: OK
  13923. schema:
  13924. items:
  13925. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  13926. type: array
  13927. "500":
  13928. description: Internal Server Error
  13929. schema:
  13930. $ref: '#/definitions/app.Response'
  13931. security:
  13932. - ApiKeyAuth: []
  13933. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  13934. tags:
  13935. - 企业风险管理(app)
  13936. /Ermcp/QueryAccMgrTaAccountInfo:
  13937. get:
  13938. parameters:
  13939. - description: 用户ID
  13940. in: query
  13941. name: userid
  13942. required: true
  13943. type: integer
  13944. - description: 账号id
  13945. in: query
  13946. name: accountid
  13947. type: integer
  13948. produces:
  13949. - application/json
  13950. responses:
  13951. "200":
  13952. description: OK
  13953. schema:
  13954. items:
  13955. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  13956. type: array
  13957. "500":
  13958. description: Internal Server Error
  13959. schema:
  13960. $ref: '#/definitions/app.Response'
  13961. security:
  13962. - ApiKeyAuth: []
  13963. summary: 查询账户管理授信(账户管理/账户设置/授信)
  13964. tags:
  13965. - 企业风险管理(app)
  13966. /Ermcp/QueryAccMgrTaaccount:
  13967. get:
  13968. parameters:
  13969. - description: 用户ID
  13970. in: query
  13971. name: userid
  13972. required: true
  13973. type: integer
  13974. produces:
  13975. - application/json
  13976. responses:
  13977. "200":
  13978. description: OK
  13979. schema:
  13980. items:
  13981. $ref: '#/definitions/models.ErmcpTaAccountEx'
  13982. type: array
  13983. "500":
  13984. description: Internal Server Error
  13985. schema:
  13986. $ref: '#/definitions/app.Response'
  13987. security:
  13988. - ApiKeyAuth: []
  13989. summary: 查询账户管理期货账号(账户管理/期货账号)
  13990. tags:
  13991. - 企业风险管理(app)
  13992. /Ermcp/QueryAvaildGoodsGroup:
  13993. get:
  13994. parameters:
  13995. - description: 所属机构ID
  13996. in: query
  13997. name: userid
  13998. required: true
  13999. type: integer
  14000. produces:
  14001. - application/json
  14002. responses:
  14003. "200":
  14004. description: OK
  14005. schema:
  14006. items:
  14007. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  14008. type: array
  14009. "500":
  14010. description: Internal Server Error
  14011. schema:
  14012. $ref: '#/definitions/app.Response'
  14013. security:
  14014. - ApiKeyAuth: []
  14015. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  14016. tags:
  14017. - 企业风险管理(app)
  14018. /Ermcp/QueryBusinessDj:
  14019. get:
  14020. parameters:
  14021. - description: 用户ID
  14022. in: query
  14023. name: UserId
  14024. required: true
  14025. type: integer
  14026. - description: 用户类型 2-机构 7-企业成员
  14027. in: query
  14028. name: usertype
  14029. type: integer
  14030. - description: 现货合同ID, 不填则查所有
  14031. in: query
  14032. name: relatedid
  14033. type: string
  14034. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14035. in: query
  14036. name: applystatus
  14037. type: string
  14038. produces:
  14039. - application/json
  14040. responses:
  14041. "200":
  14042. description: OK
  14043. schema:
  14044. items:
  14045. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  14046. type: array
  14047. "500":
  14048. description: Internal Server Error
  14049. schema:
  14050. $ref: '#/definitions/app.Response'
  14051. security:
  14052. - ApiKeyAuth: []
  14053. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  14054. tags:
  14055. - 企业风险管理(app)
  14056. /Ermcp/QueryBusinessFp:
  14057. get:
  14058. parameters:
  14059. - description: 用户ID
  14060. in: query
  14061. name: UserId
  14062. required: true
  14063. type: integer
  14064. - description: 用户类型 2-机构 7-企业成员
  14065. in: query
  14066. name: usertype
  14067. type: integer
  14068. - description: 现货合同ID, 不填则查所有
  14069. in: query
  14070. name: relatedid
  14071. type: string
  14072. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14073. in: query
  14074. name: applystatus
  14075. type: string
  14076. produces:
  14077. - application/json
  14078. responses:
  14079. "200":
  14080. description: OK
  14081. schema:
  14082. items:
  14083. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  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/QueryBusinessJs:
  14095. get:
  14096. parameters:
  14097. - description: 用户ID
  14098. in: query
  14099. name: UserId
  14100. required: true
  14101. type: integer
  14102. - description: 用户类型 2-机构 7-企业成员
  14103. in: query
  14104. name: usertype
  14105. type: integer
  14106. - description: 现货合同ID, 不填则查所有
  14107. in: query
  14108. name: relatedid
  14109. type: string
  14110. - description: 操作申请id
  14111. in: query
  14112. name: operateapplyid
  14113. type: string
  14114. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14115. in: query
  14116. name: applystatus
  14117. type: string
  14118. produces:
  14119. - application/json
  14120. responses:
  14121. "200":
  14122. description: OK
  14123. schema:
  14124. items:
  14125. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  14126. type: array
  14127. "500":
  14128. description: Internal Server Error
  14129. schema:
  14130. $ref: '#/definitions/app.Response'
  14131. security:
  14132. - ApiKeyAuth: []
  14133. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  14134. tags:
  14135. - 企业风险管理(app)
  14136. /Ermcp/QueryBusinessJsEx:
  14137. get:
  14138. parameters:
  14139. - description: 用户ID
  14140. in: query
  14141. name: UserId
  14142. required: true
  14143. type: integer
  14144. - description: 用户类型 2-机构 7-企业成员
  14145. in: query
  14146. name: usertype
  14147. type: integer
  14148. - description: 现货合同ID, 不填则查所有
  14149. in: query
  14150. name: relatedid
  14151. type: string
  14152. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14153. in: query
  14154. name: applystatus
  14155. type: string
  14156. produces:
  14157. - application/json
  14158. responses:
  14159. "200":
  14160. description: OK
  14161. schema:
  14162. items:
  14163. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  14164. type: array
  14165. "500":
  14166. description: Internal Server Error
  14167. schema:
  14168. $ref: '#/definitions/app.Response'
  14169. security:
  14170. - ApiKeyAuth: []
  14171. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  14172. tags:
  14173. - 企业风险管理(app)
  14174. /Ermcp/QueryBusinessKx:
  14175. get:
  14176. parameters:
  14177. - description: 用户ID
  14178. in: query
  14179. name: UserId
  14180. required: true
  14181. type: integer
  14182. - description: 用户类型 2-机构 7-企业成员
  14183. in: query
  14184. name: usertype
  14185. type: integer
  14186. - description: 现货合同ID, 不填则查所有
  14187. in: query
  14188. name: relatedid
  14189. type: string
  14190. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14191. in: query
  14192. name: applystatus
  14193. type: string
  14194. produces:
  14195. - application/json
  14196. responses:
  14197. "200":
  14198. description: OK
  14199. schema:
  14200. items:
  14201. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  14202. type: array
  14203. "500":
  14204. description: Internal Server Error
  14205. schema:
  14206. $ref: '#/definitions/app.Response'
  14207. security:
  14208. - ApiKeyAuth: []
  14209. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  14210. tags:
  14211. - 企业风险管理(app)
  14212. /Ermcp/QueryChangeLog:
  14213. get:
  14214. parameters:
  14215. - description: 合同ID
  14216. in: query
  14217. name: RelatedId
  14218. required: true
  14219. type: string
  14220. produces:
  14221. - application/json
  14222. responses:
  14223. "200":
  14224. description: OK
  14225. schema:
  14226. items:
  14227. $ref: '#/definitions/ermcp.QryOPLogRsp'
  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/QueryErmcpHisOrderDetails:
  14239. get:
  14240. parameters:
  14241. - description: 资金账户ID
  14242. in: query
  14243. name: accountID
  14244. required: true
  14245. type: integer
  14246. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14247. in: query
  14248. name: startDate
  14249. type: string
  14250. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14251. in: query
  14252. name: endDate
  14253. type: string
  14254. produces:
  14255. - application/json
  14256. responses:
  14257. "200":
  14258. description: OK
  14259. schema:
  14260. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14261. "500":
  14262. description: Internal Server Error
  14263. schema:
  14264. $ref: '#/definitions/app.Response'
  14265. security:
  14266. - ApiKeyAuth: []
  14267. summary: 获取企业风管期货历史委托单信息
  14268. tags:
  14269. - 企业风险管理(app)
  14270. /Ermcp/QueryErmcpHisTradeDetails:
  14271. get:
  14272. parameters:
  14273. - description: 资金账户ID
  14274. in: query
  14275. name: accountID
  14276. required: true
  14277. type: integer
  14278. - description: 商品ID
  14279. in: query
  14280. name: goodsID
  14281. type: integer
  14282. - description: 买卖方向,0:买 1:卖
  14283. in: query
  14284. name: buyOrSell
  14285. type: integer
  14286. - description: 关联委托单号
  14287. in: query
  14288. name: orderID
  14289. type: integer
  14290. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14291. in: query
  14292. name: startDate
  14293. type: string
  14294. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14295. in: query
  14296. name: endDate
  14297. type: string
  14298. produces:
  14299. - application/json
  14300. responses:
  14301. "200":
  14302. description: OK
  14303. schema:
  14304. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14305. "500":
  14306. description: Internal Server Error
  14307. schema:
  14308. $ref: '#/definitions/app.Response'
  14309. security:
  14310. - ApiKeyAuth: []
  14311. summary: 获取企业风管期货历史成交单信息
  14312. tags:
  14313. - 企业风险管理(app)
  14314. /Ermcp/QueryErmcpInnerHolderDetails:
  14315. get:
  14316. parameters:
  14317. - description: 资金账户ID
  14318. in: query
  14319. name: accountID
  14320. required: true
  14321. type: integer
  14322. - description: 商品ID
  14323. in: query
  14324. name: goodsID
  14325. type: integer
  14326. - description: 买卖方向,0:买 1:卖
  14327. in: query
  14328. name: buyOrSell
  14329. type: integer
  14330. produces:
  14331. - application/json
  14332. responses:
  14333. "200":
  14334. description: OK
  14335. schema:
  14336. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  14337. "500":
  14338. description: Internal Server Error
  14339. schema:
  14340. $ref: '#/definitions/app.Response'
  14341. security:
  14342. - ApiKeyAuth: []
  14343. summary: 获取企业风管期货内部持仓单信息
  14344. tags:
  14345. - 企业风险管理(app)
  14346. /Ermcp/QueryErmcpOrderDetails:
  14347. get:
  14348. parameters:
  14349. - description: 资金账户ID
  14350. in: query
  14351. name: accountID
  14352. required: true
  14353. type: integer
  14354. produces:
  14355. - application/json
  14356. responses:
  14357. "200":
  14358. description: OK
  14359. schema:
  14360. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14361. "500":
  14362. description: Internal Server Error
  14363. schema:
  14364. $ref: '#/definitions/app.Response'
  14365. security:
  14366. - ApiKeyAuth: []
  14367. summary: 获取企业风管期货委托单信息
  14368. tags:
  14369. - 企业风险管理(app)
  14370. /Ermcp/QueryErmcpTradeDetails:
  14371. get:
  14372. parameters:
  14373. - description: 资金账户ID
  14374. in: query
  14375. name: accountID
  14376. required: true
  14377. type: integer
  14378. - description: 商品ID
  14379. in: query
  14380. name: goodsID
  14381. type: integer
  14382. - description: 买卖方向,0:买 1:卖
  14383. in: query
  14384. name: buyOrSell
  14385. type: integer
  14386. - description: 关联委托单号
  14387. in: query
  14388. name: orderID
  14389. type: integer
  14390. produces:
  14391. - application/json
  14392. responses:
  14393. "200":
  14394. description: OK
  14395. schema:
  14396. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14397. "500":
  14398. description: Internal Server Error
  14399. schema:
  14400. $ref: '#/definitions/app.Response'
  14401. security:
  14402. - ApiKeyAuth: []
  14403. summary: 获取企业风管期货成交单信息
  14404. tags:
  14405. - 企业风险管理(app)
  14406. /Ermcp/QueryErmcpTradePosition:
  14407. get:
  14408. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  14409. parameters:
  14410. - description: 资金账户ID
  14411. in: query
  14412. name: accountID
  14413. required: true
  14414. type: integer
  14415. - description: 所属市场ID
  14416. in: query
  14417. name: marketID
  14418. type: integer
  14419. produces:
  14420. - application/json
  14421. responses:
  14422. "200":
  14423. description: OK
  14424. schema:
  14425. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  14426. "500":
  14427. description: Internal Server Error
  14428. schema:
  14429. $ref: '#/definitions/app.Response'
  14430. security:
  14431. - ApiKeyAuth: []
  14432. summary: 获取企业风管期货持仓头寸信息
  14433. tags:
  14434. - 企业风险管理(app)
  14435. /Ermcp/QueryExposureDetail:
  14436. get:
  14437. parameters:
  14438. - description: 所属机构ID
  14439. in: query
  14440. name: areaUserId
  14441. required: true
  14442. type: integer
  14443. - description: 套保商品
  14444. in: query
  14445. name: middleGoodsId
  14446. required: true
  14447. type: integer
  14448. produces:
  14449. - application/json
  14450. responses:
  14451. "200":
  14452. description: OK
  14453. schema:
  14454. items:
  14455. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  14456. type: array
  14457. "500":
  14458. description: Internal Server Error
  14459. schema:
  14460. $ref: '#/definitions/app.Response'
  14461. security:
  14462. - ApiKeyAuth: []
  14463. summary: 查询敞口现货明细
  14464. tags:
  14465. - 企业风险管理(app)
  14466. /Ermcp/QueryExposureHedgePosition:
  14467. get:
  14468. parameters:
  14469. - description: 用户id
  14470. in: query
  14471. name: userid
  14472. required: true
  14473. type: integer
  14474. produces:
  14475. - application/json
  14476. responses:
  14477. "200":
  14478. description: OK
  14479. schema:
  14480. items:
  14481. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  14482. type: array
  14483. "500":
  14484. description: Internal Server Error
  14485. schema:
  14486. $ref: '#/definitions/app.Response'
  14487. security:
  14488. - ApiKeyAuth: []
  14489. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  14490. tags:
  14491. - 企业风险管理(app)
  14492. /Ermcp/QueryExposureHedgePositionDetail:
  14493. get:
  14494. parameters:
  14495. - description: 所属机构ID
  14496. in: query
  14497. name: userid
  14498. required: true
  14499. type: integer
  14500. - description: 商品id
  14501. in: query
  14502. name: goodsId
  14503. required: true
  14504. type: integer
  14505. produces:
  14506. - application/json
  14507. responses:
  14508. "200":
  14509. description: OK
  14510. schema:
  14511. items:
  14512. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  14513. type: array
  14514. "500":
  14515. description: Internal Server Error
  14516. schema:
  14517. $ref: '#/definitions/app.Response'
  14518. security:
  14519. - ApiKeyAuth: []
  14520. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  14521. tags:
  14522. - 企业风险管理(app)
  14523. /Ermcp/QueryExposureSpot:
  14524. get:
  14525. parameters:
  14526. - description: 所属机构ID
  14527. in: query
  14528. name: areaUserId
  14529. required: true
  14530. type: integer
  14531. produces:
  14532. - application/json
  14533. responses:
  14534. "200":
  14535. description: OK
  14536. schema:
  14537. items:
  14538. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  14539. type: array
  14540. "500":
  14541. description: Internal Server Error
  14542. schema:
  14543. $ref: '#/definitions/app.Response'
  14544. security:
  14545. - ApiKeyAuth: []
  14546. summary: 查询敞口现货头寸(敞口/现货头寸)
  14547. tags:
  14548. - 企业风险管理(app)
  14549. /Ermcp/QueryExposureSpotDetail:
  14550. get:
  14551. parameters:
  14552. - description: 所属机构ID
  14553. in: query
  14554. name: areaUserId
  14555. required: true
  14556. type: integer
  14557. - description: 现货品种ID
  14558. in: query
  14559. name: wrstandardId
  14560. required: true
  14561. type: integer
  14562. produces:
  14563. - application/json
  14564. responses:
  14565. "200":
  14566. description: OK
  14567. schema:
  14568. items:
  14569. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  14570. type: array
  14571. "500":
  14572. description: Internal Server Error
  14573. schema:
  14574. $ref: '#/definitions/app.Response'
  14575. security:
  14576. - ApiKeyAuth: []
  14577. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14578. tags:
  14579. - 企业风险管理(app)
  14580. /Ermcp/QueryFuturesCompany:
  14581. get:
  14582. produces:
  14583. - application/json
  14584. responses:
  14585. "200":
  14586. description: OK
  14587. schema:
  14588. items:
  14589. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14590. type: array
  14591. "500":
  14592. description: Internal Server Error
  14593. schema:
  14594. $ref: '#/definitions/app.Response'
  14595. security:
  14596. - ApiKeyAuth: []
  14597. summary: 查询期货公司
  14598. tags:
  14599. - 企业风险管理(app)
  14600. /Ermcp/QueryGGConvertConfig:
  14601. get:
  14602. parameters:
  14603. - description: 品种id(不填则查所有)
  14604. in: query
  14605. name: goodsgroupid
  14606. type: integer
  14607. produces:
  14608. - application/json
  14609. responses:
  14610. "200":
  14611. description: OK
  14612. schema:
  14613. items:
  14614. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  14615. type: array
  14616. "500":
  14617. description: Internal Server Error
  14618. schema:
  14619. $ref: '#/definitions/app.Response'
  14620. security:
  14621. - ApiKeyAuth: []
  14622. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  14623. tags:
  14624. - 企业风险管理(app)
  14625. /Ermcp/QueryGoodsBrand:
  14626. get:
  14627. parameters:
  14628. - description: 用户ID
  14629. in: query
  14630. name: userid
  14631. required: true
  14632. type: integer
  14633. - description: 现货商品ID
  14634. in: query
  14635. name: wrstandardid
  14636. type: integer
  14637. produces:
  14638. - application/json
  14639. responses:
  14640. "200":
  14641. description: OK
  14642. schema:
  14643. items:
  14644. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14645. type: array
  14646. "500":
  14647. description: Internal Server Error
  14648. schema:
  14649. $ref: '#/definitions/app.Response'
  14650. security:
  14651. - ApiKeyAuth: []
  14652. summary: 查询商品品牌
  14653. tags:
  14654. - 企业风险管理(app)
  14655. /Ermcp/QueryGoodsModel:
  14656. get:
  14657. parameters:
  14658. - description: 用户ID
  14659. in: query
  14660. name: userid
  14661. required: true
  14662. type: integer
  14663. produces:
  14664. - application/json
  14665. responses:
  14666. "200":
  14667. description: OK
  14668. schema:
  14669. items:
  14670. $ref: '#/definitions/models.ErmcpGoodsModel'
  14671. type: array
  14672. "500":
  14673. description: Internal Server Error
  14674. schema:
  14675. $ref: '#/definitions/app.Response'
  14676. security:
  14677. - ApiKeyAuth: []
  14678. summary: 查询商品型号
  14679. tags:
  14680. - 企业风险管理(app)
  14681. /Ermcp/QueryHisExposure:
  14682. get:
  14683. parameters:
  14684. - description: 用户id
  14685. in: query
  14686. name: userid
  14687. required: true
  14688. type: integer
  14689. - description: 每个品种记录数
  14690. in: query
  14691. name: lastNum
  14692. required: true
  14693. type: integer
  14694. produces:
  14695. - application/json
  14696. responses:
  14697. "200":
  14698. description: OK
  14699. schema:
  14700. items:
  14701. $ref: '#/definitions/ermcp.HisExposureRsp'
  14702. type: array
  14703. "500":
  14704. description: Internal Server Error
  14705. schema:
  14706. $ref: '#/definitions/app.Response'
  14707. security:
  14708. - ApiKeyAuth: []
  14709. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14710. tags:
  14711. - 企业风险管理(app)
  14712. /Ermcp/QueryMiddleGoods:
  14713. get:
  14714. parameters:
  14715. - description: 所属机构ID
  14716. in: query
  14717. name: userid
  14718. required: true
  14719. type: integer
  14720. - description: 状态 0-停用 1-正常
  14721. in: query
  14722. name: status
  14723. required: true
  14724. type: integer
  14725. produces:
  14726. - application/json
  14727. responses:
  14728. "200":
  14729. description: OK
  14730. schema:
  14731. items:
  14732. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14733. type: array
  14734. "500":
  14735. description: Internal Server Error
  14736. schema:
  14737. $ref: '#/definitions/app.Response'
  14738. security:
  14739. - ApiKeyAuth: []
  14740. summary: 查询套保品种(菜单:套保品种)
  14741. tags:
  14742. - 企业风险管理(app)
  14743. /Ermcp/QueryMiddleGoodsChangeLog:
  14744. get:
  14745. parameters:
  14746. - description: 所属机构ID
  14747. in: query
  14748. name: userid
  14749. required: true
  14750. type: integer
  14751. - description: 套保品种id
  14752. in: query
  14753. name: middlegoodsid
  14754. required: true
  14755. type: integer
  14756. produces:
  14757. - application/json
  14758. responses:
  14759. "200":
  14760. description: OK
  14761. schema:
  14762. items:
  14763. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  14764. type: array
  14765. "500":
  14766. description: Internal Server Error
  14767. schema:
  14768. $ref: '#/definitions/app.Response'
  14769. security:
  14770. - ApiKeyAuth: []
  14771. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  14772. tags:
  14773. - 企业风险管理(app)
  14774. /Ermcp/QueryMiddleGoodsDetail:
  14775. get:
  14776. parameters:
  14777. - description: 所属机构ID
  14778. in: query
  14779. name: userid
  14780. required: true
  14781. type: integer
  14782. - description: 套保品种id
  14783. in: query
  14784. name: middlegoodsid
  14785. type: integer
  14786. produces:
  14787. - application/json
  14788. responses:
  14789. "200":
  14790. description: OK
  14791. schema:
  14792. items:
  14793. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  14794. type: array
  14795. "500":
  14796. description: Internal Server Error
  14797. schema:
  14798. $ref: '#/definitions/app.Response'
  14799. security:
  14800. - ApiKeyAuth: []
  14801. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  14802. tags:
  14803. - 企业风险管理(app)
  14804. /Ermcp/QueryPendingAuditInfo:
  14805. get:
  14806. parameters:
  14807. - description: 用户ID
  14808. in: query
  14809. name: UserId
  14810. required: true
  14811. type: integer
  14812. produces:
  14813. - application/json
  14814. responses:
  14815. "200":
  14816. description: OK
  14817. schema:
  14818. items:
  14819. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  14820. type: array
  14821. "500":
  14822. description: Internal Server Error
  14823. schema:
  14824. $ref: '#/definitions/app.Response'
  14825. security:
  14826. - ApiKeyAuth: []
  14827. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  14828. tags:
  14829. - 企业风险管理(app)
  14830. /Ermcp/QueryRealtimeExposure:
  14831. get:
  14832. parameters:
  14833. - description: 所属机构ID
  14834. in: query
  14835. name: userid
  14836. required: true
  14837. type: integer
  14838. produces:
  14839. - application/json
  14840. responses:
  14841. "200":
  14842. description: OK
  14843. schema:
  14844. items:
  14845. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14846. type: array
  14847. "500":
  14848. description: Internal Server Error
  14849. schema:
  14850. $ref: '#/definitions/app.Response'
  14851. security:
  14852. - ApiKeyAuth: []
  14853. summary: 查询实时敞口
  14854. tags:
  14855. - 企业风险管理(app)
  14856. /Ermcp/QueryRealtimeExposurePosition:
  14857. get:
  14858. parameters:
  14859. - description: 用户id
  14860. in: query
  14861. name: userid
  14862. required: true
  14863. type: integer
  14864. - description: 套保商品ID
  14865. in: query
  14866. name: middleGoodsId
  14867. required: true
  14868. type: integer
  14869. produces:
  14870. - application/json
  14871. responses:
  14872. "200":
  14873. description: OK
  14874. schema:
  14875. items:
  14876. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14877. type: array
  14878. "500":
  14879. description: Internal Server Error
  14880. schema:
  14881. $ref: '#/definitions/app.Response'
  14882. security:
  14883. - ApiKeyAuth: []
  14884. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14885. tags:
  14886. - 企业风险管理(app)
  14887. /Ermcp/QueryTradeConfigTMP:
  14888. get:
  14889. parameters:
  14890. - description: 所属机构id
  14891. in: query
  14892. name: areauserid
  14893. type: integer
  14894. produces:
  14895. - application/json
  14896. responses:
  14897. "200":
  14898. description: OK
  14899. schema:
  14900. items:
  14901. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14902. type: array
  14903. "500":
  14904. description: Internal Server Error
  14905. schema:
  14906. $ref: '#/definitions/app.Response'
  14907. security:
  14908. - ApiKeyAuth: []
  14909. summary: 查询交易模板配置
  14910. tags:
  14911. - 企业风险管理(app)
  14912. /Ermcp/QueryUserInfo:
  14913. get:
  14914. parameters:
  14915. - description: 所属机构用户ID
  14916. in: query
  14917. name: MemberUserID
  14918. required: true
  14919. type: integer
  14920. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14921. in: query
  14922. name: queryType
  14923. required: true
  14924. type: integer
  14925. produces:
  14926. - application/json
  14927. responses:
  14928. "200":
  14929. description: OK
  14930. schema:
  14931. items:
  14932. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  14933. type: array
  14934. "500":
  14935. description: Internal Server Error
  14936. schema:
  14937. $ref: '#/definitions/app.Response'
  14938. security:
  14939. - ApiKeyAuth: []
  14940. summary: 查询客户资料
  14941. tags:
  14942. - 企业风险管理(app)
  14943. /Ermcp/QueryWarehouseInfo:
  14944. get:
  14945. parameters:
  14946. - description: 用户ID
  14947. in: query
  14948. name: userid
  14949. required: true
  14950. type: integer
  14951. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  14952. in: query
  14953. name: status
  14954. type: string
  14955. produces:
  14956. - application/json
  14957. responses:
  14958. "200":
  14959. description: OK
  14960. schema:
  14961. items:
  14962. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  14963. type: array
  14964. "500":
  14965. description: Internal Server Error
  14966. schema:
  14967. $ref: '#/definitions/app.Response'
  14968. security:
  14969. - ApiKeyAuth: []
  14970. summary: 查询仓库信息
  14971. tags:
  14972. - 企业风险管理(app)
  14973. /Ermcp3/QryAreaExpourseContractDetail:
  14974. get:
  14975. parameters:
  14976. - description: 用户ID
  14977. in: query
  14978. name: userid
  14979. required: true
  14980. type: integer
  14981. - description: 套保商品id
  14982. in: query
  14983. name: middlegoodsid
  14984. required: true
  14985. type: integer
  14986. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14987. in: query
  14988. name: cycletype
  14989. required: true
  14990. type: integer
  14991. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14992. 全(0)【原值】
  14993. in: query
  14994. name: cycletime
  14995. required: true
  14996. type: string
  14997. produces:
  14998. - application/json
  14999. responses:
  15000. "200":
  15001. description: OK
  15002. schema:
  15003. items:
  15004. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  15005. type: array
  15006. "500":
  15007. description: Internal Server Error
  15008. schema:
  15009. $ref: '#/definitions/app.Response'
  15010. security:
  15011. - ApiKeyAuth: []
  15012. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  15013. tags:
  15014. - 企业风险管理v3(app)
  15015. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  15016. get:
  15017. parameters:
  15018. - description: 用户ID
  15019. in: query
  15020. name: userid
  15021. required: true
  15022. type: integer
  15023. - description: 套保商品id
  15024. in: query
  15025. name: middlegoodsid
  15026. required: true
  15027. type: integer
  15028. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15029. in: query
  15030. name: cycletype
  15031. required: true
  15032. type: integer
  15033. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15034. 全(0)【原值】
  15035. in: query
  15036. name: cycletime
  15037. required: true
  15038. type: string
  15039. produces:
  15040. - application/json
  15041. responses:
  15042. "200":
  15043. description: OK
  15044. schema:
  15045. items:
  15046. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  15047. type: array
  15048. "500":
  15049. description: Internal Server Error
  15050. schema:
  15051. $ref: '#/definitions/app.Response'
  15052. security:
  15053. - ApiKeyAuth: []
  15054. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  15055. tags:
  15056. - 企业风险管理v3(app)
  15057. /Ermcp3/QryAreaExpourseReport:
  15058. get:
  15059. parameters:
  15060. - description: 用户ID
  15061. in: query
  15062. name: userid
  15063. required: true
  15064. type: integer
  15065. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  15066. in: query
  15067. name: querytype
  15068. required: true
  15069. type: integer
  15070. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15071. in: query
  15072. name: cycletype
  15073. required: true
  15074. type: integer
  15075. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15076. 全(0)【原值】
  15077. in: query
  15078. name: cycletime
  15079. required: true
  15080. type: string
  15081. produces:
  15082. - application/json
  15083. responses:
  15084. "200":
  15085. description: OK
  15086. schema:
  15087. items:
  15088. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  15089. type: array
  15090. "500":
  15091. description: Internal Server Error
  15092. schema:
  15093. $ref: '#/definitions/app.Response'
  15094. security:
  15095. - ApiKeyAuth: []
  15096. summary: 查询敞口报表
  15097. tags:
  15098. - 企业风险管理v3(app)
  15099. /Ermcp3/QryAreaSpotplReport:
  15100. get:
  15101. parameters:
  15102. - description: 用户ID
  15103. in: query
  15104. name: userid
  15105. required: true
  15106. type: integer
  15107. - description: 查询类型 1-报表 2-报表明细
  15108. in: query
  15109. name: querytype
  15110. required: true
  15111. type: integer
  15112. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15113. in: query
  15114. name: cycletype
  15115. required: true
  15116. type: integer
  15117. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15118. 全(0)【原值】
  15119. in: query
  15120. name: cycletime
  15121. required: true
  15122. type: string
  15123. - description: 现货品种id(明细必填)
  15124. in: query
  15125. name: deliverygoodsid
  15126. type: integer
  15127. - description: 币种id(明细必填)
  15128. in: query
  15129. name: currencyid
  15130. type: integer
  15131. produces:
  15132. - application/json
  15133. responses:
  15134. "200":
  15135. description: OK
  15136. schema:
  15137. items:
  15138. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  15139. type: array
  15140. "500":
  15141. description: Internal Server Error
  15142. schema:
  15143. $ref: '#/definitions/app.Response'
  15144. security:
  15145. - ApiKeyAuth: []
  15146. summary: 查询现货报表
  15147. tags:
  15148. - 企业风险管理v3(app)
  15149. /Ermcp3/QryAreaStockReport:
  15150. get:
  15151. parameters:
  15152. - description: 用户ID
  15153. in: query
  15154. name: userid
  15155. required: true
  15156. type: integer
  15157. - description: 查询类型 1-报表 2-报表明细
  15158. in: query
  15159. name: querytype
  15160. required: true
  15161. type: integer
  15162. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15163. in: query
  15164. name: cycletype
  15165. required: true
  15166. type: integer
  15167. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15168. 全(0)【原值】
  15169. in: query
  15170. name: cycletime
  15171. required: true
  15172. type: string
  15173. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  15174. in: query
  15175. name: sumfields
  15176. type: string
  15177. - description: 品种ID
  15178. in: query
  15179. name: deliverygoodsid
  15180. type: integer
  15181. - description: 品类ID
  15182. in: query
  15183. name: wrstandardid
  15184. type: integer
  15185. - description: 品牌ID
  15186. in: query
  15187. name: spotgoodsbrandid
  15188. type: integer
  15189. - description: 仓库ID
  15190. in: query
  15191. name: warehouseinfoid
  15192. type: integer
  15193. produces:
  15194. - application/json
  15195. responses:
  15196. "200":
  15197. description: OK
  15198. schema:
  15199. items:
  15200. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  15201. type: array
  15202. "500":
  15203. description: Internal Server Error
  15204. schema:
  15205. $ref: '#/definitions/app.Response'
  15206. security:
  15207. - ApiKeyAuth: []
  15208. summary: 查询库存报表
  15209. tags:
  15210. - 企业风险管理v3(app)
  15211. /Ermcp3/QryAreaSumPL:
  15212. get:
  15213. parameters:
  15214. - description: 用户ID
  15215. in: query
  15216. name: userid
  15217. required: true
  15218. type: integer
  15219. - description: 查询类型 1-报表 2-报表明细
  15220. in: query
  15221. name: querytype
  15222. required: true
  15223. type: integer
  15224. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15225. in: query
  15226. name: cycletype
  15227. required: true
  15228. type: integer
  15229. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15230. 全(0)【原值】
  15231. in: query
  15232. name: cycletime
  15233. required: true
  15234. type: string
  15235. - description: 币种id(明细必填)
  15236. in: query
  15237. name: currencyid
  15238. type: integer
  15239. produces:
  15240. - application/json
  15241. responses:
  15242. "200":
  15243. description: OK
  15244. schema:
  15245. items:
  15246. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  15247. type: array
  15248. "500":
  15249. description: Internal Server Error
  15250. schema:
  15251. $ref: '#/definitions/app.Response'
  15252. security:
  15253. - ApiKeyAuth: []
  15254. summary: 查询汇总损益表
  15255. tags:
  15256. - 企业风险管理v3(app)
  15257. /Ermcp3/QryFinanceReport:
  15258. get:
  15259. parameters:
  15260. - description: 用户ID
  15261. in: query
  15262. name: userid
  15263. required: true
  15264. type: integer
  15265. - description: 查询类型 1-报表 2-报表明细
  15266. in: query
  15267. name: querytype
  15268. required: true
  15269. type: integer
  15270. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15271. in: query
  15272. name: cycletype
  15273. required: true
  15274. type: integer
  15275. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15276. 全(0)【原值】
  15277. in: query
  15278. name: cycletime
  15279. required: true
  15280. type: string
  15281. - description: 币种id(报表明细必填)
  15282. in: query
  15283. name: currencyid
  15284. type: integer
  15285. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  15286. in: query
  15287. name: sumfields
  15288. type: string
  15289. produces:
  15290. - application/json
  15291. responses:
  15292. "200":
  15293. description: OK
  15294. schema:
  15295. items:
  15296. $ref: '#/definitions/models.Ermcp3FinanceReport'
  15297. type: array
  15298. "500":
  15299. description: Internal Server Error
  15300. schema:
  15301. $ref: '#/definitions/app.Response'
  15302. security:
  15303. - ApiKeyAuth: []
  15304. summary: 查询财务报表
  15305. tags:
  15306. - 企业风险管理v3(app)
  15307. /Ermcp3/QryTaFutureDataReport:
  15308. get:
  15309. parameters:
  15310. - description: 用户ID
  15311. in: query
  15312. name: userid
  15313. required: true
  15314. type: integer
  15315. - description: 查询类型 1-报表 2-报表明细
  15316. in: query
  15317. name: querytype
  15318. required: true
  15319. type: integer
  15320. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15321. in: query
  15322. name: cycletype
  15323. required: true
  15324. type: integer
  15325. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15326. 全(0)【原值】
  15327. in: query
  15328. name: cycletime
  15329. required: true
  15330. type: string
  15331. - description: 币种id(查明细必填)
  15332. in: query
  15333. name: currencyid
  15334. type: integer
  15335. - description: 品种id(查明细必填)
  15336. in: query
  15337. name: goodsgroupid
  15338. type: integer
  15339. - description: 商品id(查明细必填)
  15340. in: query
  15341. name: goodsid
  15342. type: integer
  15343. - description: 买卖方向(查明细必填)
  15344. in: query
  15345. name: buyorsell
  15346. type: integer
  15347. produces:
  15348. - application/json
  15349. responses:
  15350. "200":
  15351. description: OK
  15352. schema:
  15353. items:
  15354. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  15355. type: array
  15356. "500":
  15357. description: Internal Server Error
  15358. schema:
  15359. $ref: '#/definitions/app.Response'
  15360. security:
  15361. - ApiKeyAuth: []
  15362. summary: 查询期货报表
  15363. tags:
  15364. - 企业风险管理v3(app)
  15365. /Ermcp3/QueryAreaStock:
  15366. get:
  15367. parameters:
  15368. - description: 用户ID
  15369. in: query
  15370. name: userid
  15371. required: true
  15372. type: integer
  15373. produces:
  15374. - application/json
  15375. responses:
  15376. "200":
  15377. description: OK
  15378. schema:
  15379. items:
  15380. $ref: '#/definitions/models.Ermcp3AreaStock'
  15381. type: array
  15382. "500":
  15383. description: Internal Server Error
  15384. schema:
  15385. $ref: '#/definitions/app.Response'
  15386. security:
  15387. - ApiKeyAuth: []
  15388. summary: 查询机构库存(库存管理/当前库存)
  15389. tags:
  15390. - 企业风险管理v3(app)
  15391. /Ermcp3/QueryAreaStockApply:
  15392. get:
  15393. parameters:
  15394. - description: 用户ID
  15395. in: query
  15396. name: userid
  15397. required: true
  15398. type: integer
  15399. - description: 用户类型 2-机构 7-企业成员
  15400. in: query
  15401. name: usertype
  15402. type: integer
  15403. - description: 现货商品ID
  15404. in: query
  15405. name: deliverygoodsid
  15406. type: integer
  15407. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  15408. in: query
  15409. name: inouttype
  15410. type: string
  15411. - description: 合同ID
  15412. in: query
  15413. name: spotcontractid
  15414. type: integer
  15415. - description: 品类ID
  15416. in: query
  15417. name: wrstandardid
  15418. type: integer
  15419. - description: 品牌ID
  15420. in: query
  15421. name: spotgoodsbrandid
  15422. type: integer
  15423. - description: 仓库ID
  15424. in: query
  15425. name: warehouseinfoid
  15426. type: integer
  15427. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15428. in: query
  15429. name: applystatus
  15430. type: string
  15431. produces:
  15432. - application/json
  15433. responses:
  15434. "200":
  15435. description: OK
  15436. schema:
  15437. items:
  15438. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15439. type: array
  15440. "500":
  15441. description: Internal Server Error
  15442. schema:
  15443. $ref: '#/definitions/app.Response'
  15444. security:
  15445. - ApiKeyAuth: []
  15446. summary: 查询库存申请(出入库记录|库存审核)
  15447. tags:
  15448. - 企业风险管理v3(app)
  15449. /Ermcp3/QueryAreaStockApplySum:
  15450. get:
  15451. parameters:
  15452. - description: 合同ID
  15453. in: query
  15454. name: spotcontractid
  15455. type: integer
  15456. produces:
  15457. - application/json
  15458. responses:
  15459. "200":
  15460. description: OK
  15461. schema:
  15462. items:
  15463. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  15464. type: array
  15465. "500":
  15466. description: Internal Server Error
  15467. schema:
  15468. $ref: '#/definitions/app.Response'
  15469. security:
  15470. - ApiKeyAuth: []
  15471. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  15472. tags:
  15473. - 企业风险管理v3(app)
  15474. /Ermcp3/QueryDGFactoryItem:
  15475. get:
  15476. parameters:
  15477. - description: 用户id
  15478. in: query
  15479. name: userid
  15480. type: integer
  15481. - description: 用户类型 2-机构 7-企业成员
  15482. in: query
  15483. name: usertype
  15484. type: integer
  15485. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15486. in: query
  15487. name: dgfactoryitemid
  15488. type: integer
  15489. - description: 现货品种ID
  15490. in: query
  15491. name: deliverygoodsid
  15492. type: integer
  15493. - description: 要素项类型
  15494. in: query
  15495. name: dgfactoryitemtypeid
  15496. type: integer
  15497. - description: 顺序
  15498. in: query
  15499. name: orderindex
  15500. type: integer
  15501. produces:
  15502. - application/json
  15503. responses:
  15504. "200":
  15505. description: OK
  15506. schema:
  15507. items:
  15508. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  15509. type: array
  15510. "500":
  15511. description: Internal Server Error
  15512. schema:
  15513. $ref: '#/definitions/app.Response'
  15514. security:
  15515. - ApiKeyAuth: []
  15516. summary: 查询品种要素定义项
  15517. tags:
  15518. - 企业风险管理v3(app)
  15519. /Ermcp3/QueryDeliveryGoods:
  15520. get:
  15521. parameters:
  15522. - description: 用户id
  15523. in: query
  15524. name: userid
  15525. required: true
  15526. type: integer
  15527. - description: 用户类型 2-机构 7-企业成员
  15528. in: query
  15529. name: usertype
  15530. type: integer
  15531. - description: 排除已配置的业务类型商品 1-套保 2-套利
  15532. in: query
  15533. name: excludecfg
  15534. type: integer
  15535. produces:
  15536. - application/json
  15537. responses:
  15538. "200":
  15539. description: OK
  15540. schema:
  15541. items:
  15542. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15543. type: array
  15544. "500":
  15545. description: Internal Server Error
  15546. schema:
  15547. $ref: '#/definitions/app.Response'
  15548. security:
  15549. - ApiKeyAuth: []
  15550. summary: 查询现货商品
  15551. tags:
  15552. - 企业风险管理v3(app)
  15553. /Ermcp3/QueryDeliveryGoodsDetail:
  15554. get:
  15555. parameters:
  15556. - description: 用户id
  15557. in: query
  15558. name: userid
  15559. required: true
  15560. type: integer
  15561. - description: 用户类型 2-机构 7-企业成员
  15562. in: query
  15563. name: usertype
  15564. type: integer
  15565. - description: 现货商品id
  15566. in: query
  15567. name: deliverygoodsid
  15568. type: integer
  15569. produces:
  15570. - application/json
  15571. responses:
  15572. "200":
  15573. description: OK
  15574. schema:
  15575. items:
  15576. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  15577. type: array
  15578. "500":
  15579. description: Internal Server Error
  15580. schema:
  15581. $ref: '#/definitions/app.Response'
  15582. security:
  15583. - ApiKeyAuth: []
  15584. summary: 查询现货商品详情
  15585. tags:
  15586. - 企业风险管理v3(app)
  15587. /Ermcp3/QueryExposureDetail:
  15588. get:
  15589. parameters:
  15590. - description: 用户id
  15591. in: query
  15592. name: userid
  15593. required: true
  15594. type: integer
  15595. - description: 用户类型 2-机构 7-企业成员
  15596. in: query
  15597. name: usertype
  15598. type: integer
  15599. - description: 套保商品
  15600. in: query
  15601. name: middlegoodsid
  15602. required: true
  15603. type: integer
  15604. produces:
  15605. - application/json
  15606. responses:
  15607. "200":
  15608. description: OK
  15609. schema:
  15610. items:
  15611. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15612. type: array
  15613. "500":
  15614. description: Internal Server Error
  15615. schema:
  15616. $ref: '#/definitions/app.Response'
  15617. security:
  15618. - ApiKeyAuth: []
  15619. summary: 查询敞口现货明细
  15620. tags:
  15621. - 企业风险管理v3(app)
  15622. /Ermcp3/QueryExposureSpot:
  15623. get:
  15624. parameters:
  15625. - description: 用户id
  15626. in: query
  15627. name: userid
  15628. required: true
  15629. type: integer
  15630. - description: 用户类型 2-机构 7-企业成员
  15631. in: query
  15632. name: usertype
  15633. type: integer
  15634. produces:
  15635. - application/json
  15636. responses:
  15637. "200":
  15638. description: OK
  15639. schema:
  15640. items:
  15641. $ref: '#/definitions/models.Ermcp3AreaSpot'
  15642. type: array
  15643. "500":
  15644. description: Internal Server Error
  15645. schema:
  15646. $ref: '#/definitions/app.Response'
  15647. security:
  15648. - ApiKeyAuth: []
  15649. summary: 查询敞口现货头寸(敞口/现货头寸)
  15650. tags:
  15651. - 企业风险管理v3(app)
  15652. /Ermcp3/QueryExposureSpotDetail:
  15653. get:
  15654. parameters:
  15655. - description: 用户id
  15656. in: query
  15657. name: userid
  15658. required: true
  15659. type: integer
  15660. - description: 用户类型 2-机构 7-企业成员
  15661. in: query
  15662. name: usertype
  15663. type: integer
  15664. - description: 现货品种ID
  15665. in: query
  15666. name: deliverygoodsid
  15667. required: true
  15668. type: integer
  15669. produces:
  15670. - application/json
  15671. responses:
  15672. "200":
  15673. description: OK
  15674. schema:
  15675. items:
  15676. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  15677. type: array
  15678. "500":
  15679. description: Internal Server Error
  15680. schema:
  15681. $ref: '#/definitions/app.Response'
  15682. security:
  15683. - ApiKeyAuth: []
  15684. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  15685. tags:
  15686. - 企业风险管理v3(app)
  15687. /Ermcp3/QueryGoodsGroup:
  15688. get:
  15689. parameters:
  15690. - description: 用户id
  15691. in: query
  15692. name: userid
  15693. required: true
  15694. type: integer
  15695. - description: 用户类型 2-机构 7-企业成员
  15696. in: query
  15697. name: usertype
  15698. type: integer
  15699. - description: 排除套保品中已关联的商品组 1-排除
  15700. in: query
  15701. name: excludecfg
  15702. type: integer
  15703. produces:
  15704. - application/json
  15705. responses:
  15706. "200":
  15707. description: OK
  15708. schema:
  15709. items:
  15710. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  15711. type: array
  15712. "500":
  15713. description: Internal Server Error
  15714. schema:
  15715. $ref: '#/definitions/app.Response'
  15716. security:
  15717. - ApiKeyAuth: []
  15718. summary: 查询期货商品组
  15719. tags:
  15720. - 企业风险管理v3(app)
  15721. /Ermcp3/QueryGoodsWrstandard:
  15722. get:
  15723. parameters:
  15724. - description: 用户id
  15725. in: query
  15726. name: userid
  15727. required: true
  15728. type: integer
  15729. - description: 用户类型 2-机构 7-企业成员
  15730. in: query
  15731. name: usertype
  15732. type: integer
  15733. - description: 现货商品id
  15734. in: query
  15735. name: deliverygoodsid
  15736. type: integer
  15737. produces:
  15738. - application/json
  15739. responses:
  15740. "200":
  15741. description: OK
  15742. schema:
  15743. items:
  15744. $ref: '#/definitions/models.Ermcp3Wrstandard'
  15745. type: array
  15746. "500":
  15747. description: Internal Server Error
  15748. schema:
  15749. $ref: '#/definitions/app.Response'
  15750. security:
  15751. - ApiKeyAuth: []
  15752. summary: 查询商品品类
  15753. tags:
  15754. - 企业风险管理v3(app)
  15755. /Ermcp3/QueryGoodsbrand:
  15756. get:
  15757. parameters:
  15758. - description: 用户id
  15759. in: query
  15760. name: userid
  15761. required: true
  15762. type: integer
  15763. - description: 用户类型 2-机构 7-企业成员
  15764. in: query
  15765. name: usertype
  15766. type: integer
  15767. produces:
  15768. - application/json
  15769. responses:
  15770. "200":
  15771. description: OK
  15772. schema:
  15773. items:
  15774. $ref: '#/definitions/models.Ermcp3Brand'
  15775. type: array
  15776. "500":
  15777. description: Internal Server Error
  15778. schema:
  15779. $ref: '#/definitions/app.Response'
  15780. security:
  15781. - ApiKeyAuth: []
  15782. summary: 查询商品品牌
  15783. tags:
  15784. - 企业风险管理v3(app)
  15785. /Ermcp3/QueryHedgePlan:
  15786. get:
  15787. parameters:
  15788. - description: 用户ID
  15789. in: query
  15790. name: userid
  15791. required: true
  15792. type: integer
  15793. - description: 用户类型 2-机构 7-企业成员
  15794. in: query
  15795. name: usertype
  15796. type: integer
  15797. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  15798. in: query
  15799. name: hedgeplanstatus
  15800. required: true
  15801. type: string
  15802. produces:
  15803. - application/json
  15804. responses:
  15805. "200":
  15806. description: OK
  15807. schema:
  15808. items:
  15809. $ref: '#/definitions/models.Ermcp3HedgePlan'
  15810. type: array
  15811. "500":
  15812. description: Internal Server Error
  15813. schema:
  15814. $ref: '#/definitions/app.Response'
  15815. security:
  15816. - ApiKeyAuth: []
  15817. summary: 查询套保计划
  15818. tags:
  15819. - 企业风险管理v3(app)
  15820. /Ermcp3/QueryMiddleGoodsDetail:
  15821. get:
  15822. parameters:
  15823. - description: 用户id
  15824. in: query
  15825. name: userid
  15826. required: true
  15827. type: integer
  15828. - description: 用户类型 2-机构 7-企业成员
  15829. in: query
  15830. name: usertype
  15831. type: integer
  15832. - description: 套保品种id
  15833. in: query
  15834. name: middlegoodsid
  15835. type: integer
  15836. produces:
  15837. - application/json
  15838. responses:
  15839. "200":
  15840. description: OK
  15841. schema:
  15842. items:
  15843. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  15844. type: array
  15845. "500":
  15846. description: Internal Server Error
  15847. schema:
  15848. $ref: '#/definitions/app.Response'
  15849. security:
  15850. - ApiKeyAuth: []
  15851. summary: 查询套保品种详情(套保品种/商品详情)
  15852. tags:
  15853. - 企业风险管理v3(app)
  15854. /Ermcp3/QuerySpotContract:
  15855. get:
  15856. parameters:
  15857. - description: 用户id
  15858. in: query
  15859. name: userid
  15860. required: true
  15861. type: integer
  15862. - description: 用户类型 2-机构 7-企业成员
  15863. in: query
  15864. name: usertype
  15865. type: integer
  15866. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  15867. in: query
  15868. name: querytype
  15869. required: true
  15870. type: integer
  15871. - description: 合同ID(SpotContractId)
  15872. in: query
  15873. name: contractid
  15874. type: string
  15875. produces:
  15876. - application/json
  15877. responses:
  15878. "200":
  15879. description: OK
  15880. schema:
  15881. items:
  15882. $ref: '#/definitions/models.Ermcp3Contract'
  15883. type: array
  15884. "500":
  15885. description: Internal Server Error
  15886. schema:
  15887. $ref: '#/definitions/app.Response'
  15888. security:
  15889. - ApiKeyAuth: []
  15890. summary: 查询现货合同
  15891. tags:
  15892. - 企业风险管理v3(app)
  15893. /Ermcp3/QuerySpotContractBS:
  15894. get:
  15895. parameters:
  15896. - description: 用户id
  15897. in: query
  15898. name: userid
  15899. required: true
  15900. type: integer
  15901. - description: 用户类型 2-机构 7-企业成员
  15902. in: query
  15903. name: usertype
  15904. type: integer
  15905. - description: 合同类型 1-采购, -1-销售
  15906. in: query
  15907. name: contracttype
  15908. required: true
  15909. type: integer
  15910. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15911. in: query
  15912. name: querytype
  15913. required: true
  15914. type: integer
  15915. - description: 合同ID(SpotContractId)
  15916. in: query
  15917. name: contractid
  15918. type: string
  15919. produces:
  15920. - application/json
  15921. responses:
  15922. "200":
  15923. description: OK
  15924. schema:
  15925. items:
  15926. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  15927. type: array
  15928. "500":
  15929. description: Internal Server Error
  15930. schema:
  15931. $ref: '#/definitions/app.Response'
  15932. security:
  15933. - ApiKeyAuth: []
  15934. summary: 查询合同(采购/销售)
  15935. tags:
  15936. - 企业风险管理v3(app)
  15937. /Ermcp3/QuerySpotGoodsPrice:
  15938. get:
  15939. parameters:
  15940. - description: 用户ID
  15941. in: query
  15942. name: userid
  15943. required: true
  15944. type: integer
  15945. produces:
  15946. - application/json
  15947. responses:
  15948. "200":
  15949. description: OK
  15950. schema:
  15951. items:
  15952. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  15953. type: array
  15954. "500":
  15955. description: Internal Server Error
  15956. schema:
  15957. $ref: '#/definitions/app.Response'
  15958. security:
  15959. - ApiKeyAuth: []
  15960. summary: 查询现货市价(现货市价)
  15961. tags:
  15962. - 企业风险管理v3(app)
  15963. /Ermcp3/QuerySpotGoodsPriceLog:
  15964. get:
  15965. parameters:
  15966. - description: 用户ID
  15967. in: query
  15968. name: userid
  15969. required: true
  15970. type: integer
  15971. - description: 现货商品ID
  15972. in: query
  15973. name: deliverygoodsid
  15974. required: true
  15975. type: integer
  15976. - description: 品牌ID
  15977. in: query
  15978. name: brandid
  15979. type: integer
  15980. - description: 品类ID
  15981. in: query
  15982. name: wrstandardid
  15983. type: integer
  15984. produces:
  15985. - application/json
  15986. responses:
  15987. "200":
  15988. description: OK
  15989. schema:
  15990. items:
  15991. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  15992. type: array
  15993. "500":
  15994. description: Internal Server Error
  15995. schema:
  15996. $ref: '#/definitions/app.Response'
  15997. security:
  15998. - ApiKeyAuth: []
  15999. summary: 查询现货市价详情(现货市价/详情)
  16000. tags:
  16001. - 企业风险管理v3(app)
  16002. /Erms2/QueryArbitrageStrategy:
  16003. get:
  16004. parameters:
  16005. - description: 账户ID
  16006. in: query
  16007. name: userid
  16008. required: true
  16009. type: integer
  16010. - description: 商品组ID(品种ID)
  16011. in: query
  16012. name: goodsgroupid
  16013. type: string
  16014. produces:
  16015. - application/json
  16016. responses:
  16017. "200":
  16018. description: OK
  16019. schema:
  16020. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  16021. "500":
  16022. description: Internal Server Error
  16023. schema:
  16024. $ref: '#/definitions/app.Response'
  16025. security:
  16026. - ApiKeyAuth: []
  16027. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  16028. tags:
  16029. - 风险管理
  16030. /Erms2/QueryInnerTradeDetail:
  16031. get:
  16032. parameters:
  16033. - description: 资金账户
  16034. in: query
  16035. name: accountid
  16036. required: true
  16037. type: integer
  16038. produces:
  16039. - application/json
  16040. responses:
  16041. "200":
  16042. description: OK
  16043. schema:
  16044. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  16045. "500":
  16046. description: Internal Server Error
  16047. schema:
  16048. $ref: '#/definitions/app.Response'
  16049. security:
  16050. - ApiKeyAuth: []
  16051. summary: 查询内部成交单信息
  16052. tags:
  16053. - 风险管理
  16054. /Erms2/QuerySpotContract:
  16055. get:
  16056. parameters:
  16057. - description: 策略申请ID
  16058. in: query
  16059. name: asapplyid
  16060. required: true
  16061. type: integer
  16062. - description: 现货合同ID
  16063. in: query
  16064. name: spotcontractid
  16065. type: integer
  16066. produces:
  16067. - application/json
  16068. responses:
  16069. "200":
  16070. description: OK
  16071. schema:
  16072. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  16073. "500":
  16074. description: Internal Server Error
  16075. schema:
  16076. $ref: '#/definitions/app.Response'
  16077. security:
  16078. - ApiKeyAuth: []
  16079. summary: 查询现货合同表信息(指定策略ID、未结束的)
  16080. tags:
  16081. - 风险管理
  16082. /Erms3/AddErms2ASApply:
  16083. post:
  16084. parameters:
  16085. - description: 申请参数
  16086. in: body
  16087. name: jsonBody
  16088. required: true
  16089. schema:
  16090. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  16091. produces:
  16092. - application/json
  16093. responses:
  16094. "200":
  16095. description: OK
  16096. schema:
  16097. $ref: '#/definitions/app.Response'
  16098. "500":
  16099. description: Internal Server Error
  16100. schema:
  16101. $ref: '#/definitions/app.Response'
  16102. security:
  16103. - ApiKeyAuth: []
  16104. summary: 新增期现套利业务申请
  16105. tags:
  16106. - 风险管理v3
  16107. /Erms3/AddErms2SpotTradeApply:
  16108. post:
  16109. parameters:
  16110. - description: 申请参数
  16111. in: body
  16112. name: jsonBody
  16113. required: true
  16114. schema:
  16115. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  16116. produces:
  16117. - application/json
  16118. responses:
  16119. "200":
  16120. description: OK
  16121. schema:
  16122. $ref: '#/definitions/app.Response'
  16123. "500":
  16124. description: Internal Server Error
  16125. schema:
  16126. $ref: '#/definitions/app.Response'
  16127. security:
  16128. - ApiKeyAuth: []
  16129. summary: 新增现货贸易业务申请
  16130. tags:
  16131. - 风险管理v3
  16132. /Erms3/AddSpotContractApply:
  16133. post:
  16134. parameters:
  16135. - description: 申请参数
  16136. in: body
  16137. name: jsonBody
  16138. required: true
  16139. schema:
  16140. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  16141. produces:
  16142. - application/json
  16143. responses:
  16144. "200":
  16145. description: OK
  16146. schema:
  16147. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  16148. "500":
  16149. description: Internal Server Error
  16150. schema:
  16151. $ref: '#/definitions/app.Response'
  16152. security:
  16153. - ApiKeyAuth: []
  16154. summary: 新增现货合同申请
  16155. tags:
  16156. - 风险管理v3
  16157. /Erms3/AddUserInfoApply:
  16158. post:
  16159. parameters:
  16160. - description: 用户信息
  16161. in: body
  16162. name: jsonBody
  16163. required: true
  16164. schema:
  16165. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  16166. produces:
  16167. - application/json
  16168. responses:
  16169. "200":
  16170. description: OK
  16171. schema:
  16172. $ref: '#/definitions/app.Response'
  16173. "500":
  16174. description: Internal Server Error
  16175. schema:
  16176. $ref: '#/definitions/app.Response'
  16177. security:
  16178. - ApiKeyAuth: []
  16179. summary: 新增客户申请
  16180. tags:
  16181. - 风险管理v3
  16182. /Erms3/DeleteUserInfoApply:
  16183. get:
  16184. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  16185. parameters:
  16186. - description: 用户ID
  16187. in: query
  16188. name: userID
  16189. required: true
  16190. type: integer
  16191. produces:
  16192. - application/json
  16193. responses:
  16194. "200":
  16195. description: OK
  16196. schema:
  16197. $ref: '#/definitions/app.Response'
  16198. "500":
  16199. description: Internal Server Error
  16200. schema:
  16201. $ref: '#/definitions/app.Response'
  16202. security:
  16203. - ApiKeyAuth: []
  16204. summary: 删除客户申请
  16205. tags:
  16206. - 风险管理v3
  16207. /Erms3/ModifyUserInfoApply:
  16208. post:
  16209. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  16210. int, "userstate": 2 }'
  16211. parameters:
  16212. - description: 用户信息
  16213. in: body
  16214. name: jsonBody
  16215. required: true
  16216. schema:
  16217. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  16218. produces:
  16219. - application/json
  16220. responses:
  16221. "200":
  16222. description: OK
  16223. schema:
  16224. $ref: '#/definitions/app.Response'
  16225. "500":
  16226. description: Internal Server Error
  16227. schema:
  16228. $ref: '#/definitions/app.Response'
  16229. security:
  16230. - ApiKeyAuth: []
  16231. summary: 修改客户申请
  16232. tags:
  16233. - 风险管理v3
  16234. /Erms3/QueryBusinessInfo:
  16235. get:
  16236. parameters:
  16237. - description: 资金账号ID列表,用逗号分隔
  16238. in: query
  16239. name: accountids
  16240. required: true
  16241. type: string
  16242. - description: 状态,0为未结束 1为已结束
  16243. in: query
  16244. name: status
  16245. required: true
  16246. type: integer
  16247. produces:
  16248. - application/json
  16249. responses:
  16250. "200":
  16251. description: OK
  16252. schema:
  16253. items:
  16254. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  16255. type: array
  16256. "500":
  16257. description: Internal Server Error
  16258. schema:
  16259. $ref: '#/definitions/app.Response'
  16260. security:
  16261. - ApiKeyAuth: []
  16262. summary: 查询业务表单数据
  16263. tags:
  16264. - 风险管理v3
  16265. /Erms3/QueryPendingAuditContract:
  16266. get:
  16267. parameters:
  16268. - description: 资金账号ID列表,逗号隔开
  16269. in: query
  16270. name: accountids
  16271. required: true
  16272. type: string
  16273. - description: 合同类型 1-采购 -1-销售
  16274. in: query
  16275. name: contracttype
  16276. required: true
  16277. type: integer
  16278. - description: 合同模式 1-普通 2-回购
  16279. in: query
  16280. name: contractmode
  16281. required: true
  16282. type: integer
  16283. produces:
  16284. - application/json
  16285. responses:
  16286. "200":
  16287. description: OK
  16288. schema:
  16289. items:
  16290. $ref: '#/definitions/erms3.QryAuditContractRsp'
  16291. type: array
  16292. "500":
  16293. description: Internal Server Error
  16294. schema:
  16295. $ref: '#/definitions/app.Response'
  16296. security:
  16297. - ApiKeyAuth: []
  16298. summary: 查询待审核合同
  16299. tags:
  16300. - 风险管理v3
  16301. /Erms3/QueryPendingBusiness:
  16302. get:
  16303. parameters:
  16304. - description: 资金账号ID列表,逗号隔开
  16305. in: query
  16306. name: accountids
  16307. required: true
  16308. type: string
  16309. produces:
  16310. - application/json
  16311. responses:
  16312. "200":
  16313. description: OK
  16314. schema:
  16315. items:
  16316. $ref: '#/definitions/erms3.QryPendingBizRsp'
  16317. type: array
  16318. "500":
  16319. description: Internal Server Error
  16320. schema:
  16321. $ref: '#/definitions/app.Response'
  16322. security:
  16323. - ApiKeyAuth: []
  16324. summary: 查询待审核基差贸易业务
  16325. tags:
  16326. - 风险管理v3
  16327. /Erms3/QuerySpotContractAppleForm:
  16328. get:
  16329. parameters:
  16330. - description: 登录账号
  16331. in: query
  16332. name: loginID
  16333. required: true
  16334. type: integer
  16335. produces:
  16336. - application/json
  16337. responses:
  16338. "200":
  16339. description: OK
  16340. schema:
  16341. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  16342. "500":
  16343. description: Internal Server Error
  16344. schema:
  16345. $ref: '#/definitions/app.Response'
  16346. security:
  16347. - ApiKeyAuth: []
  16348. summary: 查询合同申请表单数据
  16349. tags:
  16350. - 风险管理v3
  16351. /Erms3/QuerySpotContractDetail:
  16352. get:
  16353. parameters:
  16354. - description: 资金账号ID列表,用逗号分隔
  16355. in: query
  16356. name: accountids
  16357. required: true
  16358. type: string
  16359. - description: 合同类型,1为采购合同 -1为销售合同
  16360. in: query
  16361. name: contracttype
  16362. required: true
  16363. type: integer
  16364. - description: 合同模式,1为普通合同 2为回购销售合同
  16365. in: query
  16366. name: contractmode
  16367. required: true
  16368. type: integer
  16369. - description: 状态,0为履约中 1为已完成
  16370. in: query
  16371. name: status
  16372. required: true
  16373. type: integer
  16374. produces:
  16375. - application/json
  16376. responses:
  16377. "200":
  16378. description: OK
  16379. schema:
  16380. items:
  16381. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  16382. type: array
  16383. "500":
  16384. description: Internal Server Error
  16385. schema:
  16386. $ref: '#/definitions/app.Response'
  16387. security:
  16388. - ApiKeyAuth: []
  16389. summary: 查询合同详细信息
  16390. tags:
  16391. - 风险管理v3
  16392. /Erms3/QueryUserInfoApplies:
  16393. get:
  16394. parameters:
  16395. - description: 页码
  16396. in: query
  16397. name: page
  16398. type: integer
  16399. - description: 每页条数
  16400. in: query
  16401. name: pagesize
  16402. type: integer
  16403. - description: 客户名称,支持模糊查询
  16404. in: query
  16405. name: userName
  16406. type: string
  16407. produces:
  16408. - application/json
  16409. responses:
  16410. "200":
  16411. description: OK
  16412. schema:
  16413. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  16414. "500":
  16415. description: Internal Server Error
  16416. schema:
  16417. $ref: '#/definitions/app.Response'
  16418. security:
  16419. - ApiKeyAuth: []
  16420. summary: 客户申请信息查询
  16421. tags:
  16422. - 风险管理v3
  16423. /Erms3/QueryUserInfos:
  16424. get:
  16425. parameters:
  16426. - description: 页码
  16427. in: query
  16428. name: page
  16429. type: integer
  16430. - description: 每页条数
  16431. in: query
  16432. name: pagesize
  16433. type: integer
  16434. - description: 客户名称,支持模糊查询
  16435. in: query
  16436. name: userName
  16437. type: string
  16438. produces:
  16439. - application/json
  16440. responses:
  16441. "200":
  16442. description: OK
  16443. schema:
  16444. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  16445. "500":
  16446. description: Internal Server Error
  16447. schema:
  16448. $ref: '#/definitions/app.Response'
  16449. security:
  16450. - ApiKeyAuth: []
  16451. summary: 客户信息查询
  16452. tags:
  16453. - 风险管理v3
  16454. /HSBY/GetHsbyMyCount:
  16455. get:
  16456. description: 说明: 不包括已完成的数量。
  16457. parameters:
  16458. - description: 资金账户列表,格式:1,2,3
  16459. in: query
  16460. name: accountIDs
  16461. required: true
  16462. type: string
  16463. produces:
  16464. - application/json
  16465. responses:
  16466. "200":
  16467. description: OK
  16468. schema:
  16469. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  16470. "500":
  16471. description: Internal Server Error
  16472. schema:
  16473. $ref: '#/definitions/app.Response'
  16474. security:
  16475. - ApiKeyAuth: []
  16476. summary: 获取我的订单与包裹数量
  16477. tags:
  16478. - 定制【海商报业】
  16479. /HSBY/QueryClientFixedADConfigs:
  16480. get:
  16481. produces:
  16482. - application/json
  16483. responses:
  16484. "200":
  16485. description: OK
  16486. schema:
  16487. $ref: '#/definitions/models.Clientfixedadconfig'
  16488. "500":
  16489. description: Internal Server Error
  16490. schema:
  16491. $ref: '#/definitions/app.Response'
  16492. security:
  16493. - ApiKeyAuth: []
  16494. summary: 获取终端固定广告配置
  16495. tags:
  16496. - 定制【海商报业】
  16497. /HSBY/QueryHsbyBuyMyTradeDetail:
  16498. get:
  16499. parameters:
  16500. - description: 页码
  16501. in: query
  16502. name: page
  16503. type: integer
  16504. - description: 每页条数
  16505. in: query
  16506. name: pagesize
  16507. type: integer
  16508. - description: 资金账户列表,格式:1,2,3
  16509. in: query
  16510. name: accountIDs
  16511. required: true
  16512. type: string
  16513. produces:
  16514. - application/json
  16515. responses:
  16516. "200":
  16517. description: OK
  16518. schema:
  16519. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  16520. "500":
  16521. description: Internal Server Error
  16522. schema:
  16523. $ref: '#/definitions/app.Response'
  16524. security:
  16525. - ApiKeyAuth: []
  16526. summary: 查询"我的订单 - 已完成"单据信息
  16527. tags:
  16528. - 定制【海商报业】
  16529. /HSBY/QueryHsbyGoodsOrderDetails:
  16530. get:
  16531. description: 说明:查询结果已按委托价格和委托时间排序
  16532. parameters:
  16533. - description: 商品ID
  16534. in: query
  16535. name: goodsID
  16536. required: true
  16537. type: integer
  16538. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  16539. in: query
  16540. name: accountIDs
  16541. type: string
  16542. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  16543. in: query
  16544. name: buyOrSell
  16545. type: integer
  16546. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  16547. in: query
  16548. name: price
  16549. type: number
  16550. - description: 档位,不传则默认为3档
  16551. in: query
  16552. name: speed
  16553. type: integer
  16554. produces:
  16555. - application/json
  16556. responses:
  16557. "200":
  16558. description: OK
  16559. schema:
  16560. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  16561. "500":
  16562. description: Internal Server Error
  16563. schema:
  16564. $ref: '#/definitions/app.Response'
  16565. security:
  16566. - ApiKeyAuth: []
  16567. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  16568. tags:
  16569. - 定制【海商报业】
  16570. /HSBY/QueryHsbyListingGoodsDetail:
  16571. get:
  16572. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  16573. parameters:
  16574. - description: 商品ID
  16575. in: query
  16576. name: goodsID
  16577. required: true
  16578. type: integer
  16579. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  16580. in: query
  16581. name: accountID
  16582. type: integer
  16583. produces:
  16584. - application/json
  16585. responses:
  16586. "200":
  16587. description: OK
  16588. schema:
  16589. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  16590. "500":
  16591. description: Internal Server Error
  16592. schema:
  16593. $ref: '#/definitions/app.Response'
  16594. security:
  16595. - ApiKeyAuth: []
  16596. summary: 查询二级市场(挂牌点选)商品信息详情
  16597. tags:
  16598. - 定制【海商报业】
  16599. /HSBY/QueryHsbyMarketGoodsDetail:
  16600. get:
  16601. parameters:
  16602. - description: 委托单号
  16603. in: query
  16604. name: orderID
  16605. required: true
  16606. type: integer
  16607. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  16608. in: query
  16609. name: accountID
  16610. type: integer
  16611. produces:
  16612. - application/json
  16613. responses:
  16614. "200":
  16615. description: OK
  16616. schema:
  16617. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16618. "500":
  16619. description: Internal Server Error
  16620. schema:
  16621. $ref: '#/definitions/app.Response'
  16622. security:
  16623. - ApiKeyAuth: []
  16624. summary: 查询三级市场(商城)商品信息详情
  16625. tags:
  16626. - 定制【海商报业】
  16627. /HSBY/QueryHsbyMarketGoodses:
  16628. get:
  16629. parameters:
  16630. - description: 页码
  16631. in: query
  16632. name: page
  16633. type: integer
  16634. - description: 每页条数
  16635. in: query
  16636. name: pagesize
  16637. type: integer
  16638. - description: 市场ID列表,格式:1,2,3
  16639. in: query
  16640. name: marketIDs
  16641. required: true
  16642. type: string
  16643. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  16644. in: query
  16645. name: accountID
  16646. required: true
  16647. type: integer
  16648. - description: 类别ID
  16649. in: query
  16650. name: categoryID
  16651. type: integer
  16652. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16653. in: query
  16654. name: goodsIDs
  16655. type: string
  16656. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  16657. in: query
  16658. name: couponTypeID
  16659. type: integer
  16660. produces:
  16661. - application/json
  16662. responses:
  16663. "200":
  16664. description: OK
  16665. schema:
  16666. $ref: '#/definitions/models.HsbyMarketGoods'
  16667. "500":
  16668. description: Internal Server Error
  16669. schema:
  16670. $ref: '#/definitions/app.Response'
  16671. security:
  16672. - ApiKeyAuth: []
  16673. summary: 查询特卖商品列表(三级商城)
  16674. tags:
  16675. - 定制【海商报业】
  16676. /HSBY/QueryHsbyMarkets:
  16677. get:
  16678. produces:
  16679. - application/json
  16680. responses:
  16681. "200":
  16682. description: OK
  16683. schema:
  16684. $ref: '#/definitions/models.HsbyMarketInfo'
  16685. "500":
  16686. description: Internal Server Error
  16687. schema:
  16688. $ref: '#/definitions/app.Response'
  16689. security:
  16690. - ApiKeyAuth: []
  16691. summary: 查询海商报业相关市场信息
  16692. tags:
  16693. - 定制【海商报业】
  16694. /HSBY/QueryHsbyMyBuyOrderDetails:
  16695. get:
  16696. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  16697. parameters:
  16698. - description: 资金账户列表,格式:1,2,3
  16699. in: query
  16700. name: accountIDs
  16701. required: true
  16702. type: string
  16703. produces:
  16704. - application/json
  16705. responses:
  16706. "200":
  16707. description: OK
  16708. schema:
  16709. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  16710. "500":
  16711. description: Internal Server Error
  16712. schema:
  16713. $ref: '#/definitions/app.Response'
  16714. security:
  16715. - ApiKeyAuth: []
  16716. summary: 查询“我的订单”信息
  16717. tags:
  16718. - 定制【海商报业】
  16719. /HSBY/QueryHsbyMyGoods:
  16720. get:
  16721. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  16722. parameters:
  16723. - description: 资金账户列表,格式:1,2,3
  16724. in: query
  16725. name: accountIDs
  16726. required: true
  16727. type: string
  16728. produces:
  16729. - application/json
  16730. responses:
  16731. "200":
  16732. description: OK
  16733. schema:
  16734. $ref: '#/definitions/models.HsbyMyGoods'
  16735. "500":
  16736. description: Internal Server Error
  16737. schema:
  16738. $ref: '#/definitions/app.Response'
  16739. security:
  16740. - ApiKeyAuth: []
  16741. summary: 查询“我的商品”信息
  16742. tags:
  16743. - 定制【海商报业】
  16744. /HSBY/QueryHsbyMyPackages:
  16745. get:
  16746. parameters:
  16747. - description: 资金账户列表,格式:1,2,3
  16748. in: query
  16749. name: accountIDs
  16750. required: true
  16751. type: string
  16752. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16753. in: query
  16754. name: takeOrderStatus
  16755. type: integer
  16756. produces:
  16757. - application/json
  16758. responses:
  16759. "200":
  16760. description: OK
  16761. schema:
  16762. $ref: '#/definitions/models.HsbyMyPackage'
  16763. "500":
  16764. description: Internal Server Error
  16765. schema:
  16766. $ref: '#/definitions/app.Response'
  16767. security:
  16768. - ApiKeyAuth: []
  16769. summary: 查询我的包裹信息
  16770. tags:
  16771. - 定制【海商报业】
  16772. /HSBY/QueryHsbyPreGoodsDetail:
  16773. get:
  16774. parameters:
  16775. - description: 商品ID
  16776. in: query
  16777. name: goodsID
  16778. required: true
  16779. type: integer
  16780. - description: 资金账户,主要用于获取预售商品购买上限
  16781. in: query
  16782. name: accountID
  16783. type: integer
  16784. produces:
  16785. - application/json
  16786. responses:
  16787. "200":
  16788. description: OK
  16789. schema:
  16790. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  16791. "500":
  16792. description: Internal Server Error
  16793. schema:
  16794. $ref: '#/definitions/app.Response'
  16795. security:
  16796. - ApiKeyAuth: []
  16797. summary: 查询一级市场(预售)商品信息详情
  16798. tags:
  16799. - 定制【海商报业】
  16800. /HSBY/QueryHsbyPreGoodses:
  16801. get:
  16802. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  16803. parameters:
  16804. - description: 页码
  16805. in: query
  16806. name: page
  16807. type: integer
  16808. - description: 每页条数
  16809. in: query
  16810. name: pagesize
  16811. type: integer
  16812. - description: 市场ID列表,格式:1,2,3
  16813. in: query
  16814. name: marketIDs
  16815. required: true
  16816. type: string
  16817. - description: 目的地(省)ID
  16818. in: query
  16819. name: descProvinceID
  16820. type: integer
  16821. - description: 目的地(市)ID
  16822. in: query
  16823. name: descCityID
  16824. type: integer
  16825. produces:
  16826. - application/json
  16827. responses:
  16828. "200":
  16829. description: OK
  16830. schema:
  16831. $ref: '#/definitions/models.HsbyPreGoods'
  16832. "500":
  16833. description: Internal Server Error
  16834. schema:
  16835. $ref: '#/definitions/app.Response'
  16836. security:
  16837. - ApiKeyAuth: []
  16838. summary: 查询新品上市商品列表(一级市场预售)
  16839. tags:
  16840. - 定制【海商报业】
  16841. /HSBY/QueryHsbySellMyDetails:
  16842. get:
  16843. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  16844. parameters:
  16845. - description: 页码
  16846. in: query
  16847. name: page
  16848. type: integer
  16849. - description: 每页条数
  16850. in: query
  16851. name: pagesize
  16852. type: integer
  16853. - description: 资金账户列表,格式:1,2,3
  16854. in: query
  16855. name: accountIDs
  16856. required: true
  16857. type: string
  16858. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  16859. in: query
  16860. name: orderType
  16861. type: integer
  16862. produces:
  16863. - application/json
  16864. responses:
  16865. "200":
  16866. description: OK
  16867. schema:
  16868. $ref: '#/definitions/models.HsbySellMyDetail'
  16869. "500":
  16870. description: Internal Server Error
  16871. schema:
  16872. $ref: '#/definitions/app.Response'
  16873. security:
  16874. - ApiKeyAuth: []
  16875. summary: 查询"我的闲置"单据信息
  16876. tags:
  16877. - 定制【海商报业】
  16878. /HSBY/QueryHsbyTopGoodses:
  16879. get:
  16880. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  16881. parameters:
  16882. - description: 页码
  16883. in: query
  16884. name: page
  16885. type: integer
  16886. - description: 每页条数
  16887. in: query
  16888. name: pagesize
  16889. type: integer
  16890. - description: 市场ID列表,格式:1,2,3
  16891. in: query
  16892. name: marketIDs
  16893. required: true
  16894. type: string
  16895. - description: 目的地(省)ID
  16896. in: query
  16897. name: descProvinceID
  16898. type: integer
  16899. - description: 目的地(市)ID
  16900. in: query
  16901. name: descCityID
  16902. type: integer
  16903. produces:
  16904. - application/json
  16905. responses:
  16906. "200":
  16907. description: OK
  16908. schema:
  16909. $ref: '#/definitions/models.HsbyTopGoods'
  16910. "500":
  16911. description: Internal Server Error
  16912. schema:
  16913. $ref: '#/definitions/app.Response'
  16914. security:
  16915. - ApiKeyAuth: []
  16916. summary: 查询热卖商品列表(二级市场挂牌点选)
  16917. tags:
  16918. - 定制【海商报业】
  16919. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  16920. get:
  16921. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  16922. parameters:
  16923. - description: 商品ID
  16924. in: query
  16925. name: goodsID
  16926. required: true
  16927. type: integer
  16928. produces:
  16929. - application/json
  16930. responses:
  16931. "200":
  16932. description: OK
  16933. schema:
  16934. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16935. "500":
  16936. description: Internal Server Error
  16937. schema:
  16938. $ref: '#/definitions/app.Response'
  16939. security:
  16940. - ApiKeyAuth: []
  16941. summary: 查询游客三级市场(商城)商品信息详情
  16942. tags:
  16943. - 定制【海商报业】
  16944. /HSBY/QueryHsbyVisitorMarketGoodses:
  16945. get:
  16946. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  16947. parameters:
  16948. - description: 页码
  16949. in: query
  16950. name: page
  16951. type: integer
  16952. - description: 每页条数
  16953. in: query
  16954. name: pagesize
  16955. type: integer
  16956. - description: 市场ID列表,格式:1,2,3
  16957. in: query
  16958. name: marketIDs
  16959. required: true
  16960. type: string
  16961. - description: 类别ID
  16962. in: query
  16963. name: categoryID
  16964. type: integer
  16965. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16966. in: query
  16967. name: goodsIDs
  16968. type: string
  16969. produces:
  16970. - application/json
  16971. responses:
  16972. "200":
  16973. description: OK
  16974. schema:
  16975. $ref: '#/definitions/models.HsbyMarketGoods'
  16976. "500":
  16977. description: Internal Server Error
  16978. schema:
  16979. $ref: '#/definitions/app.Response'
  16980. security:
  16981. - ApiKeyAuth: []
  16982. summary: 查询游客特卖商品列表(三级商城)
  16983. tags:
  16984. - 定制【海商报业】
  16985. /HSBY/QueryMyCollectionOrders:
  16986. get:
  16987. parameters:
  16988. - description: 页码
  16989. in: query
  16990. name: page
  16991. type: integer
  16992. - description: 每页条数
  16993. in: query
  16994. name: pagesize
  16995. type: integer
  16996. - description: 资金账户,格式:1,2,3
  16997. in: query
  16998. name: accountIDs
  16999. required: true
  17000. type: string
  17001. produces:
  17002. - application/json
  17003. responses:
  17004. "200":
  17005. description: OK
  17006. schema:
  17007. $ref: '#/definitions/models.HsbySellCollectionOrder'
  17008. "500":
  17009. description: Internal Server Error
  17010. schema:
  17011. $ref: '#/definitions/app.Response'
  17012. security:
  17013. - ApiKeyAuth: []
  17014. summary: 我的闲置中收款信息查询
  17015. tags:
  17016. - 定制【海商报业】
  17017. /HSBY/QueryMyCouponHolds:
  17018. get:
  17019. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  17020. parameters:
  17021. - description: 资金账户列表,格式:1,2,3
  17022. in: query
  17023. name: accountIDs
  17024. required: true
  17025. type: string
  17026. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  17027. in: query
  17028. name: holdStatus
  17029. type: string
  17030. produces:
  17031. - application/json
  17032. responses:
  17033. "200":
  17034. description: OK
  17035. schema:
  17036. $ref: '#/definitions/models.MyCouponHold'
  17037. "500":
  17038. description: Internal Server Error
  17039. schema:
  17040. $ref: '#/definitions/app.Response'
  17041. security:
  17042. - ApiKeyAuth: []
  17043. summary: 我的优惠卷持仓查询
  17044. tags:
  17045. - 定制【海商报业】
  17046. /HSBY/QueryMyCoupons:
  17047. get:
  17048. parameters:
  17049. - description: 资金账户列表,格式:1,2,3
  17050. in: query
  17051. name: accountIDs
  17052. required: true
  17053. type: string
  17054. - description: 商品ID, 一般与sellUserID配套传入
  17055. in: query
  17056. name: goodsID
  17057. type: integer
  17058. - description: 卖方UserID
  17059. in: query
  17060. name: sellUserID
  17061. type: integer
  17062. produces:
  17063. - application/json
  17064. responses:
  17065. "200":
  17066. description: OK
  17067. schema:
  17068. $ref: '#/definitions/models.MyCoupon'
  17069. "500":
  17070. description: Internal Server Error
  17071. schema:
  17072. $ref: '#/definitions/app.Response'
  17073. security:
  17074. - ApiKeyAuth: []
  17075. summary: 我的优惠卷查询
  17076. tags:
  17077. - 定制【海商报业】
  17078. /HSBY/QueryMyPayOrders:
  17079. get:
  17080. parameters:
  17081. - description: 页码
  17082. in: query
  17083. name: page
  17084. type: integer
  17085. - description: 每页条数
  17086. in: query
  17087. name: pagesize
  17088. type: integer
  17089. - description: 资金账户列表,格式:1,2,3
  17090. in: query
  17091. name: accountIDs
  17092. required: true
  17093. type: string
  17094. - description: 买方委托单号
  17095. in: query
  17096. name: buyOrderID
  17097. type: integer
  17098. - description: 卖方委托单号
  17099. in: query
  17100. name: sellOrderID
  17101. type: integer
  17102. produces:
  17103. - application/json
  17104. responses:
  17105. "200":
  17106. description: OK
  17107. schema:
  17108. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  17109. "500":
  17110. description: Internal Server Error
  17111. schema:
  17112. $ref: '#/definitions/app.Response'
  17113. security:
  17114. - ApiKeyAuth: []
  17115. summary: 获取我的订单中待付款信息
  17116. tags:
  17117. - 定制【海商报业】
  17118. /HSBY/QueryMyUsedCoupon:
  17119. get:
  17120. parameters:
  17121. - description: 资金账户列表,格式:1,2,3
  17122. in: query
  17123. name: accountIDs
  17124. required: true
  17125. type: string
  17126. produces:
  17127. - application/json
  17128. responses:
  17129. "200":
  17130. description: OK
  17131. schema:
  17132. $ref: '#/definitions/models.MyUsedCoupon'
  17133. "500":
  17134. description: Internal Server Error
  17135. schema:
  17136. $ref: '#/definitions/app.Response'
  17137. security:
  17138. - ApiKeyAuth: []
  17139. summary: 已使用优惠卷查询
  17140. tags:
  17141. - 定制【海商报业】
  17142. /HSBY/QueryProvincesAndCities:
  17143. get:
  17144. description: 查询结果只包括二级市场商品已关连的省市信息。
  17145. parameters:
  17146. - description: 省ID
  17147. in: query
  17148. name: provinceID
  17149. type: integer
  17150. produces:
  17151. - application/json
  17152. responses:
  17153. "200":
  17154. description: OK
  17155. schema:
  17156. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  17157. "500":
  17158. description: Internal Server Error
  17159. schema:
  17160. $ref: '#/definitions/app.Response'
  17161. security:
  17162. - ApiKeyAuth: []
  17163. summary: 查询省市信息(不包括区)
  17164. tags:
  17165. - 定制【海商报业】
  17166. /HSBY/SetHsbyMyPackagesStatus:
  17167. post:
  17168. parameters:
  17169. - description: 提货单号
  17170. in: query
  17171. name: takeOrderID
  17172. required: true
  17173. type: string
  17174. - description: 资金账号
  17175. in: query
  17176. name: accountID
  17177. required: true
  17178. type: integer
  17179. produces:
  17180. - application/json
  17181. responses:
  17182. "200":
  17183. description: OK
  17184. schema:
  17185. $ref: '#/definitions/app.Response'
  17186. "500":
  17187. description: Internal Server Error
  17188. schema:
  17189. $ref: '#/definitions/app.Response'
  17190. security:
  17191. - ApiKeyAuth: []
  17192. summary: 设置我的包裹已收货状态
  17193. tags:
  17194. - 定制【海商报业】
  17195. /Market/QueryGoodsesByLoginID:
  17196. get:
  17197. parameters:
  17198. - description: 登录账号
  17199. in: query
  17200. name: loginID
  17201. required: true
  17202. type: integer
  17203. - description: 市场ID列表,格式:1,2,3
  17204. in: query
  17205. name: marketIDs
  17206. type: string
  17207. produces:
  17208. - application/json
  17209. responses:
  17210. "200":
  17211. description: OK
  17212. schema:
  17213. $ref: '#/definitions/models.Goods'
  17214. "500":
  17215. description: Internal Server Error
  17216. schema:
  17217. $ref: '#/definitions/app.Response'
  17218. security:
  17219. - ApiKeyAuth: []
  17220. summary: 获取登录账号有权限的商品信息
  17221. tags:
  17222. - 通用市场
  17223. /Market/QueryMarketRun:
  17224. get:
  17225. parameters:
  17226. - description: 市场ID,不传返回所有
  17227. in: query
  17228. name: marketID
  17229. type: integer
  17230. produces:
  17231. - application/json
  17232. responses:
  17233. "200":
  17234. description: OK
  17235. schema:
  17236. $ref: '#/definitions/models.Marketrun'
  17237. "500":
  17238. description: Internal Server Error
  17239. schema:
  17240. $ref: '#/definitions/app.Response'
  17241. security:
  17242. - ApiKeyAuth: []
  17243. summary: 查询市场运行信息
  17244. tags:
  17245. - 通用市场
  17246. /Market/QueryMarketsByLoginID:
  17247. get:
  17248. parameters:
  17249. - description: 登录账号
  17250. in: query
  17251. name: loginID
  17252. required: true
  17253. type: integer
  17254. produces:
  17255. - application/json
  17256. responses:
  17257. "200":
  17258. description: OK
  17259. schema:
  17260. $ref: '#/definitions/models.Market'
  17261. "500":
  17262. description: Internal Server Error
  17263. schema:
  17264. $ref: '#/definitions/app.Response'
  17265. security:
  17266. - ApiKeyAuth: []
  17267. summary: 获取登录账号有权限的市场信息
  17268. tags:
  17269. - 通用市场
  17270. /Order/QueryHisTradeDetail:
  17271. get:
  17272. parameters:
  17273. - description: 资金账户 - 格式:1,2,3
  17274. in: query
  17275. name: accountID
  17276. required: true
  17277. type: string
  17278. - description: 成交单号
  17279. in: query
  17280. name: tradeID
  17281. type: integer
  17282. - description: 委托单号
  17283. in: query
  17284. name: orderID
  17285. type: integer
  17286. - description: 交易模式 - 格式:1,2,3
  17287. in: query
  17288. name: tradeMode
  17289. type: string
  17290. - description: 委托单据类型
  17291. in: query
  17292. name: buildType
  17293. type: integer
  17294. - description: 成交类别 - 格式:1,2,3
  17295. in: query
  17296. name: tradeType
  17297. type: string
  17298. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17299. in: query
  17300. name: startDate
  17301. type: string
  17302. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17303. in: query
  17304. name: endDate
  17305. type: string
  17306. produces:
  17307. - application/json
  17308. responses:
  17309. "200":
  17310. description: OK
  17311. schema:
  17312. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  17313. "500":
  17314. description: Internal Server Error
  17315. schema:
  17316. $ref: '#/definitions/app.Response'
  17317. security:
  17318. - ApiKeyAuth: []
  17319. summary: 历史成交单查询(合约市场)
  17320. tags:
  17321. - 通用单据
  17322. /Order/QueryHisTradeOrderDetail:
  17323. get:
  17324. parameters:
  17325. - description: 资金账户 - 格式:1,2,3
  17326. in: query
  17327. name: accountID
  17328. required: true
  17329. type: string
  17330. - description: 交易模式 - 格式:1,2,3
  17331. in: query
  17332. name: tradeMode
  17333. type: string
  17334. - description: 委托状态 - 格式:1,2,3
  17335. in: query
  17336. name: orderStatus
  17337. type: string
  17338. - description: 委托单号
  17339. in: query
  17340. name: orderID
  17341. type: integer
  17342. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17343. in: query
  17344. name: startDate
  17345. type: string
  17346. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17347. in: query
  17348. name: endDate
  17349. type: string
  17350. produces:
  17351. - application/json
  17352. responses:
  17353. "200":
  17354. description: OK
  17355. schema:
  17356. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  17357. "500":
  17358. description: Internal Server Error
  17359. schema:
  17360. $ref: '#/definitions/app.Response'
  17361. security:
  17362. - ApiKeyAuth: []
  17363. summary: 历史委托单查询请求(合约市场)
  17364. tags:
  17365. - 通用单据
  17366. /Order/QueryTradeDetail:
  17367. get:
  17368. parameters:
  17369. - description: 资金账户 - 格式:1,2,3
  17370. in: query
  17371. name: accountID
  17372. required: true
  17373. type: string
  17374. - description: 成交单号
  17375. in: query
  17376. name: tradeID
  17377. type: integer
  17378. - description: 委托单号
  17379. in: query
  17380. name: orderID
  17381. type: integer
  17382. - description: 交易模式 - 格式:1,2,3
  17383. in: query
  17384. name: tradeMode
  17385. type: string
  17386. - description: 委托单据类型
  17387. in: query
  17388. name: buildType
  17389. type: integer
  17390. - description: 成交类别 - 格式:1,2,3
  17391. in: query
  17392. name: tradeType
  17393. type: string
  17394. produces:
  17395. - application/json
  17396. responses:
  17397. "200":
  17398. description: OK
  17399. schema:
  17400. $ref: '#/definitions/order.QueryTradeDetailRsp'
  17401. "500":
  17402. description: Internal Server Error
  17403. schema:
  17404. $ref: '#/definitions/app.Response'
  17405. security:
  17406. - ApiKeyAuth: []
  17407. summary: 成交单查询(合约市场)
  17408. tags:
  17409. - 通用单据
  17410. /Order/QueryTradeOrderDetail:
  17411. get:
  17412. parameters:
  17413. - description: 资金账户 - 格式:1,2,3
  17414. in: query
  17415. name: accountID
  17416. required: true
  17417. type: string
  17418. - description: 交易模式 - 格式:1,2,3
  17419. in: query
  17420. name: tradeMode
  17421. type: string
  17422. - description: 委托状态 - 格式:1,2,3
  17423. in: query
  17424. name: orderStatus
  17425. type: string
  17426. - description: 委托单号
  17427. in: query
  17428. name: orderID
  17429. type: integer
  17430. produces:
  17431. - application/json
  17432. responses:
  17433. "200":
  17434. description: OK
  17435. schema:
  17436. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  17437. "500":
  17438. description: Internal Server Error
  17439. schema:
  17440. $ref: '#/definitions/app.Response'
  17441. security:
  17442. - ApiKeyAuth: []
  17443. summary: 委托单查询请求(合约市场)
  17444. tags:
  17445. - 通用单据
  17446. /Order/QueryTradePosition:
  17447. get:
  17448. parameters:
  17449. - description: 资金账户 - 格式:1,2,3
  17450. in: query
  17451. name: accountID
  17452. required: true
  17453. type: string
  17454. - description: 交易模式 - 格式:1,2,3
  17455. in: query
  17456. name: tradeMode
  17457. type: string
  17458. produces:
  17459. - application/json
  17460. responses:
  17461. "200":
  17462. description: OK
  17463. schema:
  17464. $ref: '#/definitions/order.QueryTradePositionRsp'
  17465. "500":
  17466. description: Internal Server Error
  17467. schema:
  17468. $ref: '#/definitions/app.Response'
  17469. security:
  17470. - ApiKeyAuth: []
  17471. summary: 持仓汇总查询(合约市场)
  17472. tags:
  17473. - 通用单据
  17474. /Qhj/QueryAccountInOutApply:
  17475. get:
  17476. parameters:
  17477. - description: 申请起始日期(格式yyyymmdd)
  17478. in: query
  17479. name: begindate
  17480. type: string
  17481. - description: 申请截止日期(格式yyyymmdd)
  17482. in: query
  17483. name: enddate
  17484. type: string
  17485. - description: 模糊搜索名称
  17486. in: query
  17487. name: likename
  17488. type: string
  17489. produces:
  17490. - application/json
  17491. responses:
  17492. "200":
  17493. description: OK
  17494. schema:
  17495. items:
  17496. $ref: '#/definitions/models.QhjAccountOutInApply'
  17497. type: array
  17498. "500":
  17499. description: Internal Server Error
  17500. schema:
  17501. $ref: '#/definitions/app.Response'
  17502. security:
  17503. - ApiKeyAuth: []
  17504. summary: 查询充值提现
  17505. tags:
  17506. - 大连千海金
  17507. /Qhj/QueryBankAccountSign:
  17508. get:
  17509. parameters:
  17510. - description: 用户ID
  17511. in: query
  17512. name: userid
  17513. required: true
  17514. type: integer
  17515. produces:
  17516. - application/json
  17517. responses:
  17518. "200":
  17519. description: OK
  17520. schema:
  17521. items:
  17522. $ref: '#/definitions/models.QhjBankAccountSign'
  17523. type: array
  17524. "500":
  17525. description: Internal Server Error
  17526. schema:
  17527. $ref: '#/definitions/app.Response'
  17528. security:
  17529. - ApiKeyAuth: []
  17530. summary: 查询签约银行信息(提现账户管理)
  17531. tags:
  17532. - 大连千海金
  17533. /Qhj/QueryBankInfo:
  17534. get:
  17535. produces:
  17536. - application/json
  17537. responses:
  17538. "200":
  17539. description: OK
  17540. schema:
  17541. items:
  17542. $ref: '#/definitions/models.QhjBankInfo'
  17543. type: array
  17544. "500":
  17545. description: Internal Server Error
  17546. schema:
  17547. $ref: '#/definitions/app.Response'
  17548. security:
  17549. - ApiKeyAuth: []
  17550. summary: 查询开户行
  17551. tags:
  17552. - 大连千海金
  17553. /Qhj/QueryContract:
  17554. get:
  17555. parameters:
  17556. - description: 用户ID
  17557. in: query
  17558. name: userid
  17559. required: true
  17560. type: integer
  17561. - description: scf合同id
  17562. in: query
  17563. name: scfcontractid
  17564. type: integer
  17565. produces:
  17566. - application/json
  17567. responses:
  17568. "200":
  17569. description: OK
  17570. schema:
  17571. items:
  17572. $ref: '#/definitions/models.QhjContract'
  17573. type: array
  17574. "500":
  17575. description: Internal Server Error
  17576. schema:
  17577. $ref: '#/definitions/app.Response'
  17578. security:
  17579. - ApiKeyAuth: []
  17580. summary: 查询融资明细(合同)
  17581. tags:
  17582. - 大连千海金
  17583. /Qhj/QueryContractLog:
  17584. get:
  17585. parameters:
  17586. - description: scf合同id
  17587. in: query
  17588. name: scfcontractid
  17589. required: true
  17590. type: integer
  17591. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  17592. in: query
  17593. name: amounttype
  17594. type: string
  17595. produces:
  17596. - application/json
  17597. responses:
  17598. "200":
  17599. description: OK
  17600. schema:
  17601. items:
  17602. $ref: '#/definitions/models.QhjContractLog'
  17603. type: array
  17604. "500":
  17605. description: Internal Server Error
  17606. schema:
  17607. $ref: '#/definitions/app.Response'
  17608. security:
  17609. - ApiKeyAuth: []
  17610. summary: 查询融资明细流水(融资明细详情页中的流水)
  17611. tags:
  17612. - 大连千海金
  17613. /Qhj/QueryCusBankSignBank:
  17614. get:
  17615. produces:
  17616. - application/json
  17617. responses:
  17618. "200":
  17619. description: OK
  17620. schema:
  17621. items:
  17622. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  17623. type: array
  17624. "500":
  17625. description: Internal Server Error
  17626. schema:
  17627. $ref: '#/definitions/app.Response'
  17628. security:
  17629. - ApiKeyAuth: []
  17630. summary: 查询托管银行
  17631. tags:
  17632. - 大连千海金
  17633. /Qhj/QueryCustomerInfo:
  17634. get:
  17635. parameters:
  17636. - description: 用户ID
  17637. in: query
  17638. name: userid
  17639. required: true
  17640. type: integer
  17641. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  17642. in: query
  17643. name: querytype
  17644. required: true
  17645. type: integer
  17646. - description: 客户类型 1-个人 2-企业
  17647. in: query
  17648. name: userinfotype
  17649. type: integer
  17650. - description: 客户名称(模糊匹配)
  17651. in: query
  17652. name: customername
  17653. type: string
  17654. - description: 昵称(模糊匹配)
  17655. in: query
  17656. name: nickname
  17657. type: string
  17658. - description: 是否包含子级 1-包含
  17659. in: query
  17660. name: includesub
  17661. type: integer
  17662. produces:
  17663. - application/json
  17664. responses:
  17665. "200":
  17666. description: OK
  17667. schema:
  17668. items:
  17669. $ref: '#/definitions/models.QhjCustomer'
  17670. type: array
  17671. "500":
  17672. description: Internal Server Error
  17673. schema:
  17674. $ref: '#/definitions/app.Response'
  17675. security:
  17676. - ApiKeyAuth: []
  17677. summary: 查询客户资料
  17678. tags:
  17679. - 大连千海金
  17680. /Qhj/QueryGoodsEx:
  17681. get:
  17682. parameters:
  17683. - description: 商品id
  17684. in: query
  17685. name: goodsid
  17686. type: integer
  17687. produces:
  17688. - application/json
  17689. responses:
  17690. "200":
  17691. description: OK
  17692. schema:
  17693. items:
  17694. $ref: '#/definitions/models.Qhjgoodsex'
  17695. type: array
  17696. "500":
  17697. description: Internal Server Error
  17698. schema:
  17699. $ref: '#/definitions/app.Response'
  17700. security:
  17701. - ApiKeyAuth: []
  17702. summary: 交易商品扩展表
  17703. tags:
  17704. - 大连千海金
  17705. /Qhj/QueryPayOrder:
  17706. get:
  17707. parameters:
  17708. - description: 资金账号id
  17709. in: query
  17710. name: accountid
  17711. required: true
  17712. type: integer
  17713. produces:
  17714. - application/json
  17715. responses:
  17716. "200":
  17717. description: OK
  17718. schema:
  17719. items:
  17720. $ref: '#/definitions/models.QhjPayOrder'
  17721. type: array
  17722. "500":
  17723. description: Internal Server Error
  17724. schema:
  17725. $ref: '#/definitions/app.Response'
  17726. security:
  17727. - ApiKeyAuth: []
  17728. summary: 查询待付款单据
  17729. tags:
  17730. - 大连千海金
  17731. /Qhj/QueryPickArea:
  17732. get:
  17733. parameters:
  17734. - description: 用户ID
  17735. in: query
  17736. name: userid
  17737. type: integer
  17738. produces:
  17739. - application/json
  17740. responses:
  17741. "200":
  17742. description: OK
  17743. schema:
  17744. items:
  17745. $ref: '#/definitions/models.QhjPickArea'
  17746. type: array
  17747. "500":
  17748. description: Internal Server Error
  17749. schema:
  17750. $ref: '#/definitions/app.Response'
  17751. security:
  17752. - ApiKeyAuth: []
  17753. summary: 查询提货门店
  17754. tags:
  17755. - 大连千海金
  17756. /Qhj/QueryPickGoods:
  17757. get:
  17758. parameters:
  17759. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  17760. in: query
  17761. name: status
  17762. type: string
  17763. produces:
  17764. - application/json
  17765. responses:
  17766. "200":
  17767. description: OK
  17768. schema:
  17769. items:
  17770. $ref: '#/definitions/models.QhjPickGoods'
  17771. type: array
  17772. "500":
  17773. description: Internal Server Error
  17774. schema:
  17775. $ref: '#/definitions/app.Response'
  17776. security:
  17777. - ApiKeyAuth: []
  17778. summary: 查询提货商品
  17779. tags:
  17780. - 大连千海金
  17781. /Qhj/QueryRSTriggerLog:
  17782. get:
  17783. parameters:
  17784. - description: 用户ID
  17785. in: query
  17786. name: userid
  17787. required: true
  17788. type: integer
  17789. - description: 定投策略id
  17790. in: query
  17791. name: regularlystrategyid
  17792. type: integer
  17793. produces:
  17794. - application/json
  17795. responses:
  17796. "200":
  17797. description: OK
  17798. schema:
  17799. items:
  17800. $ref: '#/definitions/models.QhjRSTriggerLog'
  17801. type: array
  17802. "500":
  17803. description: Internal Server Error
  17804. schema:
  17805. $ref: '#/definitions/app.Response'
  17806. security:
  17807. - ApiKeyAuth: []
  17808. summary: 查询定投记录(定投管理/详情/定投记录)
  17809. tags:
  17810. - 大连千海金
  17811. /Qhj/QueryRStrategy:
  17812. get:
  17813. parameters:
  17814. - description: 用户ID
  17815. in: query
  17816. name: userid
  17817. required: true
  17818. type: integer
  17819. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  17820. in: query
  17821. name: status
  17822. type: string
  17823. produces:
  17824. - application/json
  17825. responses:
  17826. "200":
  17827. description: OK
  17828. schema:
  17829. items:
  17830. $ref: '#/definitions/models.QhjRStrategy'
  17831. type: array
  17832. "500":
  17833. description: Internal Server Error
  17834. schema:
  17835. $ref: '#/definitions/app.Response'
  17836. security:
  17837. - ApiKeyAuth: []
  17838. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  17839. tags:
  17840. - 大连千海金
  17841. /Qhj/QueryReckonPriceLog:
  17842. get:
  17843. parameters:
  17844. - description: 商品ID
  17845. in: query
  17846. name: goodsid
  17847. type: integer
  17848. - description: 交易日 格式(yyyymmdd)
  17849. in: query
  17850. name: tradedate
  17851. type: string
  17852. produces:
  17853. - application/json
  17854. responses:
  17855. "200":
  17856. description: OK
  17857. schema:
  17858. items:
  17859. $ref: '#/definitions/models.QhjReckonPriceLog'
  17860. type: array
  17861. "500":
  17862. description: Internal Server Error
  17863. schema:
  17864. $ref: '#/definitions/app.Response'
  17865. security:
  17866. - ApiKeyAuth: []
  17867. summary: 查询定投价(结算价)
  17868. tags:
  17869. - 大连千海金
  17870. /Qhj/QuerySiteColumnDetail:
  17871. get:
  17872. parameters:
  17873. - description: 用户ID
  17874. in: query
  17875. name: userid
  17876. required: true
  17877. type: integer
  17878. produces:
  17879. - application/json
  17880. responses:
  17881. "200":
  17882. description: OK
  17883. schema:
  17884. items:
  17885. $ref: '#/definitions/models.QhjSiteColumnDetail'
  17886. type: array
  17887. "500":
  17888. description: Internal Server Error
  17889. schema:
  17890. $ref: '#/definitions/app.Response'
  17891. security:
  17892. - ApiKeyAuth: []
  17893. summary: 查询资讯
  17894. tags:
  17895. - 大连千海金
  17896. /Qhj/QueryTradeGoodsPickup:
  17897. get:
  17898. parameters:
  17899. - description: 用户ID
  17900. in: query
  17901. name: userid
  17902. required: true
  17903. type: integer
  17904. produces:
  17905. - application/json
  17906. responses:
  17907. "200":
  17908. description: OK
  17909. schema:
  17910. items:
  17911. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  17912. type: array
  17913. "500":
  17914. description: Internal Server Error
  17915. schema:
  17916. $ref: '#/definitions/app.Response'
  17917. security:
  17918. - ApiKeyAuth: []
  17919. summary: 查询提货
  17920. tags:
  17921. - 大连千海金
  17922. /Qhj/QueryUserCollectConfig:
  17923. get:
  17924. parameters:
  17925. - description: 用户ID
  17926. in: query
  17927. name: userid
  17928. required: true
  17929. type: integer
  17930. produces:
  17931. - application/json
  17932. responses:
  17933. "200":
  17934. description: OK
  17935. schema:
  17936. items:
  17937. $ref: '#/definitions/models.UserCollectConfig'
  17938. type: array
  17939. "500":
  17940. description: Internal Server Error
  17941. schema:
  17942. $ref: '#/definitions/app.Response'
  17943. security:
  17944. - ApiKeyAuth: []
  17945. summary: 查询提现账户设置
  17946. tags:
  17947. - 大连千海金
  17948. /Qhj/QueryUserReceiveInfo:
  17949. get:
  17950. parameters:
  17951. - description: 用户ID
  17952. in: query
  17953. name: userid
  17954. required: true
  17955. type: integer
  17956. produces:
  17957. - application/json
  17958. responses:
  17959. "200":
  17960. description: OK
  17961. schema:
  17962. items:
  17963. $ref: '#/definitions/models.UserReceiveInfo'
  17964. type: array
  17965. "500":
  17966. description: Internal Server Error
  17967. schema:
  17968. $ref: '#/definitions/app.Response'
  17969. security:
  17970. - ApiKeyAuth: []
  17971. summary: 查询收货地址信息
  17972. tags:
  17973. - 大连千海金
  17974. /Quote/QueryHistoryDatas:
  17975. get:
  17976. parameters:
  17977. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  17978. 日线'
  17979. in: query
  17980. name: cycleType
  17981. required: true
  17982. type: integer
  17983. - description: 商品代码
  17984. in: query
  17985. name: goodsCode
  17986. required: true
  17987. type: string
  17988. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17989. in: query
  17990. name: startTime
  17991. type: string
  17992. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17993. in: query
  17994. name: endTime
  17995. type: string
  17996. - description: 条数
  17997. in: query
  17998. name: count
  17999. type: integer
  18000. - description: 是否按时间顺序排序(默认为时间倒序排序)
  18001. in: query
  18002. name: isAsc
  18003. type: boolean
  18004. produces:
  18005. - application/json
  18006. responses:
  18007. "200":
  18008. description: OK
  18009. schema:
  18010. $ref: '#/definitions/quote.HistoryData'
  18011. "500":
  18012. description: Internal Server Error
  18013. schema:
  18014. $ref: '#/definitions/app.Response'
  18015. security:
  18016. - ApiKeyAuth: []
  18017. summary: 查询行情历史数据
  18018. tags:
  18019. - 行情服务
  18020. /Quote/QueryHistoryTikDatas:
  18021. get:
  18022. parameters:
  18023. - description: 商品代码
  18024. in: query
  18025. name: goodsCode
  18026. required: true
  18027. type: string
  18028. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  18029. in: query
  18030. name: startTime
  18031. type: string
  18032. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  18033. in: query
  18034. name: endTime
  18035. type: string
  18036. - description: 条数
  18037. in: query
  18038. name: count
  18039. type: integer
  18040. - description: 是否按时间顺序排序(默认为时间倒序排序)
  18041. in: query
  18042. name: isAsc
  18043. type: boolean
  18044. produces:
  18045. - application/json
  18046. responses:
  18047. "200":
  18048. description: OK
  18049. schema:
  18050. $ref: '#/definitions/quote.HistoryTikData'
  18051. "500":
  18052. description: Internal Server Error
  18053. schema:
  18054. $ref: '#/definitions/app.Response'
  18055. security:
  18056. - ApiKeyAuth: []
  18057. summary: 查询行情Tik数据
  18058. tags:
  18059. - 行情服务
  18060. /Quote/QueryQuoteDay:
  18061. get:
  18062. parameters:
  18063. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  18064. in: query
  18065. name: goodsCodes
  18066. required: true
  18067. type: string
  18068. produces:
  18069. - application/json
  18070. responses:
  18071. "200":
  18072. description: OK
  18073. schema:
  18074. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  18075. "500":
  18076. description: Internal Server Error
  18077. schema:
  18078. $ref: '#/definitions/app.Response'
  18079. security:
  18080. - ApiKeyAuth: []
  18081. summary: 获取商品盘面信息
  18082. tags:
  18083. - 行情服务
  18084. /Quote/QueryTSData:
  18085. get:
  18086. parameters:
  18087. - description: 商品代码
  18088. in: query
  18089. name: goodsCode
  18090. required: true
  18091. type: string
  18092. produces:
  18093. - application/json
  18094. responses:
  18095. "200":
  18096. description: OK
  18097. schema:
  18098. $ref: '#/definitions/quote.QueryTSDataRsp'
  18099. "500":
  18100. description: Internal Server Error
  18101. schema:
  18102. $ref: '#/definitions/app.Response'
  18103. security:
  18104. - ApiKeyAuth: []
  18105. summary: 分时图数据查询
  18106. tags:
  18107. - 行情服务
  18108. /SZDZ/QueryConvertConfig:
  18109. get:
  18110. parameters:
  18111. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  18112. 6:交易转花生米(不设置)
  18113. in: query
  18114. name: convertType
  18115. type: integer
  18116. - description: 外部商品代码[JD\PD]
  18117. in: query
  18118. name: outerGoodsCode
  18119. type: string
  18120. - description: 内部商品ID列表[交易],格式:1,2,3
  18121. in: query
  18122. name: innerGoodsIDs
  18123. type: string
  18124. produces:
  18125. - application/json
  18126. responses:
  18127. "200":
  18128. description: OK
  18129. schema:
  18130. $ref: '#/definitions/models.Szdz3convertconfig'
  18131. "500":
  18132. description: Internal Server Error
  18133. schema:
  18134. $ref: '#/definitions/app.Response'
  18135. security:
  18136. - ApiKeyAuth: []
  18137. summary: 查询交易系统转换设置
  18138. tags:
  18139. - 定制【尚志大宗】
  18140. /SZDZ/QueryConvertLog:
  18141. get:
  18142. parameters:
  18143. - description: 资金账户 - 格式:1,2,3
  18144. in: query
  18145. name: accountID
  18146. required: true
  18147. type: string
  18148. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18149. in: query
  18150. name: startDate
  18151. type: string
  18152. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18153. in: query
  18154. name: endDate
  18155. type: string
  18156. produces:
  18157. - application/json
  18158. responses:
  18159. "200":
  18160. description: OK
  18161. schema:
  18162. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  18163. "500":
  18164. description: Internal Server Error
  18165. schema:
  18166. $ref: '#/definitions/app.Response'
  18167. security:
  18168. - ApiKeyAuth: []
  18169. summary: 交易系统转换流水查询
  18170. tags:
  18171. - 定制【尚志大宗】
  18172. /SZDZ/QueryGoodsPickup:
  18173. get:
  18174. parameters:
  18175. - description: 资金账户 - 格式:1,2,3
  18176. in: query
  18177. name: accountID
  18178. required: true
  18179. type: string
  18180. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18181. in: query
  18182. name: takeOrderStatus
  18183. type: integer
  18184. produces:
  18185. - application/json
  18186. responses:
  18187. "200":
  18188. description: OK
  18189. schema:
  18190. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  18191. "500":
  18192. description: Internal Server Error
  18193. schema:
  18194. $ref: '#/definitions/app.Response'
  18195. security:
  18196. - ApiKeyAuth: []
  18197. summary: 商品提货单查询
  18198. tags:
  18199. - 定制【尚志大宗】
  18200. /SZDZ/QueryRecieptOrder:
  18201. get:
  18202. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  18203. parameters:
  18204. - description: 页码
  18205. in: query
  18206. name: page
  18207. type: integer
  18208. - description: 每页条数
  18209. in: query
  18210. name: pagesize
  18211. type: integer
  18212. - description: 商品ID
  18213. in: query
  18214. name: goodsID
  18215. required: true
  18216. type: integer
  18217. - description: 所属账户名称
  18218. in: query
  18219. name: accountName
  18220. type: string
  18221. - description: 市场ID
  18222. in: query
  18223. name: marketID
  18224. type: integer
  18225. - description: 方向 - 0:买 1:卖
  18226. in: query
  18227. name: buyorsell
  18228. required: true
  18229. type: integer
  18230. produces:
  18231. - application/json
  18232. responses:
  18233. "200":
  18234. description: OK
  18235. schema:
  18236. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  18237. "500":
  18238. description: Internal Server Error
  18239. schema:
  18240. $ref: '#/definitions/app.Response'
  18241. security:
  18242. - ApiKeyAuth: []
  18243. summary: 点选挂牌委托单据查询(摘牌大厅)
  18244. tags:
  18245. - 定制【尚志大宗】
  18246. /SZDZ/QuerySZDZTradePosition:
  18247. get:
  18248. parameters:
  18249. - description: 资金账户
  18250. in: query
  18251. name: accountID
  18252. required: true
  18253. type: integer
  18254. produces:
  18255. - application/json
  18256. responses:
  18257. "200":
  18258. description: OK
  18259. schema:
  18260. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  18261. "500":
  18262. description: Internal Server Error
  18263. schema:
  18264. $ref: '#/definitions/app.Response'
  18265. security:
  18266. - ApiKeyAuth: []
  18267. summary: 持仓汇总查询(尚志大宗)
  18268. tags:
  18269. - 定制【尚志大宗】
  18270. /SZDZ/SearchWhite:
  18271. get:
  18272. parameters:
  18273. - description: 用户ID
  18274. in: query
  18275. name: userID
  18276. required: true
  18277. type: integer
  18278. produces:
  18279. - application/json
  18280. responses:
  18281. "200":
  18282. description: OK
  18283. schema:
  18284. $ref: '#/definitions/models.Szdz3searchwhitelist'
  18285. "500":
  18286. description: Internal Server Error
  18287. schema:
  18288. $ref: '#/definitions/app.Response'
  18289. security:
  18290. - ApiKeyAuth: []
  18291. summary: 搜索白名单
  18292. tags:
  18293. - 定制【尚志大宗】
  18294. /Search/SearchGoodses:
  18295. get:
  18296. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  18297. parameters:
  18298. - description: 检索内容
  18299. in: query
  18300. name: content
  18301. required: true
  18302. type: string
  18303. - description: 交易模式,格式:1,2,3
  18304. in: query
  18305. name: tradeModes
  18306. type: string
  18307. produces:
  18308. - application/json
  18309. responses:
  18310. "200":
  18311. description: OK
  18312. schema:
  18313. $ref: '#/definitions/models.SearchGoods'
  18314. "500":
  18315. description: Internal Server Error
  18316. schema:
  18317. $ref: '#/definitions/app.Response'
  18318. summary: 检索商品信息
  18319. tags:
  18320. - 检索服务
  18321. /TaAccount/GetTaAccounts:
  18322. get:
  18323. parameters:
  18324. - description: 登录账户
  18325. in: query
  18326. name: loginID
  18327. required: true
  18328. type: integer
  18329. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  18330. in: query
  18331. name: taAccountType
  18332. type: integer
  18333. produces:
  18334. - application/json
  18335. responses:
  18336. "200":
  18337. description: OK
  18338. schema:
  18339. $ref: '#/definitions/models.Taaccount'
  18340. "500":
  18341. description: Internal Server Error
  18342. schema:
  18343. $ref: '#/definitions/app.Response'
  18344. security:
  18345. - ApiKeyAuth: []
  18346. summary: 获取资金账户信息
  18347. tags:
  18348. - 资金账户
  18349. /TaAccount/QueryAmountLog:
  18350. get:
  18351. parameters:
  18352. - description: 页码
  18353. in: query
  18354. name: page
  18355. type: integer
  18356. - description: 每页条数
  18357. in: query
  18358. name: pagesize
  18359. type: integer
  18360. - description: 资金账户 - 格式:1,2,3
  18361. in: query
  18362. name: accountID
  18363. required: true
  18364. type: string
  18365. - description: 资金操作类型 - 格式:1,2,3
  18366. in: query
  18367. name: OperateType
  18368. type: string
  18369. produces:
  18370. - application/json
  18371. responses:
  18372. "200":
  18373. description: OK
  18374. schema:
  18375. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  18376. "500":
  18377. description: Internal Server Error
  18378. schema:
  18379. $ref: '#/definitions/app.Response'
  18380. security:
  18381. - ApiKeyAuth: []
  18382. summary: 资金流水查询(当前)
  18383. tags:
  18384. - 资金账户
  18385. /TaAccount/QueryHisAmountLog:
  18386. get:
  18387. parameters:
  18388. - description: 页码
  18389. in: query
  18390. name: page
  18391. type: integer
  18392. - description: 每页条数
  18393. in: query
  18394. name: pagesize
  18395. type: integer
  18396. - description: 资金账户 - 格式:1,2,3
  18397. in: query
  18398. name: accountID
  18399. required: true
  18400. type: string
  18401. - description: 资金操作类型 - 格式:1,2,3
  18402. in: query
  18403. name: OperateType
  18404. type: string
  18405. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18406. in: query
  18407. name: startDate
  18408. type: string
  18409. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18410. in: query
  18411. name: endDate
  18412. type: string
  18413. produces:
  18414. - application/json
  18415. responses:
  18416. "200":
  18417. description: OK
  18418. schema:
  18419. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  18420. "500":
  18421. description: Internal Server Error
  18422. schema:
  18423. $ref: '#/definitions/app.Response'
  18424. security:
  18425. - ApiKeyAuth: []
  18426. summary: 资金流水查询(历史)
  18427. tags:
  18428. - 资金账户
  18429. /Trade/QueryRecieptOrder:
  18430. get:
  18431. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  18432. parameters:
  18433. - description: 页码
  18434. in: query
  18435. name: page
  18436. type: integer
  18437. - description: 每页条数
  18438. in: query
  18439. name: pagesize
  18440. type: integer
  18441. - description: 商品ID
  18442. in: query
  18443. name: goodsID
  18444. required: true
  18445. type: integer
  18446. - description: 所属账户名称
  18447. in: query
  18448. name: accountName
  18449. type: string
  18450. - description: 市场ID
  18451. in: query
  18452. name: marketID
  18453. type: integer
  18454. - description: 方向 - 0:买 1:卖
  18455. in: query
  18456. name: buyorsell
  18457. required: true
  18458. type: integer
  18459. produces:
  18460. - application/json
  18461. responses:
  18462. "200":
  18463. description: OK
  18464. schema:
  18465. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  18466. "500":
  18467. description: Internal Server Error
  18468. schema:
  18469. $ref: '#/definitions/app.Response'
  18470. security:
  18471. - ApiKeyAuth: []
  18472. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  18473. tags:
  18474. - 通用交易
  18475. /User/AddMessageBoard:
  18476. post:
  18477. parameters:
  18478. - description: 用户ID
  18479. in: query
  18480. name: userID
  18481. required: true
  18482. type: integer
  18483. - description: 留言信息
  18484. in: query
  18485. name: message
  18486. required: true
  18487. type: string
  18488. - description: 联系电话
  18489. in: query
  18490. name: contactNum
  18491. required: true
  18492. type: string
  18493. produces:
  18494. - application/json
  18495. responses:
  18496. "200":
  18497. description: OK
  18498. schema:
  18499. $ref: '#/definitions/app.Response'
  18500. "500":
  18501. description: Internal Server Error
  18502. schema:
  18503. $ref: '#/definitions/app.Response'
  18504. security:
  18505. - ApiKeyAuth: []
  18506. summary: 添加用户留言板信息
  18507. tags:
  18508. - 用户信息
  18509. /User/AddUserFavoriteGoods:
  18510. post:
  18511. parameters:
  18512. - description: 用户ID
  18513. in: query
  18514. name: userID
  18515. required: true
  18516. type: integer
  18517. - description: 商品ID
  18518. in: query
  18519. name: goodsID
  18520. required: true
  18521. type: integer
  18522. produces:
  18523. - application/json
  18524. responses:
  18525. "200":
  18526. description: OK
  18527. schema:
  18528. $ref: '#/definitions/app.Response'
  18529. "500":
  18530. description: Internal Server Error
  18531. schema:
  18532. $ref: '#/definitions/app.Response'
  18533. security:
  18534. - ApiKeyAuth: []
  18535. summary: 添加用户商品收藏信息
  18536. tags:
  18537. - 用户信息
  18538. /User/GetLoginID:
  18539. get:
  18540. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  18541. parameters:
  18542. - description: 登录代码
  18543. in: query
  18544. name: username
  18545. required: true
  18546. type: string
  18547. produces:
  18548. - application/json
  18549. responses:
  18550. "200":
  18551. description: OK
  18552. schema:
  18553. $ref: '#/definitions/app.Response'
  18554. "500":
  18555. description: Internal Server Error
  18556. schema:
  18557. $ref: '#/definitions/app.Response'
  18558. summary: 获取登录ID
  18559. tags:
  18560. - 用户信息
  18561. /User/GetUserAccount:
  18562. get:
  18563. parameters:
  18564. - description: 用户ID
  18565. in: query
  18566. name: userID
  18567. required: true
  18568. type: integer
  18569. produces:
  18570. - application/json
  18571. responses:
  18572. "200":
  18573. description: OK
  18574. schema:
  18575. $ref: '#/definitions/models.Useraccount'
  18576. "500":
  18577. description: Internal Server Error
  18578. schema:
  18579. $ref: '#/definitions/app.Response'
  18580. security:
  18581. - ApiKeyAuth: []
  18582. summary: 获取用户账号信息
  18583. tags:
  18584. - 用户信息
  18585. /User/GetUserAuthStatus:
  18586. get:
  18587. parameters:
  18588. - description: 用户ID
  18589. in: query
  18590. name: userID
  18591. required: true
  18592. type: integer
  18593. produces:
  18594. - application/json
  18595. responses:
  18596. "200":
  18597. description: OK
  18598. schema:
  18599. $ref: '#/definitions/app.Response'
  18600. "500":
  18601. description: Internal Server Error
  18602. schema:
  18603. $ref: '#/definitions/app.Response'
  18604. security:
  18605. - ApiKeyAuth: []
  18606. summary: 获取用户实名认证状态
  18607. tags:
  18608. - 用户信息
  18609. /User/LoginQuery:
  18610. get:
  18611. parameters:
  18612. - description: 登录账号
  18613. in: query
  18614. name: loginID
  18615. required: true
  18616. type: integer
  18617. produces:
  18618. - application/json
  18619. responses:
  18620. "200":
  18621. description: OK
  18622. schema:
  18623. $ref: '#/definitions/user.LoginQueryRsp'
  18624. "500":
  18625. description: Internal Server Error
  18626. schema:
  18627. $ref: '#/definitions/app.Response'
  18628. security:
  18629. - ApiKeyAuth: []
  18630. summary: 账户登录后信息查询
  18631. tags:
  18632. - 用户信息
  18633. /User/QueryMessageBoard:
  18634. get:
  18635. parameters:
  18636. - description: 用户ID
  18637. in: query
  18638. name: userID
  18639. required: true
  18640. type: integer
  18641. produces:
  18642. - application/json
  18643. responses:
  18644. "200":
  18645. description: OK
  18646. schema:
  18647. $ref: '#/definitions/models.Messageboard'
  18648. "500":
  18649. description: Internal Server Error
  18650. schema:
  18651. $ref: '#/definitions/app.Response'
  18652. security:
  18653. - ApiKeyAuth: []
  18654. summary: 获取用户留言板信息
  18655. tags:
  18656. - 用户信息
  18657. /User/QueryUserFavoriteGoodses:
  18658. get:
  18659. parameters:
  18660. - description: 用户ID
  18661. in: query
  18662. name: userID
  18663. required: true
  18664. type: integer
  18665. produces:
  18666. - application/json
  18667. responses:
  18668. "200":
  18669. description: OK
  18670. schema:
  18671. $ref: '#/definitions/models.Userfavoritegoods'
  18672. "500":
  18673. description: Internal Server Error
  18674. schema:
  18675. $ref: '#/definitions/app.Response'
  18676. security:
  18677. - ApiKeyAuth: []
  18678. summary: 获取用户商品收藏信息
  18679. tags:
  18680. - 用户信息
  18681. /User/QueryUserInfo:
  18682. get:
  18683. parameters:
  18684. - description: 用户ID
  18685. in: query
  18686. name: userID
  18687. required: true
  18688. type: integer
  18689. - description: 是否解密
  18690. in: query
  18691. name: isDecrypt
  18692. type: boolean
  18693. produces:
  18694. - application/json
  18695. responses:
  18696. "200":
  18697. description: OK
  18698. schema:
  18699. $ref: '#/definitions/models.Userinfo'
  18700. "500":
  18701. description: Internal Server Error
  18702. schema:
  18703. $ref: '#/definitions/app.Response'
  18704. security:
  18705. - ApiKeyAuth: []
  18706. summary: 获取用户信息
  18707. tags:
  18708. - 用户信息
  18709. /User/QueryUserReferNum:
  18710. get:
  18711. parameters:
  18712. - description: 用户ID
  18713. in: query
  18714. name: userID
  18715. required: true
  18716. type: integer
  18717. produces:
  18718. - application/json
  18719. responses:
  18720. "200":
  18721. description: OK
  18722. schema:
  18723. $ref: '#/definitions/app.Response'
  18724. "500":
  18725. description: Internal Server Error
  18726. schema:
  18727. $ref: '#/definitions/app.Response'
  18728. summary: 获取用户邀请码
  18729. tags:
  18730. - 用户信息
  18731. /User/RemoveUserFavoriteGoods:
  18732. post:
  18733. parameters:
  18734. - description: 用户ID
  18735. in: query
  18736. name: userID
  18737. required: true
  18738. type: integer
  18739. - description: 商品ID
  18740. in: query
  18741. name: goodsID
  18742. required: true
  18743. type: integer
  18744. produces:
  18745. - application/json
  18746. responses:
  18747. "200":
  18748. description: OK
  18749. schema:
  18750. $ref: '#/definitions/app.Response'
  18751. "500":
  18752. description: Internal Server Error
  18753. schema:
  18754. $ref: '#/definitions/app.Response'
  18755. security:
  18756. - ApiKeyAuth: []
  18757. summary: 移除用户商品收藏信息
  18758. tags:
  18759. - 用户信息
  18760. /User/UpdateUserAccountStatus:
  18761. post:
  18762. parameters:
  18763. - description: 用户ID
  18764. in: query
  18765. name: userID
  18766. required: true
  18767. type: integer
  18768. - description: 账户状态 - 4:正常 6:注销(停用)
  18769. in: query
  18770. name: accountStatus
  18771. required: true
  18772. type: integer
  18773. produces:
  18774. - application/json
  18775. responses:
  18776. "200":
  18777. description: OK
  18778. schema:
  18779. $ref: '#/definitions/app.Response'
  18780. "500":
  18781. description: Internal Server Error
  18782. schema:
  18783. $ref: '#/definitions/app.Response'
  18784. security:
  18785. - ApiKeyAuth: []
  18786. summary: 更新用户状态
  18787. tags:
  18788. - 用户信息
  18789. /WRTrade/GetAllDeliveryGoods:
  18790. get:
  18791. produces:
  18792. - application/json
  18793. - application/json
  18794. responses:
  18795. "200":
  18796. description: OK
  18797. schema:
  18798. $ref: '#/definitions/app.Response'
  18799. "500":
  18800. description: Internal Server Error
  18801. schema:
  18802. $ref: '#/definitions/app.Response'
  18803. security:
  18804. - ApiKeyAuth: []
  18805. - ApiKeyAuth: []
  18806. summary: 获取带仓单分类的种类信息
  18807. tags:
  18808. - 仓单贸易
  18809. - 仓单贸易
  18810. securityDefinitions:
  18811. ApiKeyAuth:
  18812. in: header
  18813. name: Authorization
  18814. type: apiKey
  18815. swagger: "2.0"