swagger.yaml 537 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAvalidGPRsp:
  935. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  936. ermcp.QryBusinessDjRsp:
  937. properties:
  938. amount:
  939. description: 点价金额=(点价价格+升贴水)*点价数量
  940. type: number
  941. applyid:
  942. description: 申请人
  943. type: string
  944. applyname:
  945. description: 申请人名称
  946. type: string
  947. applystatus:
  948. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  949. type: integer
  950. applytime:
  951. description: 申请时间
  952. type: string
  953. attachurl:
  954. description: 附件
  955. type: string
  956. auditid:
  957. description: 审核人ID
  958. type: string
  959. auditname:
  960. description: 审核人名称
  961. type: string
  962. audittime:
  963. description: 审核时间
  964. type: string
  965. buyusername:
  966. description: 采购方名称
  967. type: string
  968. contractno:
  969. description: 合同编号
  970. type: string
  971. contractstatus:
  972. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  973. type: integer
  974. contracttype:
  975. description: 现货合同类型 - 1:采购 -1:销售
  976. type: integer
  977. deliverygoodscode:
  978. description: 现货品种代码
  979. type: string
  980. deliverygoodsid:
  981. description: 现货商品ID
  982. type: integer
  983. deliverygoodsname:
  984. description: 现货品种名称
  985. type: string
  986. enumdicname:
  987. description: 单位名称
  988. type: string
  989. goodscode:
  990. description: 点价合约
  991. type: string
  992. goodsname:
  993. description: 商品名称
  994. type: string
  995. operateapplyid:
  996. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  997. type: string
  998. operateapplytype:
  999. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1000. type: integer
  1001. pricedPrice:
  1002. description: 点价价格(非必填)
  1003. type: number
  1004. pricedQty:
  1005. description: 点价数量(非必填)
  1006. type: number
  1007. pricemove:
  1008. description: 升贴水
  1009. type: number
  1010. pricetype:
  1011. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1012. type: integer
  1013. relatedid:
  1014. description: 现货合同ID
  1015. type: string
  1016. sellusername:
  1017. description: 销售方名字
  1018. type: string
  1019. userid:
  1020. description: 用户ID
  1021. type: integer
  1022. wrstandardcode:
  1023. description: 品类代码
  1024. type: string
  1025. wrstandardid:
  1026. description: 品类id
  1027. type: integer
  1028. wrstandardname:
  1029. description: 品类名称
  1030. type: string
  1031. type: object
  1032. ermcp.QryBussinessFpRsp:
  1033. properties:
  1034. applyid:
  1035. description: 申请人
  1036. type: string
  1037. applyname:
  1038. description: 申请人名称
  1039. type: string
  1040. applystatus:
  1041. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1042. type: integer
  1043. applytime:
  1044. description: 申请时间
  1045. type: string
  1046. attachurl:
  1047. description: 附件
  1048. type: string
  1049. auditid:
  1050. description: 审核人ID
  1051. type: string
  1052. auditname:
  1053. description: 审核人名称
  1054. type: string
  1055. audittime:
  1056. description: 审核时间
  1057. type: string
  1058. buyusername:
  1059. description: 采购方名称
  1060. type: string
  1061. contractno:
  1062. description: 合同编号
  1063. type: string
  1064. contractstatus:
  1065. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1066. type: integer
  1067. contracttype:
  1068. description: 现货合同类型 - 1:采购 -1:销售
  1069. type: integer
  1070. deliverygoodscode:
  1071. description: 现货品种代码
  1072. type: string
  1073. deliverygoodsid:
  1074. description: 现货商品ID
  1075. type: integer
  1076. deliverygoodsname:
  1077. description: 现货品种名称
  1078. type: string
  1079. enumdicname:
  1080. description: 单位名称
  1081. type: string
  1082. goodscode:
  1083. description: 点价合约
  1084. type: string
  1085. goodsname:
  1086. description: 商品名称
  1087. type: string
  1088. invoiceAmount:
  1089. description: 已开收票金额(销售为开票,采购为收票)
  1090. type: number
  1091. operateapplyid:
  1092. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1093. type: string
  1094. operateapplytype:
  1095. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1096. type: integer
  1097. pricemove:
  1098. description: 升贴水
  1099. type: number
  1100. pricetype:
  1101. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1102. type: integer
  1103. relatedid:
  1104. description: 现货合同ID
  1105. type: string
  1106. sellusername:
  1107. description: 销售方名字
  1108. type: string
  1109. userid:
  1110. description: 用户ID
  1111. type: integer
  1112. wrstandardcode:
  1113. description: 品类代码
  1114. type: string
  1115. wrstandardid:
  1116. description: 品类id
  1117. type: integer
  1118. wrstandardname:
  1119. description: 品类名称
  1120. type: string
  1121. type: object
  1122. ermcp.QryBussinessJsExRsp:
  1123. properties:
  1124. applyid:
  1125. description: 申请人
  1126. type: string
  1127. applyname:
  1128. description: 申请人名称
  1129. type: string
  1130. applystatus:
  1131. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1132. type: integer
  1133. applytime:
  1134. description: 申请时间
  1135. type: string
  1136. attachurl:
  1137. description: 附件
  1138. type: string
  1139. auditid:
  1140. description: 审核人ID
  1141. type: string
  1142. auditname:
  1143. description: 审核人名称
  1144. type: string
  1145. audittime:
  1146. description: 审核时间
  1147. type: string
  1148. buyusername:
  1149. description: 采购方名称
  1150. type: string
  1151. contractno:
  1152. description: 合同编号
  1153. type: string
  1154. contractstatus:
  1155. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1156. type: integer
  1157. contracttype:
  1158. description: 现货合同类型 - 1:采购 -1:销售
  1159. type: integer
  1160. deliverygoodscode:
  1161. description: 现货品种代码
  1162. type: string
  1163. deliverygoodsid:
  1164. description: 现货商品ID
  1165. type: integer
  1166. deliverygoodsname:
  1167. description: 现货品种名称
  1168. type: string
  1169. enumdicname:
  1170. description: 单位名称
  1171. type: string
  1172. goodscode:
  1173. description: 点价合约
  1174. type: string
  1175. goodsname:
  1176. description: 商品名称
  1177. type: string
  1178. operateapplyid:
  1179. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1180. type: string
  1181. operateapplytype:
  1182. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1183. type: integer
  1184. pricemove:
  1185. description: 升贴水
  1186. type: number
  1187. pricetype:
  1188. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1189. type: integer
  1190. reckontype:
  1191. description: 结算类型
  1192. type: string
  1193. reckonvalue:
  1194. description: 值
  1195. type: number
  1196. relatedid:
  1197. description: 现货合同ID
  1198. type: string
  1199. sellusername:
  1200. description: 销售方名字
  1201. type: string
  1202. userid:
  1203. description: 用户ID
  1204. type: integer
  1205. wrstandardcode:
  1206. description: 品类代码
  1207. type: string
  1208. wrstandardid:
  1209. description: 品类id
  1210. type: integer
  1211. wrstandardname:
  1212. description: 品类名称
  1213. type: string
  1214. type: object
  1215. ermcp.QryBussinessJsRsp:
  1216. properties:
  1217. addmargin:
  1218. description: 追加保证金(非必填)
  1219. type: number
  1220. applyid:
  1221. description: 申请人
  1222. type: string
  1223. applyname:
  1224. description: 申请人名称
  1225. type: string
  1226. applystatus:
  1227. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1228. type: integer
  1229. applytime:
  1230. description: 申请时间
  1231. type: string
  1232. attachurl:
  1233. description: 附件
  1234. type: string
  1235. auditid:
  1236. description: 审核人ID
  1237. type: string
  1238. auditname:
  1239. description: 审核人名称
  1240. type: string
  1241. audittime:
  1242. description: 审核时间
  1243. type: string
  1244. buyusername:
  1245. description: 采购方名称
  1246. type: string
  1247. contractno:
  1248. description: 合同编号
  1249. type: string
  1250. contractstatus:
  1251. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1252. type: integer
  1253. contracttype:
  1254. description: 现货合同类型 - 1:采购 -1:销售
  1255. type: integer
  1256. decmargin:
  1257. description: 减少保证金(非必填)
  1258. type: number
  1259. deliverygoodscode:
  1260. description: 现货品种代码
  1261. type: string
  1262. deliverygoodsid:
  1263. description: 现货商品ID
  1264. type: integer
  1265. deliverygoodsname:
  1266. description: 现货品种名称
  1267. type: string
  1268. enumdicname:
  1269. description: 单位名称
  1270. type: string
  1271. goodscode:
  1272. description: 点价合约
  1273. type: string
  1274. goodsname:
  1275. description: 商品名称
  1276. type: string
  1277. operateapplyid:
  1278. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1279. type: string
  1280. operateapplytype:
  1281. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1282. type: integer
  1283. pricemove:
  1284. description: 升贴水
  1285. type: number
  1286. pricetype:
  1287. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1288. type: integer
  1289. reckonadjustamount:
  1290. description: 结算调整金额(非必填)
  1291. type: number
  1292. reckonosamount:
  1293. description: 结算溢短金额(非必填)
  1294. type: number
  1295. reckonotheramount:
  1296. description: 结算其他费用(非必填)
  1297. type: number
  1298. reckonrealqty:
  1299. description: 结算实际数量(非必填)
  1300. type: number
  1301. relatedid:
  1302. description: 现货合同ID
  1303. type: string
  1304. sellusername:
  1305. description: 销售方名字
  1306. type: string
  1307. userid:
  1308. description: 用户ID
  1309. type: integer
  1310. wrstandardcode:
  1311. description: 品类代码
  1312. type: string
  1313. wrstandardid:
  1314. description: 品类id
  1315. type: integer
  1316. wrstandardname:
  1317. description: 品类名称
  1318. type: string
  1319. type: object
  1320. ermcp.QryBussinessKxRsp:
  1321. properties:
  1322. applyid:
  1323. description: 申请人
  1324. type: string
  1325. applyname:
  1326. description: 申请人名称
  1327. type: string
  1328. applystatus:
  1329. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1330. type: integer
  1331. applytime:
  1332. description: 申请时间
  1333. type: string
  1334. attachurl:
  1335. description: 附件
  1336. type: string
  1337. auditid:
  1338. description: 审核人ID
  1339. type: string
  1340. auditname:
  1341. description: 审核人名称
  1342. type: string
  1343. audittime:
  1344. description: 审核时间
  1345. type: string
  1346. buyusername:
  1347. description: 采购方名称
  1348. type: string
  1349. contractno:
  1350. description: 合同编号
  1351. type: string
  1352. contractstatus:
  1353. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1354. type: integer
  1355. contracttype:
  1356. description: 现货合同类型 - 1:采购 -1:销售
  1357. type: integer
  1358. deductamount:
  1359. description: 退款(非必填)
  1360. type: number
  1361. deliverygoodscode:
  1362. description: 现货品种代码
  1363. type: string
  1364. deliverygoodsid:
  1365. description: 现货商品ID
  1366. type: integer
  1367. deliverygoodsname:
  1368. description: 现货品种名称
  1369. type: string
  1370. enumdicname:
  1371. description: 单位名称
  1372. type: string
  1373. goodscode:
  1374. description: 点价合约
  1375. type: string
  1376. goodsname:
  1377. description: 商品名称
  1378. type: string
  1379. kxtype:
  1380. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1381. type: integer
  1382. operateapplyid:
  1383. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1384. type: string
  1385. operateapplytype:
  1386. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1387. type: integer
  1388. payamount:
  1389. description: 收付款(非必填)
  1390. type: number
  1391. pricemove:
  1392. description: 升贴水
  1393. type: number
  1394. pricetype:
  1395. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1396. type: integer
  1397. relatedid:
  1398. description: 现货合同ID
  1399. type: string
  1400. sellusername:
  1401. description: 销售方名字
  1402. type: string
  1403. userid:
  1404. description: 用户ID
  1405. type: integer
  1406. wrstandardcode:
  1407. description: 品类代码
  1408. type: string
  1409. wrstandardid:
  1410. description: 品类id
  1411. type: integer
  1412. wrstandardname:
  1413. description: 品类名称
  1414. type: string
  1415. type: object
  1416. ermcp.QryGGCovertCfgRsp:
  1417. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1418. ermcp.QryMGChangeLogRsp:
  1419. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1420. ermcp.QryMiddleGoodsDetailRsp:
  1421. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1422. ermcp.QryMiddleGoodsRsp:
  1423. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1424. ermcp.QryOPLogRsp:
  1425. $ref: '#/definitions/models.ErmcpOPLogModel'
  1426. ermcp.QryUserInfoRsp:
  1427. $ref: '#/definitions/models.ErmcpUserModel'
  1428. ermcp.QryWarehouseRsp:
  1429. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1430. ermcp.QueryErmcpTradePositionRsp:
  1431. properties:
  1432. agreeunit:
  1433. description: 合约单位
  1434. type: number
  1435. buyorsell:
  1436. description: 方向 - 0:买 1:卖
  1437. type: integer
  1438. curpositionqty:
  1439. description: 持仓(总仓数量, 期末头寸)
  1440. type: integer
  1441. curtdposition:
  1442. description: 今仓数量(期末今日头寸)
  1443. type: integer
  1444. curtdpositionenabled:
  1445. description: 今仓可用
  1446. type: integer
  1447. decimalplace:
  1448. description: 报价小数位
  1449. type: integer
  1450. enableqty:
  1451. description: 可用(总仓可用)
  1452. type: integer
  1453. exexchangename:
  1454. description: 外部交易所名称
  1455. type: string
  1456. goodscode:
  1457. description: 商品代码(内部)
  1458. type: string
  1459. goodsid:
  1460. description: 商品ID(自增ID SEQ_GOODS)
  1461. type: integer
  1462. goodsname:
  1463. description: 商品名称
  1464. type: string
  1465. last:
  1466. description: 现价
  1467. type: number
  1468. marketid:
  1469. description: 所属市场ID
  1470. type: integer
  1471. openaverageprice:
  1472. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1473. type: number
  1474. opencost:
  1475. description: 开仓成本
  1476. type: number
  1477. openpl:
  1478. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1479. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1480. type: number
  1481. outgoodscode:
  1482. description: 商品代码(外部)
  1483. type: string
  1484. positionaverageprice:
  1485. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1486. type: number
  1487. positioncost:
  1488. description: 持仓成本
  1489. type: number
  1490. positionpl:
  1491. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1492. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1493. type: number
  1494. positionplrate:
  1495. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1496. type: number
  1497. usedmargin:
  1498. description: 占用保证金
  1499. type: number
  1500. type: object
  1501. ermcp.RealtimeExposurePositionRsp:
  1502. $ref: '#/definitions/models.ErmcpExposurePostion'
  1503. ermcp.RealtimeExposureRsp:
  1504. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1505. erms2.QueryArbitrageStrategyRsp:
  1506. properties:
  1507. applybasis:
  1508. description: 申请基差
  1509. type: number
  1510. asapplyid:
  1511. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1512. type: string
  1513. asname:
  1514. description: 策略名称
  1515. type: string
  1516. asno:
  1517. description: 策略编号
  1518. type: string
  1519. basischangepl:
  1520. description: 基差变动损益[结算更新]
  1521. type: number
  1522. biztype:
  1523. description: 业务类型 - 1:正向套利 -1:反向套利
  1524. type: integer
  1525. closetradedate:
  1526. description: 完结交易日(yyyyMMdd)
  1527. type: string
  1528. curbasis:
  1529. description: 当前基差[结算更新]
  1530. type: number
  1531. deliverygoodsid:
  1532. description: 现货品种ID
  1533. type: integer
  1534. futureavgprice:
  1535. description: 期货建仓均价
  1536. type: number
  1537. futurecloseamount:
  1538. description: 期货平仓金额
  1539. type: number
  1540. futurecloseqty:
  1541. description: 期货平仓数量
  1542. type: number
  1543. futureopenamount:
  1544. description: 期货开仓金额
  1545. type: number
  1546. futureopenqty:
  1547. description: 期货开仓数量
  1548. type: number
  1549. futurepl:
  1550. description: 期货总盈亏[结算更新]
  1551. type: number
  1552. futureqty:
  1553. description: 期货持仓数量
  1554. type: number
  1555. futurequote:
  1556. description: 期货额度
  1557. type: number
  1558. goodsgroupid:
  1559. description: 期货品种ID
  1560. type: integer
  1561. marketid:
  1562. description: 市场ID
  1563. type: integer
  1564. netexposure:
  1565. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1566. type: number
  1567. netexposurepl:
  1568. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1569. type: number
  1570. netexposurerate:
  1571. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1572. type: number
  1573. openbasis:
  1574. description: 建仓基差
  1575. type: number
  1576. pricedspotqty:
  1577. description: 已定价现货数量
  1578. type: number
  1579. pricedspotqtynotax:
  1580. description: 已定价现货不含税数量
  1581. type: number
  1582. remark:
  1583. description: 备注
  1584. type: string
  1585. spotavgprice:
  1586. description: 现货均价
  1587. type: number
  1588. spotbuyamount:
  1589. description: 现货采购金额
  1590. type: number
  1591. spotbuyqty:
  1592. description: 现货采购数量
  1593. type: number
  1594. spotpl:
  1595. description: 现货总盈亏[结算更新]
  1596. type: number
  1597. spotquota:
  1598. description: 现货额度
  1599. type: number
  1600. spotsellamount:
  1601. description: 现货销售金额
  1602. type: number
  1603. spotsellqty:
  1604. description: 现货销售数量
  1605. type: number
  1606. spotusedquota:
  1607. description: 现货占用资金
  1608. type: number
  1609. strategystatus:
  1610. description: 策略状态 - 0:未结束 1:已结束
  1611. type: integer
  1612. totalpl:
  1613. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1614. type: number
  1615. tradedate:
  1616. description: 交易日(yyyyMMdd)
  1617. type: string
  1618. updatetime:
  1619. description: 更新时间
  1620. type: string
  1621. usedquota:
  1622. description: 已占用资金
  1623. type: number
  1624. userid:
  1625. description: 所属机构
  1626. type: integer
  1627. required:
  1628. - asapplyid
  1629. type: object
  1630. erms2.QueryInnerTradeDetailRsp:
  1631. properties:
  1632. accountid:
  1633. description: 账号ID
  1634. type: integer
  1635. agreeunit:
  1636. description: 合约单位
  1637. type: number
  1638. asapplyid:
  1639. description: 策略申请ID
  1640. type: integer
  1641. asname:
  1642. description: 策略名称
  1643. type: string
  1644. asno:
  1645. description: 策略编号
  1646. type: string
  1647. buyorsell:
  1648. description: 方向 - 0:买 1:卖
  1649. type: integer
  1650. channelbuildtype:
  1651. description: 委托单据类型 0:无 1:建仓 2:平仓
  1652. type: integer
  1653. closetype:
  1654. description: 平仓方式 - 0:无 1:平今 2:平昨
  1655. type: integer
  1656. decimalplace:
  1657. description: 报价小数位
  1658. type: integer
  1659. detailtype:
  1660. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1661. type: integer
  1662. exexchangecode:
  1663. description: 外部交易所代码
  1664. type: string
  1665. exexchangename:
  1666. description: 外部交易所名称
  1667. type: string
  1668. goodscode:
  1669. description: 商品代码(合约)
  1670. type: string
  1671. goodsgroupid:
  1672. description: 商品组ID(品种ID)
  1673. type: integer
  1674. goodsgroupname:
  1675. description: 商品组名称(品种)
  1676. type: string
  1677. goodsid:
  1678. description: 商品ID
  1679. type: integer
  1680. goodsname:
  1681. description: 商品名称(合约)
  1682. type: string
  1683. goodunit:
  1684. description: 报价单位
  1685. type: string
  1686. marketid:
  1687. description: 市场ID
  1688. type: integer
  1689. orderid:
  1690. description: 委托单号
  1691. type: string
  1692. outgoodscode:
  1693. description: 商品代码(外部)
  1694. type: string
  1695. relatedouttradeid:
  1696. description: 关联外部成交单ID
  1697. type: string
  1698. remark:
  1699. description: 备注
  1700. type: string
  1701. spotcontractid:
  1702. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1703. type: integer
  1704. spotcontractno:
  1705. description: 现货合同编号
  1706. type: string
  1707. tradeid:
  1708. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1709. type: string
  1710. tradeprice:
  1711. description: 成交价格
  1712. type: number
  1713. tradeqty:
  1714. description: 成交数量
  1715. type: integer
  1716. tradetime:
  1717. description: 成交时间
  1718. type: string
  1719. updatetime:
  1720. description: 更新时间
  1721. type: string
  1722. required:
  1723. - asapplyid
  1724. - buyorsell
  1725. - goodscode
  1726. - goodsgroupid
  1727. - goodsgroupname
  1728. - goodsname
  1729. - tradeid
  1730. type: object
  1731. erms2.QuerySpotContractRsp:
  1732. properties:
  1733. accountid:
  1734. description: 资金账户ID
  1735. type: integer
  1736. areauserid:
  1737. description: 所属机构
  1738. type: integer
  1739. closedate:
  1740. description: 终止日期
  1741. type: string
  1742. closeremark:
  1743. description: 结束备注
  1744. type: string
  1745. closetradedate:
  1746. description: 完结交易日(yyyyMMdd)
  1747. type: string
  1748. closetype:
  1749. description: 终止类型 - 1:违约 2:提前终止
  1750. type: integer
  1751. contractamount:
  1752. description: 合同金额
  1753. type: number
  1754. contractattachment:
  1755. description: 合同附件
  1756. type: string
  1757. contractno:
  1758. description: 现货合同编号
  1759. type: string
  1760. contractqty:
  1761. description: 合同数量(数值) (用于计算)
  1762. type: number
  1763. contractqtychar:
  1764. description: 合同数量\已订价数量 (用于显示)
  1765. type: string
  1766. contractstatus:
  1767. description: 合同状态 - 0:未结束 1:已结束
  1768. type: integer
  1769. contracttype:
  1770. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1771. type: integer
  1772. customeraccountid:
  1773. description: 客户资金账户ID
  1774. type: integer
  1775. customeruserid:
  1776. description: 客户ID
  1777. type: integer
  1778. deliverygoodsdesc:
  1779. description: 品种说明
  1780. type: string
  1781. deliverygoodsid:
  1782. description: 现货品种ID
  1783. type: integer
  1784. handlestatus:
  1785. description: 处理状态
  1786. type: integer
  1787. invoiceatt:
  1788. description: 发票附件
  1789. type: string
  1790. invoicedatetime:
  1791. description: 开收票更新时间
  1792. type: string
  1793. invoiceopentime:
  1794. description: 开票时间
  1795. type: string
  1796. invoiceremark:
  1797. description: 发票备注
  1798. type: string
  1799. invoicestatus:
  1800. description: 开收票状态 - 0:未开票 1:已开票
  1801. type: integer
  1802. lastdate:
  1803. description: 交货时间
  1804. type: string
  1805. marketid:
  1806. description: 市场ID
  1807. type: integer
  1808. paydatetime:
  1809. description: 收付款更新时间
  1810. type: string
  1811. payremark:
  1812. description: 收付款备注
  1813. type: string
  1814. paystatus:
  1815. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1816. type: integer
  1817. positionqty:
  1818. description: 头寸数量 - 合同数量去小数部分
  1819. type: integer
  1820. producttype:
  1821. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1822. type: integer
  1823. relatedqty:
  1824. description: 已关联数量
  1825. type: number
  1826. relatedstatus:
  1827. description: 关联完结状态 - 0:未结束 1:已结束
  1828. type: integer
  1829. remark:
  1830. description: 备注
  1831. type: string
  1832. signdate:
  1833. description: 签订日期
  1834. type: string
  1835. spotcontractid:
  1836. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1837. type: string
  1838. spotdatetime:
  1839. description: 收发货更新时间
  1840. type: string
  1841. spotprice:
  1842. description: 价格
  1843. type: number
  1844. spotremark:
  1845. description: 收发货备注
  1846. type: string
  1847. spotstatus:
  1848. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. userid:
  1854. description: 业务员用户ID
  1855. type: integer
  1856. warehouseid:
  1857. description: 仓库ID
  1858. type: integer
  1859. wrfactortypeid:
  1860. description: 仓单要素类型ID
  1861. type: integer
  1862. wrstandardid:
  1863. description: 仓单标准ID(SEQ_WRSTANDARD)
  1864. type: integer
  1865. required:
  1866. - spotcontractid
  1867. type: object
  1868. erms3.AddErms2ASApplyReq:
  1869. properties:
  1870. applybasis:
  1871. description: 申请基差
  1872. type: number
  1873. applystatus:
  1874. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1875. type: integer
  1876. asapplyid:
  1877. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1878. type: integer
  1879. asname:
  1880. description: 策略名称
  1881. type: string
  1882. asno:
  1883. description: 策略编号
  1884. type: string
  1885. auditid:
  1886. description: 审核人
  1887. type: integer
  1888. auditremark:
  1889. description: 审核备注
  1890. type: string
  1891. audittime:
  1892. description: 审核时间
  1893. type: string
  1894. biztype:
  1895. description: 业务类型 - 1:正向套利 2:反向套利
  1896. type: integer
  1897. createtime:
  1898. description: 创建时间
  1899. type: string
  1900. creatorid:
  1901. description: 创建人
  1902. type: integer
  1903. deliverygoodsid:
  1904. description: 现货品种ID
  1905. type: integer
  1906. futurequote:
  1907. description: 期货额度
  1908. type: number
  1909. goodsgroupid:
  1910. description: 期货品种ID
  1911. type: integer
  1912. marketid:
  1913. description: 市场ID
  1914. type: integer
  1915. remark:
  1916. description: 备注
  1917. type: string
  1918. spotquota:
  1919. description: 现货额度
  1920. type: number
  1921. tradedate:
  1922. description: 交易日(yyyyMMdd)
  1923. type: string
  1924. userid:
  1925. description: 所属机构
  1926. type: integer
  1927. required:
  1928. - asapplyid
  1929. type: object
  1930. erms3.AddErms2SpotTradeApplyReq:
  1931. properties:
  1932. applyjsondetail:
  1933. description: 申请明细(JSON)
  1934. type: string
  1935. applystatus:
  1936. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1937. type: integer
  1938. areauserid:
  1939. description: 所属机构
  1940. type: integer
  1941. auditid:
  1942. description: 审核人
  1943. type: integer
  1944. auditremark:
  1945. description: 审核备注
  1946. type: string
  1947. audittime:
  1948. description: 审核时间
  1949. type: string
  1950. createtime:
  1951. description: 创建时间
  1952. type: string
  1953. creatorid:
  1954. description: 创建人
  1955. type: integer
  1956. deliverygoodsid:
  1957. description: 现货品种ID
  1958. type: integer
  1959. futureaccountid:
  1960. description: 期货资金账户
  1961. type: integer
  1962. goodsgroupid:
  1963. description: 期货品种
  1964. type: integer
  1965. marketid:
  1966. description: 市场ID
  1967. type: integer
  1968. remark:
  1969. description: 备注
  1970. type: string
  1971. spotaccountid:
  1972. description: 现货资金账户
  1973. type: integer
  1974. spottradeid:
  1975. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1976. type: integer
  1977. spottradename:
  1978. description: 业务名称
  1979. type: string
  1980. spottradeno:
  1981. description: 业务编号
  1982. type: string
  1983. tradedate:
  1984. description: 交易日(yyyyMMdd)
  1985. type: string
  1986. wrstandardid:
  1987. description: 仓单标准ID
  1988. type: integer
  1989. required:
  1990. - spottradeid
  1991. type: object
  1992. erms3.AddSpotContractApplyReq:
  1993. properties:
  1994. accountid:
  1995. description: 资金账户ID
  1996. type: integer
  1997. areauserid:
  1998. description: 所属机构
  1999. type: integer
  2000. contractattachment:
  2001. description: 合同附件
  2002. type: string
  2003. contractno:
  2004. description: 现货合同编号
  2005. type: string
  2006. contracttype:
  2007. description: 现货合同类型 - 1:采购 -1:销售
  2008. type: integer
  2009. creatorid:
  2010. description: 申请人
  2011. type: integer
  2012. customeraccountid:
  2013. description: 客户资金账户ID
  2014. type: integer
  2015. customeruserid:
  2016. description: 客户ID
  2017. type: integer
  2018. details:
  2019. description: 明细
  2020. items:
  2021. $ref: '#/definitions/erms3.SoptContractDetail'
  2022. type: array
  2023. orimargin:
  2024. description: 初始保证金
  2025. type: number
  2026. remark:
  2027. description: 备注
  2028. type: string
  2029. signdate:
  2030. description: 签订日期
  2031. type: string
  2032. required:
  2033. - accountid
  2034. - areauserid
  2035. - contractno
  2036. - contracttype
  2037. - customeraccountid
  2038. - customeruserid
  2039. - details
  2040. - orimargin
  2041. - signdate
  2042. type: object
  2043. erms3.AddSpotContractApplyRsp:
  2044. properties:
  2045. contractno:
  2046. description: 现货合同编号
  2047. type: string
  2048. spotcontractid:
  2049. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2050. type: integer
  2051. required:
  2052. - contractno
  2053. type: object
  2054. erms3.AddUserInfoApplyReq:
  2055. properties:
  2056. accountid:
  2057. description: 交易系统帐号Id (加密存储)
  2058. type: integer
  2059. areacode:
  2060. description: 机构代码
  2061. type: string
  2062. areaid:
  2063. description: 机构Id
  2064. type: integer
  2065. attachment1:
  2066. description: 附件1
  2067. type: string
  2068. attachment2:
  2069. description: 附件2
  2070. type: string
  2071. attachment3:
  2072. description: 附件3
  2073. type: string
  2074. attachment4:
  2075. description: 附件4
  2076. type: string
  2077. attachment5:
  2078. description: 附件5
  2079. type: string
  2080. auditedby:
  2081. description: 审核人
  2082. type: string
  2083. auditime:
  2084. description: 审核时间
  2085. type: string
  2086. auditsrc:
  2087. description: 审核来源 - 1:管理端 2:终端
  2088. type: integer
  2089. bankaccount:
  2090. description: 银行帐号 (加密存储)
  2091. type: string
  2092. bankaccountname:
  2093. description: 收款人名称
  2094. type: string
  2095. bankcardbackphotourl:
  2096. description: 银行卡背面照地址
  2097. type: string
  2098. bankcardfrontphotourl:
  2099. description: 银行卡正面照地址
  2100. type: string
  2101. bankid:
  2102. description: 银行编码
  2103. type: string
  2104. bankname:
  2105. description: 银行名称
  2106. type: string
  2107. bankpictureurl:
  2108. description: 银行卡正面地址
  2109. type: string
  2110. biznature:
  2111. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2112. type: integer
  2113. bizscope:
  2114. description: 企业经营范围(企业)
  2115. type: string
  2116. biztype:
  2117. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2118. type: integer
  2119. brokerid:
  2120. description: 经纪人ID(加密存储)
  2121. type: string
  2122. cardaddress:
  2123. description: 证件地址 (加密存储)
  2124. type: string
  2125. cardbackphotourl:
  2126. description: 背面证件照地址
  2127. type: string
  2128. cardfrontphotourl:
  2129. description: 正面证件照地址
  2130. type: string
  2131. cardnum:
  2132. description: 证件号码 (加密存储)
  2133. type: string
  2134. cardtype:
  2135. description: 证件类型
  2136. type: integer
  2137. cityid:
  2138. description: 市
  2139. type: integer
  2140. company:
  2141. description: 公司(个人)
  2142. type: string
  2143. contactcardbackphotourl:
  2144. description: 联系人证件背面图片地址
  2145. type: string
  2146. contactcardfrontphotourl:
  2147. description: 联系人证件正面图片地址
  2148. type: string
  2149. contactname:
  2150. description: 联系人
  2151. type: string
  2152. countryid:
  2153. description: 国家
  2154. type: integer
  2155. createtime:
  2156. description: 开户申请时间
  2157. type: string
  2158. cusbankid:
  2159. description: 签约类型
  2160. type: string
  2161. cusbankname:
  2162. description: 签约类型名称
  2163. type: string
  2164. customername:
  2165. description: 客户名称(企业名称)
  2166. type: string
  2167. districtid:
  2168. description: 地区
  2169. type: integer
  2170. email:
  2171. description: Email地址(加密存储)
  2172. type: string
  2173. halfbodyphotourl:
  2174. description: 半身照地址
  2175. type: string
  2176. headurl:
  2177. description: 头像地址
  2178. type: string
  2179. ipaddress:
  2180. description: IP地址
  2181. type: string
  2182. isvalidate:
  2183. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2184. type: string
  2185. legalcardbackphotourl:
  2186. description: 法人身份证背面照地址
  2187. type: string
  2188. legalcardfrontphotourl:
  2189. description: 法人身份证正面照地址
  2190. type: string
  2191. legalpersonname:
  2192. description: 法人姓名(企业)
  2193. type: string
  2194. logincode:
  2195. description: 登录帐号 (加密存储)
  2196. type: string
  2197. memberareaid:
  2198. description: 所属会员ID
  2199. type: integer
  2200. mobile2:
  2201. description: 手机号码[明文-尚志]
  2202. type: string
  2203. mobilephone:
  2204. description: 手机号码 (加密存储)
  2205. type: string
  2206. modifiedby:
  2207. description: 修改人帐号
  2208. type: integer
  2209. modifiedtime:
  2210. description: 修改时间
  2211. type: string
  2212. nickname:
  2213. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2214. type: string
  2215. openmode:
  2216. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2217. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2218. type: integer
  2219. otherurl:
  2220. description: 其它图片地址[使用分号分隔]
  2221. type: string
  2222. postalcode:
  2223. description: 邮政编码
  2224. type: string
  2225. provinceid:
  2226. description: 省
  2227. type: integer
  2228. proxystatementurl:
  2229. description: 授权委托书
  2230. type: string
  2231. qq:
  2232. description: QQ(加密存储
  2233. type: string
  2234. referral:
  2235. description: 推荐人编码
  2236. type: string
  2237. remark:
  2238. description: 备注
  2239. type: string
  2240. removebeforestatus:
  2241. description: REMOVEBEFORESTATUS
  2242. type: integer
  2243. sex:
  2244. description: 性别 - 0:女 1:男
  2245. type: integer
  2246. signedstatus:
  2247. description: 账户一号签签约状态
  2248. type: integer
  2249. signpdfurl:
  2250. description: 签约pdf文件
  2251. type: string
  2252. subbranch:
  2253. description: 开户支行
  2254. type: string
  2255. taxpayernum:
  2256. description: 纳税人识别号
  2257. type: string
  2258. telphone:
  2259. description: 联系电话(加密存储)
  2260. type: string
  2261. userid:
  2262. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2263. type: integer
  2264. userinfotype:
  2265. description: 用户信息类型 - 1:个人 2:企业
  2266. type: integer
  2267. username:
  2268. description: 用户姓名
  2269. type: string
  2270. userstate:
  2271. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2272. type: integer
  2273. usertype:
  2274. description: 用户类型 - 1:投资者 2:机构
  2275. type: integer
  2276. videourl:
  2277. description: 视频地址
  2278. type: string
  2279. wechat:
  2280. description: 微信号 (加密存储)
  2281. type: string
  2282. required:
  2283. - userid
  2284. type: object
  2285. erms3.CustomerInfo:
  2286. properties:
  2287. accountids:
  2288. description: 资金账户ID列表
  2289. items:
  2290. type: integer
  2291. type: array
  2292. customername:
  2293. description: 名称(企业名称)
  2294. type: string
  2295. mobile:
  2296. description: 手机号码
  2297. type: string
  2298. userid:
  2299. description: 用户ID
  2300. type: integer
  2301. required:
  2302. - userid
  2303. type: object
  2304. erms3.ModifyUserInfoApplyReq:
  2305. properties:
  2306. accountid:
  2307. description: 交易系统帐号Id (加密存储)
  2308. type: integer
  2309. areacode:
  2310. description: 机构代码
  2311. type: string
  2312. areaid:
  2313. description: 机构Id
  2314. type: integer
  2315. attachment1:
  2316. description: 附件1
  2317. type: string
  2318. attachment2:
  2319. description: 附件2
  2320. type: string
  2321. attachment3:
  2322. description: 附件3
  2323. type: string
  2324. attachment4:
  2325. description: 附件4
  2326. type: string
  2327. attachment5:
  2328. description: 附件5
  2329. type: string
  2330. auditedby:
  2331. description: 审核人
  2332. type: string
  2333. auditime:
  2334. description: 审核时间
  2335. type: string
  2336. auditsrc:
  2337. description: 审核来源 - 1:管理端 2:终端
  2338. type: integer
  2339. bankaccount:
  2340. description: 银行帐号 (加密存储)
  2341. type: string
  2342. bankaccountname:
  2343. description: 收款人名称
  2344. type: string
  2345. bankcardbackphotourl:
  2346. description: 银行卡背面照地址
  2347. type: string
  2348. bankcardfrontphotourl:
  2349. description: 银行卡正面照地址
  2350. type: string
  2351. bankid:
  2352. description: 银行编码
  2353. type: string
  2354. bankname:
  2355. description: 银行名称
  2356. type: string
  2357. bankpictureurl:
  2358. description: 银行卡正面地址
  2359. type: string
  2360. biznature:
  2361. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2362. type: integer
  2363. bizscope:
  2364. description: 企业经营范围(企业)
  2365. type: string
  2366. biztype:
  2367. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2368. type: integer
  2369. brokerid:
  2370. description: 经纪人ID(加密存储)
  2371. type: string
  2372. cardaddress:
  2373. description: 证件地址 (加密存储)
  2374. type: string
  2375. cardbackphotourl:
  2376. description: 背面证件照地址
  2377. type: string
  2378. cardfrontphotourl:
  2379. description: 正面证件照地址
  2380. type: string
  2381. cardnum:
  2382. description: 证件号码 (加密存储)
  2383. type: string
  2384. cardtype:
  2385. description: 证件类型
  2386. type: integer
  2387. cityid:
  2388. description: 市
  2389. type: integer
  2390. company:
  2391. description: 公司(个人)
  2392. type: string
  2393. contactcardbackphotourl:
  2394. description: 联系人证件背面图片地址
  2395. type: string
  2396. contactcardfrontphotourl:
  2397. description: 联系人证件正面图片地址
  2398. type: string
  2399. contactname:
  2400. description: 联系人
  2401. type: string
  2402. countryid:
  2403. description: 国家
  2404. type: integer
  2405. createtime:
  2406. description: 开户申请时间
  2407. type: string
  2408. cusbankid:
  2409. description: 签约类型
  2410. type: string
  2411. cusbankname:
  2412. description: 签约类型名称
  2413. type: string
  2414. customername:
  2415. description: 客户名称(企业名称)
  2416. type: string
  2417. districtid:
  2418. description: 地区
  2419. type: integer
  2420. email:
  2421. description: Email地址(加密存储)
  2422. type: string
  2423. halfbodyphotourl:
  2424. description: 半身照地址
  2425. type: string
  2426. headurl:
  2427. description: 头像地址
  2428. type: string
  2429. ipaddress:
  2430. description: IP地址
  2431. type: string
  2432. isvalidate:
  2433. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2434. type: string
  2435. legalcardbackphotourl:
  2436. description: 法人身份证背面照地址
  2437. type: string
  2438. legalcardfrontphotourl:
  2439. description: 法人身份证正面照地址
  2440. type: string
  2441. legalpersonname:
  2442. description: 法人姓名(企业)
  2443. type: string
  2444. logincode:
  2445. description: 登录帐号 (加密存储)
  2446. type: string
  2447. memberareaid:
  2448. description: 所属会员ID
  2449. type: integer
  2450. mobile2:
  2451. description: 手机号码[明文-尚志]
  2452. type: string
  2453. mobilephone:
  2454. description: 手机号码 (加密存储)
  2455. type: string
  2456. modifiedby:
  2457. description: 修改人帐号
  2458. type: integer
  2459. modifiedtime:
  2460. description: 修改时间
  2461. type: string
  2462. nickname:
  2463. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2464. type: string
  2465. openmode:
  2466. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2467. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2468. type: integer
  2469. otherurl:
  2470. description: 其它图片地址[使用分号分隔]
  2471. type: string
  2472. postalcode:
  2473. description: 邮政编码
  2474. type: string
  2475. provinceid:
  2476. description: 省
  2477. type: integer
  2478. proxystatementurl:
  2479. description: 授权委托书
  2480. type: string
  2481. qq:
  2482. description: QQ(加密存储
  2483. type: string
  2484. referral:
  2485. description: 推荐人编码
  2486. type: string
  2487. remark:
  2488. description: 备注
  2489. type: string
  2490. removebeforestatus:
  2491. description: REMOVEBEFORESTATUS
  2492. type: integer
  2493. sex:
  2494. description: 性别 - 0:女 1:男
  2495. type: integer
  2496. signedstatus:
  2497. description: 账户一号签签约状态
  2498. type: integer
  2499. signpdfurl:
  2500. description: 签约pdf文件
  2501. type: string
  2502. subbranch:
  2503. description: 开户支行
  2504. type: string
  2505. taxpayernum:
  2506. description: 纳税人识别号
  2507. type: string
  2508. telphone:
  2509. description: 联系电话(加密存储)
  2510. type: string
  2511. userid:
  2512. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2513. type: integer
  2514. userinfotype:
  2515. description: 用户信息类型 - 1:个人 2:企业
  2516. type: integer
  2517. username:
  2518. description: 用户姓名
  2519. type: string
  2520. userstate:
  2521. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2522. type: integer
  2523. usertype:
  2524. description: 用户类型 - 1:投资者 2:机构
  2525. type: integer
  2526. videourl:
  2527. description: 视频地址
  2528. type: string
  2529. wechat:
  2530. description: 微信号 (加密存储)
  2531. type: string
  2532. required:
  2533. - userid
  2534. type: object
  2535. erms3.QryAuditContractRsp:
  2536. properties:
  2537. accountid:
  2538. description: 交易员ID
  2539. type: string
  2540. applystatus:
  2541. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2542. type: integer
  2543. curdeliveryqty:
  2544. description: 未交收量
  2545. type: integer
  2546. customername:
  2547. description: 采购方ID
  2548. type: string
  2549. deliverygoodsid:
  2550. description: 品种ID
  2551. type: string
  2552. deliveryqty:
  2553. description: 交收量
  2554. type: integer
  2555. enumdicname:
  2556. description: 单位名称
  2557. type: string
  2558. matchaccountid:
  2559. description: 业务员ID
  2560. type: string
  2561. matchcustomername:
  2562. description: 销售方ID
  2563. type: string
  2564. pricedqty:
  2565. description: 定价量
  2566. type: number
  2567. signdate:
  2568. description: 签订日期
  2569. type: string
  2570. spotcontractid:
  2571. description: 合同ID
  2572. type: string
  2573. totaldqty:
  2574. description: 合同量
  2575. type: number
  2576. unpricedqty:
  2577. description: 未定价量
  2578. type: number
  2579. wrstandardname:
  2580. description: 商品名称
  2581. type: string
  2582. required:
  2583. - matchcustomername
  2584. - spotcontractid
  2585. type: object
  2586. erms3.QryPendingBizRsp:
  2587. $ref: '#/definitions/models.PendingAuditBizModel'
  2588. erms3.QueryBusinessInfoRsp:
  2589. properties:
  2590. businessid:
  2591. description: 业务ID.
  2592. type: integer
  2593. buyamount:
  2594. description: 采购额.
  2595. type: number
  2596. buyqty:
  2597. description: 采购量.
  2598. type: string
  2599. futurepl:
  2600. description: 期货盈亏.
  2601. type: number
  2602. futureqty:
  2603. description: 期货敞口.
  2604. type: string
  2605. goodsid:
  2606. description: 商品名称/商品代码.
  2607. type: string
  2608. hedgingqty:
  2609. description: 套保量.
  2610. type: string
  2611. sellamount:
  2612. description: 销售额.
  2613. type: number
  2614. sellqty:
  2615. description: 销售量.
  2616. type: string
  2617. spotmarketvalue:
  2618. description: 现货市值.
  2619. type: number
  2620. spotpl:
  2621. description: 浮动权益.
  2622. type: number
  2623. spotqty:
  2624. description: 现货量.
  2625. type: string
  2626. statu:
  2627. description: 状态,0-未结束 1-已结束.
  2628. type: integer
  2629. totalpl:
  2630. description: 总盈亏.
  2631. type: number
  2632. totalqty:
  2633. description: 总敞口.
  2634. type: string
  2635. type:
  2636. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2637. type: integer
  2638. type: object
  2639. erms3.QuerySpotContractAppleFormRsp:
  2640. properties:
  2641. goodses:
  2642. description: 合约列表
  2643. items:
  2644. $ref: '#/definitions/models.GoodsIDAndName'
  2645. type: array
  2646. oppositeusers:
  2647. description: 对方账号列表
  2648. items:
  2649. $ref: '#/definitions/erms3.CustomerInfo'
  2650. type: array
  2651. ouruser:
  2652. $ref: '#/definitions/erms3.CustomerInfo'
  2653. description: 我方账号
  2654. type: object
  2655. warehouseinfos:
  2656. description: 仓库信息列表
  2657. items:
  2658. $ref: '#/definitions/models.Warehouseinfo'
  2659. type: array
  2660. wrstandards:
  2661. description: 仓单标准列表
  2662. items:
  2663. $ref: '#/definitions/models.WRStandardInfo'
  2664. type: array
  2665. type: object
  2666. erms3.QuerySpotContractInfoRsp:
  2667. properties:
  2668. accountid:
  2669. description: 表示交易员ID.
  2670. type: integer
  2671. curdeliveryqty:
  2672. description: 表示未交收量.
  2673. type: number
  2674. customername:
  2675. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2676. type: string
  2677. deliverygoodsid:
  2678. description: 表示品种ID.
  2679. type: string
  2680. deliveryqty:
  2681. description: 表示交收量.
  2682. type: number
  2683. matchaccountid:
  2684. description: 表示业务员ID.
  2685. type: integer
  2686. matchcustomername:
  2687. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2688. type: string
  2689. priceqty:
  2690. description: 表示定价量.
  2691. type: number
  2692. relatedbizid:
  2693. description: 表示业务ID.
  2694. type: string
  2695. signdate:
  2696. description: 表示签订日期.
  2697. type: string
  2698. spotcontractid:
  2699. description: 合同ID
  2700. type: string
  2701. status:
  2702. description: 表示状态,0-履约中 1-已完成.
  2703. type: integer
  2704. totalqty:
  2705. description: 表示合同量.
  2706. type: number
  2707. unpricedqty:
  2708. description: 表示未定价量.
  2709. type: number
  2710. wrstandardname:
  2711. description: 表示商品ID.
  2712. type: string
  2713. type: object
  2714. erms3.QueryUserInfoAppliesRsp:
  2715. properties:
  2716. biznature:
  2717. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2718. type: integer
  2719. contactname:
  2720. description: 联系人
  2721. type: string
  2722. createtime:
  2723. description: 开户申请时间
  2724. type: string
  2725. userid:
  2726. description: 用户ID(自增ID)
  2727. type: integer
  2728. userinfotype:
  2729. description: 用户信息类型 - 1:个人 2:企业
  2730. type: integer
  2731. username:
  2732. description: 用户姓名
  2733. type: string
  2734. userstate:
  2735. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2736. type: integer
  2737. required:
  2738. - userid
  2739. type: object
  2740. erms3.QueryUserInfosRsp:
  2741. properties:
  2742. biznature:
  2743. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2744. type: integer
  2745. contactname:
  2746. description: 联系人
  2747. type: string
  2748. customername:
  2749. description: 客户名称(企业名称)
  2750. type: string
  2751. userid:
  2752. description: 用户ID
  2753. type: integer
  2754. userinfotype:
  2755. description: 用户信息类型 - 1:个人 2:企业
  2756. type: integer
  2757. userstatus:
  2758. description: 用户状态 - 1:正常 2:注销
  2759. type: integer
  2760. required:
  2761. - userid
  2762. type: object
  2763. erms3.SoptContractDetail:
  2764. properties:
  2765. deliverygoodsdesc:
  2766. description: 现货品种说明
  2767. type: string
  2768. deliverygoodsid:
  2769. description: 现货品种ID
  2770. type: integer
  2771. deliverygoodsname:
  2772. description: 现货品种名称
  2773. type: string
  2774. pointdesc:
  2775. description: 点价描述
  2776. type: string
  2777. producttype:
  2778. description: 产品类型 1:标准仓单 2:等标 3:非标
  2779. type: integer
  2780. producttypename:
  2781. description: 产品类型名称
  2782. type: string
  2783. spotPointOrderVoList:
  2784. description: 点价列表
  2785. items:
  2786. $ref: '#/definitions/erms3.SpotPointOrder'
  2787. type: array
  2788. spotPriceOrderList:
  2789. description: 定价列表
  2790. items:
  2791. $ref: '#/definitions/erms3.SpotPriceOrder'
  2792. type: array
  2793. unitname:
  2794. description: 单位名称
  2795. type: string
  2796. warehouseid:
  2797. description: 仓库ID
  2798. type: integer
  2799. warehousename:
  2800. description: 仓库名称
  2801. type: string
  2802. wrstandardid:
  2803. description: 交易标的ID
  2804. type: integer
  2805. wrstandardname:
  2806. description: 交易标的名称
  2807. type: string
  2808. required:
  2809. - deliverygoodsid
  2810. - producttype
  2811. - unitname
  2812. - warehouseid
  2813. - wrstandardid
  2814. - wrstandardname
  2815. type: object
  2816. erms3.SpotPointOrder:
  2817. properties:
  2818. basic:
  2819. description: 基差
  2820. type: number
  2821. deliveryenddate:
  2822. description: 交收结束日期
  2823. type: string
  2824. deliverystartdate:
  2825. description: 交收开始日期
  2826. type: string
  2827. enddate:
  2828. description: 点价结束日期
  2829. type: string
  2830. goodsid:
  2831. description: 商品ID
  2832. type: integer
  2833. goodsname:
  2834. description: 商品名称
  2835. type: string
  2836. qty:
  2837. description: 数量
  2838. type: number
  2839. startdate:
  2840. description: 点价开始日期
  2841. type: string
  2842. required:
  2843. - basic
  2844. - goodsid
  2845. - qty
  2846. type: object
  2847. erms3.SpotPriceOrder:
  2848. properties:
  2849. amount:
  2850. description: 金额
  2851. type: number
  2852. deliveryenddate:
  2853. description: 交收结束日期
  2854. type: string
  2855. deliverystartdate:
  2856. description: 交收开始日期
  2857. type: string
  2858. price:
  2859. description: 价格
  2860. type: number
  2861. qty:
  2862. description: 数量
  2863. type: number
  2864. required:
  2865. - amount
  2866. - price
  2867. - qty
  2868. type: object
  2869. hsby.GetHsbyMyCountRsp:
  2870. properties:
  2871. myCouponCount:
  2872. description: 我的优惠卷数量
  2873. type: integer
  2874. myOrderDetailListingCount:
  2875. description: 我的订单求购中数量
  2876. type: integer
  2877. myOrderDetailPreCount:
  2878. description: 我的订单抢购中数量
  2879. type: integer
  2880. myPackageUnReceiveCount:
  2881. description: 我的包裹待收货数量
  2882. type: integer
  2883. myPackageUnSendCount:
  2884. description: 我的包裹待发货数量
  2885. type: integer
  2886. myPayOrderCount:
  2887. description: 我的订单待付款数量
  2888. type: integer
  2889. type: object
  2890. hsby.QueryProvincesAndCitiesRsp:
  2891. properties:
  2892. cities:
  2893. description: 市
  2894. items:
  2895. $ref: '#/definitions/models.Division'
  2896. type: array
  2897. province:
  2898. $ref: '#/definitions/models.Division'
  2899. description: 省
  2900. type: object
  2901. type: object
  2902. models.AreaSpotModel:
  2903. properties:
  2904. areauserid:
  2905. description: 所属机构
  2906. type: integer
  2907. decreaseqty:
  2908. description: 减少数量=-(销售已定价数量+采购计划数量)
  2909. type: number
  2910. increaseqty:
  2911. description: 增加数量=销售计划数量+采购已定价数量
  2912. type: number
  2913. oritoalspotqty:
  2914. description: 昨日数量
  2915. type: number
  2916. totalspotqty:
  2917. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2918. type: number
  2919. updatetime:
  2920. description: 更新时间
  2921. type: string
  2922. wrstandardcode:
  2923. description: 现货品种代码
  2924. type: string
  2925. wrstandardid:
  2926. description: 现货商品ID
  2927. type: integer
  2928. wrstandardname:
  2929. description: 现货品种
  2930. type: string
  2931. type: object
  2932. models.Arearole:
  2933. properties:
  2934. createtime:
  2935. description: 创建时间
  2936. type: string
  2937. creatorid:
  2938. description: 创建人ID
  2939. type: integer
  2940. fromuserid:
  2941. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2942. type: integer
  2943. isreturnscore:
  2944. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2945. type: integer
  2946. modifierid:
  2947. description: 修改人ID
  2948. type: integer
  2949. modifytime:
  2950. description: 修改时间
  2951. type: string
  2952. orgtype:
  2953. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2954. type: integer
  2955. outuserid:
  2956. description: 外部账户[场外期权做市商]
  2957. type: string
  2958. parentuserid:
  2959. description: 上级组织机构(组织机构)
  2960. type: integer
  2961. roletype:
  2962. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2963. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2964. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2965. type: integer
  2966. rootuserid:
  2967. description: 顶级组织机构用户ID(组织机构)
  2968. type: integer
  2969. shoppassword:
  2970. description: 商城店铺登陆密码(商城店铺角色使用)
  2971. type: string
  2972. sublevelpath:
  2973. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2974. type: string
  2975. suborgtype:
  2976. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2977. type: integer
  2978. tradeaccountid:
  2979. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2980. type: integer
  2981. transurl:
  2982. description: 物流地址(物流机构)
  2983. type: string
  2984. userid:
  2985. description: 机构用户ID其他做市关系,都设置为 1
  2986. type: integer
  2987. required:
  2988. - roletype
  2989. - userid
  2990. type: object
  2991. models.Clientfixedadconfig:
  2992. properties:
  2993. adsort:
  2994. description: 排序
  2995. type: integer
  2996. adtype:
  2997. description: 广告位类型 - 1:新品抢购(HSBY)
  2998. type: integer
  2999. areauserid:
  3000. description: 所属机构ID
  3001. type: integer
  3002. createdate:
  3003. description: 创建时间
  3004. type: string
  3005. creatorid:
  3006. description: 创建人
  3007. type: integer
  3008. imagepath:
  3009. description: 图片
  3010. type: string
  3011. isshow:
  3012. description: 是否展示 - 0:不展示 1:展示
  3013. type: integer
  3014. modifierid:
  3015. description: 操作人
  3016. type: integer
  3017. recsize:
  3018. description: 推荐尺寸
  3019. type: string
  3020. title:
  3021. description: 标题
  3022. type: string
  3023. updatedate:
  3024. description: 更新时间
  3025. type: string
  3026. urlcontent:
  3027. description: 链接(地址或商品ID)
  3028. type: string
  3029. urltype:
  3030. description: 链接类型 - 1:直接地址 2:商品ID
  3031. type: integer
  3032. required:
  3033. - adsort
  3034. - adtype
  3035. type: object
  3036. models.Division:
  3037. properties:
  3038. autoid:
  3039. description: 自增ID
  3040. type: integer
  3041. divisioncode:
  3042. description: 行政代码
  3043. type: string
  3044. divisionlevel:
  3045. description: 行政级别
  3046. type: string
  3047. divisionname:
  3048. description: 行政名称
  3049. type: string
  3050. modifierid:
  3051. description: 修改人
  3052. type: integer
  3053. modifytime:
  3054. description: 修改时间
  3055. type: string
  3056. parentcode:
  3057. description: 上级行政代码
  3058. type: string
  3059. pathname:
  3060. description: 路径名称
  3061. type: string
  3062. postcode:
  3063. description: 邮政编码
  3064. type: string
  3065. separablename:
  3066. description: 可拆分的全称
  3067. type: string
  3068. shortcode:
  3069. description: 地区简码
  3070. type: string
  3071. required:
  3072. - autoid
  3073. - divisioncode
  3074. type: object
  3075. models.Enumdicitem:
  3076. properties:
  3077. autoid:
  3078. description: 自增ID
  3079. type: integer
  3080. bankmappedvalue:
  3081. description: 银行服务对应值
  3082. type: string
  3083. enumdiccode:
  3084. description: 所属枚举代码
  3085. type: string
  3086. enumdicid:
  3087. description: 所属枚举ID
  3088. type: integer
  3089. enumdicname:
  3090. description: 枚举项名称
  3091. type: string
  3092. enumitemname:
  3093. description: 枚举项值
  3094. type: integer
  3095. enumitemstatus:
  3096. description: 枚举项状态 - 1.启用 2.不启用
  3097. type: integer
  3098. enumitemvalue:
  3099. description: 通用值 - [币种通用简写]
  3100. type: string
  3101. param1:
  3102. description: 参数1[币种:币种小数位]
  3103. type: string
  3104. param2:
  3105. description: 参数1[币种:币种显示单位]
  3106. type: string
  3107. remark:
  3108. description: 备注
  3109. type: string
  3110. required:
  3111. - autoid
  3112. - enumdiccode
  3113. - enumdicid
  3114. - enumitemname
  3115. type: object
  3116. models.Ermcp3AreaSpot:
  3117. properties:
  3118. areauserid:
  3119. description: 所属机构
  3120. type: integer
  3121. decreaseqty:
  3122. description: 减少数量=-(销售已定价数量+采购计划数量)
  3123. type: number
  3124. deliverygoodscode:
  3125. description: 现货品种代码
  3126. type: string
  3127. deliverygoodsid:
  3128. description: 现货品种id
  3129. type: integer
  3130. deliverygoodsname:
  3131. description: 现货品种名称
  3132. type: string
  3133. enumdicname:
  3134. description: 单位名称
  3135. type: string
  3136. goodsunitid:
  3137. description: 现货品种单位id
  3138. type: integer
  3139. increaseqty:
  3140. description: 增加数量=销售计划数量+采购已定价数量
  3141. type: number
  3142. oritoalspotqty:
  3143. description: 昨日数量
  3144. type: number
  3145. totalspotqty:
  3146. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3147. type: number
  3148. updatetime:
  3149. description: 更新时间
  3150. type: string
  3151. type: object
  3152. models.Ermcp3AreaSpotDetail:
  3153. properties:
  3154. contracttype:
  3155. description: 合同类型 1-采购 -1-销售
  3156. type: integer
  3157. createtime:
  3158. description: 创建时间
  3159. type: string
  3160. deliverygoodscode:
  3161. description: 现货品种代码
  3162. type: string
  3163. deliverygoodsid:
  3164. description: 现货品种id
  3165. type: integer
  3166. deliverygoodsname:
  3167. description: 现货品种名称
  3168. type: string
  3169. enumdicname:
  3170. description: 现货商品单位名称
  3171. type: string
  3172. logtype:
  3173. description: 记录类型 1-套保 2-现货合同
  3174. type: integer
  3175. qty:
  3176. description: 数量
  3177. type: number
  3178. recordname:
  3179. description: 类型名称
  3180. type: string
  3181. relatedid:
  3182. description: 套保计划ID/现货合同ID
  3183. type: string
  3184. relatedno:
  3185. description: 编号
  3186. type: string
  3187. strtime:
  3188. description: 时间
  3189. type: string
  3190. type: object
  3191. models.Ermcp3AreaSpotPLReport:
  3192. properties:
  3193. accountid:
  3194. description: 期货账户ID (作废, 默认为0)
  3195. type: integer
  3196. accountname:
  3197. description: 机构名称
  3198. type: string
  3199. actualpl:
  3200. description: 现货损益
  3201. type: number
  3202. areauserid:
  3203. description: 所属机构\交易用户ID
  3204. type: integer
  3205. begindate:
  3206. description: 开始交易日
  3207. type: string
  3208. biztype:
  3209. description: 业务类型 - 1:套保 2:套利
  3210. type: integer
  3211. brandname:
  3212. description: 品牌名称
  3213. type: string
  3214. curamount:
  3215. description: 期末额
  3216. type: number
  3217. curaverageprice:
  3218. description: 期末均价
  3219. type: number
  3220. curbuyamount:
  3221. description: 期末采购总额
  3222. type: number
  3223. curbuyqty:
  3224. description: 期末采购总量
  3225. type: number
  3226. curmarketvalue:
  3227. description: 参考市值(期末市值)
  3228. type: number
  3229. curqty:
  3230. description: 期末量
  3231. type: number
  3232. currencyid:
  3233. description: 结算币种ID【原值】
  3234. type: integer
  3235. currencyname:
  3236. description: 币种名称
  3237. type: string
  3238. cursellamount:
  3239. description: 期末销售总额
  3240. type: number
  3241. cursellqty:
  3242. description: 期末销售总量
  3243. type: number
  3244. curspotprice:
  3245. description: 参考市价(最新价)
  3246. type: number
  3247. cycletime:
  3248. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3249. type: string
  3250. cycletype:
  3251. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3252. type: integer
  3253. deliverygoodscode:
  3254. description: 现货商品代码
  3255. type: string
  3256. deliverygoodsid:
  3257. description: 现货品种ID
  3258. type: integer
  3259. deliverygoodsname:
  3260. description: 现货商品名称
  3261. type: string
  3262. enddate:
  3263. description: 结束交易日
  3264. type: string
  3265. enumdicname:
  3266. description: 现货商品单位名称
  3267. type: string
  3268. floatpl:
  3269. description: 浮动损益
  3270. type: number
  3271. goodsunitid:
  3272. description: 现货商品单位id
  3273. type: integer
  3274. oriamount:
  3275. description: 期初额
  3276. type: number
  3277. oriaverageprice:
  3278. description: 期初均价
  3279. type: number
  3280. oribuyamount:
  3281. description: 期初采购总额
  3282. type: number
  3283. oribuyqty:
  3284. description: 期初采购总量
  3285. type: number
  3286. oriqty:
  3287. description: 期初量
  3288. type: number
  3289. orisellamount:
  3290. description: 期初销售总额
  3291. type: number
  3292. orisellqty:
  3293. description: 期初销售总量
  3294. type: number
  3295. reckondate:
  3296. description: 日照时期(yyyyMMdd)
  3297. type: string
  3298. spotgoodsbrandid:
  3299. description: 现货品牌ID
  3300. type: integer
  3301. todaybuyamount:
  3302. description: 今日采购额(今采购额)
  3303. type: number
  3304. todaybuyaverageprice:
  3305. description: 今日采购均价
  3306. type: number
  3307. todaybuyqty:
  3308. description: 今日采购量(今采购量)
  3309. type: number
  3310. todayinqty:
  3311. description: 今日入库量(今入库量)
  3312. type: number
  3313. todayoutqty:
  3314. description: 今日出库量(今出库量)
  3315. type: number
  3316. todaysellamount:
  3317. description: 今日销售额(今销售额)
  3318. type: number
  3319. todaysellaverageprice:
  3320. description: 今日销售均价
  3321. type: number
  3322. todaysellqty:
  3323. description: 今日销售量(今销售量)
  3324. type: number
  3325. unitid:
  3326. description: 品类单位id
  3327. type: integer
  3328. unitidname:
  3329. description: 品类单位名称
  3330. type: string
  3331. updatetime:
  3332. description: 更新时间
  3333. type: string
  3334. wrfactortypeid:
  3335. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3336. type: integer
  3337. wrstandardcode:
  3338. description: 品类代码
  3339. type: string
  3340. wrstandardid:
  3341. description: 现货品类ID
  3342. type: integer
  3343. wrstandardname:
  3344. description: 品类名称
  3345. type: string
  3346. type: object
  3347. models.Ermcp3AreaStock:
  3348. properties:
  3349. brandname:
  3350. description: 品牌名称
  3351. type: string
  3352. curstock:
  3353. description: 期末库存量(今日量)
  3354. type: number
  3355. deliverygoodscode:
  3356. description: 现货品种代码
  3357. type: string
  3358. deliverygoodsid:
  3359. description: 现货品种id
  3360. type: integer
  3361. deliverygoodsname:
  3362. description: 现货品种名称
  3363. type: string
  3364. enumdicname:
  3365. description: 单位名称
  3366. type: string
  3367. goodsunitid:
  3368. description: 现货商品单位id
  3369. type: integer
  3370. oristock:
  3371. description: 期初库存量(昨日量)
  3372. type: number
  3373. spotgoodsbrandid:
  3374. description: 现货品牌ID
  3375. type: integer
  3376. todaybuyinqty:
  3377. description: 今日采购入库量
  3378. type: number
  3379. todayproduceinqty:
  3380. description: 今日生产入库量
  3381. type: number
  3382. todayproduceoutqty:
  3383. description: 今日生产出库量
  3384. type: number
  3385. todayselloutqty:
  3386. description: 今日销售出库量
  3387. type: number
  3388. unitid:
  3389. description: 单位id
  3390. type: integer
  3391. updatetime:
  3392. description: 更新时间
  3393. type: string
  3394. userid:
  3395. description: 机构ID
  3396. type: integer
  3397. username:
  3398. description: 机构名称
  3399. type: string
  3400. warehousecode:
  3401. description: 仓库代码
  3402. type: string
  3403. warehouseinfoid:
  3404. description: 仓库ID
  3405. type: string
  3406. warehousename:
  3407. description: 仓库名称
  3408. type: string
  3409. warehousetype:
  3410. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3411. type: integer
  3412. wrstandardcode:
  3413. description: 品类代码
  3414. type: string
  3415. wrstandardid:
  3416. description: 品类ID
  3417. type: string
  3418. wrstandardname:
  3419. description: 品类名称
  3420. type: string
  3421. required:
  3422. - userid
  3423. type: object
  3424. models.Ermcp3AreaStockApply:
  3425. properties:
  3426. applyid:
  3427. description: 申请人
  3428. type: integer
  3429. applyname:
  3430. description: 申请人名称
  3431. type: string
  3432. applyremark:
  3433. description: 申请备注
  3434. type: string
  3435. applysrc:
  3436. description: 申请来源 - 1:管理端 2:终端
  3437. type: integer
  3438. applystatus:
  3439. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3440. type: integer
  3441. applytime:
  3442. description: 申请时间
  3443. type: string
  3444. auditid:
  3445. description: 审核人
  3446. type: integer
  3447. auditname:
  3448. description: 审核人名称
  3449. type: string
  3450. auditremark:
  3451. description: 审核备注
  3452. type: string
  3453. auditsrc:
  3454. description: 审核来源 - 1:管理端 2:终端
  3455. type: integer
  3456. audittime:
  3457. description: 审核时间
  3458. type: string
  3459. audittradedate:
  3460. description: 审核交易日(yyyyMMdd)
  3461. type: string
  3462. brandname:
  3463. description: 品牌名称
  3464. type: string
  3465. buynickname:
  3466. description: 采购方昵称
  3467. type: string
  3468. buyuserid:
  3469. description: 采购方userid
  3470. type: integer
  3471. buyusername:
  3472. description: 采购方名称
  3473. type: string
  3474. contractno:
  3475. description: 合同编号
  3476. type: string
  3477. contractqty:
  3478. description: 合同量
  3479. type: number
  3480. contracttype:
  3481. description: 现货合同类型 - 1:采购 -1:销售
  3482. type: integer
  3483. deliverygoodscode:
  3484. description: 现货品种代码
  3485. type: string
  3486. deliverygoodsid:
  3487. description: 现货品种id
  3488. type: integer
  3489. deliverygoodsname:
  3490. description: 现货品种名称
  3491. type: string
  3492. detailjson:
  3493. description: 明细数据
  3494. type: string
  3495. enumdicname:
  3496. description: 现货商品单位名称
  3497. type: string
  3498. inoutapplyid:
  3499. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3500. type: string
  3501. inouttype:
  3502. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3503. type: integer
  3504. pricetype:
  3505. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3506. type: integer
  3507. qty:
  3508. description: 数量
  3509. type: number
  3510. sellnickname:
  3511. description: 销售方昵称
  3512. type: string
  3513. selluserid:
  3514. description: 销售方userid
  3515. type: integer
  3516. sellusername:
  3517. description: 销售方名称
  3518. type: string
  3519. spotcontractid:
  3520. description: 关联现货合同ID
  3521. type: string
  3522. spotgoodsbrandid:
  3523. description: 现货品牌ID
  3524. type: integer
  3525. unitid:
  3526. description: 单位id
  3527. type: integer
  3528. userid:
  3529. description: 机构ID
  3530. type: integer
  3531. warehousecode:
  3532. description: 仓库代码
  3533. type: string
  3534. warehouseinfoid:
  3535. description: 现货仓库ID
  3536. type: string
  3537. warehousename:
  3538. description: 仓库名称
  3539. type: string
  3540. warehousetype:
  3541. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3542. type: integer
  3543. wrstandardcode:
  3544. description: 品类代码
  3545. type: string
  3546. wrstandardid:
  3547. description: 品类ID
  3548. type: integer
  3549. wrstandardname:
  3550. description: 品类名称
  3551. type: string
  3552. type: object
  3553. models.Ermcp3AreaStockApplySum:
  3554. properties:
  3555. brandname:
  3556. description: 品牌名称
  3557. type: string
  3558. inouttype:
  3559. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3560. type: integer
  3561. spotcontractid:
  3562. description: 关联现货合同ID
  3563. type: string
  3564. spotgoodsbrandid:
  3565. description: 品牌id
  3566. type: integer
  3567. totalqty:
  3568. description: 总数量
  3569. type: number
  3570. wrstandardid:
  3571. description: 品类id
  3572. type: integer
  3573. wrstandardname:
  3574. description: 品类名称
  3575. type: string
  3576. type: object
  3577. models.Ermcp3AreaStockReportEx:
  3578. properties:
  3579. begindate:
  3580. description: 开始交易日
  3581. type: string
  3582. brandname:
  3583. description: 品牌名称
  3584. type: string
  3585. curstock:
  3586. description: 期末库存量
  3587. type: number
  3588. cycletime:
  3589. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3590. type: string
  3591. cycletype:
  3592. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3593. type: integer
  3594. deliverygoodscode:
  3595. description: 现货品种代码
  3596. type: string
  3597. deliverygoodsid:
  3598. description: 现货品种id
  3599. type: integer
  3600. deliverygoodsname:
  3601. description: 现货品种名称
  3602. type: string
  3603. diffqty:
  3604. description: 库存变化量 = 期末 - 期初
  3605. type: number
  3606. enddate:
  3607. description: 结束交易日
  3608. type: string
  3609. enumdicname:
  3610. description: 单位名称
  3611. type: string
  3612. goodsunitid:
  3613. description: 现货单位id
  3614. type: integer
  3615. oristock:
  3616. description: 期初库存量
  3617. type: number
  3618. reckondate:
  3619. description: 日照时期(yyyyMMdd)
  3620. type: string
  3621. spotgoodsbrandid:
  3622. description: 现货品牌ID
  3623. type: integer
  3624. todaybuyinqty:
  3625. description: 今采购入库量
  3626. type: number
  3627. todayproduceinqty:
  3628. description: 今内部入库量
  3629. type: number
  3630. todayproduceoutqty:
  3631. description: 今内部出库量
  3632. type: number
  3633. todayselloutqty:
  3634. description: 今销售出库量
  3635. type: number
  3636. unbuyinqty:
  3637. description: 采购未入库量(数据库未找到相关字段?)
  3638. type: number
  3639. unitid:
  3640. description: 品类单位id
  3641. type: integer
  3642. unselloutqty:
  3643. description: 销售未出库量(数据库未找到相关字段?)
  3644. type: number
  3645. updatetime:
  3646. description: 更新时间
  3647. type: string
  3648. userid:
  3649. description: 机构ID
  3650. type: integer
  3651. username:
  3652. description: 机构名称
  3653. type: string
  3654. warehousecode:
  3655. description: 仓库代码
  3656. type: string
  3657. warehouseinfoid:
  3658. description: 仓库ID
  3659. type: string
  3660. warehousename:
  3661. description: 仓库名称
  3662. type: string
  3663. warehousetype:
  3664. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3665. type: integer
  3666. wrstandardcode:
  3667. description: 品类代码
  3668. type: string
  3669. wrstandardid:
  3670. description: 品类ID
  3671. type: integer
  3672. wrstandardname:
  3673. description: 品类名称
  3674. type: string
  3675. type: object
  3676. models.Ermcp3ArealSumPL:
  3677. properties:
  3678. accountname:
  3679. description: 机构名称
  3680. type: string
  3681. areauserid:
  3682. description: 所属机构\交易用户ID
  3683. type: integer
  3684. begindate:
  3685. description: 开始交易日
  3686. type: string
  3687. currencyid:
  3688. description: 结算币种ID
  3689. type: integer
  3690. currencyname:
  3691. description: 币种名称
  3692. type: string
  3693. cycletime:
  3694. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3695. type: string
  3696. cycletype:
  3697. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3698. type: integer
  3699. enddate:
  3700. description: 结束交易日
  3701. type: string
  3702. enumdicname:
  3703. description: 单位名称(套保品种)
  3704. type: string
  3705. futureactualpl:
  3706. description: 期货损益
  3707. type: number
  3708. futurefloatpl:
  3709. description: 期货浮动损益
  3710. type: number
  3711. goodsunitid:
  3712. description: 套保品种单位id
  3713. type: integer
  3714. middlegoodscode:
  3715. description: 套保品种代码
  3716. type: string
  3717. middlegoodsid:
  3718. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3719. type: integer
  3720. middlegoodsname:
  3721. description: 套保品种名称
  3722. type: string
  3723. reckondate:
  3724. description: 日照时期(yyyyMMdd)
  3725. type: string
  3726. spotactualpl:
  3727. description: 现货损益
  3728. type: number
  3729. spotfloatpl:
  3730. description: 现货浮动损益
  3731. type: number
  3732. sumactualpl:
  3733. description: 实际损益 = (ActualPL + FutureActualPL)
  3734. type: number
  3735. sumpl:
  3736. description: 汇总损益
  3737. type: number
  3738. updatetime:
  3739. description: 更新时间
  3740. type: string
  3741. type: object
  3742. models.Ermcp3Brand:
  3743. properties:
  3744. areauserid:
  3745. description: 用户id
  3746. type: integer
  3747. brandid:
  3748. description: 品牌id
  3749. type: integer
  3750. brandname:
  3751. description: 品牌名称
  3752. type: string
  3753. deliverygoodsid:
  3754. description: 品种ID
  3755. type: integer
  3756. type: object
  3757. models.Ermcp3Contract:
  3758. properties:
  3759. accountid:
  3760. description: 期货账户id
  3761. type: string
  3762. amount:
  3763. description: 金额 [1:一口价、3:暂定价]
  3764. type: number
  3765. attachment:
  3766. description: 附件
  3767. type: string
  3768. auditremark:
  3769. description: 审核意见
  3770. type: string
  3771. audittime:
  3772. description: 审核时间
  3773. type: string
  3774. biztype:
  3775. description: 业务类型 1-套保 2-套利
  3776. type: integer
  3777. brandname:
  3778. description: 品牌名称
  3779. type: string
  3780. buynickname:
  3781. description: 销售方昵称
  3782. type: string
  3783. buyuserid:
  3784. description: 采购方ID
  3785. type: integer
  3786. buyusername:
  3787. description: 采购方名称
  3788. type: string
  3789. contracctstatus:
  3790. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3791. type: integer
  3792. contractmargin:
  3793. description: 合同保证金
  3794. type: number
  3795. contractno:
  3796. description: 现货合同编号
  3797. type: string
  3798. contracttype:
  3799. description: 现货合同类型 - 1:采购 -1:销售
  3800. type: integer
  3801. convertfactor:
  3802. description: 标仓系数(品类)
  3803. type: number
  3804. createtime:
  3805. description: 创建时间
  3806. type: string
  3807. currencyid:
  3808. description: 币种id
  3809. type: integer
  3810. currencyname:
  3811. description: 币种名称
  3812. type: string
  3813. deliveryenddate:
  3814. description: 交收期(结束)
  3815. type: string
  3816. deliverygoodscode:
  3817. description: 现货品种代码
  3818. type: string
  3819. deliverygoodsid:
  3820. description: 现货品种ID
  3821. type: integer
  3822. deliverygoodsname:
  3823. description: 现货品种名称
  3824. type: string
  3825. deliverystartdate:
  3826. description: 交收期(开始)
  3827. type: string
  3828. enddate:
  3829. description: 点价结束日期 [2:点价 3:暂定价]
  3830. type: string
  3831. enumdicname:
  3832. description: 单位名称
  3833. type: string
  3834. goodscode:
  3835. description: 点价合约代码
  3836. type: string
  3837. goodsid:
  3838. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3839. type: integer
  3840. goodsname:
  3841. description: 点价商品名称
  3842. type: string
  3843. margin:
  3844. description: 当前保证金
  3845. type: number
  3846. meruserid:
  3847. description: 跟单员id
  3848. type: integer
  3849. meruserlogincode:
  3850. description: 跟单员登录代码
  3851. type: string
  3852. price:
  3853. description: 价格\暂定价 [1:一口价、3:暂定价]
  3854. type: number
  3855. pricemove:
  3856. description: 升贴水 [2:点价 3:暂定价]
  3857. type: number
  3858. pricetype:
  3859. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3860. type: integer
  3861. producttype:
  3862. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3863. type: integer
  3864. qty:
  3865. description: 数量
  3866. type: number
  3867. remark:
  3868. description: 备注
  3869. type: string
  3870. saleuserid:
  3871. description: 业务员id
  3872. type: integer
  3873. saleuserlogincode:
  3874. description: 业务员登录代码
  3875. type: string
  3876. sellnickname:
  3877. description: 采购方昵称
  3878. type: string
  3879. selluserid:
  3880. description: 销售方ID
  3881. type: integer
  3882. sellusername:
  3883. description: 销售方名称
  3884. type: string
  3885. spotcontractid:
  3886. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3887. type: string
  3888. spotgoodsbrandid:
  3889. description: 现货品牌ID(DGFactoryItem表的ID)
  3890. type: integer
  3891. spotgoodsdesc:
  3892. description: 商品型号
  3893. type: string
  3894. startdate:
  3895. description: 点价开始日期 [2:点价 3:暂定价]
  3896. type: string
  3897. tradeuserid:
  3898. description: 交易员id
  3899. type: integer
  3900. tradeuserlogincode:
  3901. description: 交易员登录代码
  3902. type: string
  3903. tradeusername:
  3904. description: 交易员名称
  3905. type: string
  3906. unitid:
  3907. description: 单位id(取品类上的单位id)
  3908. type: integer
  3909. updatetime:
  3910. description: 更新时间
  3911. type: string
  3912. userid:
  3913. description: 所属机构ID
  3914. type: integer
  3915. wrstandardcode:
  3916. description: 品类代码
  3917. type: string
  3918. wrstandardid:
  3919. description: 品类ID
  3920. type: integer
  3921. wrstandardname:
  3922. description: 品类名称
  3923. type: string
  3924. type: object
  3925. models.Ermcp3ExposureContractDetail:
  3926. properties:
  3927. biztype:
  3928. description: 业务类型 1-套保 2-套利
  3929. type: integer
  3930. brandname:
  3931. description: 品牌名称
  3932. type: string
  3933. buyuserid:
  3934. description: 采购方id
  3935. type: integer
  3936. buyusername:
  3937. description: 采购方名称
  3938. type: string
  3939. contractno:
  3940. description: 合同编号
  3941. type: string
  3942. contracttype:
  3943. description: 现货合同类型 - 1:采购 -1:销售
  3944. type: integer
  3945. convertfactor:
  3946. description: 标仓系数
  3947. type: number
  3948. convertratio:
  3949. description: 折算系数(套保品种)
  3950. type: number
  3951. curqty:
  3952. description: 今定价量
  3953. type: number
  3954. deliverygoodscode:
  3955. description: 现货商品代码
  3956. type: string
  3957. deliverygoodsid:
  3958. description: 现货商品id
  3959. type: integer
  3960. deliverygoodsname:
  3961. description: 现货商品名称
  3962. type: string
  3963. diffhedgeqty:
  3964. description: 套保变动量
  3965. type: number
  3966. diffneedhedgeqty:
  3967. description: 应套保变动量
  3968. type: number
  3969. diffqty:
  3970. description: 套保品种今变动量
  3971. type: number
  3972. enumdicname:
  3973. description: 单位名称
  3974. type: string
  3975. middlegoodscode:
  3976. description: 套保品种代码
  3977. type: string
  3978. middlegoodsid:
  3979. description: 套保品种id
  3980. type: integer
  3981. middlegoodsname:
  3982. description: 套保品种名称
  3983. type: string
  3984. needarbitrageratio:
  3985. description: 应套利比例
  3986. type: number
  3987. needhedgeratio:
  3988. description: 应套保比例
  3989. type: number
  3990. pricedqty:
  3991. description: 已定价量
  3992. type: number
  3993. qty:
  3994. description: 合同量
  3995. type: number
  3996. selluserid:
  3997. description: 销售方id
  3998. type: integer
  3999. sellusername:
  4000. description: 销售方名称
  4001. type: string
  4002. spotcontractid:
  4003. description: 合同id
  4004. type: string
  4005. todaypricedqty:
  4006. description: 今定价量
  4007. type: number
  4008. tradedate:
  4009. description: 交易日
  4010. type: string
  4011. unitid:
  4012. description: 品类单位id
  4013. type: integer
  4014. userid:
  4015. description: 机构id
  4016. type: integer
  4017. wrstandardcode:
  4018. description: 品类代码
  4019. type: string
  4020. wrstandardid:
  4021. description: 品类id
  4022. type: integer
  4023. wrstandardname:
  4024. description: 品类名称
  4025. type: string
  4026. type: object
  4027. models.Ermcp3ExposureDetail:
  4028. properties:
  4029. areauserid:
  4030. description: 机构ID
  4031. type: integer
  4032. changeQty:
  4033. description: 套保变动量
  4034. type: number
  4035. contracttype:
  4036. description: 现货合同类型 - 1:采购 -1:销售
  4037. type: integer
  4038. convertfactor:
  4039. description: 标仓系数
  4040. type: number
  4041. convertratio:
  4042. description: 套保系数
  4043. type: number
  4044. createtime:
  4045. description: 时间
  4046. type: string
  4047. deliverygoodscode:
  4048. description: 现货品种代码
  4049. type: string
  4050. deliverygoodsid:
  4051. description: 现货品种id
  4052. type: integer
  4053. deliverygoodsname:
  4054. description: 现货品种名称
  4055. type: string
  4056. enumdicname:
  4057. description: 现货商品单位名称
  4058. type: string
  4059. logtype:
  4060. description: 类型 - 1:套保计划 2:现货合同
  4061. type: integer
  4062. mgunitid:
  4063. description: 套保品种单位id
  4064. type: integer
  4065. mgunitidname:
  4066. description: 套保品种单位名称
  4067. type: string
  4068. middlegoodsId:
  4069. description: 套保商品id
  4070. type: integer
  4071. middlegoodscode:
  4072. description: 套保商品代码
  4073. type: string
  4074. middlegoodsname:
  4075. description: 套保商品名称
  4076. type: string
  4077. qty:
  4078. description: 数量
  4079. type: number
  4080. relateNo:
  4081. description: 现货合同/套保计划编号
  4082. type: string
  4083. type: object
  4084. models.Ermcp3ExposureFutuDetail:
  4085. properties:
  4086. accountid:
  4087. description: 交易账户id
  4088. type: integer
  4089. accountname:
  4090. description: 交易账户
  4091. type: string
  4092. begindate:
  4093. description: 开始交易日
  4094. type: string
  4095. buyorsell:
  4096. description: 方向 0-买 1-卖
  4097. type: integer
  4098. diffmgqty:
  4099. description: 套保品种今变化量
  4100. type: number
  4101. diffneedqty:
  4102. description: 应套保总量变化量
  4103. type: number
  4104. difftradeqty:
  4105. description: 交易品种今变化量
  4106. type: number
  4107. enddate:
  4108. description: 结束交易日
  4109. type: string
  4110. enumdicname:
  4111. description: 单位名称
  4112. type: string
  4113. goodscode:
  4114. description: 商品代码
  4115. type: string
  4116. goodsid:
  4117. description: 商品id
  4118. type: integer
  4119. goodsname:
  4120. description: 商品名称
  4121. type: string
  4122. holdqty:
  4123. description: 期末持仓量
  4124. type: number
  4125. middlegoodscode:
  4126. description: 套保商品代码
  4127. type: string
  4128. middlegoodsid:
  4129. description: 套保商品id
  4130. type: integer
  4131. middlegoodsname:
  4132. description: 套保商品名称
  4133. type: string
  4134. oriholdqty:
  4135. description: 期初持仓量
  4136. type: number
  4137. todaycloseqty:
  4138. description: 今平仓量
  4139. type: number
  4140. todayopenqty:
  4141. description: 今开仓量
  4142. type: number
  4143. tradedate:
  4144. description: 交易日
  4145. type: string
  4146. type: object
  4147. models.Ermcp3ExposureHedgeplanDetail:
  4148. properties:
  4149. biztype:
  4150. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4151. type: integer
  4152. changqty:
  4153. description: 应套保总量变化量
  4154. type: number
  4155. contracttype:
  4156. description: 计划类型 - 1:采购 -1:销售
  4157. type: integer
  4158. convertratio:
  4159. description: 折算系数(套保品种)
  4160. type: number
  4161. deliverygoodscode:
  4162. description: 现货商品代码
  4163. type: string
  4164. deliverygoodsid:
  4165. description: 现货商品id
  4166. type: integer
  4167. deliverygoodsname:
  4168. description: 现货商吕名称
  4169. type: string
  4170. dgunitid:
  4171. description: 现货商品单位id
  4172. type: integer
  4173. dgunitidname:
  4174. description: 单位名称(现货商品)
  4175. type: string
  4176. diffqty:
  4177. description: 套保品种今变动量
  4178. type: number
  4179. enumdicname:
  4180. description: 单位名称(品类)
  4181. type: string
  4182. hedgeplanid:
  4183. description: 套保计划id
  4184. type: string
  4185. hedgeplanno:
  4186. description: 套保计划名称
  4187. type: string
  4188. hedgeplanstatus:
  4189. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4190. type: integer
  4191. mgunitidname:
  4192. description: 单位名称(套保商品)
  4193. type: string
  4194. middlegoodscode:
  4195. description: 套保品种代码
  4196. type: string
  4197. middlegoodsid:
  4198. description: 套保品种id
  4199. type: integer
  4200. middlegoodsname:
  4201. description: 套保品种名称
  4202. type: string
  4203. needarbitrageratio:
  4204. description: 应套利比例
  4205. type: number
  4206. needhedgeratio:
  4207. description: 应套保比例
  4208. type: number
  4209. pricedqty:
  4210. description: 已定价量
  4211. type: number
  4212. qty:
  4213. description: 合同量
  4214. type: number
  4215. tradedate:
  4216. description: 交易日(登记日)
  4217. type: string
  4218. unitid:
  4219. description: 品类单位id
  4220. type: integer
  4221. userid:
  4222. description: 机构id
  4223. type: integer
  4224. wrstandardcode:
  4225. description: 品类代码
  4226. type: string
  4227. wrstandardid:
  4228. description: 品类id
  4229. type: integer
  4230. wrstandardname:
  4231. description: 品类名称
  4232. type: string
  4233. type: object
  4234. models.Ermcp3ExpourseReport:
  4235. properties:
  4236. accountid:
  4237. description: 期货账户ID (作废, 默认为0)
  4238. type: integer
  4239. accountname:
  4240. description: 机构名称
  4241. type: string
  4242. arbitrageqty:
  4243. description: 套利量
  4244. type: number
  4245. areauserid:
  4246. description: 所属机构\交易用户ID
  4247. type: integer
  4248. begindate:
  4249. description: 开始交易日
  4250. type: string
  4251. buyfutureqty:
  4252. description: 买入期货数量
  4253. type: number
  4254. buyplanqty:
  4255. description: 采购计划数量
  4256. type: number
  4257. buypricedqty:
  4258. description: 采购合同已定价数量
  4259. type: number
  4260. cycletime:
  4261. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4262. type: string
  4263. cycletype:
  4264. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4265. type: integer
  4266. diffexposure:
  4267. description: 变动量(套保敞口)
  4268. type: number
  4269. difffutuqty:
  4270. description: 变动量(期货)
  4271. type: number
  4272. diffhedgeqty:
  4273. description: 变动量(现货应套保总量)
  4274. type: number
  4275. diffmgqtya:
  4276. description: 套保变动量
  4277. type: number
  4278. diffmgqtyb:
  4279. description: 套利变动量
  4280. type: number
  4281. diffqty:
  4282. description: 变动量(总敞口)
  4283. type: number
  4284. diffspotqty:
  4285. description: 变动量(现货)
  4286. type: number
  4287. enddate:
  4288. description: 结束交易日
  4289. type: string
  4290. enumdicname:
  4291. description: 单位名称
  4292. type: string
  4293. hedgeqty:
  4294. description: 套保量
  4295. type: number
  4296. mgneedhedgeratio:
  4297. description: 套保比例(套保品的)
  4298. type: number
  4299. middlegoodsid:
  4300. description: 套保品种ID
  4301. type: integer
  4302. middlegoodsname:
  4303. description: 套保商品名称
  4304. type: string
  4305. middlgoodscode:
  4306. description: 套保商品代码
  4307. type: string
  4308. needarbitrageqty:
  4309. description: 应套利量
  4310. type: number
  4311. needarbitrageratio:
  4312. description: 套利比例(套保品的)
  4313. type: number
  4314. needhedgeexposoure:
  4315. description: 应套保敞口(套保敞口)
  4316. type: number
  4317. needhedgeqty:
  4318. description: 应套保量
  4319. type: number
  4320. needhedgeratio:
  4321. description: 应套保敞口比例
  4322. type: number
  4323. oriarbitrageqty:
  4324. description: 期初套利量
  4325. type: number
  4326. oribuyfutureqty:
  4327. description: 期初买入期货数量
  4328. type: number
  4329. oribuyplanqty:
  4330. description: 期初采购计划数量
  4331. type: number
  4332. oribuypricedqty:
  4333. description: 期初采购合同已定价数量
  4334. type: number
  4335. orihedgeqty:
  4336. description: 期初套保量
  4337. type: number
  4338. orineedarbitrageqty:
  4339. description: 期初应套利量
  4340. type: number
  4341. orineedhedgeexposoure:
  4342. description: 期初应套保敞口
  4343. type: number
  4344. orineedhedgeqty:
  4345. description: 期初应套保量
  4346. type: number
  4347. orisellfutureqty:
  4348. description: 期初卖出期货数量
  4349. type: number
  4350. orisellplanqty:
  4351. description: 期初销售计划数量
  4352. type: number
  4353. orisellpricedqty:
  4354. description: 期初销售合同已定价数量
  4355. type: number
  4356. oritotalexposure:
  4357. description: 期初实时总敞口
  4358. type: number
  4359. oritotalfutureqty:
  4360. description: 期初期货头寸总量
  4361. type: number
  4362. oritotalneedhedgeqty:
  4363. description: 期初应套保总量
  4364. type: number
  4365. oritotalspotqty:
  4366. description: 期初现货头寸总量
  4367. type: number
  4368. reckondate:
  4369. description: 日照时期(yyyyMMdd)
  4370. type: string
  4371. sellfutureqty:
  4372. description: 卖出期货数量
  4373. type: number
  4374. sellplanqty:
  4375. description: 销售计划数量
  4376. type: number
  4377. sellpricedqty:
  4378. description: 销售合同已定价数量
  4379. type: number
  4380. totalexposure:
  4381. description: 实时总敞口(总敞口)
  4382. type: number
  4383. totalfutureqty:
  4384. description: 期货头寸总量(期货总量)
  4385. type: number
  4386. totalhedgeratio:
  4387. description: 敞口比例
  4388. type: number
  4389. totalneedhedgeqty:
  4390. description: 应套保总量(现货应套保总量)
  4391. type: number
  4392. totalspotqty:
  4393. description: 现货头寸总量
  4394. type: number
  4395. unitid:
  4396. description: 单位id
  4397. type: integer
  4398. updatetime:
  4399. description: 更新时间
  4400. type: string
  4401. type: object
  4402. models.Ermcp3FinanceReport:
  4403. properties:
  4404. accountname:
  4405. description: 机构名称
  4406. type: string
  4407. areauserid:
  4408. description: 所属机构\交易用户ID
  4409. type: integer
  4410. begindate:
  4411. description: 开始交易日
  4412. type: string
  4413. biztype:
  4414. description: 业务类型 - 1:套保 2:套利
  4415. type: integer
  4416. brandname:
  4417. description: 品牌名称
  4418. type: string
  4419. buypreinvoicedamount:
  4420. description: 采购预收票额(预收票额)
  4421. type: number
  4422. buyprepaidamount:
  4423. description: 采购预付款额(预付货款额)
  4424. type: number
  4425. buytodayinvoiceamount:
  4426. description: 采购今收票额(今收票额)
  4427. type: number
  4428. buytodayrefundamount:
  4429. description: 采购今收退款额(今收退款额)
  4430. type: number
  4431. buytodaysettleamount:
  4432. description: 采购今付款额(今付货款额)
  4433. type: number
  4434. buyuninvoicedamount:
  4435. description: 采购应收票额(应收票额)
  4436. type: number
  4437. buyunpaidamount:
  4438. description: 采购应付款额(应付货款额)
  4439. type: number
  4440. currencyid:
  4441. description: 结算币种ID
  4442. type: integer
  4443. currencyname:
  4444. description: 币种名称
  4445. type: string
  4446. cycletime:
  4447. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4448. type: string
  4449. cycletype:
  4450. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4451. type: integer
  4452. deliverygoodscode:
  4453. description: 现货品种代码
  4454. type: string
  4455. deliverygoodsid:
  4456. description: 现货品种ID
  4457. type: integer
  4458. deliverygoodsname:
  4459. description: 现货品种名称
  4460. type: string
  4461. enddate:
  4462. description: 结束交易日
  4463. type: string
  4464. reckondate:
  4465. description: 日照时期(yyyyMMdd)
  4466. type: string
  4467. sellpreinvoicedamount:
  4468. description: 销售预开票额(预开票额)
  4469. type: number
  4470. sellprepaidamount:
  4471. description: 销售预收款额(预收货款额)
  4472. type: number
  4473. selltodayinvoiceamount:
  4474. description: 销售今开票额(今开票额)
  4475. type: number
  4476. selltodayrefundamount:
  4477. description: 销售今付退款额(今付退款额)
  4478. type: number
  4479. selltodaysettleamount:
  4480. description: 销售今收款额(今收货款额)
  4481. type: number
  4482. selluninvoicedamount:
  4483. description: 销售应开票额(应开票额)
  4484. type: number
  4485. sellunpaidamount:
  4486. description: 销售应收款额(应收货款额)
  4487. type: number
  4488. spotgoodsbrandid:
  4489. description: 现货品牌ID
  4490. type: integer
  4491. todaypaysum:
  4492. description: 今付款合计
  4493. type: number
  4494. todayreceivesum:
  4495. description: 今收款合计
  4496. type: number
  4497. updatetime:
  4498. description: 更新时间
  4499. type: string
  4500. wrfactortypeid:
  4501. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4502. type: integer
  4503. wrstandardcode:
  4504. description: 品类代码
  4505. type: string
  4506. wrstandardid:
  4507. description: 现货商品ID
  4508. type: integer
  4509. wrstandardname:
  4510. description: 品类名称
  4511. type: string
  4512. type: object
  4513. models.Ermcp3Goods:
  4514. properties:
  4515. agreeunit:
  4516. description: 合约单位(合约乘数)
  4517. type: number
  4518. enumdicname:
  4519. description: 单位名称
  4520. type: string
  4521. exexchangecode:
  4522. description: 交易所代码
  4523. type: string
  4524. goodscode:
  4525. description: 期货商品代码
  4526. type: string
  4527. goodsid:
  4528. description: 期货商品id
  4529. type: integer
  4530. goodsname:
  4531. description: 期货商品名称
  4532. type: string
  4533. type: object
  4534. models.Ermcp3GoodsGroup:
  4535. properties:
  4536. agreeunit:
  4537. description: 合约单位
  4538. type: number
  4539. areauserid:
  4540. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4541. type: integer
  4542. canshort:
  4543. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4544. type: integer
  4545. closepricemode:
  4546. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4547. type: integer
  4548. createtime:
  4549. description: 创建时间
  4550. type: string
  4551. creatorid:
  4552. description: 创建人
  4553. type: integer
  4554. currencyid:
  4555. description: 报价货币ID
  4556. type: integer
  4557. decimalplace:
  4558. description: 报价小数位
  4559. type: integer
  4560. enumdicname:
  4561. description: 单位名称
  4562. type: string
  4563. exchangefullname:
  4564. description: 交易所全称
  4565. type: string
  4566. excludecfg:
  4567. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4568. type: integer
  4569. exexchangecode:
  4570. description: 交易所代码
  4571. type: string
  4572. exexchangeid:
  4573. description: 外部交易所ID[通道交易]
  4574. type: integer
  4575. exexchangename:
  4576. description: 交易所名称
  4577. type: string
  4578. goodsgroupid:
  4579. description: 商品组ID(自增ID)
  4580. type: integer
  4581. goodsgroupname:
  4582. description: 商品组名称
  4583. type: string
  4584. goodsgroupstatus:
  4585. description: 商品组状态 - 1:正常 2:注销
  4586. type: integer
  4587. goodunitid:
  4588. description: 报价单位ID
  4589. type: integer
  4590. groupcategroyid:
  4591. description: 品种分类ID
  4592. type: integer
  4593. innerdealmode:
  4594. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4595. type: integer
  4596. marketid:
  4597. description: 所属市场ID
  4598. type: integer
  4599. modifierid:
  4600. description: 修改人
  4601. type: integer
  4602. modifytime:
  4603. description: 修改时间
  4604. type: string
  4605. outerdealmode:
  4606. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4607. type: integer
  4608. outergroupcode:
  4609. description: 外部商品组代码[通道交易]
  4610. type: string
  4611. quoteminunit:
  4612. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4613. type: integer
  4614. quotesourcegroupid:
  4615. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4616. type: integer
  4617. syncgoodsqty:
  4618. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4619. type: integer
  4620. required:
  4621. - areauserid
  4622. type: object
  4623. models.Ermcp3GoodsGroupEx:
  4624. properties:
  4625. convertratio:
  4626. description: 折算系数(品种系数)
  4627. type: number
  4628. enumdicname:
  4629. description: 单位名称
  4630. type: string
  4631. exexchangecode:
  4632. description: 交易所代码
  4633. type: string
  4634. glist:
  4635. description: 合约列表
  4636. items:
  4637. $ref: '#/definitions/models.Ermcp3Goods'
  4638. type: array
  4639. goodsgroupid:
  4640. description: 商品组id
  4641. type: integer
  4642. goodsgroupname:
  4643. description: 商品组名称
  4644. type: string
  4645. goodsunitid:
  4646. description: 单位id
  4647. type: integer
  4648. middlegoodsid:
  4649. description: 套保商品id
  4650. type: integer
  4651. type: object
  4652. models.Ermcp3HedgePlan:
  4653. properties:
  4654. accountid:
  4655. description: 资金账号
  4656. type: integer
  4657. areauserid:
  4658. description: 用户ID
  4659. type: integer
  4660. audittime:
  4661. description: 审核时间
  4662. type: string
  4663. contracttype:
  4664. description: 计划类型 - 1:采购 -1:销售
  4665. type: integer
  4666. convertfactor:
  4667. description: 标仓系数
  4668. type: number
  4669. createtime:
  4670. description: 创建时间
  4671. type: string
  4672. currencyid:
  4673. description: 币种id
  4674. type: integer
  4675. currencyname:
  4676. description: 币种名称
  4677. type: string
  4678. deliverygoodscode:
  4679. description: 现货品种代码
  4680. type: string
  4681. deliverygoodsid:
  4682. description: 现货品种ID
  4683. type: integer
  4684. deliverygoodsname:
  4685. description: 现货品种名称
  4686. type: string
  4687. enumdicname:
  4688. description: 单位名称(现货商品)
  4689. type: string
  4690. hedgeplanid:
  4691. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4692. type: string
  4693. hedgeplanno:
  4694. description: 套保计划编号(名称)
  4695. type: string
  4696. hedgeplanstatus:
  4697. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4698. type: integer
  4699. planqty:
  4700. description: 计划数量
  4701. type: number
  4702. plantime:
  4703. description: 计划时间
  4704. type: string
  4705. producttype:
  4706. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4707. type: integer
  4708. remark:
  4709. description: 备注
  4710. type: string
  4711. spotgoodsdesc:
  4712. description: 商品型号
  4713. type: string
  4714. taaccountname:
  4715. description: 资金账号名称
  4716. type: string
  4717. tradeuserid:
  4718. description: 交易用户id
  4719. type: integer
  4720. tradeusername:
  4721. description: 交易用户名称
  4722. type: string
  4723. unitid:
  4724. description: 单位id(现货商品)
  4725. type: integer
  4726. updatetime:
  4727. description: 更新时间
  4728. type: string
  4729. wrstandardcode:
  4730. description: 品类代码
  4731. type: string
  4732. wrstandardid:
  4733. description: 品类id
  4734. type: integer
  4735. wrstandardname:
  4736. description: 品类名称
  4737. type: string
  4738. wrunitid:
  4739. description: 品类单位id
  4740. type: integer
  4741. wrunitidame:
  4742. description: 品类单位名称
  4743. type: string
  4744. type: object
  4745. models.Ermcp3MiddleGoodsDetail2:
  4746. properties:
  4747. convertratio:
  4748. description: 套保系数(折算系数)
  4749. type: number
  4750. gplist:
  4751. description: 关联商品组列表
  4752. items:
  4753. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4754. type: array
  4755. mg:
  4756. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4757. description: 套保商品信息
  4758. type: object
  4759. type: object
  4760. models.Ermcp3MiddleGoodsDetailEx:
  4761. properties:
  4762. dglist:
  4763. description: 关联的现货品种列表
  4764. items:
  4765. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4766. type: array
  4767. gplist:
  4768. description: 关联商品组列表
  4769. items:
  4770. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4771. type: array
  4772. mg:
  4773. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4774. description: 套保商品信息
  4775. type: object
  4776. type: object
  4777. models.Ermcp3RootUserAccount:
  4778. properties:
  4779. accountname:
  4780. description: 账户名称(机构名称)
  4781. type: string
  4782. accountstatus:
  4783. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4784. type: integer
  4785. applysrc:
  4786. description: 申请来源 - 1:管理端 2:终端
  4787. type: integer
  4788. auditremark:
  4789. description: 审核备注
  4790. type: string
  4791. auditsrc:
  4792. description: 审核来源 - 1:管理端 2:终端
  4793. type: integer
  4794. audittime:
  4795. description: 审核时间
  4796. type: string
  4797. audituserid:
  4798. description: 审核人
  4799. type: integer
  4800. broker:
  4801. description: 所属经纪人ID
  4802. type: integer
  4803. canceltime:
  4804. description: 销户时间
  4805. type: string
  4806. canceluserid:
  4807. description: 销户人
  4808. type: integer
  4809. canrecommend:
  4810. description: 是否可推荐 - 0:不可 1;可
  4811. type: integer
  4812. createtime:
  4813. description: 创建时间
  4814. type: string
  4815. creatorid:
  4816. description: 创建人
  4817. type: integer
  4818. hasauth:
  4819. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4820. type: integer
  4821. isanonymous:
  4822. description: 是否匿名下单 - 0:否 1:是
  4823. type: integer
  4824. maxinvestornum:
  4825. description: 最大用户数(经纪会员下投资者个数)
  4826. type: integer
  4827. memberuserid:
  4828. description: 所属会员ID
  4829. type: integer
  4830. modifierid:
  4831. description: 修改人
  4832. type: integer
  4833. modifyremark:
  4834. description: 变更备注
  4835. type: string
  4836. modifystatus:
  4837. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4838. type: integer
  4839. modifytime:
  4840. description: 修改时间
  4841. type: string
  4842. parenttopuser:
  4843. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4844. type: string
  4845. parentuserid:
  4846. description: 所属机构ID
  4847. type: integer
  4848. reckonaccountid:
  4849. description: 默认结算资金账号ID(机构分润使用) 作废
  4850. type: integer
  4851. refercount:
  4852. description: 推荐总人数
  4853. type: integer
  4854. refereeuserid:
  4855. description: 推荐人ID
  4856. type: integer
  4857. refernum:
  4858. description: 推荐码
  4859. type: string
  4860. rootuserid:
  4861. description: 根用户ID
  4862. type: integer
  4863. subaccountlevel:
  4864. description: 子账户层数
  4865. type: integer
  4866. subarealevelpath:
  4867. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4868. type: string
  4869. userid:
  4870. description: 用户ID
  4871. type: integer
  4872. usertype:
  4873. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4874. type: integer
  4875. type: object
  4876. models.Ermcp3SellBuyContract:
  4877. properties:
  4878. accountid:
  4879. description: 期货账户id
  4880. type: string
  4881. accountname:
  4882. description: 账户名称
  4883. type: string
  4884. attachment:
  4885. description: 附件
  4886. type: string
  4887. audittime:
  4888. description: 审核时间
  4889. type: string
  4890. biztype:
  4891. description: 业务类型 1-套保 2-套利
  4892. type: integer
  4893. brandname:
  4894. description: 品牌名称
  4895. type: string
  4896. contracctstatus:
  4897. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4898. type: integer
  4899. contractmargin:
  4900. description: 合同保证金
  4901. type: number
  4902. contractno:
  4903. description: 合同编号
  4904. type: string
  4905. contracttype:
  4906. description: 合同类型 1-采购, -1-销售
  4907. type: integer
  4908. convertfactor:
  4909. description: 标仓系数(品类)
  4910. type: number
  4911. createtime:
  4912. description: 创建时间
  4913. type: string
  4914. currencyid:
  4915. description: 币种id
  4916. type: integer
  4917. currencyname:
  4918. description: 币种名称
  4919. type: string
  4920. daikaiamount:
  4921. description: 应收(开)票额
  4922. type: number
  4923. deliveryenddate:
  4924. description: 交割结束日
  4925. type: string
  4926. deliverygoodscode:
  4927. description: 现货品种代码
  4928. type: string
  4929. deliverygoodsid:
  4930. description: 现货商品ID
  4931. type: integer
  4932. deliverygoodsname:
  4933. description: 现货品种名称
  4934. type: string
  4935. deliverystartdate:
  4936. description: 交割开始日
  4937. type: string
  4938. enddate:
  4939. description: 点价结束日
  4940. type: string
  4941. enumdicname:
  4942. description: 单位名称
  4943. type: string
  4944. goodscode:
  4945. description: 点价商品代码
  4946. type: string
  4947. goodsid:
  4948. description: 点价商品ID
  4949. type: integer
  4950. goodsname:
  4951. description: 点价商品名称
  4952. type: string
  4953. invoiceamount:
  4954. description: 已开票额
  4955. type: number
  4956. loanamount:
  4957. description: 贷款总额=已定价额+调整金额
  4958. type: number
  4959. margin:
  4960. description: 保证金
  4961. type: number
  4962. meruserid:
  4963. description: 跟单员id
  4964. type: integer
  4965. meruserlogincode:
  4966. description: 跟单员登录代码
  4967. type: string
  4968. nickname:
  4969. description: 账户昵称
  4970. type: string
  4971. payamount:
  4972. description: 已收付额(收款或付款)
  4973. type: number
  4974. preinvoiceamount:
  4975. description: 预收(开)票额
  4976. type: number
  4977. prepayamount:
  4978. description: 预收付额
  4979. type: number
  4980. price:
  4981. description: 价格
  4982. type: number
  4983. pricedamount:
  4984. description: 已定价额
  4985. type: number
  4986. pricedavg:
  4987. description: 已点均价
  4988. type: number
  4989. pricedqty:
  4990. description: 已定价量
  4991. type: number
  4992. pricemove:
  4993. description: 升贴水
  4994. type: number
  4995. pricetype:
  4996. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4997. type: integer
  4998. producttype:
  4999. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5000. type: integer
  5001. qty:
  5002. description: 合同量
  5003. type: number
  5004. reckonadjustamount:
  5005. description: 调整金额
  5006. type: number
  5007. reckonedamount:
  5008. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5009. type: number
  5010. reckonotheramount:
  5011. description: 其它费用
  5012. type: number
  5013. reckonrealqty:
  5014. description: 已确定量
  5015. type: number
  5016. remark:
  5017. description: 备注
  5018. type: string
  5019. saleuserid:
  5020. description: 业务员id
  5021. type: integer
  5022. saleuserlogincode:
  5023. description: 业务员登录代码
  5024. type: string
  5025. spotcontractid:
  5026. description: 合同ID
  5027. type: string
  5028. spotgoodsbrandid:
  5029. description: 现货品牌ID(DGFactoryItem表的ID)
  5030. type: integer
  5031. spotgoodsdesc:
  5032. description: 商品型号(商品规格)
  5033. type: string
  5034. startdate:
  5035. description: 点价开始日
  5036. type: string
  5037. totalamount:
  5038. description: 合计总额
  5039. type: number
  5040. tradeuserid:
  5041. description: 交易员id
  5042. type: integer
  5043. tradeuserlogincode:
  5044. description: 交易员登录代码
  5045. type: string
  5046. tradeusername:
  5047. description: 交易员名称
  5048. type: string
  5049. unpayamount:
  5050. description: 应收付款额(应支付或应收款)
  5051. type: number
  5052. unpricedqty:
  5053. description: 未定价量
  5054. type: number
  5055. unsureqty:
  5056. description: 未确定量
  5057. type: number
  5058. userid:
  5059. description: 机构ID
  5060. type: integer
  5061. wrstandardcode:
  5062. description: 品类代码
  5063. type: string
  5064. wrstandardid:
  5065. description: 品类ID
  5066. type: integer
  5067. wrstandardname:
  5068. description: 品类名称
  5069. type: string
  5070. type: object
  5071. models.Ermcp3SpotGoodsPrice:
  5072. properties:
  5073. areauserid:
  5074. description: 所属机构id
  5075. type: integer
  5076. brandname:
  5077. description: 品牌名称
  5078. type: string
  5079. currencyid:
  5080. description: 报价货币ID
  5081. type: integer
  5082. currencyname:
  5083. description: 币种名称
  5084. type: string
  5085. deliverygoodscode:
  5086. description: 现货商品代码
  5087. type: string
  5088. deliverygoodsid:
  5089. description: 现货商品id
  5090. type: integer
  5091. deliverygoodsname:
  5092. description: 现货商品名称
  5093. type: string
  5094. enumdicname:
  5095. description: 现货商品单位名称
  5096. type: string
  5097. gbenumdicname:
  5098. description: 品类单位名称
  5099. type: string
  5100. gmunitid:
  5101. description: 品类单位id
  5102. type: integer
  5103. isvalid:
  5104. description: 是否有效 - 0:无效 1:有效
  5105. type: integer
  5106. operateid:
  5107. description: 最后操作人
  5108. type: integer
  5109. operatesrc:
  5110. description: 最后操作来源 - 1:管理端 2:终端
  5111. type: integer
  5112. operatetime:
  5113. description: 最后操作时间
  5114. type: string
  5115. operatorname:
  5116. description: 操作人名称
  5117. type: string
  5118. spotgoodsbrandid:
  5119. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5120. type: integer
  5121. spotgoodsprice:
  5122. description: 现货价格
  5123. type: number
  5124. tradedate:
  5125. description: 交易日(yyyyMMdd)
  5126. type: string
  5127. unitid:
  5128. description: 现货商品单位id
  5129. type: integer
  5130. wrstandardcode:
  5131. description: 品类代码
  5132. type: string
  5133. wrstandardid:
  5134. description: 现货品类ID(通用则为0)
  5135. type: integer
  5136. wrstandardname:
  5137. description: 品类名称
  5138. type: string
  5139. type: object
  5140. models.Ermcp3SpotGoodsPriceLog:
  5141. properties:
  5142. areauserid:
  5143. description: 所属机构id
  5144. type: integer
  5145. brandname:
  5146. description: 品牌名称
  5147. type: string
  5148. currencyid:
  5149. description: 报价货币ID
  5150. type: integer
  5151. deliverygoodscode:
  5152. description: 现货商品代码
  5153. type: string
  5154. deliverygoodsid:
  5155. description: 现货商品id
  5156. type: integer
  5157. deliverygoodsname:
  5158. description: 现货商品名称
  5159. type: string
  5160. enumdicname:
  5161. description: 现货商品单位名称
  5162. type: string
  5163. gbenumdicname:
  5164. description: 品类单位名称
  5165. type: string
  5166. gmunitid:
  5167. description: 品类单位id
  5168. type: integer
  5169. logid:
  5170. description: 日志id
  5171. type: integer
  5172. operateid:
  5173. description: 最后操作人
  5174. type: integer
  5175. operatesrc:
  5176. description: 最后操作来源 - 1:管理端 2:终端
  5177. type: integer
  5178. operatetime:
  5179. description: 最后操作时间
  5180. type: string
  5181. operatorname:
  5182. description: 操作人名称
  5183. type: string
  5184. spotgoodsbrandid:
  5185. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5186. type: integer
  5187. spotgoodsprice:
  5188. description: 现货价格
  5189. type: number
  5190. tradedate:
  5191. description: 交易日(yyyyMMdd)
  5192. type: string
  5193. unitid:
  5194. description: 现货商品单位id
  5195. type: integer
  5196. wrstandardcode:
  5197. description: 品类代码
  5198. type: string
  5199. wrstandardid:
  5200. description: 现货品类ID(通用则为0)
  5201. type: integer
  5202. wrstandardname:
  5203. description: 品类名称
  5204. type: string
  5205. type: object
  5206. models.Ermcp3TaFutuReDataReport:
  5207. properties:
  5208. accountid:
  5209. description: 交易账户
  5210. type: integer
  5211. accountname:
  5212. description: 交易账号名称
  5213. type: string
  5214. begindate:
  5215. description: 开始交易日
  5216. type: string
  5217. buyorsell:
  5218. description: 持仓方向
  5219. type: integer
  5220. charge:
  5221. description: 手续费
  5222. type: number
  5223. closeavgprice:
  5224. description: 平仓均价
  5225. type: number
  5226. closepl:
  5227. description: 平仓损益
  5228. type: number
  5229. currencyid:
  5230. description: 结算币种ID
  5231. type: integer
  5232. cycletime:
  5233. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5234. type: string
  5235. cycletype:
  5236. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5237. type: integer
  5238. enddate:
  5239. description: 结束交易日
  5240. type: string
  5241. enumdicname:
  5242. description: 单位名称(现货商品)
  5243. type: string
  5244. floatpl:
  5245. description: 浮动损益
  5246. type: number
  5247. goodscode:
  5248. description: 交易合约代码
  5249. type: string
  5250. goodsgroupid:
  5251. description: 交易品种
  5252. type: integer
  5253. goodsgroupname:
  5254. description: 交易品种名称
  5255. type: string
  5256. goodsgroupspotqty:
  5257. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5258. type: number
  5259. goodsid:
  5260. description: 交易合约
  5261. type: integer
  5262. goodsname:
  5263. description: 交易合约名称
  5264. type: string
  5265. goodunitid:
  5266. description: 交易合约单位id
  5267. type: integer
  5268. holdamount:
  5269. description: 期末持仓额
  5270. type: number
  5271. holdqty:
  5272. description: 期末持仓量
  5273. type: number
  5274. lastholdamount:
  5275. description: 当前持仓额
  5276. type: number
  5277. lastprice:
  5278. description: 最新价
  5279. type: number
  5280. middlegoodsqty:
  5281. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5282. type: number
  5283. openamount:
  5284. description: 期末开仓额
  5285. type: number
  5286. openavgprice:
  5287. description: 开仓均价
  5288. type: number
  5289. oriholdamount:
  5290. description: 期初持仓额
  5291. type: number
  5292. oriholdqty:
  5293. description: 期初持仓量
  5294. type: number
  5295. oriopenamount:
  5296. description: 期初开仓额
  5297. type: number
  5298. outergroupcode:
  5299. description: 交易品种代码
  5300. type: string
  5301. reckondate:
  5302. description: 日照时期(yyyyMMdd)
  5303. type: string
  5304. reckonholdamount:
  5305. description: 结算持仓额
  5306. type: number
  5307. reckonpl:
  5308. description: 结算损益
  5309. type: number
  5310. reckonpl2:
  5311. description: 结算逐笔盈亏
  5312. type: number
  5313. reckonprice:
  5314. description: 结算价
  5315. type: number
  5316. relateduserid:
  5317. description: 账户关联用户ID
  5318. type: integer
  5319. todaycloseamount:
  5320. description: 今平仓额
  5321. type: number
  5322. todaycloseqty:
  5323. description: 今平仓量
  5324. type: number
  5325. todaygoodsgroupspotqty:
  5326. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5327. type: number
  5328. todaymiddlegoodsqty:
  5329. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5330. type: number
  5331. todayopenamount:
  5332. description: 今开仓额
  5333. type: number
  5334. todayopenqty:
  5335. description: 今开仓量
  5336. type: number
  5337. userid:
  5338. description: 账户所属用户ID
  5339. type: integer
  5340. type: object
  5341. models.Ermcp3Wrstandard:
  5342. properties:
  5343. areauserid:
  5344. description: 所属机构
  5345. type: integer
  5346. convertfactor:
  5347. description: 标仓系数
  5348. type: number
  5349. createtime:
  5350. description: 创建时间
  5351. type: string
  5352. creatorid:
  5353. description: 创建人
  5354. type: integer
  5355. deliverygoodsid:
  5356. description: 现货品种ID
  5357. type: integer
  5358. enumdicname:
  5359. description: 品类单位名称
  5360. type: string
  5361. isvalid:
  5362. description: 是否有效 0-无效(停用) 1-有效(正常)
  5363. type: integer
  5364. minivalue:
  5365. description: 最小变动值
  5366. type: integer
  5367. minivaluedp:
  5368. description: 最小变动值小数位
  5369. type: integer
  5370. realminivalue:
  5371. description: 实际最小变动值
  5372. type: integer
  5373. realminivaluedp:
  5374. description: 实际最小变动值小数位
  5375. type: integer
  5376. remark:
  5377. description: 备注
  5378. type: string
  5379. unitid:
  5380. description: 品类单位ID
  5381. type: integer
  5382. updatetime:
  5383. description: 更新时间
  5384. type: string
  5385. wrstandardcode:
  5386. description: 品类代码
  5387. type: string
  5388. wrstandardid:
  5389. description: 品类ID(SEQ_WRSTANDARD)
  5390. type: integer
  5391. wrstandardname:
  5392. description: 品类名称
  5393. type: string
  5394. type: object
  5395. models.ErmcpAreaSpotDetailModel:
  5396. properties:
  5397. contracttype:
  5398. description: 合同类型 1-采购 -1-销售
  5399. type: integer
  5400. createtime:
  5401. description: 创建时间
  5402. type: string
  5403. enumdicname:
  5404. description: 现货商品单位名称
  5405. type: string
  5406. logtype:
  5407. description: 记录类型 1-套保 2-现货合同
  5408. type: integer
  5409. qty:
  5410. description: 数量
  5411. type: number
  5412. recordname:
  5413. description: 类型名称
  5414. type: string
  5415. relatedid:
  5416. description: 套保计划ID/现货合同ID
  5417. type: string
  5418. relatedno:
  5419. description: 编号
  5420. type: string
  5421. strtime:
  5422. description: 时间
  5423. type: string
  5424. wrstandardcode:
  5425. description: 现货商品代码
  5426. type: string
  5427. wrstandardname:
  5428. description: 现货商品名称
  5429. type: string
  5430. type: object
  5431. models.ErmcpAvalidGoodsGroupModel:
  5432. properties:
  5433. goodsgroupid:
  5434. description: 期货品种id
  5435. type: integer
  5436. goodsgroupname:
  5437. description: 期货品种名称
  5438. type: string
  5439. goodunitid:
  5440. description: 品种单位id
  5441. type: integer
  5442. goodunitname:
  5443. description: 品种单位名称
  5444. type: string
  5445. outergroupcode:
  5446. description: 期货品种代码
  5447. type: string
  5448. type: object
  5449. models.ErmcpBizGroupEx:
  5450. properties:
  5451. acclist:
  5452. description: 账号列表
  5453. items:
  5454. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5455. type: array
  5456. bizgroupid:
  5457. description: 业务分组id
  5458. type: integer
  5459. biztype:
  5460. description: 业务类型 1-套保 2-套利
  5461. type: integer
  5462. wrlist:
  5463. description: 现货商品表
  5464. items:
  5465. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5466. type: array
  5467. type: object
  5468. models.ErmcpBizGroupSpotGoods:
  5469. properties:
  5470. areauserid:
  5471. description: 所属机构id
  5472. type: integer
  5473. bizgroupid:
  5474. description: 分组id
  5475. type: integer
  5476. biztype:
  5477. description: 业务类型 1-套保 2-套利
  5478. type: integer
  5479. deliverygoodscode:
  5480. description: 现货商品代码
  5481. type: string
  5482. deliverygoodsid:
  5483. description: 现货商品id
  5484. type: integer
  5485. deliverygoodsname:
  5486. description: 现货商品名称
  5487. type: string
  5488. unitid:
  5489. description: 现货商品单位id
  5490. type: integer
  5491. type: object
  5492. models.ErmcpBizGroupTaAccount:
  5493. properties:
  5494. accountid:
  5495. description: 账号id
  5496. type: integer
  5497. accountname:
  5498. description: 账号名称
  5499. type: string
  5500. areauserid:
  5501. description: 所属机构id
  5502. type: integer
  5503. bizgroupid:
  5504. description: 业务分组id
  5505. type: integer
  5506. ismain:
  5507. description: 是否主账号 1-是 0-否
  5508. type: integer
  5509. type: object
  5510. models.ErmcpDGFactoryItem:
  5511. properties:
  5512. areauserid:
  5513. description: 用户id
  5514. type: integer
  5515. deliverygoodsid:
  5516. description: 现货品种ID
  5517. type: integer
  5518. dgfactoryitemid:
  5519. description: 选择项ID(SEQ_DGFACTORYITEM)
  5520. type: integer
  5521. dgfactoryitemtypeid:
  5522. description: 要素项类型
  5523. type: integer
  5524. dgfactoryitemvalue:
  5525. description: 要素项值(类型为仓库时填写仓库名称)
  5526. type: string
  5527. isvalid:
  5528. description: 是否有效 - 0:无效 1:有效
  5529. type: integer
  5530. orderindex:
  5531. description: 顺序
  5532. type: integer
  5533. warehouseid:
  5534. description: 仓库ID(类型为仓库时填写)
  5535. type: integer
  5536. type: object
  5537. models.ErmcpDeliveryGoods:
  5538. properties:
  5539. agreeunit:
  5540. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5541. type: integer
  5542. areauserid:
  5543. description: 所属机构
  5544. type: integer
  5545. auditflag:
  5546. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5547. type: integer
  5548. categoryid:
  5549. description: 类别ID(SEQ_WRCATEGORY)
  5550. type: integer
  5551. deliverygoodscode:
  5552. description: 现货品种代码
  5553. type: string
  5554. deliverygoodsid:
  5555. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5556. type: integer
  5557. deliverygoodsname:
  5558. description: 现货品种名称
  5559. type: string
  5560. deliverygoodstype:
  5561. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5562. type: integer
  5563. dgstatus:
  5564. description: 品种状态 - 作废 - 0:未激活 1:正常
  5565. type: integer
  5566. enumdicname:
  5567. description: 现货品种单位名称
  5568. type: string
  5569. goodsunitid:
  5570. description: 现货品种单位ID
  5571. type: integer
  5572. isvalid:
  5573. description: 是否有效 - 0:无效 1:有效
  5574. type: integer
  5575. qtydecimalplace:
  5576. description: 成交量小数位
  5577. type: integer
  5578. remark:
  5579. description: 备注
  5580. type: string
  5581. standardqty:
  5582. description: 标准数量(库位数量) [标准品特有]
  5583. type: integer
  5584. standardqtyrange:
  5585. description: 标准数量偏差范围 [标准品特有]
  5586. type: integer
  5587. type: object
  5588. models.ErmcpDeliveryGoodsDetail2:
  5589. properties:
  5590. convertratio:
  5591. description: 套保系数(折算系数)
  5592. type: number
  5593. data:
  5594. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5595. description: 现货商品基本信息(交割品种)
  5596. type: object
  5597. gblist:
  5598. description: 品牌列表
  5599. items:
  5600. $ref: '#/definitions/models.Ermcp3Brand'
  5601. type: array
  5602. gmlist:
  5603. description: 品类列表(仓单标准)
  5604. items:
  5605. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5606. type: array
  5607. type: object
  5608. models.ErmcpDeliveryGoodsDetailEx:
  5609. properties:
  5610. data:
  5611. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5612. description: 现货商品基本信息(交割品种)
  5613. type: object
  5614. gblist:
  5615. description: 品牌列表
  5616. items:
  5617. $ref: '#/definitions/models.Ermcp3Brand'
  5618. type: array
  5619. gmlist:
  5620. description: 品类列表(仓单标准)
  5621. items:
  5622. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5623. type: array
  5624. mgList:
  5625. description: 套保列表
  5626. items:
  5627. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5628. type: array
  5629. type: object
  5630. models.ErmcpExposureDetailModel:
  5631. properties:
  5632. areauserid:
  5633. description: 机构ID
  5634. type: integer
  5635. changeQty:
  5636. description: 套保变动量
  5637. type: number
  5638. contracttype:
  5639. description: 现货合同类型 - 1:采购 -1:销售
  5640. type: integer
  5641. convertfactor:
  5642. description: 标仓系数
  5643. type: number
  5644. convertratio:
  5645. description: 套保系数
  5646. type: number
  5647. createtime:
  5648. description: 时间
  5649. type: string
  5650. enumdicname:
  5651. description: 现货商品单位名称
  5652. type: string
  5653. logtype:
  5654. description: 类型 - 1:套保计划 2:现货合同
  5655. type: integer
  5656. middlegoodsId:
  5657. description: 套保商品id
  5658. type: integer
  5659. middlegoodscode:
  5660. description: 套保商品代码
  5661. type: string
  5662. middlegoodsname:
  5663. description: 套保商品名称
  5664. type: string
  5665. qty:
  5666. description: 数量
  5667. type: number
  5668. relateNo:
  5669. description: 现货合同/套保计划编号
  5670. type: string
  5671. wrstandardcode:
  5672. description: 现货商品代码
  5673. type: string
  5674. wrstandardid:
  5675. description: 现货商品ID
  5676. type: integer
  5677. wrstandardname:
  5678. description: 现货商品名称
  5679. type: string
  5680. type: object
  5681. models.ErmcpExposurePostion:
  5682. properties:
  5683. agreeunit:
  5684. description: 合约单位
  5685. type: string
  5686. areauserid:
  5687. description: 所属机构id
  5688. type: integer
  5689. convertratio:
  5690. description: 期货品种系数(折算系数)
  5691. type: number
  5692. curqty:
  5693. description: 当前持仓
  5694. type: integer
  5695. diffhedgeqty:
  5696. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5697. type: number
  5698. diffqty:
  5699. description: 持仓变动量=当前持仓-昨日持仓
  5700. type: integer
  5701. goodscode:
  5702. description: 商品代码
  5703. type: string
  5704. goodsid:
  5705. description: 商品id
  5706. type: integer
  5707. goodsname:
  5708. description: 商品名称
  5709. type: string
  5710. middlegoodsid:
  5711. description: 套保商品id
  5712. type: integer
  5713. ydqty:
  5714. description: 昨日持仓
  5715. type: integer
  5716. type: object
  5717. models.ErmcpFuturesCompany:
  5718. properties:
  5719. brokerid:
  5720. description: 经纪公司代码
  5721. type: string
  5722. channeladdress:
  5723. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5724. type: string
  5725. channelid:
  5726. description: 对冲渠道ID
  5727. type: string
  5728. createtime:
  5729. description: 创建时间
  5730. type: string
  5731. creatorid:
  5732. description: 创建人
  5733. type: string
  5734. fcid:
  5735. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5736. type: integer
  5737. fcname:
  5738. description: 期货公司名称
  5739. type: string
  5740. isvalid:
  5741. description: 是否有效 - 0:无效 1:有效
  5742. type: integer
  5743. mhpaddress:
  5744. description: MHP服务地址(IP:Port)
  5745. type: string
  5746. riskrulegroupid:
  5747. description: 风控规则组ID
  5748. type: string
  5749. tradefeetmpid:
  5750. description: 手续费模板ID[TradeConfigTmpType为2]
  5751. type: string
  5752. trademargintmpid:
  5753. description: 保证金模板ID [TradeConfigTmpType为1]
  5754. type: string
  5755. traderatetmpid:
  5756. description: 汇率模板ID[TradeConfigTmpType为3]
  5757. type: string
  5758. updatetime:
  5759. description: 更新时间
  5760. type: string
  5761. updatorid:
  5762. description: 更新人
  5763. type: string
  5764. type: object
  5765. models.ErmcpGGConvertCfg:
  5766. properties:
  5767. convertratio:
  5768. description: 折算系数
  5769. type: number
  5770. destgoodsgroupid:
  5771. description: 目标品种ID
  5772. type: integer
  5773. dstcode:
  5774. description: 目录品种代码
  5775. type: string
  5776. dstexchangecode:
  5777. description: 目标期货交易所
  5778. type: string
  5779. dstname:
  5780. description: 目标品种名称
  5781. type: string
  5782. dstunitid:
  5783. description: 目标品种单位ID
  5784. type: integer
  5785. dstunitidname:
  5786. description: 目标品种单位名称
  5787. type: string
  5788. modifytime:
  5789. description: 修改时间
  5790. type: string
  5791. srccode:
  5792. description: 源品种代码
  5793. type: string
  5794. srcexchangecode:
  5795. description: 源期货交易所
  5796. type: string
  5797. srcgoodsgroupid:
  5798. description: 源品种ID
  5799. type: integer
  5800. srcname:
  5801. description: 源品种名称
  5802. type: string
  5803. srcunitid:
  5804. description: 源品种单位ID
  5805. type: integer
  5806. srcunitidname:
  5807. description: 源品种单位名称
  5808. type: string
  5809. type: object
  5810. models.ErmcpGoods:
  5811. properties:
  5812. agreeunit:
  5813. description: 合约单位
  5814. type: number
  5815. areauserid:
  5816. description: 所属机构
  5817. type: integer
  5818. auditaccountid:
  5819. description: 审核操作员账号
  5820. type: integer
  5821. audittime:
  5822. description: 审核时间
  5823. type: string
  5824. cancelaccountid:
  5825. description: 注销操作员账号
  5826. type: integer
  5827. canceltime:
  5828. description: 注销时间
  5829. type: string
  5830. closepricemode:
  5831. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5832. type: integer
  5833. closepriceparam:
  5834. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5835. type: number
  5836. createtime:
  5837. description: 创建时间
  5838. type: string
  5839. creatorid:
  5840. description: 创建人
  5841. type: integer
  5842. currencyid:
  5843. description: 报价货币ID
  5844. type: integer
  5845. cutmode:
  5846. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5847. type: integer
  5848. decimalplace:
  5849. description: 报价小数位
  5850. type: integer
  5851. delistingdate:
  5852. description: 商品退市时间(状态:退市) -- 已作废
  5853. type: string
  5854. delistingmode:
  5855. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5856. type: integer
  5857. deliveryflag:
  5858. description: 交割标志 - 0:不可交割 1:可交割
  5859. type: integer
  5860. forceclosemode:
  5861. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5862. type: integer
  5863. forceclosevalue:
  5864. description: 定期强平参数 [收益权]
  5865. type: integer
  5866. goodscode:
  5867. description: 商品代码(内部)
  5868. type: string
  5869. goodscurrencyid:
  5870. description: 合约货币ID
  5871. type: integer
  5872. goodsgroupid:
  5873. description: 所属商品组ID
  5874. type: integer
  5875. goodsid:
  5876. description: 商品ID(自增ID SEQ_GOODS)
  5877. type: integer
  5878. goodsname:
  5879. description: 商品名称
  5880. type: string
  5881. goodsquotetype:
  5882. description: '合约报价类型: 1-直接报价 2-间接报价'
  5883. type: integer
  5884. goodsstatus:
  5885. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5886. type: integer
  5887. goodstradetype:
  5888. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5889. type: integer
  5890. goodunitid:
  5891. description: 报价单位ID
  5892. type: integer
  5893. hasquoter:
  5894. description: 是否有报价商 - 0:无报价商 1:有报价商
  5895. type: integer
  5896. hqprotecttime:
  5897. description: 行情保护时间(秒)
  5898. type: integer
  5899. innerdealmode:
  5900. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5901. type: integer
  5902. isbuylimited:
  5903. description: 是否限制建仓量 - 0:不限制 1:限制
  5904. type: integer
  5905. isvisible:
  5906. description: 游客是否可见 - 0:不可见 1:可见
  5907. type: integer
  5908. lasttradedate:
  5909. description: 最后交易日期(状态:待退市)
  5910. type: string
  5911. listingdate:
  5912. description: 交易开始日期
  5913. type: string
  5914. marketid:
  5915. description: 所属市场ID
  5916. type: integer
  5917. modifierid:
  5918. description: 修改人
  5919. type: integer
  5920. modifystatus:
  5921. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  5922. type: integer
  5923. modifytime:
  5924. description: 修改时间
  5925. type: string
  5926. outerdealmode:
  5927. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5928. type: integer
  5929. outgoodscode:
  5930. description: 商品代码(外部)
  5931. type: string
  5932. pictureurl:
  5933. description: 商品图片
  5934. type: string
  5935. qtydecimalplace:
  5936. description: 成交量小数位
  5937. type: integer
  5938. quotegear:
  5939. description: 行情档位(1-10)
  5940. type: integer
  5941. quoteminunit:
  5942. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5943. type: integer
  5944. quoteshowtype:
  5945. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  5946. type: integer
  5947. quoteshowtypeinterval:
  5948. description: 行情报价间隔时间(秒)(成交价时为0)
  5949. type: integer
  5950. relatedgoodsid:
  5951. description: 关联参考商品ID
  5952. type: integer
  5953. remark:
  5954. description: 备注
  5955. type: string
  5956. trademode:
  5957. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5958. 21:竞拍-大宗式 22:受托竞价
  5959. type: integer
  5960. required:
  5961. - goodscode
  5962. - goodsid
  5963. - goodsname
  5964. - marketid
  5965. type: object
  5966. models.ErmcpGoodsBrand:
  5967. properties:
  5968. areauserid:
  5969. description: 所属机构
  5970. type: integer
  5971. brandid:
  5972. description: BrandID(SEQ_SPOTGOODSBRAND)
  5973. type: integer
  5974. brandname:
  5975. description: 品牌名称
  5976. type: string
  5977. createtime:
  5978. description: 创建时间
  5979. type: string
  5980. creatorid:
  5981. description: 创建人
  5982. type: integer
  5983. creatorsrc:
  5984. description: 创建人来源 - 1:管理端 2:终端
  5985. type: integer
  5986. deliverygoodsid:
  5987. description: 现货品种ID
  5988. type: integer
  5989. isvalid:
  5990. description: 是否有效 - 0:无效 1:有效
  5991. type: integer
  5992. updatetime:
  5993. description: 更新时间
  5994. type: string
  5995. updatorid:
  5996. description: 更新人
  5997. type: integer
  5998. updatorsrc:
  5999. description: 更新人来源 - 1:管理端 2:终端
  6000. type: integer
  6001. wrstandardid:
  6002. description: 现货商品ID
  6003. type: integer
  6004. type: object
  6005. models.ErmcpGoodsModel:
  6006. properties:
  6007. areauserid:
  6008. description: 所属机构
  6009. type: integer
  6010. convertfactor:
  6011. description: 标仓系数
  6012. type: number
  6013. createtime:
  6014. description: 创建时间
  6015. type: string
  6016. creatorid:
  6017. description: 创建人
  6018. type: integer
  6019. creatorsrc:
  6020. description: 创建人来源 - 1:管理端 2:终端
  6021. type: integer
  6022. deliverygoodsid:
  6023. description: 现货品种ID
  6024. type: integer
  6025. isvalid:
  6026. description: 是否有效 - 0:无效 1:有效
  6027. type: integer
  6028. modelid:
  6029. description: ModelID(SEQ_SPOTGOODSMODEL)
  6030. type: integer
  6031. modelname:
  6032. description: 型号名称
  6033. type: string
  6034. updatetime:
  6035. description: 更新时间
  6036. type: string
  6037. updatorid:
  6038. description: 更新人
  6039. type: integer
  6040. updatorsrc:
  6041. description: 更新人来源 - 1:管理端 2:终端
  6042. type: integer
  6043. wrstandardid:
  6044. description: 现货商品ID
  6045. type: integer
  6046. type: object
  6047. models.ErmcpHedgePosition:
  6048. properties:
  6049. accountid:
  6050. description: 资金账号[外部母账户]
  6051. type: integer
  6052. curbuyposition:
  6053. description: 期末买头寸
  6054. type: integer
  6055. cursellposition:
  6056. description: 期末卖头寸
  6057. type: integer
  6058. curtdbuyposition:
  6059. description: 期末今日买头寸
  6060. type: integer
  6061. curtdsellposition:
  6062. description: 期末今日卖头寸
  6063. type: integer
  6064. curydbuyposition:
  6065. description: 期末上日买头寸
  6066. type: integer
  6067. curydsellposition:
  6068. description: 期末上日卖头寸
  6069. type: integer
  6070. decreaseqty:
  6071. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6072. type: integer
  6073. fretdbuyposition:
  6074. description: 冻结今日买头寸
  6075. type: integer
  6076. fretdsellposition:
  6077. description: 冻结今日卖头寸
  6078. type: integer
  6079. freydbuyposition:
  6080. description: 冻结上日买头寸
  6081. type: integer
  6082. freydsellposition:
  6083. description: 冻结上日卖头寸
  6084. type: integer
  6085. goodscode:
  6086. description: 商品代码
  6087. type: string
  6088. goodsid:
  6089. description: 商品id
  6090. type: integer
  6091. goodsname:
  6092. description: 商品名称
  6093. type: string
  6094. hedgeaccountcode:
  6095. description: 对冲账号
  6096. type: string
  6097. hedgegoodsid:
  6098. description: 对冲合约ID
  6099. type: integer
  6100. increaseqty:
  6101. description: 增加数量 = 期末买头寸 - 期初买头寸
  6102. type: integer
  6103. marketid:
  6104. description: 市场ID
  6105. type: integer
  6106. relateduserid:
  6107. description: 关联用户id
  6108. type: integer
  6109. totalcurqty:
  6110. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6111. type: integer
  6112. totalydqty:
  6113. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6114. type: integer
  6115. tradedate:
  6116. description: 交易日(yyyyMMdd)
  6117. type: string
  6118. ydbuyposition:
  6119. description: 期初买头寸
  6120. type: integer
  6121. ydsellposition:
  6122. description: 期初卖头寸
  6123. type: integer
  6124. type: object
  6125. models.ErmcpHedgePositionDetail:
  6126. properties:
  6127. buyorsell:
  6128. description: 买卖方向 0-买 1-卖
  6129. type: integer
  6130. channelbuildtype:
  6131. description: 开平方向 1-建仓 2-平仓
  6132. type: integer
  6133. goodscode:
  6134. description: 商品代码
  6135. type: string
  6136. goodsname:
  6137. description: 商品名称
  6138. type: string
  6139. hedgegoodsid:
  6140. description: 商品id
  6141. type: integer
  6142. tradeqty:
  6143. description: 数量(成交数量)
  6144. type: integer
  6145. tradetime:
  6146. description: 时间(成交时间)
  6147. type: string
  6148. type: object
  6149. models.ErmcpHisExposure:
  6150. properties:
  6151. needhedgeexposoure:
  6152. description: 应套保敞口
  6153. type: number
  6154. reckondate:
  6155. description: 日照时期(yyyyMMdd)
  6156. type: string
  6157. totalexposure:
  6158. description: 总敞口
  6159. type: number
  6160. type: object
  6161. models.ErmcpHisExposureS:
  6162. properties:
  6163. data:
  6164. description: 历史敞口
  6165. items:
  6166. $ref: '#/definitions/models.ErmcpHisExposure'
  6167. type: array
  6168. enumdicname:
  6169. description: 单位名称
  6170. type: string
  6171. middlegoodscode:
  6172. description: 套保品种代码
  6173. type: string
  6174. middlegoodsid:
  6175. description: 套保品种ID
  6176. type: integer
  6177. middlegoodsname:
  6178. description: 套保品种名称
  6179. type: string
  6180. type: object
  6181. models.ErmcpLoginTaAccount:
  6182. properties:
  6183. accountid:
  6184. description: 账号id
  6185. type: integer
  6186. accountname:
  6187. description: 账号名称
  6188. type: string
  6189. type: object
  6190. models.ErmcpLoginUser:
  6191. properties:
  6192. acclist:
  6193. description: 关联资金账号
  6194. items:
  6195. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6196. type: array
  6197. accountname:
  6198. description: 用户名称
  6199. type: string
  6200. clientroleid:
  6201. description: 角色id(usertype=2)
  6202. type: integer
  6203. createtime:
  6204. description: 创建时间
  6205. type: string
  6206. logincode:
  6207. description: 登录代码
  6208. type: string
  6209. loginid:
  6210. description: 登录id(LOGINID)
  6211. type: integer
  6212. loginname:
  6213. description: 登录名称(loginaccount表中的accountname字段)
  6214. type: string
  6215. loginstatus:
  6216. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6217. type: integer
  6218. memberuserid:
  6219. description: 所属会员id
  6220. type: integer
  6221. mobile:
  6222. description: 手机号
  6223. type: string
  6224. modifytime:
  6225. description: 修改时间
  6226. type: string
  6227. password:
  6228. description: 密码(不可解密)
  6229. type: string
  6230. rolename:
  6231. description: 角色名称
  6232. type: string
  6233. rolestatus:
  6234. description: 角色状态 1-启用 2-停用
  6235. type: integer
  6236. roletype:
  6237. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6238. type: string
  6239. userid:
  6240. description: 用户id
  6241. type: integer
  6242. usertype:
  6243. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6244. type: integer
  6245. type: object
  6246. models.ErmcpLoginUserEx:
  6247. properties:
  6248. accountstatus:
  6249. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6250. type: integer
  6251. mobile:
  6252. description: 手机号
  6253. type: string
  6254. querytype:
  6255. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6256. type: integer
  6257. roleid:
  6258. description: 角色id(交易账户->用户id)
  6259. type: integer
  6260. rolename:
  6261. description: 角色名称(交易账户->用户名称)
  6262. type: string
  6263. userlist:
  6264. description: 用户列表
  6265. items:
  6266. $ref: '#/definitions/models.ErmcpLoginUser'
  6267. type: array
  6268. usertype:
  6269. description: 用户类型 2-机构 7-企业成员(云平台)
  6270. type: integer
  6271. type: object
  6272. models.ErmcpMiddleGoodsChangeLog:
  6273. properties:
  6274. aftervalue:
  6275. description: 变更后
  6276. type: number
  6277. applyid:
  6278. description: 操作人
  6279. type: integer
  6280. applyname:
  6281. description: 操作人名称
  6282. type: string
  6283. applysrc:
  6284. description: 操作来源 - 1:管理端 2:终端
  6285. type: integer
  6286. beforevalue:
  6287. description: 变更前
  6288. type: number
  6289. changelogtype:
  6290. description: 变更流水类型 - 1:套保比率变更
  6291. type: integer
  6292. handlestatus:
  6293. description: 处理状态
  6294. type: integer
  6295. logdatetime:
  6296. description: 流水日期
  6297. type: string
  6298. logid:
  6299. description: 流水ID
  6300. type: integer
  6301. logremark:
  6302. description: 流水备注
  6303. type: string
  6304. middlegoodsid:
  6305. description: 套保品种ID
  6306. type: integer
  6307. tradedate:
  6308. description: 交易日(yyyyMMdd)
  6309. type: string
  6310. updatetime:
  6311. description: 更新时间
  6312. type: string
  6313. type: object
  6314. models.ErmcpMiddleGoodsDetail:
  6315. properties:
  6316. cvList:
  6317. description: 期货品种折算列表
  6318. items:
  6319. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6320. type: array
  6321. mg:
  6322. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6323. description: 套保品种基本信息
  6324. type: object
  6325. wrcList:
  6326. description: 现货品种列表(现货商品折算配置)
  6327. items:
  6328. $ref: '#/definitions/models.WRSConverTDetail'
  6329. type: array
  6330. type: object
  6331. models.ErmcpMiddleGoodsModel:
  6332. properties:
  6333. areauserid:
  6334. description: 机构用户ID
  6335. type: integer
  6336. createtime:
  6337. description: 修改时间
  6338. type: string
  6339. enumdicname:
  6340. description: 单位名称
  6341. type: string
  6342. evaluateratio:
  6343. description: 估价系数
  6344. type: number
  6345. goodsgroupid:
  6346. description: 关联期货品种ID
  6347. type: integer
  6348. goodsunitid:
  6349. description: 单位ID
  6350. type: integer
  6351. isvalid:
  6352. description: 状态 0-无效(停用) 1-有效(正常)
  6353. type: integer
  6354. middlegoodscode:
  6355. description: 套保品种代码
  6356. type: string
  6357. middlegoodsid:
  6358. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6359. type: integer
  6360. middlegoodsname:
  6361. description: 套保品种名称
  6362. type: string
  6363. modifytime:
  6364. description: 修改时间
  6365. type: string
  6366. needarbitrageratio:
  6367. description: 套利比例
  6368. type: number
  6369. needhedgeratio:
  6370. description: 套保比率
  6371. type: number
  6372. qtydecimalplace:
  6373. description: 数量小数位
  6374. type: integer
  6375. relatedgoodsid:
  6376. description: 关联交易商品ID
  6377. type: integer
  6378. relatedgoodstype:
  6379. description: 关联商品类型 - 1:期货合约 2:现货品种
  6380. type: integer
  6381. remark:
  6382. description: 备注
  6383. type: string
  6384. type: object
  6385. models.ErmcpMiddlegoodsRelateGoods:
  6386. properties:
  6387. agreeunit:
  6388. description: 合约乘数
  6389. type: number
  6390. convertratio:
  6391. description: 折算系数
  6392. type: number
  6393. enumdicname:
  6394. description: 单位名称(交易商品)
  6395. type: string
  6396. goodscode:
  6397. description: 交易商品代码
  6398. type: string
  6399. goodsgroupid:
  6400. description: 交易品种id
  6401. type: integer
  6402. goodsid:
  6403. description: 商品Id
  6404. type: integer
  6405. goodsname:
  6406. description: 交易商品名称
  6407. type: string
  6408. goodunitid:
  6409. description: 交易商品单位id
  6410. type: integer
  6411. middlegoodsid:
  6412. description: 套保商品id
  6413. type: integer
  6414. middlegoodsname:
  6415. description: 套保商品名称
  6416. type: string
  6417. middlegoodsswcode:
  6418. description: 套保商品代码
  6419. type: string
  6420. needarbitrageratio:
  6421. description: 应套利比例
  6422. type: number
  6423. needhedgeratio:
  6424. description: 应套保比例
  6425. type: number
  6426. type: object
  6427. models.ErmcpOPLogModel:
  6428. properties:
  6429. aftervalue:
  6430. description: 变更后
  6431. type: number
  6432. applyid:
  6433. description: 操作人ID
  6434. type: string
  6435. applyname:
  6436. description: 操作人名称
  6437. type: string
  6438. beforevalue:
  6439. description: 变更前
  6440. type: number
  6441. biztype:
  6442. description: 业务类型 - 1:套保计划 2:现货合同
  6443. type: integer
  6444. contracttype:
  6445. description: 现货合同类型 - 1:采购 -1:销售
  6446. type: integer
  6447. logvalue:
  6448. description: 数值
  6449. type: number
  6450. operatelogtype:
  6451. description: 操作流水类型
  6452. type: integer
  6453. operatelogtypedesc:
  6454. description: 操作流水类型名称
  6455. type: string
  6456. relatedid:
  6457. description: 现货合同ID\套保计划
  6458. type: string
  6459. updatetime:
  6460. description: 更新时间
  6461. type: string
  6462. type: object
  6463. models.ErmcpPendingAudit:
  6464. properties:
  6465. areastockqty:
  6466. description: '待审核数量: 库存申请'
  6467. type: integer
  6468. businessdjqty:
  6469. description: '待审核数量: 点价'
  6470. type: integer
  6471. businessfpqty:
  6472. description: '待审核数量: 发票'
  6473. type: integer
  6474. businessjsqty:
  6475. description: '待审核数量: 结算'
  6476. type: integer
  6477. businesskxqty:
  6478. description: '待审核数量: 款项'
  6479. type: integer
  6480. hedgeplanqty:
  6481. description: '待审核数量: 套保计划'
  6482. type: integer
  6483. spotcontractqty:
  6484. description: '待审核数量: 现货合同'
  6485. type: integer
  6486. userqty:
  6487. description: '待审核数量: 用户'
  6488. type: integer
  6489. type: object
  6490. models.ErmcpRealExposureModel:
  6491. properties:
  6492. AreaUserID:
  6493. description: 所属机构
  6494. type: integer
  6495. BuyFutureQty:
  6496. description: 买入期货数量
  6497. type: number
  6498. BuyPlanQty:
  6499. description: 采购计划数量
  6500. type: number
  6501. BuyPricedQty:
  6502. description: 采购合同已定价数量
  6503. type: number
  6504. MiddleGoodsCode:
  6505. description: 套保品种代码
  6506. type: string
  6507. MiddleGoodsHedgeRatio:
  6508. description: 套保比例
  6509. type: number
  6510. MiddleGoodsID:
  6511. description: 套保品种
  6512. type: integer
  6513. MiddleGoodsName:
  6514. description: 套保品种名称
  6515. type: string
  6516. NeedHedgeExposoure:
  6517. description: 应套保敞口(套保敞口)
  6518. type: number
  6519. NeedHedgeRatio:
  6520. description: 应套保敞口比例
  6521. type: number
  6522. OriBuyFutureQty:
  6523. description: 期初买入期货数量
  6524. type: number
  6525. OriBuyPlanQty:
  6526. description: 期初采购计划数量
  6527. type: number
  6528. OriBuyPricedQty:
  6529. description: 期初采购合同已定价数量
  6530. type: number
  6531. OriSellFutureQty:
  6532. description: 期初卖出期货数量
  6533. type: number
  6534. OriSellPlanQty:
  6535. description: 期初销售计划数量
  6536. type: number
  6537. OriSellPricedQty:
  6538. description: 期初销售合同已定价数量
  6539. type: number
  6540. SellFutureQty:
  6541. description: 卖出期货数量
  6542. type: number
  6543. SellPlanQty:
  6544. description: 销售计划数量
  6545. type: number
  6546. SellPricedQty:
  6547. description: 销售合同已定价数量
  6548. type: number
  6549. TotalExposure:
  6550. description: 总敞口
  6551. type: number
  6552. TotalFutureQty:
  6553. description: 期货总量
  6554. type: number
  6555. TotalHedgeRatio:
  6556. description: 敞口比例
  6557. type: number
  6558. TotalNeedHedgeQty:
  6559. description: 应套保总量(现货应套保总量)
  6560. type: number
  6561. TotalSpotQty:
  6562. description: 现货总量
  6563. type: number
  6564. arbitrageqty:
  6565. description: 套利量
  6566. type: number
  6567. diffArbitrageQty:
  6568. description: 套利变动量
  6569. type: number
  6570. diffExposoureQty:
  6571. description: 变动量(套保敞口)
  6572. type: number
  6573. diffFutuQty:
  6574. description: 变动量(期货总量)
  6575. type: number
  6576. diffHedgeQty:
  6577. description: 套保变动量
  6578. type: number
  6579. diffQty:
  6580. description: 变动量(总敞口)
  6581. type: number
  6582. diffSpotHedgeQty:
  6583. description: 变动量(现货应套保总量)
  6584. type: number
  6585. diffSpotQty:
  6586. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6587. type: number
  6588. enumdicname:
  6589. description: 单位名称
  6590. type: string
  6591. hedgeqty:
  6592. description: 套保量
  6593. type: number
  6594. needarbitrageqty:
  6595. description: 应套利量
  6596. type: number
  6597. needarbitrageratio:
  6598. description: 套利比例
  6599. type: number
  6600. needhedgeqty:
  6601. description: 应套保量
  6602. type: number
  6603. oriTotalFutuQty:
  6604. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6605. type: number
  6606. oriTotalSpotQty:
  6607. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6608. type: number
  6609. oriarbitrageqty:
  6610. description: 期初套利量
  6611. type: number
  6612. orihedgeqty:
  6613. description: 期初套保量
  6614. type: number
  6615. orineedhedgeexposoure:
  6616. description: 期初套保敞口
  6617. type: number
  6618. oritotalexposure:
  6619. description: 期初总敞口
  6620. type: number
  6621. oritotalfutureqty:
  6622. description: 期初期货总量
  6623. type: number
  6624. oritotalneedhedgeqty:
  6625. description: 期初现货应套保量
  6626. type: number
  6627. type: object
  6628. models.ErmcpRole:
  6629. properties:
  6630. areauserid:
  6631. description: 所属机构
  6632. type: integer
  6633. autoid:
  6634. description: 角色ID(自增ID)
  6635. type: integer
  6636. modifierid:
  6637. description: 修改人(创建人)
  6638. type: integer
  6639. modifiername:
  6640. description: 修改人名称
  6641. type: string
  6642. modifytime:
  6643. description: 修改时间(创建时间)
  6644. type: string
  6645. rolename:
  6646. description: 角色名称
  6647. type: string
  6648. rolestatus:
  6649. description: 角色状态 - 1:启用 2:停用
  6650. type: integer
  6651. roletype:
  6652. description: 角色类型 - 1- 管理端 2- 交易端
  6653. type: integer
  6654. type: object
  6655. models.ErmcpRoleMenu:
  6656. properties:
  6657. iconame:
  6658. description: 菜单图标
  6659. type: string
  6660. ishadrole:
  6661. description: 是否有权限
  6662. type: boolean
  6663. menutype:
  6664. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6665. type: integer
  6666. parentcode:
  6667. description: 上级资源代码
  6668. type: string
  6669. remark:
  6670. description: 菜单备注
  6671. type: string
  6672. resourcecode:
  6673. description: 菜单代码
  6674. type: string
  6675. resourcelevel:
  6676. description: 级别
  6677. type: integer
  6678. resourcename:
  6679. description: 菜单名称
  6680. type: string
  6681. roleid:
  6682. description: 角色id
  6683. type: integer
  6684. sort:
  6685. description: 排序
  6686. type: integer
  6687. url:
  6688. description: URL
  6689. type: string
  6690. userid:
  6691. description: 用户id
  6692. type: integer
  6693. type: object
  6694. models.ErmcpRoleMenuEx:
  6695. properties:
  6696. menu:
  6697. $ref: '#/definitions/models.ErmcpRoleMenu'
  6698. description: 父级菜单
  6699. type: object
  6700. subMenu:
  6701. description: 子级菜单
  6702. items:
  6703. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6704. type: array
  6705. type: object
  6706. models.ErmcpTaAccount:
  6707. properties:
  6708. accountid:
  6709. description: 账户id
  6710. type: integer
  6711. accountname:
  6712. description: 账户名称
  6713. type: string
  6714. currencyid:
  6715. description: 币种id
  6716. type: integer
  6717. hedgeaccountcode:
  6718. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6719. type: string
  6720. ismain:
  6721. description: 是否主账户 0-否 1-是
  6722. type: integer
  6723. parentaccountid:
  6724. description: 父账户id
  6725. type: integer
  6726. relateduserid:
  6727. description: 关联userid
  6728. type: integer
  6729. tradefeetmpid:
  6730. description: 手续费模板id
  6731. type: integer
  6732. tradefeetmpname:
  6733. description: 手续费模板名称
  6734. type: string
  6735. trademargintmpid:
  6736. description: 保证金模板id
  6737. type: integer
  6738. trademargintmpname:
  6739. description: 保证金模板名称
  6740. type: string
  6741. traderatetmpid:
  6742. description: 汇率模板id
  6743. type: integer
  6744. traderatetmpname:
  6745. description: 汇率模板名称
  6746. type: string
  6747. tradestatus:
  6748. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6749. type: integer
  6750. userid:
  6751. description: 用户id
  6752. type: integer
  6753. type: object
  6754. models.ErmcpTaAccountEx:
  6755. properties:
  6756. mainAcc:
  6757. $ref: '#/definitions/models.ErmcpTaAccountM'
  6758. description: 主账号
  6759. type: object
  6760. subacclist:
  6761. description: 子账号列表
  6762. items:
  6763. $ref: '#/definitions/models.ErmcpTaAccount'
  6764. type: array
  6765. type: object
  6766. models.ErmcpTaAccountInfo:
  6767. properties:
  6768. accountid:
  6769. description: 资金账户ID
  6770. type: integer
  6771. accountname:
  6772. description: 账户名称
  6773. type: string
  6774. balance:
  6775. description: 期初余额
  6776. type: number
  6777. capitalbalance:
  6778. description: 本金余额[外部子账户实际出入金余额]
  6779. type: number
  6780. closepl:
  6781. description: 今日平仓盈亏
  6782. type: number
  6783. creditdecrease:
  6784. description: 今日授信减少
  6785. type: number
  6786. creditincrease:
  6787. description: 今日授信增加
  6788. type: number
  6789. curdebt:
  6790. description: 期末欠款
  6791. type: number
  6792. currencyid:
  6793. description: 货币ID
  6794. type: integer
  6795. currentbalance:
  6796. description: 期末余额
  6797. type: number
  6798. freezecharge:
  6799. description: 手续费冻结
  6800. type: number
  6801. freezemargin:
  6802. description: 冻结保证金
  6803. type: number
  6804. fromaccountid:
  6805. description: 所属上级账户
  6806. type: integer
  6807. inamount:
  6808. description: 今日入金金额(包括三方入金)
  6809. type: number
  6810. ismain:
  6811. description: 是否母账号 0:不是母账户 1:是母账户
  6812. type: integer
  6813. mortgagecredit:
  6814. description: 授信金额
  6815. type: number
  6816. oridebt:
  6817. description: 期初欠款
  6818. type: number
  6819. orifreezecharge:
  6820. description: 期初手续费冻结
  6821. type: number
  6822. orifreezemargin:
  6823. description: 期初冻结保证金
  6824. type: number
  6825. orimortgagecredit:
  6826. description: 期初授信金额
  6827. type: number
  6828. oriothercredit:
  6829. description: 期初其它授信金额
  6830. type: number
  6831. oriotherfreezemargin:
  6832. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6833. type: number
  6834. orioutamountfreeze:
  6835. description: 期初出金冻结
  6836. type: number
  6837. oriusedmargin:
  6838. description: 期初占用保证金
  6839. type: number
  6840. othercredit:
  6841. description: 其它授信金额
  6842. type: number
  6843. othercreditdecrease:
  6844. description: 今日其它授信减少
  6845. type: number
  6846. othercreditincrease:
  6847. description: 今日其它授信增加
  6848. type: number
  6849. otherfreezemargin:
  6850. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6851. type: number
  6852. outamount:
  6853. description: 今日出金金额(包括三方出金)
  6854. type: number
  6855. outamountfreeze:
  6856. description: 出金冻结
  6857. type: number
  6858. outthreshold:
  6859. description: 出金阈值
  6860. type: number
  6861. parentaccountid:
  6862. description: 所属根账号
  6863. type: integer
  6864. paycharge:
  6865. description: 今日手续费支出
  6866. type: number
  6867. relateduserid:
  6868. description: 关联用户
  6869. type: integer
  6870. signstatus:
  6871. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6872. type: integer
  6873. sublevelpath:
  6874. description: 账号层级路径(逗号分隔,首尾加逗号)
  6875. type: string
  6876. taaccounttype:
  6877. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6878. type: integer
  6879. thirdinamount:
  6880. description: 今日三方入金
  6881. type: number
  6882. thirdoutamount:
  6883. description: 今日三方出金
  6884. type: number
  6885. tradestatus:
  6886. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6887. type: integer
  6888. transferamount:
  6889. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6890. type: number
  6891. usedmargin:
  6892. description: 占用保证金
  6893. type: number
  6894. userid:
  6895. description: 用户ID
  6896. type: integer
  6897. type: object
  6898. models.ErmcpTaAccountM:
  6899. properties:
  6900. accountid:
  6901. description: 账户id
  6902. type: integer
  6903. accountname:
  6904. description: 账户名称
  6905. type: string
  6906. currencyid:
  6907. description: 币种id
  6908. type: integer
  6909. fcid:
  6910. description: 期货公司id
  6911. type: integer
  6912. fcname:
  6913. description: 期货公司代码
  6914. type: string
  6915. hedgeaccountcode:
  6916. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6917. type: string
  6918. ismain:
  6919. description: 是否主账户 0-否 1-是
  6920. type: integer
  6921. parentaccountid:
  6922. description: 父账户id
  6923. type: integer
  6924. relateduserid:
  6925. description: 关联userid
  6926. type: integer
  6927. tradefeetmpid:
  6928. description: 手续费模板id
  6929. type: integer
  6930. tradefeetmpname:
  6931. description: 手续费模板名称
  6932. type: string
  6933. trademargintmpid:
  6934. description: 保证金模板id
  6935. type: integer
  6936. trademargintmpname:
  6937. description: 保证金模板名称
  6938. type: string
  6939. traderatetmpid:
  6940. description: 汇率模板id
  6941. type: integer
  6942. traderatetmpname:
  6943. description: 汇率模板名称
  6944. type: string
  6945. tradestatus:
  6946. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6947. type: integer
  6948. userid:
  6949. description: 用户id
  6950. type: integer
  6951. type: object
  6952. models.ErmcpTradeConfigTMP:
  6953. properties:
  6954. areauserid:
  6955. description: 所属机构
  6956. type: integer
  6957. basiccurrencyid:
  6958. description: 基本币种ID[汇率] - 目标币种
  6959. type: integer
  6960. mainaccountid:
  6961. description: 主账户ID
  6962. type: integer
  6963. modifierid:
  6964. description: 修改人
  6965. type: integer
  6966. remark:
  6967. description: 备注
  6968. type: string
  6969. tradeconfigtmpid:
  6970. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6971. type: integer
  6972. tradeconfigtmpname:
  6973. description: 交易配置模板名称
  6974. type: string
  6975. tradeconfigtmptype:
  6976. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6977. type: integer
  6978. updatetime:
  6979. description: 更新时间
  6980. type: string
  6981. type: object
  6982. models.ErmcpUserModel:
  6983. properties:
  6984. address:
  6985. description: 通讯地址
  6986. type: string
  6987. attachment1:
  6988. description: 附件1
  6989. type: string
  6990. audittime:
  6991. description: 审核时间
  6992. type: string
  6993. cardbackphotourl:
  6994. description: 证件反面图片地址
  6995. type: string
  6996. cardfrontphotourl:
  6997. description: 证件正面图片地址
  6998. type: string
  6999. cardnum:
  7000. description: 证件号码
  7001. type: string
  7002. cardtype:
  7003. description: 证件类型
  7004. type: integer
  7005. cardtypename:
  7006. description: 证件类型名称
  7007. type: string
  7008. cityid:
  7009. description: 市
  7010. type: integer
  7011. contactname:
  7012. description: 联系人
  7013. type: string
  7014. countryid:
  7015. description: 国家
  7016. type: integer
  7017. createtime:
  7018. description: 创建时间
  7019. type: string
  7020. customername:
  7021. description: 企业名称
  7022. type: string
  7023. districtid:
  7024. description: 区域
  7025. type: integer
  7026. email:
  7027. description: 邮件
  7028. type: string
  7029. legalpersonname:
  7030. description: 法人姓名(企业)
  7031. type: string
  7032. memberuserid:
  7033. description: 所属机构ID
  7034. type: integer
  7035. mobile:
  7036. description: 手机号码
  7037. type: string
  7038. modifytime:
  7039. description: 修改时间
  7040. type: string
  7041. nickname:
  7042. description: 昵称
  7043. type: string
  7044. provinceid:
  7045. description: 省
  7046. type: integer
  7047. remark:
  7048. description: 备注
  7049. type: string
  7050. status:
  7051. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7052. type: integer
  7053. statusdesc:
  7054. description: 账户状态中文描述
  7055. type: string
  7056. taxpayernum:
  7057. description: 纳税人识别号
  7058. type: string
  7059. telphone:
  7060. description: 联系电话
  7061. type: string
  7062. userid:
  7063. description: 用户ID
  7064. type: integer
  7065. userinfotype:
  7066. description: 客户类型
  7067. type: string
  7068. type: object
  7069. models.ErmcpWareHouseInfo:
  7070. properties:
  7071. address:
  7072. description: 详细地址
  7073. type: string
  7074. areauserid:
  7075. description: 所属机构
  7076. type: integer
  7077. autoid:
  7078. description: 自增ID(仓库ID)
  7079. type: integer
  7080. cityid:
  7081. description: 市
  7082. type: integer
  7083. contactname:
  7084. description: 联系人
  7085. type: string
  7086. contactnum:
  7087. description: 联系电话
  7088. type: string
  7089. countryid:
  7090. description: 国家
  7091. type: integer
  7092. createtime:
  7093. description: 创建时间
  7094. type: string
  7095. districtid:
  7096. description: 区
  7097. type: integer
  7098. hasvideo:
  7099. description: 是否有视频 - 0:无 1:有
  7100. type: integer
  7101. provinceid:
  7102. description: 省
  7103. type: integer
  7104. remark:
  7105. description: 审核备注
  7106. type: string
  7107. videourl:
  7108. description: 视频地址
  7109. type: string
  7110. warehousecode:
  7111. description: 仓库代码
  7112. type: string
  7113. warehousename:
  7114. description: 仓库名称
  7115. type: string
  7116. warehousestatus:
  7117. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7118. type: integer
  7119. warehousetype:
  7120. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7121. type: integer
  7122. type: object
  7123. models.Externalexchange:
  7124. properties:
  7125. autoid:
  7126. description: AutoID - SEQ_EXTERNALEXCHANGE
  7127. type: integer
  7128. exchangefullname:
  7129. description: 外部交易所全称
  7130. type: string
  7131. exexchangecode:
  7132. description: 外部交易所代码
  7133. type: string
  7134. exexchangename:
  7135. description: 外部交易所名称(简称)
  7136. type: string
  7137. ismarketprice:
  7138. description: 是否支持市价 - 0:不支持 1:支持
  7139. type: integer
  7140. quotegear:
  7141. description: 行情档位(1-10)
  7142. type: integer
  7143. showbrokerflag:
  7144. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7145. type: integer
  7146. updatetime:
  7147. description: 更新时间
  7148. type: string
  7149. required:
  7150. - autoid
  7151. type: object
  7152. models.Funcmenulist:
  7153. properties:
  7154. iconame:
  7155. description: 菜单图标
  7156. type: string
  7157. menutype:
  7158. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7159. type: integer
  7160. parentcode:
  7161. description: 上级资源代码
  7162. type: string
  7163. remark:
  7164. description: 备注
  7165. type: string
  7166. resourcecode:
  7167. description: 资源代码
  7168. type: string
  7169. resourcelevel:
  7170. description: 级别 1-一级 2-二级 3-三级 4-四级
  7171. type: integer
  7172. resourcename:
  7173. description: 资源名
  7174. type: string
  7175. sort:
  7176. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7177. type: integer
  7178. url:
  7179. description: URL
  7180. type: string
  7181. required:
  7182. - resourcecode
  7183. type: object
  7184. models.Goods:
  7185. properties:
  7186. agreeunit:
  7187. description: 合约单位
  7188. type: number
  7189. areauserid:
  7190. description: 所属机构
  7191. type: integer
  7192. auditaccountid:
  7193. description: 审核操作员账号
  7194. type: integer
  7195. audittime:
  7196. description: 审核时间
  7197. type: string
  7198. cancelaccountid:
  7199. description: 注销操作员账号
  7200. type: integer
  7201. canceltime:
  7202. description: 注销时间
  7203. type: string
  7204. closepricemode:
  7205. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7206. type: integer
  7207. closepriceparam:
  7208. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7209. type: number
  7210. createtime:
  7211. description: 创建时间
  7212. type: string
  7213. creatorid:
  7214. description: 创建人
  7215. type: integer
  7216. currencyid:
  7217. description: 报价货币ID
  7218. type: integer
  7219. cutmode:
  7220. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7221. type: integer
  7222. decimalplace:
  7223. description: 报价小数位
  7224. type: integer
  7225. delistingdate:
  7226. description: 商品退市时间(状态:退市) -- 已作废
  7227. type: string
  7228. delistingmode:
  7229. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7230. type: integer
  7231. deliveryflag:
  7232. description: 交割标志 - 0:不可交割 1:可交割
  7233. type: integer
  7234. forceclosemode:
  7235. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7236. type: integer
  7237. forceclosevalue:
  7238. description: 定期强平参数 [收益权]
  7239. type: integer
  7240. goodscode:
  7241. description: 商品代码(内部)
  7242. type: string
  7243. goodscurrencyid:
  7244. description: 合约货币ID
  7245. type: integer
  7246. goodsgroupid:
  7247. description: 所属商品组ID
  7248. type: integer
  7249. goodsid:
  7250. description: 商品ID(自增ID SEQ_GOODS)
  7251. type: integer
  7252. goodsname:
  7253. description: 商品名称
  7254. type: string
  7255. goodsquotetype:
  7256. description: '合约报价类型: 1-直接报价 2-间接报价'
  7257. type: integer
  7258. goodsstatus:
  7259. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7260. type: integer
  7261. goodstradetype:
  7262. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7263. type: integer
  7264. goodunitid:
  7265. description: 报价单位ID
  7266. type: integer
  7267. hasquoter:
  7268. description: 是否有报价商 - 0:无报价商 1:有报价商
  7269. type: integer
  7270. hqprotecttime:
  7271. description: 行情保护时间(秒)
  7272. type: integer
  7273. innerdealmode:
  7274. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7275. type: integer
  7276. isbuylimited:
  7277. description: 是否限制建仓量 - 0:不限制 1:限制
  7278. type: integer
  7279. isvisible:
  7280. description: 游客是否可见 - 0:不可见 1:可见
  7281. type: integer
  7282. lasttradedate:
  7283. description: 最后交易日期(状态:待退市)
  7284. type: string
  7285. listingdate:
  7286. description: 交易开始日期
  7287. type: string
  7288. marketid:
  7289. description: 所属市场ID
  7290. type: integer
  7291. modifierid:
  7292. description: 修改人
  7293. type: integer
  7294. modifystatus:
  7295. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7296. type: integer
  7297. modifytime:
  7298. description: 修改时间
  7299. type: string
  7300. outerdealmode:
  7301. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7302. type: integer
  7303. outgoodscode:
  7304. description: 商品代码(外部)
  7305. type: string
  7306. pictureurl:
  7307. description: 商品图片
  7308. type: string
  7309. qtydecimalplace:
  7310. description: 成交量小数位
  7311. type: integer
  7312. quotegear:
  7313. description: 行情档位(1-10)
  7314. type: integer
  7315. quoteminunit:
  7316. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7317. type: integer
  7318. quoteshowtype:
  7319. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7320. type: integer
  7321. quoteshowtypeinterval:
  7322. description: 行情报价间隔时间(秒)(成交价时为0)
  7323. type: integer
  7324. remark:
  7325. description: 备注
  7326. type: string
  7327. required:
  7328. - goodscode
  7329. - goodsid
  7330. - goodsname
  7331. - marketid
  7332. type: object
  7333. models.GoodsIDAndName:
  7334. properties:
  7335. goodscode:
  7336. description: 商品代码(内部)
  7337. type: string
  7338. goodsid:
  7339. description: 商品ID(自增ID SEQ_GOODS)
  7340. type: integer
  7341. goodsname:
  7342. description: 商品名称
  7343. type: string
  7344. marketid:
  7345. description: 所属市场ID
  7346. type: integer
  7347. required:
  7348. - goodscode
  7349. - goodsid
  7350. - goodsname
  7351. - marketid
  7352. type: object
  7353. models.Goodsgroup:
  7354. properties:
  7355. agreeunit:
  7356. description: 合约单位
  7357. type: number
  7358. canshort:
  7359. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7360. type: integer
  7361. closepricemode:
  7362. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7363. type: integer
  7364. closepriceparam:
  7365. description: 强平最新价浮动比例 - 方式为2时使用
  7366. type: number
  7367. createtime:
  7368. description: 创建时间
  7369. type: string
  7370. creatorid:
  7371. description: 创建人
  7372. type: integer
  7373. currencyid:
  7374. description: 报价货币ID
  7375. type: integer
  7376. decimalplace:
  7377. description: 报价小数位
  7378. type: integer
  7379. exercisetype:
  7380. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7381. type: integer
  7382. exexchangeid:
  7383. description: 外部交易所ID[通道交易]
  7384. type: integer
  7385. goodsgroupid:
  7386. description: 商品组ID(自增ID)
  7387. type: integer
  7388. goodsgroupname:
  7389. description: 商品组名称
  7390. type: string
  7391. goodsgroupstatus:
  7392. description: 商品组状态 - 1:正常 2:注销
  7393. type: integer
  7394. goodunitid:
  7395. description: 报价单位ID
  7396. type: integer
  7397. innerdealmode:
  7398. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7399. type: integer
  7400. isbuylimited:
  7401. description: 是否限制建仓量 - 0:不限制 1:限制
  7402. type: integer
  7403. marketid:
  7404. description: 所属市场ID
  7405. type: integer
  7406. modifierid:
  7407. description: 修改人
  7408. type: integer
  7409. modifytime:
  7410. description: 修改时间
  7411. type: string
  7412. outerdealmode:
  7413. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7414. type: integer
  7415. outergroupcode:
  7416. description: 外部商品组代码[通道交易]
  7417. type: string
  7418. premiumdecimalplace:
  7419. description: 权利金小数位[场外期权]
  7420. type: integer
  7421. premiumspreadalgorithm:
  7422. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7423. type: integer
  7424. premiumspreadvalue:
  7425. description: 权利金点差值[场外期权]
  7426. type: number
  7427. qtydecimalplace:
  7428. description: 成交量小数位
  7429. type: integer
  7430. quotegear:
  7431. description: 行情档位(1-10)
  7432. type: integer
  7433. quoteminunit:
  7434. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7435. type: integer
  7436. quoterid:
  7437. description: 报价商ID[场外期权]
  7438. type: integer
  7439. quotesourcegroupid:
  7440. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7441. type: integer
  7442. syncgoodsqty:
  7443. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7444. type: integer
  7445. required:
  7446. - goodsgroupid
  7447. - goodsgroupname
  7448. - goodsgroupstatus
  7449. - marketid
  7450. type: object
  7451. models.Goodssortbypreposition:
  7452. properties:
  7453. goodscode:
  7454. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7455. type: string
  7456. goodsgroupcode:
  7457. description: 品种代码
  7458. type: string
  7459. prepositionqty:
  7460. description: 昨持仓量
  7461. type: integer
  7462. sortindex:
  7463. description: 排序
  7464. type: integer
  7465. tradedate:
  7466. description: 交易日
  7467. type: string
  7468. updatetime:
  7469. description: 更新时间
  7470. type: string
  7471. required:
  7472. - goodscode
  7473. - tradedate
  7474. type: object
  7475. models.Hedgeinnerholderdetail:
  7476. properties:
  7477. accountid:
  7478. description: 账号ID
  7479. type: integer
  7480. buyorsell:
  7481. description: 方向 - 0:买 1:卖
  7482. type: integer
  7483. freezeqty:
  7484. description: 冻结数量 - 按单平使用
  7485. type: integer
  7486. goodsid:
  7487. description: 商品ID
  7488. type: integer
  7489. holderamount:
  7490. description: 持仓金额 [商品币种]
  7491. type: number
  7492. holderdays:
  7493. description: 剩余冻结天数
  7494. type: integer
  7495. holderprice:
  7496. description: 持仓价格
  7497. type: number
  7498. holderqty:
  7499. description: 持仓数量
  7500. type: integer
  7501. marketid:
  7502. description: 市场ID
  7503. type: integer
  7504. openprice:
  7505. description: 建仓价格
  7506. type: number
  7507. openqty:
  7508. description: 建仓数量
  7509. type: integer
  7510. parentaccountid:
  7511. description: 所属母账户
  7512. type: integer
  7513. releaseamount:
  7514. description: 释放持仓金额[商品币种]
  7515. type: number
  7516. tradeamount:
  7517. description: 成交金额[账户]
  7518. type: number
  7519. tradedate:
  7520. description: 交易日(yyyyMMdd)
  7521. type: string
  7522. tradeid:
  7523. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7524. type: string
  7525. tradetime:
  7526. description: 交易时间
  7527. type: string
  7528. required:
  7529. - buyorsell
  7530. - tradeid
  7531. type: object
  7532. models.Hedgemarketopenlog:
  7533. properties:
  7534. accountid:
  7535. description: 资金账号[外部母账户]
  7536. type: integer
  7537. fcname:
  7538. description: 期货公司名称
  7539. type: string
  7540. handlestatus:
  7541. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7542. type: integer
  7543. marketid:
  7544. description: 市场ID
  7545. type: integer
  7546. status:
  7547. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7548. type: integer
  7549. tradedate:
  7550. description: 交易日(yyyyMMdd)
  7551. type: string
  7552. updatetime:
  7553. description: 更新时间
  7554. type: string
  7555. required:
  7556. - accountid
  7557. type: object
  7558. models.HsbyBuyMyPayOrder:
  7559. properties:
  7560. agreeunit:
  7561. description: 合约单位
  7562. type: number
  7563. buyaccountid:
  7564. description: 买方账号ID[报价币种]
  7565. type: integer
  7566. buyorderid:
  7567. description: 买方委托单号
  7568. type: string
  7569. createtime:
  7570. description: 创建时间
  7571. type: string
  7572. currencysign:
  7573. description: 货币符号
  7574. type: string
  7575. decimalplace:
  7576. description: 报价小数位
  7577. type: integer
  7578. goodscode:
  7579. description: 商品代码(内部)
  7580. type: string
  7581. goodsid:
  7582. description: 商品ID
  7583. type: integer
  7584. goodsname:
  7585. description: 商品名称
  7586. type: string
  7587. marketid:
  7588. description: 市场ID
  7589. type: integer
  7590. offamount:
  7591. description: 优惠金额
  7592. type: number
  7593. originalamount:
  7594. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7595. type: number
  7596. payamount:
  7597. description: 支付金额 = TradeAmount + TradeCharge
  7598. type: number
  7599. payflag:
  7600. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7601. type: integer
  7602. paylimitedtime:
  7603. description: 支付期限
  7604. type: string
  7605. paytime:
  7606. description: 付款时间
  7607. type: string
  7608. picurls1:
  7609. description: 预售商品介绍图片[多张用逗号分隔]
  7610. type: string
  7611. picurls2:
  7612. description: 挂牌商品介绍图片[多张用逗号分隔]
  7613. type: string
  7614. sellaccountid:
  7615. description: 卖方账号ID[报价币种]
  7616. type: integer
  7617. sellorderid:
  7618. description: 卖方委托单号
  7619. type: string
  7620. tradeamount:
  7621. description: 成交金额
  7622. type: number
  7623. tradecharge:
  7624. description: 成交手续费(买方)
  7625. type: number
  7626. tradedate:
  7627. description: 交易日(yyyyMMdd)
  7628. type: string
  7629. tradeid:
  7630. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7631. type: string
  7632. trademode:
  7633. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7634. 21:竞拍-大宗式 22:受托竞价
  7635. type: integer
  7636. tradeprice:
  7637. description: 成交价格
  7638. type: number
  7639. tradeqty:
  7640. description: 成交数量
  7641. type: integer
  7642. vendorname1:
  7643. description: 预售商品供应商名称
  7644. type: string
  7645. vendorname2:
  7646. description: 挂牌商品供应商名称
  7647. type: string
  7648. required:
  7649. - goodscode
  7650. - goodsname
  7651. - tradeid
  7652. - trademode
  7653. type: object
  7654. models.HsbyBuyMyTradeDetail:
  7655. properties:
  7656. accountid:
  7657. description: 账户ID[报价币种]
  7658. type: integer
  7659. agreeunit:
  7660. description: 合约单位
  7661. type: number
  7662. amount:
  7663. description: 金额 = 价格 * 数量 * 合约单位
  7664. type: number
  7665. buyorsell:
  7666. description: 买卖 - 0:买 1:卖
  7667. type: integer
  7668. currencysign:
  7669. description: 货币符号
  7670. type: string
  7671. decimalplace:
  7672. description: 报价小数位
  7673. type: integer
  7674. goodscode:
  7675. description: 商品代码(内部)
  7676. type: string
  7677. goodsid:
  7678. description: 商品ID
  7679. type: integer
  7680. goodsname:
  7681. description: 商品名称
  7682. type: string
  7683. marketid:
  7684. description: 市场ID
  7685. type: integer
  7686. orderamount:
  7687. description: 委托金额
  7688. type: number
  7689. orderid:
  7690. description: 单号(成交单号)
  7691. type: string
  7692. picurls1:
  7693. description: 预售商品介绍图片[多张用逗号分隔]
  7694. type: string
  7695. picurls2:
  7696. description: 挂牌商品介绍图片[多张用逗号分隔]
  7697. type: string
  7698. price:
  7699. description: 价格
  7700. type: number
  7701. qty:
  7702. description: 数量
  7703. type: integer
  7704. time:
  7705. description: 时间
  7706. type: string
  7707. trademode:
  7708. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7709. 21:竞拍-大宗式 22:受托竞价
  7710. type: integer
  7711. vendorname1:
  7712. description: 预售商品供应商名称
  7713. type: string
  7714. vendorname2:
  7715. description: 挂牌商品供应商名称
  7716. type: string
  7717. required:
  7718. - accountid
  7719. - buyorsell
  7720. - goodscode
  7721. - goodsid
  7722. - goodsname
  7723. - marketid
  7724. - orderid
  7725. - qty
  7726. - time
  7727. - trademode
  7728. type: object
  7729. models.HsbyGoodsOrderDetail:
  7730. properties:
  7731. buyorsell:
  7732. description: 买卖 - 0:买 1:卖
  7733. type: integer
  7734. currencysign:
  7735. description: 货币符号
  7736. type: string
  7737. customername:
  7738. description: 客户名称(企业名称),已脱敏
  7739. type: string
  7740. enableqty:
  7741. description: 可用数量
  7742. type: integer
  7743. goodunit:
  7744. description: 报价单位
  7745. type: string
  7746. orderid:
  7747. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7748. type: string
  7749. orderprice:
  7750. description: 委托价格
  7751. type: number
  7752. ordertime:
  7753. description: 委托时间
  7754. type: string
  7755. required:
  7756. - buyorsell
  7757. - orderid
  7758. - ordertime
  7759. type: object
  7760. models.HsbyListingGoodsDetail:
  7761. properties:
  7762. agreeunit:
  7763. description: 合约单位
  7764. type: number
  7765. buymaxqty:
  7766. description: 购买上限 [71] - 0为不限
  7767. type: integer
  7768. currency:
  7769. description: 货币
  7770. type: string
  7771. currencysign:
  7772. description: 货币符号
  7773. type: string
  7774. decimalplace:
  7775. description: 报价小数位
  7776. type: integer
  7777. desccityid:
  7778. description: 目的地(市)ID
  7779. type: integer
  7780. descprovinceid:
  7781. description: 目的地(省)ID
  7782. type: integer
  7783. goodscode:
  7784. description: 商品代码(内部)
  7785. type: string
  7786. goodsdesc:
  7787. description: 商品详情
  7788. type: string
  7789. goodsid:
  7790. description: 商品ID(自增ID SEQ_GOODS)
  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. last:
  7802. description: 现价
  7803. type: number
  7804. limitdown:
  7805. description: 跌停价
  7806. type: number
  7807. limitup:
  7808. description: 涨停价
  7809. type: number
  7810. lotsize:
  7811. description: 手数最小变动单位
  7812. type: integer
  7813. marketid:
  7814. description: 所属市场ID
  7815. type: integer
  7816. picurls:
  7817. description: 介绍图片[多张用逗号分隔]
  7818. type: string
  7819. quoteminunit:
  7820. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7821. type: integer
  7822. stepvalue:
  7823. description: 价格最小变动单位
  7824. type: number
  7825. trademode:
  7826. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7827. 21:竞拍-大宗式 22:受托竞价
  7828. type: integer
  7829. vendorattr:
  7830. description: 供应商附件(多张,逗号分隔)
  7831. type: string
  7832. vendorname:
  7833. description: 供应商名称
  7834. type: string
  7835. vendorphone:
  7836. description: 供应商客服电话
  7837. type: string
  7838. videourls:
  7839. description: 介绍视频[多张用逗号分隔]
  7840. type: string
  7841. required:
  7842. - goodscode
  7843. - goodsid
  7844. - goodsname
  7845. - marketid
  7846. - trademode
  7847. type: object
  7848. models.HsbyMarketGoods:
  7849. properties:
  7850. accountid:
  7851. description: 账户ID[报价币种]
  7852. type: integer
  7853. agreeunit:
  7854. description: 合约单位
  7855. type: number
  7856. buyorsell:
  7857. description: 买卖 - 0:买 1:卖
  7858. type: integer
  7859. categoryid:
  7860. description: 类别ID(WRCATEGORY)
  7861. type: integer
  7862. currency:
  7863. description: 货币
  7864. type: string
  7865. currencysign:
  7866. description: 货币符号
  7867. type: string
  7868. customername:
  7869. description: 卖家名称
  7870. type: string
  7871. decimalplace:
  7872. description: 报价小数位
  7873. type: integer
  7874. goodscode:
  7875. description: 商品代码(内部)
  7876. type: string
  7877. goodsid:
  7878. description: 商品ID
  7879. type: integer
  7880. goodsname:
  7881. description: 商品名称
  7882. type: string
  7883. goodsprice:
  7884. description: 商品价格
  7885. type: number
  7886. hascoupon:
  7887. description: 是否可用优惠卷
  7888. type: boolean
  7889. hotindex:
  7890. description: 景点热度
  7891. type: integer
  7892. marketid:
  7893. description: 市场ID
  7894. type: integer
  7895. orderid:
  7896. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7897. type: string
  7898. orderprice:
  7899. description: 委托价格
  7900. type: number
  7901. orderstatus:
  7902. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7903. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7904. 16:成交失败违约(荷兰式竞拍专用)
  7905. type: integer
  7906. picurls:
  7907. description: 介绍图片[多张用逗号分隔]
  7908. type: string
  7909. quoteminunit:
  7910. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7911. type: integer
  7912. sellUserID:
  7913. description: 卖方UserID
  7914. type: integer
  7915. trademode:
  7916. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7917. 21:竞拍-大宗式 22:受托竞价
  7918. type: integer
  7919. videourls:
  7920. description: 介绍视频[多张用逗号分隔]
  7921. type: string
  7922. required:
  7923. - accountid
  7924. - buyorsell
  7925. - goodscode
  7926. - goodsid
  7927. - goodsname
  7928. - marketid
  7929. - orderid
  7930. - trademode
  7931. type: object
  7932. models.HsbyMarketGoodsDetail:
  7933. properties:
  7934. accountid:
  7935. description: 账户ID[报价币种]
  7936. type: integer
  7937. agreeunit:
  7938. description: 合约单位
  7939. type: number
  7940. buymaxqty:
  7941. description: 购买上限 [71] - 0为不限
  7942. type: integer
  7943. buyorsell:
  7944. description: 买卖 - 0:买 1:卖
  7945. type: integer
  7946. cancelqty:
  7947. description: 撤单数量
  7948. type: integer
  7949. categoryid:
  7950. description: 类别ID(WRCATEGORY)
  7951. type: integer
  7952. currency:
  7953. description: 货币
  7954. type: string
  7955. currencysign:
  7956. description: 货币符号
  7957. type: string
  7958. customername:
  7959. description: 卖家名称
  7960. type: string
  7961. decimalplace:
  7962. description: 报价小数位
  7963. type: integer
  7964. goodscode:
  7965. description: 商品代码(内部)
  7966. type: string
  7967. goodsdesc:
  7968. description: 商品详情
  7969. type: string
  7970. goodsid:
  7971. description: 商品ID
  7972. type: integer
  7973. goodsname:
  7974. description: 商品名称
  7975. type: string
  7976. goodsprice:
  7977. description: 商品价格
  7978. type: number
  7979. hotindex:
  7980. description: 景点热度
  7981. type: integer
  7982. lotsize:
  7983. description: 手数最小变动单位
  7984. type: integer
  7985. marketid:
  7986. description: 市场ID
  7987. type: integer
  7988. orderid:
  7989. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7990. type: string
  7991. orderprice:
  7992. description: 委托价格
  7993. type: number
  7994. orderqty:
  7995. description: 委托数量
  7996. type: integer
  7997. orderstatus:
  7998. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7999. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8000. 16:成交失败违约(荷兰式竞拍专用)
  8001. type: integer
  8002. picurls:
  8003. description: 介绍图片[多张用逗号分隔]
  8004. type: string
  8005. quoteminunit:
  8006. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8007. type: integer
  8008. sellUserID:
  8009. description: 卖方UserID
  8010. type: integer
  8011. trademode:
  8012. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8013. 21:竞拍-大宗式 22:受托竞价
  8014. type: integer
  8015. tradeqty:
  8016. description: 成交数量
  8017. type: integer
  8018. vendorattr:
  8019. description: 供应商附件(多张,逗号分隔)
  8020. type: string
  8021. vendorname:
  8022. description: 供应商名称
  8023. type: string
  8024. vendorphone:
  8025. description: 供应商客服电话
  8026. type: string
  8027. videourls:
  8028. description: 介绍视频[多张用逗号分隔]
  8029. type: string
  8030. required:
  8031. - accountid
  8032. - buyorsell
  8033. - goodscode
  8034. - goodsid
  8035. - goodsname
  8036. - marketid
  8037. - orderid
  8038. - orderqty
  8039. - trademode
  8040. type: object
  8041. models.HsbyMarketInfo:
  8042. properties:
  8043. marketid:
  8044. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8045. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8046. type: integer
  8047. marketname:
  8048. description: 市场名称
  8049. type: string
  8050. marketstatus:
  8051. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8052. type: integer
  8053. trademode:
  8054. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8055. 21:竞拍-大宗式 22:受托竞价
  8056. type: integer
  8057. required:
  8058. - marketid
  8059. - marketstatus
  8060. - trademode
  8061. type: object
  8062. models.HsbyMyGoods:
  8063. properties:
  8064. accountid:
  8065. description: 账号Id
  8066. type: integer
  8067. agreeunit:
  8068. description: 合约单位
  8069. type: number
  8070. buyaverageprice:
  8071. description: 持仓均价
  8072. type: number
  8073. buycurholderamount:
  8074. description: 买当前持仓总金额[商品币种]
  8075. type: number
  8076. buycurpositionqty:
  8077. description: 买当前持仓总数量
  8078. type: integer
  8079. buymaxqty:
  8080. description: 购买上限 [71] - 0为不限
  8081. type: integer
  8082. currencysign:
  8083. description: 货币符号
  8084. type: string
  8085. decimalplace:
  8086. description: 报价小数位
  8087. type: integer
  8088. enableqty:
  8089. description: 可用数量
  8090. type: integer
  8091. goodscode:
  8092. description: 商品代码(内部)
  8093. type: string
  8094. goodsid:
  8095. description: 商品Id
  8096. type: integer
  8097. goodsname:
  8098. description: 商品名称
  8099. type: string
  8100. goodsprice:
  8101. description: 商品价格
  8102. type: number
  8103. goodsstatus:
  8104. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8105. type: integer
  8106. last:
  8107. description: 现价(仅使用于挂牌点选)
  8108. type: number
  8109. limitdown:
  8110. description: 跌停价(仅使用于挂牌点选)
  8111. type: number
  8112. limitup:
  8113. description: 涨停价(仅使用于挂牌点选)
  8114. type: number
  8115. lotsize:
  8116. description: 手数最小变动单位
  8117. type: integer
  8118. marketid:
  8119. description: 所属市场ID
  8120. type: integer
  8121. picurls:
  8122. description: 介绍图片[多张用逗号分隔]
  8123. type: string
  8124. quoteminunit:
  8125. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8126. type: integer
  8127. stepvalue:
  8128. description: 价格最小变动单位
  8129. type: number
  8130. trademode:
  8131. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8132. 21:竞拍-大宗式 22:受托竞价
  8133. type: integer
  8134. required:
  8135. - accountid
  8136. - goodscode
  8137. - goodsid
  8138. - goodsname
  8139. - marketid
  8140. - trademode
  8141. type: object
  8142. models.HsbyMyPackage:
  8143. properties:
  8144. accountid:
  8145. description: 账户ID
  8146. type: integer
  8147. address:
  8148. description: 提货人详细地址
  8149. type: string
  8150. agreeunit:
  8151. description: 合约单位
  8152. type: number
  8153. amount:
  8154. description: 提货金额
  8155. type: number
  8156. auditer:
  8157. description: 审核人
  8158. type: integer
  8159. audittime:
  8160. description: 审核时间
  8161. type: string
  8162. averageprice:
  8163. description: 均价
  8164. type: number
  8165. cardnum:
  8166. description: 提货人证件号码
  8167. type: string
  8168. cardtypeid:
  8169. description: 提货人证件类型
  8170. type: integer
  8171. checkremark:
  8172. description: 审核备注
  8173. type: string
  8174. currencysign:
  8175. description: 货币符号
  8176. type: string
  8177. decimalplace:
  8178. description: 报价小数位
  8179. type: integer
  8180. goodscode:
  8181. description: 商品代码(内部)
  8182. type: string
  8183. goodsid:
  8184. description: 商品ID
  8185. type: integer
  8186. goodsname:
  8187. description: 商品名称
  8188. type: string
  8189. handlestatus:
  8190. description: 处理状态
  8191. type: integer
  8192. marketid:
  8193. description: 市场ID
  8194. type: integer
  8195. phonenum:
  8196. description: 提货人联系方式
  8197. type: string
  8198. picurls:
  8199. description: 介绍图片[多张用逗号分隔]
  8200. type: string
  8201. qty:
  8202. description: 提货数量
  8203. type: number
  8204. recivername:
  8205. description: 提货人姓名
  8206. type: string
  8207. reqtime:
  8208. description: 更新时间
  8209. type: string
  8210. takemode:
  8211. description: 提货方式 - 2:自提 3:配送
  8212. type: integer
  8213. takeorderid:
  8214. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8215. type: string
  8216. takeorderstatus:
  8217. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8218. type: integer
  8219. takeremark:
  8220. description: 提货备注
  8221. type: string
  8222. tradedate:
  8223. description: 交易日(yyyyMMdd)
  8224. type: string
  8225. trademode:
  8226. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8227. 21:竞拍-大宗式 22:受托竞价
  8228. type: integer
  8229. userid:
  8230. description: 用户ID
  8231. type: integer
  8232. vendorname:
  8233. description: 供应商名称
  8234. type: string
  8235. required:
  8236. - goodscode
  8237. - goodsname
  8238. - takeorderid
  8239. - trademode
  8240. type: object
  8241. models.HsbyPreGoods:
  8242. properties:
  8243. agreeunit:
  8244. description: 合约单位
  8245. type: number
  8246. currency:
  8247. description: 货币
  8248. type: string
  8249. currencysign:
  8250. description: 货币符号
  8251. type: string
  8252. decimalplace:
  8253. description: 报价小数位
  8254. type: integer
  8255. desccityid:
  8256. description: 目的地(市)
  8257. type: integer
  8258. descprovinceid:
  8259. description: 目的地(省)
  8260. type: integer
  8261. enableqty:
  8262. description: 剩余数量
  8263. type: integer
  8264. goodscode:
  8265. description: 商品代码(内部)
  8266. type: string
  8267. goodsid:
  8268. description: 商品ID(自增ID SEQ_GOODS)
  8269. type: integer
  8270. goodsname:
  8271. description: 商品名称
  8272. type: string
  8273. goodsstatus:
  8274. description: 商品状态- 2:未上市 3:上市
  8275. type: integer
  8276. lasttradedate:
  8277. description: 最后交易日期(状态:待退市)
  8278. type: string
  8279. listingdate:
  8280. description: 交易开始日期
  8281. type: string
  8282. marketid:
  8283. description: 所属市场ID
  8284. type: integer
  8285. picurls:
  8286. description: 介绍图片[多张用逗号分隔]
  8287. type: string
  8288. presaledqty:
  8289. description: 已预售量(预售结束时更新)
  8290. type: integer
  8291. presaleqty:
  8292. description: 预售数量
  8293. type: integer
  8294. quoteminunit:
  8295. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8296. type: integer
  8297. refprice:
  8298. description: 参考价格[一口价]
  8299. type: number
  8300. relatedgoodsid:
  8301. description: 关联交易合约ID
  8302. type: integer
  8303. trademode:
  8304. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8305. 21:竞拍-大宗式 22:受托竞价
  8306. type: integer
  8307. videourls:
  8308. description: 介绍视频[多张用逗号分隔]
  8309. type: string
  8310. required:
  8311. - goodscode
  8312. - goodsid
  8313. - goodsname
  8314. - marketid
  8315. - trademode
  8316. type: object
  8317. models.HsbyPreGoodsDetail:
  8318. properties:
  8319. agreeunit:
  8320. description: 合约单位
  8321. type: number
  8322. buymaxqty:
  8323. description: 购买上限 [71] - 0为不限
  8324. type: integer
  8325. currency:
  8326. description: 货币
  8327. type: string
  8328. currencysign:
  8329. description: 货币符号
  8330. type: string
  8331. customername:
  8332. description: 发行单位
  8333. type: string
  8334. decimalplace:
  8335. description: 报价小数位
  8336. type: integer
  8337. desccityid:
  8338. description: 目的地(市)ID
  8339. type: integer
  8340. descprovinceid:
  8341. description: 目的地(省)ID
  8342. type: integer
  8343. enableqty:
  8344. description: 剩余数量
  8345. type: integer
  8346. goodscode:
  8347. description: 商品代码(内部)
  8348. type: string
  8349. goodsdesc:
  8350. description: 商品详情
  8351. type: string
  8352. goodsid:
  8353. description: 商品ID(自增ID SEQ_GOODS)
  8354. type: integer
  8355. goodsname:
  8356. description: 商品名称
  8357. type: string
  8358. goodsstatus:
  8359. description: 商品状态- 2:未上市 3:上市
  8360. type: integer
  8361. goodunit:
  8362. description: 报价单位
  8363. type: string
  8364. lasttradedate:
  8365. description: 最后交易日期(状态:待退市)
  8366. type: string
  8367. listingdate:
  8368. description: 交易开始日期
  8369. type: string
  8370. lotsize:
  8371. description: 手数最小变动单位
  8372. type: integer
  8373. marketid:
  8374. description: 所属市场ID
  8375. type: integer
  8376. picurls:
  8377. description: 介绍图片[多张用逗号分隔]
  8378. type: string
  8379. presaledqty:
  8380. description: 已预售量(预售结束时更新)
  8381. type: integer
  8382. presaleqty:
  8383. description: 预售数量
  8384. type: integer
  8385. quoteminunit:
  8386. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8387. type: integer
  8388. refprice:
  8389. description: 参考价格[一口价]
  8390. type: number
  8391. relatedgoodsid:
  8392. description: 关联交易合约ID
  8393. type: integer
  8394. stepvalue:
  8395. description: 价格最小变动单位
  8396. type: number
  8397. trademode:
  8398. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8399. 21:竞拍-大宗式 22:受托竞价
  8400. type: integer
  8401. vendorattr:
  8402. description: 供应商附件(多张,逗号分隔)
  8403. type: string
  8404. vendorname:
  8405. description: 供应商名称
  8406. type: string
  8407. vendorphone:
  8408. description: 供应商客服电话
  8409. type: string
  8410. videourls:
  8411. description: 介绍视频[多张用逗号分隔]
  8412. type: string
  8413. required:
  8414. - goodscode
  8415. - goodsid
  8416. - goodsname
  8417. - marketid
  8418. - trademode
  8419. type: object
  8420. models.HsbySellCollectionOrder:
  8421. properties:
  8422. agreeunit:
  8423. description: 合约单位
  8424. type: number
  8425. buyaccountid:
  8426. description: 买方账号ID[报价币种]
  8427. type: integer
  8428. buyorderid:
  8429. description: 买方委托单号
  8430. type: string
  8431. createtime:
  8432. description: 创建时间
  8433. type: string
  8434. currencysign:
  8435. description: 货币符号
  8436. type: string
  8437. decimalplace:
  8438. description: 报价小数位
  8439. type: integer
  8440. goodscode:
  8441. description: 商品代码(内部)
  8442. type: string
  8443. goodsid:
  8444. description: 商品ID
  8445. type: integer
  8446. goodsname:
  8447. description: 商品名称
  8448. type: string
  8449. marketid:
  8450. description: 市场ID
  8451. type: integer
  8452. offamount:
  8453. description: 优惠金额
  8454. type: number
  8455. payamount:
  8456. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8457. type: number
  8458. payflag:
  8459. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8460. type: integer
  8461. paylimitedtime:
  8462. description: 支付期限
  8463. type: string
  8464. paytime:
  8465. description: 付款时间
  8466. type: string
  8467. picurls:
  8468. description: 商品介绍图片[多张用逗号分隔]
  8469. type: string
  8470. sellaccountid:
  8471. description: 卖方账号ID[报价币种]
  8472. type: integer
  8473. sellorderid:
  8474. description: 卖方委托单号
  8475. type: string
  8476. tradeamount:
  8477. description: 成交金额
  8478. type: number
  8479. tradecharge:
  8480. description: 成交手续费(买方)
  8481. type: number
  8482. tradedate:
  8483. description: 交易日(yyyyMMdd)
  8484. type: string
  8485. tradeid:
  8486. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8487. type: string
  8488. trademode:
  8489. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8490. 21:竞拍-大宗式 22:受托竞价
  8491. type: integer
  8492. tradeprice:
  8493. description: 成交价格
  8494. type: number
  8495. tradeqty:
  8496. description: 成交数量
  8497. type: integer
  8498. required:
  8499. - goodscode
  8500. - goodsname
  8501. - tradeid
  8502. - trademode
  8503. type: object
  8504. models.HsbySellMyDetail:
  8505. properties:
  8506. accountid:
  8507. description: 账户ID[报价币种]
  8508. type: integer
  8509. agreeunit:
  8510. description: 合约单位
  8511. type: number
  8512. buyorsell:
  8513. description: 买卖 - 0:买 1:卖
  8514. type: integer
  8515. currencysign:
  8516. description: 货币符号
  8517. type: string
  8518. decimalplace:
  8519. description: 报价小数位
  8520. type: integer
  8521. goodscode:
  8522. description: 商品代码(内部)
  8523. type: string
  8524. goodsid:
  8525. description: 商品ID
  8526. type: integer
  8527. goodsname:
  8528. description: 商品名称
  8529. type: string
  8530. marketid:
  8531. description: 市场ID
  8532. type: integer
  8533. orderid:
  8534. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8535. type: string
  8536. ordertype:
  8537. description: 单据类型:0 - 发布中, 1 - 已完成
  8538. type: integer
  8539. picurls:
  8540. description: 介绍图片[多张用逗号分隔]
  8541. type: string
  8542. price:
  8543. description: 价格
  8544. type: number
  8545. qty:
  8546. description: 数量
  8547. type: integer
  8548. time:
  8549. description: 时间
  8550. type: string
  8551. trademode:
  8552. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8553. 21:竞拍-大宗式 22:受托竞价
  8554. type: integer
  8555. vendorname:
  8556. description: 供应商名称
  8557. type: string
  8558. required:
  8559. - accountid
  8560. - buyorsell
  8561. - goodscode
  8562. - goodsid
  8563. - goodsname
  8564. - marketid
  8565. - orderid
  8566. - time
  8567. - trademode
  8568. type: object
  8569. models.HsbyTopGoods:
  8570. properties:
  8571. agreeunit:
  8572. description: 合约单位
  8573. type: number
  8574. currency:
  8575. description: 货币
  8576. type: string
  8577. currencysign:
  8578. description: 货币符号
  8579. type: string
  8580. decimalplace:
  8581. description: 报价小数位
  8582. type: integer
  8583. desccityid:
  8584. description: 目的地(市)
  8585. type: integer
  8586. descprovinceid:
  8587. description: 目的地(省)
  8588. type: integer
  8589. goodscode:
  8590. description: 商品代码(内部)
  8591. type: string
  8592. goodsid:
  8593. description: 商品ID(自增ID SEQ_GOODS)
  8594. type: integer
  8595. goodsname:
  8596. description: 商品名称
  8597. type: string
  8598. hotindex:
  8599. description: 景点热度
  8600. type: integer
  8601. last:
  8602. description: 现价
  8603. type: number
  8604. marketid:
  8605. description: 所属市场ID
  8606. type: integer
  8607. picurls:
  8608. description: 介绍图片[多张用逗号分隔]
  8609. type: string
  8610. quoteminunit:
  8611. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8612. type: integer
  8613. trademode:
  8614. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8615. 21:竞拍-大宗式 22:受托竞价
  8616. type: integer
  8617. videourls:
  8618. description: 介绍视频[多张用逗号分隔]
  8619. type: string
  8620. required:
  8621. - goodscode
  8622. - goodsid
  8623. - goodsname
  8624. - marketid
  8625. - trademode
  8626. type: object
  8627. models.HybsMyBuyOrderDetail:
  8628. properties:
  8629. accountid:
  8630. description: 账户ID[报价币种]
  8631. type: integer
  8632. agreeunit:
  8633. description: 合约单位
  8634. type: number
  8635. buyorsell:
  8636. description: 买卖 - 0:买 1:卖
  8637. type: integer
  8638. cancelqty:
  8639. description: 撤单数量
  8640. type: integer
  8641. currencysign:
  8642. description: 货币符号
  8643. type: string
  8644. decimalplace:
  8645. description: 报价小数位
  8646. type: integer
  8647. goodscode:
  8648. description: 商品代码(内部)
  8649. type: string
  8650. goodsid:
  8651. description: 商品ID
  8652. type: integer
  8653. goodsname:
  8654. description: 商品名称
  8655. type: string
  8656. listingselecttype:
  8657. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8658. type: integer
  8659. marketid:
  8660. description: 市场ID
  8661. type: integer
  8662. mybuystatus:
  8663. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8664. type: integer
  8665. orderamount:
  8666. description: 委托金额
  8667. type: number
  8668. orderid:
  8669. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8670. type: string
  8671. orderprice:
  8672. description: 委托价格
  8673. type: number
  8674. orderqty:
  8675. description: 委托数量
  8676. type: integer
  8677. orderstatus:
  8678. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8679. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8680. 16:成交失败违约(荷兰式竞拍专用)
  8681. type: integer
  8682. ordertime:
  8683. description: 委托时间
  8684. type: string
  8685. picurls1:
  8686. description: 预售商品介绍图片[多张用逗号分隔]
  8687. type: string
  8688. picurls2:
  8689. description: 挂牌商品介绍图片[多张用逗号分隔]
  8690. type: string
  8691. trademode:
  8692. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8693. 21:竞拍-大宗式 22:受托竞价
  8694. type: integer
  8695. tradeqty:
  8696. description: 成交数量
  8697. type: integer
  8698. vendorname1:
  8699. description: 预售商品供应商名称
  8700. type: string
  8701. vendorname2:
  8702. description: 挂牌商品供应商名称
  8703. type: string
  8704. required:
  8705. - accountid
  8706. - buyorsell
  8707. - goodscode
  8708. - goodsid
  8709. - goodsname
  8710. - marketid
  8711. - orderid
  8712. - orderqty
  8713. - ordertime
  8714. - trademode
  8715. type: object
  8716. models.Loginaccount:
  8717. properties:
  8718. canoutin:
  8719. description: 是否可出入金 - 0:不可 1:可
  8720. type: integer
  8721. clientroleid:
  8722. description: 终端角色ID
  8723. type: integer
  8724. haslogined:
  8725. description: 是否已登录 - 0:未登录 1:已登录
  8726. type: integer
  8727. hasupdatedpwd:
  8728. description: 是否已更改密码 - 0:未修改 1:已修改
  8729. type: integer
  8730. lastloginip:
  8731. description: 最新登录地址
  8732. type: string
  8733. lastloginmode:
  8734. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8735. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8736. type: integer
  8737. lastloginremark:
  8738. description: 最新登录描述
  8739. type: string
  8740. lastlogintime:
  8741. description: 最新登录时间
  8742. type: string
  8743. logincode:
  8744. description: 登录代码
  8745. type: string
  8746. loginfailnum:
  8747. description: 连续登录失败次数(登录成功时清零)
  8748. type: integer
  8749. loginid:
  8750. description: 登陆账号
  8751. type: integer
  8752. loginport:
  8753. description: 最新登录端口
  8754. type: integer
  8755. loginstatus:
  8756. description: 登录账号状态 1:正常 2:冻结 3:无效
  8757. type: integer
  8758. loginusertype:
  8759. description: 登录账号类型 - 1:投资者 2:机构交易员
  8760. type: integer
  8761. modifierid:
  8762. description: 修改人
  8763. type: integer
  8764. modifytime:
  8765. description: 修改时间
  8766. type: string
  8767. pwdwrongcount:
  8768. description: 密码错误次数
  8769. type: integer
  8770. taaccountrighttype:
  8771. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8772. type: integer
  8773. unfreezetime:
  8774. description: 账户解冻时间
  8775. type: string
  8776. userid:
  8777. description: 用户ID
  8778. type: integer
  8779. required:
  8780. - loginid
  8781. type: object
  8782. models.MainAccountInfo:
  8783. properties:
  8784. accountid:
  8785. description: 账号id
  8786. type: integer
  8787. accountname:
  8788. description: 账号名称(taaccount表中的名称)
  8789. type: string
  8790. appid:
  8791. description: AppID
  8792. type: string
  8793. authcode:
  8794. description: 授权码
  8795. type: string
  8796. brokerid:
  8797. description: 经纪商id
  8798. type: string
  8799. fcid:
  8800. description: 期货公司id
  8801. type: integer
  8802. fcname:
  8803. description: 期货公司代码
  8804. type: string
  8805. hedgeaccountcode:
  8806. description: 外部账号代码(主账号登录代码)
  8807. type: string
  8808. hedgeaccountpwd:
  8809. description: 密码
  8810. type: string
  8811. ismain:
  8812. description: 是否主账号
  8813. type: integer
  8814. relateduserid:
  8815. description: 关联用户id
  8816. type: integer
  8817. userid:
  8818. description: 关联用户id
  8819. type: integer
  8820. type: object
  8821. models.Market:
  8822. properties:
  8823. auctionwrtype:
  8824. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8825. type: integer
  8826. canacceptquote:
  8827. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8828. type: integer
  8829. cangoodsexercise:
  8830. description: '[期权]是否可现货行权- 0:否 1:是'
  8831. type: integer
  8832. cangoodsexercisetype:
  8833. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8834. type: integer
  8835. canmanualquotestrike:
  8836. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8837. type: integer
  8838. canmutistage:
  8839. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8840. type: integer
  8841. canpreexercise:
  8842. description: '[期权]是否可预申报- 0:否 1:是'
  8843. type: integer
  8844. clearinterval:
  8845. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8846. type: integer
  8847. contracttmp:
  8848. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8849. type: string
  8850. exchareaid:
  8851. description: 所属交易所,可以没有
  8852. type: integer
  8853. goodstype:
  8854. description: 商品类型 - 1:交易商品 2:仓单商品
  8855. type: integer
  8856. hasrebate:
  8857. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8858. type: integer
  8859. hastradecredit:
  8860. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8861. type: integer
  8862. haswr:
  8863. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8864. type: integer
  8865. isdeductmargin:
  8866. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8867. type: integer
  8868. isrecordsource:
  8869. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8870. type: integer
  8871. isreleasemargin:
  8872. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8873. type: integer
  8874. marginformula:
  8875. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8876. type: integer
  8877. marginformula2:
  8878. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8879. type: integer
  8880. marketid:
  8881. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8882. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8883. type: integer
  8884. marketname:
  8885. description: 市场名称
  8886. type: string
  8887. marketserviceid:
  8888. description: 市场服务ID
  8889. type: integer
  8890. marketstatus:
  8891. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8892. type: integer
  8893. markettype:
  8894. description: 市场类型- 1:非交易服务 2:交易服务
  8895. type: integer
  8896. matchermode:
  8897. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8898. type: integer
  8899. openmethod:
  8900. description: 开盘模式 - 0 自动 1手动
  8901. type: integer
  8902. otcuserid:
  8903. description: 场外期权做市商[场外期权]
  8904. type: integer
  8905. outersynctime:
  8906. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8907. type: string
  8908. pendingflag:
  8909. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8910. type: integer
  8911. pendingtime:
  8912. description: 待开市时间[通道交易-对冲](HH:mm)
  8913. type: string
  8914. performancetempid:
  8915. description: 履约计划模板ID - 作废
  8916. type: integer
  8917. premiumquotemode:
  8918. description: 权利金报价方式 - 1:自动 2:手动
  8919. type: integer
  8920. rebateratio:
  8921. description: 返利比率[竞价式]
  8922. type: number
  8923. reckonorder:
  8924. description: 结算顺序
  8925. type: integer
  8926. reckonpricealgorithm:
  8927. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8928. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8929. type: integer
  8930. reckonpriceparam:
  8931. description: 结算价参数
  8932. type: integer
  8933. reckontime:
  8934. description: 结算时间[通道交易-对冲](HH:mm)
  8935. type: string
  8936. roleprioritytype:
  8937. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8938. type: integer
  8939. selllistingauditflag:
  8940. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8941. type: integer
  8942. trademarkettype:
  8943. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8944. type: integer
  8945. trademode:
  8946. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8947. 21:竞拍-大宗式 22:受托竞价
  8948. type: integer
  8949. tradeproperty:
  8950. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8951. 8:场外期权
  8952. type: integer
  8953. tradetype:
  8954. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8955. type: integer
  8956. required:
  8957. - marketid
  8958. - marketstatus
  8959. - openmethod
  8960. - reckonpricealgorithm
  8961. - trademode
  8962. - tradeproperty
  8963. type: object
  8964. models.Marketrun:
  8965. properties:
  8966. afternexttradedate:
  8967. description: 下下交易日
  8968. type: string
  8969. clearquoteflag:
  8970. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8971. type: integer
  8972. lastreckondate:
  8973. description: 最新交易日(结算成功)
  8974. type: string
  8975. machinedate:
  8976. description: 机器时间
  8977. type: string
  8978. manualflag:
  8979. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8980. type: integer
  8981. marketid:
  8982. description: 市场ID
  8983. type: integer
  8984. nexttradedate:
  8985. description: 下一交易日
  8986. type: string
  8987. pretradedate:
  8988. description: 上一交易日
  8989. type: string
  8990. reckonflag:
  8991. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8992. type: integer
  8993. runstatus:
  8994. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8995. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8996. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8997. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8998. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8999. 62.今日免清算
  9000. type: integer
  9001. sectionid:
  9002. description: 时间段号[多时段时用]
  9003. type: integer
  9004. tradedate:
  9005. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9006. type: string
  9007. tradedate2:
  9008. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9009. type: string
  9010. updatetime:
  9011. description: 更新时间
  9012. type: string
  9013. required:
  9014. - marketid
  9015. - nexttradedate
  9016. - reckonflag
  9017. - runstatus
  9018. - tradedate
  9019. - tradedate2
  9020. type: object
  9021. models.Messageboard:
  9022. properties:
  9023. contactnum:
  9024. description: 联系电话
  9025. type: string
  9026. createtime:
  9027. description: 创建时间
  9028. type: string
  9029. message:
  9030. description: 留言信息
  9031. type: string
  9032. messageboardid:
  9033. description: 留言簿ID(SEQ_MessageBoard)
  9034. type: integer
  9035. userid:
  9036. description: 用户ID
  9037. type: integer
  9038. required:
  9039. - messageboardid
  9040. type: object
  9041. models.MyCoupon:
  9042. properties:
  9043. accountid:
  9044. description: 资金账户ID
  9045. type: integer
  9046. areauserid:
  9047. description: 所属机构
  9048. type: integer
  9049. conditionvalue:
  9050. description: 条件阈值(可为0)
  9051. type: number
  9052. couponcategroy:
  9053. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9054. type: integer
  9055. couponname:
  9056. description: 优惠券名称
  9057. type: string
  9058. coupontypeid:
  9059. description: 优惠券类型ID
  9060. type: string
  9061. couponvalue:
  9062. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9063. type: number
  9064. curfreezeqty:
  9065. description: 期末冻结数量
  9066. type: integer
  9067. curqty:
  9068. description: 期末数量
  9069. type: integer
  9070. isgeneral:
  9071. description: 是否通用券 - 0:否 1:是
  9072. type: integer
  9073. isunusable:
  9074. description: 是否不可用
  9075. type: boolean
  9076. limitedflag:
  9077. description: 是否指定商品 - 0:不限 1:限制
  9078. type: integer
  9079. limitedgoodsids:
  9080. description: 指定商品IDs[逗号分隔,前后加逗号]
  9081. type: string
  9082. orifreezeqty:
  9083. description: 期初冻结数量
  9084. type: integer
  9085. oriqty:
  9086. description: 期初数量
  9087. type: integer
  9088. reasontype:
  9089. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9090. type: integer
  9091. todaydecrease:
  9092. description: 今日减少
  9093. type: integer
  9094. todayincrease:
  9095. description: 今日增加
  9096. type: integer
  9097. userid:
  9098. description: 用户ID
  9099. type: integer
  9100. userscope:
  9101. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9102. type: string
  9103. required:
  9104. - accountid
  9105. - coupontypeid
  9106. type: object
  9107. models.MyCouponHold:
  9108. properties:
  9109. accountid:
  9110. description: 资金账户ID
  9111. type: integer
  9112. conditionvalue:
  9113. description: 条件阈值(可为0)
  9114. type: number
  9115. couponcategroy:
  9116. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9117. type: integer
  9118. couponholdid:
  9119. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9120. type: string
  9121. couponname:
  9122. description: 优惠券名称
  9123. type: string
  9124. coupontypeid:
  9125. description: 优惠券类型ID - SEQ_COUPONTYPE
  9126. type: string
  9127. couponvalue:
  9128. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9129. type: number
  9130. createtime:
  9131. description: 创建时间
  9132. type: string
  9133. enddate:
  9134. description: 结束日期
  9135. type: string
  9136. giveapplyid:
  9137. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9138. type: integer
  9139. holdstatus:
  9140. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9141. type: integer
  9142. isgeneral:
  9143. description: 是否通用券 - 0:否 1:是
  9144. type: integer
  9145. limitedflag:
  9146. description: 是否指定商品 - 0:不限 1:限制
  9147. type: integer
  9148. limitedgoodsids:
  9149. description: 指定商品IDs[逗号分隔]
  9150. type: string
  9151. qty:
  9152. description: 数量(按1平铺)
  9153. type: integer
  9154. startdate:
  9155. description: 开始日期
  9156. type: string
  9157. userid:
  9158. description: 用户ID
  9159. type: integer
  9160. userscope:
  9161. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9162. type: string
  9163. required:
  9164. - couponholdid
  9165. type: object
  9166. models.MyUsedCoupon:
  9167. properties:
  9168. accountid:
  9169. description: 资金账户ID(买方)
  9170. type: integer
  9171. conditionvalue:
  9172. description: 条件阈值(可为0)
  9173. type: number
  9174. couponcategroy:
  9175. description: 种类 - 1:现金券 2:折扣券
  9176. type: integer
  9177. couponname:
  9178. description: 优惠券名称
  9179. type: string
  9180. coupontypeid:
  9181. description: 优惠券类型ID(买方)
  9182. type: string
  9183. couponvalue:
  9184. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9185. type: number
  9186. createtime:
  9187. description: 创建时间
  9188. type: string
  9189. goodsid:
  9190. description: 商品ID
  9191. type: integer
  9192. handlestatus:
  9193. description: 处理状态
  9194. type: integer
  9195. marketid:
  9196. description: 市场ID
  9197. type: integer
  9198. offamount:
  9199. description: 优惠金额
  9200. type: number
  9201. orderid:
  9202. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9203. type: string
  9204. sellaccountid:
  9205. description: 资金账户ID(卖方)
  9206. type: integer
  9207. tradeamount:
  9208. description: 成交金额
  9209. type: number
  9210. tradeid:
  9211. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9212. type: string
  9213. usedqty:
  9214. description: 使用数量
  9215. type: integer
  9216. required:
  9217. - coupontypeid
  9218. - orderid
  9219. type: object
  9220. models.OperationPrimaryMenu:
  9221. properties:
  9222. Children:
  9223. description: 二级功能菜单
  9224. items:
  9225. $ref: '#/definitions/models.OperationSecondaryMenu'
  9226. type: array
  9227. Key:
  9228. description: 菜单KEY
  9229. type: string
  9230. Label:
  9231. description: 菜单标题
  9232. type: string
  9233. type: object
  9234. models.OperationSecondaryMenu:
  9235. properties:
  9236. Key:
  9237. description: 菜单KEY
  9238. type: string
  9239. Label:
  9240. description: 菜单标题
  9241. type: string
  9242. TabList:
  9243. description: 三级功能菜单
  9244. items:
  9245. $ref: '#/definitions/models.OperationTabMenu'
  9246. type: array
  9247. type: object
  9248. models.OperationTabMenu:
  9249. properties:
  9250. Key:
  9251. description: 菜单KEY
  9252. type: string
  9253. Label:
  9254. description: 菜单标题
  9255. type: string
  9256. type: object
  9257. models.PendingAuditBizModel:
  9258. properties:
  9259. accountid:
  9260. description: 现货账户
  9261. type: string
  9262. areaname:
  9263. description: 所属部门
  9264. type: string
  9265. bizid:
  9266. description: 业务ID
  9267. type: string
  9268. bizname:
  9269. description: 业务名称
  9270. type: string
  9271. status:
  9272. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9273. type: integer
  9274. type:
  9275. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9276. type: integer
  9277. type: object
  9278. models.QhjAccountOutInApply:
  9279. properties:
  9280. accountcode:
  9281. description: 资金账号
  9282. type: string
  9283. accountname:
  9284. description: 用户名称(名称)
  9285. type: string
  9286. accountpwd:
  9287. description: 资金密码
  9288. type: string
  9289. accountticket:
  9290. description: 最新账户服务流水号
  9291. type: string
  9292. amount:
  9293. description: 金额
  9294. type: number
  9295. applyremark:
  9296. description: 申请备注
  9297. type: string
  9298. applystatus:
  9299. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9300. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9301. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9302. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9303. type: integer
  9304. auditid:
  9305. description: 审核人
  9306. type: integer
  9307. audittime:
  9308. description: 审核时间
  9309. type: string
  9310. bank_apply_ticket:
  9311. description: 银行申请流水
  9312. type: string
  9313. bankaccountname:
  9314. description: 银行账户名
  9315. type: string
  9316. bankaccountno:
  9317. description: 银行卡号
  9318. type: string
  9319. bankid:
  9320. description: 银行编号
  9321. type: string
  9322. bankticket:
  9323. description: 银行流水
  9324. type: string
  9325. branchbankid:
  9326. description: 银行支行号
  9327. type: string
  9328. branchbankname:
  9329. description: 银行支行名称
  9330. type: string
  9331. capamountout:
  9332. description: 出金(劣后本金) - 外部子账户
  9333. type: number
  9334. certificatephotourl:
  9335. description: 凭证地址
  9336. type: string
  9337. charge:
  9338. description: 手续费
  9339. type: number
  9340. checkerrorflag:
  9341. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9342. type: integer
  9343. currency:
  9344. description: 币种
  9345. type: string
  9346. cusbankid:
  9347. description: 托管银行编号
  9348. type: string
  9349. exchticket:
  9350. description: 银行服务流水号
  9351. type: string
  9352. executetype:
  9353. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9354. 7:外部子账户:入金 8:外部子账户:出金'
  9355. type: integer
  9356. extendinfo:
  9357. description: 扩展信息
  9358. type: string
  9359. extoperateid:
  9360. description: 交易服务流水号
  9361. type: integer
  9362. infamount:
  9363. description: 劣后金额(自有)
  9364. type: number
  9365. logincode:
  9366. description: 登录账号(账号)
  9367. type: string
  9368. netaddr:
  9369. description: 调转网址
  9370. type: string
  9371. priamount:
  9372. description: 优先金额(授信)
  9373. type: number
  9374. reauditid:
  9375. description: 复审人
  9376. type: integer
  9377. reauditremark:
  9378. description: 复审备注
  9379. type: string
  9380. reaudittime:
  9381. description: 复审时间
  9382. type: string
  9383. relatedorderid:
  9384. description: 三方关联ID
  9385. type: string
  9386. remark:
  9387. description: 备注
  9388. type: string
  9389. remark2:
  9390. description: 备注(失败原因)
  9391. type: string
  9392. soucreamount:
  9393. description: 原始出入金金额
  9394. type: number
  9395. soucrecurrencyid:
  9396. description: 原始出入金币种
  9397. type: integer
  9398. tradedate:
  9399. description: 交易日(yyyyMMdd)
  9400. type: string
  9401. updatetime:
  9402. description: 更新时间(申请时间)
  9403. type: string
  9404. userid:
  9405. description: 用户id
  9406. type: integer
  9407. userinfotype:
  9408. description: 账户类型 1-个人 2-企业
  9409. type: integer
  9410. type: object
  9411. models.QhjBankAccountSign:
  9412. properties:
  9413. accountcode:
  9414. description: 资金账号
  9415. type: string
  9416. accountname:
  9417. description: 资金账号对应的账号名(UserName)
  9418. type: string
  9419. accountname2:
  9420. description: 资金账号对应的账号名(UserName) - 密文
  9421. type: string
  9422. accounttype:
  9423. description: 账户类型(UserType)
  9424. type: integer
  9425. applicationtime:
  9426. description: 最后一次更新的时间
  9427. type: string
  9428. applyexchticket:
  9429. description: 申请流水
  9430. type: string
  9431. auditid:
  9432. description: 审核人
  9433. type: integer
  9434. audittime:
  9435. description: 审核时间
  9436. type: string
  9437. bankaccountname:
  9438. description: 签约银行卡账号名
  9439. type: string
  9440. bankaccountname2:
  9441. description: 签约银行卡账号名 - 密文
  9442. type: string
  9443. bankaccountno:
  9444. description: 银行卡号
  9445. type: string
  9446. bankaccountno2:
  9447. description: 银行卡号 - 密文
  9448. type: string
  9449. bankaccounttype:
  9450. description: 银行账户类型 - 1-对私; 2-对公
  9451. type: integer
  9452. bankcardtype:
  9453. description: 银行卡类型
  9454. type: integer
  9455. bankchildaccount:
  9456. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9457. type: string
  9458. bankcity:
  9459. description: 开户行城市
  9460. type: string
  9461. bankid:
  9462. description: 签约银行ID
  9463. type: string
  9464. bankname:
  9465. description: 签约银行名称
  9466. type: string
  9467. bankprovince:
  9468. description: 开户行省份
  9469. type: string
  9470. branchbankid:
  9471. description: 签约银行支行号
  9472. type: string
  9473. branchbankname:
  9474. description: 签约银行支行名称
  9475. type: string
  9476. cardno:
  9477. description: 证件号码
  9478. type: string
  9479. cardno2:
  9480. description: 证件号码 - 密文
  9481. type: string
  9482. cardtype:
  9483. description: 证件类型
  9484. type: string
  9485. currency:
  9486. description: 币种
  9487. type: string
  9488. cusbankid:
  9489. description: 托管银行编号
  9490. type: string
  9491. direct:
  9492. description: 方向(可以判断那方先发起的签约)
  9493. type: integer
  9494. exchticket:
  9495. description: 最后一次签约成功的流水号
  9496. type: string
  9497. extendinfo:
  9498. description: 扩展信息(JSON字符串)
  9499. type: string
  9500. mobilephone:
  9501. description: 手机号
  9502. type: string
  9503. mobilephone2:
  9504. description: 手机号 - 密文
  9505. type: string
  9506. netaddr:
  9507. description: 调转网址
  9508. type: string
  9509. relateduserid:
  9510. description: 关联使用者userid
  9511. type: integer
  9512. signstatus:
  9513. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9514. 10:审核拒绝 11:换签待审核
  9515. type: integer
  9516. updatetime:
  9517. description: 更新时间(签解约更新时间)
  9518. type: string
  9519. type: object
  9520. models.QhjBankInfo:
  9521. properties:
  9522. bankid:
  9523. description: 银行ID
  9524. type: string
  9525. bankname:
  9526. description: 银行名称
  9527. type: string
  9528. clearbankno:
  9529. description: 清算系统银行编号
  9530. type: string
  9531. orderindex:
  9532. description: 排序顺序
  9533. type: integer
  9534. status:
  9535. description: 状态 - 0:正常 1:注销
  9536. type: integer
  9537. type: object
  9538. models.QhjContract:
  9539. properties:
  9540. contractconfirmtime:
  9541. description: 合同确认时间(时间)
  9542. type: string
  9543. currisklevel:
  9544. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9545. type: integer
  9546. decimalplace:
  9547. description: 商品报价小数位
  9548. type: integer
  9549. enumdicname:
  9550. description: 单位名称
  9551. type: string
  9552. goodscode:
  9553. description: 商品代码
  9554. type: string
  9555. goodsid:
  9556. description: 商品ID [5:融资单]
  9557. type: integer
  9558. goodsname:
  9559. description: 商品名称
  9560. type: string
  9561. goodunitid:
  9562. description: 商品单位id
  9563. type: integer
  9564. initmargin:
  9565. description: 初始保证金(首付款)
  9566. type: number
  9567. lenderamount:
  9568. description: 贷款金额(总额|订单总额)
  9569. type: number
  9570. marginratio:
  9571. description: 保证金比率(首付比例)
  9572. type: number
  9573. payamount:
  9574. description: 已付(已付货款)
  9575. type: number
  9576. reckonrecovermargin:
  9577. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  9578. type: number
  9579. recoveredmargin:
  9580. description: 已追缴保证金
  9581. type: number
  9582. remainamount:
  9583. description: 合同剩余金额(融资额)
  9584. type: number
  9585. scfcontractid:
  9586. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9587. type: string
  9588. scfcontractstatus:
  9589. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  9590. 9:违约结束 10:已注销 11:已关闭 99:未提交
  9591. type: integer
  9592. scfcontracttype:
  9593. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  9594. type: integer
  9595. totalinterest:
  9596. description: 已计总利息(利息)
  9597. type: number
  9598. tradeprice:
  9599. description: 成交价格(成本价格)
  9600. type: number
  9601. userid:
  9602. description: 用户ID
  9603. type: integer
  9604. username:
  9605. description: 用户名称
  9606. type: string
  9607. wrqty:
  9608. description: 仓单数量(数量)
  9609. type: number
  9610. type: object
  9611. models.QhjContractLog:
  9612. properties:
  9613. amount:
  9614. description: 支付金额
  9615. type: number
  9616. amounttype:
  9617. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  9618. type: integer
  9619. logid:
  9620. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9621. type: string
  9622. remainamount:
  9623. description: 剩余货款
  9624. type: number
  9625. scfcontractid:
  9626. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9627. type: integer
  9628. updatetime:
  9629. description: 更新时间
  9630. type: string
  9631. type: object
  9632. models.QhjCusBankSignBankEx:
  9633. properties:
  9634. banklst:
  9635. description: 银行列表
  9636. items:
  9637. $ref: '#/definitions/models.QhjBankInfo'
  9638. type: array
  9639. canallot:
  9640. description: 是否支持跨行调拨 - 0:不支持 1:支持
  9641. type: integer
  9642. canallotquery:
  9643. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  9644. type: integer
  9645. canbindcard:
  9646. description: 是否可绑卡与解卡 - 0:不可 1:可以
  9647. type: integer
  9648. caninamount:
  9649. description: 是否可入金 - 0:不可 1:可以
  9650. type: integer
  9651. caninamount2:
  9652. description: 是否可入金(网银端) - 0:不可 1:可以
  9653. type: integer
  9654. canmodifybankcard:
  9655. description: 是否可修改银行卡号 - 0:不可 1:可以
  9656. type: integer
  9657. canmodifyphone:
  9658. description: 是否可修改手机号 - 0:不可 1:可以
  9659. type: integer
  9660. canmodifysigninfo:
  9661. description: 是否可修改签约信息 - 0:不可 1:可以
  9662. type: integer
  9663. canoutamount:
  9664. description: 是否可出金 - 0:不可 1:可以
  9665. type: integer
  9666. canoutamount2:
  9667. description: 是否可出金(网银端) - 0:不可 1:可以
  9668. type: integer
  9669. canrelease:
  9670. description: 是否可解约 - 0:不可 1:可以
  9671. type: integer
  9672. canrelease2:
  9673. description: 是否可解约(网银端) - 0:不可 1:可以
  9674. type: integer
  9675. cansign:
  9676. description: 是否可签约 - 0:不可 1:可以
  9677. type: integer
  9678. cansign2:
  9679. description: 是否可签约(网银端) - 0:不可 1:可以
  9680. type: integer
  9681. currency:
  9682. description: 币种
  9683. type: string
  9684. cusbankid:
  9685. description: 托管银行编号(对应清算中心TRAN_NO)
  9686. type: string
  9687. cusbankname:
  9688. description: 银行业务名称
  9689. type: string
  9690. cusbankshortname:
  9691. description: 银行业务简称
  9692. type: string
  9693. exchbankid:
  9694. description: 交易所开户银行ID
  9695. type: string
  9696. exchpaybankaccname:
  9697. description: 交易所支出结算账户户名
  9698. type: string
  9699. exchpaybankaccno:
  9700. description: 交易所支出结算账户
  9701. type: string
  9702. isneedcheck:
  9703. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  9704. type: integer
  9705. isneedclear:
  9706. description: 是否需要清算 - 0:不需要 1:需要
  9707. type: integer
  9708. lastcheckstatus:
  9709. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  9710. type: integer
  9711. lastchecktime:
  9712. description: 最后对账时间
  9713. type: string
  9714. lastclearstatus:
  9715. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  9716. type: integer
  9717. lastcleartime:
  9718. description: 最后清算时间
  9719. type: string
  9720. lastsignintime:
  9721. description: 最后签到时间
  9722. type: string
  9723. lastsignouttime:
  9724. description: 最后签退时间
  9725. type: string
  9726. riskinfo:
  9727. description: 签约风险提示书
  9728. type: string
  9729. signstatus:
  9730. description: 当前签到/签退状态 - 1:签到 2:签退
  9731. type: integer
  9732. tradedate:
  9733. description: 交易日(yyyyMMdd)
  9734. type: string
  9735. updatetime:
  9736. description: 当前签到/签退更新时间
  9737. type: string
  9738. type: object
  9739. models.QhjCustomer:
  9740. properties:
  9741. address:
  9742. description: 通讯地址
  9743. type: string
  9744. attachment1:
  9745. description: 附件1
  9746. type: string
  9747. audittime:
  9748. description: 审核时间
  9749. type: string
  9750. cardbackphotourl:
  9751. description: 证件反面图片地址
  9752. type: string
  9753. cardfrontphotourl:
  9754. description: 证件正面图片地址
  9755. type: string
  9756. cardnum:
  9757. description: 证件号码
  9758. type: string
  9759. cardtype:
  9760. description: 证件类型
  9761. type: integer
  9762. cardtypename:
  9763. description: 证件类型名称
  9764. type: string
  9765. cityid:
  9766. description: 市
  9767. type: integer
  9768. cityname:
  9769. description: 城市名称
  9770. type: string
  9771. contactname:
  9772. description: 联系人
  9773. type: string
  9774. countryid:
  9775. description: 国家
  9776. type: integer
  9777. countryname:
  9778. description: 国家名称
  9779. type: string
  9780. createtime:
  9781. description: 创建时间
  9782. type: string
  9783. customername:
  9784. description: 客户名称
  9785. type: string
  9786. districtid:
  9787. description: 区域
  9788. type: integer
  9789. districtname:
  9790. description: 地区名称
  9791. type: string
  9792. email:
  9793. description: 邮件
  9794. type: string
  9795. legalpersonname:
  9796. description: 法人姓名(企业)
  9797. type: string
  9798. logincode:
  9799. description: 登录账号(代码)
  9800. type: string
  9801. memberuserid:
  9802. description: 所属机构ID(所属会员)
  9803. type: integer
  9804. memberusername:
  9805. description: 所属会员名称
  9806. type: string
  9807. mobile:
  9808. description: 手机号码
  9809. type: string
  9810. modifytime:
  9811. description: 修改时间
  9812. type: string
  9813. nickname:
  9814. description: 昵称
  9815. type: string
  9816. parentuserid:
  9817. description: 上级机构(所属机构)
  9818. type: integer
  9819. parentusername:
  9820. description: 所属机构名称
  9821. type: string
  9822. provinceid:
  9823. description: 省
  9824. type: integer
  9825. provincename:
  9826. description: 省名称
  9827. type: string
  9828. remark:
  9829. description: 备注
  9830. type: string
  9831. status:
  9832. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9833. type: integer
  9834. statusdesc:
  9835. description: 账户状态中文描述
  9836. type: string
  9837. taxpayernum:
  9838. description: 纳税人识别号
  9839. type: string
  9840. telphone:
  9841. description: 联系电话
  9842. type: string
  9843. userid:
  9844. description: 用户ID
  9845. type: integer
  9846. userinfotype:
  9847. description: 客户类型 1-个人 2-企业
  9848. type: integer
  9849. username:
  9850. description: 用户名称
  9851. type: string
  9852. type: object
  9853. models.QhjMgrSubArea:
  9854. properties:
  9855. accountname:
  9856. description: 账户名称(机构名称)
  9857. type: string
  9858. memberuserid:
  9859. description: 所属会员ID
  9860. type: integer
  9861. parenttopuser:
  9862. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  9863. type: string
  9864. parentuserid:
  9865. description: 所属机构ID
  9866. type: integer
  9867. rootuserid:
  9868. description: 根用户ID
  9869. type: string
  9870. subaccountlevel:
  9871. description: 子账户层数
  9872. type: integer
  9873. subarealevelpath:
  9874. description: 子机构层级路径(逗号分隔,首尾加逗号)
  9875. type: string
  9876. userid:
  9877. description: 用户ID
  9878. type: integer
  9879. usertype:
  9880. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  9881. type: integer
  9882. type: object
  9883. models.QhjParentAreaList:
  9884. properties:
  9885. accountname:
  9886. description: 账户名称(机构名称)
  9887. type: string
  9888. userid:
  9889. description: 用户ID
  9890. type: integer
  9891. usertype:
  9892. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  9893. type: integer
  9894. type: object
  9895. models.QhjPayOrder:
  9896. properties:
  9897. buyaccountid:
  9898. description: 买方账号ID[报价币种]
  9899. type: integer
  9900. buyorderid:
  9901. description: 买方委托单号
  9902. type: string
  9903. createtime:
  9904. description: 创建时间
  9905. type: string
  9906. decimalplace:
  9907. description: 商品报价小数位
  9908. type: integer
  9909. enumdicname:
  9910. description: 单位名称
  9911. type: string
  9912. goodscode:
  9913. description: 商品代码
  9914. type: string
  9915. goodsid:
  9916. description: 商品ID
  9917. type: integer
  9918. goodsname:
  9919. description: 商品名称
  9920. type: string
  9921. goodunitid:
  9922. description: 商品单位id
  9923. type: integer
  9924. marketid:
  9925. description: 市场ID
  9926. type: integer
  9927. offamount:
  9928. description: 优惠金额
  9929. type: number
  9930. operatetype:
  9931. description: 买委托操作类型 - 1:正常下单 16:融资买入
  9932. type: integer
  9933. payamount:
  9934. description: 支付金额=TradeAmount + TradeCharge
  9935. type: number
  9936. payflag:
  9937. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9938. type: integer
  9939. paylimitedtime:
  9940. description: 支付期限
  9941. type: string
  9942. paytime:
  9943. description: 付款时间
  9944. type: string
  9945. sellaccountid:
  9946. description: 卖方账号ID[报价币种]
  9947. type: integer
  9948. sellorderid:
  9949. description: 卖方委托单号
  9950. type: string
  9951. tradeamount:
  9952. description: 成交金额(优惠后金额)
  9953. type: number
  9954. tradecharge:
  9955. description: 成交手续费(买方)
  9956. type: number
  9957. tradedate:
  9958. description: 交易日(yyyyMMdd)
  9959. type: string
  9960. tradeid:
  9961. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9962. type: string
  9963. tradeprice:
  9964. description: 成交价格
  9965. type: number
  9966. tradeqty:
  9967. description: 成交数量
  9968. type: integer
  9969. type: object
  9970. models.QhjPickArea:
  9971. properties:
  9972. address:
  9973. description: 详细地址
  9974. type: string
  9975. cityid:
  9976. description: 市
  9977. type: integer
  9978. cityname:
  9979. description: 城市名称
  9980. type: string
  9981. countryid:
  9982. description: 国家
  9983. type: integer
  9984. countryname:
  9985. description: 国家名称
  9986. type: string
  9987. districtid:
  9988. description: 地区
  9989. type: integer
  9990. districtname:
  9991. description: 地区名称
  9992. type: string
  9993. fromuserid:
  9994. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  9995. type: integer
  9996. fromusername:
  9997. description: 所属机构名称
  9998. type: string
  9999. provinceid:
  10000. description: 省
  10001. type: integer
  10002. provincename:
  10003. description: 省名称
  10004. type: string
  10005. suborgtype:
  10006. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  10007. type: integer
  10008. userid:
  10009. description: 机构用户ID 其他做市关系,都设置为 1
  10010. type: integer
  10011. username:
  10012. description: 机构用户名称(门店门称)
  10013. type: string
  10014. type: object
  10015. models.QhjPickGoods:
  10016. properties:
  10017. goodsid:
  10018. description: 商品id
  10019. type: integer
  10020. imageaddress:
  10021. description: 图片
  10022. type: string
  10023. modifierid:
  10024. description: 修改人
  10025. type: integer
  10026. modifiername:
  10027. description: 修改人名称
  10028. type: string
  10029. modifysrc:
  10030. description: 修改来源 - 1:管理端 2:终端
  10031. type: integer
  10032. pickupgoodsagreeunit:
  10033. description: 合约乘数
  10034. type: number
  10035. pickupgoodsdesc:
  10036. description: 描述
  10037. type: string
  10038. pickupgoodsid:
  10039. description: 提货商品ID
  10040. type: string
  10041. pickupgoodsname:
  10042. description: 提货商品名称
  10043. type: string
  10044. pickupgoodsstatus:
  10045. description: 状态 - 1:正常 2:停用 3:注销
  10046. type: integer
  10047. pickupgoodsunitid:
  10048. description: 单位ID
  10049. type: integer
  10050. pickupratio:
  10051. description: 提货系数
  10052. type: number
  10053. preparedays:
  10054. description: 备货期(天)
  10055. type: integer
  10056. remark:
  10057. description: 备注
  10058. type: string
  10059. updatetime:
  10060. description: 更新时间
  10061. type: string
  10062. type: object
  10063. models.QhjRSTriggerLog:
  10064. properties:
  10065. accountid:
  10066. description: 用户资金账户
  10067. type: integer
  10068. accountname:
  10069. description: 账号名称(ACCOUNTID对应的名称)
  10070. type: string
  10071. currencyid:
  10072. description: 币种id
  10073. type: integer
  10074. currencyname:
  10075. description: 币种名称
  10076. type: string
  10077. decimalplace:
  10078. description: 商品报价小数位
  10079. type: integer
  10080. enumdicname:
  10081. description: 单位名称
  10082. type: string
  10083. goodscode:
  10084. description: 定投商品代码
  10085. type: string
  10086. goodsid:
  10087. description: 定投商品ID
  10088. type: string
  10089. goodsname:
  10090. description: 定投商品名称
  10091. type: string
  10092. goodunitid:
  10093. description: 定投商品单位id
  10094. type: integer
  10095. logid:
  10096. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  10097. type: string
  10098. regularlycycle:
  10099. description: 定投频率 - 1:每周 2:每月
  10100. type: integer
  10101. regularlycyclevalue:
  10102. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  10103. type: string
  10104. regularlymode:
  10105. description: 定投方式 - 1:按数量 2:按金额
  10106. type: integer
  10107. regularlymodevalue:
  10108. description: 定投方式值 - 数量或金额
  10109. type: number
  10110. regularlystrategyid:
  10111. description: 定投策略ID
  10112. type: integer
  10113. retcode:
  10114. description: 错误码
  10115. type: string
  10116. tradeid:
  10117. description: 成交单ID
  10118. type: string
  10119. triggeramount:
  10120. description: 触发金额
  10121. type: number
  10122. triggerqty:
  10123. description: 触发数量
  10124. type: number
  10125. triggerstatus:
  10126. description: 触发状态 - 1:成功 2:失败
  10127. type: integer
  10128. triggertime:
  10129. description: 触发时间
  10130. type: string
  10131. triggertradedate:
  10132. description: 触发交易日
  10133. type: string
  10134. userid:
  10135. description: 所属用户ID
  10136. type: integer
  10137. username:
  10138. description: 用户名称(userid对应的名称)
  10139. type: string
  10140. type: object
  10141. models.QhjRStrategy:
  10142. properties:
  10143. accountid:
  10144. description: 用户资金账户
  10145. type: integer
  10146. accountname:
  10147. description: 账号名称(ACCOUNTID对应的名称)
  10148. type: string
  10149. currencyid:
  10150. description: 币种id
  10151. type: integer
  10152. currencyname:
  10153. description: 币种名称
  10154. type: string
  10155. decimalplace:
  10156. description: 商品报价小数位
  10157. type: integer
  10158. enumdicname:
  10159. description: 单位名称
  10160. type: string
  10161. goodscode:
  10162. description: 定投商品代码
  10163. type: string
  10164. goodsid:
  10165. description: 定投商品ID
  10166. type: string
  10167. goodsname:
  10168. description: 定投商品名称
  10169. type: string
  10170. goodunitid:
  10171. description: 定投商品单位id
  10172. type: integer
  10173. lasteffecttradedate:
  10174. description: 最新生效交易日
  10175. type: string
  10176. laststoptradedate:
  10177. description: 最新暂停交易日
  10178. type: string
  10179. lasttriggertradedate:
  10180. description: 最新触发交易日
  10181. type: string
  10182. nexttriggeramount:
  10183. description: 下次触发金额
  10184. type: number
  10185. nexttriggerdate:
  10186. description: 下次触发日期
  10187. type: string
  10188. nexttriggerqty:
  10189. description: 下次触发数量 [按小数位放大值]
  10190. type: number
  10191. regularlycycle:
  10192. description: 定投频率 - 1:每周 2:每月
  10193. type: integer
  10194. regularlycyclevalue:
  10195. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  10196. type: string
  10197. regularlymode:
  10198. description: 定投方式 - 1:按数量 2:按金额
  10199. type: integer
  10200. regularlymodevalue:
  10201. description: 定投方式值 - 数量或金额
  10202. type: number
  10203. regularlystrategyid:
  10204. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  10205. type: integer
  10206. regularlystrategystatus:
  10207. description: 策略状态 - 1:正常 2:暂停 3:终止
  10208. type: integer
  10209. remark:
  10210. description: 备注
  10211. type: string
  10212. triggersuccesstimes:
  10213. description: 累计定投成功次数
  10214. type: string
  10215. triggertotalamount:
  10216. description: 累计定投金额(成功)
  10217. type: number
  10218. triggertotalqty:
  10219. description: 累计定投数量(成功) [按小数位放大值]
  10220. type: number
  10221. triggertotaltimes:
  10222. description: 累计定投总次数
  10223. type: string
  10224. updatesrc:
  10225. description: 更新来源 - 1:管理端 2:终端
  10226. type: integer
  10227. updatetime:
  10228. description: 更新时间
  10229. type: string
  10230. updatorid:
  10231. description: 更新人
  10232. type: string
  10233. userid:
  10234. description: 所属用户ID
  10235. type: integer
  10236. username:
  10237. description: 用户名称(userid对应的名称)
  10238. type: string
  10239. type: object
  10240. models.QhjReckonPriceLog:
  10241. properties:
  10242. decimalplace:
  10243. description: 商品报价小数位
  10244. type: integer
  10245. goodscode:
  10246. description: 商品代码
  10247. type: string
  10248. goodsid:
  10249. description: 商品ID
  10250. type: integer
  10251. goodsname:
  10252. description: 商品名称
  10253. type: string
  10254. lastreckonprice:
  10255. description: 上日结算价
  10256. type: number
  10257. nextdnlimitprice:
  10258. description: 下个交易日跌停价
  10259. type: number
  10260. nexttrade:
  10261. description: 下个交易日
  10262. type: string
  10263. nextuplimitprice:
  10264. description: 下个交易日涨停价
  10265. type: number
  10266. reckonprice:
  10267. description: 今日结算价(定投价)
  10268. type: number
  10269. reckontime:
  10270. description: 结算时间
  10271. type: string
  10272. totalholderqty:
  10273. description: 总持仓数
  10274. type: integer
  10275. totalstock:
  10276. description: 总库存
  10277. type: integer
  10278. tradedate:
  10279. description: 交易日
  10280. type: string
  10281. updowncount:
  10282. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  10283. type: integer
  10284. updownflag:
  10285. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  10286. type: integer
  10287. updownrate:
  10288. description: 今日涨跌幅
  10289. type: number
  10290. updownrate_2d:
  10291. description: 连续两日涨跌幅
  10292. type: number
  10293. updownrate_3d:
  10294. description: 连续三日涨跌幅
  10295. type: number
  10296. type: object
  10297. models.QhjSiteColumnDetail:
  10298. properties:
  10299. author:
  10300. description: 作者
  10301. type: string
  10302. brief:
  10303. description: 简介
  10304. type: string
  10305. columnid:
  10306. description: 所属栏目
  10307. type: integer
  10308. context:
  10309. description: 内容
  10310. type: string
  10311. coverimage:
  10312. description: 封面图片
  10313. type: string
  10314. creaedate:
  10315. description: 创建时间
  10316. type: string
  10317. creatorid:
  10318. description: 创建人
  10319. type: integer
  10320. hits:
  10321. description: 点击数
  10322. type: integer
  10323. id:
  10324. description: ID(SEQ_SITE_COLUMNDETAIL)
  10325. type: integer
  10326. isshow:
  10327. description: 是否展示 - 0:不展示 1:展示
  10328. type: integer
  10329. istop:
  10330. description: 是否置顶 - 0:不置 1:置顶
  10331. type: integer
  10332. modifierid:
  10333. description: 操作人
  10334. type: integer
  10335. publishdate:
  10336. description: 发布日期
  10337. type: string
  10338. status:
  10339. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  10340. type: integer
  10341. title:
  10342. description: 标题
  10343. type: string
  10344. updatedate:
  10345. description: 修改时间
  10346. type: string
  10347. userid:
  10348. description: 用户ID(默认为0, 核心为为机构用户ID)
  10349. type: integer
  10350. username:
  10351. description: 用户名称
  10352. type: string
  10353. type: object
  10354. models.QhjTradeGoodsPickup:
  10355. properties:
  10356. accountid:
  10357. description: 账户ID
  10358. type: integer
  10359. address:
  10360. description: 提货人详细地址
  10361. type: string
  10362. amount:
  10363. description: 提货金额
  10364. type: number
  10365. artradedate:
  10366. description: 自动收货交易日(yyyyMMdd)
  10367. type: string
  10368. auditer:
  10369. description: 审核人
  10370. type: integer
  10371. auditsrc:
  10372. description: 更新来源 - 1:管理端 2:终端
  10373. type: integer
  10374. audittime:
  10375. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  10376. type: string
  10377. audittradedate:
  10378. description: 审核交易日(yyyyMMdd)
  10379. type: string
  10380. cardnum:
  10381. description: 提货人证件号码
  10382. type: string
  10383. cardtypeid:
  10384. description: 提货人证件类型
  10385. type: integer
  10386. checkremark:
  10387. description: 审核备注
  10388. type: string
  10389. cityid:
  10390. description: 市
  10391. type: integer
  10392. cityname:
  10393. description: 城市名称
  10394. type: string
  10395. confirmtime:
  10396. description: 取货时间 或 收货时间
  10397. type: string
  10398. countryid:
  10399. description: 国家
  10400. type: integer
  10401. countryname:
  10402. description: 国家名称
  10403. type: string
  10404. decimalplace:
  10405. description: 商品报价小数位
  10406. type: integer
  10407. districtid:
  10408. description: 地区
  10409. type: integer
  10410. districtname:
  10411. description: 地区名称
  10412. type: string
  10413. enumdicname:
  10414. description: 单位名称(提货商品)
  10415. type: string
  10416. expresscompany:
  10417. description: 物流公司
  10418. type: string
  10419. expressnum:
  10420. description: 物流单号
  10421. type: string
  10422. goodsagreeunit:
  10423. description: 交易商品乘数
  10424. type: number
  10425. goodscode:
  10426. description: 商品代码
  10427. type: string
  10428. goodsid:
  10429. description: 商品ID
  10430. type: integer
  10431. goodsname:
  10432. description: 商品名称
  10433. type: string
  10434. goodsqty:
  10435. description: 交易商品手数(69模式按成交量小数位放大取整)
  10436. type: number
  10437. handlestatus:
  10438. description: 处理状态
  10439. type: integer
  10440. marketid:
  10441. description: 市场ID
  10442. type: integer
  10443. phonenum:
  10444. description: 提货人联系方式
  10445. type: string
  10446. pickupgoodsagreeunit:
  10447. description: 提货商品合约乘数
  10448. type: number
  10449. pickupgoodsid:
  10450. description: 提货商品ID
  10451. type: string
  10452. pickupgoodsname:
  10453. description: 提货商品名称
  10454. type: string
  10455. pickupgoodsqty:
  10456. description: 提货商品手数(数量)
  10457. type: number
  10458. pickupgoodsunitid:
  10459. description: 单位ID(提货商品)
  10460. type: integer
  10461. pickupratio:
  10462. description: 提货系数
  10463. type: number
  10464. preparedays:
  10465. description: 备货期(天)-提货单明细表
  10466. type: integer
  10467. provinceid:
  10468. description: 省
  10469. type: integer
  10470. provincename:
  10471. description: 省名称
  10472. type: string
  10473. qty:
  10474. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  10475. type: number
  10476. recivername:
  10477. description: 提货人姓名
  10478. type: string
  10479. reqtime:
  10480. description: 提货申请时间
  10481. type: string
  10482. storeuserid:
  10483. description: 门店用户ID (千海金)
  10484. type: integer
  10485. storeusername:
  10486. description: 门店用户名称
  10487. type: string
  10488. takemode:
  10489. description: 提货方式 - 2:自提 3:配送(邮寄)
  10490. type: integer
  10491. takeorderid:
  10492. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10493. type: integer
  10494. takeorderstatus:
  10495. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  10496. 7:已拒绝 8:已撤销
  10497. type: integer
  10498. takeremark:
  10499. description: 提货备注
  10500. type: string
  10501. tradedate:
  10502. description: 交易日(yyyyMMdd)
  10503. type: string
  10504. updatetime:
  10505. description: 更新时间
  10506. type: string
  10507. userid:
  10508. description: 用户ID
  10509. type: integer
  10510. username:
  10511. description: 用户名称
  10512. type: string
  10513. type: object
  10514. models.Qhjgoodsex:
  10515. properties:
  10516. canfinance:
  10517. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  10518. type: integer
  10519. canregularlybuy:
  10520. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  10521. type: integer
  10522. defaulttradeuserid:
  10523. description: 默认交易用户ID
  10524. type: integer
  10525. deliverygoodsid:
  10526. description: 现货品种ID
  10527. type: integer
  10528. goodsid:
  10529. description: 商品ID(自增ID SEQ_GOODS)
  10530. type: integer
  10531. minamount:
  10532. description: 最小购买金额
  10533. type: number
  10534. regularlybuyminamount:
  10535. description: 定投最小金额
  10536. type: number
  10537. regularlybuyminqty:
  10538. description: 定投最小数量
  10539. type: number
  10540. spotgoodsbrandid:
  10541. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  10542. type: integer
  10543. wrstandardid:
  10544. description: 现货商品ID
  10545. type: integer
  10546. type: object
  10547. models.QueryErrorInfosRsp:
  10548. properties:
  10549. description:
  10550. description: 异常描述
  10551. type: string
  10552. errorcode:
  10553. description: 异常代码
  10554. type: string
  10555. errorid:
  10556. description: 异常ID
  10557. type: integer
  10558. modulecode:
  10559. description: 所属模块
  10560. type: string
  10561. operatecode:
  10562. description: 所属操作
  10563. type: string
  10564. rownumber:
  10565. description: 行号
  10566. type: string
  10567. required:
  10568. - errorid
  10569. type: object
  10570. models.QueryHedgeOrderDetailRsp:
  10571. properties:
  10572. accountid:
  10573. description: 账户ID
  10574. type: integer
  10575. buyorsell:
  10576. description: 买卖 - 0:买 1:卖
  10577. type: integer
  10578. cancellogincode:
  10579. description: 撤单人
  10580. type: string
  10581. channelbuildtype:
  10582. description: 开平标志 - 0:无 1:建仓 2:平仓
  10583. type: integer
  10584. channelinnerorderstatus:
  10585. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  10586. 9:全部成交
  10587. type: integer
  10588. channeloperatetype:
  10589. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  10590. type: integer
  10591. closetype:
  10592. description: 平仓方式 - 0:无 1:平今 2:平昨
  10593. type: integer
  10594. curexchangerate:
  10595. description: 当前汇率
  10596. type: number
  10597. exchangefullname:
  10598. description: 外部交易所全称
  10599. type: string
  10600. goodscode:
  10601. description: 商品代码(内部)
  10602. type: string
  10603. goodsid:
  10604. description: 商品ID
  10605. type: integer
  10606. goodsname:
  10607. description: 商品名称
  10608. type: string
  10609. marketid:
  10610. description: 市场ID
  10611. type: integer
  10612. openfreezemargin:
  10613. description: 冻结保证金(冻结交易金额)
  10614. type: number
  10615. orderid:
  10616. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10617. type: string
  10618. orderlogincode:
  10619. description: 委托人
  10620. type: string
  10621. orderprice:
  10622. description: 委托价格(账户)
  10623. type: number
  10624. orderqty:
  10625. description: 委托数量
  10626. type: integer
  10627. ordertime:
  10628. description: 委托时间
  10629. type: string
  10630. pricemode:
  10631. description: '取价方式 - 1:市价 2: 限价'
  10632. type: integer
  10633. tradedate:
  10634. description: 交易日(yyyyMMdd)
  10635. type: string
  10636. tradeqty:
  10637. description: 成交数量
  10638. type: integer
  10639. type: object
  10640. models.QueryHedgeTradeDetailRsp:
  10641. properties:
  10642. accountid:
  10643. description: 账号ID
  10644. type: integer
  10645. buyorsell:
  10646. description: 方向 - 0:买 1:卖
  10647. type: integer
  10648. channelbuildtype:
  10649. description: 委托单据类型 0:无 1:建仓 2:平仓
  10650. type: integer
  10651. closecharge:
  10652. description: 平仓手续费(账户)
  10653. type: number
  10654. closecharge2:
  10655. description: 平仓手续费(商品)
  10656. type: number
  10657. closepl:
  10658. description: 平仓盈亏(账户)
  10659. type: number
  10660. closepl2:
  10661. description: 平仓盈亏(商品)
  10662. type: number
  10663. closepl3:
  10664. description: 平仓盈亏(账户)(逐笔)
  10665. type: number
  10666. closepl4:
  10667. description: 平仓盈亏(商品)(逐笔)
  10668. type: number
  10669. closetype:
  10670. description: 平仓方式 - 0:无 1:平今 2:平昨
  10671. type: integer
  10672. curexchangerate:
  10673. description: 当前汇率
  10674. type: number
  10675. exchangefullname:
  10676. description: 外部交易所全称
  10677. type: string
  10678. goodscode:
  10679. description: 商品代码(内部)
  10680. type: string
  10681. goodsid:
  10682. description: 商品ID
  10683. type: integer
  10684. goodsname:
  10685. description: 商品名称
  10686. type: string
  10687. marketid:
  10688. description: 市场ID
  10689. type: integer
  10690. opencharge:
  10691. description: 建仓手续费(账户)
  10692. type: number
  10693. opencharge2:
  10694. description: 建仓手续费(商品)
  10695. type: number
  10696. orderid:
  10697. description: 委托单号
  10698. type: string
  10699. orderlogincode:
  10700. description: 委托人
  10701. type: string
  10702. tradeamount:
  10703. description: 成交金额(账户)
  10704. type: number
  10705. tradedate:
  10706. description: 交易日(yyyyMMdd)
  10707. type: string
  10708. tradeid:
  10709. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10710. type: string
  10711. tradeprice:
  10712. description: 成交价格
  10713. type: number
  10714. tradeqty:
  10715. description: 成交数量
  10716. type: integer
  10717. tradetime:
  10718. description: 成交时间
  10719. type: string
  10720. tradetype:
  10721. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  10722. type: integer
  10723. type: object
  10724. models.QuotePrimaryMenu:
  10725. properties:
  10726. Index:
  10727. description: 序号
  10728. type: integer
  10729. Key:
  10730. description: 键名
  10731. type: string
  10732. Name:
  10733. description: 菜单名称
  10734. type: string
  10735. SubMenus:
  10736. description: 子菜单
  10737. items:
  10738. $ref: '#/definitions/models.QuoteSecondaryMenu'
  10739. type: array
  10740. SubTitleType:
  10741. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  10742. type: integer
  10743. TradeModes:
  10744. description: 包含市场交易类型
  10745. type: string
  10746. type: object
  10747. models.QuoteSecondaryMenu:
  10748. properties:
  10749. ExExchangeCode:
  10750. description: 外部交易所代码
  10751. type: string
  10752. ExExchangeID:
  10753. description: 外部交易所ID
  10754. type: integer
  10755. GoodsGroupIDs:
  10756. description: 商品组ID列表
  10757. items:
  10758. type: integer
  10759. type: array
  10760. Index:
  10761. description: 序号
  10762. type: integer
  10763. MarketID:
  10764. description: 市场ID
  10765. type: integer
  10766. MenuTitle:
  10767. description: 菜单标题(市场名称或外部交易所名称)
  10768. type: string
  10769. TradeMode:
  10770. description: 交易模式
  10771. type: integer
  10772. type: object
  10773. models.SearchGoods:
  10774. properties:
  10775. goodscode:
  10776. description: 商品代码(内部)
  10777. type: string
  10778. goodsid:
  10779. description: 商品ID(自增ID SEQ_GOODS)
  10780. type: integer
  10781. goodsname:
  10782. description: 商品名称
  10783. type: string
  10784. marketid:
  10785. description: 所属市场ID
  10786. type: integer
  10787. marketname:
  10788. description: 市场名称
  10789. type: string
  10790. trademode:
  10791. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10792. 21:竞拍-大宗式 22:受托竞价
  10793. type: integer
  10794. required:
  10795. - goodscode
  10796. - goodsid
  10797. - goodsname
  10798. - marketid
  10799. - trademode
  10800. type: object
  10801. models.Systemparam:
  10802. properties:
  10803. loginid:
  10804. description: 更新用户账号,登录账号
  10805. type: string
  10806. modifyflag:
  10807. description: 修改标志0 不允许修改 1 允许修改
  10808. type: integer
  10809. paramcode:
  10810. description: 参数代码
  10811. type: string
  10812. paramname:
  10813. description: 参数名
  10814. type: string
  10815. paramtype:
  10816. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  10817. type: integer
  10818. paramvalue:
  10819. description: 参数值
  10820. type: string
  10821. paramvalue2:
  10822. description: 参数值(CLOB)
  10823. type: string
  10824. regexpress:
  10825. description: 正则表达式
  10826. type: string
  10827. remark:
  10828. description: 备注
  10829. type: string
  10830. serverip:
  10831. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  10832. type: string
  10833. showflag:
  10834. description: 是否显示0 不显示 1 显示
  10835. type: integer
  10836. updatetime:
  10837. description: 更新时间
  10838. type: string
  10839. userid:
  10840. description: 更新用户ID
  10841. type: integer
  10842. required:
  10843. - paramcode
  10844. type: object
  10845. models.Szdz3convertconfig:
  10846. properties:
  10847. canin:
  10848. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  10849. type: integer
  10850. canout:
  10851. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  10852. type: integer
  10853. converttype:
  10854. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  10855. 6:交易转花生米(不设置)
  10856. type: integer
  10857. createtime:
  10858. description: 创建时间
  10859. type: string
  10860. creatorid:
  10861. description: 创建人
  10862. type: integer
  10863. daymaxvalue:
  10864. description: 当日最大转入限制
  10865. type: number
  10866. freezedays:
  10867. description: 冻结天数 [5:花生米转交易]
  10868. type: integer
  10869. innergoodsid:
  10870. description: 内部商品ID[交易]
  10871. type: integer
  10872. inratio:
  10873. description: 目标值
  10874. type: integer
  10875. modifierid:
  10876. description: 修改人
  10877. type: integer
  10878. modifytime:
  10879. description: 修改时间
  10880. type: string
  10881. outergoodscode:
  10882. description: 外部商品代码[JD\PD]
  10883. type: string
  10884. outratio:
  10885. description: 源值
  10886. type: integer
  10887. pddecimalplace:
  10888. description: PD小数位
  10889. type: integer
  10890. timemaxvalue:
  10891. description: 单次最大转入限制
  10892. type: number
  10893. timeminvalue:
  10894. description: 单次最小转入限制
  10895. type: number
  10896. required:
  10897. - converttype
  10898. - innergoodsid
  10899. - outergoodscode
  10900. type: object
  10901. models.Szdz3searchwhitelist:
  10902. properties:
  10903. createtime:
  10904. description: 创建时间
  10905. type: string
  10906. creatorid:
  10907. description: 创建人
  10908. type: integer
  10909. modifierid:
  10910. description: 修改人
  10911. type: integer
  10912. modifytime:
  10913. description: 修改时间
  10914. type: string
  10915. userid:
  10916. description: 用户ID
  10917. type: integer
  10918. required:
  10919. - userid
  10920. type: object
  10921. models.Taaccount:
  10922. properties:
  10923. accountflag:
  10924. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  10925. type: integer
  10926. accountid:
  10927. description: 资金账户ID
  10928. type: integer
  10929. accountname:
  10930. description: 账户名称
  10931. type: string
  10932. balance:
  10933. description: 期初余额
  10934. type: number
  10935. capitalbalance:
  10936. description: 本金余额[外部子账户实际出入金余额]
  10937. type: number
  10938. changeflag:
  10939. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  10940. type: integer
  10941. changetime:
  10942. description: 账户状态变更时间
  10943. type: string
  10944. closepl:
  10945. description: 今日平仓盈亏
  10946. type: number
  10947. creditdecrease:
  10948. description: 今日授信减少
  10949. type: number
  10950. creditincrease:
  10951. description: 今日授信增加
  10952. type: number
  10953. currencyid:
  10954. description: 货币ID
  10955. type: integer
  10956. currentbalance:
  10957. description: 期末余额
  10958. type: number
  10959. freezecharge:
  10960. description: 手续费冻结
  10961. type: number
  10962. freezemargin:
  10963. description: 冻结保证金
  10964. type: number
  10965. fromaccountid:
  10966. description: 所属上级账户
  10967. type: integer
  10968. inamount:
  10969. description: 今日入金金额(包括三方入金)
  10970. type: number
  10971. ismain:
  10972. description: 是否母账号 0:不是母账户 1:是母账户
  10973. type: integer
  10974. ismarketaccount:
  10975. description: 是否机构接单账号 0:不是 1:是
  10976. type: integer
  10977. isreckonaccount:
  10978. description: 是否机构分润账号 0:不是 1:是
  10979. type: integer
  10980. mortgagecredit:
  10981. description: 授信金额
  10982. type: number
  10983. orifreezecharge:
  10984. description: 期初手续费冻结
  10985. type: number
  10986. orifreezemargin:
  10987. description: 期初冻结保证金
  10988. type: number
  10989. orimortgagecredit:
  10990. description: 期初授信金额
  10991. type: number
  10992. oriothercredit:
  10993. description: 期初其它授信金额
  10994. type: number
  10995. oriotherfreezemargin:
  10996. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  10997. type: number
  10998. orioutamountfreeze:
  10999. description: 期初出金冻结
  11000. type: number
  11001. oriusedmargin:
  11002. description: 期初占用保证金
  11003. type: number
  11004. othercredit:
  11005. description: 其它授信金额
  11006. type: number
  11007. othercreditdecrease:
  11008. description: 今日其它授信减少
  11009. type: number
  11010. othercreditincrease:
  11011. description: 今日其它授信增加
  11012. type: number
  11013. otherfreezemargin:
  11014. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  11015. type: number
  11016. otherincome:
  11017. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  11018. type: number
  11019. otherpay:
  11020. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  11021. type: number
  11022. outamount:
  11023. description: 今日出金金额(包括三方出金)
  11024. type: number
  11025. outamountfreeze:
  11026. description: 出金冻结
  11027. type: number
  11028. outthreshold:
  11029. description: 出金阈值
  11030. type: number
  11031. parentaccountid:
  11032. description: 所属根账号
  11033. type: integer
  11034. paycharge:
  11035. description: 今日手续费支出
  11036. type: number
  11037. relatedaccountstatus:
  11038. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  11039. type: integer
  11040. relateduserid:
  11041. description: 关联用户
  11042. type: integer
  11043. serivcegroup:
  11044. description: 服务分组
  11045. type: integer
  11046. signstatus:
  11047. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  11048. type: integer
  11049. sublevelpath:
  11050. description: 账号层级路径(逗号分隔,首尾加逗号)
  11051. type: string
  11052. taaccounttype:
  11053. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  11054. type: integer
  11055. thirdinamount:
  11056. description: 今日三方入金
  11057. type: number
  11058. thirdoutamount:
  11059. description: 今日三方出金
  11060. type: number
  11061. tradestatus:
  11062. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  11063. type: integer
  11064. tradestatuschangetime:
  11065. description: 激活时间
  11066. type: string
  11067. transferamount:
  11068. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  11069. type: number
  11070. usedmargin:
  11071. description: 占用保证金
  11072. type: number
  11073. userid:
  11074. description: 用户ID
  11075. type: integer
  11076. required:
  11077. - accountid
  11078. - userid
  11079. type: object
  11080. models.Tablecolumnconfig:
  11081. properties:
  11082. aligntype:
  11083. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  11084. type: integer
  11085. autoid:
  11086. description: AutoID
  11087. type: integer
  11088. columnfield:
  11089. description: 列字段
  11090. type: string
  11091. columntitle:
  11092. description: 列Title
  11093. type: string
  11094. columnwidth:
  11095. description: 列宽
  11096. type: string
  11097. formatterstring:
  11098. description: 格式化字符
  11099. type: string
  11100. formattertype:
  11101. description: 格式化类型
  11102. type: string
  11103. groupname:
  11104. description: 表头分组名称
  11105. type: string
  11106. isshow:
  11107. description: 是否显示 - 0:不显示 1:显示
  11108. type: integer
  11109. needsummary:
  11110. description: 是否需要汇总 - 0:不需要 1:需要
  11111. type: integer
  11112. orderindex:
  11113. description: 顺序
  11114. type: integer
  11115. remark:
  11116. description: 备注
  11117. type: string
  11118. summarytype:
  11119. description: 汇总类型 - 1:加总 2:最后一个
  11120. type: integer
  11121. tablekey:
  11122. description: 列表Key
  11123. type: string
  11124. required:
  11125. - autoid
  11126. type: object
  11127. models.UserCollectConfig:
  11128. properties:
  11129. accountstatus:
  11130. description: 账户状态 - 1:正常 2:停用 3:注销
  11131. type: integer
  11132. collectaccountname:
  11133. description: 收款人账户名称
  11134. type: string
  11135. collectaccountno:
  11136. description: 收款人账户
  11137. type: string
  11138. collectbankname:
  11139. description: 收款人开户行
  11140. type: string
  11141. collectbranchbankname:
  11142. description: 收款人开户支行
  11143. type: string
  11144. collectconfigid:
  11145. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  11146. type: string
  11147. remark:
  11148. description: 备注
  11149. type: string
  11150. userid:
  11151. description: 收款人用户ID
  11152. type: integer
  11153. type: object
  11154. models.UserReceiveInfo:
  11155. properties:
  11156. address:
  11157. description: 提货人详细地址
  11158. type: string
  11159. autoid:
  11160. description: AutoID
  11161. type: integer
  11162. cardnum:
  11163. description: 证件号码(加密存储)
  11164. type: string
  11165. cardtypeid:
  11166. description: 证件类型
  11167. type: integer
  11168. cityid:
  11169. description: 市
  11170. type: integer
  11171. cityname:
  11172. description: 城市名称
  11173. type: string
  11174. countryid:
  11175. description: 国家
  11176. type: integer
  11177. countryname:
  11178. description: 国家名称
  11179. type: string
  11180. districtid:
  11181. description: 地区
  11182. type: integer
  11183. districtname:
  11184. description: 地区名称
  11185. type: string
  11186. hasencrypt:
  11187. description: 数据是否已加密 - 0:未加密 1:已加密
  11188. type: integer
  11189. isdefault:
  11190. description: 是否默认地址 - 0:否 1:是
  11191. type: integer
  11192. phonenum:
  11193. description: 提货人联系方式(加密存储)
  11194. type: string
  11195. provinceid:
  11196. description: 省
  11197. type: integer
  11198. provincename:
  11199. description: 省名称
  11200. type: string
  11201. receivername:
  11202. description: 提货人姓名
  11203. type: string
  11204. takeremark:
  11205. description: 提货备注
  11206. type: string
  11207. userid:
  11208. description: 用户ID
  11209. type: integer
  11210. type: object
  11211. models.Useraccount:
  11212. properties:
  11213. accountname:
  11214. description: 账户名称(机构名称)
  11215. type: string
  11216. accountstatus:
  11217. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11218. type: integer
  11219. applysrc:
  11220. description: 申请来源 - 1:管理端 2:终端
  11221. type: integer
  11222. auditremark:
  11223. description: 审核备注
  11224. type: string
  11225. auditsrc:
  11226. description: 审核来源 - 1:管理端 2:终端
  11227. type: integer
  11228. audittime:
  11229. description: 审核时间
  11230. type: string
  11231. audituserid:
  11232. description: 审核人
  11233. type: integer
  11234. broker:
  11235. description: 所属经纪人ID
  11236. type: integer
  11237. canceltime:
  11238. description: 销户时间
  11239. type: string
  11240. canceluserid:
  11241. description: 销户人
  11242. type: integer
  11243. canrecommend:
  11244. description: 是否可推荐 - 0:不可 1;可
  11245. type: integer
  11246. createtime:
  11247. description: 创建时间
  11248. type: string
  11249. creatorid:
  11250. description: 创建人
  11251. type: integer
  11252. hasauth:
  11253. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  11254. type: integer
  11255. isanonymous:
  11256. description: 是否匿名下单 - 0:否 1:是
  11257. type: integer
  11258. maxinvestornum:
  11259. description: 最大用户数(经纪会员下投资者个数)
  11260. type: integer
  11261. memberuserid:
  11262. description: 所属会员ID
  11263. type: integer
  11264. modifierid:
  11265. description: 修改人
  11266. type: integer
  11267. modifyremark:
  11268. description: 变更备注
  11269. type: string
  11270. modifystatus:
  11271. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  11272. type: integer
  11273. modifytime:
  11274. description: 修改时间
  11275. type: string
  11276. parenttopuser:
  11277. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11278. type: string
  11279. parentuserid:
  11280. description: 所属机构ID
  11281. type: integer
  11282. reckonaccountid:
  11283. description: 默认结算资金账号ID(机构分润使用) 作废
  11284. type: integer
  11285. refercount:
  11286. description: 推荐总人数
  11287. type: integer
  11288. refereeuserid:
  11289. description: 推荐人ID
  11290. type: integer
  11291. refernum:
  11292. description: 推荐码
  11293. type: string
  11294. rootuserid:
  11295. description: 根用户ID
  11296. type: integer
  11297. subaccountlevel:
  11298. description: 子账户层数
  11299. type: integer
  11300. subarealevelpath:
  11301. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11302. type: string
  11303. userid:
  11304. description: 用户ID
  11305. type: integer
  11306. usertype:
  11307. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11308. type: integer
  11309. required:
  11310. - userid
  11311. type: object
  11312. models.Userfavoritegoods:
  11313. properties:
  11314. goodsid:
  11315. description: 商品ID
  11316. type: integer
  11317. required:
  11318. - goodsid
  11319. type: object
  11320. models.Userinfo:
  11321. properties:
  11322. address:
  11323. description: 地址
  11324. type: string
  11325. attachment1:
  11326. description: 附件1
  11327. type: string
  11328. attachment2:
  11329. description: 附件2
  11330. type: string
  11331. bankaccount:
  11332. description: 银行帐号 (加密存储)
  11333. type: string
  11334. bankaccountname:
  11335. description: 收款人名称
  11336. type: string
  11337. bankcardfrontphotourl:
  11338. description: 银行卡正面照地址
  11339. type: string
  11340. bankid:
  11341. description: 银行编码
  11342. type: string
  11343. bankname:
  11344. description: 银行名称
  11345. type: string
  11346. biznature:
  11347. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  11348. type: integer
  11349. bizscope:
  11350. description: 企业经营范围(企业)
  11351. type: string
  11352. cardbackphotourl:
  11353. description: 证件背面图片地址
  11354. type: string
  11355. cardfrontphotourl:
  11356. description: 证件正面图片地址
  11357. type: string
  11358. cardnum:
  11359. description: 证件号码(加密存储)
  11360. type: string
  11361. cardtypeid:
  11362. description: 证件类型ID
  11363. type: integer
  11364. cityid:
  11365. description: 市
  11366. type: integer
  11367. company:
  11368. description: 公司(个人)
  11369. type: string
  11370. contactname:
  11371. description: 联系人
  11372. type: string
  11373. countryid:
  11374. description: 国家
  11375. type: integer
  11376. createtime:
  11377. description: 创建时间
  11378. type: string
  11379. creatorid:
  11380. description: 创建人
  11381. type: integer
  11382. customername:
  11383. description: 客户名称(企业名称)
  11384. type: string
  11385. districtid:
  11386. description: 地区
  11387. type: integer
  11388. email:
  11389. description: 邮件(加密存储)
  11390. type: string
  11391. fax:
  11392. description: 传真(加密存储)
  11393. type: string
  11394. halfbodyphotourl:
  11395. description: 半身照地址
  11396. type: string
  11397. hasencrypt:
  11398. description: 数据是否已加密 - 0:未加密 1:已加密
  11399. type: integer
  11400. headurl:
  11401. description: 头像地址
  11402. type: string
  11403. legalcardbackphotourl:
  11404. description: 法人身份证背面照地址
  11405. type: string
  11406. legalcardfrontphotourl:
  11407. description: 法人身份证正面照地址
  11408. type: string
  11409. legalpersonname:
  11410. description: 法人姓名(企业)
  11411. type: string
  11412. mobile:
  11413. description: 手机号码(加密存储)
  11414. type: string
  11415. mobile2:
  11416. description: 手机号码[明文-尚志]
  11417. type: string
  11418. modifierid:
  11419. description: 修改人
  11420. type: integer
  11421. modifiertime:
  11422. description: 修改时间
  11423. type: string
  11424. needinvoice:
  11425. description: 是否需要发票 - 0:不需要 1:需要
  11426. type: integer
  11427. nickname:
  11428. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  11429. type: string
  11430. openmode:
  11431. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  11432. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  11433. type: integer
  11434. otherurl:
  11435. description: 其它图片地址[使用分号分隔]
  11436. type: string
  11437. postalcode:
  11438. description: 邮政编码
  11439. type: string
  11440. provinceid:
  11441. description: 省
  11442. type: integer
  11443. qq:
  11444. description: QQ(加密存储
  11445. type: string
  11446. remark:
  11447. description: 备注
  11448. type: string
  11449. sex:
  11450. description: '用户性别 0: 女 1: 男'
  11451. type: integer
  11452. signpdfurl:
  11453. description: 签约pdf文件
  11454. type: string
  11455. telphone:
  11456. description: 联系电话(加密存储)
  11457. type: string
  11458. userid:
  11459. description: 用户ID
  11460. type: integer
  11461. userinfotype:
  11462. description: 用户信息类型 - 1:个人 2:企业
  11463. type: integer
  11464. userstatus:
  11465. description: 用户状态 - 1:正常 2:注销
  11466. type: integer
  11467. usertype:
  11468. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  11469. type: integer
  11470. wechat:
  11471. description: 微信(加密存储)
  11472. type: string
  11473. wskhinfo:
  11474. description: 开户申请信息(JSON)
  11475. type: string
  11476. required:
  11477. - userid
  11478. type: object
  11479. models.WRSConverTDetail:
  11480. properties:
  11481. convertratio:
  11482. description: 套保系数
  11483. type: number
  11484. deliverygoodscode:
  11485. description: 现货商品代码
  11486. type: string
  11487. deliverygoodsid:
  11488. description: 现货品种ID
  11489. type: integer
  11490. deliverygoodsname:
  11491. description: 现货商品名称
  11492. type: string
  11493. enumdicname:
  11494. description: 单位名称
  11495. type: string
  11496. goodsunitid:
  11497. description: 套保品种单位id
  11498. type: integer
  11499. middlegoodscode:
  11500. description: 套保品种代码
  11501. type: string
  11502. middlegoodsid:
  11503. description: 套保品种ID
  11504. type: integer
  11505. middlegoodsname:
  11506. description: 套保品种名称
  11507. type: string
  11508. modifytime:
  11509. description: 修改时间
  11510. type: string
  11511. wrstandardid:
  11512. description: 品类ID
  11513. type: integer
  11514. type: object
  11515. models.WRStandardInfo:
  11516. properties:
  11517. areauserid:
  11518. description: 所属机构
  11519. type: integer
  11520. convertfactor:
  11521. description: 标仓系数
  11522. type: number
  11523. createtime:
  11524. description: 创建时间
  11525. type: string
  11526. creatorid:
  11527. description: 创建人
  11528. type: integer
  11529. deliverygoodsid:
  11530. description: 品种ID
  11531. type: integer
  11532. deliverygoodsname:
  11533. description: 交割商品名称
  11534. type: string
  11535. factoryitemjson:
  11536. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  11537. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  11538. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  11539. 逗号分隔'
  11540. type: string
  11541. isvalid:
  11542. description: 是否有效 - 0:无效 1:有效
  11543. type: integer
  11544. minivalue:
  11545. description: 最小变动值
  11546. type: integer
  11547. minivaluedp:
  11548. description: 最小变动值小数位
  11549. type: integer
  11550. realminivalue:
  11551. description: 实际最小变动值
  11552. type: integer
  11553. realminivaluedp:
  11554. description: 实际最小变动值小数位
  11555. type: integer
  11556. remark:
  11557. description: 备注
  11558. type: string
  11559. unitid:
  11560. description: 单位ID
  11561. type: integer
  11562. unitname:
  11563. description: 单位
  11564. type: string
  11565. updatetime:
  11566. description: 更新时间
  11567. type: string
  11568. updatorid:
  11569. description: 更新人
  11570. type: integer
  11571. wrsstatus:
  11572. description: 状态 - 作废 - 0:未激活 1:正常
  11573. type: integer
  11574. wrstandardcode:
  11575. description: 现货品类代码
  11576. type: string
  11577. wrstandardid:
  11578. description: 现货品类ID(SEQ_WRSTANDARD)
  11579. type: integer
  11580. wrstandardname:
  11581. description: 现货品类名称
  11582. type: string
  11583. required:
  11584. - wrstandardid
  11585. type: object
  11586. models.Warehouseinfo:
  11587. properties:
  11588. address:
  11589. description: 详细地址
  11590. type: string
  11591. areauserid:
  11592. description: 所属机构
  11593. type: integer
  11594. autoid:
  11595. description: 自增ID
  11596. type: integer
  11597. cityid:
  11598. description: 市
  11599. type: integer
  11600. contactname:
  11601. description: 联系人
  11602. type: string
  11603. contactnum:
  11604. description: 联系电话
  11605. type: string
  11606. countryid:
  11607. description: 国家
  11608. type: integer
  11609. createtime:
  11610. description: 创建时间
  11611. type: string
  11612. districtid:
  11613. description: 区
  11614. type: integer
  11615. hasvideo:
  11616. description: 是否有视频 - 0:无 1:有
  11617. type: integer
  11618. provinceid:
  11619. description: 省
  11620. type: integer
  11621. remark:
  11622. description: 审核备注
  11623. type: string
  11624. videourl:
  11625. description: 视频地址
  11626. type: string
  11627. warehousecode:
  11628. description: 仓库代码
  11629. type: string
  11630. warehousename:
  11631. description: 仓库名称
  11632. type: string
  11633. warehousestatus:
  11634. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  11635. type: integer
  11636. warehousetype:
  11637. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  11638. type: integer
  11639. required:
  11640. - autoid
  11641. - warehousecode
  11642. type: object
  11643. order.QueryHisTradeDetailRsp:
  11644. properties:
  11645. accountid:
  11646. description: 账户ID[报价币种]
  11647. type: integer
  11648. buildtype:
  11649. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11650. type: integer
  11651. buyorsell:
  11652. description: 方向 - 0:买 1:卖
  11653. type: integer
  11654. charge:
  11655. description: 手续费
  11656. type: number
  11657. closecharge:
  11658. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11659. type: number
  11660. closeexchagechargevalue:
  11661. description: 平仓交易所手续费设置值
  11662. type: number
  11663. closefeealgorithm:
  11664. description: 平仓手续费收取方式 1:比率 2:固定
  11665. type: integer
  11666. closememberchargevalue:
  11667. description: 平仓会员手续费设置值
  11668. type: number
  11669. closepl:
  11670. description: 平仓盈亏
  11671. type: number
  11672. closepl2:
  11673. description: 平仓盈亏[逐笔]
  11674. type: number
  11675. closeqty:
  11676. description: 平仓数量(先建后平操作 需要记录)
  11677. type: number
  11678. creditamount:
  11679. description: 授信金额
  11680. type: number
  11681. decimalplace:
  11682. description: 商品报价小数位
  11683. type: integer
  11684. gcaccountid:
  11685. description: 账户ID[合约币种]
  11686. type: integer
  11687. goodscode:
  11688. description: 商品代码
  11689. type: string
  11690. goodsid:
  11691. description: 商品ID
  11692. type: integer
  11693. goodsname:
  11694. description: 商品名称
  11695. type: string
  11696. histradedate:
  11697. description: 历史交易日
  11698. type: string
  11699. intclosepl:
  11700. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11701. type: integer
  11702. isconfirmexercise:
  11703. description: 是否确认行权- 0:否 1:是
  11704. type: integer
  11705. ismain:
  11706. description: 是否主单 - 0:不是 1:是
  11707. type: integer
  11708. ispreexercise:
  11709. description: 是否预申报- 0:否 1:是
  11710. type: integer
  11711. isreckoned:
  11712. description: 是否结算 - 0:未结算 1:已结算
  11713. type: integer
  11714. isvaliddata:
  11715. description: 是否有效 - 0:无效 1:有效
  11716. type: integer
  11717. listingselecttype:
  11718. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11719. type: integer
  11720. marketid:
  11721. description: 市场ID
  11722. type: integer
  11723. marketname:
  11724. description: 市场名称
  11725. type: string
  11726. matchaccountid:
  11727. description: 对手账号id
  11728. type: integer
  11729. memberuserid:
  11730. description: 会员id 个人投资者 需要填写
  11731. type: integer
  11732. opencharge:
  11733. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11734. type: number
  11735. openexchagechargevalue:
  11736. description: 建仓交易所手续费设置值
  11737. type: number
  11738. openfeealgorithm:
  11739. description: 建仓手续费收取方式 1:比率 2:固定
  11740. type: integer
  11741. openmemberchargevalue:
  11742. description: 建仓会员手续费设置值
  11743. type: number
  11744. openqty:
  11745. description: 开仓数量(先建后平操作 需要记录)
  11746. type: number
  11747. optiontype:
  11748. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11749. type: integer
  11750. orderid:
  11751. description: 委托单号
  11752. type: string
  11753. performanceplanid:
  11754. description: 履约计划ID[期权]
  11755. type: integer
  11756. performancestatus:
  11757. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11758. type: integer
  11759. preexerciseprice:
  11760. description: 预申报价格
  11761. type: number
  11762. premium:
  11763. description: 权利金 - [持仓单的权利金]
  11764. type: number
  11765. qtydecimalplace:
  11766. description: 商品报价小数位
  11767. type: integer
  11768. relatedouttradeid:
  11769. description: 关联外部成交单ID
  11770. type: integer
  11771. status:
  11772. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11773. type: integer
  11774. tradeamount:
  11775. description: 成交金额[账户币种,用于所有权]
  11776. type: number
  11777. tradedate:
  11778. description: 交易日(yyyyMMdd)
  11779. type: string
  11780. tradeid:
  11781. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11782. type: string
  11783. trademode:
  11784. description: 交易模式
  11785. type: integer
  11786. tradeprice:
  11787. description: 成交价格
  11788. type: number
  11789. tradeproperty:
  11790. description: 交易属性
  11791. type: integer
  11792. tradeqty:
  11793. description: 成交数量
  11794. type: number
  11795. tradetime:
  11796. description: 成交时间
  11797. type: string
  11798. tradetype:
  11799. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11800. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11801. type: integer
  11802. required:
  11803. - accountid
  11804. - buyorsell
  11805. - goodsid
  11806. - histradedate
  11807. - marketid
  11808. - memberuserid
  11809. - orderid
  11810. - tradeamount
  11811. - tradedate
  11812. - tradeid
  11813. - tradeprice
  11814. - tradeqty
  11815. - tradetime
  11816. type: object
  11817. order.QueryHisTradeOrderDetailRsp:
  11818. properties:
  11819. accountid:
  11820. description: 账户ID[报价币种]
  11821. type: integer
  11822. buildtype:
  11823. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11824. type: integer
  11825. buyorsell:
  11826. description: 买卖 - 0:买 1:卖
  11827. type: integer
  11828. cancelorderid:
  11829. description: 撤单单号(撤单时填写)
  11830. type: string
  11831. cancelqty:
  11832. description: 撤单数量
  11833. type: number
  11834. clientordertime:
  11835. description: 客户端委托时间
  11836. type: string
  11837. clientticket:
  11838. description: 客户端流水号
  11839. type: string
  11840. clienttype:
  11841. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11842. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11843. type: integer
  11844. closeexchagechargevalue:
  11845. description: 平仓交易所手续费设置值
  11846. type: number
  11847. closefeealgorithm:
  11848. description: 平仓手续费收取方式 1:比率 2:固定
  11849. type: integer
  11850. closefreezecharge:
  11851. description: 平仓冻结手续费(先建后平操作,需要记录)
  11852. type: number
  11853. closememberchargevalue:
  11854. description: 平仓会员手续费设置值
  11855. type: number
  11856. closeqty:
  11857. description: 平仓数量(先建后平操作 需要记录)
  11858. type: number
  11859. closetradeqty:
  11860. description: 平仓成交数量(先建后平操作,需要记录)
  11861. type: number
  11862. closeunfreezecharge:
  11863. description: 平仓解冻手续费(先建后平操作,需要记录)
  11864. type: number
  11865. decimalplace:
  11866. description: 商品报价小数位
  11867. type: integer
  11868. delistingtype:
  11869. description: 摘牌类型 - 1:价格最优 2:点选成交
  11870. type: integer
  11871. freezecharge:
  11872. description: 冻结手续费
  11873. type: number
  11874. freezemargin:
  11875. description: 冻结保证金(冻结交易金额)
  11876. type: number
  11877. gcaccountid:
  11878. description: 账户ID[合约币种]
  11879. type: integer
  11880. goodscode:
  11881. description: 商品代码
  11882. type: string
  11883. goodsid:
  11884. description: 商品ID
  11885. type: integer
  11886. goodsname:
  11887. description: 商品名称
  11888. type: string
  11889. histradedate:
  11890. description: 历史交易日
  11891. type: string
  11892. isconfirmexercise:
  11893. description: 是否确认行权- 0:否 1:是
  11894. type: integer
  11895. ispreexercise:
  11896. description: 是否预申报- 0:否 1:是
  11897. type: integer
  11898. isvaliddata:
  11899. description: 是否有效 - 0:无效 1:有效
  11900. type: integer
  11901. listingselecttype:
  11902. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11903. type: integer
  11904. marginalgorithm:
  11905. description: 保证金收取方式 1:比率 2:固定
  11906. type: integer
  11907. marginvalue:
  11908. description: 即市保证金设置值
  11909. type: number
  11910. marketid:
  11911. description: 市场ID
  11912. type: integer
  11913. marketmaxsub:
  11914. description: 市价最大偏移范围
  11915. type: number
  11916. marketname:
  11917. description: 市场名称
  11918. type: string
  11919. memberuserid:
  11920. description: 所属会员UserID
  11921. type: integer
  11922. openexchagechargevalue:
  11923. description: 建仓交易所手续费设置值
  11924. type: number
  11925. openfeealgorithm:
  11926. description: 建仓手续费收取方式 1:比率 2:固定
  11927. type: integer
  11928. openfreezecharge:
  11929. description: 开仓冻结手续费(先建后平操作,需要记录)
  11930. type: number
  11931. openmemberchargevalue:
  11932. description: 建仓会员手续费设置值
  11933. type: number
  11934. openqty:
  11935. description: 开仓数量(先建后平操作,需要记录)
  11936. type: number
  11937. opentradeqty:
  11938. description: 开仓成交数量(先建后平操作,需要记录)
  11939. type: number
  11940. openunfreezecharge:
  11941. description: 开仓解冻手续费(先建后平操作,需要记录)
  11942. type: number
  11943. operatetype:
  11944. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11945. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11946. 15:管理端协议转让
  11947. type: integer
  11948. operatorid:
  11949. description: 登录账号(LoginID)
  11950. type: integer
  11951. optiontype:
  11952. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11953. type: integer
  11954. orderid:
  11955. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11956. type: string
  11957. orderprice:
  11958. description: 委托价格
  11959. type: number
  11960. orderqty:
  11961. description: 委托数量
  11962. type: number
  11963. ordersrc:
  11964. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11965. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11966. type: integer
  11967. orderstatus:
  11968. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11969. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11970. 16:成交失败违约(荷兰式竞拍专用)
  11971. type: integer
  11972. ordertime:
  11973. description: 委托时间
  11974. type: string
  11975. preexerciseprice:
  11976. description: 预申报价格
  11977. type: number
  11978. premium:
  11979. description: 权利金
  11980. type: number
  11981. preorderid:
  11982. description: 关联预埋单号(止盈止损单时填写)
  11983. type: string
  11984. pricemode:
  11985. description: '取价方式 - 1:市价 2: 限价'
  11986. type: integer
  11987. qtydecimalplace:
  11988. description: 成交量小数位
  11989. type: integer
  11990. quoteid:
  11991. description: 报价单ID
  11992. type: integer
  11993. relatedid:
  11994. description: 关联单号(交割单)
  11995. type: string
  11996. retcode:
  11997. description: 错误代码
  11998. type: integer
  11999. sessionid:
  12000. description: 会话ID
  12001. type: integer
  12002. tradedate:
  12003. description: 交易日(yyyyMMdd)
  12004. type: string
  12005. trademode:
  12006. description: 交易模式
  12007. type: integer
  12008. tradeproperty:
  12009. description: 交易属性
  12010. type: integer
  12011. tradeqty:
  12012. description: 成交数量
  12013. type: number
  12014. unfreezecharge:
  12015. description: 解冻手续费
  12016. type: number
  12017. unfreezemargin:
  12018. description: 解冻保证金
  12019. type: number
  12020. updatetime:
  12021. description: 更新时间
  12022. type: string
  12023. uuid:
  12024. description: 发起端唯一id
  12025. type: string
  12026. validtime:
  12027. description: 有效期限
  12028. type: string
  12029. validtype:
  12030. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  12031. type: integer
  12032. volumetype:
  12033. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  12034. type: integer
  12035. required:
  12036. - accountid
  12037. - buildtype
  12038. - buyorsell
  12039. - goodsid
  12040. - histradedate
  12041. - marketid
  12042. - memberuserid
  12043. - operatetype
  12044. - orderid
  12045. - orderqty
  12046. - ordertime
  12047. - pricemode
  12048. - tradedate
  12049. - validtype
  12050. type: object
  12051. order.QueryTradeDetailRsp:
  12052. properties:
  12053. accountid:
  12054. description: 账户ID[报价币种]
  12055. type: integer
  12056. buildtype:
  12057. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  12058. type: integer
  12059. buyorsell:
  12060. description: 方向 - 0:买 1:卖
  12061. type: integer
  12062. charge:
  12063. description: 手续费
  12064. type: number
  12065. closecharge:
  12066. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  12067. type: number
  12068. closeexchagechargevalue:
  12069. description: 平仓交易所手续费设置值
  12070. type: number
  12071. closefeealgorithm:
  12072. description: 平仓手续费收取方式 1:比率 2:固定
  12073. type: integer
  12074. closememberchargevalue:
  12075. description: 平仓会员手续费设置值
  12076. type: number
  12077. closepl:
  12078. description: 平仓盈亏
  12079. type: number
  12080. closepl2:
  12081. description: 平仓盈亏[逐笔]
  12082. type: number
  12083. closeqty:
  12084. description: 平仓数量(先建后平操作 需要记录)
  12085. type: number
  12086. creditamount:
  12087. description: 授信金额
  12088. type: number
  12089. decimalplace:
  12090. description: 商品报价小数位
  12091. type: integer
  12092. gcaccountid:
  12093. description: 账户ID[合约币种]
  12094. type: integer
  12095. goodscode:
  12096. description: 商品代码
  12097. type: string
  12098. goodsid:
  12099. description: 商品ID
  12100. type: integer
  12101. goodsname:
  12102. description: 商品名称
  12103. type: string
  12104. intclosepl:
  12105. description: 整型盈亏(用于交易结算试算平衡-收益权)
  12106. type: integer
  12107. isconfirmexercise:
  12108. description: 是否确认行权- 0:否 1:是
  12109. type: integer
  12110. ismain:
  12111. description: 是否主单 - 0:不是 1:是
  12112. type: integer
  12113. ispreexercise:
  12114. description: 是否预申报- 0:否 1:是
  12115. type: integer
  12116. isreckoned:
  12117. description: 是否结算 - 0:未结算 1:已结算
  12118. type: integer
  12119. listingselecttype:
  12120. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12121. type: integer
  12122. marketid:
  12123. description: 市场ID
  12124. type: integer
  12125. marketname:
  12126. description: 市场名称
  12127. type: string
  12128. matchaccountid:
  12129. description: 对手账号id
  12130. type: integer
  12131. memberuserid:
  12132. description: 会员id 个人投资者 需要填写
  12133. type: integer
  12134. opencharge:
  12135. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  12136. type: number
  12137. openexchagechargevalue:
  12138. description: 建仓交易所手续费设置值
  12139. type: number
  12140. openfeealgorithm:
  12141. description: 建仓手续费收取方式 1:比率 2:固定
  12142. type: integer
  12143. openmemberchargevalue:
  12144. description: 建仓会员手续费设置值
  12145. type: number
  12146. openqty:
  12147. description: 开仓数量(先建后平操作 需要记录)
  12148. type: number
  12149. optiontype:
  12150. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  12151. type: integer
  12152. orderid:
  12153. description: 委托单号
  12154. type: string
  12155. performanceplanid:
  12156. description: 履约计划ID[期权]
  12157. type: integer
  12158. performancestatus:
  12159. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  12160. type: integer
  12161. preexerciseprice:
  12162. description: 预申报价格
  12163. type: number
  12164. premium:
  12165. description: 权利金 - [持仓单的权利金]
  12166. type: number
  12167. qtydecimalplace:
  12168. description: 商品报价小数位
  12169. type: integer
  12170. relatedouttradeid:
  12171. description: 关联外部成交单ID
  12172. type: integer
  12173. status:
  12174. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  12175. type: integer
  12176. tradeamount:
  12177. description: 成交金额[账户币种,用于所有权]
  12178. type: number
  12179. tradedate:
  12180. description: 交易日(yyyyMMdd)
  12181. type: string
  12182. tradeid:
  12183. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12184. type: string
  12185. trademode:
  12186. description: 交易模式
  12187. type: integer
  12188. tradeprice:
  12189. description: 成交价格
  12190. type: number
  12191. tradeproperty:
  12192. description: 交易属性
  12193. type: integer
  12194. tradeqty:
  12195. description: 成交数量
  12196. type: number
  12197. tradetime:
  12198. description: 成交时间
  12199. type: string
  12200. tradetype:
  12201. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  12202. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  12203. type: integer
  12204. required:
  12205. - accountid
  12206. - buyorsell
  12207. - goodsid
  12208. - marketid
  12209. - memberuserid
  12210. - orderid
  12211. - tradeamount
  12212. - tradedate
  12213. - tradeid
  12214. - tradeprice
  12215. - tradeqty
  12216. - tradetime
  12217. type: object
  12218. order.QueryTradeOrderDetailRsp:
  12219. properties:
  12220. accountid:
  12221. description: 账户ID[报价币种]
  12222. type: integer
  12223. buildtype:
  12224. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  12225. type: integer
  12226. buyorsell:
  12227. description: 买卖 - 0:买 1:卖
  12228. type: integer
  12229. cancelorderid:
  12230. description: 撤单单号(撤单时填写)
  12231. type: string
  12232. cancelqty:
  12233. description: 撤单数量
  12234. type: number
  12235. clienttype:
  12236. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  12237. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  12238. type: integer
  12239. closefreezecharge:
  12240. description: 平仓冻结手续费(先建后平操作,需要记录)
  12241. type: number
  12242. closeqty:
  12243. description: 平仓数量(先建后平操作 需要记录)
  12244. type: number
  12245. closetradeqty:
  12246. description: 平仓成交数量(先建后平操作,需要记录)
  12247. type: number
  12248. closeunfreezecharge:
  12249. description: 平仓解冻手续费(先建后平操作,需要记录)
  12250. type: number
  12251. decimalplace:
  12252. description: 商品报价小数位
  12253. type: integer
  12254. delistingtype:
  12255. description: 摘牌类型 - 1:价格最优 2:点选成交
  12256. type: integer
  12257. enableqty:
  12258. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  12259. type: number
  12260. freezecharge:
  12261. description: 冻结手续费
  12262. type: number
  12263. freezemargin:
  12264. description: 冻结保证金(冻结交易金额)
  12265. type: number
  12266. goodscode:
  12267. description: 商品代码
  12268. type: string
  12269. goodsid:
  12270. description: 商品ID
  12271. type: integer
  12272. goodsname:
  12273. description: 商品名称
  12274. type: string
  12275. listingselecttype:
  12276. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12277. type: integer
  12278. marketid:
  12279. description: 市场ID
  12280. type: integer
  12281. marketname:
  12282. description: 市场名称
  12283. type: string
  12284. openfreezecharge:
  12285. description: 开仓冻结手续费(先建后平操作,需要记录)
  12286. type: number
  12287. openqty:
  12288. description: 开仓数量(先建后平操作,需要记录)
  12289. type: number
  12290. opentradeqty:
  12291. description: 开仓成交数量(先建后平操作,需要记录)
  12292. type: number
  12293. openunfreezecharge:
  12294. description: 开仓解冻手续费(先建后平操作,需要记录)
  12295. type: number
  12296. operatetype:
  12297. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  12298. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  12299. 15:管理端协议转让
  12300. type: integer
  12301. operatorid:
  12302. description: 登录账号(LoginID)
  12303. type: integer
  12304. orderid:
  12305. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12306. type: string
  12307. orderprice:
  12308. description: 委托价格
  12309. type: number
  12310. orderqty:
  12311. description: 委托数量
  12312. type: number
  12313. ordersrc:
  12314. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  12315. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  12316. type: integer
  12317. orderstatus:
  12318. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12319. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12320. 16:成交失败违约(荷兰式竞拍专用)
  12321. type: integer
  12322. ordertime:
  12323. description: 委托时间
  12324. type: string
  12325. preorderid:
  12326. description: 关联预埋单号(止盈止损单时填写)
  12327. type: string
  12328. pricemode:
  12329. description: '取价方式 - 1:市价 2: 限价'
  12330. type: integer
  12331. qtydecimalplace:
  12332. description: 商品报价小数位
  12333. type: integer
  12334. relatedid:
  12335. description: 关联单号(交割单)
  12336. type: string
  12337. tradedate:
  12338. description: 交易日(yyyyMMdd)
  12339. type: string
  12340. trademode:
  12341. description: 交易模式
  12342. type: integer
  12343. tradeqty:
  12344. description: 成交数量
  12345. type: number
  12346. unfreezecharge:
  12347. description: 解冻手续费
  12348. type: number
  12349. unfreezemargin:
  12350. description: 解冻保证金
  12351. type: number
  12352. validtime:
  12353. description: 有效期限
  12354. type: string
  12355. validtype:
  12356. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  12357. type: integer
  12358. volumetype:
  12359. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  12360. type: integer
  12361. required:
  12362. - accountid
  12363. - buildtype
  12364. - buyorsell
  12365. - goodsid
  12366. - marketid
  12367. - operatetype
  12368. - orderqty
  12369. - ordertime
  12370. - pricemode
  12371. - tradedate
  12372. - validtype
  12373. type: object
  12374. order.QueryTradePositionRsp:
  12375. properties:
  12376. accountid:
  12377. description: 资金账户
  12378. type: integer
  12379. agreeunit:
  12380. description: 合约单位
  12381. type: number
  12382. averageprice:
  12383. description: 持仓均价
  12384. type: number
  12385. buyorsell:
  12386. description: 方向 - 0:买 1:卖
  12387. type: integer
  12388. closetotalqty:
  12389. description: 平仓总数量
  12390. type: number
  12391. curholderamount:
  12392. description: 当前持仓总金额[商品币种]
  12393. type: number
  12394. curpositionqty:
  12395. description: 当前持仓总数量
  12396. type: number
  12397. currencyid:
  12398. description: 报价货币ID
  12399. type: integer
  12400. curtdposition:
  12401. description: 期末今日头寸
  12402. type: number
  12403. decimalplace:
  12404. description: 报价小数位
  12405. type: integer
  12406. enableqty:
  12407. description: 可用量
  12408. type: number
  12409. fretdposition:
  12410. description: 冻结今日头寸
  12411. type: number
  12412. frozenqty:
  12413. description: 持仓冻结数量
  12414. type: number
  12415. goodscode:
  12416. description: 商品代码
  12417. type: string
  12418. goodsid:
  12419. description: 商品Id
  12420. type: integer
  12421. goodsname:
  12422. description: 商品名称
  12423. type: string
  12424. goodunit:
  12425. description: 报价单位
  12426. type: string
  12427. goodunitid:
  12428. description: 报价单位ID
  12429. type: integer
  12430. holderamount:
  12431. description: 期初持仓总金额[商品币种]
  12432. type: number
  12433. marketid:
  12434. description: 所属市场ID
  12435. type: integer
  12436. openreqqty:
  12437. description: 开仓申请数量(用于比较最大持仓数量)
  12438. type: number
  12439. opentotalqty:
  12440. description: 开仓总数量
  12441. type: number
  12442. otherfrozenqty:
  12443. description: 持仓其他冻结数量(交割冻结)
  12444. type: number
  12445. positionqty:
  12446. description: 期初持仓数量
  12447. type: number
  12448. qtydecimalplace:
  12449. description: 成交量小数位
  12450. type: integer
  12451. tnqty:
  12452. description: T+N冻结总量
  12453. type: number
  12454. tnusedqty:
  12455. description: T+N使用量(可以使用T+N的冻结数量)
  12456. type: number
  12457. trademode:
  12458. description: 交易模式
  12459. type: integer
  12460. usedmargin:
  12461. description: 占用保证金[商品币种]
  12462. type: number
  12463. required:
  12464. - goodsid
  12465. type: object
  12466. quote.HistoryData:
  12467. properties:
  12468. c:
  12469. description: 收盘价
  12470. type: number
  12471. f:
  12472. description: 是否补充数据
  12473. type: boolean
  12474. h:
  12475. description: 最高价
  12476. type: number
  12477. hv:
  12478. description: 持仓量
  12479. type: integer
  12480. l:
  12481. description: 最低价
  12482. type: number
  12483. o:
  12484. description: 开盘价
  12485. type: number
  12486. s:
  12487. description: 结算价,日线周期(包括)以上才有
  12488. type: number
  12489. ts:
  12490. description: 时间
  12491. type: string
  12492. tt:
  12493. description: 总金额
  12494. type: number
  12495. tv:
  12496. description: 总量
  12497. type: integer
  12498. type: object
  12499. quote.HistoryTikData:
  12500. properties:
  12501. AV:
  12502. description: 卖量
  12503. type: integer
  12504. Ask:
  12505. description: 卖价
  12506. type: number
  12507. BV:
  12508. description: 买量
  12509. type: integer
  12510. Bid:
  12511. description: 买价
  12512. type: number
  12513. HI:
  12514. description: 单笔持仓
  12515. type: integer
  12516. HV:
  12517. description: 持仓量
  12518. type: integer
  12519. PE:
  12520. description: 现价
  12521. type: number
  12522. TDR:
  12523. description: 交易方向,0:买 1:卖
  12524. type: integer
  12525. TK:
  12526. description: 交易类型
  12527. type: integer
  12528. TS:
  12529. description: 行情时间文本
  12530. type: string
  12531. TT:
  12532. description: 现金额
  12533. type: number
  12534. Vol:
  12535. description: 现量
  12536. type: integer
  12537. type: object
  12538. quote.QueryQuoteDayRsp:
  12539. properties:
  12540. ask:
  12541. description: 卖1
  12542. type: number
  12543. ask2:
  12544. description: 卖2
  12545. type: number
  12546. ask3:
  12547. description: 卖3
  12548. type: number
  12549. ask4:
  12550. description: 卖4
  12551. type: number
  12552. ask5:
  12553. description: 卖5
  12554. type: number
  12555. ask6:
  12556. description: 卖6
  12557. type: number
  12558. ask7:
  12559. description: 卖7
  12560. type: number
  12561. ask8:
  12562. description: 卖8
  12563. type: number
  12564. ask9:
  12565. description: 卖9
  12566. type: number
  12567. ask10:
  12568. description: 卖10
  12569. type: number
  12570. askorderid:
  12571. description: 卖单号1
  12572. type: integer
  12573. askorderid2:
  12574. description: 卖单号2
  12575. type: integer
  12576. askorderid3:
  12577. description: 卖单号3
  12578. type: integer
  12579. askorderid4:
  12580. description: 卖单号4
  12581. type: integer
  12582. askorderid5:
  12583. description: 卖单号5
  12584. type: integer
  12585. askordervolume:
  12586. description: 卖单量1
  12587. type: integer
  12588. askordervolume2:
  12589. description: 卖单量2
  12590. type: integer
  12591. askordervolume3:
  12592. description: 卖单量3
  12593. type: integer
  12594. askordervolume4:
  12595. description: 卖单量4
  12596. type: integer
  12597. askordervolume5:
  12598. description: 卖单量5
  12599. type: integer
  12600. askordervolume6:
  12601. description: 卖单量6
  12602. type: integer
  12603. askordervolume7:
  12604. description: 卖单量7
  12605. type: integer
  12606. askordervolume8:
  12607. description: 卖单量8
  12608. type: integer
  12609. askordervolume9:
  12610. description: 卖单量9
  12611. type: integer
  12612. askordervolume10:
  12613. description: 卖单量10
  12614. type: integer
  12615. askqueueinfo:
  12616. description: 大利市卖港股用
  12617. type: string
  12618. askvolume:
  12619. description: 卖量1
  12620. type: integer
  12621. askvolume2:
  12622. description: 卖量2
  12623. type: integer
  12624. askvolume3:
  12625. description: 卖量3
  12626. type: integer
  12627. askvolume4:
  12628. description: 卖量4
  12629. type: integer
  12630. askvolume5:
  12631. description: 卖量5
  12632. type: integer
  12633. askvolume6:
  12634. description: 卖量6
  12635. type: integer
  12636. askvolume7:
  12637. description: 卖量7
  12638. type: integer
  12639. askvolume8:
  12640. description: 卖量8
  12641. type: integer
  12642. askvolume9:
  12643. description: 卖量9
  12644. type: integer
  12645. askvolume10:
  12646. description: 卖量10
  12647. type: integer
  12648. averageprice:
  12649. description: 均价
  12650. type: number
  12651. bid:
  12652. description: 买1
  12653. type: number
  12654. bid2:
  12655. description: 买2
  12656. type: number
  12657. bid3:
  12658. description: 买3
  12659. type: number
  12660. bid4:
  12661. description: 买4
  12662. type: number
  12663. bid5:
  12664. description: 买5
  12665. type: number
  12666. bid6:
  12667. description: 买6
  12668. type: number
  12669. bid7:
  12670. description: 买7
  12671. type: number
  12672. bid8:
  12673. description: 买8
  12674. type: number
  12675. bid9:
  12676. description: 买9
  12677. type: number
  12678. bid10:
  12679. description: 买10
  12680. type: number
  12681. bidorderid:
  12682. description: 买单号1
  12683. type: integer
  12684. bidorderid2:
  12685. description: 买单号2
  12686. type: integer
  12687. bidorderid3:
  12688. description: 买单号3
  12689. type: integer
  12690. bidorderid4:
  12691. description: 买单号4
  12692. type: integer
  12693. bidorderid5:
  12694. description: 买单号5
  12695. type: integer
  12696. bidordervolume:
  12697. description: 买单量1
  12698. type: integer
  12699. bidordervolume2:
  12700. description: 买单量2
  12701. type: integer
  12702. bidordervolume3:
  12703. description: 买单量3
  12704. type: integer
  12705. bidordervolume4:
  12706. description: 买单量4
  12707. type: integer
  12708. bidordervolume5:
  12709. description: 买单量5
  12710. type: integer
  12711. bidordervolume6:
  12712. description: 买单量6
  12713. type: integer
  12714. bidordervolume7:
  12715. description: 买单量7
  12716. type: integer
  12717. bidordervolume8:
  12718. description: 买单量8
  12719. type: integer
  12720. bidordervolume9:
  12721. description: 买单量9
  12722. type: integer
  12723. bidordervolume10:
  12724. description: 买单量10
  12725. type: integer
  12726. bidqueueinfo:
  12727. description: 大利市买港股用
  12728. type: string
  12729. bidvolume:
  12730. description: 买量1
  12731. type: integer
  12732. bidvolume2:
  12733. description: 买量2
  12734. type: integer
  12735. bidvolume3:
  12736. description: 买量3
  12737. type: integer
  12738. bidvolume4:
  12739. description: 买量4
  12740. type: integer
  12741. bidvolume5:
  12742. description: 买量5
  12743. type: integer
  12744. bidvolume6:
  12745. description: 买量6
  12746. type: integer
  12747. bidvolume7:
  12748. description: 买量7
  12749. type: integer
  12750. bidvolume8:
  12751. description: 买量8
  12752. type: integer
  12753. bidvolume9:
  12754. description: 买量9
  12755. type: integer
  12756. bidvolume10:
  12757. description: 买量10
  12758. type: integer
  12759. calloptionpremiums:
  12760. description: 认购期权1
  12761. type: integer
  12762. calloptionpremiums2:
  12763. description: 认购期权2
  12764. type: integer
  12765. calloptionpremiums3:
  12766. description: 认购期权3
  12767. type: integer
  12768. calloptionpremiums4:
  12769. description: 认购期权4
  12770. type: integer
  12771. calloptionpremiums5:
  12772. description: 认购期权5
  12773. type: integer
  12774. cleartime:
  12775. description: 清盘时间
  12776. type: integer
  12777. exchangecode:
  12778. description: 交易所代码
  12779. type: integer
  12780. exchangedate:
  12781. description: 交易日
  12782. type: integer
  12783. goodscode:
  12784. description: 商品代码
  12785. type: string
  12786. grepmarketprice:
  12787. description: 暗盘价 港股专用
  12788. type: number
  12789. highest:
  12790. description: 最高价
  12791. type: number
  12792. holdincrement:
  12793. description: 单笔持仓
  12794. type: integer
  12795. holdvolume:
  12796. description: 持仓
  12797. type: integer
  12798. iep:
  12799. description: 平衡价 港股专用
  12800. type: number
  12801. iev:
  12802. description: 平衡量 港股专用
  12803. type: number
  12804. inventory:
  12805. description: 库存
  12806. type: integer
  12807. iscleared:
  12808. description: 是否清盘标志
  12809. type: integer
  12810. issettled:
  12811. description: 是否结算标志
  12812. type: integer
  12813. last:
  12814. description: 最新价
  12815. type: number
  12816. lastlot:
  12817. description: 最新成交手数
  12818. type: integer
  12819. lasttime:
  12820. description: 行情时间(只有现价变化行情时间才变化)
  12821. type: string
  12822. lastturnover:
  12823. description: 最新成交金额
  12824. type: number
  12825. lastvolume:
  12826. description: 最新成交量
  12827. type: integer
  12828. limitdown:
  12829. description: 跌停价
  12830. type: number
  12831. limitup:
  12832. description: 涨停价
  12833. type: number
  12834. lowest:
  12835. description: 最低价
  12836. type: number
  12837. nontotalholdervolume:
  12838. description: 非交易持仓量
  12839. type: integer
  12840. nontotallot:
  12841. description: 非交易总手数
  12842. type: integer
  12843. nontotalturnover:
  12844. description: 非交易总金额
  12845. type: integer
  12846. nontotalvolume:
  12847. description: 非交易总量
  12848. type: integer
  12849. opened:
  12850. description: 开盘价
  12851. type: number
  12852. opentime:
  12853. description: 开盘时间
  12854. type: string
  12855. orderid:
  12856. description: 序号
  12857. type: integer
  12858. preclose:
  12859. description: 昨收
  12860. type: number
  12861. preholdvolume:
  12862. description: 昨持仓
  12863. type: integer
  12864. presettle:
  12865. description: 昨结价
  12866. type: number
  12867. publictradetype:
  12868. description: 公共交易标志类型 港股专用
  12869. type: string
  12870. putoptionpremiums:
  12871. description: 认沽期权1
  12872. type: integer
  12873. putoptionpremiums2:
  12874. description: 认沽期权2
  12875. type: integer
  12876. putoptionpremiums3:
  12877. description: 认沽期权3
  12878. type: integer
  12879. putoptionpremiums4:
  12880. description: 认沽期权4
  12881. type: integer
  12882. putoptionpremiums5:
  12883. description: 认沽期权5
  12884. type: integer
  12885. settle:
  12886. description: 结算价
  12887. type: number
  12888. strikeprice:
  12889. description: 发行价
  12890. type: number
  12891. totalaskvolume:
  12892. description: 内盘
  12893. type: integer
  12894. totalbidvolume:
  12895. description: 外盘
  12896. type: integer
  12897. totallot:
  12898. description: 总手数
  12899. type: integer
  12900. totalturnover:
  12901. description: 总金额
  12902. type: number
  12903. totalvolume:
  12904. description: 总量
  12905. type: integer
  12906. utclasttime:
  12907. description: utc的行情时间
  12908. type: string
  12909. type: object
  12910. quote.QueryTSDataRsp:
  12911. properties:
  12912. Count:
  12913. description: 交易日应有数据个数
  12914. type: integer
  12915. decimalPlace:
  12916. description: 小数位
  12917. type: integer
  12918. endTime:
  12919. description: 结束时间
  12920. type: string
  12921. goodsCode:
  12922. description: 商品代码
  12923. type: string
  12924. historyDatas:
  12925. description: 历史数据
  12926. items:
  12927. $ref: '#/definitions/quote.HistoryData'
  12928. type: array
  12929. outGoodsCode:
  12930. description: 外部商品代码
  12931. type: string
  12932. preSettle:
  12933. description: 昨结价
  12934. type: number
  12935. runSteps:
  12936. description: 交易日开休市计划
  12937. items:
  12938. $ref: '#/definitions/quote.TSDataRunStep'
  12939. type: array
  12940. startTime:
  12941. description: 开始时间
  12942. type: string
  12943. tradeDate:
  12944. description: 交易日
  12945. type: string
  12946. type: object
  12947. quote.TSDataRunStep:
  12948. properties:
  12949. end:
  12950. description: 真实结束时间
  12951. type: string
  12952. endflag:
  12953. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  12954. type: integer
  12955. endtime:
  12956. description: 结束时间(HH:mm)
  12957. type: string
  12958. endweekday:
  12959. description: 结束周几
  12960. type: integer
  12961. groupid:
  12962. description: 分组ID
  12963. type: integer
  12964. runstep:
  12965. description: 运行阶段 - 2:连续交易
  12966. type: integer
  12967. sectionid:
  12968. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  12969. 结束时间=结算时间 结束周几=结算周几
  12970. type: integer
  12971. start:
  12972. description: 真实开始时间
  12973. type: string
  12974. startflag:
  12975. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  12976. type: integer
  12977. starttime:
  12978. description: 起始时间(HH:mm)
  12979. type: string
  12980. startweekday:
  12981. description: 起始周几
  12982. type: integer
  12983. tradeweekday:
  12984. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  12985. type: integer
  12986. type: object
  12987. szdz.QueryConvertLogRsp:
  12988. properties:
  12989. accountid:
  12990. description: 资金账户ID
  12991. type: integer
  12992. clientticket:
  12993. description: 客户端流水号
  12994. type: string
  12995. converttype:
  12996. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  12997. type: integer
  12998. createtime:
  12999. description: 记账时间
  13000. type: string
  13001. daymaxvalue:
  13002. description: 配置当日最大转入限制
  13003. type: number
  13004. daymaxvalue2:
  13005. description: 配置当日最大转入限制(转入)
  13006. type: number
  13007. goodscode:
  13008. description: 商品代码
  13009. type: string
  13010. goodsname:
  13011. description: 商品名称
  13012. type: string
  13013. handlestatus:
  13014. description: 处理状态
  13015. type: integer
  13016. innergoodsid:
  13017. description: 内部商品ID
  13018. type: integer
  13019. inratio:
  13020. description: 配置转入比值
  13021. type: integer
  13022. invalue:
  13023. description: 目标值
  13024. type: number
  13025. logid:
  13026. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13027. type: integer
  13028. mobile:
  13029. description: 手机号码(加密存储)
  13030. type: string
  13031. outergoodscode:
  13032. description: 外部商品代码[JD\PD]
  13033. type: string
  13034. outratio:
  13035. description: 配置转出比值
  13036. type: integer
  13037. outvalue:
  13038. description: 源值
  13039. type: number
  13040. pddecimalplace:
  13041. description: PD小数位
  13042. type: integer
  13043. qty:
  13044. description: 数量
  13045. type: string
  13046. remark:
  13047. description: 备注
  13048. type: string
  13049. sessionid:
  13050. description: 会话ID
  13051. type: integer
  13052. timemaxvalue:
  13053. description: 配置单次最大转入限制
  13054. type: number
  13055. timemaxvalue2:
  13056. description: 配置单次最大转入限制(转入)
  13057. type: number
  13058. timeminvalue:
  13059. description: 配置单次最小数量限制
  13060. type: number
  13061. timeminvalue2:
  13062. description: 配置单次最小数量限制(转入)
  13063. type: number
  13064. tradedate:
  13065. description: 交易日(yyyyMMdd)
  13066. type: string
  13067. userid:
  13068. description: 用户ID
  13069. type: integer
  13070. required:
  13071. - logid
  13072. type: object
  13073. szdz.QueryGoodsPickupRsp:
  13074. properties:
  13075. accountid:
  13076. description: 账户ID
  13077. type: integer
  13078. address:
  13079. description: 提货人详细地址
  13080. type: string
  13081. auditer:
  13082. description: 审核人
  13083. type: integer
  13084. audittime:
  13085. description: 审核时间
  13086. type: string
  13087. cardnum:
  13088. description: 提货人证件号码
  13089. type: string
  13090. cardtypeid:
  13091. description: 提货人证件类型
  13092. type: integer
  13093. checkremark:
  13094. description: 审核备注
  13095. type: string
  13096. goodscode:
  13097. description: 商品代码
  13098. type: string
  13099. goodsid:
  13100. description: 商品ID
  13101. type: integer
  13102. goodsname:
  13103. description: 商品名称
  13104. type: string
  13105. handlestatus:
  13106. description: 处理状态
  13107. type: integer
  13108. marketid:
  13109. description: 市场ID
  13110. type: integer
  13111. phonenum:
  13112. description: 提货人联系方式
  13113. type: string
  13114. qty:
  13115. description: 提货数量
  13116. type: number
  13117. recivername:
  13118. description: 提货人姓名
  13119. type: string
  13120. reqtime:
  13121. description: 更新时间
  13122. type: string
  13123. takemode:
  13124. description: 提货方式 - 2:自提 3:配送
  13125. type: integer
  13126. takeorderid:
  13127. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  13128. type: string
  13129. takeorderstatus:
  13130. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  13131. type: integer
  13132. takeremark:
  13133. description: 提货备注
  13134. type: string
  13135. tradedate:
  13136. description: 交易日(yyyyMMdd)
  13137. type: string
  13138. userid:
  13139. description: 用户ID
  13140. type: integer
  13141. required:
  13142. - takeorderid
  13143. type: object
  13144. szdz.QueryRecieptOrderRsp:
  13145. properties:
  13146. accountName:
  13147. description: 所属账号名称(已脱敏)
  13148. type: string
  13149. accountid:
  13150. description: 资金账号
  13151. type: integer
  13152. buyorsell:
  13153. description: 方向 - 0:买 1:卖
  13154. type: integer
  13155. enableqty:
  13156. description: 可摘数量
  13157. type: integer
  13158. goodscode:
  13159. description: 商品代码
  13160. type: string
  13161. goodsid:
  13162. description: 商品ID
  13163. type: integer
  13164. goodsname:
  13165. description: 商品名称
  13166. type: string
  13167. orderid:
  13168. description: 委托单号
  13169. type: string
  13170. orderprice:
  13171. description: 委托价格
  13172. type: number
  13173. ordertime:
  13174. description: 委托时间
  13175. type: string
  13176. tradedate:
  13177. description: 交易日(yyyyMMdd)
  13178. type: string
  13179. required:
  13180. - ordertime
  13181. type: object
  13182. szdz.QuerySZDZTradePositionRsp:
  13183. properties:
  13184. accountid:
  13185. description: 账号Id
  13186. type: integer
  13187. agreeunit:
  13188. description: 合约单位
  13189. type: number
  13190. averageprice:
  13191. description: 持仓均价
  13192. type: number
  13193. buyorsell:
  13194. description: 方向 - 0:买 1:卖
  13195. type: integer
  13196. closetotalqty:
  13197. description: 平仓总数量
  13198. type: integer
  13199. curholderamount:
  13200. description: 当前持仓总金额
  13201. type: number
  13202. curpositionqty:
  13203. description: 当前持仓总数量
  13204. type: integer
  13205. currencyid:
  13206. description: 报价货币ID
  13207. type: integer
  13208. curtdposition:
  13209. description: 期末今日头寸
  13210. type: integer
  13211. decimalplace:
  13212. description: 报价小数位
  13213. type: integer
  13214. enableqty:
  13215. description: 可用量
  13216. type: integer
  13217. fretdposition:
  13218. description: 冻结今日头寸
  13219. type: integer
  13220. frozenqty:
  13221. description: 持仓冻结数量
  13222. type: integer
  13223. goodscode:
  13224. description: 商品代码(内部)
  13225. type: string
  13226. goodsid:
  13227. description: 商品Id
  13228. type: integer
  13229. goodsname:
  13230. description: 商品名称
  13231. type: string
  13232. goodunit:
  13233. description: 报价单位
  13234. type: string
  13235. goodunitid:
  13236. description: 报价单位ID
  13237. type: integer
  13238. holderamount:
  13239. description: 期初持仓总金额
  13240. type: number
  13241. marketid:
  13242. description: 市场ID
  13243. type: integer
  13244. openreqqty:
  13245. description: 开仓申请数量
  13246. type: integer
  13247. opentotalqty:
  13248. description: 开仓总数量
  13249. type: integer
  13250. otherfrozenqty:
  13251. description: 持仓其他冻结数量(交割冻结)
  13252. type: integer
  13253. positionqty:
  13254. description: 期初持仓数量
  13255. type: integer
  13256. szdz3freezqty:
  13257. description: 尚志大宗转换冻结总数量
  13258. type: integer
  13259. tnqty:
  13260. description: T+N冻结总量
  13261. type: integer
  13262. tnusedqty:
  13263. description: T+N使用量
  13264. type: integer
  13265. trademode:
  13266. description: 交易模式
  13267. type: integer
  13268. usedmargin:
  13269. description: 占用保证金
  13270. type: number
  13271. type: object
  13272. taaccount.QueryAmountLogRsp:
  13273. properties:
  13274. OPERATETYPENAME:
  13275. description: 资金操作类型名称
  13276. type: string
  13277. accountid:
  13278. description: 资金账户ID
  13279. type: integer
  13280. agoodscode:
  13281. description: 竞拍商品代码
  13282. type: string
  13283. agoodsname:
  13284. description: 竞拍商品名称
  13285. type: string
  13286. amount:
  13287. description: 资金金额
  13288. type: number
  13289. amountadjusttype:
  13290. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  13291. type: integer
  13292. autoid:
  13293. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  13294. type: integer
  13295. balance:
  13296. description: 期初余额
  13297. type: number
  13298. businesscode:
  13299. description: 业务编号
  13300. type: integer
  13301. createtime:
  13302. description: 发生时间
  13303. type: string
  13304. currencyid:
  13305. description: 币种ID
  13306. type: integer
  13307. currentbalance:
  13308. description: 期末余额(变动后金额)
  13309. type: number
  13310. dgoodscode:
  13311. description: 交割商品代码
  13312. type: string
  13313. dgoodsname:
  13314. description: 交割商品名称
  13315. type: string
  13316. goodscode:
  13317. description: 商品代码
  13318. type: string
  13319. goodsid:
  13320. description: 商品ID
  13321. type: integer
  13322. goodsname:
  13323. description: 商品名称
  13324. type: string
  13325. marketid:
  13326. description: 市场ID
  13327. type: integer
  13328. marketname:
  13329. description: 市场名称
  13330. type: string
  13331. moneyticket:
  13332. description: 资金流水号:银行端流水号
  13333. type: integer
  13334. operatetype:
  13335. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  13336. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  13337. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  13338. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  13339. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  13340. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  13341. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  13342. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  13343. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  13344. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  13345. type: integer
  13346. relationorderid:
  13347. description: 关联单号
  13348. type: string
  13349. remark:
  13350. description: 备注
  13351. type: string
  13352. trademode:
  13353. description: 交易模式
  13354. type: integer
  13355. required:
  13356. - accountid
  13357. - amount
  13358. - amountadjusttype
  13359. - autoid
  13360. - balance
  13361. - createtime
  13362. - currentbalance
  13363. - operatetype
  13364. type: object
  13365. taaccount.QueryHisAmountLogRsp:
  13366. properties:
  13367. OPERATETYPENAME:
  13368. description: 资金操作类型名称
  13369. type: string
  13370. accountid:
  13371. description: 资金账户ID
  13372. type: integer
  13373. agoodscode:
  13374. description: 竞拍商品代码
  13375. type: string
  13376. agoodsname:
  13377. description: 竞拍商品名称
  13378. type: string
  13379. amount:
  13380. description: 资金金额
  13381. type: number
  13382. amountadjusttype:
  13383. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  13384. type: integer
  13385. autoid:
  13386. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  13387. type: integer
  13388. balance:
  13389. description: 期初余额
  13390. type: number
  13391. businesscode:
  13392. description: 业务编号
  13393. type: integer
  13394. createtime:
  13395. description: 发生时间
  13396. type: string
  13397. currencyid:
  13398. description: 币种ID
  13399. type: integer
  13400. currentbalance:
  13401. description: 期末余额(变动后金额)
  13402. type: number
  13403. dgoodscode:
  13404. description: 交割商品代码
  13405. type: string
  13406. dgoodsname:
  13407. description: 交割商品名称
  13408. type: string
  13409. goodscode:
  13410. description: 商品代码
  13411. type: string
  13412. goodsid:
  13413. description: 商品ID
  13414. type: integer
  13415. goodsname:
  13416. description: 商品名称
  13417. type: string
  13418. histradedate:
  13419. description: 历史交易日
  13420. type: string
  13421. isvaliddata:
  13422. description: 是否有效 - 0:无效 1:有效
  13423. type: integer
  13424. marketid:
  13425. description: 市场ID
  13426. type: integer
  13427. marketname:
  13428. description: 市场名称
  13429. type: string
  13430. moneyticket:
  13431. description: 资金流水号:银行端流水号
  13432. type: integer
  13433. operatetype:
  13434. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  13435. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  13436. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  13437. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  13438. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  13439. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  13440. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  13441. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  13442. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  13443. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  13444. type: integer
  13445. relationorderid:
  13446. description: 关联单号
  13447. type: string
  13448. remark:
  13449. description: 备注
  13450. type: string
  13451. trademode:
  13452. description: 交易模式
  13453. type: integer
  13454. required:
  13455. - accountid
  13456. - amount
  13457. - amountadjusttype
  13458. - autoid
  13459. - balance
  13460. - createtime
  13461. - currentbalance
  13462. - histradedate
  13463. - operatetype
  13464. type: object
  13465. trade.QueryRecieptOrderRsp:
  13466. properties:
  13467. accountName:
  13468. description: 所属账号名称(已脱敏)
  13469. type: string
  13470. accountid:
  13471. description: 资金账号
  13472. type: integer
  13473. buyorsell:
  13474. description: 方向 - 0:买 1:卖
  13475. type: integer
  13476. enableqty:
  13477. description: 可摘数量
  13478. type: integer
  13479. goodscode:
  13480. description: 商品代码
  13481. type: string
  13482. goodsid:
  13483. description: 商品ID
  13484. type: integer
  13485. goodsname:
  13486. description: 商品名称
  13487. type: string
  13488. orderid:
  13489. description: 委托单号
  13490. type: string
  13491. orderprice:
  13492. description: 委托价格
  13493. type: number
  13494. ordertime:
  13495. description: 委托时间
  13496. type: string
  13497. tradedate:
  13498. description: 交易日(yyyyMMdd)
  13499. type: string
  13500. required:
  13501. - ordertime
  13502. type: object
  13503. user.LoginQueryRsp:
  13504. properties:
  13505. areaRoles:
  13506. description: 所属角色信息
  13507. items:
  13508. $ref: '#/definitions/models.Arearole'
  13509. type: array
  13510. externalExchanges:
  13511. description: 外部交易所
  13512. items:
  13513. $ref: '#/definitions/models.Externalexchange'
  13514. type: array
  13515. goodsgroups:
  13516. description: 商品组
  13517. items:
  13518. $ref: '#/definitions/models.Goodsgroup'
  13519. type: array
  13520. loginAccount:
  13521. $ref: '#/definitions/models.Loginaccount'
  13522. description: 登录账号
  13523. type: object
  13524. markets:
  13525. description: 市场
  13526. items:
  13527. $ref: '#/definitions/models.Market'
  13528. type: array
  13529. systemParams:
  13530. description: 系统参数
  13531. items:
  13532. $ref: '#/definitions/models.Systemparam'
  13533. type: array
  13534. userAccount:
  13535. $ref: '#/definitions/models.Useraccount'
  13536. description: 用户账号
  13537. type: object
  13538. userInfo:
  13539. $ref: '#/definitions/models.Userinfo'
  13540. description: 用户信息
  13541. type: object
  13542. username:
  13543. description: 用户姓名
  13544. type: string
  13545. type: object
  13546. info:
  13547. contact: {}
  13548. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  13549. license: {}
  13550. termsOfService: http://www.muchinfo.cn
  13551. title: MTP2.0 查询服务 API
  13552. version: "1.0"
  13553. paths:
  13554. /CPTrade/QueryCPTradeMyBidInfos:
  13555. get:
  13556. parameters:
  13557. - description: 资金账户
  13558. in: query
  13559. name: accountid
  13560. required: true
  13561. type: integer
  13562. - description: 预售市场ID
  13563. in: query
  13564. name: marketid
  13565. type: integer
  13566. - description: 预售商品ID
  13567. in: query
  13568. name: goodsid
  13569. type: integer
  13570. produces:
  13571. - application/json
  13572. responses:
  13573. "200":
  13574. description: OK
  13575. schema:
  13576. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  13577. "500":
  13578. description: Internal Server Error
  13579. schema:
  13580. $ref: '#/definitions/app.Response'
  13581. security:
  13582. - ApiKeyAuth: []
  13583. summary: 查询产能预售我的出价信息
  13584. tags:
  13585. - 产能预售
  13586. /CPTrade/QueryCPTradeOrderDetail:
  13587. get:
  13588. parameters:
  13589. - description: 预售商品ID
  13590. in: query
  13591. name: goodsid
  13592. type: integer
  13593. - description: 预售市场ID
  13594. in: query
  13595. name: marketid
  13596. type: integer
  13597. - description: 预售商品ID列表 - 格式:1,2,3
  13598. in: query
  13599. name: goodsids
  13600. type: string
  13601. produces:
  13602. - application/json
  13603. responses:
  13604. "200":
  13605. description: OK
  13606. schema:
  13607. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  13608. "500":
  13609. description: Internal Server Error
  13610. schema:
  13611. $ref: '#/definitions/app.Response'
  13612. security:
  13613. - ApiKeyAuth: []
  13614. summary: 查询产能预售委托单信息
  13615. tags:
  13616. - 产能预售
  13617. /CPTrade/QueryMyCPTradeGoods:
  13618. get:
  13619. parameters:
  13620. - description: 资金账户
  13621. in: query
  13622. name: accountid
  13623. required: true
  13624. type: integer
  13625. produces:
  13626. - application/json
  13627. responses:
  13628. "200":
  13629. description: OK
  13630. schema:
  13631. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  13632. "500":
  13633. description: Internal Server Error
  13634. schema:
  13635. $ref: '#/definitions/app.Response'
  13636. security:
  13637. - ApiKeyAuth: []
  13638. summary: 查询我的预售信息
  13639. tags:
  13640. - 产能预售
  13641. /CPTrade/QueryPositionCancel:
  13642. get:
  13643. parameters:
  13644. - description: 账户ID
  13645. in: query
  13646. name: userid
  13647. required: true
  13648. type: integer
  13649. - description: 注销ID
  13650. in: query
  13651. name: cancelid
  13652. type: integer
  13653. - description: 资金账户ID
  13654. in: query
  13655. name: accountid
  13656. type: integer
  13657. produces:
  13658. - application/json
  13659. responses:
  13660. "200":
  13661. description: OK
  13662. schema:
  13663. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  13664. "500":
  13665. description: Internal Server Error
  13666. schema:
  13667. $ref: '#/definitions/app.Response'
  13668. security:
  13669. - ApiKeyAuth: []
  13670. summary: 查询远期订单注销申请信息
  13671. tags:
  13672. - 产能预售
  13673. /CPTrade/QueryPreasleApply:
  13674. get:
  13675. parameters:
  13676. - description: 账户ID
  13677. in: query
  13678. name: userid
  13679. required: true
  13680. type: integer
  13681. - description: 申请ID
  13682. in: query
  13683. name: applyid
  13684. type: integer
  13685. - description: 资金账户ID
  13686. in: query
  13687. name: accountid
  13688. type: integer
  13689. produces:
  13690. - application/json
  13691. responses:
  13692. "200":
  13693. description: OK
  13694. schema:
  13695. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  13696. "500":
  13697. description: Internal Server Error
  13698. schema:
  13699. $ref: '#/definitions/app.Response'
  13700. security:
  13701. - ApiKeyAuth: []
  13702. summary: 查询产能预售申请信息
  13703. tags:
  13704. - 产能预售
  13705. /CPTrade/QueryPresaleGoodsEx:
  13706. get:
  13707. parameters:
  13708. - description: 预售商品ID
  13709. in: query
  13710. name: goodsid
  13711. type: integer
  13712. - description: 预售市场ID
  13713. in: query
  13714. name: marketid
  13715. type: integer
  13716. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  13717. in: query
  13718. name: presalemode
  13719. type: integer
  13720. - description: 预售商品ID列表 - 格式:1,2,3
  13721. in: query
  13722. name: goodsids
  13723. type: string
  13724. - description: 预售商品代码
  13725. in: query
  13726. name: goodscode
  13727. type: string
  13728. produces:
  13729. - application/json
  13730. responses:
  13731. "200":
  13732. description: OK
  13733. schema:
  13734. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  13735. "500":
  13736. description: Internal Server Error
  13737. schema:
  13738. $ref: '#/definitions/app.Response'
  13739. security:
  13740. - ApiKeyAuth: []
  13741. summary: 查询产能预售商品扩展信息
  13742. tags:
  13743. - 产能预售
  13744. /CPTrade/QueryUserGoodsData:
  13745. get:
  13746. parameters:
  13747. - description: 资金账户ID
  13748. in: query
  13749. name: accountid
  13750. required: true
  13751. type: integer
  13752. produces:
  13753. - application/json
  13754. responses:
  13755. "200":
  13756. description: OK
  13757. schema:
  13758. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  13759. "500":
  13760. description: Internal Server Error
  13761. schema:
  13762. $ref: '#/definitions/app.Response'
  13763. security:
  13764. - ApiKeyAuth: []
  13765. summary: 查询远期订单信息
  13766. tags:
  13767. - 产能预售
  13768. /Common/GetAllEnums:
  13769. get:
  13770. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  13771. parameters:
  13772. - description: 起始自增ID
  13773. in: query
  13774. name: autoid
  13775. type: integer
  13776. produces:
  13777. - application/json
  13778. responses:
  13779. "200":
  13780. description: OK
  13781. schema:
  13782. $ref: '#/definitions/models.Enumdicitem'
  13783. "500":
  13784. description: Internal Server Error
  13785. schema:
  13786. $ref: '#/definitions/app.Response'
  13787. summary: 获取所有枚举信息
  13788. tags:
  13789. - 通用服务
  13790. /Common/GetClientMenus:
  13791. get:
  13792. parameters:
  13793. - description: 登录账号
  13794. in: query
  13795. name: loginID
  13796. required: true
  13797. type: integer
  13798. - description: 终端类型,0:PC 1:Mobile
  13799. in: query
  13800. name: clientType
  13801. type: integer
  13802. produces:
  13803. - application/json
  13804. responses:
  13805. "200":
  13806. description: OK
  13807. schema:
  13808. items:
  13809. $ref: '#/definitions/common.ClientMenu'
  13810. type: array
  13811. "500":
  13812. description: Internal Server Error
  13813. schema:
  13814. $ref: '#/definitions/app.Response'
  13815. security:
  13816. - ApiKeyAuth: []
  13817. summary: 获取交易端菜单
  13818. tags:
  13819. - 通用服务
  13820. /Common/GetDivisions:
  13821. get:
  13822. produces:
  13823. - application/json
  13824. responses:
  13825. "200":
  13826. description: OK
  13827. schema:
  13828. $ref: '#/definitions/models.Division'
  13829. "500":
  13830. description: Internal Server Error
  13831. schema:
  13832. $ref: '#/definitions/app.Response'
  13833. summary: 查询区域信息
  13834. tags:
  13835. - 通用服务
  13836. /Common/GetServerTime:
  13837. get:
  13838. produces:
  13839. - application/json
  13840. responses:
  13841. "200":
  13842. description: OK
  13843. schema:
  13844. $ref: '#/definitions/app.Response'
  13845. "500":
  13846. description: Internal Server Error
  13847. schema:
  13848. $ref: '#/definitions/app.Response'
  13849. summary: 获取服务器时间
  13850. tags:
  13851. - 通用服务
  13852. /Common/NoticeReaded:
  13853. post:
  13854. parameters:
  13855. - description: 登录账号
  13856. in: query
  13857. name: loginID
  13858. required: true
  13859. type: integer
  13860. - description: 通知公告ID
  13861. in: query
  13862. name: noticeID
  13863. required: true
  13864. type: integer
  13865. produces:
  13866. - application/json
  13867. responses:
  13868. "200":
  13869. description: OK
  13870. schema:
  13871. $ref: '#/definitions/app.Response'
  13872. "500":
  13873. description: Internal Server Error
  13874. schema:
  13875. $ref: '#/definitions/app.Response'
  13876. security:
  13877. - ApiKeyAuth: []
  13878. summary: 通知公告设置已读请求
  13879. tags:
  13880. - 通用服务
  13881. /Common/QueryErrorInfos:
  13882. get:
  13883. description: 如果传入rowNumber,则返回此rowNumber后的数据
  13884. parameters:
  13885. - description: 起始行号前索引
  13886. in: query
  13887. name: rowNumber
  13888. type: string
  13889. produces:
  13890. - application/json
  13891. responses:
  13892. "200":
  13893. description: OK
  13894. schema:
  13895. $ref: '#/definitions/models.QueryErrorInfosRsp'
  13896. "500":
  13897. description: Internal Server Error
  13898. schema:
  13899. $ref: '#/definitions/app.Response'
  13900. summary: 获取数据库错误信息
  13901. tags:
  13902. - 通用服务
  13903. /Common/QueryImageConfigs:
  13904. get:
  13905. parameters:
  13906. - description: 用户id
  13907. in: query
  13908. name: userId
  13909. type: integer
  13910. - description: 类型 - 1:App首页轮播 2:我的
  13911. in: query
  13912. name: imageType
  13913. type: integer
  13914. produces:
  13915. - application/json
  13916. responses:
  13917. "200":
  13918. description: OK
  13919. schema:
  13920. $ref: '#/definitions/common.QueryImageConfigsRsp'
  13921. "500":
  13922. description: Internal Server Error
  13923. schema:
  13924. $ref: '#/definitions/app.Response'
  13925. summary: 查询轮播图配置信息
  13926. tags:
  13927. - 通用服务
  13928. /Common/QueryNotice:
  13929. get:
  13930. parameters:
  13931. - description: 页码
  13932. in: query
  13933. name: page
  13934. type: integer
  13935. - description: 每页条数
  13936. in: query
  13937. name: pagesize
  13938. type: integer
  13939. - description: 登录账号
  13940. in: query
  13941. name: loginID
  13942. required: true
  13943. type: integer
  13944. - description: 消息类型 - 1:公告通知 2:系统消息
  13945. in: query
  13946. name: msgType
  13947. type: integer
  13948. - description: 是否只获取未读信息
  13949. in: query
  13950. name: onlyUnRead
  13951. type: boolean
  13952. - description: 自增ID,传入后会返回这个ID后面的记录
  13953. in: query
  13954. name: lastID
  13955. type: integer
  13956. produces:
  13957. - application/json
  13958. responses:
  13959. "200":
  13960. description: OK
  13961. schema:
  13962. $ref: '#/definitions/common.QueryNoticeRsp'
  13963. "500":
  13964. description: Internal Server Error
  13965. schema:
  13966. $ref: '#/definitions/app.Response'
  13967. security:
  13968. - ApiKeyAuth: []
  13969. summary: 通知公告系统消息查询
  13970. tags:
  13971. - 通用服务
  13972. /Common/QueryProvincesAndCities:
  13973. get:
  13974. parameters:
  13975. - description: 省ID
  13976. in: query
  13977. name: provinceID
  13978. type: integer
  13979. produces:
  13980. - application/json
  13981. responses:
  13982. "200":
  13983. description: OK
  13984. schema:
  13985. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  13986. "500":
  13987. description: Internal Server Error
  13988. schema:
  13989. $ref: '#/definitions/app.Response'
  13990. summary: 查询省市信息(不包括区)
  13991. tags:
  13992. - 通用服务
  13993. /Common/QueryTableDefine:
  13994. get:
  13995. parameters:
  13996. - description: 表key
  13997. in: query
  13998. name: tableKey
  13999. type: string
  14000. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  14001. in: query
  14002. name: tableType
  14003. type: integer
  14004. produces:
  14005. - application/json
  14006. responses:
  14007. "200":
  14008. description: OK
  14009. schema:
  14010. $ref: '#/definitions/common.QueryTableDefineRsp'
  14011. "500":
  14012. description: Internal Server Error
  14013. schema:
  14014. $ref: '#/definitions/app.Response'
  14015. summary: 查询交易端列表头信息
  14016. tags:
  14017. - 通用服务
  14018. /Common/QueryTraderMenu:
  14019. get:
  14020. parameters:
  14021. - description: 登录账号
  14022. in: query
  14023. name: loginid
  14024. required: true
  14025. type: integer
  14026. produces:
  14027. - application/json
  14028. responses:
  14029. "200":
  14030. description: OK
  14031. schema:
  14032. $ref: '#/definitions/common.QueryTraderMenuRsp'
  14033. "500":
  14034. description: Internal Server Error
  14035. schema:
  14036. $ref: '#/definitions/app.Response'
  14037. summary: 查询交易端菜单
  14038. tags:
  14039. - 通用服务
  14040. /Delivery/QueryDeliveryRelation:
  14041. get:
  14042. parameters:
  14043. - description: 商品ID
  14044. in: query
  14045. name: goodsid
  14046. type: integer
  14047. - description: 品种ID
  14048. in: query
  14049. name: deliverygoodsid
  14050. type: integer
  14051. - description: 市场ID
  14052. in: query
  14053. name: marketid
  14054. type: integer
  14055. produces:
  14056. - application/json
  14057. responses:
  14058. "200":
  14059. description: OK
  14060. schema:
  14061. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  14062. "500":
  14063. description: Internal Server Error
  14064. schema:
  14065. $ref: '#/definitions/app.Response'
  14066. security:
  14067. - ApiKeyAuth: []
  14068. summary: 查询商品交割关系表
  14069. tags:
  14070. - 交割服务
  14071. /Ermcp/GetErmcpGoods:
  14072. get:
  14073. parameters:
  14074. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  14075. in: query
  14076. name: lastUpdateTime
  14077. type: string
  14078. produces:
  14079. - application/json
  14080. responses:
  14081. "200":
  14082. description: OK
  14083. schema:
  14084. $ref: '#/definitions/models.ErmcpGoods'
  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/GetErmcpGoodsSortByPosition:
  14095. get:
  14096. parameters:
  14097. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  14098. in: query
  14099. name: sortIndex
  14100. type: string
  14101. produces:
  14102. - application/json
  14103. responses:
  14104. "200":
  14105. description: OK
  14106. schema:
  14107. $ref: '#/definitions/models.Goodssortbypreposition'
  14108. "500":
  14109. description: Internal Server Error
  14110. schema:
  14111. $ref: '#/definitions/app.Response'
  14112. security:
  14113. - ApiKeyAuth: []
  14114. summary: 查询企业风管期货主力、次主力商品信息
  14115. tags:
  14116. - 企业风险管理(app)
  14117. /Ermcp/GetErmcpOutAccountStatus:
  14118. get:
  14119. parameters:
  14120. - description: 登录账号
  14121. in: query
  14122. name: loginID
  14123. required: true
  14124. type: integer
  14125. produces:
  14126. - application/json
  14127. responses:
  14128. "200":
  14129. description: OK
  14130. schema:
  14131. $ref: '#/definitions/models.Hedgemarketopenlog'
  14132. "500":
  14133. description: Internal Server Error
  14134. schema:
  14135. $ref: '#/definitions/app.Response'
  14136. security:
  14137. - ApiKeyAuth: []
  14138. summary: 获取目标登录账号当前对冲账号在线状态
  14139. tags:
  14140. - 企业风险管理(app)
  14141. /Ermcp/GetErmcpRoleFuncMenuLists:
  14142. get:
  14143. parameters:
  14144. - description: 登录账号
  14145. in: query
  14146. name: loginID
  14147. required: true
  14148. type: integer
  14149. produces:
  14150. - application/json
  14151. responses:
  14152. "200":
  14153. description: OK
  14154. schema:
  14155. $ref: '#/definitions/models.Funcmenulist'
  14156. "500":
  14157. description: Internal Server Error
  14158. schema:
  14159. $ref: '#/definitions/app.Response'
  14160. security:
  14161. - ApiKeyAuth: []
  14162. summary: 获取企业风管终端权限
  14163. tags:
  14164. - 企业风险管理(app)
  14165. /Ermcp/QueryAccMgrBizGroupSet:
  14166. get:
  14167. parameters:
  14168. - description: 用户ID
  14169. in: query
  14170. name: userid
  14171. required: true
  14172. type: integer
  14173. - description: 现货商品id
  14174. in: query
  14175. name: deliverygoodsid
  14176. type: integer
  14177. produces:
  14178. - application/json
  14179. responses:
  14180. "200":
  14181. description: OK
  14182. schema:
  14183. items:
  14184. $ref: '#/definitions/models.ErmcpBizGroupEx'
  14185. type: array
  14186. "500":
  14187. description: Internal Server Error
  14188. schema:
  14189. $ref: '#/definitions/app.Response'
  14190. security:
  14191. - ApiKeyAuth: []
  14192. summary: 查询业务类型分组(账户管理/账户设置)
  14193. tags:
  14194. - 企业风险管理(app)
  14195. /Ermcp/QueryAccMgrLoginUser:
  14196. get:
  14197. parameters:
  14198. - description: 用户ID
  14199. in: query
  14200. name: userid
  14201. required: true
  14202. type: integer
  14203. - description: 用户类型 2-机构 7-企业成员
  14204. in: query
  14205. name: usertype
  14206. type: integer
  14207. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  14208. in: query
  14209. name: querytype
  14210. required: true
  14211. type: integer
  14212. produces:
  14213. - application/json
  14214. responses:
  14215. "200":
  14216. description: OK
  14217. schema:
  14218. items:
  14219. $ref: '#/definitions/models.ErmcpLoginUserEx'
  14220. type: array
  14221. "500":
  14222. description: Internal Server Error
  14223. schema:
  14224. $ref: '#/definitions/app.Response'
  14225. security:
  14226. - ApiKeyAuth: []
  14227. summary: 查询账户管理登录账号(账户管理/登录账号)
  14228. tags:
  14229. - 企业风险管理(app)
  14230. /Ermcp/QueryAccMgrMainAccountInfo:
  14231. get:
  14232. parameters:
  14233. - description: 用户ID
  14234. in: query
  14235. name: userid
  14236. type: integer
  14237. - description: 主账号id
  14238. in: query
  14239. name: accountid
  14240. type: integer
  14241. produces:
  14242. - application/json
  14243. responses:
  14244. "200":
  14245. description: OK
  14246. schema:
  14247. items:
  14248. $ref: '#/definitions/models.MainAccountInfo'
  14249. type: array
  14250. "500":
  14251. description: Internal Server Error
  14252. schema:
  14253. $ref: '#/definitions/app.Response'
  14254. security:
  14255. - ApiKeyAuth: []
  14256. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  14257. tags:
  14258. - 企业风险管理(app)
  14259. /Ermcp/QueryAccMgrRole:
  14260. get:
  14261. parameters:
  14262. - description: 用户ID
  14263. in: query
  14264. name: userid
  14265. required: true
  14266. type: integer
  14267. produces:
  14268. - application/json
  14269. responses:
  14270. "200":
  14271. description: OK
  14272. schema:
  14273. items:
  14274. $ref: '#/definitions/models.ErmcpRole'
  14275. type: array
  14276. "500":
  14277. description: Internal Server Error
  14278. schema:
  14279. $ref: '#/definitions/app.Response'
  14280. security:
  14281. - ApiKeyAuth: []
  14282. summary: 查询账户管理角色设置(账户管理/角色设置)
  14283. tags:
  14284. - 企业风险管理(app)
  14285. /Ermcp/QueryAccMgrRoleMenu:
  14286. get:
  14287. parameters:
  14288. - description: 用户ID
  14289. in: query
  14290. name: userid
  14291. required: true
  14292. type: integer
  14293. - description: 角色id(可多个,逗号隔开)
  14294. in: query
  14295. name: roleid
  14296. type: string
  14297. produces:
  14298. - application/json
  14299. responses:
  14300. "200":
  14301. description: OK
  14302. schema:
  14303. items:
  14304. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  14305. type: array
  14306. "500":
  14307. description: Internal Server Error
  14308. schema:
  14309. $ref: '#/definitions/app.Response'
  14310. security:
  14311. - ApiKeyAuth: []
  14312. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  14313. tags:
  14314. - 企业风险管理(app)
  14315. /Ermcp/QueryAccMgrTaAccountInfo:
  14316. get:
  14317. parameters:
  14318. - description: 用户ID
  14319. in: query
  14320. name: userid
  14321. required: true
  14322. type: integer
  14323. - description: 账号id
  14324. in: query
  14325. name: accountid
  14326. type: integer
  14327. produces:
  14328. - application/json
  14329. responses:
  14330. "200":
  14331. description: OK
  14332. schema:
  14333. items:
  14334. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  14335. type: array
  14336. "500":
  14337. description: Internal Server Error
  14338. schema:
  14339. $ref: '#/definitions/app.Response'
  14340. security:
  14341. - ApiKeyAuth: []
  14342. summary: 查询账户管理授信(账户管理/账户设置/授信)
  14343. tags:
  14344. - 企业风险管理(app)
  14345. /Ermcp/QueryAccMgrTaaccount:
  14346. get:
  14347. parameters:
  14348. - description: 用户ID
  14349. in: query
  14350. name: userid
  14351. required: true
  14352. type: integer
  14353. produces:
  14354. - application/json
  14355. responses:
  14356. "200":
  14357. description: OK
  14358. schema:
  14359. items:
  14360. $ref: '#/definitions/models.ErmcpTaAccountEx'
  14361. type: array
  14362. "500":
  14363. description: Internal Server Error
  14364. schema:
  14365. $ref: '#/definitions/app.Response'
  14366. security:
  14367. - ApiKeyAuth: []
  14368. summary: 查询账户管理期货账号(账户管理/期货账号)
  14369. tags:
  14370. - 企业风险管理(app)
  14371. /Ermcp/QueryAvaildGoodsGroup:
  14372. get:
  14373. parameters:
  14374. - description: 所属机构ID
  14375. in: query
  14376. name: userid
  14377. required: true
  14378. type: integer
  14379. produces:
  14380. - application/json
  14381. responses:
  14382. "200":
  14383. description: OK
  14384. schema:
  14385. items:
  14386. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  14387. type: array
  14388. "500":
  14389. description: Internal Server Error
  14390. schema:
  14391. $ref: '#/definitions/app.Response'
  14392. security:
  14393. - ApiKeyAuth: []
  14394. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  14395. tags:
  14396. - 企业风险管理(app)
  14397. /Ermcp/QueryBusinessDj:
  14398. get:
  14399. parameters:
  14400. - description: 用户ID
  14401. in: query
  14402. name: UserId
  14403. required: true
  14404. type: integer
  14405. - description: 用户类型 2-机构 7-企业成员
  14406. in: query
  14407. name: usertype
  14408. type: integer
  14409. - description: 现货合同ID, 不填则查所有
  14410. in: query
  14411. name: relatedid
  14412. type: string
  14413. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14414. in: query
  14415. name: applystatus
  14416. type: string
  14417. produces:
  14418. - application/json
  14419. responses:
  14420. "200":
  14421. description: OK
  14422. schema:
  14423. items:
  14424. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  14425. type: array
  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/QueryBusinessFp:
  14436. get:
  14437. parameters:
  14438. - description: 用户ID
  14439. in: query
  14440. name: UserId
  14441. required: true
  14442. type: integer
  14443. - description: 用户类型 2-机构 7-企业成员
  14444. in: query
  14445. name: usertype
  14446. type: integer
  14447. - description: 现货合同ID, 不填则查所有
  14448. in: query
  14449. name: relatedid
  14450. type: string
  14451. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14452. in: query
  14453. name: applystatus
  14454. type: string
  14455. produces:
  14456. - application/json
  14457. responses:
  14458. "200":
  14459. description: OK
  14460. schema:
  14461. items:
  14462. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  14463. type: array
  14464. "500":
  14465. description: Internal Server Error
  14466. schema:
  14467. $ref: '#/definitions/app.Response'
  14468. security:
  14469. - ApiKeyAuth: []
  14470. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  14471. tags:
  14472. - 企业风险管理(app)
  14473. /Ermcp/QueryBusinessJs:
  14474. get:
  14475. parameters:
  14476. - description: 用户ID
  14477. in: query
  14478. name: UserId
  14479. required: true
  14480. type: integer
  14481. - description: 用户类型 2-机构 7-企业成员
  14482. in: query
  14483. name: usertype
  14484. type: integer
  14485. - description: 现货合同ID, 不填则查所有
  14486. in: query
  14487. name: relatedid
  14488. type: string
  14489. - description: 操作申请id
  14490. in: query
  14491. name: operateapplyid
  14492. type: string
  14493. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14494. in: query
  14495. name: applystatus
  14496. type: string
  14497. produces:
  14498. - application/json
  14499. responses:
  14500. "200":
  14501. description: OK
  14502. schema:
  14503. items:
  14504. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  14505. type: array
  14506. "500":
  14507. description: Internal Server Error
  14508. schema:
  14509. $ref: '#/definitions/app.Response'
  14510. security:
  14511. - ApiKeyAuth: []
  14512. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  14513. tags:
  14514. - 企业风险管理(app)
  14515. /Ermcp/QueryBusinessJsEx:
  14516. get:
  14517. parameters:
  14518. - description: 用户ID
  14519. in: query
  14520. name: UserId
  14521. required: true
  14522. type: integer
  14523. - description: 用户类型 2-机构 7-企业成员
  14524. in: query
  14525. name: usertype
  14526. type: integer
  14527. - description: 现货合同ID, 不填则查所有
  14528. in: query
  14529. name: relatedid
  14530. type: string
  14531. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14532. in: query
  14533. name: applystatus
  14534. type: string
  14535. produces:
  14536. - application/json
  14537. responses:
  14538. "200":
  14539. description: OK
  14540. schema:
  14541. items:
  14542. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  14543. type: array
  14544. "500":
  14545. description: Internal Server Error
  14546. schema:
  14547. $ref: '#/definitions/app.Response'
  14548. security:
  14549. - ApiKeyAuth: []
  14550. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  14551. tags:
  14552. - 企业风险管理(app)
  14553. /Ermcp/QueryBusinessKx:
  14554. get:
  14555. parameters:
  14556. - description: 用户ID
  14557. in: query
  14558. name: UserId
  14559. required: true
  14560. type: integer
  14561. - description: 用户类型 2-机构 7-企业成员
  14562. in: query
  14563. name: usertype
  14564. type: integer
  14565. - description: 现货合同ID, 不填则查所有
  14566. in: query
  14567. name: relatedid
  14568. type: string
  14569. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14570. in: query
  14571. name: applystatus
  14572. type: string
  14573. produces:
  14574. - application/json
  14575. responses:
  14576. "200":
  14577. description: OK
  14578. schema:
  14579. items:
  14580. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  14581. type: array
  14582. "500":
  14583. description: Internal Server Error
  14584. schema:
  14585. $ref: '#/definitions/app.Response'
  14586. security:
  14587. - ApiKeyAuth: []
  14588. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  14589. tags:
  14590. - 企业风险管理(app)
  14591. /Ermcp/QueryChangeLog:
  14592. get:
  14593. parameters:
  14594. - description: 合同ID
  14595. in: query
  14596. name: RelatedId
  14597. required: true
  14598. type: string
  14599. produces:
  14600. - application/json
  14601. responses:
  14602. "200":
  14603. description: OK
  14604. schema:
  14605. items:
  14606. $ref: '#/definitions/ermcp.QryOPLogRsp'
  14607. type: array
  14608. "500":
  14609. description: Internal Server Error
  14610. schema:
  14611. $ref: '#/definitions/app.Response'
  14612. security:
  14613. - ApiKeyAuth: []
  14614. summary: 查询变更记录
  14615. tags:
  14616. - 企业风险管理(app)
  14617. /Ermcp/QueryErmcpHisOrderDetails:
  14618. get:
  14619. parameters:
  14620. - description: 资金账户ID
  14621. in: query
  14622. name: accountID
  14623. required: true
  14624. type: integer
  14625. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14626. in: query
  14627. name: startDate
  14628. type: string
  14629. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14630. in: query
  14631. name: endDate
  14632. type: string
  14633. produces:
  14634. - application/json
  14635. responses:
  14636. "200":
  14637. description: OK
  14638. schema:
  14639. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14640. "500":
  14641. description: Internal Server Error
  14642. schema:
  14643. $ref: '#/definitions/app.Response'
  14644. security:
  14645. - ApiKeyAuth: []
  14646. summary: 获取企业风管期货历史委托单信息
  14647. tags:
  14648. - 企业风险管理(app)
  14649. /Ermcp/QueryErmcpHisTradeDetails:
  14650. get:
  14651. parameters:
  14652. - description: 资金账户ID
  14653. in: query
  14654. name: accountID
  14655. required: true
  14656. type: integer
  14657. - description: 商品ID
  14658. in: query
  14659. name: goodsID
  14660. type: integer
  14661. - description: 买卖方向,0:买 1:卖
  14662. in: query
  14663. name: buyOrSell
  14664. type: integer
  14665. - description: 关联委托单号
  14666. in: query
  14667. name: orderID
  14668. type: integer
  14669. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14670. in: query
  14671. name: startDate
  14672. type: string
  14673. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14674. in: query
  14675. name: endDate
  14676. type: string
  14677. produces:
  14678. - application/json
  14679. responses:
  14680. "200":
  14681. description: OK
  14682. schema:
  14683. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14684. "500":
  14685. description: Internal Server Error
  14686. schema:
  14687. $ref: '#/definitions/app.Response'
  14688. security:
  14689. - ApiKeyAuth: []
  14690. summary: 获取企业风管期货历史成交单信息
  14691. tags:
  14692. - 企业风险管理(app)
  14693. /Ermcp/QueryErmcpInnerHolderDetails:
  14694. get:
  14695. parameters:
  14696. - description: 资金账户ID
  14697. in: query
  14698. name: accountID
  14699. required: true
  14700. type: integer
  14701. - description: 商品ID
  14702. in: query
  14703. name: goodsID
  14704. type: integer
  14705. - description: 买卖方向,0:买 1:卖
  14706. in: query
  14707. name: buyOrSell
  14708. type: integer
  14709. produces:
  14710. - application/json
  14711. responses:
  14712. "200":
  14713. description: OK
  14714. schema:
  14715. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  14716. "500":
  14717. description: Internal Server Error
  14718. schema:
  14719. $ref: '#/definitions/app.Response'
  14720. security:
  14721. - ApiKeyAuth: []
  14722. summary: 获取企业风管期货内部持仓单信息
  14723. tags:
  14724. - 企业风险管理(app)
  14725. /Ermcp/QueryErmcpOrderDetails:
  14726. get:
  14727. parameters:
  14728. - description: 资金账户ID
  14729. in: query
  14730. name: accountID
  14731. required: true
  14732. type: integer
  14733. produces:
  14734. - application/json
  14735. responses:
  14736. "200":
  14737. description: OK
  14738. schema:
  14739. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14740. "500":
  14741. description: Internal Server Error
  14742. schema:
  14743. $ref: '#/definitions/app.Response'
  14744. security:
  14745. - ApiKeyAuth: []
  14746. summary: 获取企业风管期货委托单信息
  14747. tags:
  14748. - 企业风险管理(app)
  14749. /Ermcp/QueryErmcpTradeDetails:
  14750. get:
  14751. parameters:
  14752. - description: 资金账户ID
  14753. in: query
  14754. name: accountID
  14755. required: true
  14756. type: integer
  14757. - description: 商品ID
  14758. in: query
  14759. name: goodsID
  14760. type: integer
  14761. - description: 买卖方向,0:买 1:卖
  14762. in: query
  14763. name: buyOrSell
  14764. type: integer
  14765. - description: 关联委托单号
  14766. in: query
  14767. name: orderID
  14768. type: integer
  14769. produces:
  14770. - application/json
  14771. responses:
  14772. "200":
  14773. description: OK
  14774. schema:
  14775. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14776. "500":
  14777. description: Internal Server Error
  14778. schema:
  14779. $ref: '#/definitions/app.Response'
  14780. security:
  14781. - ApiKeyAuth: []
  14782. summary: 获取企业风管期货成交单信息
  14783. tags:
  14784. - 企业风险管理(app)
  14785. /Ermcp/QueryErmcpTradePosition:
  14786. get:
  14787. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  14788. parameters:
  14789. - description: 资金账户ID
  14790. in: query
  14791. name: accountID
  14792. required: true
  14793. type: integer
  14794. - description: 所属市场ID
  14795. in: query
  14796. name: marketID
  14797. type: integer
  14798. produces:
  14799. - application/json
  14800. responses:
  14801. "200":
  14802. description: OK
  14803. schema:
  14804. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  14805. "500":
  14806. description: Internal Server Error
  14807. schema:
  14808. $ref: '#/definitions/app.Response'
  14809. security:
  14810. - ApiKeyAuth: []
  14811. summary: 获取企业风管期货持仓头寸信息
  14812. tags:
  14813. - 企业风险管理(app)
  14814. /Ermcp/QueryExposureDetail:
  14815. get:
  14816. parameters:
  14817. - description: 所属机构ID
  14818. in: query
  14819. name: areaUserId
  14820. required: true
  14821. type: integer
  14822. - description: 套保商品
  14823. in: query
  14824. name: middleGoodsId
  14825. required: true
  14826. type: integer
  14827. produces:
  14828. - application/json
  14829. responses:
  14830. "200":
  14831. description: OK
  14832. schema:
  14833. items:
  14834. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  14835. type: array
  14836. "500":
  14837. description: Internal Server Error
  14838. schema:
  14839. $ref: '#/definitions/app.Response'
  14840. security:
  14841. - ApiKeyAuth: []
  14842. summary: 查询敞口现货明细
  14843. tags:
  14844. - 企业风险管理(app)
  14845. /Ermcp/QueryExposureGoods:
  14846. get:
  14847. parameters:
  14848. - description: 套保商品id
  14849. in: query
  14850. name: middlegoodsid
  14851. required: true
  14852. type: integer
  14853. produces:
  14854. - application/json
  14855. responses:
  14856. "200":
  14857. description: OK
  14858. schema:
  14859. items:
  14860. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  14861. type: array
  14862. "500":
  14863. description: Internal Server Error
  14864. schema:
  14865. $ref: '#/definitions/app.Response'
  14866. security:
  14867. - ApiKeyAuth: []
  14868. summary: 查询敞口主力合约
  14869. tags:
  14870. - 企业风险管理(app)
  14871. /Ermcp/QueryExposureHedgePosition:
  14872. get:
  14873. parameters:
  14874. - description: 用户id
  14875. in: query
  14876. name: userid
  14877. required: true
  14878. type: integer
  14879. produces:
  14880. - application/json
  14881. responses:
  14882. "200":
  14883. description: OK
  14884. schema:
  14885. items:
  14886. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  14887. type: array
  14888. "500":
  14889. description: Internal Server Error
  14890. schema:
  14891. $ref: '#/definitions/app.Response'
  14892. security:
  14893. - ApiKeyAuth: []
  14894. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  14895. tags:
  14896. - 企业风险管理(app)
  14897. /Ermcp/QueryExposureHedgePositionDetail:
  14898. get:
  14899. parameters:
  14900. - description: 所属机构ID
  14901. in: query
  14902. name: userid
  14903. required: true
  14904. type: integer
  14905. - description: 商品id
  14906. in: query
  14907. name: goodsId
  14908. required: true
  14909. type: integer
  14910. produces:
  14911. - application/json
  14912. responses:
  14913. "200":
  14914. description: OK
  14915. schema:
  14916. items:
  14917. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  14918. type: array
  14919. "500":
  14920. description: Internal Server Error
  14921. schema:
  14922. $ref: '#/definitions/app.Response'
  14923. security:
  14924. - ApiKeyAuth: []
  14925. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  14926. tags:
  14927. - 企业风险管理(app)
  14928. /Ermcp/QueryExposureSpot:
  14929. get:
  14930. parameters:
  14931. - description: 所属机构ID
  14932. in: query
  14933. name: areaUserId
  14934. required: true
  14935. type: integer
  14936. produces:
  14937. - application/json
  14938. responses:
  14939. "200":
  14940. description: OK
  14941. schema:
  14942. items:
  14943. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  14944. type: array
  14945. "500":
  14946. description: Internal Server Error
  14947. schema:
  14948. $ref: '#/definitions/app.Response'
  14949. security:
  14950. - ApiKeyAuth: []
  14951. summary: 查询敞口现货头寸(敞口/现货头寸)
  14952. tags:
  14953. - 企业风险管理(app)
  14954. /Ermcp/QueryExposureSpotDetail:
  14955. get:
  14956. parameters:
  14957. - description: 所属机构ID
  14958. in: query
  14959. name: areaUserId
  14960. required: true
  14961. type: integer
  14962. - description: 现货品种ID
  14963. in: query
  14964. name: wrstandardId
  14965. required: true
  14966. type: integer
  14967. produces:
  14968. - application/json
  14969. responses:
  14970. "200":
  14971. description: OK
  14972. schema:
  14973. items:
  14974. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  14975. type: array
  14976. "500":
  14977. description: Internal Server Error
  14978. schema:
  14979. $ref: '#/definitions/app.Response'
  14980. security:
  14981. - ApiKeyAuth: []
  14982. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14983. tags:
  14984. - 企业风险管理(app)
  14985. /Ermcp/QueryFuturesCompany:
  14986. get:
  14987. produces:
  14988. - application/json
  14989. responses:
  14990. "200":
  14991. description: OK
  14992. schema:
  14993. items:
  14994. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14995. type: array
  14996. "500":
  14997. description: Internal Server Error
  14998. schema:
  14999. $ref: '#/definitions/app.Response'
  15000. security:
  15001. - ApiKeyAuth: []
  15002. summary: 查询期货公司
  15003. tags:
  15004. - 企业风险管理(app)
  15005. /Ermcp/QueryGGConvertConfig:
  15006. get:
  15007. parameters:
  15008. - description: 品种id(不填则查所有)
  15009. in: query
  15010. name: goodsgroupid
  15011. type: integer
  15012. produces:
  15013. - application/json
  15014. responses:
  15015. "200":
  15016. description: OK
  15017. schema:
  15018. items:
  15019. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  15020. type: array
  15021. "500":
  15022. description: Internal Server Error
  15023. schema:
  15024. $ref: '#/definitions/app.Response'
  15025. security:
  15026. - ApiKeyAuth: []
  15027. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  15028. tags:
  15029. - 企业风险管理(app)
  15030. /Ermcp/QueryGoodsBrand:
  15031. get:
  15032. parameters:
  15033. - description: 用户ID
  15034. in: query
  15035. name: userid
  15036. required: true
  15037. type: integer
  15038. - description: 现货商品ID
  15039. in: query
  15040. name: wrstandardid
  15041. type: integer
  15042. produces:
  15043. - application/json
  15044. responses:
  15045. "200":
  15046. description: OK
  15047. schema:
  15048. items:
  15049. $ref: '#/definitions/models.ErmcpGoodsBrand'
  15050. type: array
  15051. "500":
  15052. description: Internal Server Error
  15053. schema:
  15054. $ref: '#/definitions/app.Response'
  15055. security:
  15056. - ApiKeyAuth: []
  15057. summary: 查询商品品牌
  15058. tags:
  15059. - 企业风险管理(app)
  15060. /Ermcp/QueryGoodsModel:
  15061. get:
  15062. parameters:
  15063. - description: 用户ID
  15064. in: query
  15065. name: userid
  15066. required: true
  15067. type: integer
  15068. produces:
  15069. - application/json
  15070. responses:
  15071. "200":
  15072. description: OK
  15073. schema:
  15074. items:
  15075. $ref: '#/definitions/models.ErmcpGoodsModel'
  15076. type: array
  15077. "500":
  15078. description: Internal Server Error
  15079. schema:
  15080. $ref: '#/definitions/app.Response'
  15081. security:
  15082. - ApiKeyAuth: []
  15083. summary: 查询商品型号
  15084. tags:
  15085. - 企业风险管理(app)
  15086. /Ermcp/QueryHisExposure:
  15087. get:
  15088. parameters:
  15089. - description: 用户id
  15090. in: query
  15091. name: userid
  15092. required: true
  15093. type: integer
  15094. - description: 每个品种记录数
  15095. in: query
  15096. name: lastNum
  15097. required: true
  15098. type: integer
  15099. produces:
  15100. - application/json
  15101. responses:
  15102. "200":
  15103. description: OK
  15104. schema:
  15105. items:
  15106. $ref: '#/definitions/ermcp.HisExposureRsp'
  15107. type: array
  15108. "500":
  15109. description: Internal Server Error
  15110. schema:
  15111. $ref: '#/definitions/app.Response'
  15112. security:
  15113. - ApiKeyAuth: []
  15114. summary: 查询历史敞口(菜单:敞口/历史敞口)
  15115. tags:
  15116. - 企业风险管理(app)
  15117. /Ermcp/QueryMiddleGoods:
  15118. get:
  15119. parameters:
  15120. - description: 所属机构ID
  15121. in: query
  15122. name: userid
  15123. required: true
  15124. type: integer
  15125. - description: 状态 0-停用 1-正常
  15126. in: query
  15127. name: status
  15128. required: true
  15129. type: integer
  15130. produces:
  15131. - application/json
  15132. responses:
  15133. "200":
  15134. description: OK
  15135. schema:
  15136. items:
  15137. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  15138. type: array
  15139. "500":
  15140. description: Internal Server Error
  15141. schema:
  15142. $ref: '#/definitions/app.Response'
  15143. security:
  15144. - ApiKeyAuth: []
  15145. summary: 查询套保品种(菜单:套保品种)
  15146. tags:
  15147. - 企业风险管理(app)
  15148. /Ermcp/QueryMiddleGoodsChangeLog:
  15149. get:
  15150. parameters:
  15151. - description: 所属机构ID
  15152. in: query
  15153. name: userid
  15154. required: true
  15155. type: integer
  15156. - description: 套保品种id
  15157. in: query
  15158. name: middlegoodsid
  15159. required: true
  15160. type: integer
  15161. produces:
  15162. - application/json
  15163. responses:
  15164. "200":
  15165. description: OK
  15166. schema:
  15167. items:
  15168. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  15169. type: array
  15170. "500":
  15171. description: Internal Server Error
  15172. schema:
  15173. $ref: '#/definitions/app.Response'
  15174. security:
  15175. - ApiKeyAuth: []
  15176. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  15177. tags:
  15178. - 企业风险管理(app)
  15179. /Ermcp/QueryMiddleGoodsDetail:
  15180. get:
  15181. parameters:
  15182. - description: 所属机构ID
  15183. in: query
  15184. name: userid
  15185. required: true
  15186. type: integer
  15187. - description: 套保品种id
  15188. in: query
  15189. name: middlegoodsid
  15190. type: integer
  15191. produces:
  15192. - application/json
  15193. responses:
  15194. "200":
  15195. description: OK
  15196. schema:
  15197. items:
  15198. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  15199. type: array
  15200. "500":
  15201. description: Internal Server Error
  15202. schema:
  15203. $ref: '#/definitions/app.Response'
  15204. security:
  15205. - ApiKeyAuth: []
  15206. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  15207. tags:
  15208. - 企业风险管理(app)
  15209. /Ermcp/QueryPendingAuditInfo:
  15210. get:
  15211. parameters:
  15212. - description: 用户ID
  15213. in: query
  15214. name: UserId
  15215. required: true
  15216. type: integer
  15217. produces:
  15218. - application/json
  15219. responses:
  15220. "200":
  15221. description: OK
  15222. schema:
  15223. items:
  15224. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  15225. type: array
  15226. "500":
  15227. description: Internal Server Error
  15228. schema:
  15229. $ref: '#/definitions/app.Response'
  15230. security:
  15231. - ApiKeyAuth: []
  15232. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  15233. tags:
  15234. - 企业风险管理(app)
  15235. /Ermcp/QueryRealtimeExposure:
  15236. get:
  15237. parameters:
  15238. - description: 所属机构ID
  15239. in: query
  15240. name: userid
  15241. required: true
  15242. type: integer
  15243. produces:
  15244. - application/json
  15245. responses:
  15246. "200":
  15247. description: OK
  15248. schema:
  15249. items:
  15250. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  15251. type: array
  15252. "500":
  15253. description: Internal Server Error
  15254. schema:
  15255. $ref: '#/definitions/app.Response'
  15256. security:
  15257. - ApiKeyAuth: []
  15258. summary: 查询实时敞口
  15259. tags:
  15260. - 企业风险管理(app)
  15261. /Ermcp/QueryRealtimeExposurePosition:
  15262. get:
  15263. parameters:
  15264. - description: 用户id
  15265. in: query
  15266. name: userid
  15267. required: true
  15268. type: integer
  15269. - description: 套保商品ID
  15270. in: query
  15271. name: middleGoodsId
  15272. required: true
  15273. type: integer
  15274. produces:
  15275. - application/json
  15276. responses:
  15277. "200":
  15278. description: OK
  15279. schema:
  15280. items:
  15281. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  15282. type: array
  15283. "500":
  15284. description: Internal Server Error
  15285. schema:
  15286. $ref: '#/definitions/app.Response'
  15287. security:
  15288. - ApiKeyAuth: []
  15289. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  15290. tags:
  15291. - 企业风险管理(app)
  15292. /Ermcp/QueryTradeConfigTMP:
  15293. get:
  15294. parameters:
  15295. - description: 所属机构id
  15296. in: query
  15297. name: areauserid
  15298. type: integer
  15299. produces:
  15300. - application/json
  15301. responses:
  15302. "200":
  15303. description: OK
  15304. schema:
  15305. items:
  15306. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  15307. type: array
  15308. "500":
  15309. description: Internal Server Error
  15310. schema:
  15311. $ref: '#/definitions/app.Response'
  15312. security:
  15313. - ApiKeyAuth: []
  15314. summary: 查询交易模板配置
  15315. tags:
  15316. - 企业风险管理(app)
  15317. /Ermcp/QueryUserInfo:
  15318. get:
  15319. parameters:
  15320. - description: 所属机构用户ID
  15321. in: query
  15322. name: MemberUserID
  15323. required: true
  15324. type: integer
  15325. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  15326. in: query
  15327. name: queryType
  15328. required: true
  15329. type: integer
  15330. produces:
  15331. - application/json
  15332. responses:
  15333. "200":
  15334. description: OK
  15335. schema:
  15336. items:
  15337. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  15338. type: array
  15339. "500":
  15340. description: Internal Server Error
  15341. schema:
  15342. $ref: '#/definitions/app.Response'
  15343. security:
  15344. - ApiKeyAuth: []
  15345. summary: 查询客户资料
  15346. tags:
  15347. - 企业风险管理(app)
  15348. /Ermcp/QueryWarehouseInfo:
  15349. get:
  15350. parameters:
  15351. - description: 用户ID
  15352. in: query
  15353. name: userid
  15354. required: true
  15355. type: integer
  15356. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  15357. in: query
  15358. name: status
  15359. type: string
  15360. produces:
  15361. - application/json
  15362. responses:
  15363. "200":
  15364. description: OK
  15365. schema:
  15366. items:
  15367. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  15368. type: array
  15369. "500":
  15370. description: Internal Server Error
  15371. schema:
  15372. $ref: '#/definitions/app.Response'
  15373. security:
  15374. - ApiKeyAuth: []
  15375. summary: 查询仓库信息
  15376. tags:
  15377. - 企业风险管理(app)
  15378. /Ermcp3/QryAreaExpourseContractDetail:
  15379. get:
  15380. parameters:
  15381. - description: 用户ID
  15382. in: query
  15383. name: userid
  15384. required: true
  15385. type: integer
  15386. - description: 套保商品id
  15387. in: query
  15388. name: middlegoodsid
  15389. required: true
  15390. type: integer
  15391. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15392. in: query
  15393. name: cycletype
  15394. required: true
  15395. type: integer
  15396. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15397. 全(0)【原值】
  15398. in: query
  15399. name: cycletime
  15400. required: true
  15401. type: string
  15402. produces:
  15403. - application/json
  15404. responses:
  15405. "200":
  15406. description: OK
  15407. schema:
  15408. items:
  15409. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  15410. type: array
  15411. "500":
  15412. description: Internal Server Error
  15413. schema:
  15414. $ref: '#/definitions/app.Response'
  15415. security:
  15416. - ApiKeyAuth: []
  15417. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  15418. tags:
  15419. - 企业风险管理v3(app)
  15420. /Ermcp3/QryAreaExpourseFutuDetail:
  15421. get:
  15422. parameters:
  15423. - description: 用户ID
  15424. in: query
  15425. name: userid
  15426. required: true
  15427. type: integer
  15428. - description: 套保商品id
  15429. in: query
  15430. name: middlegoodsid
  15431. required: true
  15432. type: integer
  15433. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15434. in: query
  15435. name: cycletype
  15436. required: true
  15437. type: integer
  15438. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15439. 全(0)【原值】
  15440. in: query
  15441. name: cycletime
  15442. required: true
  15443. type: string
  15444. produces:
  15445. - application/json
  15446. responses:
  15447. "200":
  15448. description: OK
  15449. schema:
  15450. items:
  15451. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  15452. type: array
  15453. "500":
  15454. description: Internal Server Error
  15455. schema:
  15456. $ref: '#/definitions/app.Response'
  15457. security:
  15458. - ApiKeyAuth: []
  15459. summary: 查询敞口期货明细(敞口报表/期货明细)
  15460. tags:
  15461. - 企业风险管理v3(app)
  15462. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  15463. get:
  15464. parameters:
  15465. - description: 用户ID
  15466. in: query
  15467. name: userid
  15468. required: true
  15469. type: integer
  15470. - description: 套保商品id
  15471. in: query
  15472. name: middlegoodsid
  15473. required: true
  15474. type: integer
  15475. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15476. in: query
  15477. name: cycletype
  15478. required: true
  15479. type: integer
  15480. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15481. 全(0)【原值】
  15482. in: query
  15483. name: cycletime
  15484. required: true
  15485. type: string
  15486. produces:
  15487. - application/json
  15488. responses:
  15489. "200":
  15490. description: OK
  15491. schema:
  15492. items:
  15493. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  15494. type: array
  15495. "500":
  15496. description: Internal Server Error
  15497. schema:
  15498. $ref: '#/definitions/app.Response'
  15499. security:
  15500. - ApiKeyAuth: []
  15501. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  15502. tags:
  15503. - 企业风险管理v3(app)
  15504. /Ermcp3/QryAreaExpourseParamChLogDetail:
  15505. get:
  15506. parameters:
  15507. - description: 用户ID
  15508. in: query
  15509. name: userid
  15510. required: true
  15511. type: integer
  15512. - description: 套保商品id
  15513. in: query
  15514. name: middlegoodsid
  15515. required: true
  15516. type: integer
  15517. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15518. in: query
  15519. name: cycletype
  15520. required: true
  15521. type: integer
  15522. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15523. 全(0)【原值】
  15524. in: query
  15525. name: cycletime
  15526. required: true
  15527. type: string
  15528. produces:
  15529. - application/json
  15530. responses:
  15531. "200":
  15532. description: OK
  15533. schema:
  15534. items:
  15535. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  15536. type: array
  15537. "500":
  15538. description: Internal Server Error
  15539. schema:
  15540. $ref: '#/definitions/app.Response'
  15541. security:
  15542. - ApiKeyAuth: []
  15543. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  15544. tags:
  15545. - 企业风险管理v3(app)
  15546. /Ermcp3/QryAreaExpourseReport:
  15547. get:
  15548. parameters:
  15549. - description: 用户ID
  15550. in: query
  15551. name: userid
  15552. required: true
  15553. type: integer
  15554. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  15555. in: query
  15556. name: querytype
  15557. required: true
  15558. type: integer
  15559. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15560. in: query
  15561. name: cycletype
  15562. required: true
  15563. type: integer
  15564. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15565. 全(0)【原值】
  15566. in: query
  15567. name: cycletime
  15568. required: true
  15569. type: string
  15570. produces:
  15571. - application/json
  15572. responses:
  15573. "200":
  15574. description: OK
  15575. schema:
  15576. items:
  15577. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  15578. type: array
  15579. "500":
  15580. description: Internal Server Error
  15581. schema:
  15582. $ref: '#/definitions/app.Response'
  15583. security:
  15584. - ApiKeyAuth: []
  15585. summary: 查询敞口报表
  15586. tags:
  15587. - 企业风险管理v3(app)
  15588. /Ermcp3/QryAreaSpotplReport:
  15589. get:
  15590. parameters:
  15591. - description: 用户ID
  15592. in: query
  15593. name: userid
  15594. required: true
  15595. type: integer
  15596. - description: 查询类型 1-报表 2-报表明细
  15597. in: query
  15598. name: querytype
  15599. required: true
  15600. type: integer
  15601. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15602. in: query
  15603. name: cycletype
  15604. required: true
  15605. type: integer
  15606. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15607. 全(0)【原值】
  15608. in: query
  15609. name: cycletime
  15610. required: true
  15611. type: string
  15612. - description: 现货品种id(明细必填)
  15613. in: query
  15614. name: deliverygoodsid
  15615. type: integer
  15616. - description: 币种id(明细必填)
  15617. in: query
  15618. name: currencyid
  15619. type: integer
  15620. produces:
  15621. - application/json
  15622. responses:
  15623. "200":
  15624. description: OK
  15625. schema:
  15626. items:
  15627. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  15628. type: array
  15629. "500":
  15630. description: Internal Server Error
  15631. schema:
  15632. $ref: '#/definitions/app.Response'
  15633. security:
  15634. - ApiKeyAuth: []
  15635. summary: 查询现货报表
  15636. tags:
  15637. - 企业风险管理v3(app)
  15638. /Ermcp3/QryAreaStockReport:
  15639. get:
  15640. parameters:
  15641. - description: 用户ID
  15642. in: query
  15643. name: userid
  15644. required: true
  15645. type: integer
  15646. - description: 查询类型 1-报表 2-报表明细
  15647. in: query
  15648. name: querytype
  15649. required: true
  15650. type: integer
  15651. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15652. in: query
  15653. name: cycletype
  15654. required: true
  15655. type: integer
  15656. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15657. 全(0)【原值】
  15658. in: query
  15659. name: cycletime
  15660. required: true
  15661. type: string
  15662. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  15663. in: query
  15664. name: sumfields
  15665. type: string
  15666. - description: 品种ID
  15667. in: query
  15668. name: deliverygoodsid
  15669. type: integer
  15670. - description: 品类ID
  15671. in: query
  15672. name: wrstandardid
  15673. type: integer
  15674. - description: 品牌ID
  15675. in: query
  15676. name: spotgoodsbrandid
  15677. type: integer
  15678. - description: 仓库ID
  15679. in: query
  15680. name: warehouseinfoid
  15681. type: integer
  15682. produces:
  15683. - application/json
  15684. responses:
  15685. "200":
  15686. description: OK
  15687. schema:
  15688. items:
  15689. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  15690. type: array
  15691. "500":
  15692. description: Internal Server Error
  15693. schema:
  15694. $ref: '#/definitions/app.Response'
  15695. security:
  15696. - ApiKeyAuth: []
  15697. summary: 查询库存报表
  15698. tags:
  15699. - 企业风险管理v3(app)
  15700. /Ermcp3/QryAreaSumPL:
  15701. get:
  15702. parameters:
  15703. - description: 用户ID
  15704. in: query
  15705. name: userid
  15706. required: true
  15707. type: integer
  15708. - description: 查询类型 1-报表 2-报表明细
  15709. in: query
  15710. name: querytype
  15711. required: true
  15712. type: integer
  15713. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15714. in: query
  15715. name: cycletype
  15716. required: true
  15717. type: integer
  15718. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15719. 全(0)【原值】
  15720. in: query
  15721. name: cycletime
  15722. required: true
  15723. type: string
  15724. - description: 币种id(明细必填)
  15725. in: query
  15726. name: currencyid
  15727. type: integer
  15728. produces:
  15729. - application/json
  15730. responses:
  15731. "200":
  15732. description: OK
  15733. schema:
  15734. items:
  15735. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  15736. type: array
  15737. "500":
  15738. description: Internal Server Error
  15739. schema:
  15740. $ref: '#/definitions/app.Response'
  15741. security:
  15742. - ApiKeyAuth: []
  15743. summary: 查询汇总损益表
  15744. tags:
  15745. - 企业风险管理v3(app)
  15746. /Ermcp3/QryFinanceReport:
  15747. get:
  15748. parameters:
  15749. - description: 用户ID
  15750. in: query
  15751. name: userid
  15752. required: true
  15753. type: integer
  15754. - description: 查询类型 1-报表 2-报表明细
  15755. in: query
  15756. name: querytype
  15757. required: true
  15758. type: integer
  15759. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15760. in: query
  15761. name: cycletype
  15762. required: true
  15763. type: integer
  15764. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15765. 全(0)【原值】
  15766. in: query
  15767. name: cycletime
  15768. required: true
  15769. type: string
  15770. - description: 币种id(报表明细必填)
  15771. in: query
  15772. name: currencyid
  15773. type: integer
  15774. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  15775. in: query
  15776. name: sumfields
  15777. type: string
  15778. produces:
  15779. - application/json
  15780. responses:
  15781. "200":
  15782. description: OK
  15783. schema:
  15784. items:
  15785. $ref: '#/definitions/models.Ermcp3FinanceReport'
  15786. type: array
  15787. "500":
  15788. description: Internal Server Error
  15789. schema:
  15790. $ref: '#/definitions/app.Response'
  15791. security:
  15792. - ApiKeyAuth: []
  15793. summary: 查询财务报表
  15794. tags:
  15795. - 企业风险管理v3(app)
  15796. /Ermcp3/QryTaFutureDataReport:
  15797. get:
  15798. parameters:
  15799. - description: 用户ID
  15800. in: query
  15801. name: userid
  15802. required: true
  15803. type: integer
  15804. - description: 查询类型 1-报表 2-报表明细
  15805. in: query
  15806. name: querytype
  15807. required: true
  15808. type: integer
  15809. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15810. in: query
  15811. name: cycletype
  15812. required: true
  15813. type: integer
  15814. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15815. 全(0)【原值】
  15816. in: query
  15817. name: cycletime
  15818. required: true
  15819. type: string
  15820. - description: 币种id(查明细必填)
  15821. in: query
  15822. name: currencyid
  15823. type: integer
  15824. - description: 品种id(查明细必填)
  15825. in: query
  15826. name: goodsgroupid
  15827. type: integer
  15828. - description: 商品id(查明细必填)
  15829. in: query
  15830. name: goodsid
  15831. type: integer
  15832. - description: 买卖方向(查明细必填)
  15833. in: query
  15834. name: buyorsell
  15835. type: integer
  15836. produces:
  15837. - application/json
  15838. responses:
  15839. "200":
  15840. description: OK
  15841. schema:
  15842. items:
  15843. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  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/QueryAreaStock:
  15855. get:
  15856. parameters:
  15857. - description: 用户ID
  15858. in: query
  15859. name: userid
  15860. required: true
  15861. type: integer
  15862. produces:
  15863. - application/json
  15864. responses:
  15865. "200":
  15866. description: OK
  15867. schema:
  15868. items:
  15869. $ref: '#/definitions/models.Ermcp3AreaStock'
  15870. type: array
  15871. "500":
  15872. description: Internal Server Error
  15873. schema:
  15874. $ref: '#/definitions/app.Response'
  15875. security:
  15876. - ApiKeyAuth: []
  15877. summary: 查询机构库存(库存管理/当前库存)
  15878. tags:
  15879. - 企业风险管理v3(app)
  15880. /Ermcp3/QueryAreaStockApply:
  15881. get:
  15882. parameters:
  15883. - description: 用户ID
  15884. in: query
  15885. name: userid
  15886. required: true
  15887. type: integer
  15888. - description: 用户类型 2-机构 7-企业成员
  15889. in: query
  15890. name: usertype
  15891. type: integer
  15892. - description: 现货商品ID
  15893. in: query
  15894. name: deliverygoodsid
  15895. type: integer
  15896. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  15897. in: query
  15898. name: inouttype
  15899. type: string
  15900. - description: 合同ID
  15901. in: query
  15902. name: spotcontractid
  15903. type: integer
  15904. - description: 品类ID
  15905. in: query
  15906. name: wrstandardid
  15907. type: integer
  15908. - description: 品牌ID
  15909. in: query
  15910. name: spotgoodsbrandid
  15911. type: integer
  15912. - description: 仓库ID
  15913. in: query
  15914. name: warehouseinfoid
  15915. type: integer
  15916. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15917. in: query
  15918. name: applystatus
  15919. type: string
  15920. produces:
  15921. - application/json
  15922. responses:
  15923. "200":
  15924. description: OK
  15925. schema:
  15926. items:
  15927. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15928. type: array
  15929. "500":
  15930. description: Internal Server Error
  15931. schema:
  15932. $ref: '#/definitions/app.Response'
  15933. security:
  15934. - ApiKeyAuth: []
  15935. summary: 查询库存申请(出入库记录|库存审核)
  15936. tags:
  15937. - 企业风险管理v3(app)
  15938. /Ermcp3/QueryAreaStockApplySum:
  15939. get:
  15940. parameters:
  15941. - description: 合同ID
  15942. in: query
  15943. name: spotcontractid
  15944. type: integer
  15945. produces:
  15946. - application/json
  15947. responses:
  15948. "200":
  15949. description: OK
  15950. schema:
  15951. items:
  15952. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  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/QueryDGFactoryItem:
  15964. get:
  15965. parameters:
  15966. - description: 用户id
  15967. in: query
  15968. name: userid
  15969. type: integer
  15970. - description: 用户类型 2-机构 7-企业成员
  15971. in: query
  15972. name: usertype
  15973. type: integer
  15974. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15975. in: query
  15976. name: dgfactoryitemid
  15977. type: integer
  15978. - description: 现货品种ID
  15979. in: query
  15980. name: deliverygoodsid
  15981. type: integer
  15982. - description: 要素项类型
  15983. in: query
  15984. name: dgfactoryitemtypeid
  15985. type: integer
  15986. - description: 顺序
  15987. in: query
  15988. name: orderindex
  15989. type: integer
  15990. produces:
  15991. - application/json
  15992. responses:
  15993. "200":
  15994. description: OK
  15995. schema:
  15996. items:
  15997. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  15998. type: array
  15999. "500":
  16000. description: Internal Server Error
  16001. schema:
  16002. $ref: '#/definitions/app.Response'
  16003. security:
  16004. - ApiKeyAuth: []
  16005. summary: 查询品种要素定义项
  16006. tags:
  16007. - 企业风险管理v3(app)
  16008. /Ermcp3/QueryDeliveryGoods:
  16009. get:
  16010. parameters:
  16011. - description: 用户id
  16012. in: query
  16013. name: userid
  16014. required: true
  16015. type: integer
  16016. - description: 用户类型 2-机构 7-企业成员
  16017. in: query
  16018. name: usertype
  16019. type: integer
  16020. - description: 排除已配置的业务类型商品 1-套保 2-套利
  16021. in: query
  16022. name: excludecfg
  16023. type: integer
  16024. produces:
  16025. - application/json
  16026. responses:
  16027. "200":
  16028. description: OK
  16029. schema:
  16030. items:
  16031. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  16032. type: array
  16033. "500":
  16034. description: Internal Server Error
  16035. schema:
  16036. $ref: '#/definitions/app.Response'
  16037. security:
  16038. - ApiKeyAuth: []
  16039. summary: 查询现货商品
  16040. tags:
  16041. - 企业风险管理v3(app)
  16042. /Ermcp3/QueryDeliveryGoodsDetail:
  16043. get:
  16044. parameters:
  16045. - description: 用户id
  16046. in: query
  16047. name: userid
  16048. required: true
  16049. type: integer
  16050. - description: 用户类型 2-机构 7-企业成员
  16051. in: query
  16052. name: usertype
  16053. type: integer
  16054. - description: 现货商品id
  16055. in: query
  16056. name: deliverygoodsid
  16057. type: integer
  16058. produces:
  16059. - application/json
  16060. responses:
  16061. "200":
  16062. description: OK
  16063. schema:
  16064. items:
  16065. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  16066. type: array
  16067. "500":
  16068. description: Internal Server Error
  16069. schema:
  16070. $ref: '#/definitions/app.Response'
  16071. security:
  16072. - ApiKeyAuth: []
  16073. summary: 查询现货商品详情
  16074. tags:
  16075. - 企业风险管理v3(app)
  16076. /Ermcp3/QueryExposureDetail:
  16077. get:
  16078. parameters:
  16079. - description: 用户id
  16080. in: query
  16081. name: userid
  16082. required: true
  16083. type: integer
  16084. - description: 用户类型 2-机构 7-企业成员
  16085. in: query
  16086. name: usertype
  16087. type: integer
  16088. - description: 套保商品
  16089. in: query
  16090. name: middlegoodsid
  16091. required: true
  16092. type: integer
  16093. produces:
  16094. - application/json
  16095. responses:
  16096. "200":
  16097. description: OK
  16098. schema:
  16099. items:
  16100. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  16101. type: array
  16102. "500":
  16103. description: Internal Server Error
  16104. schema:
  16105. $ref: '#/definitions/app.Response'
  16106. security:
  16107. - ApiKeyAuth: []
  16108. summary: 查询敞口现货明细
  16109. tags:
  16110. - 企业风险管理v3(app)
  16111. /Ermcp3/QueryExposureSpot:
  16112. get:
  16113. parameters:
  16114. - description: 用户id
  16115. in: query
  16116. name: userid
  16117. required: true
  16118. type: integer
  16119. - description: 用户类型 2-机构 7-企业成员
  16120. in: query
  16121. name: usertype
  16122. type: integer
  16123. produces:
  16124. - application/json
  16125. responses:
  16126. "200":
  16127. description: OK
  16128. schema:
  16129. items:
  16130. $ref: '#/definitions/models.Ermcp3AreaSpot'
  16131. type: array
  16132. "500":
  16133. description: Internal Server Error
  16134. schema:
  16135. $ref: '#/definitions/app.Response'
  16136. security:
  16137. - ApiKeyAuth: []
  16138. summary: 查询敞口现货头寸(敞口/现货头寸)
  16139. tags:
  16140. - 企业风险管理v3(app)
  16141. /Ermcp3/QueryExposureSpotDetail:
  16142. get:
  16143. parameters:
  16144. - description: 用户id
  16145. in: query
  16146. name: userid
  16147. required: true
  16148. type: integer
  16149. - description: 用户类型 2-机构 7-企业成员
  16150. in: query
  16151. name: usertype
  16152. type: integer
  16153. - description: 现货品种ID
  16154. in: query
  16155. name: deliverygoodsid
  16156. required: true
  16157. type: integer
  16158. produces:
  16159. - application/json
  16160. responses:
  16161. "200":
  16162. description: OK
  16163. schema:
  16164. items:
  16165. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  16166. type: array
  16167. "500":
  16168. description: Internal Server Error
  16169. schema:
  16170. $ref: '#/definitions/app.Response'
  16171. security:
  16172. - ApiKeyAuth: []
  16173. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  16174. tags:
  16175. - 企业风险管理v3(app)
  16176. /Ermcp3/QueryGoodsGroup:
  16177. get:
  16178. parameters:
  16179. - description: 用户id
  16180. in: query
  16181. name: userid
  16182. required: true
  16183. type: integer
  16184. - description: 用户类型 2-机构 7-企业成员
  16185. in: query
  16186. name: usertype
  16187. type: integer
  16188. - description: 排除套保品中已关联的商品组 1-排除
  16189. in: query
  16190. name: excludecfg
  16191. type: integer
  16192. produces:
  16193. - application/json
  16194. responses:
  16195. "200":
  16196. description: OK
  16197. schema:
  16198. items:
  16199. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  16200. type: array
  16201. "500":
  16202. description: Internal Server Error
  16203. schema:
  16204. $ref: '#/definitions/app.Response'
  16205. security:
  16206. - ApiKeyAuth: []
  16207. summary: 查询期货商品组
  16208. tags:
  16209. - 企业风险管理v3(app)
  16210. /Ermcp3/QueryGoodsWrstandard:
  16211. get:
  16212. parameters:
  16213. - description: 用户id
  16214. in: query
  16215. name: userid
  16216. required: true
  16217. type: integer
  16218. - description: 用户类型 2-机构 7-企业成员
  16219. in: query
  16220. name: usertype
  16221. type: integer
  16222. - description: 现货商品id
  16223. in: query
  16224. name: deliverygoodsid
  16225. type: integer
  16226. produces:
  16227. - application/json
  16228. responses:
  16229. "200":
  16230. description: OK
  16231. schema:
  16232. items:
  16233. $ref: '#/definitions/models.Ermcp3Wrstandard'
  16234. type: array
  16235. "500":
  16236. description: Internal Server Error
  16237. schema:
  16238. $ref: '#/definitions/app.Response'
  16239. security:
  16240. - ApiKeyAuth: []
  16241. summary: 查询商品品类
  16242. tags:
  16243. - 企业风险管理v3(app)
  16244. /Ermcp3/QueryGoodsbrand:
  16245. get:
  16246. parameters:
  16247. - description: 用户id
  16248. in: query
  16249. name: userid
  16250. required: true
  16251. type: integer
  16252. - description: 用户类型 2-机构 7-企业成员
  16253. in: query
  16254. name: usertype
  16255. type: integer
  16256. produces:
  16257. - application/json
  16258. responses:
  16259. "200":
  16260. description: OK
  16261. schema:
  16262. items:
  16263. $ref: '#/definitions/models.Ermcp3Brand'
  16264. type: array
  16265. "500":
  16266. description: Internal Server Error
  16267. schema:
  16268. $ref: '#/definitions/app.Response'
  16269. security:
  16270. - ApiKeyAuth: []
  16271. summary: 查询商品品牌
  16272. tags:
  16273. - 企业风险管理v3(app)
  16274. /Ermcp3/QueryHedgePlan:
  16275. get:
  16276. parameters:
  16277. - description: 用户ID
  16278. in: query
  16279. name: userid
  16280. required: true
  16281. type: integer
  16282. - description: 用户类型 2-机构 7-企业成员
  16283. in: query
  16284. name: usertype
  16285. type: integer
  16286. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  16287. in: query
  16288. name: hedgeplanstatus
  16289. required: true
  16290. type: string
  16291. produces:
  16292. - application/json
  16293. responses:
  16294. "200":
  16295. description: OK
  16296. schema:
  16297. items:
  16298. $ref: '#/definitions/models.Ermcp3HedgePlan'
  16299. type: array
  16300. "500":
  16301. description: Internal Server Error
  16302. schema:
  16303. $ref: '#/definitions/app.Response'
  16304. security:
  16305. - ApiKeyAuth: []
  16306. summary: 查询套保计划
  16307. tags:
  16308. - 企业风险管理v3(app)
  16309. /Ermcp3/QueryMiddleGoodsDetail:
  16310. get:
  16311. parameters:
  16312. - description: 用户id
  16313. in: query
  16314. name: userid
  16315. required: true
  16316. type: integer
  16317. - description: 用户类型 2-机构 7-企业成员
  16318. in: query
  16319. name: usertype
  16320. type: integer
  16321. - description: 套保品种id
  16322. in: query
  16323. name: middlegoodsid
  16324. type: integer
  16325. produces:
  16326. - application/json
  16327. responses:
  16328. "200":
  16329. description: OK
  16330. schema:
  16331. items:
  16332. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  16333. type: array
  16334. "500":
  16335. description: Internal Server Error
  16336. schema:
  16337. $ref: '#/definitions/app.Response'
  16338. security:
  16339. - ApiKeyAuth: []
  16340. summary: 查询套保品种详情(套保品种/商品详情)
  16341. tags:
  16342. - 企业风险管理v3(app)
  16343. /Ermcp3/QueryRootUserAccount:
  16344. get:
  16345. parameters:
  16346. - description: 用户ID
  16347. in: query
  16348. name: userid
  16349. required: true
  16350. type: integer
  16351. produces:
  16352. - application/json
  16353. responses:
  16354. "200":
  16355. description: OK
  16356. schema:
  16357. items:
  16358. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  16359. type: array
  16360. "500":
  16361. description: Internal Server Error
  16362. schema:
  16363. $ref: '#/definitions/app.Response'
  16364. security:
  16365. - ApiKeyAuth: []
  16366. summary: 查询顶级用户信息
  16367. tags:
  16368. - 企业风险管理v3(app)
  16369. /Ermcp3/QuerySpotContract:
  16370. get:
  16371. parameters:
  16372. - description: 用户id
  16373. in: query
  16374. name: userid
  16375. required: true
  16376. type: integer
  16377. - description: 用户类型 2-机构 7-企业成员
  16378. in: query
  16379. name: usertype
  16380. type: integer
  16381. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  16382. in: query
  16383. name: querytype
  16384. required: true
  16385. type: integer
  16386. - description: 合同ID(SpotContractId)
  16387. in: query
  16388. name: contractid
  16389. type: string
  16390. produces:
  16391. - application/json
  16392. responses:
  16393. "200":
  16394. description: OK
  16395. schema:
  16396. items:
  16397. $ref: '#/definitions/models.Ermcp3Contract'
  16398. type: array
  16399. "500":
  16400. description: Internal Server Error
  16401. schema:
  16402. $ref: '#/definitions/app.Response'
  16403. security:
  16404. - ApiKeyAuth: []
  16405. summary: 查询现货合同
  16406. tags:
  16407. - 企业风险管理v3(app)
  16408. /Ermcp3/QuerySpotContractBS:
  16409. get:
  16410. parameters:
  16411. - description: 用户id
  16412. in: query
  16413. name: userid
  16414. required: true
  16415. type: integer
  16416. - description: 用户类型 2-机构 7-企业成员
  16417. in: query
  16418. name: usertype
  16419. type: integer
  16420. - description: 合同类型 1-采购, -1-销售
  16421. in: query
  16422. name: contracttype
  16423. required: true
  16424. type: integer
  16425. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  16426. in: query
  16427. name: querytype
  16428. required: true
  16429. type: integer
  16430. - description: 合同ID(SpotContractId)
  16431. in: query
  16432. name: contractid
  16433. type: string
  16434. produces:
  16435. - application/json
  16436. responses:
  16437. "200":
  16438. description: OK
  16439. schema:
  16440. items:
  16441. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  16442. type: array
  16443. "500":
  16444. description: Internal Server Error
  16445. schema:
  16446. $ref: '#/definitions/app.Response'
  16447. security:
  16448. - ApiKeyAuth: []
  16449. summary: 查询合同(采购/销售)
  16450. tags:
  16451. - 企业风险管理v3(app)
  16452. /Ermcp3/QuerySpotGoodsPrice:
  16453. get:
  16454. parameters:
  16455. - description: 用户ID
  16456. in: query
  16457. name: userid
  16458. required: true
  16459. type: integer
  16460. produces:
  16461. - application/json
  16462. responses:
  16463. "200":
  16464. description: OK
  16465. schema:
  16466. items:
  16467. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  16468. type: array
  16469. "500":
  16470. description: Internal Server Error
  16471. schema:
  16472. $ref: '#/definitions/app.Response'
  16473. security:
  16474. - ApiKeyAuth: []
  16475. summary: 查询现货市价(现货市价)
  16476. tags:
  16477. - 企业风险管理v3(app)
  16478. /Ermcp3/QuerySpotGoodsPriceLog:
  16479. get:
  16480. parameters:
  16481. - description: 用户ID
  16482. in: query
  16483. name: userid
  16484. required: true
  16485. type: integer
  16486. - description: 现货商品ID
  16487. in: query
  16488. name: deliverygoodsid
  16489. required: true
  16490. type: integer
  16491. - description: 品牌ID
  16492. in: query
  16493. name: brandid
  16494. type: integer
  16495. - description: 品类ID
  16496. in: query
  16497. name: wrstandardid
  16498. type: integer
  16499. produces:
  16500. - application/json
  16501. responses:
  16502. "200":
  16503. description: OK
  16504. schema:
  16505. items:
  16506. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  16507. type: array
  16508. "500":
  16509. description: Internal Server Error
  16510. schema:
  16511. $ref: '#/definitions/app.Response'
  16512. security:
  16513. - ApiKeyAuth: []
  16514. summary: 查询现货市价详情(现货市价/详情)
  16515. tags:
  16516. - 企业风险管理v3(app)
  16517. /Erms2/QueryArbitrageStrategy:
  16518. get:
  16519. parameters:
  16520. - description: 账户ID
  16521. in: query
  16522. name: userid
  16523. required: true
  16524. type: integer
  16525. - description: 商品组ID(品种ID)
  16526. in: query
  16527. name: goodsgroupid
  16528. type: string
  16529. produces:
  16530. - application/json
  16531. responses:
  16532. "200":
  16533. description: OK
  16534. schema:
  16535. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  16536. "500":
  16537. description: Internal Server Error
  16538. schema:
  16539. $ref: '#/definitions/app.Response'
  16540. security:
  16541. - ApiKeyAuth: []
  16542. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  16543. tags:
  16544. - 风险管理
  16545. /Erms2/QueryInnerTradeDetail:
  16546. get:
  16547. parameters:
  16548. - description: 资金账户
  16549. in: query
  16550. name: accountid
  16551. required: true
  16552. type: integer
  16553. produces:
  16554. - application/json
  16555. responses:
  16556. "200":
  16557. description: OK
  16558. schema:
  16559. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  16560. "500":
  16561. description: Internal Server Error
  16562. schema:
  16563. $ref: '#/definitions/app.Response'
  16564. security:
  16565. - ApiKeyAuth: []
  16566. summary: 查询内部成交单信息
  16567. tags:
  16568. - 风险管理
  16569. /Erms2/QuerySpotContract:
  16570. get:
  16571. parameters:
  16572. - description: 策略申请ID
  16573. in: query
  16574. name: asapplyid
  16575. required: true
  16576. type: integer
  16577. - description: 现货合同ID
  16578. in: query
  16579. name: spotcontractid
  16580. type: integer
  16581. produces:
  16582. - application/json
  16583. responses:
  16584. "200":
  16585. description: OK
  16586. schema:
  16587. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  16588. "500":
  16589. description: Internal Server Error
  16590. schema:
  16591. $ref: '#/definitions/app.Response'
  16592. security:
  16593. - ApiKeyAuth: []
  16594. summary: 查询现货合同表信息(指定策略ID、未结束的)
  16595. tags:
  16596. - 风险管理
  16597. /Erms3/AddErms2ASApply:
  16598. post:
  16599. parameters:
  16600. - description: 申请参数
  16601. in: body
  16602. name: jsonBody
  16603. required: true
  16604. schema:
  16605. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  16606. produces:
  16607. - application/json
  16608. responses:
  16609. "200":
  16610. description: OK
  16611. schema:
  16612. $ref: '#/definitions/app.Response'
  16613. "500":
  16614. description: Internal Server Error
  16615. schema:
  16616. $ref: '#/definitions/app.Response'
  16617. security:
  16618. - ApiKeyAuth: []
  16619. summary: 新增期现套利业务申请
  16620. tags:
  16621. - 风险管理v3
  16622. /Erms3/AddErms2SpotTradeApply:
  16623. post:
  16624. parameters:
  16625. - description: 申请参数
  16626. in: body
  16627. name: jsonBody
  16628. required: true
  16629. schema:
  16630. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  16631. produces:
  16632. - application/json
  16633. responses:
  16634. "200":
  16635. description: OK
  16636. schema:
  16637. $ref: '#/definitions/app.Response'
  16638. "500":
  16639. description: Internal Server Error
  16640. schema:
  16641. $ref: '#/definitions/app.Response'
  16642. security:
  16643. - ApiKeyAuth: []
  16644. summary: 新增现货贸易业务申请
  16645. tags:
  16646. - 风险管理v3
  16647. /Erms3/AddSpotContractApply:
  16648. post:
  16649. parameters:
  16650. - description: 申请参数
  16651. in: body
  16652. name: jsonBody
  16653. required: true
  16654. schema:
  16655. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  16656. produces:
  16657. - application/json
  16658. responses:
  16659. "200":
  16660. description: OK
  16661. schema:
  16662. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  16663. "500":
  16664. description: Internal Server Error
  16665. schema:
  16666. $ref: '#/definitions/app.Response'
  16667. security:
  16668. - ApiKeyAuth: []
  16669. summary: 新增现货合同申请
  16670. tags:
  16671. - 风险管理v3
  16672. /Erms3/AddUserInfoApply:
  16673. post:
  16674. parameters:
  16675. - description: 用户信息
  16676. in: body
  16677. name: jsonBody
  16678. required: true
  16679. schema:
  16680. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  16681. produces:
  16682. - application/json
  16683. responses:
  16684. "200":
  16685. description: OK
  16686. schema:
  16687. $ref: '#/definitions/app.Response'
  16688. "500":
  16689. description: Internal Server Error
  16690. schema:
  16691. $ref: '#/definitions/app.Response'
  16692. security:
  16693. - ApiKeyAuth: []
  16694. summary: 新增客户申请
  16695. tags:
  16696. - 风险管理v3
  16697. /Erms3/DeleteUserInfoApply:
  16698. get:
  16699. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  16700. parameters:
  16701. - description: 用户ID
  16702. in: query
  16703. name: userID
  16704. required: true
  16705. type: integer
  16706. produces:
  16707. - application/json
  16708. responses:
  16709. "200":
  16710. description: OK
  16711. schema:
  16712. $ref: '#/definitions/app.Response'
  16713. "500":
  16714. description: Internal Server Error
  16715. schema:
  16716. $ref: '#/definitions/app.Response'
  16717. security:
  16718. - ApiKeyAuth: []
  16719. summary: 删除客户申请
  16720. tags:
  16721. - 风险管理v3
  16722. /Erms3/ModifyUserInfoApply:
  16723. post:
  16724. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  16725. int, "userstate": 2 }'
  16726. parameters:
  16727. - description: 用户信息
  16728. in: body
  16729. name: jsonBody
  16730. required: true
  16731. schema:
  16732. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  16733. produces:
  16734. - application/json
  16735. responses:
  16736. "200":
  16737. description: OK
  16738. schema:
  16739. $ref: '#/definitions/app.Response'
  16740. "500":
  16741. description: Internal Server Error
  16742. schema:
  16743. $ref: '#/definitions/app.Response'
  16744. security:
  16745. - ApiKeyAuth: []
  16746. summary: 修改客户申请
  16747. tags:
  16748. - 风险管理v3
  16749. /Erms3/QueryBusinessInfo:
  16750. get:
  16751. parameters:
  16752. - description: 资金账号ID列表,用逗号分隔
  16753. in: query
  16754. name: accountids
  16755. required: true
  16756. type: string
  16757. - description: 状态,0为未结束 1为已结束
  16758. in: query
  16759. name: status
  16760. required: true
  16761. type: integer
  16762. produces:
  16763. - application/json
  16764. responses:
  16765. "200":
  16766. description: OK
  16767. schema:
  16768. items:
  16769. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  16770. type: array
  16771. "500":
  16772. description: Internal Server Error
  16773. schema:
  16774. $ref: '#/definitions/app.Response'
  16775. security:
  16776. - ApiKeyAuth: []
  16777. summary: 查询业务表单数据
  16778. tags:
  16779. - 风险管理v3
  16780. /Erms3/QueryPendingAuditContract:
  16781. get:
  16782. parameters:
  16783. - description: 资金账号ID列表,逗号隔开
  16784. in: query
  16785. name: accountids
  16786. required: true
  16787. type: string
  16788. - description: 合同类型 1-采购 -1-销售
  16789. in: query
  16790. name: contracttype
  16791. required: true
  16792. type: integer
  16793. - description: 合同模式 1-普通 2-回购
  16794. in: query
  16795. name: contractmode
  16796. required: true
  16797. type: integer
  16798. produces:
  16799. - application/json
  16800. responses:
  16801. "200":
  16802. description: OK
  16803. schema:
  16804. items:
  16805. $ref: '#/definitions/erms3.QryAuditContractRsp'
  16806. type: array
  16807. "500":
  16808. description: Internal Server Error
  16809. schema:
  16810. $ref: '#/definitions/app.Response'
  16811. security:
  16812. - ApiKeyAuth: []
  16813. summary: 查询待审核合同
  16814. tags:
  16815. - 风险管理v3
  16816. /Erms3/QueryPendingBusiness:
  16817. get:
  16818. parameters:
  16819. - description: 资金账号ID列表,逗号隔开
  16820. in: query
  16821. name: accountids
  16822. required: true
  16823. type: string
  16824. produces:
  16825. - application/json
  16826. responses:
  16827. "200":
  16828. description: OK
  16829. schema:
  16830. items:
  16831. $ref: '#/definitions/erms3.QryPendingBizRsp'
  16832. type: array
  16833. "500":
  16834. description: Internal Server Error
  16835. schema:
  16836. $ref: '#/definitions/app.Response'
  16837. security:
  16838. - ApiKeyAuth: []
  16839. summary: 查询待审核基差贸易业务
  16840. tags:
  16841. - 风险管理v3
  16842. /Erms3/QuerySpotContractAppleForm:
  16843. get:
  16844. parameters:
  16845. - description: 登录账号
  16846. in: query
  16847. name: loginID
  16848. required: true
  16849. type: integer
  16850. produces:
  16851. - application/json
  16852. responses:
  16853. "200":
  16854. description: OK
  16855. schema:
  16856. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  16857. "500":
  16858. description: Internal Server Error
  16859. schema:
  16860. $ref: '#/definitions/app.Response'
  16861. security:
  16862. - ApiKeyAuth: []
  16863. summary: 查询合同申请表单数据
  16864. tags:
  16865. - 风险管理v3
  16866. /Erms3/QuerySpotContractDetail:
  16867. get:
  16868. parameters:
  16869. - description: 资金账号ID列表,用逗号分隔
  16870. in: query
  16871. name: accountids
  16872. required: true
  16873. type: string
  16874. - description: 合同类型,1为采购合同 -1为销售合同
  16875. in: query
  16876. name: contracttype
  16877. required: true
  16878. type: integer
  16879. - description: 合同模式,1为普通合同 2为回购销售合同
  16880. in: query
  16881. name: contractmode
  16882. required: true
  16883. type: integer
  16884. - description: 状态,0为履约中 1为已完成
  16885. in: query
  16886. name: status
  16887. required: true
  16888. type: integer
  16889. produces:
  16890. - application/json
  16891. responses:
  16892. "200":
  16893. description: OK
  16894. schema:
  16895. items:
  16896. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  16897. type: array
  16898. "500":
  16899. description: Internal Server Error
  16900. schema:
  16901. $ref: '#/definitions/app.Response'
  16902. security:
  16903. - ApiKeyAuth: []
  16904. summary: 查询合同详细信息
  16905. tags:
  16906. - 风险管理v3
  16907. /Erms3/QueryUserInfoApplies:
  16908. get:
  16909. parameters:
  16910. - description: 页码
  16911. in: query
  16912. name: page
  16913. type: integer
  16914. - description: 每页条数
  16915. in: query
  16916. name: pagesize
  16917. type: integer
  16918. - description: 客户名称,支持模糊查询
  16919. in: query
  16920. name: userName
  16921. type: string
  16922. produces:
  16923. - application/json
  16924. responses:
  16925. "200":
  16926. description: OK
  16927. schema:
  16928. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  16929. "500":
  16930. description: Internal Server Error
  16931. schema:
  16932. $ref: '#/definitions/app.Response'
  16933. security:
  16934. - ApiKeyAuth: []
  16935. summary: 客户申请信息查询
  16936. tags:
  16937. - 风险管理v3
  16938. /Erms3/QueryUserInfos:
  16939. get:
  16940. parameters:
  16941. - description: 页码
  16942. in: query
  16943. name: page
  16944. type: integer
  16945. - description: 每页条数
  16946. in: query
  16947. name: pagesize
  16948. type: integer
  16949. - description: 客户名称,支持模糊查询
  16950. in: query
  16951. name: userName
  16952. type: string
  16953. produces:
  16954. - application/json
  16955. responses:
  16956. "200":
  16957. description: OK
  16958. schema:
  16959. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  16960. "500":
  16961. description: Internal Server Error
  16962. schema:
  16963. $ref: '#/definitions/app.Response'
  16964. security:
  16965. - ApiKeyAuth: []
  16966. summary: 客户信息查询
  16967. tags:
  16968. - 风险管理v3
  16969. /HSBY/GetHsbyMyCount:
  16970. get:
  16971. description: 说明: 不包括已完成的数量。
  16972. parameters:
  16973. - description: 资金账户列表,格式:1,2,3
  16974. in: query
  16975. name: accountIDs
  16976. required: true
  16977. type: string
  16978. produces:
  16979. - application/json
  16980. responses:
  16981. "200":
  16982. description: OK
  16983. schema:
  16984. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  16985. "500":
  16986. description: Internal Server Error
  16987. schema:
  16988. $ref: '#/definitions/app.Response'
  16989. security:
  16990. - ApiKeyAuth: []
  16991. summary: 获取我的订单与包裹数量
  16992. tags:
  16993. - 定制【海商报业】
  16994. /HSBY/QueryClientFixedADConfigs:
  16995. get:
  16996. produces:
  16997. - application/json
  16998. responses:
  16999. "200":
  17000. description: OK
  17001. schema:
  17002. $ref: '#/definitions/models.Clientfixedadconfig'
  17003. "500":
  17004. description: Internal Server Error
  17005. schema:
  17006. $ref: '#/definitions/app.Response'
  17007. security:
  17008. - ApiKeyAuth: []
  17009. summary: 获取终端固定广告配置
  17010. tags:
  17011. - 定制【海商报业】
  17012. /HSBY/QueryHsbyBuyMyTradeDetail:
  17013. get:
  17014. parameters:
  17015. - description: 页码
  17016. in: query
  17017. name: page
  17018. type: integer
  17019. - description: 每页条数
  17020. in: query
  17021. name: pagesize
  17022. type: integer
  17023. - description: 资金账户列表,格式:1,2,3
  17024. in: query
  17025. name: accountIDs
  17026. required: true
  17027. type: string
  17028. produces:
  17029. - application/json
  17030. responses:
  17031. "200":
  17032. description: OK
  17033. schema:
  17034. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  17035. "500":
  17036. description: Internal Server Error
  17037. schema:
  17038. $ref: '#/definitions/app.Response'
  17039. security:
  17040. - ApiKeyAuth: []
  17041. summary: 查询"我的订单 - 已完成"单据信息
  17042. tags:
  17043. - 定制【海商报业】
  17044. /HSBY/QueryHsbyGoodsOrderDetails:
  17045. get:
  17046. description: 说明:查询结果已按委托价格和委托时间排序
  17047. parameters:
  17048. - description: 商品ID
  17049. in: query
  17050. name: goodsID
  17051. required: true
  17052. type: integer
  17053. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  17054. in: query
  17055. name: accountIDs
  17056. type: string
  17057. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  17058. in: query
  17059. name: buyOrSell
  17060. type: integer
  17061. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  17062. in: query
  17063. name: price
  17064. type: number
  17065. - description: 档位,不传则默认为3档
  17066. in: query
  17067. name: speed
  17068. type: integer
  17069. produces:
  17070. - application/json
  17071. responses:
  17072. "200":
  17073. description: OK
  17074. schema:
  17075. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  17076. "500":
  17077. description: Internal Server Error
  17078. schema:
  17079. $ref: '#/definitions/app.Response'
  17080. security:
  17081. - ApiKeyAuth: []
  17082. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  17083. tags:
  17084. - 定制【海商报业】
  17085. /HSBY/QueryHsbyListingGoodsDetail:
  17086. get:
  17087. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  17088. parameters:
  17089. - description: 商品ID
  17090. in: query
  17091. name: goodsID
  17092. required: true
  17093. type: integer
  17094. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  17095. in: query
  17096. name: accountID
  17097. type: integer
  17098. produces:
  17099. - application/json
  17100. responses:
  17101. "200":
  17102. description: OK
  17103. schema:
  17104. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  17105. "500":
  17106. description: Internal Server Error
  17107. schema:
  17108. $ref: '#/definitions/app.Response'
  17109. security:
  17110. - ApiKeyAuth: []
  17111. summary: 查询二级市场(挂牌点选)商品信息详情
  17112. tags:
  17113. - 定制【海商报业】
  17114. /HSBY/QueryHsbyMarketGoodsDetail:
  17115. get:
  17116. parameters:
  17117. - description: 委托单号
  17118. in: query
  17119. name: orderID
  17120. required: true
  17121. type: integer
  17122. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  17123. in: query
  17124. name: accountID
  17125. type: integer
  17126. produces:
  17127. - application/json
  17128. responses:
  17129. "200":
  17130. description: OK
  17131. schema:
  17132. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  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/QueryHsbyMarketGoodses:
  17143. get:
  17144. parameters:
  17145. - description: 页码
  17146. in: query
  17147. name: page
  17148. type: integer
  17149. - description: 每页条数
  17150. in: query
  17151. name: pagesize
  17152. type: integer
  17153. - description: 市场ID列表,格式:1,2,3
  17154. in: query
  17155. name: marketIDs
  17156. required: true
  17157. type: string
  17158. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  17159. in: query
  17160. name: accountID
  17161. required: true
  17162. type: integer
  17163. - description: 类别ID
  17164. in: query
  17165. name: categoryID
  17166. type: integer
  17167. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  17168. in: query
  17169. name: goodsIDs
  17170. type: string
  17171. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  17172. in: query
  17173. name: couponTypeID
  17174. type: integer
  17175. produces:
  17176. - application/json
  17177. responses:
  17178. "200":
  17179. description: OK
  17180. schema:
  17181. $ref: '#/definitions/models.HsbyMarketGoods'
  17182. "500":
  17183. description: Internal Server Error
  17184. schema:
  17185. $ref: '#/definitions/app.Response'
  17186. security:
  17187. - ApiKeyAuth: []
  17188. summary: 查询特卖商品列表(三级商城)
  17189. tags:
  17190. - 定制【海商报业】
  17191. /HSBY/QueryHsbyMarkets:
  17192. get:
  17193. produces:
  17194. - application/json
  17195. responses:
  17196. "200":
  17197. description: OK
  17198. schema:
  17199. $ref: '#/definitions/models.HsbyMarketInfo'
  17200. "500":
  17201. description: Internal Server Error
  17202. schema:
  17203. $ref: '#/definitions/app.Response'
  17204. security:
  17205. - ApiKeyAuth: []
  17206. summary: 查询海商报业相关市场信息
  17207. tags:
  17208. - 定制【海商报业】
  17209. /HSBY/QueryHsbyMyBuyOrderDetails:
  17210. get:
  17211. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  17212. parameters:
  17213. - description: 资金账户列表,格式:1,2,3
  17214. in: query
  17215. name: accountIDs
  17216. required: true
  17217. type: string
  17218. produces:
  17219. - application/json
  17220. responses:
  17221. "200":
  17222. description: OK
  17223. schema:
  17224. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  17225. "500":
  17226. description: Internal Server Error
  17227. schema:
  17228. $ref: '#/definitions/app.Response'
  17229. security:
  17230. - ApiKeyAuth: []
  17231. summary: 查询“我的订单”信息
  17232. tags:
  17233. - 定制【海商报业】
  17234. /HSBY/QueryHsbyMyGoods:
  17235. get:
  17236. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  17237. parameters:
  17238. - description: 资金账户列表,格式:1,2,3
  17239. in: query
  17240. name: accountIDs
  17241. required: true
  17242. type: string
  17243. produces:
  17244. - application/json
  17245. responses:
  17246. "200":
  17247. description: OK
  17248. schema:
  17249. $ref: '#/definitions/models.HsbyMyGoods'
  17250. "500":
  17251. description: Internal Server Error
  17252. schema:
  17253. $ref: '#/definitions/app.Response'
  17254. security:
  17255. - ApiKeyAuth: []
  17256. summary: 查询“我的商品”信息
  17257. tags:
  17258. - 定制【海商报业】
  17259. /HSBY/QueryHsbyMyPackages:
  17260. get:
  17261. parameters:
  17262. - description: 资金账户列表,格式:1,2,3
  17263. in: query
  17264. name: accountIDs
  17265. required: true
  17266. type: string
  17267. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17268. in: query
  17269. name: takeOrderStatus
  17270. type: integer
  17271. produces:
  17272. - application/json
  17273. responses:
  17274. "200":
  17275. description: OK
  17276. schema:
  17277. $ref: '#/definitions/models.HsbyMyPackage'
  17278. "500":
  17279. description: Internal Server Error
  17280. schema:
  17281. $ref: '#/definitions/app.Response'
  17282. security:
  17283. - ApiKeyAuth: []
  17284. summary: 查询我的包裹信息
  17285. tags:
  17286. - 定制【海商报业】
  17287. /HSBY/QueryHsbyPreGoodsDetail:
  17288. get:
  17289. parameters:
  17290. - description: 商品ID
  17291. in: query
  17292. name: goodsID
  17293. required: true
  17294. type: integer
  17295. - description: 资金账户,主要用于获取预售商品购买上限
  17296. in: query
  17297. name: accountID
  17298. type: integer
  17299. produces:
  17300. - application/json
  17301. responses:
  17302. "200":
  17303. description: OK
  17304. schema:
  17305. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  17306. "500":
  17307. description: Internal Server Error
  17308. schema:
  17309. $ref: '#/definitions/app.Response'
  17310. security:
  17311. - ApiKeyAuth: []
  17312. summary: 查询一级市场(预售)商品信息详情
  17313. tags:
  17314. - 定制【海商报业】
  17315. /HSBY/QueryHsbyPreGoodses:
  17316. get:
  17317. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  17318. parameters:
  17319. - description: 页码
  17320. in: query
  17321. name: page
  17322. type: integer
  17323. - description: 每页条数
  17324. in: query
  17325. name: pagesize
  17326. type: integer
  17327. - description: 市场ID列表,格式:1,2,3
  17328. in: query
  17329. name: marketIDs
  17330. required: true
  17331. type: string
  17332. - description: 目的地(省)ID
  17333. in: query
  17334. name: descProvinceID
  17335. type: integer
  17336. - description: 目的地(市)ID
  17337. in: query
  17338. name: descCityID
  17339. type: integer
  17340. produces:
  17341. - application/json
  17342. responses:
  17343. "200":
  17344. description: OK
  17345. schema:
  17346. $ref: '#/definitions/models.HsbyPreGoods'
  17347. "500":
  17348. description: Internal Server Error
  17349. schema:
  17350. $ref: '#/definitions/app.Response'
  17351. security:
  17352. - ApiKeyAuth: []
  17353. summary: 查询新品上市商品列表(一级市场预售)
  17354. tags:
  17355. - 定制【海商报业】
  17356. /HSBY/QueryHsbySellMyDetails:
  17357. get:
  17358. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  17359. parameters:
  17360. - description: 页码
  17361. in: query
  17362. name: page
  17363. type: integer
  17364. - description: 每页条数
  17365. in: query
  17366. name: pagesize
  17367. type: integer
  17368. - description: 资金账户列表,格式:1,2,3
  17369. in: query
  17370. name: accountIDs
  17371. required: true
  17372. type: string
  17373. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  17374. in: query
  17375. name: orderType
  17376. type: integer
  17377. produces:
  17378. - application/json
  17379. responses:
  17380. "200":
  17381. description: OK
  17382. schema:
  17383. $ref: '#/definitions/models.HsbySellMyDetail'
  17384. "500":
  17385. description: Internal Server Error
  17386. schema:
  17387. $ref: '#/definitions/app.Response'
  17388. security:
  17389. - ApiKeyAuth: []
  17390. summary: 查询"我的闲置"单据信息
  17391. tags:
  17392. - 定制【海商报业】
  17393. /HSBY/QueryHsbyTopGoodses:
  17394. get:
  17395. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  17396. parameters:
  17397. - description: 页码
  17398. in: query
  17399. name: page
  17400. type: integer
  17401. - description: 每页条数
  17402. in: query
  17403. name: pagesize
  17404. type: integer
  17405. - description: 市场ID列表,格式:1,2,3
  17406. in: query
  17407. name: marketIDs
  17408. required: true
  17409. type: string
  17410. - description: 目的地(省)ID
  17411. in: query
  17412. name: descProvinceID
  17413. type: integer
  17414. - description: 目的地(市)ID
  17415. in: query
  17416. name: descCityID
  17417. type: integer
  17418. produces:
  17419. - application/json
  17420. responses:
  17421. "200":
  17422. description: OK
  17423. schema:
  17424. $ref: '#/definitions/models.HsbyTopGoods'
  17425. "500":
  17426. description: Internal Server Error
  17427. schema:
  17428. $ref: '#/definitions/app.Response'
  17429. security:
  17430. - ApiKeyAuth: []
  17431. summary: 查询热卖商品列表(二级市场挂牌点选)
  17432. tags:
  17433. - 定制【海商报业】
  17434. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  17435. get:
  17436. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  17437. parameters:
  17438. - description: 商品ID
  17439. in: query
  17440. name: goodsID
  17441. required: true
  17442. type: integer
  17443. produces:
  17444. - application/json
  17445. responses:
  17446. "200":
  17447. description: OK
  17448. schema:
  17449. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  17450. "500":
  17451. description: Internal Server Error
  17452. schema:
  17453. $ref: '#/definitions/app.Response'
  17454. security:
  17455. - ApiKeyAuth: []
  17456. summary: 查询游客三级市场(商城)商品信息详情
  17457. tags:
  17458. - 定制【海商报业】
  17459. /HSBY/QueryHsbyVisitorMarketGoodses:
  17460. get:
  17461. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  17462. parameters:
  17463. - description: 页码
  17464. in: query
  17465. name: page
  17466. type: integer
  17467. - description: 每页条数
  17468. in: query
  17469. name: pagesize
  17470. type: integer
  17471. - description: 市场ID列表,格式:1,2,3
  17472. in: query
  17473. name: marketIDs
  17474. required: true
  17475. type: string
  17476. - description: 类别ID
  17477. in: query
  17478. name: categoryID
  17479. type: integer
  17480. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  17481. in: query
  17482. name: goodsIDs
  17483. type: string
  17484. produces:
  17485. - application/json
  17486. responses:
  17487. "200":
  17488. description: OK
  17489. schema:
  17490. $ref: '#/definitions/models.HsbyMarketGoods'
  17491. "500":
  17492. description: Internal Server Error
  17493. schema:
  17494. $ref: '#/definitions/app.Response'
  17495. security:
  17496. - ApiKeyAuth: []
  17497. summary: 查询游客特卖商品列表(三级商城)
  17498. tags:
  17499. - 定制【海商报业】
  17500. /HSBY/QueryMyCollectionOrders:
  17501. get:
  17502. parameters:
  17503. - description: 页码
  17504. in: query
  17505. name: page
  17506. type: integer
  17507. - description: 每页条数
  17508. in: query
  17509. name: pagesize
  17510. type: integer
  17511. - description: 资金账户,格式:1,2,3
  17512. in: query
  17513. name: accountIDs
  17514. required: true
  17515. type: string
  17516. produces:
  17517. - application/json
  17518. responses:
  17519. "200":
  17520. description: OK
  17521. schema:
  17522. $ref: '#/definitions/models.HsbySellCollectionOrder'
  17523. "500":
  17524. description: Internal Server Error
  17525. schema:
  17526. $ref: '#/definitions/app.Response'
  17527. security:
  17528. - ApiKeyAuth: []
  17529. summary: 我的闲置中收款信息查询
  17530. tags:
  17531. - 定制【海商报业】
  17532. /HSBY/QueryMyCouponHolds:
  17533. get:
  17534. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  17535. parameters:
  17536. - description: 资金账户列表,格式:1,2,3
  17537. in: query
  17538. name: accountIDs
  17539. required: true
  17540. type: string
  17541. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  17542. in: query
  17543. name: holdStatus
  17544. type: string
  17545. produces:
  17546. - application/json
  17547. responses:
  17548. "200":
  17549. description: OK
  17550. schema:
  17551. $ref: '#/definitions/models.MyCouponHold'
  17552. "500":
  17553. description: Internal Server Error
  17554. schema:
  17555. $ref: '#/definitions/app.Response'
  17556. security:
  17557. - ApiKeyAuth: []
  17558. summary: 我的优惠卷持仓查询
  17559. tags:
  17560. - 定制【海商报业】
  17561. /HSBY/QueryMyCoupons:
  17562. get:
  17563. parameters:
  17564. - description: 资金账户列表,格式:1,2,3
  17565. in: query
  17566. name: accountIDs
  17567. required: true
  17568. type: string
  17569. - description: 商品ID, 一般与sellUserID配套传入
  17570. in: query
  17571. name: goodsID
  17572. type: integer
  17573. - description: 卖方UserID
  17574. in: query
  17575. name: sellUserID
  17576. type: integer
  17577. produces:
  17578. - application/json
  17579. responses:
  17580. "200":
  17581. description: OK
  17582. schema:
  17583. $ref: '#/definitions/models.MyCoupon'
  17584. "500":
  17585. description: Internal Server Error
  17586. schema:
  17587. $ref: '#/definitions/app.Response'
  17588. security:
  17589. - ApiKeyAuth: []
  17590. summary: 我的优惠卷查询
  17591. tags:
  17592. - 定制【海商报业】
  17593. /HSBY/QueryMyPayOrders:
  17594. get:
  17595. parameters:
  17596. - description: 页码
  17597. in: query
  17598. name: page
  17599. type: integer
  17600. - description: 每页条数
  17601. in: query
  17602. name: pagesize
  17603. type: integer
  17604. - description: 资金账户列表,格式:1,2,3
  17605. in: query
  17606. name: accountIDs
  17607. required: true
  17608. type: string
  17609. - description: 买方委托单号
  17610. in: query
  17611. name: buyOrderID
  17612. type: integer
  17613. - description: 卖方委托单号
  17614. in: query
  17615. name: sellOrderID
  17616. type: integer
  17617. produces:
  17618. - application/json
  17619. responses:
  17620. "200":
  17621. description: OK
  17622. schema:
  17623. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  17624. "500":
  17625. description: Internal Server Error
  17626. schema:
  17627. $ref: '#/definitions/app.Response'
  17628. security:
  17629. - ApiKeyAuth: []
  17630. summary: 获取我的订单中待付款信息
  17631. tags:
  17632. - 定制【海商报业】
  17633. /HSBY/QueryMyUsedCoupon:
  17634. get:
  17635. parameters:
  17636. - description: 资金账户列表,格式:1,2,3
  17637. in: query
  17638. name: accountIDs
  17639. required: true
  17640. type: string
  17641. produces:
  17642. - application/json
  17643. responses:
  17644. "200":
  17645. description: OK
  17646. schema:
  17647. $ref: '#/definitions/models.MyUsedCoupon'
  17648. "500":
  17649. description: Internal Server Error
  17650. schema:
  17651. $ref: '#/definitions/app.Response'
  17652. security:
  17653. - ApiKeyAuth: []
  17654. summary: 已使用优惠卷查询
  17655. tags:
  17656. - 定制【海商报业】
  17657. /HSBY/QueryProvincesAndCities:
  17658. get:
  17659. description: 查询结果只包括二级市场商品已关连的省市信息。
  17660. parameters:
  17661. - description: 省ID
  17662. in: query
  17663. name: provinceID
  17664. type: integer
  17665. produces:
  17666. - application/json
  17667. responses:
  17668. "200":
  17669. description: OK
  17670. schema:
  17671. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  17672. "500":
  17673. description: Internal Server Error
  17674. schema:
  17675. $ref: '#/definitions/app.Response'
  17676. security:
  17677. - ApiKeyAuth: []
  17678. summary: 查询省市信息(不包括区)
  17679. tags:
  17680. - 定制【海商报业】
  17681. /HSBY/SetHsbyMyPackagesStatus:
  17682. post:
  17683. parameters:
  17684. - description: 提货单号
  17685. in: query
  17686. name: takeOrderID
  17687. required: true
  17688. type: string
  17689. - description: 资金账号
  17690. in: query
  17691. name: accountID
  17692. required: true
  17693. type: integer
  17694. produces:
  17695. - application/json
  17696. responses:
  17697. "200":
  17698. description: OK
  17699. schema:
  17700. $ref: '#/definitions/app.Response'
  17701. "500":
  17702. description: Internal Server Error
  17703. schema:
  17704. $ref: '#/definitions/app.Response'
  17705. security:
  17706. - ApiKeyAuth: []
  17707. summary: 设置我的包裹已收货状态
  17708. tags:
  17709. - 定制【海商报业】
  17710. /Market/QueryGoodsesByLoginID:
  17711. get:
  17712. parameters:
  17713. - description: 登录账号
  17714. in: query
  17715. name: loginID
  17716. required: true
  17717. type: integer
  17718. - description: 市场ID列表,格式:1,2,3
  17719. in: query
  17720. name: marketIDs
  17721. type: string
  17722. produces:
  17723. - application/json
  17724. responses:
  17725. "200":
  17726. description: OK
  17727. schema:
  17728. $ref: '#/definitions/models.Goods'
  17729. "500":
  17730. description: Internal Server Error
  17731. schema:
  17732. $ref: '#/definitions/app.Response'
  17733. security:
  17734. - ApiKeyAuth: []
  17735. summary: 获取登录账号有权限的商品信息
  17736. tags:
  17737. - 通用市场
  17738. /Market/QueryMarketRun:
  17739. get:
  17740. parameters:
  17741. - description: 市场ID,不传返回所有
  17742. in: query
  17743. name: marketID
  17744. type: integer
  17745. produces:
  17746. - application/json
  17747. responses:
  17748. "200":
  17749. description: OK
  17750. schema:
  17751. $ref: '#/definitions/models.Marketrun'
  17752. "500":
  17753. description: Internal Server Error
  17754. schema:
  17755. $ref: '#/definitions/app.Response'
  17756. security:
  17757. - ApiKeyAuth: []
  17758. summary: 查询市场运行信息
  17759. tags:
  17760. - 通用市场
  17761. /Market/QueryMarketsByLoginID:
  17762. get:
  17763. parameters:
  17764. - description: 登录账号
  17765. in: query
  17766. name: loginID
  17767. required: true
  17768. type: integer
  17769. produces:
  17770. - application/json
  17771. responses:
  17772. "200":
  17773. description: OK
  17774. schema:
  17775. $ref: '#/definitions/models.Market'
  17776. "500":
  17777. description: Internal Server Error
  17778. schema:
  17779. $ref: '#/definitions/app.Response'
  17780. security:
  17781. - ApiKeyAuth: []
  17782. summary: 获取登录账号有权限的市场信息
  17783. tags:
  17784. - 通用市场
  17785. /Order/QueryHisTradeDetail:
  17786. get:
  17787. parameters:
  17788. - description: 资金账户 - 格式:1,2,3
  17789. in: query
  17790. name: accountID
  17791. required: true
  17792. type: string
  17793. - description: 成交单号
  17794. in: query
  17795. name: tradeID
  17796. type: integer
  17797. - description: 委托单号
  17798. in: query
  17799. name: orderID
  17800. type: integer
  17801. - description: 商品ID
  17802. in: query
  17803. name: goodsID
  17804. type: integer
  17805. - description: 交易模式 - 格式:1,2,3
  17806. in: query
  17807. name: tradeMode
  17808. type: string
  17809. - description: 委托单据类型
  17810. in: query
  17811. name: buildType
  17812. type: integer
  17813. - description: 成交类别 - 格式:1,2,3
  17814. in: query
  17815. name: tradeType
  17816. type: string
  17817. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17818. in: query
  17819. name: startDate
  17820. type: string
  17821. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17822. in: query
  17823. name: endDate
  17824. type: string
  17825. produces:
  17826. - application/json
  17827. responses:
  17828. "200":
  17829. description: OK
  17830. schema:
  17831. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  17832. "500":
  17833. description: Internal Server Error
  17834. schema:
  17835. $ref: '#/definitions/app.Response'
  17836. security:
  17837. - ApiKeyAuth: []
  17838. summary: 历史成交单查询(合约市场)
  17839. tags:
  17840. - 通用单据
  17841. /Order/QueryHisTradeOrderDetail:
  17842. get:
  17843. parameters:
  17844. - description: 资金账户 - 格式:1,2,3
  17845. in: query
  17846. name: accountID
  17847. required: true
  17848. type: string
  17849. - description: 交易模式 - 格式:1,2,3
  17850. in: query
  17851. name: tradeMode
  17852. type: string
  17853. - description: 委托状态 - 格式:1,2,3
  17854. in: query
  17855. name: orderStatus
  17856. type: string
  17857. - description: 委托单号
  17858. in: query
  17859. name: orderID
  17860. type: integer
  17861. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17862. in: query
  17863. name: startDate
  17864. type: string
  17865. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17866. in: query
  17867. name: endDate
  17868. type: string
  17869. produces:
  17870. - application/json
  17871. responses:
  17872. "200":
  17873. description: OK
  17874. schema:
  17875. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  17876. "500":
  17877. description: Internal Server Error
  17878. schema:
  17879. $ref: '#/definitions/app.Response'
  17880. security:
  17881. - ApiKeyAuth: []
  17882. summary: 历史委托单查询请求(合约市场)
  17883. tags:
  17884. - 通用单据
  17885. /Order/QueryTradeDetail:
  17886. get:
  17887. parameters:
  17888. - description: 资金账户 - 格式:1,2,3
  17889. in: query
  17890. name: accountID
  17891. required: true
  17892. type: string
  17893. - description: 成交单号
  17894. in: query
  17895. name: tradeID
  17896. type: integer
  17897. - description: 委托单号
  17898. in: query
  17899. name: orderID
  17900. type: integer
  17901. - description: 交易模式 - 格式:1,2,3
  17902. in: query
  17903. name: tradeMode
  17904. type: string
  17905. - description: 委托单据类型
  17906. in: query
  17907. name: buildType
  17908. type: integer
  17909. - description: 成交类别 - 格式:1,2,3
  17910. in: query
  17911. name: tradeType
  17912. type: string
  17913. - description: 商品ID
  17914. in: query
  17915. name: goodsID
  17916. type: integer
  17917. produces:
  17918. - application/json
  17919. responses:
  17920. "200":
  17921. description: OK
  17922. schema:
  17923. $ref: '#/definitions/order.QueryTradeDetailRsp'
  17924. "500":
  17925. description: Internal Server Error
  17926. schema:
  17927. $ref: '#/definitions/app.Response'
  17928. security:
  17929. - ApiKeyAuth: []
  17930. summary: 成交单查询(合约市场)
  17931. tags:
  17932. - 通用单据
  17933. /Order/QueryTradeOrderDetail:
  17934. get:
  17935. parameters:
  17936. - description: 资金账户 - 格式:1,2,3
  17937. in: query
  17938. name: accountID
  17939. required: true
  17940. type: string
  17941. - description: 交易模式 - 格式:1,2,3
  17942. in: query
  17943. name: tradeMode
  17944. type: string
  17945. - description: 委托状态 - 格式:1,2,3
  17946. in: query
  17947. name: orderStatus
  17948. type: string
  17949. - description: 委托单号
  17950. in: query
  17951. name: orderID
  17952. type: integer
  17953. produces:
  17954. - application/json
  17955. responses:
  17956. "200":
  17957. description: OK
  17958. schema:
  17959. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  17960. "500":
  17961. description: Internal Server Error
  17962. schema:
  17963. $ref: '#/definitions/app.Response'
  17964. security:
  17965. - ApiKeyAuth: []
  17966. summary: 委托单查询请求(合约市场)
  17967. tags:
  17968. - 通用单据
  17969. /Order/QueryTradePosition:
  17970. get:
  17971. parameters:
  17972. - description: 资金账户 - 格式:1,2,3
  17973. in: query
  17974. name: accountID
  17975. required: true
  17976. type: string
  17977. - description: 交易模式 - 格式:1,2,3
  17978. in: query
  17979. name: tradeMode
  17980. type: string
  17981. produces:
  17982. - application/json
  17983. responses:
  17984. "200":
  17985. description: OK
  17986. schema:
  17987. $ref: '#/definitions/order.QueryTradePositionRsp'
  17988. "500":
  17989. description: Internal Server Error
  17990. schema:
  17991. $ref: '#/definitions/app.Response'
  17992. security:
  17993. - ApiKeyAuth: []
  17994. summary: 持仓汇总查询(合约市场)
  17995. tags:
  17996. - 通用单据
  17997. /Qhj/QueryAccountInOutApply:
  17998. get:
  17999. parameters:
  18000. - description: 申请起始日期(格式yyyymmdd)
  18001. in: query
  18002. name: begindate
  18003. type: string
  18004. - description: 申请截止日期(格式yyyymmdd)
  18005. in: query
  18006. name: enddate
  18007. type: string
  18008. - description: 模糊搜索名称
  18009. in: query
  18010. name: likename
  18011. type: string
  18012. produces:
  18013. - application/json
  18014. responses:
  18015. "200":
  18016. description: OK
  18017. schema:
  18018. items:
  18019. $ref: '#/definitions/models.QhjAccountOutInApply'
  18020. type: array
  18021. "500":
  18022. description: Internal Server Error
  18023. schema:
  18024. $ref: '#/definitions/app.Response'
  18025. security:
  18026. - ApiKeyAuth: []
  18027. summary: 查询充值提现
  18028. tags:
  18029. - 大连千海金
  18030. /Qhj/QueryBankAccountSign:
  18031. get:
  18032. parameters:
  18033. - description: 用户ID
  18034. in: query
  18035. name: userid
  18036. required: true
  18037. type: integer
  18038. produces:
  18039. - application/json
  18040. responses:
  18041. "200":
  18042. description: OK
  18043. schema:
  18044. items:
  18045. $ref: '#/definitions/models.QhjBankAccountSign'
  18046. type: array
  18047. "500":
  18048. description: Internal Server Error
  18049. schema:
  18050. $ref: '#/definitions/app.Response'
  18051. security:
  18052. - ApiKeyAuth: []
  18053. summary: 查询签约银行信息(提现账户管理)
  18054. tags:
  18055. - 大连千海金
  18056. /Qhj/QueryBankInfo:
  18057. get:
  18058. produces:
  18059. - application/json
  18060. responses:
  18061. "200":
  18062. description: OK
  18063. schema:
  18064. items:
  18065. $ref: '#/definitions/models.QhjBankInfo'
  18066. type: array
  18067. "500":
  18068. description: Internal Server Error
  18069. schema:
  18070. $ref: '#/definitions/app.Response'
  18071. security:
  18072. - ApiKeyAuth: []
  18073. summary: 查询开户行
  18074. tags:
  18075. - 大连千海金
  18076. /Qhj/QueryContract:
  18077. get:
  18078. parameters:
  18079. - description: 用户ID
  18080. in: query
  18081. name: userid
  18082. type: integer
  18083. - description: scf合同id
  18084. in: query
  18085. name: scfcontractid
  18086. type: integer
  18087. produces:
  18088. - application/json
  18089. responses:
  18090. "200":
  18091. description: OK
  18092. schema:
  18093. items:
  18094. $ref: '#/definitions/models.QhjContract'
  18095. type: array
  18096. "500":
  18097. description: Internal Server Error
  18098. schema:
  18099. $ref: '#/definitions/app.Response'
  18100. security:
  18101. - ApiKeyAuth: []
  18102. summary: 查询融资明细(合同)
  18103. tags:
  18104. - 大连千海金
  18105. /Qhj/QueryContractLog:
  18106. get:
  18107. parameters:
  18108. - description: scf合同id
  18109. in: query
  18110. name: scfcontractid
  18111. required: true
  18112. type: integer
  18113. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  18114. in: query
  18115. name: amounttype
  18116. type: string
  18117. produces:
  18118. - application/json
  18119. responses:
  18120. "200":
  18121. description: OK
  18122. schema:
  18123. items:
  18124. $ref: '#/definitions/models.QhjContractLog'
  18125. type: array
  18126. "500":
  18127. description: Internal Server Error
  18128. schema:
  18129. $ref: '#/definitions/app.Response'
  18130. security:
  18131. - ApiKeyAuth: []
  18132. summary: 查询融资明细流水(融资明细详情页中的流水)
  18133. tags:
  18134. - 大连千海金
  18135. /Qhj/QueryCusBankSignBank:
  18136. get:
  18137. produces:
  18138. - application/json
  18139. responses:
  18140. "200":
  18141. description: OK
  18142. schema:
  18143. items:
  18144. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  18145. type: array
  18146. "500":
  18147. description: Internal Server Error
  18148. schema:
  18149. $ref: '#/definitions/app.Response'
  18150. security:
  18151. - ApiKeyAuth: []
  18152. summary: 查询托管银行
  18153. tags:
  18154. - 大连千海金
  18155. /Qhj/QueryCustomerInfo:
  18156. get:
  18157. parameters:
  18158. - description: 用户ID
  18159. in: query
  18160. name: userid
  18161. required: true
  18162. type: integer
  18163. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  18164. in: query
  18165. name: querytype
  18166. required: true
  18167. type: integer
  18168. - description: 客户类型 1-个人 2-企业
  18169. in: query
  18170. name: userinfotype
  18171. type: integer
  18172. - description: 客户名称(模糊匹配)
  18173. in: query
  18174. name: customername
  18175. type: string
  18176. - description: 昵称(模糊匹配)
  18177. in: query
  18178. name: nickname
  18179. type: string
  18180. - description: 是否包含子级 1-包含
  18181. in: query
  18182. name: includesub
  18183. type: integer
  18184. produces:
  18185. - application/json
  18186. responses:
  18187. "200":
  18188. description: OK
  18189. schema:
  18190. items:
  18191. $ref: '#/definitions/models.QhjCustomer'
  18192. type: array
  18193. "500":
  18194. description: Internal Server Error
  18195. schema:
  18196. $ref: '#/definitions/app.Response'
  18197. security:
  18198. - ApiKeyAuth: []
  18199. summary: 查询客户资料
  18200. tags:
  18201. - 大连千海金
  18202. /Qhj/QueryGoodsEx:
  18203. get:
  18204. parameters:
  18205. - description: 商品id
  18206. in: query
  18207. name: goodsid
  18208. type: integer
  18209. produces:
  18210. - application/json
  18211. responses:
  18212. "200":
  18213. description: OK
  18214. schema:
  18215. items:
  18216. $ref: '#/definitions/models.Qhjgoodsex'
  18217. type: array
  18218. "500":
  18219. description: Internal Server Error
  18220. schema:
  18221. $ref: '#/definitions/app.Response'
  18222. security:
  18223. - ApiKeyAuth: []
  18224. summary: 交易商品扩展表
  18225. tags:
  18226. - 大连千海金
  18227. /Qhj/QueryParentAreaList:
  18228. get:
  18229. parameters:
  18230. - description: 用户ID
  18231. in: query
  18232. name: userid
  18233. required: true
  18234. type: integer
  18235. produces:
  18236. - application/json
  18237. responses:
  18238. "200":
  18239. description: OK
  18240. schema:
  18241. items:
  18242. $ref: '#/definitions/models.QhjParentAreaList'
  18243. type: array
  18244. "500":
  18245. description: Internal Server Error
  18246. schema:
  18247. $ref: '#/definitions/app.Response'
  18248. security:
  18249. - ApiKeyAuth: []
  18250. summary: 查询所属机构列表
  18251. tags:
  18252. - 大连千海金
  18253. /Qhj/QueryPayOrder:
  18254. get:
  18255. parameters:
  18256. - description: 资金账号id
  18257. in: query
  18258. name: accountid
  18259. required: true
  18260. type: integer
  18261. - description: 成交单号
  18262. in: query
  18263. name: tradeid
  18264. type: integer
  18265. - description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  18266. in: query
  18267. name: payflag
  18268. type: integer
  18269. produces:
  18270. - application/json
  18271. responses:
  18272. "200":
  18273. description: OK
  18274. schema:
  18275. items:
  18276. $ref: '#/definitions/models.QhjPayOrder'
  18277. type: array
  18278. "500":
  18279. description: Internal Server Error
  18280. schema:
  18281. $ref: '#/definitions/app.Response'
  18282. security:
  18283. - ApiKeyAuth: []
  18284. summary: 查询待付款单据
  18285. tags:
  18286. - 大连千海金
  18287. /Qhj/QueryPickArea:
  18288. get:
  18289. parameters:
  18290. - description: 用户ID
  18291. in: query
  18292. name: userid
  18293. type: integer
  18294. produces:
  18295. - application/json
  18296. responses:
  18297. "200":
  18298. description: OK
  18299. schema:
  18300. items:
  18301. $ref: '#/definitions/models.QhjPickArea'
  18302. type: array
  18303. "500":
  18304. description: Internal Server Error
  18305. schema:
  18306. $ref: '#/definitions/app.Response'
  18307. security:
  18308. - ApiKeyAuth: []
  18309. summary: 查询提货门店
  18310. tags:
  18311. - 大连千海金
  18312. /Qhj/QueryPickGoods:
  18313. get:
  18314. parameters:
  18315. - description: 交易商品id
  18316. in: query
  18317. name: goodsid
  18318. required: true
  18319. type: integer
  18320. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  18321. in: query
  18322. name: status
  18323. type: string
  18324. produces:
  18325. - application/json
  18326. responses:
  18327. "200":
  18328. description: OK
  18329. schema:
  18330. items:
  18331. $ref: '#/definitions/models.QhjPickGoods'
  18332. type: array
  18333. "500":
  18334. description: Internal Server Error
  18335. schema:
  18336. $ref: '#/definitions/app.Response'
  18337. security:
  18338. - ApiKeyAuth: []
  18339. summary: 查询提货商品
  18340. tags:
  18341. - 大连千海金
  18342. /Qhj/QueryRSTriggerLog:
  18343. get:
  18344. parameters:
  18345. - description: 用户ID
  18346. in: query
  18347. name: userid
  18348. type: integer
  18349. - description: 定投策略id
  18350. in: query
  18351. name: regularlystrategyid
  18352. type: integer
  18353. produces:
  18354. - application/json
  18355. responses:
  18356. "200":
  18357. description: OK
  18358. schema:
  18359. items:
  18360. $ref: '#/definitions/models.QhjRSTriggerLog'
  18361. type: array
  18362. "500":
  18363. description: Internal Server Error
  18364. schema:
  18365. $ref: '#/definitions/app.Response'
  18366. security:
  18367. - ApiKeyAuth: []
  18368. summary: 查询定投记录(定投管理/详情/定投记录)
  18369. tags:
  18370. - 大连千海金
  18371. /Qhj/QueryRStrategy:
  18372. get:
  18373. parameters:
  18374. - description: 用户ID
  18375. in: query
  18376. name: userid
  18377. type: integer
  18378. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  18379. in: query
  18380. name: status
  18381. type: string
  18382. produces:
  18383. - application/json
  18384. responses:
  18385. "200":
  18386. description: OK
  18387. schema:
  18388. items:
  18389. $ref: '#/definitions/models.QhjRStrategy'
  18390. type: array
  18391. "500":
  18392. description: Internal Server Error
  18393. schema:
  18394. $ref: '#/definitions/app.Response'
  18395. security:
  18396. - ApiKeyAuth: []
  18397. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  18398. tags:
  18399. - 大连千海金
  18400. /Qhj/QueryReckonPriceLog:
  18401. get:
  18402. parameters:
  18403. - description: 商品ID
  18404. in: query
  18405. name: goodsid
  18406. type: integer
  18407. - description: 交易日 格式(yyyymmdd)
  18408. in: query
  18409. name: tradedate
  18410. type: string
  18411. produces:
  18412. - application/json
  18413. responses:
  18414. "200":
  18415. description: OK
  18416. schema:
  18417. items:
  18418. $ref: '#/definitions/models.QhjReckonPriceLog'
  18419. type: array
  18420. "500":
  18421. description: Internal Server Error
  18422. schema:
  18423. $ref: '#/definitions/app.Response'
  18424. security:
  18425. - ApiKeyAuth: []
  18426. summary: 查询定投价(结算价)
  18427. tags:
  18428. - 大连千海金
  18429. /Qhj/QuerySiteColumnDetail:
  18430. get:
  18431. parameters:
  18432. - description: 用户ID
  18433. in: query
  18434. name: userid
  18435. required: true
  18436. type: integer
  18437. produces:
  18438. - application/json
  18439. responses:
  18440. "200":
  18441. description: OK
  18442. schema:
  18443. items:
  18444. $ref: '#/definitions/models.QhjSiteColumnDetail'
  18445. type: array
  18446. "500":
  18447. description: Internal Server Error
  18448. schema:
  18449. $ref: '#/definitions/app.Response'
  18450. security:
  18451. - ApiKeyAuth: []
  18452. summary: 查询资讯
  18453. tags:
  18454. - 大连千海金
  18455. /Qhj/QueryTradeGoodsPickup:
  18456. get:
  18457. parameters:
  18458. - description: 用户ID
  18459. in: query
  18460. name: userid
  18461. required: true
  18462. type: integer
  18463. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  18464. 7:已拒绝 8:已撤销
  18465. in: query
  18466. name: takeorderstatus
  18467. type: integer
  18468. produces:
  18469. - application/json
  18470. responses:
  18471. "200":
  18472. description: OK
  18473. schema:
  18474. items:
  18475. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  18476. type: array
  18477. "500":
  18478. description: Internal Server Error
  18479. schema:
  18480. $ref: '#/definitions/app.Response'
  18481. security:
  18482. - ApiKeyAuth: []
  18483. summary: 查询提货
  18484. tags:
  18485. - 大连千海金
  18486. /Qhj/QueryUserCollectConfig:
  18487. get:
  18488. parameters:
  18489. - description: 用户ID
  18490. in: query
  18491. name: userid
  18492. required: true
  18493. type: integer
  18494. produces:
  18495. - application/json
  18496. responses:
  18497. "200":
  18498. description: OK
  18499. schema:
  18500. items:
  18501. $ref: '#/definitions/models.UserCollectConfig'
  18502. type: array
  18503. "500":
  18504. description: Internal Server Error
  18505. schema:
  18506. $ref: '#/definitions/app.Response'
  18507. security:
  18508. - ApiKeyAuth: []
  18509. summary: 查询提现账户设置
  18510. tags:
  18511. - 大连千海金
  18512. /Qhj/QueryUserReceiveInfo:
  18513. get:
  18514. parameters:
  18515. - description: 用户ID
  18516. in: query
  18517. name: userid
  18518. required: true
  18519. type: integer
  18520. produces:
  18521. - application/json
  18522. responses:
  18523. "200":
  18524. description: OK
  18525. schema:
  18526. items:
  18527. $ref: '#/definitions/models.UserReceiveInfo'
  18528. type: array
  18529. "500":
  18530. description: Internal Server Error
  18531. schema:
  18532. $ref: '#/definitions/app.Response'
  18533. security:
  18534. - ApiKeyAuth: []
  18535. summary: 查询收货地址信息
  18536. tags:
  18537. - 大连千海金
  18538. /QhjMgr/QueryAccountInOutApply:
  18539. get:
  18540. parameters:
  18541. - description: 查询类型 1-提现(出金) 2-充值(出金)
  18542. in: query
  18543. name: querytype
  18544. required: true
  18545. type: integer
  18546. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  18547. in: query
  18548. name: applystatus
  18549. required: true
  18550. type: integer
  18551. - description: 申请起始日期(格式yyyymmdd)
  18552. in: query
  18553. name: begindate
  18554. type: string
  18555. - description: 申请截止日期(格式yyyymmdd)
  18556. in: query
  18557. name: enddate
  18558. type: string
  18559. - description: 模糊搜索名称
  18560. in: query
  18561. name: likename
  18562. type: string
  18563. produces:
  18564. - application/json
  18565. responses:
  18566. "200":
  18567. description: OK
  18568. schema:
  18569. items:
  18570. $ref: '#/definitions/models.QhjAccountOutInApply'
  18571. type: array
  18572. "500":
  18573. description: Internal Server Error
  18574. schema:
  18575. $ref: '#/definitions/app.Response'
  18576. security:
  18577. - ApiKeyAuth: []
  18578. summary: 查询充值提现
  18579. tags:
  18580. - 大连千海金(PCWeb)
  18581. /QhjMgr/QueryCustomerInfo:
  18582. get:
  18583. parameters:
  18584. - description: 用户ID
  18585. in: query
  18586. name: userid
  18587. required: true
  18588. type: integer
  18589. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  18590. in: query
  18591. name: querytype
  18592. required: true
  18593. type: integer
  18594. - description: 客户类型 1-个人 2-企业
  18595. in: query
  18596. name: userinfotype
  18597. type: integer
  18598. - description: 客户名称(模糊匹配)
  18599. in: query
  18600. name: customername
  18601. type: string
  18602. - description: 昵称(模糊匹配)
  18603. in: query
  18604. name: nickname
  18605. type: string
  18606. - description: 是否包含子级 1-包含
  18607. in: query
  18608. name: includesub
  18609. type: integer
  18610. produces:
  18611. - application/json
  18612. responses:
  18613. "200":
  18614. description: OK
  18615. schema:
  18616. items:
  18617. $ref: '#/definitions/models.QhjCustomer'
  18618. type: array
  18619. "500":
  18620. description: Internal Server Error
  18621. schema:
  18622. $ref: '#/definitions/app.Response'
  18623. security:
  18624. - ApiKeyAuth: []
  18625. summary: 查询客户资料
  18626. tags:
  18627. - 大连千海金(PCWeb)
  18628. /QhjMgr/QuerySubArea:
  18629. get:
  18630. parameters:
  18631. - description: 用户ID
  18632. in: query
  18633. name: userid
  18634. required: true
  18635. type: integer
  18636. produces:
  18637. - application/json
  18638. responses:
  18639. "200":
  18640. description: OK
  18641. schema:
  18642. items:
  18643. $ref: '#/definitions/models.QhjMgrSubArea'
  18644. type: array
  18645. "500":
  18646. description: Internal Server Error
  18647. schema:
  18648. $ref: '#/definitions/app.Response'
  18649. security:
  18650. - ApiKeyAuth: []
  18651. summary: 查询子机构列表
  18652. tags:
  18653. - 大连千海金(PCWeb)
  18654. /Quote/QueryHistoryDatas:
  18655. get:
  18656. parameters:
  18657. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  18658. 日线'
  18659. in: query
  18660. name: cycleType
  18661. required: true
  18662. type: integer
  18663. - description: 商品代码
  18664. in: query
  18665. name: goodsCode
  18666. required: true
  18667. type: string
  18668. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  18669. in: query
  18670. name: startTime
  18671. type: string
  18672. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  18673. in: query
  18674. name: endTime
  18675. type: string
  18676. - description: 条数
  18677. in: query
  18678. name: count
  18679. type: integer
  18680. - description: 是否按时间顺序排序(默认为时间倒序排序)
  18681. in: query
  18682. name: isAsc
  18683. type: boolean
  18684. produces:
  18685. - application/json
  18686. responses:
  18687. "200":
  18688. description: OK
  18689. schema:
  18690. $ref: '#/definitions/quote.HistoryData'
  18691. "500":
  18692. description: Internal Server Error
  18693. schema:
  18694. $ref: '#/definitions/app.Response'
  18695. security:
  18696. - ApiKeyAuth: []
  18697. summary: 查询行情历史数据
  18698. tags:
  18699. - 行情服务
  18700. /Quote/QueryHistoryTikDatas:
  18701. get:
  18702. parameters:
  18703. - description: 商品代码
  18704. in: query
  18705. name: goodsCode
  18706. required: true
  18707. type: string
  18708. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  18709. in: query
  18710. name: startTime
  18711. type: string
  18712. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  18713. in: query
  18714. name: endTime
  18715. type: string
  18716. - description: 条数
  18717. in: query
  18718. name: count
  18719. type: integer
  18720. - description: 是否按时间顺序排序(默认为时间倒序排序)
  18721. in: query
  18722. name: isAsc
  18723. type: boolean
  18724. produces:
  18725. - application/json
  18726. responses:
  18727. "200":
  18728. description: OK
  18729. schema:
  18730. $ref: '#/definitions/quote.HistoryTikData'
  18731. "500":
  18732. description: Internal Server Error
  18733. schema:
  18734. $ref: '#/definitions/app.Response'
  18735. security:
  18736. - ApiKeyAuth: []
  18737. summary: 查询行情Tik数据
  18738. tags:
  18739. - 行情服务
  18740. /Quote/QueryQuoteDay:
  18741. get:
  18742. parameters:
  18743. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  18744. in: query
  18745. name: goodsCodes
  18746. required: true
  18747. type: string
  18748. produces:
  18749. - application/json
  18750. responses:
  18751. "200":
  18752. description: OK
  18753. schema:
  18754. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  18755. "500":
  18756. description: Internal Server Error
  18757. schema:
  18758. $ref: '#/definitions/app.Response'
  18759. security:
  18760. - ApiKeyAuth: []
  18761. summary: 获取商品盘面信息
  18762. tags:
  18763. - 行情服务
  18764. /Quote/QueryTSData:
  18765. get:
  18766. parameters:
  18767. - description: 商品代码
  18768. in: query
  18769. name: goodsCode
  18770. required: true
  18771. type: string
  18772. produces:
  18773. - application/json
  18774. responses:
  18775. "200":
  18776. description: OK
  18777. schema:
  18778. $ref: '#/definitions/quote.QueryTSDataRsp'
  18779. "500":
  18780. description: Internal Server Error
  18781. schema:
  18782. $ref: '#/definitions/app.Response'
  18783. security:
  18784. - ApiKeyAuth: []
  18785. summary: 分时图数据查询
  18786. tags:
  18787. - 行情服务
  18788. /SZDZ/QueryConvertConfig:
  18789. get:
  18790. parameters:
  18791. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  18792. 6:交易转花生米(不设置)
  18793. in: query
  18794. name: convertType
  18795. type: integer
  18796. - description: 外部商品代码[JD\PD]
  18797. in: query
  18798. name: outerGoodsCode
  18799. type: string
  18800. - description: 内部商品ID列表[交易],格式:1,2,3
  18801. in: query
  18802. name: innerGoodsIDs
  18803. type: string
  18804. produces:
  18805. - application/json
  18806. responses:
  18807. "200":
  18808. description: OK
  18809. schema:
  18810. $ref: '#/definitions/models.Szdz3convertconfig'
  18811. "500":
  18812. description: Internal Server Error
  18813. schema:
  18814. $ref: '#/definitions/app.Response'
  18815. security:
  18816. - ApiKeyAuth: []
  18817. summary: 查询交易系统转换设置
  18818. tags:
  18819. - 定制【尚志大宗】
  18820. /SZDZ/QueryConvertLog:
  18821. get:
  18822. parameters:
  18823. - description: 资金账户 - 格式:1,2,3
  18824. in: query
  18825. name: accountID
  18826. required: true
  18827. type: string
  18828. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18829. in: query
  18830. name: startDate
  18831. type: string
  18832. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18833. in: query
  18834. name: endDate
  18835. type: string
  18836. produces:
  18837. - application/json
  18838. responses:
  18839. "200":
  18840. description: OK
  18841. schema:
  18842. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  18843. "500":
  18844. description: Internal Server Error
  18845. schema:
  18846. $ref: '#/definitions/app.Response'
  18847. security:
  18848. - ApiKeyAuth: []
  18849. summary: 交易系统转换流水查询
  18850. tags:
  18851. - 定制【尚志大宗】
  18852. /SZDZ/QueryGoodsPickup:
  18853. get:
  18854. parameters:
  18855. - description: 资金账户 - 格式:1,2,3
  18856. in: query
  18857. name: accountID
  18858. required: true
  18859. type: string
  18860. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18861. in: query
  18862. name: takeOrderStatus
  18863. type: integer
  18864. produces:
  18865. - application/json
  18866. responses:
  18867. "200":
  18868. description: OK
  18869. schema:
  18870. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  18871. "500":
  18872. description: Internal Server Error
  18873. schema:
  18874. $ref: '#/definitions/app.Response'
  18875. security:
  18876. - ApiKeyAuth: []
  18877. summary: 商品提货单查询
  18878. tags:
  18879. - 定制【尚志大宗】
  18880. /SZDZ/QueryRecieptOrder:
  18881. get:
  18882. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  18883. parameters:
  18884. - description: 页码
  18885. in: query
  18886. name: page
  18887. type: integer
  18888. - description: 每页条数
  18889. in: query
  18890. name: pagesize
  18891. type: integer
  18892. - description: 商品ID
  18893. in: query
  18894. name: goodsID
  18895. required: true
  18896. type: integer
  18897. - description: 所属账户名称
  18898. in: query
  18899. name: accountName
  18900. type: string
  18901. - description: 市场ID
  18902. in: query
  18903. name: marketID
  18904. type: integer
  18905. - description: 方向 - 0:买 1:卖
  18906. in: query
  18907. name: buyorsell
  18908. required: true
  18909. type: integer
  18910. produces:
  18911. - application/json
  18912. responses:
  18913. "200":
  18914. description: OK
  18915. schema:
  18916. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  18917. "500":
  18918. description: Internal Server Error
  18919. schema:
  18920. $ref: '#/definitions/app.Response'
  18921. security:
  18922. - ApiKeyAuth: []
  18923. summary: 点选挂牌委托单据查询(摘牌大厅)
  18924. tags:
  18925. - 定制【尚志大宗】
  18926. /SZDZ/QuerySZDZTradePosition:
  18927. get:
  18928. parameters:
  18929. - description: 资金账户
  18930. in: query
  18931. name: accountID
  18932. required: true
  18933. type: integer
  18934. produces:
  18935. - application/json
  18936. responses:
  18937. "200":
  18938. description: OK
  18939. schema:
  18940. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  18941. "500":
  18942. description: Internal Server Error
  18943. schema:
  18944. $ref: '#/definitions/app.Response'
  18945. security:
  18946. - ApiKeyAuth: []
  18947. summary: 持仓汇总查询(尚志大宗)
  18948. tags:
  18949. - 定制【尚志大宗】
  18950. /SZDZ/SearchWhite:
  18951. get:
  18952. parameters:
  18953. - description: 用户ID
  18954. in: query
  18955. name: userID
  18956. required: true
  18957. type: integer
  18958. produces:
  18959. - application/json
  18960. responses:
  18961. "200":
  18962. description: OK
  18963. schema:
  18964. $ref: '#/definitions/models.Szdz3searchwhitelist'
  18965. "500":
  18966. description: Internal Server Error
  18967. schema:
  18968. $ref: '#/definitions/app.Response'
  18969. security:
  18970. - ApiKeyAuth: []
  18971. summary: 搜索白名单
  18972. tags:
  18973. - 定制【尚志大宗】
  18974. /Search/SearchGoodses:
  18975. get:
  18976. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  18977. parameters:
  18978. - description: 检索内容
  18979. in: query
  18980. name: content
  18981. required: true
  18982. type: string
  18983. - description: 交易模式,格式:1,2,3
  18984. in: query
  18985. name: tradeModes
  18986. type: string
  18987. produces:
  18988. - application/json
  18989. responses:
  18990. "200":
  18991. description: OK
  18992. schema:
  18993. $ref: '#/definitions/models.SearchGoods'
  18994. "500":
  18995. description: Internal Server Error
  18996. schema:
  18997. $ref: '#/definitions/app.Response'
  18998. summary: 检索商品信息
  18999. tags:
  19000. - 检索服务
  19001. /TaAccount/GetTaAccounts:
  19002. get:
  19003. parameters:
  19004. - description: 登录账户
  19005. in: query
  19006. name: loginID
  19007. required: true
  19008. type: integer
  19009. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  19010. in: query
  19011. name: taAccountType
  19012. type: integer
  19013. produces:
  19014. - application/json
  19015. responses:
  19016. "200":
  19017. description: OK
  19018. schema:
  19019. $ref: '#/definitions/models.Taaccount'
  19020. "500":
  19021. description: Internal Server Error
  19022. schema:
  19023. $ref: '#/definitions/app.Response'
  19024. security:
  19025. - ApiKeyAuth: []
  19026. summary: 获取资金账户信息
  19027. tags:
  19028. - 资金账户
  19029. /TaAccount/QueryAmountLog:
  19030. get:
  19031. parameters:
  19032. - description: 页码
  19033. in: query
  19034. name: page
  19035. type: integer
  19036. - description: 每页条数
  19037. in: query
  19038. name: pagesize
  19039. type: integer
  19040. - description: 资金账户 - 格式:1,2,3
  19041. in: query
  19042. name: accountID
  19043. required: true
  19044. type: string
  19045. - description: 资金操作类型 - 格式:1,2,3
  19046. in: query
  19047. name: OperateType
  19048. type: string
  19049. produces:
  19050. - application/json
  19051. responses:
  19052. "200":
  19053. description: OK
  19054. schema:
  19055. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  19056. "500":
  19057. description: Internal Server Error
  19058. schema:
  19059. $ref: '#/definitions/app.Response'
  19060. security:
  19061. - ApiKeyAuth: []
  19062. summary: 资金流水查询(当前)
  19063. tags:
  19064. - 资金账户
  19065. /TaAccount/QueryHisAmountLog:
  19066. get:
  19067. parameters:
  19068. - description: 页码
  19069. in: query
  19070. name: page
  19071. type: integer
  19072. - description: 每页条数
  19073. in: query
  19074. name: pagesize
  19075. type: integer
  19076. - description: 资金账户 - 格式:1,2,3
  19077. in: query
  19078. name: accountID
  19079. required: true
  19080. type: string
  19081. - description: 资金操作类型 - 格式:1,2,3
  19082. in: query
  19083. name: OperateType
  19084. type: string
  19085. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19086. in: query
  19087. name: startDate
  19088. type: string
  19089. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19090. in: query
  19091. name: endDate
  19092. type: string
  19093. produces:
  19094. - application/json
  19095. responses:
  19096. "200":
  19097. description: OK
  19098. schema:
  19099. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  19100. "500":
  19101. description: Internal Server Error
  19102. schema:
  19103. $ref: '#/definitions/app.Response'
  19104. security:
  19105. - ApiKeyAuth: []
  19106. summary: 资金流水查询(历史)
  19107. tags:
  19108. - 资金账户
  19109. /Trade/QueryRecieptOrder:
  19110. get:
  19111. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  19112. parameters:
  19113. - description: 页码
  19114. in: query
  19115. name: page
  19116. type: integer
  19117. - description: 每页条数
  19118. in: query
  19119. name: pagesize
  19120. type: integer
  19121. - description: 商品ID
  19122. in: query
  19123. name: goodsID
  19124. required: true
  19125. type: integer
  19126. - description: 所属账户名称
  19127. in: query
  19128. name: accountName
  19129. type: string
  19130. - description: 市场ID
  19131. in: query
  19132. name: marketID
  19133. type: integer
  19134. - description: 方向 - 0:买 1:卖
  19135. in: query
  19136. name: buyorsell
  19137. required: true
  19138. type: integer
  19139. produces:
  19140. - application/json
  19141. responses:
  19142. "200":
  19143. description: OK
  19144. schema:
  19145. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  19146. "500":
  19147. description: Internal Server Error
  19148. schema:
  19149. $ref: '#/definitions/app.Response'
  19150. security:
  19151. - ApiKeyAuth: []
  19152. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  19153. tags:
  19154. - 通用交易
  19155. /User/AddMessageBoard:
  19156. post:
  19157. parameters:
  19158. - description: 用户ID
  19159. in: query
  19160. name: userID
  19161. required: true
  19162. type: integer
  19163. - description: 留言信息
  19164. in: query
  19165. name: message
  19166. required: true
  19167. type: string
  19168. - description: 联系电话
  19169. in: query
  19170. name: contactNum
  19171. required: true
  19172. type: string
  19173. produces:
  19174. - application/json
  19175. responses:
  19176. "200":
  19177. description: OK
  19178. schema:
  19179. $ref: '#/definitions/app.Response'
  19180. "500":
  19181. description: Internal Server Error
  19182. schema:
  19183. $ref: '#/definitions/app.Response'
  19184. security:
  19185. - ApiKeyAuth: []
  19186. summary: 添加用户留言板信息
  19187. tags:
  19188. - 用户信息
  19189. /User/AddUserFavoriteGoods:
  19190. post:
  19191. parameters:
  19192. - description: 用户ID
  19193. in: query
  19194. name: userID
  19195. required: true
  19196. type: integer
  19197. - description: 商品ID
  19198. in: query
  19199. name: goodsID
  19200. required: true
  19201. type: integer
  19202. produces:
  19203. - application/json
  19204. responses:
  19205. "200":
  19206. description: OK
  19207. schema:
  19208. $ref: '#/definitions/app.Response'
  19209. "500":
  19210. description: Internal Server Error
  19211. schema:
  19212. $ref: '#/definitions/app.Response'
  19213. security:
  19214. - ApiKeyAuth: []
  19215. summary: 添加用户商品收藏信息
  19216. tags:
  19217. - 用户信息
  19218. /User/GetLoginID:
  19219. get:
  19220. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  19221. parameters:
  19222. - description: 登录代码
  19223. in: query
  19224. name: username
  19225. required: true
  19226. type: string
  19227. produces:
  19228. - application/json
  19229. responses:
  19230. "200":
  19231. description: OK
  19232. schema:
  19233. $ref: '#/definitions/app.Response'
  19234. "500":
  19235. description: Internal Server Error
  19236. schema:
  19237. $ref: '#/definitions/app.Response'
  19238. summary: 获取登录ID
  19239. tags:
  19240. - 用户信息
  19241. /User/GetUserAccount:
  19242. get:
  19243. parameters:
  19244. - description: 用户ID
  19245. in: query
  19246. name: userID
  19247. required: true
  19248. type: integer
  19249. produces:
  19250. - application/json
  19251. responses:
  19252. "200":
  19253. description: OK
  19254. schema:
  19255. $ref: '#/definitions/models.Useraccount'
  19256. "500":
  19257. description: Internal Server Error
  19258. schema:
  19259. $ref: '#/definitions/app.Response'
  19260. security:
  19261. - ApiKeyAuth: []
  19262. summary: 获取用户账号信息
  19263. tags:
  19264. - 用户信息
  19265. /User/GetUserAuthStatus:
  19266. get:
  19267. parameters:
  19268. - description: 用户ID
  19269. in: query
  19270. name: userID
  19271. required: true
  19272. type: integer
  19273. produces:
  19274. - application/json
  19275. responses:
  19276. "200":
  19277. description: OK
  19278. schema:
  19279. $ref: '#/definitions/app.Response'
  19280. "500":
  19281. description: Internal Server Error
  19282. schema:
  19283. $ref: '#/definitions/app.Response'
  19284. security:
  19285. - ApiKeyAuth: []
  19286. summary: 获取用户实名认证状态
  19287. tags:
  19288. - 用户信息
  19289. /User/LoginQuery:
  19290. get:
  19291. parameters:
  19292. - description: 登录账号
  19293. in: query
  19294. name: loginID
  19295. required: true
  19296. type: integer
  19297. produces:
  19298. - application/json
  19299. responses:
  19300. "200":
  19301. description: OK
  19302. schema:
  19303. $ref: '#/definitions/user.LoginQueryRsp'
  19304. "500":
  19305. description: Internal Server Error
  19306. schema:
  19307. $ref: '#/definitions/app.Response'
  19308. security:
  19309. - ApiKeyAuth: []
  19310. summary: 账户登录后信息查询
  19311. tags:
  19312. - 用户信息
  19313. /User/QueryMessageBoard:
  19314. get:
  19315. parameters:
  19316. - description: 用户ID
  19317. in: query
  19318. name: userID
  19319. required: true
  19320. type: integer
  19321. produces:
  19322. - application/json
  19323. responses:
  19324. "200":
  19325. description: OK
  19326. schema:
  19327. $ref: '#/definitions/models.Messageboard'
  19328. "500":
  19329. description: Internal Server Error
  19330. schema:
  19331. $ref: '#/definitions/app.Response'
  19332. security:
  19333. - ApiKeyAuth: []
  19334. summary: 获取用户留言板信息
  19335. tags:
  19336. - 用户信息
  19337. /User/QueryUserFavoriteGoodses:
  19338. get:
  19339. parameters:
  19340. - description: 用户ID
  19341. in: query
  19342. name: userID
  19343. required: true
  19344. type: integer
  19345. produces:
  19346. - application/json
  19347. responses:
  19348. "200":
  19349. description: OK
  19350. schema:
  19351. $ref: '#/definitions/models.Userfavoritegoods'
  19352. "500":
  19353. description: Internal Server Error
  19354. schema:
  19355. $ref: '#/definitions/app.Response'
  19356. security:
  19357. - ApiKeyAuth: []
  19358. summary: 获取用户商品收藏信息
  19359. tags:
  19360. - 用户信息
  19361. /User/QueryUserInfo:
  19362. get:
  19363. parameters:
  19364. - description: 用户ID
  19365. in: query
  19366. name: userID
  19367. required: true
  19368. type: integer
  19369. - description: 是否解密
  19370. in: query
  19371. name: isDecrypt
  19372. type: boolean
  19373. produces:
  19374. - application/json
  19375. responses:
  19376. "200":
  19377. description: OK
  19378. schema:
  19379. $ref: '#/definitions/models.Userinfo'
  19380. "500":
  19381. description: Internal Server Error
  19382. schema:
  19383. $ref: '#/definitions/app.Response'
  19384. security:
  19385. - ApiKeyAuth: []
  19386. summary: 获取用户信息
  19387. tags:
  19388. - 用户信息
  19389. /User/QueryUserReferNum:
  19390. get:
  19391. parameters:
  19392. - description: 用户ID
  19393. in: query
  19394. name: userID
  19395. required: true
  19396. type: integer
  19397. produces:
  19398. - application/json
  19399. responses:
  19400. "200":
  19401. description: OK
  19402. schema:
  19403. $ref: '#/definitions/app.Response'
  19404. "500":
  19405. description: Internal Server Error
  19406. schema:
  19407. $ref: '#/definitions/app.Response'
  19408. summary: 获取用户邀请码
  19409. tags:
  19410. - 用户信息
  19411. /User/RemoveUserFavoriteGoods:
  19412. post:
  19413. parameters:
  19414. - description: 用户ID
  19415. in: query
  19416. name: userID
  19417. required: true
  19418. type: integer
  19419. - description: 商品ID
  19420. in: query
  19421. name: goodsID
  19422. required: true
  19423. type: integer
  19424. produces:
  19425. - application/json
  19426. responses:
  19427. "200":
  19428. description: OK
  19429. schema:
  19430. $ref: '#/definitions/app.Response'
  19431. "500":
  19432. description: Internal Server Error
  19433. schema:
  19434. $ref: '#/definitions/app.Response'
  19435. security:
  19436. - ApiKeyAuth: []
  19437. summary: 移除用户商品收藏信息
  19438. tags:
  19439. - 用户信息
  19440. /User/UpdateUserAccountStatus:
  19441. post:
  19442. parameters:
  19443. - description: 用户ID
  19444. in: query
  19445. name: userID
  19446. required: true
  19447. type: integer
  19448. - description: 账户状态 - 4:正常 6:注销(停用)
  19449. in: query
  19450. name: accountStatus
  19451. required: true
  19452. type: integer
  19453. produces:
  19454. - application/json
  19455. responses:
  19456. "200":
  19457. description: OK
  19458. schema:
  19459. $ref: '#/definitions/app.Response'
  19460. "500":
  19461. description: Internal Server Error
  19462. schema:
  19463. $ref: '#/definitions/app.Response'
  19464. security:
  19465. - ApiKeyAuth: []
  19466. summary: 更新用户状态
  19467. tags:
  19468. - 用户信息
  19469. /WRTrade/GetAllDeliveryGoods:
  19470. get:
  19471. produces:
  19472. - application/json
  19473. - application/json
  19474. responses:
  19475. "200":
  19476. description: OK
  19477. schema:
  19478. $ref: '#/definitions/app.Response'
  19479. "500":
  19480. description: Internal Server Error
  19481. schema:
  19482. $ref: '#/definitions/app.Response'
  19483. security:
  19484. - ApiKeyAuth: []
  19485. - ApiKeyAuth: []
  19486. summary: 获取带仓单分类的种类信息
  19487. tags:
  19488. - 仓单贸易
  19489. - 仓单贸易
  19490. securityDefinitions:
  19491. ApiKeyAuth:
  19492. in: header
  19493. name: Authorization
  19494. type: apiKey
  19495. swagger: "2.0"