swagger.yaml 533 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349
  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.QhjParentAreaList:
  9854. properties:
  9855. accountname:
  9856. description: 账户名称(机构名称)
  9857. type: string
  9858. userid:
  9859. description: 用户ID
  9860. type: integer
  9861. usertype:
  9862. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  9863. type: integer
  9864. type: object
  9865. models.QhjPayOrder:
  9866. properties:
  9867. buyaccountid:
  9868. description: 买方账号ID[报价币种]
  9869. type: integer
  9870. buyorderid:
  9871. description: 买方委托单号
  9872. type: string
  9873. createtime:
  9874. description: 创建时间
  9875. type: string
  9876. decimalplace:
  9877. description: 商品报价小数位
  9878. type: integer
  9879. enumdicname:
  9880. description: 单位名称
  9881. type: string
  9882. goodscode:
  9883. description: 商品代码
  9884. type: string
  9885. goodsid:
  9886. description: 商品ID
  9887. type: integer
  9888. goodsname:
  9889. description: 商品名称
  9890. type: string
  9891. goodunitid:
  9892. description: 商品单位id
  9893. type: integer
  9894. marketid:
  9895. description: 市场ID
  9896. type: integer
  9897. offamount:
  9898. description: 优惠金额
  9899. type: number
  9900. operatetype:
  9901. description: 买委托操作类型 - 1:正常下单 16:融资买入
  9902. type: integer
  9903. payamount:
  9904. description: 支付金额=TradeAmount + TradeCharge
  9905. type: number
  9906. payflag:
  9907. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9908. type: integer
  9909. paylimitedtime:
  9910. description: 支付期限
  9911. type: string
  9912. paytime:
  9913. description: 付款时间
  9914. type: string
  9915. sellaccountid:
  9916. description: 卖方账号ID[报价币种]
  9917. type: integer
  9918. sellorderid:
  9919. description: 卖方委托单号
  9920. type: string
  9921. tradeamount:
  9922. description: 成交金额(优惠后金额)
  9923. type: number
  9924. tradecharge:
  9925. description: 成交手续费(买方)
  9926. type: number
  9927. tradedate:
  9928. description: 交易日(yyyyMMdd)
  9929. type: string
  9930. tradeid:
  9931. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9932. type: string
  9933. tradeprice:
  9934. description: 成交价格
  9935. type: number
  9936. tradeqty:
  9937. description: 成交数量
  9938. type: integer
  9939. type: object
  9940. models.QhjPickArea:
  9941. properties:
  9942. address:
  9943. description: 详细地址
  9944. type: string
  9945. cityid:
  9946. description: 市
  9947. type: integer
  9948. cityname:
  9949. description: 城市名称
  9950. type: string
  9951. countryid:
  9952. description: 国家
  9953. type: integer
  9954. countryname:
  9955. description: 国家名称
  9956. type: string
  9957. districtid:
  9958. description: 地区
  9959. type: integer
  9960. districtname:
  9961. description: 地区名称
  9962. type: string
  9963. fromuserid:
  9964. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  9965. type: integer
  9966. fromusername:
  9967. description: 所属机构名称
  9968. type: string
  9969. provinceid:
  9970. description: 省
  9971. type: integer
  9972. provincename:
  9973. description: 省名称
  9974. type: string
  9975. suborgtype:
  9976. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  9977. type: integer
  9978. userid:
  9979. description: 机构用户ID 其他做市关系,都设置为 1
  9980. type: integer
  9981. username:
  9982. description: 机构用户名称(门店门称)
  9983. type: string
  9984. type: object
  9985. models.QhjPickGoods:
  9986. properties:
  9987. goodsid:
  9988. description: 商品id
  9989. type: integer
  9990. imageaddress:
  9991. description: 图片
  9992. type: string
  9993. modifierid:
  9994. description: 修改人
  9995. type: integer
  9996. modifiername:
  9997. description: 修改人名称
  9998. type: string
  9999. modifysrc:
  10000. description: 修改来源 - 1:管理端 2:终端
  10001. type: integer
  10002. pickupgoodsagreeunit:
  10003. description: 合约乘数
  10004. type: number
  10005. pickupgoodsdesc:
  10006. description: 描述
  10007. type: string
  10008. pickupgoodsid:
  10009. description: 提货商品ID
  10010. type: string
  10011. pickupgoodsname:
  10012. description: 提货商品名称
  10013. type: string
  10014. pickupgoodsstatus:
  10015. description: 状态 - 1:正常 2:停用 3:注销
  10016. type: integer
  10017. pickupgoodsunitid:
  10018. description: 单位ID
  10019. type: integer
  10020. pickupratio:
  10021. description: 提货系数
  10022. type: number
  10023. preparedays:
  10024. description: 备货期(天)
  10025. type: integer
  10026. remark:
  10027. description: 备注
  10028. type: string
  10029. updatetime:
  10030. description: 更新时间
  10031. type: string
  10032. type: object
  10033. models.QhjRSTriggerLog:
  10034. properties:
  10035. accountid:
  10036. description: 用户资金账户
  10037. type: integer
  10038. accountname:
  10039. description: 账号名称(ACCOUNTID对应的名称)
  10040. type: string
  10041. currencyid:
  10042. description: 币种id
  10043. type: integer
  10044. currencyname:
  10045. description: 币种名称
  10046. type: string
  10047. decimalplace:
  10048. description: 商品报价小数位
  10049. type: integer
  10050. enumdicname:
  10051. description: 单位名称
  10052. type: string
  10053. goodscode:
  10054. description: 定投商品代码
  10055. type: string
  10056. goodsid:
  10057. description: 定投商品ID
  10058. type: string
  10059. goodsname:
  10060. description: 定投商品名称
  10061. type: string
  10062. goodunitid:
  10063. description: 定投商品单位id
  10064. type: integer
  10065. logid:
  10066. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  10067. type: string
  10068. regularlycycle:
  10069. description: 定投频率 - 1:每周 2:每月
  10070. type: integer
  10071. regularlycyclevalue:
  10072. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  10073. type: string
  10074. regularlymode:
  10075. description: 定投方式 - 1:按数量 2:按金额
  10076. type: integer
  10077. regularlymodevalue:
  10078. description: 定投方式值 - 数量或金额
  10079. type: number
  10080. regularlystrategyid:
  10081. description: 定投策略ID
  10082. type: integer
  10083. retcode:
  10084. description: 错误码
  10085. type: string
  10086. tradeid:
  10087. description: 成交单ID
  10088. type: string
  10089. triggeramount:
  10090. description: 触发金额
  10091. type: number
  10092. triggerqty:
  10093. description: 触发数量
  10094. type: number
  10095. triggerstatus:
  10096. description: 触发状态 - 1:成功 2:失败
  10097. type: integer
  10098. triggertime:
  10099. description: 触发时间
  10100. type: string
  10101. triggertradedate:
  10102. description: 触发交易日
  10103. type: string
  10104. userid:
  10105. description: 所属用户ID
  10106. type: integer
  10107. username:
  10108. description: 用户名称(userid对应的名称)
  10109. type: string
  10110. type: object
  10111. models.QhjRStrategy:
  10112. properties:
  10113. accountid:
  10114. description: 用户资金账户
  10115. type: integer
  10116. accountname:
  10117. description: 账号名称(ACCOUNTID对应的名称)
  10118. type: string
  10119. currencyid:
  10120. description: 币种id
  10121. type: integer
  10122. currencyname:
  10123. description: 币种名称
  10124. type: string
  10125. decimalplace:
  10126. description: 商品报价小数位
  10127. type: integer
  10128. enumdicname:
  10129. description: 单位名称
  10130. type: string
  10131. goodscode:
  10132. description: 定投商品代码
  10133. type: string
  10134. goodsid:
  10135. description: 定投商品ID
  10136. type: string
  10137. goodsname:
  10138. description: 定投商品名称
  10139. type: string
  10140. goodunitid:
  10141. description: 定投商品单位id
  10142. type: integer
  10143. lasteffecttradedate:
  10144. description: 最新生效交易日
  10145. type: string
  10146. laststoptradedate:
  10147. description: 最新暂停交易日
  10148. type: string
  10149. lasttriggertradedate:
  10150. description: 最新触发交易日
  10151. type: string
  10152. nexttriggeramount:
  10153. description: 下次触发金额
  10154. type: number
  10155. nexttriggerdate:
  10156. description: 下次触发日期
  10157. type: string
  10158. nexttriggerqty:
  10159. description: 下次触发数量 [按小数位放大值]
  10160. type: number
  10161. regularlycycle:
  10162. description: 定投频率 - 1:每周 2:每月
  10163. type: integer
  10164. regularlycyclevalue:
  10165. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  10166. type: string
  10167. regularlymode:
  10168. description: 定投方式 - 1:按数量 2:按金额
  10169. type: integer
  10170. regularlymodevalue:
  10171. description: 定投方式值 - 数量或金额
  10172. type: number
  10173. regularlystrategyid:
  10174. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  10175. type: integer
  10176. regularlystrategystatus:
  10177. description: 策略状态 - 1:正常 2:暂停 3:终止
  10178. type: integer
  10179. remark:
  10180. description: 备注
  10181. type: string
  10182. triggersuccesstimes:
  10183. description: 累计定投成功次数
  10184. type: string
  10185. triggertotalamount:
  10186. description: 累计定投金额(成功)
  10187. type: number
  10188. triggertotalqty:
  10189. description: 累计定投数量(成功) [按小数位放大值]
  10190. type: number
  10191. triggertotaltimes:
  10192. description: 累计定投总次数
  10193. type: string
  10194. updatesrc:
  10195. description: 更新来源 - 1:管理端 2:终端
  10196. type: integer
  10197. updatetime:
  10198. description: 更新时间
  10199. type: string
  10200. updatorid:
  10201. description: 更新人
  10202. type: string
  10203. userid:
  10204. description: 所属用户ID
  10205. type: integer
  10206. username:
  10207. description: 用户名称(userid对应的名称)
  10208. type: string
  10209. type: object
  10210. models.QhjReckonPriceLog:
  10211. properties:
  10212. decimalplace:
  10213. description: 商品报价小数位
  10214. type: integer
  10215. goodscode:
  10216. description: 商品代码
  10217. type: string
  10218. goodsid:
  10219. description: 商品ID
  10220. type: integer
  10221. goodsname:
  10222. description: 商品名称
  10223. type: string
  10224. lastreckonprice:
  10225. description: 上日结算价
  10226. type: number
  10227. nextdnlimitprice:
  10228. description: 下个交易日跌停价
  10229. type: number
  10230. nexttrade:
  10231. description: 下个交易日
  10232. type: string
  10233. nextuplimitprice:
  10234. description: 下个交易日涨停价
  10235. type: number
  10236. reckonprice:
  10237. description: 今日结算价(定投价)
  10238. type: number
  10239. reckontime:
  10240. description: 结算时间
  10241. type: string
  10242. totalholderqty:
  10243. description: 总持仓数
  10244. type: integer
  10245. totalstock:
  10246. description: 总库存
  10247. type: integer
  10248. tradedate:
  10249. description: 交易日
  10250. type: string
  10251. updowncount:
  10252. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  10253. type: integer
  10254. updownflag:
  10255. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  10256. type: integer
  10257. updownrate:
  10258. description: 今日涨跌幅
  10259. type: number
  10260. updownrate_2d:
  10261. description: 连续两日涨跌幅
  10262. type: number
  10263. updownrate_3d:
  10264. description: 连续三日涨跌幅
  10265. type: number
  10266. type: object
  10267. models.QhjSiteColumnDetail:
  10268. properties:
  10269. author:
  10270. description: 作者
  10271. type: string
  10272. brief:
  10273. description: 简介
  10274. type: string
  10275. columnid:
  10276. description: 所属栏目
  10277. type: integer
  10278. context:
  10279. description: 内容
  10280. type: string
  10281. coverimage:
  10282. description: 封面图片
  10283. type: string
  10284. creaedate:
  10285. description: 创建时间
  10286. type: string
  10287. creatorid:
  10288. description: 创建人
  10289. type: integer
  10290. hits:
  10291. description: 点击数
  10292. type: integer
  10293. id:
  10294. description: ID(SEQ_SITE_COLUMNDETAIL)
  10295. type: integer
  10296. isshow:
  10297. description: 是否展示 - 0:不展示 1:展示
  10298. type: integer
  10299. istop:
  10300. description: 是否置顶 - 0:不置 1:置顶
  10301. type: integer
  10302. modifierid:
  10303. description: 操作人
  10304. type: integer
  10305. publishdate:
  10306. description: 发布日期
  10307. type: string
  10308. status:
  10309. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  10310. type: integer
  10311. title:
  10312. description: 标题
  10313. type: string
  10314. updatedate:
  10315. description: 修改时间
  10316. type: string
  10317. userid:
  10318. description: 用户ID(默认为0, 核心为为机构用户ID)
  10319. type: integer
  10320. username:
  10321. description: 用户名称
  10322. type: string
  10323. type: object
  10324. models.QhjTradeGoodsPickup:
  10325. properties:
  10326. accountid:
  10327. description: 账户ID
  10328. type: integer
  10329. address:
  10330. description: 提货人详细地址
  10331. type: string
  10332. amount:
  10333. description: 提货金额
  10334. type: number
  10335. artradedate:
  10336. description: 自动收货交易日(yyyyMMdd)
  10337. type: string
  10338. auditer:
  10339. description: 审核人
  10340. type: integer
  10341. auditsrc:
  10342. description: 更新来源 - 1:管理端 2:终端
  10343. type: integer
  10344. audittime:
  10345. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  10346. type: string
  10347. audittradedate:
  10348. description: 审核交易日(yyyyMMdd)
  10349. type: string
  10350. cardnum:
  10351. description: 提货人证件号码
  10352. type: string
  10353. cardtypeid:
  10354. description: 提货人证件类型
  10355. type: integer
  10356. checkremark:
  10357. description: 审核备注
  10358. type: string
  10359. cityid:
  10360. description: 市
  10361. type: integer
  10362. cityname:
  10363. description: 城市名称
  10364. type: string
  10365. confirmtime:
  10366. description: 取货时间 或 收货时间
  10367. type: string
  10368. countryid:
  10369. description: 国家
  10370. type: integer
  10371. countryname:
  10372. description: 国家名称
  10373. type: string
  10374. decimalplace:
  10375. description: 商品报价小数位
  10376. type: integer
  10377. districtid:
  10378. description: 地区
  10379. type: integer
  10380. districtname:
  10381. description: 地区名称
  10382. type: string
  10383. enumdicname:
  10384. description: 单位名称(提货商品)
  10385. type: string
  10386. expresscompany:
  10387. description: 物流公司
  10388. type: string
  10389. expressnum:
  10390. description: 物流单号
  10391. type: string
  10392. goodsagreeunit:
  10393. description: 交易商品乘数
  10394. type: number
  10395. goodscode:
  10396. description: 商品代码
  10397. type: string
  10398. goodsid:
  10399. description: 商品ID
  10400. type: integer
  10401. goodsname:
  10402. description: 商品名称
  10403. type: string
  10404. goodsqty:
  10405. description: 交易商品手数(69模式按成交量小数位放大取整)
  10406. type: number
  10407. handlestatus:
  10408. description: 处理状态
  10409. type: integer
  10410. marketid:
  10411. description: 市场ID
  10412. type: integer
  10413. phonenum:
  10414. description: 提货人联系方式
  10415. type: string
  10416. pickupgoodsagreeunit:
  10417. description: 提货商品合约乘数
  10418. type: number
  10419. pickupgoodsid:
  10420. description: 提货商品ID
  10421. type: string
  10422. pickupgoodsname:
  10423. description: 提货商品名称
  10424. type: string
  10425. pickupgoodsqty:
  10426. description: 提货商品手数(数量)
  10427. type: number
  10428. pickupgoodsunitid:
  10429. description: 单位ID(提货商品)
  10430. type: integer
  10431. pickupratio:
  10432. description: 提货系数
  10433. type: number
  10434. preparedays:
  10435. description: 备货期(天)-提货单明细表
  10436. type: integer
  10437. provinceid:
  10438. description: 省
  10439. type: integer
  10440. provincename:
  10441. description: 省名称
  10442. type: string
  10443. qty:
  10444. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  10445. type: number
  10446. recivername:
  10447. description: 提货人姓名
  10448. type: string
  10449. reqtime:
  10450. description: 提货申请时间
  10451. type: string
  10452. storeuserid:
  10453. description: 门店用户ID (千海金)
  10454. type: integer
  10455. storeusername:
  10456. description: 门店用户名称
  10457. type: string
  10458. takemode:
  10459. description: 提货方式 - 2:自提 3:配送(邮寄)
  10460. type: integer
  10461. takeorderid:
  10462. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10463. type: integer
  10464. takeorderstatus:
  10465. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  10466. 7:已拒绝 8:已撤销
  10467. type: integer
  10468. takeremark:
  10469. description: 提货备注
  10470. type: string
  10471. tradedate:
  10472. description: 交易日(yyyyMMdd)
  10473. type: string
  10474. updatetime:
  10475. description: 更新时间
  10476. type: string
  10477. userid:
  10478. description: 用户ID
  10479. type: integer
  10480. username:
  10481. description: 用户名称
  10482. type: string
  10483. type: object
  10484. models.Qhjgoodsex:
  10485. properties:
  10486. canfinance:
  10487. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  10488. type: integer
  10489. canregularlybuy:
  10490. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  10491. type: integer
  10492. defaulttradeuserid:
  10493. description: 默认交易用户ID
  10494. type: integer
  10495. deliverygoodsid:
  10496. description: 现货品种ID
  10497. type: integer
  10498. goodsid:
  10499. description: 商品ID(自增ID SEQ_GOODS)
  10500. type: integer
  10501. minamount:
  10502. description: 最小购买金额
  10503. type: number
  10504. regularlybuyminamount:
  10505. description: 定投最小金额
  10506. type: number
  10507. regularlybuyminqty:
  10508. description: 定投最小数量
  10509. type: number
  10510. spotgoodsbrandid:
  10511. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  10512. type: integer
  10513. wrstandardid:
  10514. description: 现货商品ID
  10515. type: integer
  10516. type: object
  10517. models.QueryErrorInfosRsp:
  10518. properties:
  10519. description:
  10520. description: 异常描述
  10521. type: string
  10522. errorcode:
  10523. description: 异常代码
  10524. type: string
  10525. errorid:
  10526. description: 异常ID
  10527. type: integer
  10528. modulecode:
  10529. description: 所属模块
  10530. type: string
  10531. operatecode:
  10532. description: 所属操作
  10533. type: string
  10534. rownumber:
  10535. description: 行号
  10536. type: string
  10537. required:
  10538. - errorid
  10539. type: object
  10540. models.QueryHedgeOrderDetailRsp:
  10541. properties:
  10542. accountid:
  10543. description: 账户ID
  10544. type: integer
  10545. buyorsell:
  10546. description: 买卖 - 0:买 1:卖
  10547. type: integer
  10548. cancellogincode:
  10549. description: 撤单人
  10550. type: string
  10551. channelbuildtype:
  10552. description: 开平标志 - 0:无 1:建仓 2:平仓
  10553. type: integer
  10554. channelinnerorderstatus:
  10555. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  10556. 9:全部成交
  10557. type: integer
  10558. channeloperatetype:
  10559. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  10560. type: integer
  10561. closetype:
  10562. description: 平仓方式 - 0:无 1:平今 2:平昨
  10563. type: integer
  10564. curexchangerate:
  10565. description: 当前汇率
  10566. type: number
  10567. exchangefullname:
  10568. description: 外部交易所全称
  10569. type: string
  10570. goodscode:
  10571. description: 商品代码(内部)
  10572. type: string
  10573. goodsid:
  10574. description: 商品ID
  10575. type: integer
  10576. goodsname:
  10577. description: 商品名称
  10578. type: string
  10579. marketid:
  10580. description: 市场ID
  10581. type: integer
  10582. openfreezemargin:
  10583. description: 冻结保证金(冻结交易金额)
  10584. type: number
  10585. orderid:
  10586. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10587. type: string
  10588. orderlogincode:
  10589. description: 委托人
  10590. type: string
  10591. orderprice:
  10592. description: 委托价格(账户)
  10593. type: number
  10594. orderqty:
  10595. description: 委托数量
  10596. type: integer
  10597. ordertime:
  10598. description: 委托时间
  10599. type: string
  10600. pricemode:
  10601. description: '取价方式 - 1:市价 2: 限价'
  10602. type: integer
  10603. tradedate:
  10604. description: 交易日(yyyyMMdd)
  10605. type: string
  10606. tradeqty:
  10607. description: 成交数量
  10608. type: integer
  10609. type: object
  10610. models.QueryHedgeTradeDetailRsp:
  10611. properties:
  10612. accountid:
  10613. description: 账号ID
  10614. type: integer
  10615. buyorsell:
  10616. description: 方向 - 0:买 1:卖
  10617. type: integer
  10618. channelbuildtype:
  10619. description: 委托单据类型 0:无 1:建仓 2:平仓
  10620. type: integer
  10621. closecharge:
  10622. description: 平仓手续费(账户)
  10623. type: number
  10624. closecharge2:
  10625. description: 平仓手续费(商品)
  10626. type: number
  10627. closepl:
  10628. description: 平仓盈亏(账户)
  10629. type: number
  10630. closepl2:
  10631. description: 平仓盈亏(商品)
  10632. type: number
  10633. closepl3:
  10634. description: 平仓盈亏(账户)(逐笔)
  10635. type: number
  10636. closepl4:
  10637. description: 平仓盈亏(商品)(逐笔)
  10638. type: number
  10639. closetype:
  10640. description: 平仓方式 - 0:无 1:平今 2:平昨
  10641. type: integer
  10642. curexchangerate:
  10643. description: 当前汇率
  10644. type: number
  10645. exchangefullname:
  10646. description: 外部交易所全称
  10647. type: string
  10648. goodscode:
  10649. description: 商品代码(内部)
  10650. type: string
  10651. goodsid:
  10652. description: 商品ID
  10653. type: integer
  10654. goodsname:
  10655. description: 商品名称
  10656. type: string
  10657. marketid:
  10658. description: 市场ID
  10659. type: integer
  10660. opencharge:
  10661. description: 建仓手续费(账户)
  10662. type: number
  10663. opencharge2:
  10664. description: 建仓手续费(商品)
  10665. type: number
  10666. orderid:
  10667. description: 委托单号
  10668. type: string
  10669. orderlogincode:
  10670. description: 委托人
  10671. type: string
  10672. tradeamount:
  10673. description: 成交金额(账户)
  10674. type: number
  10675. tradedate:
  10676. description: 交易日(yyyyMMdd)
  10677. type: string
  10678. tradeid:
  10679. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10680. type: string
  10681. tradeprice:
  10682. description: 成交价格
  10683. type: number
  10684. tradeqty:
  10685. description: 成交数量
  10686. type: integer
  10687. tradetime:
  10688. description: 成交时间
  10689. type: string
  10690. tradetype:
  10691. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  10692. type: integer
  10693. type: object
  10694. models.QuotePrimaryMenu:
  10695. properties:
  10696. Index:
  10697. description: 序号
  10698. type: integer
  10699. Key:
  10700. description: 键名
  10701. type: string
  10702. Name:
  10703. description: 菜单名称
  10704. type: string
  10705. SubMenus:
  10706. description: 子菜单
  10707. items:
  10708. $ref: '#/definitions/models.QuoteSecondaryMenu'
  10709. type: array
  10710. SubTitleType:
  10711. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  10712. type: integer
  10713. TradeModes:
  10714. description: 包含市场交易类型
  10715. type: string
  10716. type: object
  10717. models.QuoteSecondaryMenu:
  10718. properties:
  10719. ExExchangeCode:
  10720. description: 外部交易所代码
  10721. type: string
  10722. ExExchangeID:
  10723. description: 外部交易所ID
  10724. type: integer
  10725. GoodsGroupIDs:
  10726. description: 商品组ID列表
  10727. items:
  10728. type: integer
  10729. type: array
  10730. Index:
  10731. description: 序号
  10732. type: integer
  10733. MarketID:
  10734. description: 市场ID
  10735. type: integer
  10736. MenuTitle:
  10737. description: 菜单标题(市场名称或外部交易所名称)
  10738. type: string
  10739. TradeMode:
  10740. description: 交易模式
  10741. type: integer
  10742. type: object
  10743. models.SearchGoods:
  10744. properties:
  10745. goodscode:
  10746. description: 商品代码(内部)
  10747. type: string
  10748. goodsid:
  10749. description: 商品ID(自增ID SEQ_GOODS)
  10750. type: integer
  10751. goodsname:
  10752. description: 商品名称
  10753. type: string
  10754. marketid:
  10755. description: 所属市场ID
  10756. type: integer
  10757. marketname:
  10758. description: 市场名称
  10759. type: string
  10760. trademode:
  10761. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10762. 21:竞拍-大宗式 22:受托竞价
  10763. type: integer
  10764. required:
  10765. - goodscode
  10766. - goodsid
  10767. - goodsname
  10768. - marketid
  10769. - trademode
  10770. type: object
  10771. models.Systemparam:
  10772. properties:
  10773. loginid:
  10774. description: 更新用户账号,登录账号
  10775. type: string
  10776. modifyflag:
  10777. description: 修改标志0 不允许修改 1 允许修改
  10778. type: integer
  10779. paramcode:
  10780. description: 参数代码
  10781. type: string
  10782. paramname:
  10783. description: 参数名
  10784. type: string
  10785. paramtype:
  10786. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  10787. type: integer
  10788. paramvalue:
  10789. description: 参数值
  10790. type: string
  10791. paramvalue2:
  10792. description: 参数值(CLOB)
  10793. type: string
  10794. regexpress:
  10795. description: 正则表达式
  10796. type: string
  10797. remark:
  10798. description: 备注
  10799. type: string
  10800. serverip:
  10801. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  10802. type: string
  10803. showflag:
  10804. description: 是否显示0 不显示 1 显示
  10805. type: integer
  10806. updatetime:
  10807. description: 更新时间
  10808. type: string
  10809. userid:
  10810. description: 更新用户ID
  10811. type: integer
  10812. required:
  10813. - paramcode
  10814. type: object
  10815. models.Szdz3convertconfig:
  10816. properties:
  10817. canin:
  10818. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  10819. type: integer
  10820. canout:
  10821. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  10822. type: integer
  10823. converttype:
  10824. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  10825. 6:交易转花生米(不设置)
  10826. type: integer
  10827. createtime:
  10828. description: 创建时间
  10829. type: string
  10830. creatorid:
  10831. description: 创建人
  10832. type: integer
  10833. daymaxvalue:
  10834. description: 当日最大转入限制
  10835. type: number
  10836. freezedays:
  10837. description: 冻结天数 [5:花生米转交易]
  10838. type: integer
  10839. innergoodsid:
  10840. description: 内部商品ID[交易]
  10841. type: integer
  10842. inratio:
  10843. description: 目标值
  10844. type: integer
  10845. modifierid:
  10846. description: 修改人
  10847. type: integer
  10848. modifytime:
  10849. description: 修改时间
  10850. type: string
  10851. outergoodscode:
  10852. description: 外部商品代码[JD\PD]
  10853. type: string
  10854. outratio:
  10855. description: 源值
  10856. type: integer
  10857. pddecimalplace:
  10858. description: PD小数位
  10859. type: integer
  10860. timemaxvalue:
  10861. description: 单次最大转入限制
  10862. type: number
  10863. timeminvalue:
  10864. description: 单次最小转入限制
  10865. type: number
  10866. required:
  10867. - converttype
  10868. - innergoodsid
  10869. - outergoodscode
  10870. type: object
  10871. models.Szdz3searchwhitelist:
  10872. properties:
  10873. createtime:
  10874. description: 创建时间
  10875. type: string
  10876. creatorid:
  10877. description: 创建人
  10878. type: integer
  10879. modifierid:
  10880. description: 修改人
  10881. type: integer
  10882. modifytime:
  10883. description: 修改时间
  10884. type: string
  10885. userid:
  10886. description: 用户ID
  10887. type: integer
  10888. required:
  10889. - userid
  10890. type: object
  10891. models.Taaccount:
  10892. properties:
  10893. accountflag:
  10894. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  10895. type: integer
  10896. accountid:
  10897. description: 资金账户ID
  10898. type: integer
  10899. accountname:
  10900. description: 账户名称
  10901. type: string
  10902. balance:
  10903. description: 期初余额
  10904. type: number
  10905. capitalbalance:
  10906. description: 本金余额[外部子账户实际出入金余额]
  10907. type: number
  10908. changeflag:
  10909. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  10910. type: integer
  10911. changetime:
  10912. description: 账户状态变更时间
  10913. type: string
  10914. closepl:
  10915. description: 今日平仓盈亏
  10916. type: number
  10917. creditdecrease:
  10918. description: 今日授信减少
  10919. type: number
  10920. creditincrease:
  10921. description: 今日授信增加
  10922. type: number
  10923. currencyid:
  10924. description: 货币ID
  10925. type: integer
  10926. currentbalance:
  10927. description: 期末余额
  10928. type: number
  10929. freezecharge:
  10930. description: 手续费冻结
  10931. type: number
  10932. freezemargin:
  10933. description: 冻结保证金
  10934. type: number
  10935. fromaccountid:
  10936. description: 所属上级账户
  10937. type: integer
  10938. inamount:
  10939. description: 今日入金金额(包括三方入金)
  10940. type: number
  10941. ismain:
  10942. description: 是否母账号 0:不是母账户 1:是母账户
  10943. type: integer
  10944. ismarketaccount:
  10945. description: 是否机构接单账号 0:不是 1:是
  10946. type: integer
  10947. isreckonaccount:
  10948. description: 是否机构分润账号 0:不是 1:是
  10949. type: integer
  10950. mortgagecredit:
  10951. description: 授信金额
  10952. type: number
  10953. orifreezecharge:
  10954. description: 期初手续费冻结
  10955. type: number
  10956. orifreezemargin:
  10957. description: 期初冻结保证金
  10958. type: number
  10959. orimortgagecredit:
  10960. description: 期初授信金额
  10961. type: number
  10962. oriothercredit:
  10963. description: 期初其它授信金额
  10964. type: number
  10965. oriotherfreezemargin:
  10966. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  10967. type: number
  10968. orioutamountfreeze:
  10969. description: 期初出金冻结
  10970. type: number
  10971. oriusedmargin:
  10972. description: 期初占用保证金
  10973. type: number
  10974. othercredit:
  10975. description: 其它授信金额
  10976. type: number
  10977. othercreditdecrease:
  10978. description: 今日其它授信减少
  10979. type: number
  10980. othercreditincrease:
  10981. description: 今日其它授信增加
  10982. type: number
  10983. otherfreezemargin:
  10984. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  10985. type: number
  10986. otherincome:
  10987. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  10988. type: number
  10989. otherpay:
  10990. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  10991. type: number
  10992. outamount:
  10993. description: 今日出金金额(包括三方出金)
  10994. type: number
  10995. outamountfreeze:
  10996. description: 出金冻结
  10997. type: number
  10998. outthreshold:
  10999. description: 出金阈值
  11000. type: number
  11001. parentaccountid:
  11002. description: 所属根账号
  11003. type: integer
  11004. paycharge:
  11005. description: 今日手续费支出
  11006. type: number
  11007. relatedaccountstatus:
  11008. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  11009. type: integer
  11010. relateduserid:
  11011. description: 关联用户
  11012. type: integer
  11013. serivcegroup:
  11014. description: 服务分组
  11015. type: integer
  11016. signstatus:
  11017. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  11018. type: integer
  11019. sublevelpath:
  11020. description: 账号层级路径(逗号分隔,首尾加逗号)
  11021. type: string
  11022. taaccounttype:
  11023. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  11024. type: integer
  11025. thirdinamount:
  11026. description: 今日三方入金
  11027. type: number
  11028. thirdoutamount:
  11029. description: 今日三方出金
  11030. type: number
  11031. tradestatus:
  11032. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  11033. type: integer
  11034. tradestatuschangetime:
  11035. description: 激活时间
  11036. type: string
  11037. transferamount:
  11038. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  11039. type: number
  11040. usedmargin:
  11041. description: 占用保证金
  11042. type: number
  11043. userid:
  11044. description: 用户ID
  11045. type: integer
  11046. required:
  11047. - accountid
  11048. - userid
  11049. type: object
  11050. models.Tablecolumnconfig:
  11051. properties:
  11052. aligntype:
  11053. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  11054. type: integer
  11055. autoid:
  11056. description: AutoID
  11057. type: integer
  11058. columnfield:
  11059. description: 列字段
  11060. type: string
  11061. columntitle:
  11062. description: 列Title
  11063. type: string
  11064. columnwidth:
  11065. description: 列宽
  11066. type: string
  11067. formatterstring:
  11068. description: 格式化字符
  11069. type: string
  11070. formattertype:
  11071. description: 格式化类型
  11072. type: string
  11073. groupname:
  11074. description: 表头分组名称
  11075. type: string
  11076. isshow:
  11077. description: 是否显示 - 0:不显示 1:显示
  11078. type: integer
  11079. needsummary:
  11080. description: 是否需要汇总 - 0:不需要 1:需要
  11081. type: integer
  11082. orderindex:
  11083. description: 顺序
  11084. type: integer
  11085. remark:
  11086. description: 备注
  11087. type: string
  11088. summarytype:
  11089. description: 汇总类型 - 1:加总 2:最后一个
  11090. type: integer
  11091. tablekey:
  11092. description: 列表Key
  11093. type: string
  11094. required:
  11095. - autoid
  11096. type: object
  11097. models.UserCollectConfig:
  11098. properties:
  11099. accountstatus:
  11100. description: 账户状态 - 1:正常 2:停用 3:注销
  11101. type: integer
  11102. collectaccountname:
  11103. description: 收款人账户名称
  11104. type: string
  11105. collectaccountno:
  11106. description: 收款人账户
  11107. type: string
  11108. collectbankname:
  11109. description: 收款人开户行
  11110. type: string
  11111. collectbranchbankname:
  11112. description: 收款人开户支行
  11113. type: string
  11114. collectconfigid:
  11115. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  11116. type: string
  11117. remark:
  11118. description: 备注
  11119. type: string
  11120. userid:
  11121. description: 收款人用户ID
  11122. type: integer
  11123. type: object
  11124. models.UserReceiveInfo:
  11125. properties:
  11126. address:
  11127. description: 提货人详细地址
  11128. type: string
  11129. autoid:
  11130. description: AutoID
  11131. type: integer
  11132. cardnum:
  11133. description: 证件号码(加密存储)
  11134. type: string
  11135. cardtypeid:
  11136. description: 证件类型
  11137. type: integer
  11138. cityid:
  11139. description: 市
  11140. type: integer
  11141. cityname:
  11142. description: 城市名称
  11143. type: string
  11144. countryid:
  11145. description: 国家
  11146. type: integer
  11147. countryname:
  11148. description: 国家名称
  11149. type: string
  11150. districtid:
  11151. description: 地区
  11152. type: integer
  11153. districtname:
  11154. description: 地区名称
  11155. type: string
  11156. hasencrypt:
  11157. description: 数据是否已加密 - 0:未加密 1:已加密
  11158. type: integer
  11159. isdefault:
  11160. description: 是否默认地址 - 0:否 1:是
  11161. type: integer
  11162. phonenum:
  11163. description: 提货人联系方式(加密存储)
  11164. type: string
  11165. provinceid:
  11166. description: 省
  11167. type: integer
  11168. provincename:
  11169. description: 省名称
  11170. type: string
  11171. receivername:
  11172. description: 提货人姓名
  11173. type: string
  11174. takeremark:
  11175. description: 提货备注
  11176. type: string
  11177. userid:
  11178. description: 用户ID
  11179. type: integer
  11180. type: object
  11181. models.Useraccount:
  11182. properties:
  11183. accountname:
  11184. description: 账户名称(机构名称)
  11185. type: string
  11186. accountstatus:
  11187. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11188. type: integer
  11189. applysrc:
  11190. description: 申请来源 - 1:管理端 2:终端
  11191. type: integer
  11192. auditremark:
  11193. description: 审核备注
  11194. type: string
  11195. auditsrc:
  11196. description: 审核来源 - 1:管理端 2:终端
  11197. type: integer
  11198. audittime:
  11199. description: 审核时间
  11200. type: string
  11201. audituserid:
  11202. description: 审核人
  11203. type: integer
  11204. broker:
  11205. description: 所属经纪人ID
  11206. type: integer
  11207. canceltime:
  11208. description: 销户时间
  11209. type: string
  11210. canceluserid:
  11211. description: 销户人
  11212. type: integer
  11213. canrecommend:
  11214. description: 是否可推荐 - 0:不可 1;可
  11215. type: integer
  11216. createtime:
  11217. description: 创建时间
  11218. type: string
  11219. creatorid:
  11220. description: 创建人
  11221. type: integer
  11222. hasauth:
  11223. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  11224. type: integer
  11225. isanonymous:
  11226. description: 是否匿名下单 - 0:否 1:是
  11227. type: integer
  11228. maxinvestornum:
  11229. description: 最大用户数(经纪会员下投资者个数)
  11230. type: integer
  11231. memberuserid:
  11232. description: 所属会员ID
  11233. type: integer
  11234. modifierid:
  11235. description: 修改人
  11236. type: integer
  11237. modifyremark:
  11238. description: 变更备注
  11239. type: string
  11240. modifystatus:
  11241. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  11242. type: integer
  11243. modifytime:
  11244. description: 修改时间
  11245. type: string
  11246. parenttopuser:
  11247. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11248. type: string
  11249. parentuserid:
  11250. description: 所属机构ID
  11251. type: integer
  11252. reckonaccountid:
  11253. description: 默认结算资金账号ID(机构分润使用) 作废
  11254. type: integer
  11255. refercount:
  11256. description: 推荐总人数
  11257. type: integer
  11258. refereeuserid:
  11259. description: 推荐人ID
  11260. type: integer
  11261. refernum:
  11262. description: 推荐码
  11263. type: string
  11264. rootuserid:
  11265. description: 根用户ID
  11266. type: integer
  11267. subaccountlevel:
  11268. description: 子账户层数
  11269. type: integer
  11270. subarealevelpath:
  11271. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11272. type: string
  11273. userid:
  11274. description: 用户ID
  11275. type: integer
  11276. usertype:
  11277. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11278. type: integer
  11279. required:
  11280. - userid
  11281. type: object
  11282. models.Userfavoritegoods:
  11283. properties:
  11284. goodsid:
  11285. description: 商品ID
  11286. type: integer
  11287. required:
  11288. - goodsid
  11289. type: object
  11290. models.Userinfo:
  11291. properties:
  11292. address:
  11293. description: 地址
  11294. type: string
  11295. attachment1:
  11296. description: 附件1
  11297. type: string
  11298. attachment2:
  11299. description: 附件2
  11300. type: string
  11301. bankaccount:
  11302. description: 银行帐号 (加密存储)
  11303. type: string
  11304. bankaccountname:
  11305. description: 收款人名称
  11306. type: string
  11307. bankcardfrontphotourl:
  11308. description: 银行卡正面照地址
  11309. type: string
  11310. bankid:
  11311. description: 银行编码
  11312. type: string
  11313. bankname:
  11314. description: 银行名称
  11315. type: string
  11316. biznature:
  11317. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  11318. type: integer
  11319. bizscope:
  11320. description: 企业经营范围(企业)
  11321. type: string
  11322. cardbackphotourl:
  11323. description: 证件背面图片地址
  11324. type: string
  11325. cardfrontphotourl:
  11326. description: 证件正面图片地址
  11327. type: string
  11328. cardnum:
  11329. description: 证件号码(加密存储)
  11330. type: string
  11331. cardtypeid:
  11332. description: 证件类型ID
  11333. type: integer
  11334. cityid:
  11335. description: 市
  11336. type: integer
  11337. company:
  11338. description: 公司(个人)
  11339. type: string
  11340. contactname:
  11341. description: 联系人
  11342. type: string
  11343. countryid:
  11344. description: 国家
  11345. type: integer
  11346. createtime:
  11347. description: 创建时间
  11348. type: string
  11349. creatorid:
  11350. description: 创建人
  11351. type: integer
  11352. customername:
  11353. description: 客户名称(企业名称)
  11354. type: string
  11355. districtid:
  11356. description: 地区
  11357. type: integer
  11358. email:
  11359. description: 邮件(加密存储)
  11360. type: string
  11361. fax:
  11362. description: 传真(加密存储)
  11363. type: string
  11364. halfbodyphotourl:
  11365. description: 半身照地址
  11366. type: string
  11367. hasencrypt:
  11368. description: 数据是否已加密 - 0:未加密 1:已加密
  11369. type: integer
  11370. headurl:
  11371. description: 头像地址
  11372. type: string
  11373. legalcardbackphotourl:
  11374. description: 法人身份证背面照地址
  11375. type: string
  11376. legalcardfrontphotourl:
  11377. description: 法人身份证正面照地址
  11378. type: string
  11379. legalpersonname:
  11380. description: 法人姓名(企业)
  11381. type: string
  11382. mobile:
  11383. description: 手机号码(加密存储)
  11384. type: string
  11385. mobile2:
  11386. description: 手机号码[明文-尚志]
  11387. type: string
  11388. modifierid:
  11389. description: 修改人
  11390. type: integer
  11391. modifiertime:
  11392. description: 修改时间
  11393. type: string
  11394. needinvoice:
  11395. description: 是否需要发票 - 0:不需要 1:需要
  11396. type: integer
  11397. nickname:
  11398. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  11399. type: string
  11400. openmode:
  11401. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  11402. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  11403. type: integer
  11404. otherurl:
  11405. description: 其它图片地址[使用分号分隔]
  11406. type: string
  11407. postalcode:
  11408. description: 邮政编码
  11409. type: string
  11410. provinceid:
  11411. description: 省
  11412. type: integer
  11413. qq:
  11414. description: QQ(加密存储
  11415. type: string
  11416. remark:
  11417. description: 备注
  11418. type: string
  11419. sex:
  11420. description: '用户性别 0: 女 1: 男'
  11421. type: integer
  11422. signpdfurl:
  11423. description: 签约pdf文件
  11424. type: string
  11425. telphone:
  11426. description: 联系电话(加密存储)
  11427. type: string
  11428. userid:
  11429. description: 用户ID
  11430. type: integer
  11431. userinfotype:
  11432. description: 用户信息类型 - 1:个人 2:企业
  11433. type: integer
  11434. userstatus:
  11435. description: 用户状态 - 1:正常 2:注销
  11436. type: integer
  11437. usertype:
  11438. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  11439. type: integer
  11440. wechat:
  11441. description: 微信(加密存储)
  11442. type: string
  11443. wskhinfo:
  11444. description: 开户申请信息(JSON)
  11445. type: string
  11446. required:
  11447. - userid
  11448. type: object
  11449. models.WRSConverTDetail:
  11450. properties:
  11451. convertratio:
  11452. description: 套保系数
  11453. type: number
  11454. deliverygoodscode:
  11455. description: 现货商品代码
  11456. type: string
  11457. deliverygoodsid:
  11458. description: 现货品种ID
  11459. type: integer
  11460. deliverygoodsname:
  11461. description: 现货商品名称
  11462. type: string
  11463. enumdicname:
  11464. description: 单位名称
  11465. type: string
  11466. goodsunitid:
  11467. description: 套保品种单位id
  11468. type: integer
  11469. middlegoodscode:
  11470. description: 套保品种代码
  11471. type: string
  11472. middlegoodsid:
  11473. description: 套保品种ID
  11474. type: integer
  11475. middlegoodsname:
  11476. description: 套保品种名称
  11477. type: string
  11478. modifytime:
  11479. description: 修改时间
  11480. type: string
  11481. wrstandardid:
  11482. description: 品类ID
  11483. type: integer
  11484. type: object
  11485. models.WRStandardInfo:
  11486. properties:
  11487. areauserid:
  11488. description: 所属机构
  11489. type: integer
  11490. convertfactor:
  11491. description: 标仓系数
  11492. type: number
  11493. createtime:
  11494. description: 创建时间
  11495. type: string
  11496. creatorid:
  11497. description: 创建人
  11498. type: integer
  11499. deliverygoodsid:
  11500. description: 品种ID
  11501. type: integer
  11502. deliverygoodsname:
  11503. description: 交割商品名称
  11504. type: string
  11505. factoryitemjson:
  11506. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  11507. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  11508. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  11509. 逗号分隔'
  11510. type: string
  11511. isvalid:
  11512. description: 是否有效 - 0:无效 1:有效
  11513. type: integer
  11514. minivalue:
  11515. description: 最小变动值
  11516. type: integer
  11517. minivaluedp:
  11518. description: 最小变动值小数位
  11519. type: integer
  11520. realminivalue:
  11521. description: 实际最小变动值
  11522. type: integer
  11523. realminivaluedp:
  11524. description: 实际最小变动值小数位
  11525. type: integer
  11526. remark:
  11527. description: 备注
  11528. type: string
  11529. unitid:
  11530. description: 单位ID
  11531. type: integer
  11532. unitname:
  11533. description: 单位
  11534. type: string
  11535. updatetime:
  11536. description: 更新时间
  11537. type: string
  11538. updatorid:
  11539. description: 更新人
  11540. type: integer
  11541. wrsstatus:
  11542. description: 状态 - 作废 - 0:未激活 1:正常
  11543. type: integer
  11544. wrstandardcode:
  11545. description: 现货品类代码
  11546. type: string
  11547. wrstandardid:
  11548. description: 现货品类ID(SEQ_WRSTANDARD)
  11549. type: integer
  11550. wrstandardname:
  11551. description: 现货品类名称
  11552. type: string
  11553. required:
  11554. - wrstandardid
  11555. type: object
  11556. models.Warehouseinfo:
  11557. properties:
  11558. address:
  11559. description: 详细地址
  11560. type: string
  11561. areauserid:
  11562. description: 所属机构
  11563. type: integer
  11564. autoid:
  11565. description: 自增ID
  11566. type: integer
  11567. cityid:
  11568. description: 市
  11569. type: integer
  11570. contactname:
  11571. description: 联系人
  11572. type: string
  11573. contactnum:
  11574. description: 联系电话
  11575. type: string
  11576. countryid:
  11577. description: 国家
  11578. type: integer
  11579. createtime:
  11580. description: 创建时间
  11581. type: string
  11582. districtid:
  11583. description: 区
  11584. type: integer
  11585. hasvideo:
  11586. description: 是否有视频 - 0:无 1:有
  11587. type: integer
  11588. provinceid:
  11589. description: 省
  11590. type: integer
  11591. remark:
  11592. description: 审核备注
  11593. type: string
  11594. videourl:
  11595. description: 视频地址
  11596. type: string
  11597. warehousecode:
  11598. description: 仓库代码
  11599. type: string
  11600. warehousename:
  11601. description: 仓库名称
  11602. type: string
  11603. warehousestatus:
  11604. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  11605. type: integer
  11606. warehousetype:
  11607. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  11608. type: integer
  11609. required:
  11610. - autoid
  11611. - warehousecode
  11612. type: object
  11613. order.QueryHisTradeDetailRsp:
  11614. properties:
  11615. accountid:
  11616. description: 账户ID[报价币种]
  11617. type: integer
  11618. buildtype:
  11619. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11620. type: integer
  11621. buyorsell:
  11622. description: 方向 - 0:买 1:卖
  11623. type: integer
  11624. charge:
  11625. description: 手续费
  11626. type: number
  11627. closecharge:
  11628. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11629. type: number
  11630. closeexchagechargevalue:
  11631. description: 平仓交易所手续费设置值
  11632. type: number
  11633. closefeealgorithm:
  11634. description: 平仓手续费收取方式 1:比率 2:固定
  11635. type: integer
  11636. closememberchargevalue:
  11637. description: 平仓会员手续费设置值
  11638. type: number
  11639. closepl:
  11640. description: 平仓盈亏
  11641. type: number
  11642. closepl2:
  11643. description: 平仓盈亏[逐笔]
  11644. type: number
  11645. closeqty:
  11646. description: 平仓数量(先建后平操作 需要记录)
  11647. type: number
  11648. creditamount:
  11649. description: 授信金额
  11650. type: number
  11651. decimalplace:
  11652. description: 商品报价小数位
  11653. type: integer
  11654. gcaccountid:
  11655. description: 账户ID[合约币种]
  11656. type: integer
  11657. goodscode:
  11658. description: 商品代码
  11659. type: string
  11660. goodsid:
  11661. description: 商品ID
  11662. type: integer
  11663. goodsname:
  11664. description: 商品名称
  11665. type: string
  11666. histradedate:
  11667. description: 历史交易日
  11668. type: string
  11669. intclosepl:
  11670. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11671. type: integer
  11672. isconfirmexercise:
  11673. description: 是否确认行权- 0:否 1:是
  11674. type: integer
  11675. ismain:
  11676. description: 是否主单 - 0:不是 1:是
  11677. type: integer
  11678. ispreexercise:
  11679. description: 是否预申报- 0:否 1:是
  11680. type: integer
  11681. isreckoned:
  11682. description: 是否结算 - 0:未结算 1:已结算
  11683. type: integer
  11684. isvaliddata:
  11685. description: 是否有效 - 0:无效 1:有效
  11686. type: integer
  11687. listingselecttype:
  11688. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11689. type: integer
  11690. marketid:
  11691. description: 市场ID
  11692. type: integer
  11693. marketname:
  11694. description: 市场名称
  11695. type: string
  11696. matchaccountid:
  11697. description: 对手账号id
  11698. type: integer
  11699. memberuserid:
  11700. description: 会员id 个人投资者 需要填写
  11701. type: integer
  11702. opencharge:
  11703. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11704. type: number
  11705. openexchagechargevalue:
  11706. description: 建仓交易所手续费设置值
  11707. type: number
  11708. openfeealgorithm:
  11709. description: 建仓手续费收取方式 1:比率 2:固定
  11710. type: integer
  11711. openmemberchargevalue:
  11712. description: 建仓会员手续费设置值
  11713. type: number
  11714. openqty:
  11715. description: 开仓数量(先建后平操作 需要记录)
  11716. type: number
  11717. optiontype:
  11718. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11719. type: integer
  11720. orderid:
  11721. description: 委托单号
  11722. type: string
  11723. performanceplanid:
  11724. description: 履约计划ID[期权]
  11725. type: integer
  11726. performancestatus:
  11727. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11728. type: integer
  11729. preexerciseprice:
  11730. description: 预申报价格
  11731. type: number
  11732. premium:
  11733. description: 权利金 - [持仓单的权利金]
  11734. type: number
  11735. qtydecimalplace:
  11736. description: 商品报价小数位
  11737. type: integer
  11738. relatedouttradeid:
  11739. description: 关联外部成交单ID
  11740. type: integer
  11741. status:
  11742. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11743. type: integer
  11744. tradeamount:
  11745. description: 成交金额[账户币种,用于所有权]
  11746. type: number
  11747. tradedate:
  11748. description: 交易日(yyyyMMdd)
  11749. type: string
  11750. tradeid:
  11751. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11752. type: string
  11753. trademode:
  11754. description: 交易模式
  11755. type: integer
  11756. tradeprice:
  11757. description: 成交价格
  11758. type: number
  11759. tradeproperty:
  11760. description: 交易属性
  11761. type: integer
  11762. tradeqty:
  11763. description: 成交数量
  11764. type: number
  11765. tradetime:
  11766. description: 成交时间
  11767. type: string
  11768. tradetype:
  11769. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11770. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11771. type: integer
  11772. required:
  11773. - accountid
  11774. - buyorsell
  11775. - goodsid
  11776. - histradedate
  11777. - marketid
  11778. - memberuserid
  11779. - orderid
  11780. - tradeamount
  11781. - tradedate
  11782. - tradeid
  11783. - tradeprice
  11784. - tradeqty
  11785. - tradetime
  11786. type: object
  11787. order.QueryHisTradeOrderDetailRsp:
  11788. properties:
  11789. accountid:
  11790. description: 账户ID[报价币种]
  11791. type: integer
  11792. buildtype:
  11793. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11794. type: integer
  11795. buyorsell:
  11796. description: 买卖 - 0:买 1:卖
  11797. type: integer
  11798. cancelorderid:
  11799. description: 撤单单号(撤单时填写)
  11800. type: string
  11801. cancelqty:
  11802. description: 撤单数量
  11803. type: number
  11804. clientordertime:
  11805. description: 客户端委托时间
  11806. type: string
  11807. clientticket:
  11808. description: 客户端流水号
  11809. type: string
  11810. clienttype:
  11811. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11812. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11813. type: integer
  11814. closeexchagechargevalue:
  11815. description: 平仓交易所手续费设置值
  11816. type: number
  11817. closefeealgorithm:
  11818. description: 平仓手续费收取方式 1:比率 2:固定
  11819. type: integer
  11820. closefreezecharge:
  11821. description: 平仓冻结手续费(先建后平操作,需要记录)
  11822. type: number
  11823. closememberchargevalue:
  11824. description: 平仓会员手续费设置值
  11825. type: number
  11826. closeqty:
  11827. description: 平仓数量(先建后平操作 需要记录)
  11828. type: number
  11829. closetradeqty:
  11830. description: 平仓成交数量(先建后平操作,需要记录)
  11831. type: number
  11832. closeunfreezecharge:
  11833. description: 平仓解冻手续费(先建后平操作,需要记录)
  11834. type: number
  11835. decimalplace:
  11836. description: 商品报价小数位
  11837. type: integer
  11838. delistingtype:
  11839. description: 摘牌类型 - 1:价格最优 2:点选成交
  11840. type: integer
  11841. freezecharge:
  11842. description: 冻结手续费
  11843. type: number
  11844. freezemargin:
  11845. description: 冻结保证金(冻结交易金额)
  11846. type: number
  11847. gcaccountid:
  11848. description: 账户ID[合约币种]
  11849. type: integer
  11850. goodscode:
  11851. description: 商品代码
  11852. type: string
  11853. goodsid:
  11854. description: 商品ID
  11855. type: integer
  11856. goodsname:
  11857. description: 商品名称
  11858. type: string
  11859. histradedate:
  11860. description: 历史交易日
  11861. type: string
  11862. isconfirmexercise:
  11863. description: 是否确认行权- 0:否 1:是
  11864. type: integer
  11865. ispreexercise:
  11866. description: 是否预申报- 0:否 1:是
  11867. type: integer
  11868. isvaliddata:
  11869. description: 是否有效 - 0:无效 1:有效
  11870. type: integer
  11871. listingselecttype:
  11872. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11873. type: integer
  11874. marginalgorithm:
  11875. description: 保证金收取方式 1:比率 2:固定
  11876. type: integer
  11877. marginvalue:
  11878. description: 即市保证金设置值
  11879. type: number
  11880. marketid:
  11881. description: 市场ID
  11882. type: integer
  11883. marketmaxsub:
  11884. description: 市价最大偏移范围
  11885. type: number
  11886. marketname:
  11887. description: 市场名称
  11888. type: string
  11889. memberuserid:
  11890. description: 所属会员UserID
  11891. type: integer
  11892. openexchagechargevalue:
  11893. description: 建仓交易所手续费设置值
  11894. type: number
  11895. openfeealgorithm:
  11896. description: 建仓手续费收取方式 1:比率 2:固定
  11897. type: integer
  11898. openfreezecharge:
  11899. description: 开仓冻结手续费(先建后平操作,需要记录)
  11900. type: number
  11901. openmemberchargevalue:
  11902. description: 建仓会员手续费设置值
  11903. type: number
  11904. openqty:
  11905. description: 开仓数量(先建后平操作,需要记录)
  11906. type: number
  11907. opentradeqty:
  11908. description: 开仓成交数量(先建后平操作,需要记录)
  11909. type: number
  11910. openunfreezecharge:
  11911. description: 开仓解冻手续费(先建后平操作,需要记录)
  11912. type: number
  11913. operatetype:
  11914. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11915. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11916. 15:管理端协议转让
  11917. type: integer
  11918. operatorid:
  11919. description: 登录账号(LoginID)
  11920. type: integer
  11921. optiontype:
  11922. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11923. type: integer
  11924. orderid:
  11925. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11926. type: string
  11927. orderprice:
  11928. description: 委托价格
  11929. type: number
  11930. orderqty:
  11931. description: 委托数量
  11932. type: number
  11933. ordersrc:
  11934. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11935. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11936. type: integer
  11937. orderstatus:
  11938. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11939. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11940. 16:成交失败违约(荷兰式竞拍专用)
  11941. type: integer
  11942. ordertime:
  11943. description: 委托时间
  11944. type: string
  11945. preexerciseprice:
  11946. description: 预申报价格
  11947. type: number
  11948. premium:
  11949. description: 权利金
  11950. type: number
  11951. preorderid:
  11952. description: 关联预埋单号(止盈止损单时填写)
  11953. type: string
  11954. pricemode:
  11955. description: '取价方式 - 1:市价 2: 限价'
  11956. type: integer
  11957. qtydecimalplace:
  11958. description: 成交量小数位
  11959. type: integer
  11960. quoteid:
  11961. description: 报价单ID
  11962. type: integer
  11963. relatedid:
  11964. description: 关联单号(交割单)
  11965. type: string
  11966. retcode:
  11967. description: 错误代码
  11968. type: integer
  11969. sessionid:
  11970. description: 会话ID
  11971. type: integer
  11972. tradedate:
  11973. description: 交易日(yyyyMMdd)
  11974. type: string
  11975. trademode:
  11976. description: 交易模式
  11977. type: integer
  11978. tradeproperty:
  11979. description: 交易属性
  11980. type: integer
  11981. tradeqty:
  11982. description: 成交数量
  11983. type: number
  11984. unfreezecharge:
  11985. description: 解冻手续费
  11986. type: number
  11987. unfreezemargin:
  11988. description: 解冻保证金
  11989. type: number
  11990. updatetime:
  11991. description: 更新时间
  11992. type: string
  11993. uuid:
  11994. description: 发起端唯一id
  11995. type: string
  11996. validtime:
  11997. description: 有效期限
  11998. type: string
  11999. validtype:
  12000. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  12001. type: integer
  12002. volumetype:
  12003. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  12004. type: integer
  12005. required:
  12006. - accountid
  12007. - buildtype
  12008. - buyorsell
  12009. - goodsid
  12010. - histradedate
  12011. - marketid
  12012. - memberuserid
  12013. - operatetype
  12014. - orderid
  12015. - orderqty
  12016. - ordertime
  12017. - pricemode
  12018. - tradedate
  12019. - validtype
  12020. type: object
  12021. order.QueryTradeDetailRsp:
  12022. properties:
  12023. accountid:
  12024. description: 账户ID[报价币种]
  12025. type: integer
  12026. buildtype:
  12027. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  12028. type: integer
  12029. buyorsell:
  12030. description: 方向 - 0:买 1:卖
  12031. type: integer
  12032. charge:
  12033. description: 手续费
  12034. type: number
  12035. closecharge:
  12036. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  12037. type: number
  12038. closeexchagechargevalue:
  12039. description: 平仓交易所手续费设置值
  12040. type: number
  12041. closefeealgorithm:
  12042. description: 平仓手续费收取方式 1:比率 2:固定
  12043. type: integer
  12044. closememberchargevalue:
  12045. description: 平仓会员手续费设置值
  12046. type: number
  12047. closepl:
  12048. description: 平仓盈亏
  12049. type: number
  12050. closepl2:
  12051. description: 平仓盈亏[逐笔]
  12052. type: number
  12053. closeqty:
  12054. description: 平仓数量(先建后平操作 需要记录)
  12055. type: number
  12056. creditamount:
  12057. description: 授信金额
  12058. type: number
  12059. decimalplace:
  12060. description: 商品报价小数位
  12061. type: integer
  12062. gcaccountid:
  12063. description: 账户ID[合约币种]
  12064. type: integer
  12065. goodscode:
  12066. description: 商品代码
  12067. type: string
  12068. goodsid:
  12069. description: 商品ID
  12070. type: integer
  12071. goodsname:
  12072. description: 商品名称
  12073. type: string
  12074. intclosepl:
  12075. description: 整型盈亏(用于交易结算试算平衡-收益权)
  12076. type: integer
  12077. isconfirmexercise:
  12078. description: 是否确认行权- 0:否 1:是
  12079. type: integer
  12080. ismain:
  12081. description: 是否主单 - 0:不是 1:是
  12082. type: integer
  12083. ispreexercise:
  12084. description: 是否预申报- 0:否 1:是
  12085. type: integer
  12086. isreckoned:
  12087. description: 是否结算 - 0:未结算 1:已结算
  12088. type: integer
  12089. listingselecttype:
  12090. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12091. type: integer
  12092. marketid:
  12093. description: 市场ID
  12094. type: integer
  12095. marketname:
  12096. description: 市场名称
  12097. type: string
  12098. matchaccountid:
  12099. description: 对手账号id
  12100. type: integer
  12101. memberuserid:
  12102. description: 会员id 个人投资者 需要填写
  12103. type: integer
  12104. opencharge:
  12105. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  12106. type: number
  12107. openexchagechargevalue:
  12108. description: 建仓交易所手续费设置值
  12109. type: number
  12110. openfeealgorithm:
  12111. description: 建仓手续费收取方式 1:比率 2:固定
  12112. type: integer
  12113. openmemberchargevalue:
  12114. description: 建仓会员手续费设置值
  12115. type: number
  12116. openqty:
  12117. description: 开仓数量(先建后平操作 需要记录)
  12118. type: number
  12119. optiontype:
  12120. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  12121. type: integer
  12122. orderid:
  12123. description: 委托单号
  12124. type: string
  12125. performanceplanid:
  12126. description: 履约计划ID[期权]
  12127. type: integer
  12128. performancestatus:
  12129. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  12130. type: integer
  12131. preexerciseprice:
  12132. description: 预申报价格
  12133. type: number
  12134. premium:
  12135. description: 权利金 - [持仓单的权利金]
  12136. type: number
  12137. qtydecimalplace:
  12138. description: 商品报价小数位
  12139. type: integer
  12140. relatedouttradeid:
  12141. description: 关联外部成交单ID
  12142. type: integer
  12143. status:
  12144. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  12145. type: integer
  12146. tradeamount:
  12147. description: 成交金额[账户币种,用于所有权]
  12148. type: number
  12149. tradedate:
  12150. description: 交易日(yyyyMMdd)
  12151. type: string
  12152. tradeid:
  12153. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12154. type: string
  12155. trademode:
  12156. description: 交易模式
  12157. type: integer
  12158. tradeprice:
  12159. description: 成交价格
  12160. type: number
  12161. tradeproperty:
  12162. description: 交易属性
  12163. type: integer
  12164. tradeqty:
  12165. description: 成交数量
  12166. type: number
  12167. tradetime:
  12168. description: 成交时间
  12169. type: string
  12170. tradetype:
  12171. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  12172. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  12173. type: integer
  12174. required:
  12175. - accountid
  12176. - buyorsell
  12177. - goodsid
  12178. - marketid
  12179. - memberuserid
  12180. - orderid
  12181. - tradeamount
  12182. - tradedate
  12183. - tradeid
  12184. - tradeprice
  12185. - tradeqty
  12186. - tradetime
  12187. type: object
  12188. order.QueryTradeOrderDetailRsp:
  12189. properties:
  12190. accountid:
  12191. description: 账户ID[报价币种]
  12192. type: integer
  12193. buildtype:
  12194. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  12195. type: integer
  12196. buyorsell:
  12197. description: 买卖 - 0:买 1:卖
  12198. type: integer
  12199. cancelorderid:
  12200. description: 撤单单号(撤单时填写)
  12201. type: string
  12202. cancelqty:
  12203. description: 撤单数量
  12204. type: number
  12205. clienttype:
  12206. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  12207. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  12208. type: integer
  12209. closefreezecharge:
  12210. description: 平仓冻结手续费(先建后平操作,需要记录)
  12211. type: number
  12212. closeqty:
  12213. description: 平仓数量(先建后平操作 需要记录)
  12214. type: number
  12215. closetradeqty:
  12216. description: 平仓成交数量(先建后平操作,需要记录)
  12217. type: number
  12218. closeunfreezecharge:
  12219. description: 平仓解冻手续费(先建后平操作,需要记录)
  12220. type: number
  12221. decimalplace:
  12222. description: 商品报价小数位
  12223. type: integer
  12224. delistingtype:
  12225. description: 摘牌类型 - 1:价格最优 2:点选成交
  12226. type: integer
  12227. enableqty:
  12228. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  12229. type: number
  12230. freezecharge:
  12231. description: 冻结手续费
  12232. type: number
  12233. freezemargin:
  12234. description: 冻结保证金(冻结交易金额)
  12235. type: number
  12236. goodscode:
  12237. description: 商品代码
  12238. type: string
  12239. goodsid:
  12240. description: 商品ID
  12241. type: integer
  12242. goodsname:
  12243. description: 商品名称
  12244. type: string
  12245. listingselecttype:
  12246. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12247. type: integer
  12248. marketid:
  12249. description: 市场ID
  12250. type: integer
  12251. marketname:
  12252. description: 市场名称
  12253. type: string
  12254. openfreezecharge:
  12255. description: 开仓冻结手续费(先建后平操作,需要记录)
  12256. type: number
  12257. openqty:
  12258. description: 开仓数量(先建后平操作,需要记录)
  12259. type: number
  12260. opentradeqty:
  12261. description: 开仓成交数量(先建后平操作,需要记录)
  12262. type: number
  12263. openunfreezecharge:
  12264. description: 开仓解冻手续费(先建后平操作,需要记录)
  12265. type: number
  12266. operatetype:
  12267. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  12268. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  12269. 15:管理端协议转让
  12270. type: integer
  12271. operatorid:
  12272. description: 登录账号(LoginID)
  12273. type: integer
  12274. orderid:
  12275. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12276. type: string
  12277. orderprice:
  12278. description: 委托价格
  12279. type: number
  12280. orderqty:
  12281. description: 委托数量
  12282. type: number
  12283. ordersrc:
  12284. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  12285. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  12286. type: integer
  12287. orderstatus:
  12288. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12289. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12290. 16:成交失败违约(荷兰式竞拍专用)
  12291. type: integer
  12292. ordertime:
  12293. description: 委托时间
  12294. type: string
  12295. preorderid:
  12296. description: 关联预埋单号(止盈止损单时填写)
  12297. type: string
  12298. pricemode:
  12299. description: '取价方式 - 1:市价 2: 限价'
  12300. type: integer
  12301. qtydecimalplace:
  12302. description: 商品报价小数位
  12303. type: integer
  12304. relatedid:
  12305. description: 关联单号(交割单)
  12306. type: string
  12307. tradedate:
  12308. description: 交易日(yyyyMMdd)
  12309. type: string
  12310. trademode:
  12311. description: 交易模式
  12312. type: integer
  12313. tradeqty:
  12314. description: 成交数量
  12315. type: number
  12316. unfreezecharge:
  12317. description: 解冻手续费
  12318. type: number
  12319. unfreezemargin:
  12320. description: 解冻保证金
  12321. type: number
  12322. validtime:
  12323. description: 有效期限
  12324. type: string
  12325. validtype:
  12326. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  12327. type: integer
  12328. volumetype:
  12329. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  12330. type: integer
  12331. required:
  12332. - accountid
  12333. - buildtype
  12334. - buyorsell
  12335. - goodsid
  12336. - marketid
  12337. - operatetype
  12338. - orderqty
  12339. - ordertime
  12340. - pricemode
  12341. - tradedate
  12342. - validtype
  12343. type: object
  12344. order.QueryTradePositionRsp:
  12345. properties:
  12346. accountid:
  12347. description: 资金账户
  12348. type: integer
  12349. agreeunit:
  12350. description: 合约单位
  12351. type: number
  12352. averageprice:
  12353. description: 持仓均价
  12354. type: number
  12355. buyorsell:
  12356. description: 方向 - 0:买 1:卖
  12357. type: integer
  12358. closetotalqty:
  12359. description: 平仓总数量
  12360. type: number
  12361. curholderamount:
  12362. description: 当前持仓总金额[商品币种]
  12363. type: number
  12364. curpositionqty:
  12365. description: 当前持仓总数量
  12366. type: number
  12367. currencyid:
  12368. description: 报价货币ID
  12369. type: integer
  12370. curtdposition:
  12371. description: 期末今日头寸
  12372. type: number
  12373. decimalplace:
  12374. description: 报价小数位
  12375. type: integer
  12376. enableqty:
  12377. description: 可用量
  12378. type: number
  12379. fretdposition:
  12380. description: 冻结今日头寸
  12381. type: number
  12382. frozenqty:
  12383. description: 持仓冻结数量
  12384. type: number
  12385. goodscode:
  12386. description: 商品代码
  12387. type: string
  12388. goodsid:
  12389. description: 商品Id
  12390. type: integer
  12391. goodsname:
  12392. description: 商品名称
  12393. type: string
  12394. goodunit:
  12395. description: 报价单位
  12396. type: string
  12397. goodunitid:
  12398. description: 报价单位ID
  12399. type: integer
  12400. holderamount:
  12401. description: 期初持仓总金额[商品币种]
  12402. type: number
  12403. marketid:
  12404. description: 所属市场ID
  12405. type: integer
  12406. openreqqty:
  12407. description: 开仓申请数量(用于比较最大持仓数量)
  12408. type: number
  12409. opentotalqty:
  12410. description: 开仓总数量
  12411. type: number
  12412. otherfrozenqty:
  12413. description: 持仓其他冻结数量(交割冻结)
  12414. type: number
  12415. positionqty:
  12416. description: 期初持仓数量
  12417. type: number
  12418. qtydecimalplace:
  12419. description: 成交量小数位
  12420. type: integer
  12421. tnqty:
  12422. description: T+N冻结总量
  12423. type: number
  12424. tnusedqty:
  12425. description: T+N使用量(可以使用T+N的冻结数量)
  12426. type: number
  12427. trademode:
  12428. description: 交易模式
  12429. type: integer
  12430. usedmargin:
  12431. description: 占用保证金[商品币种]
  12432. type: number
  12433. required:
  12434. - goodsid
  12435. type: object
  12436. quote.HistoryData:
  12437. properties:
  12438. c:
  12439. description: 收盘价
  12440. type: number
  12441. f:
  12442. description: 是否补充数据
  12443. type: boolean
  12444. h:
  12445. description: 最高价
  12446. type: number
  12447. hv:
  12448. description: 持仓量
  12449. type: integer
  12450. l:
  12451. description: 最低价
  12452. type: number
  12453. o:
  12454. description: 开盘价
  12455. type: number
  12456. s:
  12457. description: 结算价,日线周期(包括)以上才有
  12458. type: number
  12459. ts:
  12460. description: 时间
  12461. type: string
  12462. tt:
  12463. description: 总金额
  12464. type: number
  12465. tv:
  12466. description: 总量
  12467. type: integer
  12468. type: object
  12469. quote.HistoryTikData:
  12470. properties:
  12471. AV:
  12472. description: 卖量
  12473. type: integer
  12474. Ask:
  12475. description: 卖价
  12476. type: number
  12477. BV:
  12478. description: 买量
  12479. type: integer
  12480. Bid:
  12481. description: 买价
  12482. type: number
  12483. HI:
  12484. description: 单笔持仓
  12485. type: integer
  12486. HV:
  12487. description: 持仓量
  12488. type: integer
  12489. PE:
  12490. description: 现价
  12491. type: number
  12492. TDR:
  12493. description: 交易方向,0:买 1:卖
  12494. type: integer
  12495. TK:
  12496. description: 交易类型
  12497. type: integer
  12498. TS:
  12499. description: 行情时间文本
  12500. type: string
  12501. TT:
  12502. description: 现金额
  12503. type: number
  12504. Vol:
  12505. description: 现量
  12506. type: integer
  12507. type: object
  12508. quote.QueryQuoteDayRsp:
  12509. properties:
  12510. ask:
  12511. description: 卖1
  12512. type: number
  12513. ask2:
  12514. description: 卖2
  12515. type: number
  12516. ask3:
  12517. description: 卖3
  12518. type: number
  12519. ask4:
  12520. description: 卖4
  12521. type: number
  12522. ask5:
  12523. description: 卖5
  12524. type: number
  12525. ask6:
  12526. description: 卖6
  12527. type: number
  12528. ask7:
  12529. description: 卖7
  12530. type: number
  12531. ask8:
  12532. description: 卖8
  12533. type: number
  12534. ask9:
  12535. description: 卖9
  12536. type: number
  12537. ask10:
  12538. description: 卖10
  12539. type: number
  12540. askorderid:
  12541. description: 卖单号1
  12542. type: integer
  12543. askorderid2:
  12544. description: 卖单号2
  12545. type: integer
  12546. askorderid3:
  12547. description: 卖单号3
  12548. type: integer
  12549. askorderid4:
  12550. description: 卖单号4
  12551. type: integer
  12552. askorderid5:
  12553. description: 卖单号5
  12554. type: integer
  12555. askordervolume:
  12556. description: 卖单量1
  12557. type: integer
  12558. askordervolume2:
  12559. description: 卖单量2
  12560. type: integer
  12561. askordervolume3:
  12562. description: 卖单量3
  12563. type: integer
  12564. askordervolume4:
  12565. description: 卖单量4
  12566. type: integer
  12567. askordervolume5:
  12568. description: 卖单量5
  12569. type: integer
  12570. askordervolume6:
  12571. description: 卖单量6
  12572. type: integer
  12573. askordervolume7:
  12574. description: 卖单量7
  12575. type: integer
  12576. askordervolume8:
  12577. description: 卖单量8
  12578. type: integer
  12579. askordervolume9:
  12580. description: 卖单量9
  12581. type: integer
  12582. askordervolume10:
  12583. description: 卖单量10
  12584. type: integer
  12585. askqueueinfo:
  12586. description: 大利市卖港股用
  12587. type: string
  12588. askvolume:
  12589. description: 卖量1
  12590. type: integer
  12591. askvolume2:
  12592. description: 卖量2
  12593. type: integer
  12594. askvolume3:
  12595. description: 卖量3
  12596. type: integer
  12597. askvolume4:
  12598. description: 卖量4
  12599. type: integer
  12600. askvolume5:
  12601. description: 卖量5
  12602. type: integer
  12603. askvolume6:
  12604. description: 卖量6
  12605. type: integer
  12606. askvolume7:
  12607. description: 卖量7
  12608. type: integer
  12609. askvolume8:
  12610. description: 卖量8
  12611. type: integer
  12612. askvolume9:
  12613. description: 卖量9
  12614. type: integer
  12615. askvolume10:
  12616. description: 卖量10
  12617. type: integer
  12618. averageprice:
  12619. description: 均价
  12620. type: number
  12621. bid:
  12622. description: 买1
  12623. type: number
  12624. bid2:
  12625. description: 买2
  12626. type: number
  12627. bid3:
  12628. description: 买3
  12629. type: number
  12630. bid4:
  12631. description: 买4
  12632. type: number
  12633. bid5:
  12634. description: 买5
  12635. type: number
  12636. bid6:
  12637. description: 买6
  12638. type: number
  12639. bid7:
  12640. description: 买7
  12641. type: number
  12642. bid8:
  12643. description: 买8
  12644. type: number
  12645. bid9:
  12646. description: 买9
  12647. type: number
  12648. bid10:
  12649. description: 买10
  12650. type: number
  12651. bidorderid:
  12652. description: 买单号1
  12653. type: integer
  12654. bidorderid2:
  12655. description: 买单号2
  12656. type: integer
  12657. bidorderid3:
  12658. description: 买单号3
  12659. type: integer
  12660. bidorderid4:
  12661. description: 买单号4
  12662. type: integer
  12663. bidorderid5:
  12664. description: 买单号5
  12665. type: integer
  12666. bidordervolume:
  12667. description: 买单量1
  12668. type: integer
  12669. bidordervolume2:
  12670. description: 买单量2
  12671. type: integer
  12672. bidordervolume3:
  12673. description: 买单量3
  12674. type: integer
  12675. bidordervolume4:
  12676. description: 买单量4
  12677. type: integer
  12678. bidordervolume5:
  12679. description: 买单量5
  12680. type: integer
  12681. bidordervolume6:
  12682. description: 买单量6
  12683. type: integer
  12684. bidordervolume7:
  12685. description: 买单量7
  12686. type: integer
  12687. bidordervolume8:
  12688. description: 买单量8
  12689. type: integer
  12690. bidordervolume9:
  12691. description: 买单量9
  12692. type: integer
  12693. bidordervolume10:
  12694. description: 买单量10
  12695. type: integer
  12696. bidqueueinfo:
  12697. description: 大利市买港股用
  12698. type: string
  12699. bidvolume:
  12700. description: 买量1
  12701. type: integer
  12702. bidvolume2:
  12703. description: 买量2
  12704. type: integer
  12705. bidvolume3:
  12706. description: 买量3
  12707. type: integer
  12708. bidvolume4:
  12709. description: 买量4
  12710. type: integer
  12711. bidvolume5:
  12712. description: 买量5
  12713. type: integer
  12714. bidvolume6:
  12715. description: 买量6
  12716. type: integer
  12717. bidvolume7:
  12718. description: 买量7
  12719. type: integer
  12720. bidvolume8:
  12721. description: 买量8
  12722. type: integer
  12723. bidvolume9:
  12724. description: 买量9
  12725. type: integer
  12726. bidvolume10:
  12727. description: 买量10
  12728. type: integer
  12729. calloptionpremiums:
  12730. description: 认购期权1
  12731. type: integer
  12732. calloptionpremiums2:
  12733. description: 认购期权2
  12734. type: integer
  12735. calloptionpremiums3:
  12736. description: 认购期权3
  12737. type: integer
  12738. calloptionpremiums4:
  12739. description: 认购期权4
  12740. type: integer
  12741. calloptionpremiums5:
  12742. description: 认购期权5
  12743. type: integer
  12744. cleartime:
  12745. description: 清盘时间
  12746. type: integer
  12747. exchangecode:
  12748. description: 交易所代码
  12749. type: integer
  12750. exchangedate:
  12751. description: 交易日
  12752. type: integer
  12753. goodscode:
  12754. description: 商品代码
  12755. type: string
  12756. grepmarketprice:
  12757. description: 暗盘价 港股专用
  12758. type: number
  12759. highest:
  12760. description: 最高价
  12761. type: number
  12762. holdincrement:
  12763. description: 单笔持仓
  12764. type: integer
  12765. holdvolume:
  12766. description: 持仓
  12767. type: integer
  12768. iep:
  12769. description: 平衡价 港股专用
  12770. type: number
  12771. iev:
  12772. description: 平衡量 港股专用
  12773. type: number
  12774. inventory:
  12775. description: 库存
  12776. type: integer
  12777. iscleared:
  12778. description: 是否清盘标志
  12779. type: integer
  12780. issettled:
  12781. description: 是否结算标志
  12782. type: integer
  12783. last:
  12784. description: 最新价
  12785. type: number
  12786. lastlot:
  12787. description: 最新成交手数
  12788. type: integer
  12789. lasttime:
  12790. description: 行情时间(只有现价变化行情时间才变化)
  12791. type: string
  12792. lastturnover:
  12793. description: 最新成交金额
  12794. type: number
  12795. lastvolume:
  12796. description: 最新成交量
  12797. type: integer
  12798. limitdown:
  12799. description: 跌停价
  12800. type: number
  12801. limitup:
  12802. description: 涨停价
  12803. type: number
  12804. lowest:
  12805. description: 最低价
  12806. type: number
  12807. nontotalholdervolume:
  12808. description: 非交易持仓量
  12809. type: integer
  12810. nontotallot:
  12811. description: 非交易总手数
  12812. type: integer
  12813. nontotalturnover:
  12814. description: 非交易总金额
  12815. type: integer
  12816. nontotalvolume:
  12817. description: 非交易总量
  12818. type: integer
  12819. opened:
  12820. description: 开盘价
  12821. type: number
  12822. opentime:
  12823. description: 开盘时间
  12824. type: string
  12825. orderid:
  12826. description: 序号
  12827. type: integer
  12828. preclose:
  12829. description: 昨收
  12830. type: number
  12831. preholdvolume:
  12832. description: 昨持仓
  12833. type: integer
  12834. presettle:
  12835. description: 昨结价
  12836. type: number
  12837. publictradetype:
  12838. description: 公共交易标志类型 港股专用
  12839. type: string
  12840. putoptionpremiums:
  12841. description: 认沽期权1
  12842. type: integer
  12843. putoptionpremiums2:
  12844. description: 认沽期权2
  12845. type: integer
  12846. putoptionpremiums3:
  12847. description: 认沽期权3
  12848. type: integer
  12849. putoptionpremiums4:
  12850. description: 认沽期权4
  12851. type: integer
  12852. putoptionpremiums5:
  12853. description: 认沽期权5
  12854. type: integer
  12855. settle:
  12856. description: 结算价
  12857. type: number
  12858. strikeprice:
  12859. description: 发行价
  12860. type: number
  12861. totalaskvolume:
  12862. description: 内盘
  12863. type: integer
  12864. totalbidvolume:
  12865. description: 外盘
  12866. type: integer
  12867. totallot:
  12868. description: 总手数
  12869. type: integer
  12870. totalturnover:
  12871. description: 总金额
  12872. type: number
  12873. totalvolume:
  12874. description: 总量
  12875. type: integer
  12876. utclasttime:
  12877. description: utc的行情时间
  12878. type: string
  12879. type: object
  12880. quote.QueryTSDataRsp:
  12881. properties:
  12882. Count:
  12883. description: 交易日应有数据个数
  12884. type: integer
  12885. decimalPlace:
  12886. description: 小数位
  12887. type: integer
  12888. endTime:
  12889. description: 结束时间
  12890. type: string
  12891. goodsCode:
  12892. description: 商品代码
  12893. type: string
  12894. historyDatas:
  12895. description: 历史数据
  12896. items:
  12897. $ref: '#/definitions/quote.HistoryData'
  12898. type: array
  12899. outGoodsCode:
  12900. description: 外部商品代码
  12901. type: string
  12902. preSettle:
  12903. description: 昨结价
  12904. type: number
  12905. runSteps:
  12906. description: 交易日开休市计划
  12907. items:
  12908. $ref: '#/definitions/quote.TSDataRunStep'
  12909. type: array
  12910. startTime:
  12911. description: 开始时间
  12912. type: string
  12913. tradeDate:
  12914. description: 交易日
  12915. type: string
  12916. type: object
  12917. quote.TSDataRunStep:
  12918. properties:
  12919. end:
  12920. description: 真实结束时间
  12921. type: string
  12922. endflag:
  12923. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  12924. type: integer
  12925. endtime:
  12926. description: 结束时间(HH:mm)
  12927. type: string
  12928. endweekday:
  12929. description: 结束周几
  12930. type: integer
  12931. groupid:
  12932. description: 分组ID
  12933. type: integer
  12934. runstep:
  12935. description: 运行阶段 - 2:连续交易
  12936. type: integer
  12937. sectionid:
  12938. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  12939. 结束时间=结算时间 结束周几=结算周几
  12940. type: integer
  12941. start:
  12942. description: 真实开始时间
  12943. type: string
  12944. startflag:
  12945. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  12946. type: integer
  12947. starttime:
  12948. description: 起始时间(HH:mm)
  12949. type: string
  12950. startweekday:
  12951. description: 起始周几
  12952. type: integer
  12953. tradeweekday:
  12954. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  12955. type: integer
  12956. type: object
  12957. szdz.QueryConvertLogRsp:
  12958. properties:
  12959. accountid:
  12960. description: 资金账户ID
  12961. type: integer
  12962. clientticket:
  12963. description: 客户端流水号
  12964. type: string
  12965. converttype:
  12966. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  12967. type: integer
  12968. createtime:
  12969. description: 记账时间
  12970. type: string
  12971. daymaxvalue:
  12972. description: 配置当日最大转入限制
  12973. type: number
  12974. daymaxvalue2:
  12975. description: 配置当日最大转入限制(转入)
  12976. type: number
  12977. goodscode:
  12978. description: 商品代码
  12979. type: string
  12980. goodsname:
  12981. description: 商品名称
  12982. type: string
  12983. handlestatus:
  12984. description: 处理状态
  12985. type: integer
  12986. innergoodsid:
  12987. description: 内部商品ID
  12988. type: integer
  12989. inratio:
  12990. description: 配置转入比值
  12991. type: integer
  12992. invalue:
  12993. description: 目标值
  12994. type: number
  12995. logid:
  12996. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12997. type: integer
  12998. mobile:
  12999. description: 手机号码(加密存储)
  13000. type: string
  13001. outergoodscode:
  13002. description: 外部商品代码[JD\PD]
  13003. type: string
  13004. outratio:
  13005. description: 配置转出比值
  13006. type: integer
  13007. outvalue:
  13008. description: 源值
  13009. type: number
  13010. pddecimalplace:
  13011. description: PD小数位
  13012. type: integer
  13013. qty:
  13014. description: 数量
  13015. type: string
  13016. remark:
  13017. description: 备注
  13018. type: string
  13019. sessionid:
  13020. description: 会话ID
  13021. type: integer
  13022. timemaxvalue:
  13023. description: 配置单次最大转入限制
  13024. type: number
  13025. timemaxvalue2:
  13026. description: 配置单次最大转入限制(转入)
  13027. type: number
  13028. timeminvalue:
  13029. description: 配置单次最小数量限制
  13030. type: number
  13031. timeminvalue2:
  13032. description: 配置单次最小数量限制(转入)
  13033. type: number
  13034. tradedate:
  13035. description: 交易日(yyyyMMdd)
  13036. type: string
  13037. userid:
  13038. description: 用户ID
  13039. type: integer
  13040. required:
  13041. - logid
  13042. type: object
  13043. szdz.QueryGoodsPickupRsp:
  13044. properties:
  13045. accountid:
  13046. description: 账户ID
  13047. type: integer
  13048. address:
  13049. description: 提货人详细地址
  13050. type: string
  13051. auditer:
  13052. description: 审核人
  13053. type: integer
  13054. audittime:
  13055. description: 审核时间
  13056. type: string
  13057. cardnum:
  13058. description: 提货人证件号码
  13059. type: string
  13060. cardtypeid:
  13061. description: 提货人证件类型
  13062. type: integer
  13063. checkremark:
  13064. description: 审核备注
  13065. type: string
  13066. goodscode:
  13067. description: 商品代码
  13068. type: string
  13069. goodsid:
  13070. description: 商品ID
  13071. type: integer
  13072. goodsname:
  13073. description: 商品名称
  13074. type: string
  13075. handlestatus:
  13076. description: 处理状态
  13077. type: integer
  13078. marketid:
  13079. description: 市场ID
  13080. type: integer
  13081. phonenum:
  13082. description: 提货人联系方式
  13083. type: string
  13084. qty:
  13085. description: 提货数量
  13086. type: number
  13087. recivername:
  13088. description: 提货人姓名
  13089. type: string
  13090. reqtime:
  13091. description: 更新时间
  13092. type: string
  13093. takemode:
  13094. description: 提货方式 - 2:自提 3:配送
  13095. type: integer
  13096. takeorderid:
  13097. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  13098. type: string
  13099. takeorderstatus:
  13100. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  13101. type: integer
  13102. takeremark:
  13103. description: 提货备注
  13104. type: string
  13105. tradedate:
  13106. description: 交易日(yyyyMMdd)
  13107. type: string
  13108. userid:
  13109. description: 用户ID
  13110. type: integer
  13111. required:
  13112. - takeorderid
  13113. type: object
  13114. szdz.QueryRecieptOrderRsp:
  13115. properties:
  13116. accountName:
  13117. description: 所属账号名称(已脱敏)
  13118. type: string
  13119. accountid:
  13120. description: 资金账号
  13121. type: integer
  13122. buyorsell:
  13123. description: 方向 - 0:买 1:卖
  13124. type: integer
  13125. enableqty:
  13126. description: 可摘数量
  13127. type: integer
  13128. goodscode:
  13129. description: 商品代码
  13130. type: string
  13131. goodsid:
  13132. description: 商品ID
  13133. type: integer
  13134. goodsname:
  13135. description: 商品名称
  13136. type: string
  13137. orderid:
  13138. description: 委托单号
  13139. type: string
  13140. orderprice:
  13141. description: 委托价格
  13142. type: number
  13143. ordertime:
  13144. description: 委托时间
  13145. type: string
  13146. tradedate:
  13147. description: 交易日(yyyyMMdd)
  13148. type: string
  13149. required:
  13150. - ordertime
  13151. type: object
  13152. szdz.QuerySZDZTradePositionRsp:
  13153. properties:
  13154. accountid:
  13155. description: 账号Id
  13156. type: integer
  13157. agreeunit:
  13158. description: 合约单位
  13159. type: number
  13160. averageprice:
  13161. description: 持仓均价
  13162. type: number
  13163. buyorsell:
  13164. description: 方向 - 0:买 1:卖
  13165. type: integer
  13166. closetotalqty:
  13167. description: 平仓总数量
  13168. type: integer
  13169. curholderamount:
  13170. description: 当前持仓总金额
  13171. type: number
  13172. curpositionqty:
  13173. description: 当前持仓总数量
  13174. type: integer
  13175. currencyid:
  13176. description: 报价货币ID
  13177. type: integer
  13178. curtdposition:
  13179. description: 期末今日头寸
  13180. type: integer
  13181. decimalplace:
  13182. description: 报价小数位
  13183. type: integer
  13184. enableqty:
  13185. description: 可用量
  13186. type: integer
  13187. fretdposition:
  13188. description: 冻结今日头寸
  13189. type: integer
  13190. frozenqty:
  13191. description: 持仓冻结数量
  13192. type: integer
  13193. goodscode:
  13194. description: 商品代码(内部)
  13195. type: string
  13196. goodsid:
  13197. description: 商品Id
  13198. type: integer
  13199. goodsname:
  13200. description: 商品名称
  13201. type: string
  13202. goodunit:
  13203. description: 报价单位
  13204. type: string
  13205. goodunitid:
  13206. description: 报价单位ID
  13207. type: integer
  13208. holderamount:
  13209. description: 期初持仓总金额
  13210. type: number
  13211. marketid:
  13212. description: 市场ID
  13213. type: integer
  13214. openreqqty:
  13215. description: 开仓申请数量
  13216. type: integer
  13217. opentotalqty:
  13218. description: 开仓总数量
  13219. type: integer
  13220. otherfrozenqty:
  13221. description: 持仓其他冻结数量(交割冻结)
  13222. type: integer
  13223. positionqty:
  13224. description: 期初持仓数量
  13225. type: integer
  13226. szdz3freezqty:
  13227. description: 尚志大宗转换冻结总数量
  13228. type: integer
  13229. tnqty:
  13230. description: T+N冻结总量
  13231. type: integer
  13232. tnusedqty:
  13233. description: T+N使用量
  13234. type: integer
  13235. trademode:
  13236. description: 交易模式
  13237. type: integer
  13238. usedmargin:
  13239. description: 占用保证金
  13240. type: number
  13241. type: object
  13242. taaccount.QueryAmountLogRsp:
  13243. properties:
  13244. OPERATETYPENAME:
  13245. description: 资金操作类型名称
  13246. type: string
  13247. accountid:
  13248. description: 资金账户ID
  13249. type: integer
  13250. agoodscode:
  13251. description: 竞拍商品代码
  13252. type: string
  13253. agoodsname:
  13254. description: 竞拍商品名称
  13255. type: string
  13256. amount:
  13257. description: 资金金额
  13258. type: number
  13259. amountadjusttype:
  13260. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  13261. type: integer
  13262. autoid:
  13263. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  13264. type: integer
  13265. balance:
  13266. description: 期初余额
  13267. type: number
  13268. businesscode:
  13269. description: 业务编号
  13270. type: integer
  13271. createtime:
  13272. description: 发生时间
  13273. type: string
  13274. currencyid:
  13275. description: 币种ID
  13276. type: integer
  13277. currentbalance:
  13278. description: 期末余额(变动后金额)
  13279. type: number
  13280. dgoodscode:
  13281. description: 交割商品代码
  13282. type: string
  13283. dgoodsname:
  13284. description: 交割商品名称
  13285. type: string
  13286. goodscode:
  13287. description: 商品代码
  13288. type: string
  13289. goodsid:
  13290. description: 商品ID
  13291. type: integer
  13292. goodsname:
  13293. description: 商品名称
  13294. type: string
  13295. marketid:
  13296. description: 市场ID
  13297. type: integer
  13298. marketname:
  13299. description: 市场名称
  13300. type: string
  13301. moneyticket:
  13302. description: 资金流水号:银行端流水号
  13303. type: integer
  13304. operatetype:
  13305. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  13306. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  13307. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  13308. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  13309. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  13310. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  13311. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  13312. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  13313. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  13314. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  13315. type: integer
  13316. relationorderid:
  13317. description: 关联单号
  13318. type: string
  13319. remark:
  13320. description: 备注
  13321. type: string
  13322. trademode:
  13323. description: 交易模式
  13324. type: integer
  13325. required:
  13326. - accountid
  13327. - amount
  13328. - amountadjusttype
  13329. - autoid
  13330. - balance
  13331. - createtime
  13332. - currentbalance
  13333. - operatetype
  13334. type: object
  13335. taaccount.QueryHisAmountLogRsp:
  13336. properties:
  13337. OPERATETYPENAME:
  13338. description: 资金操作类型名称
  13339. type: string
  13340. accountid:
  13341. description: 资金账户ID
  13342. type: integer
  13343. agoodscode:
  13344. description: 竞拍商品代码
  13345. type: string
  13346. agoodsname:
  13347. description: 竞拍商品名称
  13348. type: string
  13349. amount:
  13350. description: 资金金额
  13351. type: number
  13352. amountadjusttype:
  13353. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  13354. type: integer
  13355. autoid:
  13356. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  13357. type: integer
  13358. balance:
  13359. description: 期初余额
  13360. type: number
  13361. businesscode:
  13362. description: 业务编号
  13363. type: integer
  13364. createtime:
  13365. description: 发生时间
  13366. type: string
  13367. currencyid:
  13368. description: 币种ID
  13369. type: integer
  13370. currentbalance:
  13371. description: 期末余额(变动后金额)
  13372. type: number
  13373. dgoodscode:
  13374. description: 交割商品代码
  13375. type: string
  13376. dgoodsname:
  13377. description: 交割商品名称
  13378. type: string
  13379. goodscode:
  13380. description: 商品代码
  13381. type: string
  13382. goodsid:
  13383. description: 商品ID
  13384. type: integer
  13385. goodsname:
  13386. description: 商品名称
  13387. type: string
  13388. histradedate:
  13389. description: 历史交易日
  13390. type: string
  13391. isvaliddata:
  13392. description: 是否有效 - 0:无效 1:有效
  13393. type: integer
  13394. marketid:
  13395. description: 市场ID
  13396. type: integer
  13397. marketname:
  13398. description: 市场名称
  13399. type: string
  13400. moneyticket:
  13401. description: 资金流水号:银行端流水号
  13402. type: integer
  13403. operatetype:
  13404. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  13405. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  13406. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  13407. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  13408. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  13409. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  13410. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  13411. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  13412. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  13413. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  13414. type: integer
  13415. relationorderid:
  13416. description: 关联单号
  13417. type: string
  13418. remark:
  13419. description: 备注
  13420. type: string
  13421. trademode:
  13422. description: 交易模式
  13423. type: integer
  13424. required:
  13425. - accountid
  13426. - amount
  13427. - amountadjusttype
  13428. - autoid
  13429. - balance
  13430. - createtime
  13431. - currentbalance
  13432. - histradedate
  13433. - operatetype
  13434. type: object
  13435. trade.QueryRecieptOrderRsp:
  13436. properties:
  13437. accountName:
  13438. description: 所属账号名称(已脱敏)
  13439. type: string
  13440. accountid:
  13441. description: 资金账号
  13442. type: integer
  13443. buyorsell:
  13444. description: 方向 - 0:买 1:卖
  13445. type: integer
  13446. enableqty:
  13447. description: 可摘数量
  13448. type: integer
  13449. goodscode:
  13450. description: 商品代码
  13451. type: string
  13452. goodsid:
  13453. description: 商品ID
  13454. type: integer
  13455. goodsname:
  13456. description: 商品名称
  13457. type: string
  13458. orderid:
  13459. description: 委托单号
  13460. type: string
  13461. orderprice:
  13462. description: 委托价格
  13463. type: number
  13464. ordertime:
  13465. description: 委托时间
  13466. type: string
  13467. tradedate:
  13468. description: 交易日(yyyyMMdd)
  13469. type: string
  13470. required:
  13471. - ordertime
  13472. type: object
  13473. user.LoginQueryRsp:
  13474. properties:
  13475. areaRoles:
  13476. description: 所属角色信息
  13477. items:
  13478. $ref: '#/definitions/models.Arearole'
  13479. type: array
  13480. externalExchanges:
  13481. description: 外部交易所
  13482. items:
  13483. $ref: '#/definitions/models.Externalexchange'
  13484. type: array
  13485. goodsgroups:
  13486. description: 商品组
  13487. items:
  13488. $ref: '#/definitions/models.Goodsgroup'
  13489. type: array
  13490. loginAccount:
  13491. $ref: '#/definitions/models.Loginaccount'
  13492. description: 登录账号
  13493. type: object
  13494. markets:
  13495. description: 市场
  13496. items:
  13497. $ref: '#/definitions/models.Market'
  13498. type: array
  13499. systemParams:
  13500. description: 系统参数
  13501. items:
  13502. $ref: '#/definitions/models.Systemparam'
  13503. type: array
  13504. userAccount:
  13505. $ref: '#/definitions/models.Useraccount'
  13506. description: 用户账号
  13507. type: object
  13508. userInfo:
  13509. $ref: '#/definitions/models.Userinfo'
  13510. description: 用户信息
  13511. type: object
  13512. username:
  13513. description: 用户姓名
  13514. type: string
  13515. type: object
  13516. info:
  13517. contact: {}
  13518. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  13519. license: {}
  13520. termsOfService: http://www.muchinfo.cn
  13521. title: MTP2.0 查询服务 API
  13522. version: "1.0"
  13523. paths:
  13524. /CPTrade/QueryCPTradeMyBidInfos:
  13525. get:
  13526. parameters:
  13527. - description: 资金账户
  13528. in: query
  13529. name: accountid
  13530. required: true
  13531. type: integer
  13532. - description: 预售市场ID
  13533. in: query
  13534. name: marketid
  13535. type: integer
  13536. - description: 预售商品ID
  13537. in: query
  13538. name: goodsid
  13539. type: integer
  13540. produces:
  13541. - application/json
  13542. responses:
  13543. "200":
  13544. description: OK
  13545. schema:
  13546. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  13547. "500":
  13548. description: Internal Server Error
  13549. schema:
  13550. $ref: '#/definitions/app.Response'
  13551. security:
  13552. - ApiKeyAuth: []
  13553. summary: 查询产能预售我的出价信息
  13554. tags:
  13555. - 产能预售
  13556. /CPTrade/QueryCPTradeOrderDetail:
  13557. get:
  13558. parameters:
  13559. - description: 预售商品ID
  13560. in: query
  13561. name: goodsid
  13562. type: integer
  13563. - description: 预售市场ID
  13564. in: query
  13565. name: marketid
  13566. type: integer
  13567. - description: 预售商品ID列表 - 格式:1,2,3
  13568. in: query
  13569. name: goodsids
  13570. type: string
  13571. produces:
  13572. - application/json
  13573. responses:
  13574. "200":
  13575. description: OK
  13576. schema:
  13577. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  13578. "500":
  13579. description: Internal Server Error
  13580. schema:
  13581. $ref: '#/definitions/app.Response'
  13582. security:
  13583. - ApiKeyAuth: []
  13584. summary: 查询产能预售委托单信息
  13585. tags:
  13586. - 产能预售
  13587. /CPTrade/QueryMyCPTradeGoods:
  13588. get:
  13589. parameters:
  13590. - description: 资金账户
  13591. in: query
  13592. name: accountid
  13593. required: true
  13594. type: integer
  13595. produces:
  13596. - application/json
  13597. responses:
  13598. "200":
  13599. description: OK
  13600. schema:
  13601. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  13602. "500":
  13603. description: Internal Server Error
  13604. schema:
  13605. $ref: '#/definitions/app.Response'
  13606. security:
  13607. - ApiKeyAuth: []
  13608. summary: 查询我的预售信息
  13609. tags:
  13610. - 产能预售
  13611. /CPTrade/QueryPositionCancel:
  13612. get:
  13613. parameters:
  13614. - description: 账户ID
  13615. in: query
  13616. name: userid
  13617. required: true
  13618. type: integer
  13619. - description: 注销ID
  13620. in: query
  13621. name: cancelid
  13622. type: integer
  13623. - description: 资金账户ID
  13624. in: query
  13625. name: accountid
  13626. type: integer
  13627. produces:
  13628. - application/json
  13629. responses:
  13630. "200":
  13631. description: OK
  13632. schema:
  13633. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  13634. "500":
  13635. description: Internal Server Error
  13636. schema:
  13637. $ref: '#/definitions/app.Response'
  13638. security:
  13639. - ApiKeyAuth: []
  13640. summary: 查询远期订单注销申请信息
  13641. tags:
  13642. - 产能预售
  13643. /CPTrade/QueryPreasleApply:
  13644. get:
  13645. parameters:
  13646. - description: 账户ID
  13647. in: query
  13648. name: userid
  13649. required: true
  13650. type: integer
  13651. - description: 申请ID
  13652. in: query
  13653. name: applyid
  13654. type: integer
  13655. - description: 资金账户ID
  13656. in: query
  13657. name: accountid
  13658. type: integer
  13659. produces:
  13660. - application/json
  13661. responses:
  13662. "200":
  13663. description: OK
  13664. schema:
  13665. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  13666. "500":
  13667. description: Internal Server Error
  13668. schema:
  13669. $ref: '#/definitions/app.Response'
  13670. security:
  13671. - ApiKeyAuth: []
  13672. summary: 查询产能预售申请信息
  13673. tags:
  13674. - 产能预售
  13675. /CPTrade/QueryPresaleGoodsEx:
  13676. get:
  13677. parameters:
  13678. - description: 预售商品ID
  13679. in: query
  13680. name: goodsid
  13681. type: integer
  13682. - description: 预售市场ID
  13683. in: query
  13684. name: marketid
  13685. type: integer
  13686. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  13687. in: query
  13688. name: presalemode
  13689. type: integer
  13690. - description: 预售商品ID列表 - 格式:1,2,3
  13691. in: query
  13692. name: goodsids
  13693. type: string
  13694. - description: 预售商品代码
  13695. in: query
  13696. name: goodscode
  13697. type: string
  13698. produces:
  13699. - application/json
  13700. responses:
  13701. "200":
  13702. description: OK
  13703. schema:
  13704. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  13705. "500":
  13706. description: Internal Server Error
  13707. schema:
  13708. $ref: '#/definitions/app.Response'
  13709. security:
  13710. - ApiKeyAuth: []
  13711. summary: 查询产能预售商品扩展信息
  13712. tags:
  13713. - 产能预售
  13714. /CPTrade/QueryUserGoodsData:
  13715. get:
  13716. parameters:
  13717. - description: 资金账户ID
  13718. in: query
  13719. name: accountid
  13720. required: true
  13721. type: integer
  13722. produces:
  13723. - application/json
  13724. responses:
  13725. "200":
  13726. description: OK
  13727. schema:
  13728. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  13729. "500":
  13730. description: Internal Server Error
  13731. schema:
  13732. $ref: '#/definitions/app.Response'
  13733. security:
  13734. - ApiKeyAuth: []
  13735. summary: 查询远期订单信息
  13736. tags:
  13737. - 产能预售
  13738. /Common/GetAllEnums:
  13739. get:
  13740. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  13741. parameters:
  13742. - description: 起始自增ID
  13743. in: query
  13744. name: autoid
  13745. type: integer
  13746. produces:
  13747. - application/json
  13748. responses:
  13749. "200":
  13750. description: OK
  13751. schema:
  13752. $ref: '#/definitions/models.Enumdicitem'
  13753. "500":
  13754. description: Internal Server Error
  13755. schema:
  13756. $ref: '#/definitions/app.Response'
  13757. summary: 获取所有枚举信息
  13758. tags:
  13759. - 通用服务
  13760. /Common/GetClientMenus:
  13761. get:
  13762. parameters:
  13763. - description: 登录账号
  13764. in: query
  13765. name: loginID
  13766. required: true
  13767. type: integer
  13768. - description: 终端类型,0:PC 1:Mobile
  13769. in: query
  13770. name: clientType
  13771. type: integer
  13772. produces:
  13773. - application/json
  13774. responses:
  13775. "200":
  13776. description: OK
  13777. schema:
  13778. items:
  13779. $ref: '#/definitions/common.ClientMenu'
  13780. type: array
  13781. "500":
  13782. description: Internal Server Error
  13783. schema:
  13784. $ref: '#/definitions/app.Response'
  13785. security:
  13786. - ApiKeyAuth: []
  13787. summary: 获取交易端菜单
  13788. tags:
  13789. - 通用服务
  13790. /Common/GetDivisions:
  13791. get:
  13792. produces:
  13793. - application/json
  13794. responses:
  13795. "200":
  13796. description: OK
  13797. schema:
  13798. $ref: '#/definitions/models.Division'
  13799. "500":
  13800. description: Internal Server Error
  13801. schema:
  13802. $ref: '#/definitions/app.Response'
  13803. summary: 查询区域信息
  13804. tags:
  13805. - 通用服务
  13806. /Common/GetServerTime:
  13807. get:
  13808. produces:
  13809. - application/json
  13810. responses:
  13811. "200":
  13812. description: OK
  13813. schema:
  13814. $ref: '#/definitions/app.Response'
  13815. "500":
  13816. description: Internal Server Error
  13817. schema:
  13818. $ref: '#/definitions/app.Response'
  13819. summary: 获取服务器时间
  13820. tags:
  13821. - 通用服务
  13822. /Common/NoticeReaded:
  13823. post:
  13824. parameters:
  13825. - description: 登录账号
  13826. in: query
  13827. name: loginID
  13828. required: true
  13829. type: integer
  13830. - description: 通知公告ID
  13831. in: query
  13832. name: noticeID
  13833. required: true
  13834. type: integer
  13835. produces:
  13836. - application/json
  13837. responses:
  13838. "200":
  13839. description: OK
  13840. schema:
  13841. $ref: '#/definitions/app.Response'
  13842. "500":
  13843. description: Internal Server Error
  13844. schema:
  13845. $ref: '#/definitions/app.Response'
  13846. security:
  13847. - ApiKeyAuth: []
  13848. summary: 通知公告设置已读请求
  13849. tags:
  13850. - 通用服务
  13851. /Common/QueryErrorInfos:
  13852. get:
  13853. description: 如果传入rowNumber,则返回此rowNumber后的数据
  13854. parameters:
  13855. - description: 起始行号前索引
  13856. in: query
  13857. name: rowNumber
  13858. type: string
  13859. produces:
  13860. - application/json
  13861. responses:
  13862. "200":
  13863. description: OK
  13864. schema:
  13865. $ref: '#/definitions/models.QueryErrorInfosRsp'
  13866. "500":
  13867. description: Internal Server Error
  13868. schema:
  13869. $ref: '#/definitions/app.Response'
  13870. summary: 获取数据库错误信息
  13871. tags:
  13872. - 通用服务
  13873. /Common/QueryImageConfigs:
  13874. get:
  13875. parameters:
  13876. - description: 用户id
  13877. in: query
  13878. name: userId
  13879. type: integer
  13880. - description: 类型 - 1:App首页轮播 2:我的
  13881. in: query
  13882. name: imageType
  13883. type: integer
  13884. produces:
  13885. - application/json
  13886. responses:
  13887. "200":
  13888. description: OK
  13889. schema:
  13890. $ref: '#/definitions/common.QueryImageConfigsRsp'
  13891. "500":
  13892. description: Internal Server Error
  13893. schema:
  13894. $ref: '#/definitions/app.Response'
  13895. summary: 查询轮播图配置信息
  13896. tags:
  13897. - 通用服务
  13898. /Common/QueryNotice:
  13899. get:
  13900. parameters:
  13901. - description: 页码
  13902. in: query
  13903. name: page
  13904. type: integer
  13905. - description: 每页条数
  13906. in: query
  13907. name: pagesize
  13908. type: integer
  13909. - description: 登录账号
  13910. in: query
  13911. name: loginID
  13912. required: true
  13913. type: integer
  13914. - description: 消息类型 - 1:公告通知 2:系统消息
  13915. in: query
  13916. name: msgType
  13917. type: integer
  13918. - description: 是否只获取未读信息
  13919. in: query
  13920. name: onlyUnRead
  13921. type: boolean
  13922. - description: 自增ID,传入后会返回这个ID后面的记录
  13923. in: query
  13924. name: lastID
  13925. type: integer
  13926. produces:
  13927. - application/json
  13928. responses:
  13929. "200":
  13930. description: OK
  13931. schema:
  13932. $ref: '#/definitions/common.QueryNoticeRsp'
  13933. "500":
  13934. description: Internal Server Error
  13935. schema:
  13936. $ref: '#/definitions/app.Response'
  13937. security:
  13938. - ApiKeyAuth: []
  13939. summary: 通知公告系统消息查询
  13940. tags:
  13941. - 通用服务
  13942. /Common/QueryProvincesAndCities:
  13943. get:
  13944. parameters:
  13945. - description: 省ID
  13946. in: query
  13947. name: provinceID
  13948. type: integer
  13949. produces:
  13950. - application/json
  13951. responses:
  13952. "200":
  13953. description: OK
  13954. schema:
  13955. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  13956. "500":
  13957. description: Internal Server Error
  13958. schema:
  13959. $ref: '#/definitions/app.Response'
  13960. summary: 查询省市信息(不包括区)
  13961. tags:
  13962. - 通用服务
  13963. /Common/QueryTableDefine:
  13964. get:
  13965. parameters:
  13966. - description: 表key
  13967. in: query
  13968. name: tableKey
  13969. type: string
  13970. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  13971. in: query
  13972. name: tableType
  13973. type: integer
  13974. produces:
  13975. - application/json
  13976. responses:
  13977. "200":
  13978. description: OK
  13979. schema:
  13980. $ref: '#/definitions/common.QueryTableDefineRsp'
  13981. "500":
  13982. description: Internal Server Error
  13983. schema:
  13984. $ref: '#/definitions/app.Response'
  13985. summary: 查询交易端列表头信息
  13986. tags:
  13987. - 通用服务
  13988. /Common/QueryTraderMenu:
  13989. get:
  13990. parameters:
  13991. - description: 登录账号
  13992. in: query
  13993. name: loginid
  13994. required: true
  13995. type: integer
  13996. produces:
  13997. - application/json
  13998. responses:
  13999. "200":
  14000. description: OK
  14001. schema:
  14002. $ref: '#/definitions/common.QueryTraderMenuRsp'
  14003. "500":
  14004. description: Internal Server Error
  14005. schema:
  14006. $ref: '#/definitions/app.Response'
  14007. summary: 查询交易端菜单
  14008. tags:
  14009. - 通用服务
  14010. /Delivery/QueryDeliveryRelation:
  14011. get:
  14012. parameters:
  14013. - description: 商品ID
  14014. in: query
  14015. name: goodsid
  14016. type: integer
  14017. - description: 品种ID
  14018. in: query
  14019. name: deliverygoodsid
  14020. type: integer
  14021. - description: 市场ID
  14022. in: query
  14023. name: marketid
  14024. type: integer
  14025. produces:
  14026. - application/json
  14027. responses:
  14028. "200":
  14029. description: OK
  14030. schema:
  14031. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  14032. "500":
  14033. description: Internal Server Error
  14034. schema:
  14035. $ref: '#/definitions/app.Response'
  14036. security:
  14037. - ApiKeyAuth: []
  14038. summary: 查询商品交割关系表
  14039. tags:
  14040. - 交割服务
  14041. /Ermcp/GetErmcpGoods:
  14042. get:
  14043. parameters:
  14044. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  14045. in: query
  14046. name: lastUpdateTime
  14047. type: string
  14048. produces:
  14049. - application/json
  14050. responses:
  14051. "200":
  14052. description: OK
  14053. schema:
  14054. $ref: '#/definitions/models.ErmcpGoods'
  14055. "500":
  14056. description: Internal Server Error
  14057. schema:
  14058. $ref: '#/definitions/app.Response'
  14059. security:
  14060. - ApiKeyAuth: []
  14061. summary: 查询企业风管期货商品信息
  14062. tags:
  14063. - 企业风险管理(app)
  14064. /Ermcp/GetErmcpGoodsSortByPosition:
  14065. get:
  14066. parameters:
  14067. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  14068. in: query
  14069. name: sortIndex
  14070. type: string
  14071. produces:
  14072. - application/json
  14073. responses:
  14074. "200":
  14075. description: OK
  14076. schema:
  14077. $ref: '#/definitions/models.Goodssortbypreposition'
  14078. "500":
  14079. description: Internal Server Error
  14080. schema:
  14081. $ref: '#/definitions/app.Response'
  14082. security:
  14083. - ApiKeyAuth: []
  14084. summary: 查询企业风管期货主力、次主力商品信息
  14085. tags:
  14086. - 企业风险管理(app)
  14087. /Ermcp/GetErmcpOutAccountStatus:
  14088. get:
  14089. parameters:
  14090. - description: 登录账号
  14091. in: query
  14092. name: loginID
  14093. required: true
  14094. type: integer
  14095. produces:
  14096. - application/json
  14097. responses:
  14098. "200":
  14099. description: OK
  14100. schema:
  14101. $ref: '#/definitions/models.Hedgemarketopenlog'
  14102. "500":
  14103. description: Internal Server Error
  14104. schema:
  14105. $ref: '#/definitions/app.Response'
  14106. security:
  14107. - ApiKeyAuth: []
  14108. summary: 获取目标登录账号当前对冲账号在线状态
  14109. tags:
  14110. - 企业风险管理(app)
  14111. /Ermcp/GetErmcpRoleFuncMenuLists:
  14112. get:
  14113. parameters:
  14114. - description: 登录账号
  14115. in: query
  14116. name: loginID
  14117. required: true
  14118. type: integer
  14119. produces:
  14120. - application/json
  14121. responses:
  14122. "200":
  14123. description: OK
  14124. schema:
  14125. $ref: '#/definitions/models.Funcmenulist'
  14126. "500":
  14127. description: Internal Server Error
  14128. schema:
  14129. $ref: '#/definitions/app.Response'
  14130. security:
  14131. - ApiKeyAuth: []
  14132. summary: 获取企业风管终端权限
  14133. tags:
  14134. - 企业风险管理(app)
  14135. /Ermcp/QueryAccMgrBizGroupSet:
  14136. get:
  14137. parameters:
  14138. - description: 用户ID
  14139. in: query
  14140. name: userid
  14141. required: true
  14142. type: integer
  14143. - description: 现货商品id
  14144. in: query
  14145. name: deliverygoodsid
  14146. type: integer
  14147. produces:
  14148. - application/json
  14149. responses:
  14150. "200":
  14151. description: OK
  14152. schema:
  14153. items:
  14154. $ref: '#/definitions/models.ErmcpBizGroupEx'
  14155. type: array
  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/QueryAccMgrLoginUser:
  14166. get:
  14167. parameters:
  14168. - description: 用户ID
  14169. in: query
  14170. name: userid
  14171. required: true
  14172. type: integer
  14173. - description: 用户类型 2-机构 7-企业成员
  14174. in: query
  14175. name: usertype
  14176. type: integer
  14177. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  14178. in: query
  14179. name: querytype
  14180. required: true
  14181. type: integer
  14182. produces:
  14183. - application/json
  14184. responses:
  14185. "200":
  14186. description: OK
  14187. schema:
  14188. items:
  14189. $ref: '#/definitions/models.ErmcpLoginUserEx'
  14190. type: array
  14191. "500":
  14192. description: Internal Server Error
  14193. schema:
  14194. $ref: '#/definitions/app.Response'
  14195. security:
  14196. - ApiKeyAuth: []
  14197. summary: 查询账户管理登录账号(账户管理/登录账号)
  14198. tags:
  14199. - 企业风险管理(app)
  14200. /Ermcp/QueryAccMgrMainAccountInfo:
  14201. get:
  14202. parameters:
  14203. - description: 用户ID
  14204. in: query
  14205. name: userid
  14206. type: integer
  14207. - description: 主账号id
  14208. in: query
  14209. name: accountid
  14210. type: integer
  14211. produces:
  14212. - application/json
  14213. responses:
  14214. "200":
  14215. description: OK
  14216. schema:
  14217. items:
  14218. $ref: '#/definitions/models.MainAccountInfo'
  14219. type: array
  14220. "500":
  14221. description: Internal Server Error
  14222. schema:
  14223. $ref: '#/definitions/app.Response'
  14224. security:
  14225. - ApiKeyAuth: []
  14226. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  14227. tags:
  14228. - 企业风险管理(app)
  14229. /Ermcp/QueryAccMgrRole:
  14230. get:
  14231. parameters:
  14232. - description: 用户ID
  14233. in: query
  14234. name: userid
  14235. required: true
  14236. type: integer
  14237. produces:
  14238. - application/json
  14239. responses:
  14240. "200":
  14241. description: OK
  14242. schema:
  14243. items:
  14244. $ref: '#/definitions/models.ErmcpRole'
  14245. type: array
  14246. "500":
  14247. description: Internal Server Error
  14248. schema:
  14249. $ref: '#/definitions/app.Response'
  14250. security:
  14251. - ApiKeyAuth: []
  14252. summary: 查询账户管理角色设置(账户管理/角色设置)
  14253. tags:
  14254. - 企业风险管理(app)
  14255. /Ermcp/QueryAccMgrRoleMenu:
  14256. get:
  14257. parameters:
  14258. - description: 用户ID
  14259. in: query
  14260. name: userid
  14261. required: true
  14262. type: integer
  14263. - description: 角色id(可多个,逗号隔开)
  14264. in: query
  14265. name: roleid
  14266. type: string
  14267. produces:
  14268. - application/json
  14269. responses:
  14270. "200":
  14271. description: OK
  14272. schema:
  14273. items:
  14274. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  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/QueryAccMgrTaAccountInfo:
  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: accountid
  14296. type: integer
  14297. produces:
  14298. - application/json
  14299. responses:
  14300. "200":
  14301. description: OK
  14302. schema:
  14303. items:
  14304. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  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/QueryAccMgrTaaccount:
  14316. get:
  14317. parameters:
  14318. - description: 用户ID
  14319. in: query
  14320. name: userid
  14321. required: true
  14322. type: integer
  14323. produces:
  14324. - application/json
  14325. responses:
  14326. "200":
  14327. description: OK
  14328. schema:
  14329. items:
  14330. $ref: '#/definitions/models.ErmcpTaAccountEx'
  14331. type: array
  14332. "500":
  14333. description: Internal Server Error
  14334. schema:
  14335. $ref: '#/definitions/app.Response'
  14336. security:
  14337. - ApiKeyAuth: []
  14338. summary: 查询账户管理期货账号(账户管理/期货账号)
  14339. tags:
  14340. - 企业风险管理(app)
  14341. /Ermcp/QueryAvaildGoodsGroup:
  14342. get:
  14343. parameters:
  14344. - description: 所属机构ID
  14345. in: query
  14346. name: userid
  14347. required: true
  14348. type: integer
  14349. produces:
  14350. - application/json
  14351. responses:
  14352. "200":
  14353. description: OK
  14354. schema:
  14355. items:
  14356. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  14357. type: array
  14358. "500":
  14359. description: Internal Server Error
  14360. schema:
  14361. $ref: '#/definitions/app.Response'
  14362. security:
  14363. - ApiKeyAuth: []
  14364. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  14365. tags:
  14366. - 企业风险管理(app)
  14367. /Ermcp/QueryBusinessDj:
  14368. get:
  14369. parameters:
  14370. - description: 用户ID
  14371. in: query
  14372. name: UserId
  14373. required: true
  14374. type: integer
  14375. - description: 用户类型 2-机构 7-企业成员
  14376. in: query
  14377. name: usertype
  14378. type: integer
  14379. - description: 现货合同ID, 不填则查所有
  14380. in: query
  14381. name: relatedid
  14382. type: string
  14383. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14384. in: query
  14385. name: applystatus
  14386. type: string
  14387. produces:
  14388. - application/json
  14389. responses:
  14390. "200":
  14391. description: OK
  14392. schema:
  14393. items:
  14394. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  14395. type: array
  14396. "500":
  14397. description: Internal Server Error
  14398. schema:
  14399. $ref: '#/definitions/app.Response'
  14400. security:
  14401. - ApiKeyAuth: []
  14402. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  14403. tags:
  14404. - 企业风险管理(app)
  14405. /Ermcp/QueryBusinessFp:
  14406. get:
  14407. parameters:
  14408. - description: 用户ID
  14409. in: query
  14410. name: UserId
  14411. required: true
  14412. type: integer
  14413. - description: 用户类型 2-机构 7-企业成员
  14414. in: query
  14415. name: usertype
  14416. type: integer
  14417. - description: 现货合同ID, 不填则查所有
  14418. in: query
  14419. name: relatedid
  14420. type: string
  14421. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14422. in: query
  14423. name: applystatus
  14424. type: string
  14425. produces:
  14426. - application/json
  14427. responses:
  14428. "200":
  14429. description: OK
  14430. schema:
  14431. items:
  14432. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  14433. type: array
  14434. "500":
  14435. description: Internal Server Error
  14436. schema:
  14437. $ref: '#/definitions/app.Response'
  14438. security:
  14439. - ApiKeyAuth: []
  14440. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  14441. tags:
  14442. - 企业风险管理(app)
  14443. /Ermcp/QueryBusinessJs:
  14444. get:
  14445. parameters:
  14446. - description: 用户ID
  14447. in: query
  14448. name: UserId
  14449. required: true
  14450. type: integer
  14451. - description: 用户类型 2-机构 7-企业成员
  14452. in: query
  14453. name: usertype
  14454. type: integer
  14455. - description: 现货合同ID, 不填则查所有
  14456. in: query
  14457. name: relatedid
  14458. type: string
  14459. - description: 操作申请id
  14460. in: query
  14461. name: operateapplyid
  14462. type: string
  14463. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14464. in: query
  14465. name: applystatus
  14466. type: string
  14467. produces:
  14468. - application/json
  14469. responses:
  14470. "200":
  14471. description: OK
  14472. schema:
  14473. items:
  14474. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  14475. type: array
  14476. "500":
  14477. description: Internal Server Error
  14478. schema:
  14479. $ref: '#/definitions/app.Response'
  14480. security:
  14481. - ApiKeyAuth: []
  14482. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  14483. tags:
  14484. - 企业风险管理(app)
  14485. /Ermcp/QueryBusinessJsEx:
  14486. get:
  14487. parameters:
  14488. - description: 用户ID
  14489. in: query
  14490. name: UserId
  14491. required: true
  14492. type: integer
  14493. - description: 用户类型 2-机构 7-企业成员
  14494. in: query
  14495. name: usertype
  14496. type: integer
  14497. - description: 现货合同ID, 不填则查所有
  14498. in: query
  14499. name: relatedid
  14500. type: string
  14501. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14502. in: query
  14503. name: applystatus
  14504. type: string
  14505. produces:
  14506. - application/json
  14507. responses:
  14508. "200":
  14509. description: OK
  14510. schema:
  14511. items:
  14512. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  14513. type: array
  14514. "500":
  14515. description: Internal Server Error
  14516. schema:
  14517. $ref: '#/definitions/app.Response'
  14518. security:
  14519. - ApiKeyAuth: []
  14520. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  14521. tags:
  14522. - 企业风险管理(app)
  14523. /Ermcp/QueryBusinessKx:
  14524. get:
  14525. parameters:
  14526. - description: 用户ID
  14527. in: query
  14528. name: UserId
  14529. required: true
  14530. type: integer
  14531. - description: 用户类型 2-机构 7-企业成员
  14532. in: query
  14533. name: usertype
  14534. type: integer
  14535. - description: 现货合同ID, 不填则查所有
  14536. in: query
  14537. name: relatedid
  14538. type: string
  14539. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14540. in: query
  14541. name: applystatus
  14542. type: string
  14543. produces:
  14544. - application/json
  14545. responses:
  14546. "200":
  14547. description: OK
  14548. schema:
  14549. items:
  14550. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  14551. type: array
  14552. "500":
  14553. description: Internal Server Error
  14554. schema:
  14555. $ref: '#/definitions/app.Response'
  14556. security:
  14557. - ApiKeyAuth: []
  14558. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  14559. tags:
  14560. - 企业风险管理(app)
  14561. /Ermcp/QueryChangeLog:
  14562. get:
  14563. parameters:
  14564. - description: 合同ID
  14565. in: query
  14566. name: RelatedId
  14567. required: true
  14568. type: string
  14569. produces:
  14570. - application/json
  14571. responses:
  14572. "200":
  14573. description: OK
  14574. schema:
  14575. items:
  14576. $ref: '#/definitions/ermcp.QryOPLogRsp'
  14577. type: array
  14578. "500":
  14579. description: Internal Server Error
  14580. schema:
  14581. $ref: '#/definitions/app.Response'
  14582. security:
  14583. - ApiKeyAuth: []
  14584. summary: 查询变更记录
  14585. tags:
  14586. - 企业风险管理(app)
  14587. /Ermcp/QueryErmcpHisOrderDetails:
  14588. get:
  14589. parameters:
  14590. - description: 资金账户ID
  14591. in: query
  14592. name: accountID
  14593. required: true
  14594. type: integer
  14595. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14596. in: query
  14597. name: startDate
  14598. type: string
  14599. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14600. in: query
  14601. name: endDate
  14602. type: string
  14603. produces:
  14604. - application/json
  14605. responses:
  14606. "200":
  14607. description: OK
  14608. schema:
  14609. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14610. "500":
  14611. description: Internal Server Error
  14612. schema:
  14613. $ref: '#/definitions/app.Response'
  14614. security:
  14615. - ApiKeyAuth: []
  14616. summary: 获取企业风管期货历史委托单信息
  14617. tags:
  14618. - 企业风险管理(app)
  14619. /Ermcp/QueryErmcpHisTradeDetails:
  14620. get:
  14621. parameters:
  14622. - description: 资金账户ID
  14623. in: query
  14624. name: accountID
  14625. required: true
  14626. type: integer
  14627. - description: 商品ID
  14628. in: query
  14629. name: goodsID
  14630. type: integer
  14631. - description: 买卖方向,0:买 1:卖
  14632. in: query
  14633. name: buyOrSell
  14634. type: integer
  14635. - description: 关联委托单号
  14636. in: query
  14637. name: orderID
  14638. type: integer
  14639. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14640. in: query
  14641. name: startDate
  14642. type: string
  14643. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14644. in: query
  14645. name: endDate
  14646. type: string
  14647. produces:
  14648. - application/json
  14649. responses:
  14650. "200":
  14651. description: OK
  14652. schema:
  14653. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14654. "500":
  14655. description: Internal Server Error
  14656. schema:
  14657. $ref: '#/definitions/app.Response'
  14658. security:
  14659. - ApiKeyAuth: []
  14660. summary: 获取企业风管期货历史成交单信息
  14661. tags:
  14662. - 企业风险管理(app)
  14663. /Ermcp/QueryErmcpInnerHolderDetails:
  14664. get:
  14665. parameters:
  14666. - description: 资金账户ID
  14667. in: query
  14668. name: accountID
  14669. required: true
  14670. type: integer
  14671. - description: 商品ID
  14672. in: query
  14673. name: goodsID
  14674. type: integer
  14675. - description: 买卖方向,0:买 1:卖
  14676. in: query
  14677. name: buyOrSell
  14678. type: integer
  14679. produces:
  14680. - application/json
  14681. responses:
  14682. "200":
  14683. description: OK
  14684. schema:
  14685. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  14686. "500":
  14687. description: Internal Server Error
  14688. schema:
  14689. $ref: '#/definitions/app.Response'
  14690. security:
  14691. - ApiKeyAuth: []
  14692. summary: 获取企业风管期货内部持仓单信息
  14693. tags:
  14694. - 企业风险管理(app)
  14695. /Ermcp/QueryErmcpOrderDetails:
  14696. get:
  14697. parameters:
  14698. - description: 资金账户ID
  14699. in: query
  14700. name: accountID
  14701. required: true
  14702. type: integer
  14703. produces:
  14704. - application/json
  14705. responses:
  14706. "200":
  14707. description: OK
  14708. schema:
  14709. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14710. "500":
  14711. description: Internal Server Error
  14712. schema:
  14713. $ref: '#/definitions/app.Response'
  14714. security:
  14715. - ApiKeyAuth: []
  14716. summary: 获取企业风管期货委托单信息
  14717. tags:
  14718. - 企业风险管理(app)
  14719. /Ermcp/QueryErmcpTradeDetails:
  14720. get:
  14721. parameters:
  14722. - description: 资金账户ID
  14723. in: query
  14724. name: accountID
  14725. required: true
  14726. type: integer
  14727. - description: 商品ID
  14728. in: query
  14729. name: goodsID
  14730. type: integer
  14731. - description: 买卖方向,0:买 1:卖
  14732. in: query
  14733. name: buyOrSell
  14734. type: integer
  14735. - description: 关联委托单号
  14736. in: query
  14737. name: orderID
  14738. type: integer
  14739. produces:
  14740. - application/json
  14741. responses:
  14742. "200":
  14743. description: OK
  14744. schema:
  14745. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14746. "500":
  14747. description: Internal Server Error
  14748. schema:
  14749. $ref: '#/definitions/app.Response'
  14750. security:
  14751. - ApiKeyAuth: []
  14752. summary: 获取企业风管期货成交单信息
  14753. tags:
  14754. - 企业风险管理(app)
  14755. /Ermcp/QueryErmcpTradePosition:
  14756. get:
  14757. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  14758. parameters:
  14759. - description: 资金账户ID
  14760. in: query
  14761. name: accountID
  14762. required: true
  14763. type: integer
  14764. - description: 所属市场ID
  14765. in: query
  14766. name: marketID
  14767. type: integer
  14768. produces:
  14769. - application/json
  14770. responses:
  14771. "200":
  14772. description: OK
  14773. schema:
  14774. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  14775. "500":
  14776. description: Internal Server Error
  14777. schema:
  14778. $ref: '#/definitions/app.Response'
  14779. security:
  14780. - ApiKeyAuth: []
  14781. summary: 获取企业风管期货持仓头寸信息
  14782. tags:
  14783. - 企业风险管理(app)
  14784. /Ermcp/QueryExposureDetail:
  14785. get:
  14786. parameters:
  14787. - description: 所属机构ID
  14788. in: query
  14789. name: areaUserId
  14790. required: true
  14791. type: integer
  14792. - description: 套保商品
  14793. in: query
  14794. name: middleGoodsId
  14795. required: true
  14796. type: integer
  14797. produces:
  14798. - application/json
  14799. responses:
  14800. "200":
  14801. description: OK
  14802. schema:
  14803. items:
  14804. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  14805. type: array
  14806. "500":
  14807. description: Internal Server Error
  14808. schema:
  14809. $ref: '#/definitions/app.Response'
  14810. security:
  14811. - ApiKeyAuth: []
  14812. summary: 查询敞口现货明细
  14813. tags:
  14814. - 企业风险管理(app)
  14815. /Ermcp/QueryExposureGoods:
  14816. get:
  14817. parameters:
  14818. - description: 套保商品id
  14819. in: query
  14820. name: middlegoodsid
  14821. required: true
  14822. type: integer
  14823. produces:
  14824. - application/json
  14825. responses:
  14826. "200":
  14827. description: OK
  14828. schema:
  14829. items:
  14830. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  14831. type: array
  14832. "500":
  14833. description: Internal Server Error
  14834. schema:
  14835. $ref: '#/definitions/app.Response'
  14836. security:
  14837. - ApiKeyAuth: []
  14838. summary: 查询敞口主力合约
  14839. tags:
  14840. - 企业风险管理(app)
  14841. /Ermcp/QueryExposureHedgePosition:
  14842. get:
  14843. parameters:
  14844. - description: 用户id
  14845. in: query
  14846. name: userid
  14847. required: true
  14848. type: integer
  14849. produces:
  14850. - application/json
  14851. responses:
  14852. "200":
  14853. description: OK
  14854. schema:
  14855. items:
  14856. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  14857. type: array
  14858. "500":
  14859. description: Internal Server Error
  14860. schema:
  14861. $ref: '#/definitions/app.Response'
  14862. security:
  14863. - ApiKeyAuth: []
  14864. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  14865. tags:
  14866. - 企业风险管理(app)
  14867. /Ermcp/QueryExposureHedgePositionDetail:
  14868. get:
  14869. parameters:
  14870. - description: 所属机构ID
  14871. in: query
  14872. name: userid
  14873. required: true
  14874. type: integer
  14875. - description: 商品id
  14876. in: query
  14877. name: goodsId
  14878. required: true
  14879. type: integer
  14880. produces:
  14881. - application/json
  14882. responses:
  14883. "200":
  14884. description: OK
  14885. schema:
  14886. items:
  14887. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  14888. type: array
  14889. "500":
  14890. description: Internal Server Error
  14891. schema:
  14892. $ref: '#/definitions/app.Response'
  14893. security:
  14894. - ApiKeyAuth: []
  14895. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  14896. tags:
  14897. - 企业风险管理(app)
  14898. /Ermcp/QueryExposureSpot:
  14899. get:
  14900. parameters:
  14901. - description: 所属机构ID
  14902. in: query
  14903. name: areaUserId
  14904. required: true
  14905. type: integer
  14906. produces:
  14907. - application/json
  14908. responses:
  14909. "200":
  14910. description: OK
  14911. schema:
  14912. items:
  14913. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  14914. type: array
  14915. "500":
  14916. description: Internal Server Error
  14917. schema:
  14918. $ref: '#/definitions/app.Response'
  14919. security:
  14920. - ApiKeyAuth: []
  14921. summary: 查询敞口现货头寸(敞口/现货头寸)
  14922. tags:
  14923. - 企业风险管理(app)
  14924. /Ermcp/QueryExposureSpotDetail:
  14925. get:
  14926. parameters:
  14927. - description: 所属机构ID
  14928. in: query
  14929. name: areaUserId
  14930. required: true
  14931. type: integer
  14932. - description: 现货品种ID
  14933. in: query
  14934. name: wrstandardId
  14935. required: true
  14936. type: integer
  14937. produces:
  14938. - application/json
  14939. responses:
  14940. "200":
  14941. description: OK
  14942. schema:
  14943. items:
  14944. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  14945. type: array
  14946. "500":
  14947. description: Internal Server Error
  14948. schema:
  14949. $ref: '#/definitions/app.Response'
  14950. security:
  14951. - ApiKeyAuth: []
  14952. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14953. tags:
  14954. - 企业风险管理(app)
  14955. /Ermcp/QueryFuturesCompany:
  14956. get:
  14957. produces:
  14958. - application/json
  14959. responses:
  14960. "200":
  14961. description: OK
  14962. schema:
  14963. items:
  14964. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14965. type: array
  14966. "500":
  14967. description: Internal Server Error
  14968. schema:
  14969. $ref: '#/definitions/app.Response'
  14970. security:
  14971. - ApiKeyAuth: []
  14972. summary: 查询期货公司
  14973. tags:
  14974. - 企业风险管理(app)
  14975. /Ermcp/QueryGGConvertConfig:
  14976. get:
  14977. parameters:
  14978. - description: 品种id(不填则查所有)
  14979. in: query
  14980. name: goodsgroupid
  14981. type: integer
  14982. produces:
  14983. - application/json
  14984. responses:
  14985. "200":
  14986. description: OK
  14987. schema:
  14988. items:
  14989. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  14990. type: array
  14991. "500":
  14992. description: Internal Server Error
  14993. schema:
  14994. $ref: '#/definitions/app.Response'
  14995. security:
  14996. - ApiKeyAuth: []
  14997. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  14998. tags:
  14999. - 企业风险管理(app)
  15000. /Ermcp/QueryGoodsBrand:
  15001. get:
  15002. parameters:
  15003. - description: 用户ID
  15004. in: query
  15005. name: userid
  15006. required: true
  15007. type: integer
  15008. - description: 现货商品ID
  15009. in: query
  15010. name: wrstandardid
  15011. type: integer
  15012. produces:
  15013. - application/json
  15014. responses:
  15015. "200":
  15016. description: OK
  15017. schema:
  15018. items:
  15019. $ref: '#/definitions/models.ErmcpGoodsBrand'
  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/QueryGoodsModel:
  15031. get:
  15032. parameters:
  15033. - description: 用户ID
  15034. in: query
  15035. name: userid
  15036. required: true
  15037. type: integer
  15038. produces:
  15039. - application/json
  15040. responses:
  15041. "200":
  15042. description: OK
  15043. schema:
  15044. items:
  15045. $ref: '#/definitions/models.ErmcpGoodsModel'
  15046. type: array
  15047. "500":
  15048. description: Internal Server Error
  15049. schema:
  15050. $ref: '#/definitions/app.Response'
  15051. security:
  15052. - ApiKeyAuth: []
  15053. summary: 查询商品型号
  15054. tags:
  15055. - 企业风险管理(app)
  15056. /Ermcp/QueryHisExposure:
  15057. get:
  15058. parameters:
  15059. - description: 用户id
  15060. in: query
  15061. name: userid
  15062. required: true
  15063. type: integer
  15064. - description: 每个品种记录数
  15065. in: query
  15066. name: lastNum
  15067. required: true
  15068. type: integer
  15069. produces:
  15070. - application/json
  15071. responses:
  15072. "200":
  15073. description: OK
  15074. schema:
  15075. items:
  15076. $ref: '#/definitions/ermcp.HisExposureRsp'
  15077. type: array
  15078. "500":
  15079. description: Internal Server Error
  15080. schema:
  15081. $ref: '#/definitions/app.Response'
  15082. security:
  15083. - ApiKeyAuth: []
  15084. summary: 查询历史敞口(菜单:敞口/历史敞口)
  15085. tags:
  15086. - 企业风险管理(app)
  15087. /Ermcp/QueryMiddleGoods:
  15088. get:
  15089. parameters:
  15090. - description: 所属机构ID
  15091. in: query
  15092. name: userid
  15093. required: true
  15094. type: integer
  15095. - description: 状态 0-停用 1-正常
  15096. in: query
  15097. name: status
  15098. required: true
  15099. type: integer
  15100. produces:
  15101. - application/json
  15102. responses:
  15103. "200":
  15104. description: OK
  15105. schema:
  15106. items:
  15107. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  15108. type: array
  15109. "500":
  15110. description: Internal Server Error
  15111. schema:
  15112. $ref: '#/definitions/app.Response'
  15113. security:
  15114. - ApiKeyAuth: []
  15115. summary: 查询套保品种(菜单:套保品种)
  15116. tags:
  15117. - 企业风险管理(app)
  15118. /Ermcp/QueryMiddleGoodsChangeLog:
  15119. get:
  15120. parameters:
  15121. - description: 所属机构ID
  15122. in: query
  15123. name: userid
  15124. required: true
  15125. type: integer
  15126. - description: 套保品种id
  15127. in: query
  15128. name: middlegoodsid
  15129. required: true
  15130. type: integer
  15131. produces:
  15132. - application/json
  15133. responses:
  15134. "200":
  15135. description: OK
  15136. schema:
  15137. items:
  15138. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  15139. type: array
  15140. "500":
  15141. description: Internal Server Error
  15142. schema:
  15143. $ref: '#/definitions/app.Response'
  15144. security:
  15145. - ApiKeyAuth: []
  15146. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  15147. tags:
  15148. - 企业风险管理(app)
  15149. /Ermcp/QueryMiddleGoodsDetail:
  15150. get:
  15151. parameters:
  15152. - description: 所属机构ID
  15153. in: query
  15154. name: userid
  15155. required: true
  15156. type: integer
  15157. - description: 套保品种id
  15158. in: query
  15159. name: middlegoodsid
  15160. type: integer
  15161. produces:
  15162. - application/json
  15163. responses:
  15164. "200":
  15165. description: OK
  15166. schema:
  15167. items:
  15168. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  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/QueryPendingAuditInfo:
  15180. get:
  15181. parameters:
  15182. - description: 用户ID
  15183. in: query
  15184. name: UserId
  15185. required: true
  15186. type: integer
  15187. produces:
  15188. - application/json
  15189. responses:
  15190. "200":
  15191. description: OK
  15192. schema:
  15193. items:
  15194. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  15195. type: array
  15196. "500":
  15197. description: Internal Server Error
  15198. schema:
  15199. $ref: '#/definitions/app.Response'
  15200. security:
  15201. - ApiKeyAuth: []
  15202. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  15203. tags:
  15204. - 企业风险管理(app)
  15205. /Ermcp/QueryRealtimeExposure:
  15206. get:
  15207. parameters:
  15208. - description: 所属机构ID
  15209. in: query
  15210. name: userid
  15211. required: true
  15212. type: integer
  15213. produces:
  15214. - application/json
  15215. responses:
  15216. "200":
  15217. description: OK
  15218. schema:
  15219. items:
  15220. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  15221. type: array
  15222. "500":
  15223. description: Internal Server Error
  15224. schema:
  15225. $ref: '#/definitions/app.Response'
  15226. security:
  15227. - ApiKeyAuth: []
  15228. summary: 查询实时敞口
  15229. tags:
  15230. - 企业风险管理(app)
  15231. /Ermcp/QueryRealtimeExposurePosition:
  15232. get:
  15233. parameters:
  15234. - description: 用户id
  15235. in: query
  15236. name: userid
  15237. required: true
  15238. type: integer
  15239. - description: 套保商品ID
  15240. in: query
  15241. name: middleGoodsId
  15242. required: true
  15243. type: integer
  15244. produces:
  15245. - application/json
  15246. responses:
  15247. "200":
  15248. description: OK
  15249. schema:
  15250. items:
  15251. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  15252. type: array
  15253. "500":
  15254. description: Internal Server Error
  15255. schema:
  15256. $ref: '#/definitions/app.Response'
  15257. security:
  15258. - ApiKeyAuth: []
  15259. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  15260. tags:
  15261. - 企业风险管理(app)
  15262. /Ermcp/QueryTradeConfigTMP:
  15263. get:
  15264. parameters:
  15265. - description: 所属机构id
  15266. in: query
  15267. name: areauserid
  15268. type: integer
  15269. produces:
  15270. - application/json
  15271. responses:
  15272. "200":
  15273. description: OK
  15274. schema:
  15275. items:
  15276. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  15277. type: array
  15278. "500":
  15279. description: Internal Server Error
  15280. schema:
  15281. $ref: '#/definitions/app.Response'
  15282. security:
  15283. - ApiKeyAuth: []
  15284. summary: 查询交易模板配置
  15285. tags:
  15286. - 企业风险管理(app)
  15287. /Ermcp/QueryUserInfo:
  15288. get:
  15289. parameters:
  15290. - description: 所属机构用户ID
  15291. in: query
  15292. name: MemberUserID
  15293. required: true
  15294. type: integer
  15295. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  15296. in: query
  15297. name: queryType
  15298. required: true
  15299. type: integer
  15300. produces:
  15301. - application/json
  15302. responses:
  15303. "200":
  15304. description: OK
  15305. schema:
  15306. items:
  15307. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  15308. type: array
  15309. "500":
  15310. description: Internal Server Error
  15311. schema:
  15312. $ref: '#/definitions/app.Response'
  15313. security:
  15314. - ApiKeyAuth: []
  15315. summary: 查询客户资料
  15316. tags:
  15317. - 企业风险管理(app)
  15318. /Ermcp/QueryWarehouseInfo:
  15319. get:
  15320. parameters:
  15321. - description: 用户ID
  15322. in: query
  15323. name: userid
  15324. required: true
  15325. type: integer
  15326. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  15327. in: query
  15328. name: status
  15329. type: string
  15330. produces:
  15331. - application/json
  15332. responses:
  15333. "200":
  15334. description: OK
  15335. schema:
  15336. items:
  15337. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  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. /Ermcp3/QryAreaExpourseContractDetail:
  15349. get:
  15350. parameters:
  15351. - description: 用户ID
  15352. in: query
  15353. name: userid
  15354. required: true
  15355. type: integer
  15356. - description: 套保商品id
  15357. in: query
  15358. name: middlegoodsid
  15359. required: true
  15360. type: integer
  15361. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15362. in: query
  15363. name: cycletype
  15364. required: true
  15365. type: integer
  15366. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15367. 全(0)【原值】
  15368. in: query
  15369. name: cycletime
  15370. required: true
  15371. type: string
  15372. produces:
  15373. - application/json
  15374. responses:
  15375. "200":
  15376. description: OK
  15377. schema:
  15378. items:
  15379. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  15380. type: array
  15381. "500":
  15382. description: Internal Server Error
  15383. schema:
  15384. $ref: '#/definitions/app.Response'
  15385. security:
  15386. - ApiKeyAuth: []
  15387. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  15388. tags:
  15389. - 企业风险管理v3(app)
  15390. /Ermcp3/QryAreaExpourseFutuDetail:
  15391. get:
  15392. parameters:
  15393. - description: 用户ID
  15394. in: query
  15395. name: userid
  15396. required: true
  15397. type: integer
  15398. - description: 套保商品id
  15399. in: query
  15400. name: middlegoodsid
  15401. required: true
  15402. type: integer
  15403. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15404. in: query
  15405. name: cycletype
  15406. required: true
  15407. type: integer
  15408. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15409. 全(0)【原值】
  15410. in: query
  15411. name: cycletime
  15412. required: true
  15413. type: string
  15414. produces:
  15415. - application/json
  15416. responses:
  15417. "200":
  15418. description: OK
  15419. schema:
  15420. items:
  15421. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  15422. type: array
  15423. "500":
  15424. description: Internal Server Error
  15425. schema:
  15426. $ref: '#/definitions/app.Response'
  15427. security:
  15428. - ApiKeyAuth: []
  15429. summary: 查询敞口期货明细(敞口报表/期货明细)
  15430. tags:
  15431. - 企业风险管理v3(app)
  15432. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  15433. get:
  15434. parameters:
  15435. - description: 用户ID
  15436. in: query
  15437. name: userid
  15438. required: true
  15439. type: integer
  15440. - description: 套保商品id
  15441. in: query
  15442. name: middlegoodsid
  15443. required: true
  15444. type: integer
  15445. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15446. in: query
  15447. name: cycletype
  15448. required: true
  15449. type: integer
  15450. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15451. 全(0)【原值】
  15452. in: query
  15453. name: cycletime
  15454. required: true
  15455. type: string
  15456. produces:
  15457. - application/json
  15458. responses:
  15459. "200":
  15460. description: OK
  15461. schema:
  15462. items:
  15463. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  15464. type: array
  15465. "500":
  15466. description: Internal Server Error
  15467. schema:
  15468. $ref: '#/definitions/app.Response'
  15469. security:
  15470. - ApiKeyAuth: []
  15471. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  15472. tags:
  15473. - 企业风险管理v3(app)
  15474. /Ermcp3/QryAreaExpourseParamChLogDetail:
  15475. get:
  15476. parameters:
  15477. - description: 用户ID
  15478. in: query
  15479. name: userid
  15480. required: true
  15481. type: integer
  15482. - description: 套保商品id
  15483. in: query
  15484. name: middlegoodsid
  15485. required: true
  15486. type: integer
  15487. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15488. in: query
  15489. name: cycletype
  15490. required: true
  15491. type: integer
  15492. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15493. 全(0)【原值】
  15494. in: query
  15495. name: cycletime
  15496. required: true
  15497. type: string
  15498. produces:
  15499. - application/json
  15500. responses:
  15501. "200":
  15502. description: OK
  15503. schema:
  15504. items:
  15505. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  15506. type: array
  15507. "500":
  15508. description: Internal Server Error
  15509. schema:
  15510. $ref: '#/definitions/app.Response'
  15511. security:
  15512. - ApiKeyAuth: []
  15513. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  15514. tags:
  15515. - 企业风险管理v3(app)
  15516. /Ermcp3/QryAreaExpourseReport:
  15517. get:
  15518. parameters:
  15519. - description: 用户ID
  15520. in: query
  15521. name: userid
  15522. required: true
  15523. type: integer
  15524. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  15525. in: query
  15526. name: querytype
  15527. required: true
  15528. type: integer
  15529. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15530. in: query
  15531. name: cycletype
  15532. required: true
  15533. type: integer
  15534. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15535. 全(0)【原值】
  15536. in: query
  15537. name: cycletime
  15538. required: true
  15539. type: string
  15540. produces:
  15541. - application/json
  15542. responses:
  15543. "200":
  15544. description: OK
  15545. schema:
  15546. items:
  15547. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  15548. type: array
  15549. "500":
  15550. description: Internal Server Error
  15551. schema:
  15552. $ref: '#/definitions/app.Response'
  15553. security:
  15554. - ApiKeyAuth: []
  15555. summary: 查询敞口报表
  15556. tags:
  15557. - 企业风险管理v3(app)
  15558. /Ermcp3/QryAreaSpotplReport:
  15559. get:
  15560. parameters:
  15561. - description: 用户ID
  15562. in: query
  15563. name: userid
  15564. required: true
  15565. type: integer
  15566. - description: 查询类型 1-报表 2-报表明细
  15567. in: query
  15568. name: querytype
  15569. required: true
  15570. type: integer
  15571. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15572. in: query
  15573. name: cycletype
  15574. required: true
  15575. type: integer
  15576. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15577. 全(0)【原值】
  15578. in: query
  15579. name: cycletime
  15580. required: true
  15581. type: string
  15582. - description: 现货品种id(明细必填)
  15583. in: query
  15584. name: deliverygoodsid
  15585. type: integer
  15586. - description: 币种id(明细必填)
  15587. in: query
  15588. name: currencyid
  15589. type: integer
  15590. produces:
  15591. - application/json
  15592. responses:
  15593. "200":
  15594. description: OK
  15595. schema:
  15596. items:
  15597. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  15598. type: array
  15599. "500":
  15600. description: Internal Server Error
  15601. schema:
  15602. $ref: '#/definitions/app.Response'
  15603. security:
  15604. - ApiKeyAuth: []
  15605. summary: 查询现货报表
  15606. tags:
  15607. - 企业风险管理v3(app)
  15608. /Ermcp3/QryAreaStockReport:
  15609. get:
  15610. parameters:
  15611. - description: 用户ID
  15612. in: query
  15613. name: userid
  15614. required: true
  15615. type: integer
  15616. - description: 查询类型 1-报表 2-报表明细
  15617. in: query
  15618. name: querytype
  15619. required: true
  15620. type: integer
  15621. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15622. in: query
  15623. name: cycletype
  15624. required: true
  15625. type: integer
  15626. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15627. 全(0)【原值】
  15628. in: query
  15629. name: cycletime
  15630. required: true
  15631. type: string
  15632. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  15633. in: query
  15634. name: sumfields
  15635. type: string
  15636. - description: 品种ID
  15637. in: query
  15638. name: deliverygoodsid
  15639. type: integer
  15640. - description: 品类ID
  15641. in: query
  15642. name: wrstandardid
  15643. type: integer
  15644. - description: 品牌ID
  15645. in: query
  15646. name: spotgoodsbrandid
  15647. type: integer
  15648. - description: 仓库ID
  15649. in: query
  15650. name: warehouseinfoid
  15651. type: integer
  15652. produces:
  15653. - application/json
  15654. responses:
  15655. "200":
  15656. description: OK
  15657. schema:
  15658. items:
  15659. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  15660. type: array
  15661. "500":
  15662. description: Internal Server Error
  15663. schema:
  15664. $ref: '#/definitions/app.Response'
  15665. security:
  15666. - ApiKeyAuth: []
  15667. summary: 查询库存报表
  15668. tags:
  15669. - 企业风险管理v3(app)
  15670. /Ermcp3/QryAreaSumPL:
  15671. get:
  15672. parameters:
  15673. - description: 用户ID
  15674. in: query
  15675. name: userid
  15676. required: true
  15677. type: integer
  15678. - description: 查询类型 1-报表 2-报表明细
  15679. in: query
  15680. name: querytype
  15681. required: true
  15682. type: integer
  15683. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15684. in: query
  15685. name: cycletype
  15686. required: true
  15687. type: integer
  15688. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15689. 全(0)【原值】
  15690. in: query
  15691. name: cycletime
  15692. required: true
  15693. type: string
  15694. - description: 币种id(明细必填)
  15695. in: query
  15696. name: currencyid
  15697. type: integer
  15698. produces:
  15699. - application/json
  15700. responses:
  15701. "200":
  15702. description: OK
  15703. schema:
  15704. items:
  15705. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  15706. type: array
  15707. "500":
  15708. description: Internal Server Error
  15709. schema:
  15710. $ref: '#/definitions/app.Response'
  15711. security:
  15712. - ApiKeyAuth: []
  15713. summary: 查询汇总损益表
  15714. tags:
  15715. - 企业风险管理v3(app)
  15716. /Ermcp3/QryFinanceReport:
  15717. get:
  15718. parameters:
  15719. - description: 用户ID
  15720. in: query
  15721. name: userid
  15722. required: true
  15723. type: integer
  15724. - description: 查询类型 1-报表 2-报表明细
  15725. in: query
  15726. name: querytype
  15727. required: true
  15728. type: integer
  15729. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15730. in: query
  15731. name: cycletype
  15732. required: true
  15733. type: integer
  15734. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15735. 全(0)【原值】
  15736. in: query
  15737. name: cycletime
  15738. required: true
  15739. type: string
  15740. - description: 币种id(报表明细必填)
  15741. in: query
  15742. name: currencyid
  15743. type: integer
  15744. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  15745. in: query
  15746. name: sumfields
  15747. type: string
  15748. produces:
  15749. - application/json
  15750. responses:
  15751. "200":
  15752. description: OK
  15753. schema:
  15754. items:
  15755. $ref: '#/definitions/models.Ermcp3FinanceReport'
  15756. type: array
  15757. "500":
  15758. description: Internal Server Error
  15759. schema:
  15760. $ref: '#/definitions/app.Response'
  15761. security:
  15762. - ApiKeyAuth: []
  15763. summary: 查询财务报表
  15764. tags:
  15765. - 企业风险管理v3(app)
  15766. /Ermcp3/QryTaFutureDataReport:
  15767. get:
  15768. parameters:
  15769. - description: 用户ID
  15770. in: query
  15771. name: userid
  15772. required: true
  15773. type: integer
  15774. - description: 查询类型 1-报表 2-报表明细
  15775. in: query
  15776. name: querytype
  15777. required: true
  15778. type: integer
  15779. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15780. in: query
  15781. name: cycletype
  15782. required: true
  15783. type: integer
  15784. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15785. 全(0)【原值】
  15786. in: query
  15787. name: cycletime
  15788. required: true
  15789. type: string
  15790. - description: 币种id(查明细必填)
  15791. in: query
  15792. name: currencyid
  15793. type: integer
  15794. - description: 品种id(查明细必填)
  15795. in: query
  15796. name: goodsgroupid
  15797. type: integer
  15798. - description: 商品id(查明细必填)
  15799. in: query
  15800. name: goodsid
  15801. type: integer
  15802. - description: 买卖方向(查明细必填)
  15803. in: query
  15804. name: buyorsell
  15805. type: integer
  15806. produces:
  15807. - application/json
  15808. responses:
  15809. "200":
  15810. description: OK
  15811. schema:
  15812. items:
  15813. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  15814. type: array
  15815. "500":
  15816. description: Internal Server Error
  15817. schema:
  15818. $ref: '#/definitions/app.Response'
  15819. security:
  15820. - ApiKeyAuth: []
  15821. summary: 查询期货报表
  15822. tags:
  15823. - 企业风险管理v3(app)
  15824. /Ermcp3/QueryAreaStock:
  15825. get:
  15826. parameters:
  15827. - description: 用户ID
  15828. in: query
  15829. name: userid
  15830. required: true
  15831. type: integer
  15832. produces:
  15833. - application/json
  15834. responses:
  15835. "200":
  15836. description: OK
  15837. schema:
  15838. items:
  15839. $ref: '#/definitions/models.Ermcp3AreaStock'
  15840. type: array
  15841. "500":
  15842. description: Internal Server Error
  15843. schema:
  15844. $ref: '#/definitions/app.Response'
  15845. security:
  15846. - ApiKeyAuth: []
  15847. summary: 查询机构库存(库存管理/当前库存)
  15848. tags:
  15849. - 企业风险管理v3(app)
  15850. /Ermcp3/QueryAreaStockApply:
  15851. get:
  15852. parameters:
  15853. - description: 用户ID
  15854. in: query
  15855. name: userid
  15856. required: true
  15857. type: integer
  15858. - description: 用户类型 2-机构 7-企业成员
  15859. in: query
  15860. name: usertype
  15861. type: integer
  15862. - description: 现货商品ID
  15863. in: query
  15864. name: deliverygoodsid
  15865. type: integer
  15866. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  15867. in: query
  15868. name: inouttype
  15869. type: string
  15870. - description: 合同ID
  15871. in: query
  15872. name: spotcontractid
  15873. type: integer
  15874. - description: 品类ID
  15875. in: query
  15876. name: wrstandardid
  15877. type: integer
  15878. - description: 品牌ID
  15879. in: query
  15880. name: spotgoodsbrandid
  15881. type: integer
  15882. - description: 仓库ID
  15883. in: query
  15884. name: warehouseinfoid
  15885. type: integer
  15886. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15887. in: query
  15888. name: applystatus
  15889. type: string
  15890. produces:
  15891. - application/json
  15892. responses:
  15893. "200":
  15894. description: OK
  15895. schema:
  15896. items:
  15897. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15898. type: array
  15899. "500":
  15900. description: Internal Server Error
  15901. schema:
  15902. $ref: '#/definitions/app.Response'
  15903. security:
  15904. - ApiKeyAuth: []
  15905. summary: 查询库存申请(出入库记录|库存审核)
  15906. tags:
  15907. - 企业风险管理v3(app)
  15908. /Ermcp3/QueryAreaStockApplySum:
  15909. get:
  15910. parameters:
  15911. - description: 合同ID
  15912. in: query
  15913. name: spotcontractid
  15914. type: integer
  15915. produces:
  15916. - application/json
  15917. responses:
  15918. "200":
  15919. description: OK
  15920. schema:
  15921. items:
  15922. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  15923. type: array
  15924. "500":
  15925. description: Internal Server Error
  15926. schema:
  15927. $ref: '#/definitions/app.Response'
  15928. security:
  15929. - ApiKeyAuth: []
  15930. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  15931. tags:
  15932. - 企业风险管理v3(app)
  15933. /Ermcp3/QueryDGFactoryItem:
  15934. get:
  15935. parameters:
  15936. - description: 用户id
  15937. in: query
  15938. name: userid
  15939. type: integer
  15940. - description: 用户类型 2-机构 7-企业成员
  15941. in: query
  15942. name: usertype
  15943. type: integer
  15944. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15945. in: query
  15946. name: dgfactoryitemid
  15947. type: integer
  15948. - description: 现货品种ID
  15949. in: query
  15950. name: deliverygoodsid
  15951. type: integer
  15952. - description: 要素项类型
  15953. in: query
  15954. name: dgfactoryitemtypeid
  15955. type: integer
  15956. - description: 顺序
  15957. in: query
  15958. name: orderindex
  15959. type: integer
  15960. produces:
  15961. - application/json
  15962. responses:
  15963. "200":
  15964. description: OK
  15965. schema:
  15966. items:
  15967. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  15968. type: array
  15969. "500":
  15970. description: Internal Server Error
  15971. schema:
  15972. $ref: '#/definitions/app.Response'
  15973. security:
  15974. - ApiKeyAuth: []
  15975. summary: 查询品种要素定义项
  15976. tags:
  15977. - 企业风险管理v3(app)
  15978. /Ermcp3/QueryDeliveryGoods:
  15979. get:
  15980. parameters:
  15981. - description: 用户id
  15982. in: query
  15983. name: userid
  15984. required: true
  15985. type: integer
  15986. - description: 用户类型 2-机构 7-企业成员
  15987. in: query
  15988. name: usertype
  15989. type: integer
  15990. - description: 排除已配置的业务类型商品 1-套保 2-套利
  15991. in: query
  15992. name: excludecfg
  15993. type: integer
  15994. produces:
  15995. - application/json
  15996. responses:
  15997. "200":
  15998. description: OK
  15999. schema:
  16000. items:
  16001. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  16002. type: array
  16003. "500":
  16004. description: Internal Server Error
  16005. schema:
  16006. $ref: '#/definitions/app.Response'
  16007. security:
  16008. - ApiKeyAuth: []
  16009. summary: 查询现货商品
  16010. tags:
  16011. - 企业风险管理v3(app)
  16012. /Ermcp3/QueryDeliveryGoodsDetail:
  16013. get:
  16014. parameters:
  16015. - description: 用户id
  16016. in: query
  16017. name: userid
  16018. required: true
  16019. type: integer
  16020. - description: 用户类型 2-机构 7-企业成员
  16021. in: query
  16022. name: usertype
  16023. type: integer
  16024. - description: 现货商品id
  16025. in: query
  16026. name: deliverygoodsid
  16027. type: integer
  16028. produces:
  16029. - application/json
  16030. responses:
  16031. "200":
  16032. description: OK
  16033. schema:
  16034. items:
  16035. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  16036. type: array
  16037. "500":
  16038. description: Internal Server Error
  16039. schema:
  16040. $ref: '#/definitions/app.Response'
  16041. security:
  16042. - ApiKeyAuth: []
  16043. summary: 查询现货商品详情
  16044. tags:
  16045. - 企业风险管理v3(app)
  16046. /Ermcp3/QueryExposureDetail:
  16047. get:
  16048. parameters:
  16049. - description: 用户id
  16050. in: query
  16051. name: userid
  16052. required: true
  16053. type: integer
  16054. - description: 用户类型 2-机构 7-企业成员
  16055. in: query
  16056. name: usertype
  16057. type: integer
  16058. - description: 套保商品
  16059. in: query
  16060. name: middlegoodsid
  16061. required: true
  16062. type: integer
  16063. produces:
  16064. - application/json
  16065. responses:
  16066. "200":
  16067. description: OK
  16068. schema:
  16069. items:
  16070. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  16071. type: array
  16072. "500":
  16073. description: Internal Server Error
  16074. schema:
  16075. $ref: '#/definitions/app.Response'
  16076. security:
  16077. - ApiKeyAuth: []
  16078. summary: 查询敞口现货明细
  16079. tags:
  16080. - 企业风险管理v3(app)
  16081. /Ermcp3/QueryExposureSpot:
  16082. get:
  16083. parameters:
  16084. - description: 用户id
  16085. in: query
  16086. name: userid
  16087. required: true
  16088. type: integer
  16089. - description: 用户类型 2-机构 7-企业成员
  16090. in: query
  16091. name: usertype
  16092. type: integer
  16093. produces:
  16094. - application/json
  16095. responses:
  16096. "200":
  16097. description: OK
  16098. schema:
  16099. items:
  16100. $ref: '#/definitions/models.Ermcp3AreaSpot'
  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/QueryExposureSpotDetail:
  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. - description: 现货品种ID
  16124. in: query
  16125. name: deliverygoodsid
  16126. required: true
  16127. type: integer
  16128. produces:
  16129. - application/json
  16130. responses:
  16131. "200":
  16132. description: OK
  16133. schema:
  16134. items:
  16135. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  16136. type: array
  16137. "500":
  16138. description: Internal Server Error
  16139. schema:
  16140. $ref: '#/definitions/app.Response'
  16141. security:
  16142. - ApiKeyAuth: []
  16143. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  16144. tags:
  16145. - 企业风险管理v3(app)
  16146. /Ermcp3/QueryGoodsGroup:
  16147. get:
  16148. parameters:
  16149. - description: 用户id
  16150. in: query
  16151. name: userid
  16152. required: true
  16153. type: integer
  16154. - description: 用户类型 2-机构 7-企业成员
  16155. in: query
  16156. name: usertype
  16157. type: integer
  16158. - description: 排除套保品中已关联的商品组 1-排除
  16159. in: query
  16160. name: excludecfg
  16161. type: integer
  16162. produces:
  16163. - application/json
  16164. responses:
  16165. "200":
  16166. description: OK
  16167. schema:
  16168. items:
  16169. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  16170. type: array
  16171. "500":
  16172. description: Internal Server Error
  16173. schema:
  16174. $ref: '#/definitions/app.Response'
  16175. security:
  16176. - ApiKeyAuth: []
  16177. summary: 查询期货商品组
  16178. tags:
  16179. - 企业风险管理v3(app)
  16180. /Ermcp3/QueryGoodsWrstandard:
  16181. get:
  16182. parameters:
  16183. - description: 用户id
  16184. in: query
  16185. name: userid
  16186. required: true
  16187. type: integer
  16188. - description: 用户类型 2-机构 7-企业成员
  16189. in: query
  16190. name: usertype
  16191. type: integer
  16192. - description: 现货商品id
  16193. in: query
  16194. name: deliverygoodsid
  16195. type: integer
  16196. produces:
  16197. - application/json
  16198. responses:
  16199. "200":
  16200. description: OK
  16201. schema:
  16202. items:
  16203. $ref: '#/definitions/models.Ermcp3Wrstandard'
  16204. type: array
  16205. "500":
  16206. description: Internal Server Error
  16207. schema:
  16208. $ref: '#/definitions/app.Response'
  16209. security:
  16210. - ApiKeyAuth: []
  16211. summary: 查询商品品类
  16212. tags:
  16213. - 企业风险管理v3(app)
  16214. /Ermcp3/QueryGoodsbrand:
  16215. get:
  16216. parameters:
  16217. - description: 用户id
  16218. in: query
  16219. name: userid
  16220. required: true
  16221. type: integer
  16222. - description: 用户类型 2-机构 7-企业成员
  16223. in: query
  16224. name: usertype
  16225. type: integer
  16226. produces:
  16227. - application/json
  16228. responses:
  16229. "200":
  16230. description: OK
  16231. schema:
  16232. items:
  16233. $ref: '#/definitions/models.Ermcp3Brand'
  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/QueryHedgePlan:
  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. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  16257. in: query
  16258. name: hedgeplanstatus
  16259. required: true
  16260. type: string
  16261. produces:
  16262. - application/json
  16263. responses:
  16264. "200":
  16265. description: OK
  16266. schema:
  16267. items:
  16268. $ref: '#/definitions/models.Ermcp3HedgePlan'
  16269. type: array
  16270. "500":
  16271. description: Internal Server Error
  16272. schema:
  16273. $ref: '#/definitions/app.Response'
  16274. security:
  16275. - ApiKeyAuth: []
  16276. summary: 查询套保计划
  16277. tags:
  16278. - 企业风险管理v3(app)
  16279. /Ermcp3/QueryMiddleGoodsDetail:
  16280. get:
  16281. parameters:
  16282. - description: 用户id
  16283. in: query
  16284. name: userid
  16285. required: true
  16286. type: integer
  16287. - description: 用户类型 2-机构 7-企业成员
  16288. in: query
  16289. name: usertype
  16290. type: integer
  16291. - description: 套保品种id
  16292. in: query
  16293. name: middlegoodsid
  16294. type: integer
  16295. produces:
  16296. - application/json
  16297. responses:
  16298. "200":
  16299. description: OK
  16300. schema:
  16301. items:
  16302. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  16303. type: array
  16304. "500":
  16305. description: Internal Server Error
  16306. schema:
  16307. $ref: '#/definitions/app.Response'
  16308. security:
  16309. - ApiKeyAuth: []
  16310. summary: 查询套保品种详情(套保品种/商品详情)
  16311. tags:
  16312. - 企业风险管理v3(app)
  16313. /Ermcp3/QueryRootUserAccount:
  16314. get:
  16315. parameters:
  16316. - description: 用户ID
  16317. in: query
  16318. name: userid
  16319. required: true
  16320. type: integer
  16321. produces:
  16322. - application/json
  16323. responses:
  16324. "200":
  16325. description: OK
  16326. schema:
  16327. items:
  16328. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  16329. type: array
  16330. "500":
  16331. description: Internal Server Error
  16332. schema:
  16333. $ref: '#/definitions/app.Response'
  16334. security:
  16335. - ApiKeyAuth: []
  16336. summary: 查询顶级用户信息
  16337. tags:
  16338. - 企业风险管理v3(app)
  16339. /Ermcp3/QuerySpotContract:
  16340. get:
  16341. parameters:
  16342. - description: 用户id
  16343. in: query
  16344. name: userid
  16345. required: true
  16346. type: integer
  16347. - description: 用户类型 2-机构 7-企业成员
  16348. in: query
  16349. name: usertype
  16350. type: integer
  16351. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  16352. in: query
  16353. name: querytype
  16354. required: true
  16355. type: integer
  16356. - description: 合同ID(SpotContractId)
  16357. in: query
  16358. name: contractid
  16359. type: string
  16360. produces:
  16361. - application/json
  16362. responses:
  16363. "200":
  16364. description: OK
  16365. schema:
  16366. items:
  16367. $ref: '#/definitions/models.Ermcp3Contract'
  16368. type: array
  16369. "500":
  16370. description: Internal Server Error
  16371. schema:
  16372. $ref: '#/definitions/app.Response'
  16373. security:
  16374. - ApiKeyAuth: []
  16375. summary: 查询现货合同
  16376. tags:
  16377. - 企业风险管理v3(app)
  16378. /Ermcp3/QuerySpotContractBS:
  16379. get:
  16380. parameters:
  16381. - description: 用户id
  16382. in: query
  16383. name: userid
  16384. required: true
  16385. type: integer
  16386. - description: 用户类型 2-机构 7-企业成员
  16387. in: query
  16388. name: usertype
  16389. type: integer
  16390. - description: 合同类型 1-采购, -1-销售
  16391. in: query
  16392. name: contracttype
  16393. required: true
  16394. type: integer
  16395. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  16396. in: query
  16397. name: querytype
  16398. required: true
  16399. type: integer
  16400. - description: 合同ID(SpotContractId)
  16401. in: query
  16402. name: contractid
  16403. type: string
  16404. produces:
  16405. - application/json
  16406. responses:
  16407. "200":
  16408. description: OK
  16409. schema:
  16410. items:
  16411. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  16412. type: array
  16413. "500":
  16414. description: Internal Server Error
  16415. schema:
  16416. $ref: '#/definitions/app.Response'
  16417. security:
  16418. - ApiKeyAuth: []
  16419. summary: 查询合同(采购/销售)
  16420. tags:
  16421. - 企业风险管理v3(app)
  16422. /Ermcp3/QuerySpotGoodsPrice:
  16423. get:
  16424. parameters:
  16425. - description: 用户ID
  16426. in: query
  16427. name: userid
  16428. required: true
  16429. type: integer
  16430. produces:
  16431. - application/json
  16432. responses:
  16433. "200":
  16434. description: OK
  16435. schema:
  16436. items:
  16437. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  16438. type: array
  16439. "500":
  16440. description: Internal Server Error
  16441. schema:
  16442. $ref: '#/definitions/app.Response'
  16443. security:
  16444. - ApiKeyAuth: []
  16445. summary: 查询现货市价(现货市价)
  16446. tags:
  16447. - 企业风险管理v3(app)
  16448. /Ermcp3/QuerySpotGoodsPriceLog:
  16449. get:
  16450. parameters:
  16451. - description: 用户ID
  16452. in: query
  16453. name: userid
  16454. required: true
  16455. type: integer
  16456. - description: 现货商品ID
  16457. in: query
  16458. name: deliverygoodsid
  16459. required: true
  16460. type: integer
  16461. - description: 品牌ID
  16462. in: query
  16463. name: brandid
  16464. type: integer
  16465. - description: 品类ID
  16466. in: query
  16467. name: wrstandardid
  16468. type: integer
  16469. produces:
  16470. - application/json
  16471. responses:
  16472. "200":
  16473. description: OK
  16474. schema:
  16475. items:
  16476. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  16477. type: array
  16478. "500":
  16479. description: Internal Server Error
  16480. schema:
  16481. $ref: '#/definitions/app.Response'
  16482. security:
  16483. - ApiKeyAuth: []
  16484. summary: 查询现货市价详情(现货市价/详情)
  16485. tags:
  16486. - 企业风险管理v3(app)
  16487. /Erms2/QueryArbitrageStrategy:
  16488. get:
  16489. parameters:
  16490. - description: 账户ID
  16491. in: query
  16492. name: userid
  16493. required: true
  16494. type: integer
  16495. - description: 商品组ID(品种ID)
  16496. in: query
  16497. name: goodsgroupid
  16498. type: string
  16499. produces:
  16500. - application/json
  16501. responses:
  16502. "200":
  16503. description: OK
  16504. schema:
  16505. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  16506. "500":
  16507. description: Internal Server Error
  16508. schema:
  16509. $ref: '#/definitions/app.Response'
  16510. security:
  16511. - ApiKeyAuth: []
  16512. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  16513. tags:
  16514. - 风险管理
  16515. /Erms2/QueryInnerTradeDetail:
  16516. get:
  16517. parameters:
  16518. - description: 资金账户
  16519. in: query
  16520. name: accountid
  16521. required: true
  16522. type: integer
  16523. produces:
  16524. - application/json
  16525. responses:
  16526. "200":
  16527. description: OK
  16528. schema:
  16529. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  16530. "500":
  16531. description: Internal Server Error
  16532. schema:
  16533. $ref: '#/definitions/app.Response'
  16534. security:
  16535. - ApiKeyAuth: []
  16536. summary: 查询内部成交单信息
  16537. tags:
  16538. - 风险管理
  16539. /Erms2/QuerySpotContract:
  16540. get:
  16541. parameters:
  16542. - description: 策略申请ID
  16543. in: query
  16544. name: asapplyid
  16545. required: true
  16546. type: integer
  16547. - description: 现货合同ID
  16548. in: query
  16549. name: spotcontractid
  16550. type: integer
  16551. produces:
  16552. - application/json
  16553. responses:
  16554. "200":
  16555. description: OK
  16556. schema:
  16557. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  16558. "500":
  16559. description: Internal Server Error
  16560. schema:
  16561. $ref: '#/definitions/app.Response'
  16562. security:
  16563. - ApiKeyAuth: []
  16564. summary: 查询现货合同表信息(指定策略ID、未结束的)
  16565. tags:
  16566. - 风险管理
  16567. /Erms3/AddErms2ASApply:
  16568. post:
  16569. parameters:
  16570. - description: 申请参数
  16571. in: body
  16572. name: jsonBody
  16573. required: true
  16574. schema:
  16575. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  16576. produces:
  16577. - application/json
  16578. responses:
  16579. "200":
  16580. description: OK
  16581. schema:
  16582. $ref: '#/definitions/app.Response'
  16583. "500":
  16584. description: Internal Server Error
  16585. schema:
  16586. $ref: '#/definitions/app.Response'
  16587. security:
  16588. - ApiKeyAuth: []
  16589. summary: 新增期现套利业务申请
  16590. tags:
  16591. - 风险管理v3
  16592. /Erms3/AddErms2SpotTradeApply:
  16593. post:
  16594. parameters:
  16595. - description: 申请参数
  16596. in: body
  16597. name: jsonBody
  16598. required: true
  16599. schema:
  16600. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  16601. produces:
  16602. - application/json
  16603. responses:
  16604. "200":
  16605. description: OK
  16606. schema:
  16607. $ref: '#/definitions/app.Response'
  16608. "500":
  16609. description: Internal Server Error
  16610. schema:
  16611. $ref: '#/definitions/app.Response'
  16612. security:
  16613. - ApiKeyAuth: []
  16614. summary: 新增现货贸易业务申请
  16615. tags:
  16616. - 风险管理v3
  16617. /Erms3/AddSpotContractApply:
  16618. post:
  16619. parameters:
  16620. - description: 申请参数
  16621. in: body
  16622. name: jsonBody
  16623. required: true
  16624. schema:
  16625. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  16626. produces:
  16627. - application/json
  16628. responses:
  16629. "200":
  16630. description: OK
  16631. schema:
  16632. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  16633. "500":
  16634. description: Internal Server Error
  16635. schema:
  16636. $ref: '#/definitions/app.Response'
  16637. security:
  16638. - ApiKeyAuth: []
  16639. summary: 新增现货合同申请
  16640. tags:
  16641. - 风险管理v3
  16642. /Erms3/AddUserInfoApply:
  16643. post:
  16644. parameters:
  16645. - description: 用户信息
  16646. in: body
  16647. name: jsonBody
  16648. required: true
  16649. schema:
  16650. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  16651. produces:
  16652. - application/json
  16653. responses:
  16654. "200":
  16655. description: OK
  16656. schema:
  16657. $ref: '#/definitions/app.Response'
  16658. "500":
  16659. description: Internal Server Error
  16660. schema:
  16661. $ref: '#/definitions/app.Response'
  16662. security:
  16663. - ApiKeyAuth: []
  16664. summary: 新增客户申请
  16665. tags:
  16666. - 风险管理v3
  16667. /Erms3/DeleteUserInfoApply:
  16668. get:
  16669. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  16670. parameters:
  16671. - description: 用户ID
  16672. in: query
  16673. name: userID
  16674. required: true
  16675. type: integer
  16676. produces:
  16677. - application/json
  16678. responses:
  16679. "200":
  16680. description: OK
  16681. schema:
  16682. $ref: '#/definitions/app.Response'
  16683. "500":
  16684. description: Internal Server Error
  16685. schema:
  16686. $ref: '#/definitions/app.Response'
  16687. security:
  16688. - ApiKeyAuth: []
  16689. summary: 删除客户申请
  16690. tags:
  16691. - 风险管理v3
  16692. /Erms3/ModifyUserInfoApply:
  16693. post:
  16694. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  16695. int, "userstate": 2 }'
  16696. parameters:
  16697. - description: 用户信息
  16698. in: body
  16699. name: jsonBody
  16700. required: true
  16701. schema:
  16702. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  16703. produces:
  16704. - application/json
  16705. responses:
  16706. "200":
  16707. description: OK
  16708. schema:
  16709. $ref: '#/definitions/app.Response'
  16710. "500":
  16711. description: Internal Server Error
  16712. schema:
  16713. $ref: '#/definitions/app.Response'
  16714. security:
  16715. - ApiKeyAuth: []
  16716. summary: 修改客户申请
  16717. tags:
  16718. - 风险管理v3
  16719. /Erms3/QueryBusinessInfo:
  16720. get:
  16721. parameters:
  16722. - description: 资金账号ID列表,用逗号分隔
  16723. in: query
  16724. name: accountids
  16725. required: true
  16726. type: string
  16727. - description: 状态,0为未结束 1为已结束
  16728. in: query
  16729. name: status
  16730. required: true
  16731. type: integer
  16732. produces:
  16733. - application/json
  16734. responses:
  16735. "200":
  16736. description: OK
  16737. schema:
  16738. items:
  16739. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  16740. type: array
  16741. "500":
  16742. description: Internal Server Error
  16743. schema:
  16744. $ref: '#/definitions/app.Response'
  16745. security:
  16746. - ApiKeyAuth: []
  16747. summary: 查询业务表单数据
  16748. tags:
  16749. - 风险管理v3
  16750. /Erms3/QueryPendingAuditContract:
  16751. get:
  16752. parameters:
  16753. - description: 资金账号ID列表,逗号隔开
  16754. in: query
  16755. name: accountids
  16756. required: true
  16757. type: string
  16758. - description: 合同类型 1-采购 -1-销售
  16759. in: query
  16760. name: contracttype
  16761. required: true
  16762. type: integer
  16763. - description: 合同模式 1-普通 2-回购
  16764. in: query
  16765. name: contractmode
  16766. required: true
  16767. type: integer
  16768. produces:
  16769. - application/json
  16770. responses:
  16771. "200":
  16772. description: OK
  16773. schema:
  16774. items:
  16775. $ref: '#/definitions/erms3.QryAuditContractRsp'
  16776. type: array
  16777. "500":
  16778. description: Internal Server Error
  16779. schema:
  16780. $ref: '#/definitions/app.Response'
  16781. security:
  16782. - ApiKeyAuth: []
  16783. summary: 查询待审核合同
  16784. tags:
  16785. - 风险管理v3
  16786. /Erms3/QueryPendingBusiness:
  16787. get:
  16788. parameters:
  16789. - description: 资金账号ID列表,逗号隔开
  16790. in: query
  16791. name: accountids
  16792. required: true
  16793. type: string
  16794. produces:
  16795. - application/json
  16796. responses:
  16797. "200":
  16798. description: OK
  16799. schema:
  16800. items:
  16801. $ref: '#/definitions/erms3.QryPendingBizRsp'
  16802. type: array
  16803. "500":
  16804. description: Internal Server Error
  16805. schema:
  16806. $ref: '#/definitions/app.Response'
  16807. security:
  16808. - ApiKeyAuth: []
  16809. summary: 查询待审核基差贸易业务
  16810. tags:
  16811. - 风险管理v3
  16812. /Erms3/QuerySpotContractAppleForm:
  16813. get:
  16814. parameters:
  16815. - description: 登录账号
  16816. in: query
  16817. name: loginID
  16818. required: true
  16819. type: integer
  16820. produces:
  16821. - application/json
  16822. responses:
  16823. "200":
  16824. description: OK
  16825. schema:
  16826. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  16827. "500":
  16828. description: Internal Server Error
  16829. schema:
  16830. $ref: '#/definitions/app.Response'
  16831. security:
  16832. - ApiKeyAuth: []
  16833. summary: 查询合同申请表单数据
  16834. tags:
  16835. - 风险管理v3
  16836. /Erms3/QuerySpotContractDetail:
  16837. get:
  16838. parameters:
  16839. - description: 资金账号ID列表,用逗号分隔
  16840. in: query
  16841. name: accountids
  16842. required: true
  16843. type: string
  16844. - description: 合同类型,1为采购合同 -1为销售合同
  16845. in: query
  16846. name: contracttype
  16847. required: true
  16848. type: integer
  16849. - description: 合同模式,1为普通合同 2为回购销售合同
  16850. in: query
  16851. name: contractmode
  16852. required: true
  16853. type: integer
  16854. - description: 状态,0为履约中 1为已完成
  16855. in: query
  16856. name: status
  16857. required: true
  16858. type: integer
  16859. produces:
  16860. - application/json
  16861. responses:
  16862. "200":
  16863. description: OK
  16864. schema:
  16865. items:
  16866. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  16867. type: array
  16868. "500":
  16869. description: Internal Server Error
  16870. schema:
  16871. $ref: '#/definitions/app.Response'
  16872. security:
  16873. - ApiKeyAuth: []
  16874. summary: 查询合同详细信息
  16875. tags:
  16876. - 风险管理v3
  16877. /Erms3/QueryUserInfoApplies:
  16878. get:
  16879. parameters:
  16880. - description: 页码
  16881. in: query
  16882. name: page
  16883. type: integer
  16884. - description: 每页条数
  16885. in: query
  16886. name: pagesize
  16887. type: integer
  16888. - description: 客户名称,支持模糊查询
  16889. in: query
  16890. name: userName
  16891. type: string
  16892. produces:
  16893. - application/json
  16894. responses:
  16895. "200":
  16896. description: OK
  16897. schema:
  16898. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  16899. "500":
  16900. description: Internal Server Error
  16901. schema:
  16902. $ref: '#/definitions/app.Response'
  16903. security:
  16904. - ApiKeyAuth: []
  16905. summary: 客户申请信息查询
  16906. tags:
  16907. - 风险管理v3
  16908. /Erms3/QueryUserInfos:
  16909. get:
  16910. parameters:
  16911. - description: 页码
  16912. in: query
  16913. name: page
  16914. type: integer
  16915. - description: 每页条数
  16916. in: query
  16917. name: pagesize
  16918. type: integer
  16919. - description: 客户名称,支持模糊查询
  16920. in: query
  16921. name: userName
  16922. type: string
  16923. produces:
  16924. - application/json
  16925. responses:
  16926. "200":
  16927. description: OK
  16928. schema:
  16929. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  16930. "500":
  16931. description: Internal Server Error
  16932. schema:
  16933. $ref: '#/definitions/app.Response'
  16934. security:
  16935. - ApiKeyAuth: []
  16936. summary: 客户信息查询
  16937. tags:
  16938. - 风险管理v3
  16939. /HSBY/GetHsbyMyCount:
  16940. get:
  16941. description: 说明: 不包括已完成的数量。
  16942. parameters:
  16943. - description: 资金账户列表,格式:1,2,3
  16944. in: query
  16945. name: accountIDs
  16946. required: true
  16947. type: string
  16948. produces:
  16949. - application/json
  16950. responses:
  16951. "200":
  16952. description: OK
  16953. schema:
  16954. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  16955. "500":
  16956. description: Internal Server Error
  16957. schema:
  16958. $ref: '#/definitions/app.Response'
  16959. security:
  16960. - ApiKeyAuth: []
  16961. summary: 获取我的订单与包裹数量
  16962. tags:
  16963. - 定制【海商报业】
  16964. /HSBY/QueryClientFixedADConfigs:
  16965. get:
  16966. produces:
  16967. - application/json
  16968. responses:
  16969. "200":
  16970. description: OK
  16971. schema:
  16972. $ref: '#/definitions/models.Clientfixedadconfig'
  16973. "500":
  16974. description: Internal Server Error
  16975. schema:
  16976. $ref: '#/definitions/app.Response'
  16977. security:
  16978. - ApiKeyAuth: []
  16979. summary: 获取终端固定广告配置
  16980. tags:
  16981. - 定制【海商报业】
  16982. /HSBY/QueryHsbyBuyMyTradeDetail:
  16983. get:
  16984. parameters:
  16985. - description: 页码
  16986. in: query
  16987. name: page
  16988. type: integer
  16989. - description: 每页条数
  16990. in: query
  16991. name: pagesize
  16992. type: integer
  16993. - description: 资金账户列表,格式:1,2,3
  16994. in: query
  16995. name: accountIDs
  16996. required: true
  16997. type: string
  16998. produces:
  16999. - application/json
  17000. responses:
  17001. "200":
  17002. description: OK
  17003. schema:
  17004. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  17005. "500":
  17006. description: Internal Server Error
  17007. schema:
  17008. $ref: '#/definitions/app.Response'
  17009. security:
  17010. - ApiKeyAuth: []
  17011. summary: 查询"我的订单 - 已完成"单据信息
  17012. tags:
  17013. - 定制【海商报业】
  17014. /HSBY/QueryHsbyGoodsOrderDetails:
  17015. get:
  17016. description: 说明:查询结果已按委托价格和委托时间排序
  17017. parameters:
  17018. - description: 商品ID
  17019. in: query
  17020. name: goodsID
  17021. required: true
  17022. type: integer
  17023. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  17024. in: query
  17025. name: accountIDs
  17026. type: string
  17027. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  17028. in: query
  17029. name: buyOrSell
  17030. type: integer
  17031. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  17032. in: query
  17033. name: price
  17034. type: number
  17035. - description: 档位,不传则默认为3档
  17036. in: query
  17037. name: speed
  17038. type: integer
  17039. produces:
  17040. - application/json
  17041. responses:
  17042. "200":
  17043. description: OK
  17044. schema:
  17045. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  17046. "500":
  17047. description: Internal Server Error
  17048. schema:
  17049. $ref: '#/definitions/app.Response'
  17050. security:
  17051. - ApiKeyAuth: []
  17052. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  17053. tags:
  17054. - 定制【海商报业】
  17055. /HSBY/QueryHsbyListingGoodsDetail:
  17056. get:
  17057. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  17058. parameters:
  17059. - description: 商品ID
  17060. in: query
  17061. name: goodsID
  17062. required: true
  17063. type: integer
  17064. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  17065. in: query
  17066. name: accountID
  17067. type: integer
  17068. produces:
  17069. - application/json
  17070. responses:
  17071. "200":
  17072. description: OK
  17073. schema:
  17074. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  17075. "500":
  17076. description: Internal Server Error
  17077. schema:
  17078. $ref: '#/definitions/app.Response'
  17079. security:
  17080. - ApiKeyAuth: []
  17081. summary: 查询二级市场(挂牌点选)商品信息详情
  17082. tags:
  17083. - 定制【海商报业】
  17084. /HSBY/QueryHsbyMarketGoodsDetail:
  17085. get:
  17086. parameters:
  17087. - description: 委托单号
  17088. in: query
  17089. name: orderID
  17090. required: true
  17091. type: integer
  17092. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  17093. in: query
  17094. name: accountID
  17095. type: integer
  17096. produces:
  17097. - application/json
  17098. responses:
  17099. "200":
  17100. description: OK
  17101. schema:
  17102. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  17103. "500":
  17104. description: Internal Server Error
  17105. schema:
  17106. $ref: '#/definitions/app.Response'
  17107. security:
  17108. - ApiKeyAuth: []
  17109. summary: 查询三级市场(商城)商品信息详情
  17110. tags:
  17111. - 定制【海商报业】
  17112. /HSBY/QueryHsbyMarketGoodses:
  17113. get:
  17114. parameters:
  17115. - description: 页码
  17116. in: query
  17117. name: page
  17118. type: integer
  17119. - description: 每页条数
  17120. in: query
  17121. name: pagesize
  17122. type: integer
  17123. - description: 市场ID列表,格式:1,2,3
  17124. in: query
  17125. name: marketIDs
  17126. required: true
  17127. type: string
  17128. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  17129. in: query
  17130. name: accountID
  17131. required: true
  17132. type: integer
  17133. - description: 类别ID
  17134. in: query
  17135. name: categoryID
  17136. type: integer
  17137. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  17138. in: query
  17139. name: goodsIDs
  17140. type: string
  17141. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  17142. in: query
  17143. name: couponTypeID
  17144. type: integer
  17145. produces:
  17146. - application/json
  17147. responses:
  17148. "200":
  17149. description: OK
  17150. schema:
  17151. $ref: '#/definitions/models.HsbyMarketGoods'
  17152. "500":
  17153. description: Internal Server Error
  17154. schema:
  17155. $ref: '#/definitions/app.Response'
  17156. security:
  17157. - ApiKeyAuth: []
  17158. summary: 查询特卖商品列表(三级商城)
  17159. tags:
  17160. - 定制【海商报业】
  17161. /HSBY/QueryHsbyMarkets:
  17162. get:
  17163. produces:
  17164. - application/json
  17165. responses:
  17166. "200":
  17167. description: OK
  17168. schema:
  17169. $ref: '#/definitions/models.HsbyMarketInfo'
  17170. "500":
  17171. description: Internal Server Error
  17172. schema:
  17173. $ref: '#/definitions/app.Response'
  17174. security:
  17175. - ApiKeyAuth: []
  17176. summary: 查询海商报业相关市场信息
  17177. tags:
  17178. - 定制【海商报业】
  17179. /HSBY/QueryHsbyMyBuyOrderDetails:
  17180. get:
  17181. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  17182. parameters:
  17183. - description: 资金账户列表,格式:1,2,3
  17184. in: query
  17185. name: accountIDs
  17186. required: true
  17187. type: string
  17188. produces:
  17189. - application/json
  17190. responses:
  17191. "200":
  17192. description: OK
  17193. schema:
  17194. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  17195. "500":
  17196. description: Internal Server Error
  17197. schema:
  17198. $ref: '#/definitions/app.Response'
  17199. security:
  17200. - ApiKeyAuth: []
  17201. summary: 查询“我的订单”信息
  17202. tags:
  17203. - 定制【海商报业】
  17204. /HSBY/QueryHsbyMyGoods:
  17205. get:
  17206. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  17207. parameters:
  17208. - description: 资金账户列表,格式:1,2,3
  17209. in: query
  17210. name: accountIDs
  17211. required: true
  17212. type: string
  17213. produces:
  17214. - application/json
  17215. responses:
  17216. "200":
  17217. description: OK
  17218. schema:
  17219. $ref: '#/definitions/models.HsbyMyGoods'
  17220. "500":
  17221. description: Internal Server Error
  17222. schema:
  17223. $ref: '#/definitions/app.Response'
  17224. security:
  17225. - ApiKeyAuth: []
  17226. summary: 查询“我的商品”信息
  17227. tags:
  17228. - 定制【海商报业】
  17229. /HSBY/QueryHsbyMyPackages:
  17230. get:
  17231. parameters:
  17232. - description: 资金账户列表,格式:1,2,3
  17233. in: query
  17234. name: accountIDs
  17235. required: true
  17236. type: string
  17237. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17238. in: query
  17239. name: takeOrderStatus
  17240. type: integer
  17241. produces:
  17242. - application/json
  17243. responses:
  17244. "200":
  17245. description: OK
  17246. schema:
  17247. $ref: '#/definitions/models.HsbyMyPackage'
  17248. "500":
  17249. description: Internal Server Error
  17250. schema:
  17251. $ref: '#/definitions/app.Response'
  17252. security:
  17253. - ApiKeyAuth: []
  17254. summary: 查询我的包裹信息
  17255. tags:
  17256. - 定制【海商报业】
  17257. /HSBY/QueryHsbyPreGoodsDetail:
  17258. get:
  17259. parameters:
  17260. - description: 商品ID
  17261. in: query
  17262. name: goodsID
  17263. required: true
  17264. type: integer
  17265. - description: 资金账户,主要用于获取预售商品购买上限
  17266. in: query
  17267. name: accountID
  17268. type: integer
  17269. produces:
  17270. - application/json
  17271. responses:
  17272. "200":
  17273. description: OK
  17274. schema:
  17275. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  17276. "500":
  17277. description: Internal Server Error
  17278. schema:
  17279. $ref: '#/definitions/app.Response'
  17280. security:
  17281. - ApiKeyAuth: []
  17282. summary: 查询一级市场(预售)商品信息详情
  17283. tags:
  17284. - 定制【海商报业】
  17285. /HSBY/QueryHsbyPreGoodses:
  17286. get:
  17287. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  17288. parameters:
  17289. - description: 页码
  17290. in: query
  17291. name: page
  17292. type: integer
  17293. - description: 每页条数
  17294. in: query
  17295. name: pagesize
  17296. type: integer
  17297. - description: 市场ID列表,格式:1,2,3
  17298. in: query
  17299. name: marketIDs
  17300. required: true
  17301. type: string
  17302. - description: 目的地(省)ID
  17303. in: query
  17304. name: descProvinceID
  17305. type: integer
  17306. - description: 目的地(市)ID
  17307. in: query
  17308. name: descCityID
  17309. type: integer
  17310. produces:
  17311. - application/json
  17312. responses:
  17313. "200":
  17314. description: OK
  17315. schema:
  17316. $ref: '#/definitions/models.HsbyPreGoods'
  17317. "500":
  17318. description: Internal Server Error
  17319. schema:
  17320. $ref: '#/definitions/app.Response'
  17321. security:
  17322. - ApiKeyAuth: []
  17323. summary: 查询新品上市商品列表(一级市场预售)
  17324. tags:
  17325. - 定制【海商报业】
  17326. /HSBY/QueryHsbySellMyDetails:
  17327. get:
  17328. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  17329. parameters:
  17330. - description: 页码
  17331. in: query
  17332. name: page
  17333. type: integer
  17334. - description: 每页条数
  17335. in: query
  17336. name: pagesize
  17337. type: integer
  17338. - description: 资金账户列表,格式:1,2,3
  17339. in: query
  17340. name: accountIDs
  17341. required: true
  17342. type: string
  17343. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  17344. in: query
  17345. name: orderType
  17346. type: integer
  17347. produces:
  17348. - application/json
  17349. responses:
  17350. "200":
  17351. description: OK
  17352. schema:
  17353. $ref: '#/definitions/models.HsbySellMyDetail'
  17354. "500":
  17355. description: Internal Server Error
  17356. schema:
  17357. $ref: '#/definitions/app.Response'
  17358. security:
  17359. - ApiKeyAuth: []
  17360. summary: 查询"我的闲置"单据信息
  17361. tags:
  17362. - 定制【海商报业】
  17363. /HSBY/QueryHsbyTopGoodses:
  17364. get:
  17365. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  17366. parameters:
  17367. - description: 页码
  17368. in: query
  17369. name: page
  17370. type: integer
  17371. - description: 每页条数
  17372. in: query
  17373. name: pagesize
  17374. type: integer
  17375. - description: 市场ID列表,格式:1,2,3
  17376. in: query
  17377. name: marketIDs
  17378. required: true
  17379. type: string
  17380. - description: 目的地(省)ID
  17381. in: query
  17382. name: descProvinceID
  17383. type: integer
  17384. - description: 目的地(市)ID
  17385. in: query
  17386. name: descCityID
  17387. type: integer
  17388. produces:
  17389. - application/json
  17390. responses:
  17391. "200":
  17392. description: OK
  17393. schema:
  17394. $ref: '#/definitions/models.HsbyTopGoods'
  17395. "500":
  17396. description: Internal Server Error
  17397. schema:
  17398. $ref: '#/definitions/app.Response'
  17399. security:
  17400. - ApiKeyAuth: []
  17401. summary: 查询热卖商品列表(二级市场挂牌点选)
  17402. tags:
  17403. - 定制【海商报业】
  17404. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  17405. get:
  17406. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  17407. parameters:
  17408. - description: 商品ID
  17409. in: query
  17410. name: goodsID
  17411. required: true
  17412. type: integer
  17413. produces:
  17414. - application/json
  17415. responses:
  17416. "200":
  17417. description: OK
  17418. schema:
  17419. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  17420. "500":
  17421. description: Internal Server Error
  17422. schema:
  17423. $ref: '#/definitions/app.Response'
  17424. security:
  17425. - ApiKeyAuth: []
  17426. summary: 查询游客三级市场(商城)商品信息详情
  17427. tags:
  17428. - 定制【海商报业】
  17429. /HSBY/QueryHsbyVisitorMarketGoodses:
  17430. get:
  17431. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  17432. parameters:
  17433. - description: 页码
  17434. in: query
  17435. name: page
  17436. type: integer
  17437. - description: 每页条数
  17438. in: query
  17439. name: pagesize
  17440. type: integer
  17441. - description: 市场ID列表,格式:1,2,3
  17442. in: query
  17443. name: marketIDs
  17444. required: true
  17445. type: string
  17446. - description: 类别ID
  17447. in: query
  17448. name: categoryID
  17449. type: integer
  17450. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  17451. in: query
  17452. name: goodsIDs
  17453. type: string
  17454. produces:
  17455. - application/json
  17456. responses:
  17457. "200":
  17458. description: OK
  17459. schema:
  17460. $ref: '#/definitions/models.HsbyMarketGoods'
  17461. "500":
  17462. description: Internal Server Error
  17463. schema:
  17464. $ref: '#/definitions/app.Response'
  17465. security:
  17466. - ApiKeyAuth: []
  17467. summary: 查询游客特卖商品列表(三级商城)
  17468. tags:
  17469. - 定制【海商报业】
  17470. /HSBY/QueryMyCollectionOrders:
  17471. get:
  17472. parameters:
  17473. - description: 页码
  17474. in: query
  17475. name: page
  17476. type: integer
  17477. - description: 每页条数
  17478. in: query
  17479. name: pagesize
  17480. type: integer
  17481. - description: 资金账户,格式:1,2,3
  17482. in: query
  17483. name: accountIDs
  17484. required: true
  17485. type: string
  17486. produces:
  17487. - application/json
  17488. responses:
  17489. "200":
  17490. description: OK
  17491. schema:
  17492. $ref: '#/definitions/models.HsbySellCollectionOrder'
  17493. "500":
  17494. description: Internal Server Error
  17495. schema:
  17496. $ref: '#/definitions/app.Response'
  17497. security:
  17498. - ApiKeyAuth: []
  17499. summary: 我的闲置中收款信息查询
  17500. tags:
  17501. - 定制【海商报业】
  17502. /HSBY/QueryMyCouponHolds:
  17503. get:
  17504. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  17505. parameters:
  17506. - description: 资金账户列表,格式:1,2,3
  17507. in: query
  17508. name: accountIDs
  17509. required: true
  17510. type: string
  17511. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  17512. in: query
  17513. name: holdStatus
  17514. type: string
  17515. produces:
  17516. - application/json
  17517. responses:
  17518. "200":
  17519. description: OK
  17520. schema:
  17521. $ref: '#/definitions/models.MyCouponHold'
  17522. "500":
  17523. description: Internal Server Error
  17524. schema:
  17525. $ref: '#/definitions/app.Response'
  17526. security:
  17527. - ApiKeyAuth: []
  17528. summary: 我的优惠卷持仓查询
  17529. tags:
  17530. - 定制【海商报业】
  17531. /HSBY/QueryMyCoupons:
  17532. get:
  17533. parameters:
  17534. - description: 资金账户列表,格式:1,2,3
  17535. in: query
  17536. name: accountIDs
  17537. required: true
  17538. type: string
  17539. - description: 商品ID, 一般与sellUserID配套传入
  17540. in: query
  17541. name: goodsID
  17542. type: integer
  17543. - description: 卖方UserID
  17544. in: query
  17545. name: sellUserID
  17546. type: integer
  17547. produces:
  17548. - application/json
  17549. responses:
  17550. "200":
  17551. description: OK
  17552. schema:
  17553. $ref: '#/definitions/models.MyCoupon'
  17554. "500":
  17555. description: Internal Server Error
  17556. schema:
  17557. $ref: '#/definitions/app.Response'
  17558. security:
  17559. - ApiKeyAuth: []
  17560. summary: 我的优惠卷查询
  17561. tags:
  17562. - 定制【海商报业】
  17563. /HSBY/QueryMyPayOrders:
  17564. get:
  17565. parameters:
  17566. - description: 页码
  17567. in: query
  17568. name: page
  17569. type: integer
  17570. - description: 每页条数
  17571. in: query
  17572. name: pagesize
  17573. type: integer
  17574. - description: 资金账户列表,格式:1,2,3
  17575. in: query
  17576. name: accountIDs
  17577. required: true
  17578. type: string
  17579. - description: 买方委托单号
  17580. in: query
  17581. name: buyOrderID
  17582. type: integer
  17583. - description: 卖方委托单号
  17584. in: query
  17585. name: sellOrderID
  17586. type: integer
  17587. produces:
  17588. - application/json
  17589. responses:
  17590. "200":
  17591. description: OK
  17592. schema:
  17593. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  17594. "500":
  17595. description: Internal Server Error
  17596. schema:
  17597. $ref: '#/definitions/app.Response'
  17598. security:
  17599. - ApiKeyAuth: []
  17600. summary: 获取我的订单中待付款信息
  17601. tags:
  17602. - 定制【海商报业】
  17603. /HSBY/QueryMyUsedCoupon:
  17604. get:
  17605. parameters:
  17606. - description: 资金账户列表,格式:1,2,3
  17607. in: query
  17608. name: accountIDs
  17609. required: true
  17610. type: string
  17611. produces:
  17612. - application/json
  17613. responses:
  17614. "200":
  17615. description: OK
  17616. schema:
  17617. $ref: '#/definitions/models.MyUsedCoupon'
  17618. "500":
  17619. description: Internal Server Error
  17620. schema:
  17621. $ref: '#/definitions/app.Response'
  17622. security:
  17623. - ApiKeyAuth: []
  17624. summary: 已使用优惠卷查询
  17625. tags:
  17626. - 定制【海商报业】
  17627. /HSBY/QueryProvincesAndCities:
  17628. get:
  17629. description: 查询结果只包括二级市场商品已关连的省市信息。
  17630. parameters:
  17631. - description: 省ID
  17632. in: query
  17633. name: provinceID
  17634. type: integer
  17635. produces:
  17636. - application/json
  17637. responses:
  17638. "200":
  17639. description: OK
  17640. schema:
  17641. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  17642. "500":
  17643. description: Internal Server Error
  17644. schema:
  17645. $ref: '#/definitions/app.Response'
  17646. security:
  17647. - ApiKeyAuth: []
  17648. summary: 查询省市信息(不包括区)
  17649. tags:
  17650. - 定制【海商报业】
  17651. /HSBY/SetHsbyMyPackagesStatus:
  17652. post:
  17653. parameters:
  17654. - description: 提货单号
  17655. in: query
  17656. name: takeOrderID
  17657. required: true
  17658. type: string
  17659. - description: 资金账号
  17660. in: query
  17661. name: accountID
  17662. required: true
  17663. type: integer
  17664. produces:
  17665. - application/json
  17666. responses:
  17667. "200":
  17668. description: OK
  17669. schema:
  17670. $ref: '#/definitions/app.Response'
  17671. "500":
  17672. description: Internal Server Error
  17673. schema:
  17674. $ref: '#/definitions/app.Response'
  17675. security:
  17676. - ApiKeyAuth: []
  17677. summary: 设置我的包裹已收货状态
  17678. tags:
  17679. - 定制【海商报业】
  17680. /Market/QueryGoodsesByLoginID:
  17681. get:
  17682. parameters:
  17683. - description: 登录账号
  17684. in: query
  17685. name: loginID
  17686. required: true
  17687. type: integer
  17688. - description: 市场ID列表,格式:1,2,3
  17689. in: query
  17690. name: marketIDs
  17691. type: string
  17692. produces:
  17693. - application/json
  17694. responses:
  17695. "200":
  17696. description: OK
  17697. schema:
  17698. $ref: '#/definitions/models.Goods'
  17699. "500":
  17700. description: Internal Server Error
  17701. schema:
  17702. $ref: '#/definitions/app.Response'
  17703. security:
  17704. - ApiKeyAuth: []
  17705. summary: 获取登录账号有权限的商品信息
  17706. tags:
  17707. - 通用市场
  17708. /Market/QueryMarketRun:
  17709. get:
  17710. parameters:
  17711. - description: 市场ID,不传返回所有
  17712. in: query
  17713. name: marketID
  17714. type: integer
  17715. produces:
  17716. - application/json
  17717. responses:
  17718. "200":
  17719. description: OK
  17720. schema:
  17721. $ref: '#/definitions/models.Marketrun'
  17722. "500":
  17723. description: Internal Server Error
  17724. schema:
  17725. $ref: '#/definitions/app.Response'
  17726. security:
  17727. - ApiKeyAuth: []
  17728. summary: 查询市场运行信息
  17729. tags:
  17730. - 通用市场
  17731. /Market/QueryMarketsByLoginID:
  17732. get:
  17733. parameters:
  17734. - description: 登录账号
  17735. in: query
  17736. name: loginID
  17737. required: true
  17738. type: integer
  17739. produces:
  17740. - application/json
  17741. responses:
  17742. "200":
  17743. description: OK
  17744. schema:
  17745. $ref: '#/definitions/models.Market'
  17746. "500":
  17747. description: Internal Server Error
  17748. schema:
  17749. $ref: '#/definitions/app.Response'
  17750. security:
  17751. - ApiKeyAuth: []
  17752. summary: 获取登录账号有权限的市场信息
  17753. tags:
  17754. - 通用市场
  17755. /Order/QueryHisTradeDetail:
  17756. get:
  17757. parameters:
  17758. - description: 资金账户 - 格式:1,2,3
  17759. in: query
  17760. name: accountID
  17761. required: true
  17762. type: string
  17763. - description: 成交单号
  17764. in: query
  17765. name: tradeID
  17766. type: integer
  17767. - description: 委托单号
  17768. in: query
  17769. name: orderID
  17770. type: integer
  17771. - description: 商品ID
  17772. in: query
  17773. name: goodsID
  17774. type: integer
  17775. - description: 交易模式 - 格式:1,2,3
  17776. in: query
  17777. name: tradeMode
  17778. type: string
  17779. - description: 委托单据类型
  17780. in: query
  17781. name: buildType
  17782. type: integer
  17783. - description: 成交类别 - 格式:1,2,3
  17784. in: query
  17785. name: tradeType
  17786. type: string
  17787. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17788. in: query
  17789. name: startDate
  17790. type: string
  17791. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17792. in: query
  17793. name: endDate
  17794. type: string
  17795. produces:
  17796. - application/json
  17797. responses:
  17798. "200":
  17799. description: OK
  17800. schema:
  17801. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  17802. "500":
  17803. description: Internal Server Error
  17804. schema:
  17805. $ref: '#/definitions/app.Response'
  17806. security:
  17807. - ApiKeyAuth: []
  17808. summary: 历史成交单查询(合约市场)
  17809. tags:
  17810. - 通用单据
  17811. /Order/QueryHisTradeOrderDetail:
  17812. get:
  17813. parameters:
  17814. - description: 资金账户 - 格式:1,2,3
  17815. in: query
  17816. name: accountID
  17817. required: true
  17818. type: string
  17819. - description: 交易模式 - 格式:1,2,3
  17820. in: query
  17821. name: tradeMode
  17822. type: string
  17823. - description: 委托状态 - 格式:1,2,3
  17824. in: query
  17825. name: orderStatus
  17826. type: string
  17827. - description: 委托单号
  17828. in: query
  17829. name: orderID
  17830. type: integer
  17831. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17832. in: query
  17833. name: startDate
  17834. type: string
  17835. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17836. in: query
  17837. name: endDate
  17838. type: string
  17839. produces:
  17840. - application/json
  17841. responses:
  17842. "200":
  17843. description: OK
  17844. schema:
  17845. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  17846. "500":
  17847. description: Internal Server Error
  17848. schema:
  17849. $ref: '#/definitions/app.Response'
  17850. security:
  17851. - ApiKeyAuth: []
  17852. summary: 历史委托单查询请求(合约市场)
  17853. tags:
  17854. - 通用单据
  17855. /Order/QueryTradeDetail:
  17856. get:
  17857. parameters:
  17858. - description: 资金账户 - 格式:1,2,3
  17859. in: query
  17860. name: accountID
  17861. required: true
  17862. type: string
  17863. - description: 成交单号
  17864. in: query
  17865. name: tradeID
  17866. type: integer
  17867. - description: 委托单号
  17868. in: query
  17869. name: orderID
  17870. type: integer
  17871. - description: 交易模式 - 格式:1,2,3
  17872. in: query
  17873. name: tradeMode
  17874. type: string
  17875. - description: 委托单据类型
  17876. in: query
  17877. name: buildType
  17878. type: integer
  17879. - description: 成交类别 - 格式:1,2,3
  17880. in: query
  17881. name: tradeType
  17882. type: string
  17883. - description: 商品ID
  17884. in: query
  17885. name: goodsID
  17886. type: integer
  17887. produces:
  17888. - application/json
  17889. responses:
  17890. "200":
  17891. description: OK
  17892. schema:
  17893. $ref: '#/definitions/order.QueryTradeDetailRsp'
  17894. "500":
  17895. description: Internal Server Error
  17896. schema:
  17897. $ref: '#/definitions/app.Response'
  17898. security:
  17899. - ApiKeyAuth: []
  17900. summary: 成交单查询(合约市场)
  17901. tags:
  17902. - 通用单据
  17903. /Order/QueryTradeOrderDetail:
  17904. get:
  17905. parameters:
  17906. - description: 资金账户 - 格式:1,2,3
  17907. in: query
  17908. name: accountID
  17909. required: true
  17910. type: string
  17911. - description: 交易模式 - 格式:1,2,3
  17912. in: query
  17913. name: tradeMode
  17914. type: string
  17915. - description: 委托状态 - 格式:1,2,3
  17916. in: query
  17917. name: orderStatus
  17918. type: string
  17919. - description: 委托单号
  17920. in: query
  17921. name: orderID
  17922. type: integer
  17923. produces:
  17924. - application/json
  17925. responses:
  17926. "200":
  17927. description: OK
  17928. schema:
  17929. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  17930. "500":
  17931. description: Internal Server Error
  17932. schema:
  17933. $ref: '#/definitions/app.Response'
  17934. security:
  17935. - ApiKeyAuth: []
  17936. summary: 委托单查询请求(合约市场)
  17937. tags:
  17938. - 通用单据
  17939. /Order/QueryTradePosition:
  17940. get:
  17941. parameters:
  17942. - description: 资金账户 - 格式:1,2,3
  17943. in: query
  17944. name: accountID
  17945. required: true
  17946. type: string
  17947. - description: 交易模式 - 格式:1,2,3
  17948. in: query
  17949. name: tradeMode
  17950. type: string
  17951. produces:
  17952. - application/json
  17953. responses:
  17954. "200":
  17955. description: OK
  17956. schema:
  17957. $ref: '#/definitions/order.QueryTradePositionRsp'
  17958. "500":
  17959. description: Internal Server Error
  17960. schema:
  17961. $ref: '#/definitions/app.Response'
  17962. security:
  17963. - ApiKeyAuth: []
  17964. summary: 持仓汇总查询(合约市场)
  17965. tags:
  17966. - 通用单据
  17967. /Qhj/QueryAccountInOutApply:
  17968. get:
  17969. parameters:
  17970. - description: 申请起始日期(格式yyyymmdd)
  17971. in: query
  17972. name: begindate
  17973. type: string
  17974. - description: 申请截止日期(格式yyyymmdd)
  17975. in: query
  17976. name: enddate
  17977. type: string
  17978. - description: 模糊搜索名称
  17979. in: query
  17980. name: likename
  17981. type: string
  17982. produces:
  17983. - application/json
  17984. responses:
  17985. "200":
  17986. description: OK
  17987. schema:
  17988. items:
  17989. $ref: '#/definitions/models.QhjAccountOutInApply'
  17990. type: array
  17991. "500":
  17992. description: Internal Server Error
  17993. schema:
  17994. $ref: '#/definitions/app.Response'
  17995. security:
  17996. - ApiKeyAuth: []
  17997. summary: 查询充值提现
  17998. tags:
  17999. - 大连千海金
  18000. /Qhj/QueryBankAccountSign:
  18001. get:
  18002. parameters:
  18003. - description: 用户ID
  18004. in: query
  18005. name: userid
  18006. required: true
  18007. type: integer
  18008. produces:
  18009. - application/json
  18010. responses:
  18011. "200":
  18012. description: OK
  18013. schema:
  18014. items:
  18015. $ref: '#/definitions/models.QhjBankAccountSign'
  18016. type: array
  18017. "500":
  18018. description: Internal Server Error
  18019. schema:
  18020. $ref: '#/definitions/app.Response'
  18021. security:
  18022. - ApiKeyAuth: []
  18023. summary: 查询签约银行信息(提现账户管理)
  18024. tags:
  18025. - 大连千海金
  18026. /Qhj/QueryBankInfo:
  18027. get:
  18028. produces:
  18029. - application/json
  18030. responses:
  18031. "200":
  18032. description: OK
  18033. schema:
  18034. items:
  18035. $ref: '#/definitions/models.QhjBankInfo'
  18036. type: array
  18037. "500":
  18038. description: Internal Server Error
  18039. schema:
  18040. $ref: '#/definitions/app.Response'
  18041. security:
  18042. - ApiKeyAuth: []
  18043. summary: 查询开户行
  18044. tags:
  18045. - 大连千海金
  18046. /Qhj/QueryContract:
  18047. get:
  18048. parameters:
  18049. - description: 用户ID
  18050. in: query
  18051. name: userid
  18052. type: integer
  18053. - description: scf合同id
  18054. in: query
  18055. name: scfcontractid
  18056. type: integer
  18057. produces:
  18058. - application/json
  18059. responses:
  18060. "200":
  18061. description: OK
  18062. schema:
  18063. items:
  18064. $ref: '#/definitions/models.QhjContract'
  18065. type: array
  18066. "500":
  18067. description: Internal Server Error
  18068. schema:
  18069. $ref: '#/definitions/app.Response'
  18070. security:
  18071. - ApiKeyAuth: []
  18072. summary: 查询融资明细(合同)
  18073. tags:
  18074. - 大连千海金
  18075. /Qhj/QueryContractLog:
  18076. get:
  18077. parameters:
  18078. - description: scf合同id
  18079. in: query
  18080. name: scfcontractid
  18081. required: true
  18082. type: integer
  18083. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  18084. in: query
  18085. name: amounttype
  18086. type: string
  18087. produces:
  18088. - application/json
  18089. responses:
  18090. "200":
  18091. description: OK
  18092. schema:
  18093. items:
  18094. $ref: '#/definitions/models.QhjContractLog'
  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/QueryCusBankSignBank:
  18106. get:
  18107. produces:
  18108. - application/json
  18109. responses:
  18110. "200":
  18111. description: OK
  18112. schema:
  18113. items:
  18114. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  18115. type: array
  18116. "500":
  18117. description: Internal Server Error
  18118. schema:
  18119. $ref: '#/definitions/app.Response'
  18120. security:
  18121. - ApiKeyAuth: []
  18122. summary: 查询托管银行
  18123. tags:
  18124. - 大连千海金
  18125. /Qhj/QueryCustomerInfo:
  18126. get:
  18127. parameters:
  18128. - description: 用户ID
  18129. in: query
  18130. name: userid
  18131. required: true
  18132. type: integer
  18133. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  18134. in: query
  18135. name: querytype
  18136. required: true
  18137. type: integer
  18138. - description: 客户类型 1-个人 2-企业
  18139. in: query
  18140. name: userinfotype
  18141. type: integer
  18142. - description: 客户名称(模糊匹配)
  18143. in: query
  18144. name: customername
  18145. type: string
  18146. - description: 昵称(模糊匹配)
  18147. in: query
  18148. name: nickname
  18149. type: string
  18150. - description: 是否包含子级 1-包含
  18151. in: query
  18152. name: includesub
  18153. type: integer
  18154. produces:
  18155. - application/json
  18156. responses:
  18157. "200":
  18158. description: OK
  18159. schema:
  18160. items:
  18161. $ref: '#/definitions/models.QhjCustomer'
  18162. type: array
  18163. "500":
  18164. description: Internal Server Error
  18165. schema:
  18166. $ref: '#/definitions/app.Response'
  18167. security:
  18168. - ApiKeyAuth: []
  18169. summary: 查询客户资料
  18170. tags:
  18171. - 大连千海金
  18172. /Qhj/QueryGoodsEx:
  18173. get:
  18174. parameters:
  18175. - description: 商品id
  18176. in: query
  18177. name: goodsid
  18178. type: integer
  18179. produces:
  18180. - application/json
  18181. responses:
  18182. "200":
  18183. description: OK
  18184. schema:
  18185. items:
  18186. $ref: '#/definitions/models.Qhjgoodsex'
  18187. type: array
  18188. "500":
  18189. description: Internal Server Error
  18190. schema:
  18191. $ref: '#/definitions/app.Response'
  18192. security:
  18193. - ApiKeyAuth: []
  18194. summary: 交易商品扩展表
  18195. tags:
  18196. - 大连千海金
  18197. /Qhj/QueryParentAreaList:
  18198. get:
  18199. parameters:
  18200. - description: 用户ID
  18201. in: query
  18202. name: userid
  18203. required: true
  18204. type: integer
  18205. produces:
  18206. - application/json
  18207. responses:
  18208. "200":
  18209. description: OK
  18210. schema:
  18211. items:
  18212. $ref: '#/definitions/models.QhjParentAreaList'
  18213. type: array
  18214. "500":
  18215. description: Internal Server Error
  18216. schema:
  18217. $ref: '#/definitions/app.Response'
  18218. security:
  18219. - ApiKeyAuth: []
  18220. summary: 查询所属机构列表
  18221. tags:
  18222. - 大连千海金
  18223. /Qhj/QueryPayOrder:
  18224. get:
  18225. parameters:
  18226. - description: 资金账号id
  18227. in: query
  18228. name: accountid
  18229. required: true
  18230. type: integer
  18231. - description: 成交单号
  18232. in: query
  18233. name: tradeid
  18234. type: integer
  18235. - description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  18236. in: query
  18237. name: payflag
  18238. type: integer
  18239. produces:
  18240. - application/json
  18241. responses:
  18242. "200":
  18243. description: OK
  18244. schema:
  18245. items:
  18246. $ref: '#/definitions/models.QhjPayOrder'
  18247. type: array
  18248. "500":
  18249. description: Internal Server Error
  18250. schema:
  18251. $ref: '#/definitions/app.Response'
  18252. security:
  18253. - ApiKeyAuth: []
  18254. summary: 查询待付款单据
  18255. tags:
  18256. - 大连千海金
  18257. /Qhj/QueryPickArea:
  18258. get:
  18259. parameters:
  18260. - description: 用户ID
  18261. in: query
  18262. name: userid
  18263. type: integer
  18264. produces:
  18265. - application/json
  18266. responses:
  18267. "200":
  18268. description: OK
  18269. schema:
  18270. items:
  18271. $ref: '#/definitions/models.QhjPickArea'
  18272. type: array
  18273. "500":
  18274. description: Internal Server Error
  18275. schema:
  18276. $ref: '#/definitions/app.Response'
  18277. security:
  18278. - ApiKeyAuth: []
  18279. summary: 查询提货门店
  18280. tags:
  18281. - 大连千海金
  18282. /Qhj/QueryPickGoods:
  18283. get:
  18284. parameters:
  18285. - description: 交易商品id
  18286. in: query
  18287. name: goodsid
  18288. required: true
  18289. type: integer
  18290. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  18291. in: query
  18292. name: status
  18293. type: string
  18294. produces:
  18295. - application/json
  18296. responses:
  18297. "200":
  18298. description: OK
  18299. schema:
  18300. items:
  18301. $ref: '#/definitions/models.QhjPickGoods'
  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/QueryRSTriggerLog:
  18313. get:
  18314. parameters:
  18315. - description: 用户ID
  18316. in: query
  18317. name: userid
  18318. type: integer
  18319. - description: 定投策略id
  18320. in: query
  18321. name: regularlystrategyid
  18322. type: integer
  18323. produces:
  18324. - application/json
  18325. responses:
  18326. "200":
  18327. description: OK
  18328. schema:
  18329. items:
  18330. $ref: '#/definitions/models.QhjRSTriggerLog'
  18331. type: array
  18332. "500":
  18333. description: Internal Server Error
  18334. schema:
  18335. $ref: '#/definitions/app.Response'
  18336. security:
  18337. - ApiKeyAuth: []
  18338. summary: 查询定投记录(定投管理/详情/定投记录)
  18339. tags:
  18340. - 大连千海金
  18341. /Qhj/QueryRStrategy:
  18342. get:
  18343. parameters:
  18344. - description: 用户ID
  18345. in: query
  18346. name: userid
  18347. type: integer
  18348. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  18349. in: query
  18350. name: status
  18351. type: string
  18352. produces:
  18353. - application/json
  18354. responses:
  18355. "200":
  18356. description: OK
  18357. schema:
  18358. items:
  18359. $ref: '#/definitions/models.QhjRStrategy'
  18360. type: array
  18361. "500":
  18362. description: Internal Server Error
  18363. schema:
  18364. $ref: '#/definitions/app.Response'
  18365. security:
  18366. - ApiKeyAuth: []
  18367. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  18368. tags:
  18369. - 大连千海金
  18370. /Qhj/QueryReckonPriceLog:
  18371. get:
  18372. parameters:
  18373. - description: 商品ID
  18374. in: query
  18375. name: goodsid
  18376. type: integer
  18377. - description: 交易日 格式(yyyymmdd)
  18378. in: query
  18379. name: tradedate
  18380. type: string
  18381. produces:
  18382. - application/json
  18383. responses:
  18384. "200":
  18385. description: OK
  18386. schema:
  18387. items:
  18388. $ref: '#/definitions/models.QhjReckonPriceLog'
  18389. type: array
  18390. "500":
  18391. description: Internal Server Error
  18392. schema:
  18393. $ref: '#/definitions/app.Response'
  18394. security:
  18395. - ApiKeyAuth: []
  18396. summary: 查询定投价(结算价)
  18397. tags:
  18398. - 大连千海金
  18399. /Qhj/QuerySiteColumnDetail:
  18400. get:
  18401. parameters:
  18402. - description: 用户ID
  18403. in: query
  18404. name: userid
  18405. required: true
  18406. type: integer
  18407. produces:
  18408. - application/json
  18409. responses:
  18410. "200":
  18411. description: OK
  18412. schema:
  18413. items:
  18414. $ref: '#/definitions/models.QhjSiteColumnDetail'
  18415. type: array
  18416. "500":
  18417. description: Internal Server Error
  18418. schema:
  18419. $ref: '#/definitions/app.Response'
  18420. security:
  18421. - ApiKeyAuth: []
  18422. summary: 查询资讯
  18423. tags:
  18424. - 大连千海金
  18425. /Qhj/QueryTradeGoodsPickup:
  18426. get:
  18427. parameters:
  18428. - description: 用户ID
  18429. in: query
  18430. name: userid
  18431. required: true
  18432. type: integer
  18433. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  18434. 7:已拒绝 8:已撤销
  18435. in: query
  18436. name: takeorderstatus
  18437. type: integer
  18438. produces:
  18439. - application/json
  18440. responses:
  18441. "200":
  18442. description: OK
  18443. schema:
  18444. items:
  18445. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  18446. type: array
  18447. "500":
  18448. description: Internal Server Error
  18449. schema:
  18450. $ref: '#/definitions/app.Response'
  18451. security:
  18452. - ApiKeyAuth: []
  18453. summary: 查询提货
  18454. tags:
  18455. - 大连千海金
  18456. /Qhj/QueryUserCollectConfig:
  18457. get:
  18458. parameters:
  18459. - description: 用户ID
  18460. in: query
  18461. name: userid
  18462. required: true
  18463. type: integer
  18464. produces:
  18465. - application/json
  18466. responses:
  18467. "200":
  18468. description: OK
  18469. schema:
  18470. items:
  18471. $ref: '#/definitions/models.UserCollectConfig'
  18472. type: array
  18473. "500":
  18474. description: Internal Server Error
  18475. schema:
  18476. $ref: '#/definitions/app.Response'
  18477. security:
  18478. - ApiKeyAuth: []
  18479. summary: 查询提现账户设置
  18480. tags:
  18481. - 大连千海金
  18482. /Qhj/QueryUserReceiveInfo:
  18483. get:
  18484. parameters:
  18485. - description: 用户ID
  18486. in: query
  18487. name: userid
  18488. required: true
  18489. type: integer
  18490. produces:
  18491. - application/json
  18492. responses:
  18493. "200":
  18494. description: OK
  18495. schema:
  18496. items:
  18497. $ref: '#/definitions/models.UserReceiveInfo'
  18498. type: array
  18499. "500":
  18500. description: Internal Server Error
  18501. schema:
  18502. $ref: '#/definitions/app.Response'
  18503. security:
  18504. - ApiKeyAuth: []
  18505. summary: 查询收货地址信息
  18506. tags:
  18507. - 大连千海金
  18508. /Quote/QueryHistoryDatas:
  18509. get:
  18510. parameters:
  18511. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  18512. 日线'
  18513. in: query
  18514. name: cycleType
  18515. required: true
  18516. type: integer
  18517. - description: 商品代码
  18518. in: query
  18519. name: goodsCode
  18520. required: true
  18521. type: string
  18522. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  18523. in: query
  18524. name: startTime
  18525. type: string
  18526. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  18527. in: query
  18528. name: endTime
  18529. type: string
  18530. - description: 条数
  18531. in: query
  18532. name: count
  18533. type: integer
  18534. - description: 是否按时间顺序排序(默认为时间倒序排序)
  18535. in: query
  18536. name: isAsc
  18537. type: boolean
  18538. produces:
  18539. - application/json
  18540. responses:
  18541. "200":
  18542. description: OK
  18543. schema:
  18544. $ref: '#/definitions/quote.HistoryData'
  18545. "500":
  18546. description: Internal Server Error
  18547. schema:
  18548. $ref: '#/definitions/app.Response'
  18549. security:
  18550. - ApiKeyAuth: []
  18551. summary: 查询行情历史数据
  18552. tags:
  18553. - 行情服务
  18554. /Quote/QueryHistoryTikDatas:
  18555. get:
  18556. parameters:
  18557. - description: 商品代码
  18558. in: query
  18559. name: goodsCode
  18560. required: true
  18561. type: string
  18562. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  18563. in: query
  18564. name: startTime
  18565. type: string
  18566. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  18567. in: query
  18568. name: endTime
  18569. type: string
  18570. - description: 条数
  18571. in: query
  18572. name: count
  18573. type: integer
  18574. - description: 是否按时间顺序排序(默认为时间倒序排序)
  18575. in: query
  18576. name: isAsc
  18577. type: boolean
  18578. produces:
  18579. - application/json
  18580. responses:
  18581. "200":
  18582. description: OK
  18583. schema:
  18584. $ref: '#/definitions/quote.HistoryTikData'
  18585. "500":
  18586. description: Internal Server Error
  18587. schema:
  18588. $ref: '#/definitions/app.Response'
  18589. security:
  18590. - ApiKeyAuth: []
  18591. summary: 查询行情Tik数据
  18592. tags:
  18593. - 行情服务
  18594. /Quote/QueryQuoteDay:
  18595. get:
  18596. parameters:
  18597. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  18598. in: query
  18599. name: goodsCodes
  18600. required: true
  18601. type: string
  18602. produces:
  18603. - application/json
  18604. responses:
  18605. "200":
  18606. description: OK
  18607. schema:
  18608. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  18609. "500":
  18610. description: Internal Server Error
  18611. schema:
  18612. $ref: '#/definitions/app.Response'
  18613. security:
  18614. - ApiKeyAuth: []
  18615. summary: 获取商品盘面信息
  18616. tags:
  18617. - 行情服务
  18618. /Quote/QueryTSData:
  18619. get:
  18620. parameters:
  18621. - description: 商品代码
  18622. in: query
  18623. name: goodsCode
  18624. required: true
  18625. type: string
  18626. produces:
  18627. - application/json
  18628. responses:
  18629. "200":
  18630. description: OK
  18631. schema:
  18632. $ref: '#/definitions/quote.QueryTSDataRsp'
  18633. "500":
  18634. description: Internal Server Error
  18635. schema:
  18636. $ref: '#/definitions/app.Response'
  18637. security:
  18638. - ApiKeyAuth: []
  18639. summary: 分时图数据查询
  18640. tags:
  18641. - 行情服务
  18642. /SZDZ/QueryConvertConfig:
  18643. get:
  18644. parameters:
  18645. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  18646. 6:交易转花生米(不设置)
  18647. in: query
  18648. name: convertType
  18649. type: integer
  18650. - description: 外部商品代码[JD\PD]
  18651. in: query
  18652. name: outerGoodsCode
  18653. type: string
  18654. - description: 内部商品ID列表[交易],格式:1,2,3
  18655. in: query
  18656. name: innerGoodsIDs
  18657. type: string
  18658. produces:
  18659. - application/json
  18660. responses:
  18661. "200":
  18662. description: OK
  18663. schema:
  18664. $ref: '#/definitions/models.Szdz3convertconfig'
  18665. "500":
  18666. description: Internal Server Error
  18667. schema:
  18668. $ref: '#/definitions/app.Response'
  18669. security:
  18670. - ApiKeyAuth: []
  18671. summary: 查询交易系统转换设置
  18672. tags:
  18673. - 定制【尚志大宗】
  18674. /SZDZ/QueryConvertLog:
  18675. get:
  18676. parameters:
  18677. - description: 资金账户 - 格式:1,2,3
  18678. in: query
  18679. name: accountID
  18680. required: true
  18681. type: string
  18682. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18683. in: query
  18684. name: startDate
  18685. type: string
  18686. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18687. in: query
  18688. name: endDate
  18689. type: string
  18690. produces:
  18691. - application/json
  18692. responses:
  18693. "200":
  18694. description: OK
  18695. schema:
  18696. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  18697. "500":
  18698. description: Internal Server Error
  18699. schema:
  18700. $ref: '#/definitions/app.Response'
  18701. security:
  18702. - ApiKeyAuth: []
  18703. summary: 交易系统转换流水查询
  18704. tags:
  18705. - 定制【尚志大宗】
  18706. /SZDZ/QueryGoodsPickup:
  18707. get:
  18708. parameters:
  18709. - description: 资金账户 - 格式:1,2,3
  18710. in: query
  18711. name: accountID
  18712. required: true
  18713. type: string
  18714. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18715. in: query
  18716. name: takeOrderStatus
  18717. type: integer
  18718. produces:
  18719. - application/json
  18720. responses:
  18721. "200":
  18722. description: OK
  18723. schema:
  18724. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  18725. "500":
  18726. description: Internal Server Error
  18727. schema:
  18728. $ref: '#/definitions/app.Response'
  18729. security:
  18730. - ApiKeyAuth: []
  18731. summary: 商品提货单查询
  18732. tags:
  18733. - 定制【尚志大宗】
  18734. /SZDZ/QueryRecieptOrder:
  18735. get:
  18736. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  18737. parameters:
  18738. - description: 页码
  18739. in: query
  18740. name: page
  18741. type: integer
  18742. - description: 每页条数
  18743. in: query
  18744. name: pagesize
  18745. type: integer
  18746. - description: 商品ID
  18747. in: query
  18748. name: goodsID
  18749. required: true
  18750. type: integer
  18751. - description: 所属账户名称
  18752. in: query
  18753. name: accountName
  18754. type: string
  18755. - description: 市场ID
  18756. in: query
  18757. name: marketID
  18758. type: integer
  18759. - description: 方向 - 0:买 1:卖
  18760. in: query
  18761. name: buyorsell
  18762. required: true
  18763. type: integer
  18764. produces:
  18765. - application/json
  18766. responses:
  18767. "200":
  18768. description: OK
  18769. schema:
  18770. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  18771. "500":
  18772. description: Internal Server Error
  18773. schema:
  18774. $ref: '#/definitions/app.Response'
  18775. security:
  18776. - ApiKeyAuth: []
  18777. summary: 点选挂牌委托单据查询(摘牌大厅)
  18778. tags:
  18779. - 定制【尚志大宗】
  18780. /SZDZ/QuerySZDZTradePosition:
  18781. get:
  18782. parameters:
  18783. - description: 资金账户
  18784. in: query
  18785. name: accountID
  18786. required: true
  18787. type: integer
  18788. produces:
  18789. - application/json
  18790. responses:
  18791. "200":
  18792. description: OK
  18793. schema:
  18794. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  18795. "500":
  18796. description: Internal Server Error
  18797. schema:
  18798. $ref: '#/definitions/app.Response'
  18799. security:
  18800. - ApiKeyAuth: []
  18801. summary: 持仓汇总查询(尚志大宗)
  18802. tags:
  18803. - 定制【尚志大宗】
  18804. /SZDZ/SearchWhite:
  18805. get:
  18806. parameters:
  18807. - description: 用户ID
  18808. in: query
  18809. name: userID
  18810. required: true
  18811. type: integer
  18812. produces:
  18813. - application/json
  18814. responses:
  18815. "200":
  18816. description: OK
  18817. schema:
  18818. $ref: '#/definitions/models.Szdz3searchwhitelist'
  18819. "500":
  18820. description: Internal Server Error
  18821. schema:
  18822. $ref: '#/definitions/app.Response'
  18823. security:
  18824. - ApiKeyAuth: []
  18825. summary: 搜索白名单
  18826. tags:
  18827. - 定制【尚志大宗】
  18828. /Search/SearchGoodses:
  18829. get:
  18830. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  18831. parameters:
  18832. - description: 检索内容
  18833. in: query
  18834. name: content
  18835. required: true
  18836. type: string
  18837. - description: 交易模式,格式:1,2,3
  18838. in: query
  18839. name: tradeModes
  18840. type: string
  18841. produces:
  18842. - application/json
  18843. responses:
  18844. "200":
  18845. description: OK
  18846. schema:
  18847. $ref: '#/definitions/models.SearchGoods'
  18848. "500":
  18849. description: Internal Server Error
  18850. schema:
  18851. $ref: '#/definitions/app.Response'
  18852. summary: 检索商品信息
  18853. tags:
  18854. - 检索服务
  18855. /TaAccount/GetTaAccounts:
  18856. get:
  18857. parameters:
  18858. - description: 登录账户
  18859. in: query
  18860. name: loginID
  18861. required: true
  18862. type: integer
  18863. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  18864. in: query
  18865. name: taAccountType
  18866. type: integer
  18867. produces:
  18868. - application/json
  18869. responses:
  18870. "200":
  18871. description: OK
  18872. schema:
  18873. $ref: '#/definitions/models.Taaccount'
  18874. "500":
  18875. description: Internal Server Error
  18876. schema:
  18877. $ref: '#/definitions/app.Response'
  18878. security:
  18879. - ApiKeyAuth: []
  18880. summary: 获取资金账户信息
  18881. tags:
  18882. - 资金账户
  18883. /TaAccount/QueryAmountLog:
  18884. get:
  18885. parameters:
  18886. - description: 页码
  18887. in: query
  18888. name: page
  18889. type: integer
  18890. - description: 每页条数
  18891. in: query
  18892. name: pagesize
  18893. type: integer
  18894. - description: 资金账户 - 格式:1,2,3
  18895. in: query
  18896. name: accountID
  18897. required: true
  18898. type: string
  18899. - description: 资金操作类型 - 格式:1,2,3
  18900. in: query
  18901. name: OperateType
  18902. type: string
  18903. produces:
  18904. - application/json
  18905. responses:
  18906. "200":
  18907. description: OK
  18908. schema:
  18909. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  18910. "500":
  18911. description: Internal Server Error
  18912. schema:
  18913. $ref: '#/definitions/app.Response'
  18914. security:
  18915. - ApiKeyAuth: []
  18916. summary: 资金流水查询(当前)
  18917. tags:
  18918. - 资金账户
  18919. /TaAccount/QueryHisAmountLog:
  18920. get:
  18921. parameters:
  18922. - description: 页码
  18923. in: query
  18924. name: page
  18925. type: integer
  18926. - description: 每页条数
  18927. in: query
  18928. name: pagesize
  18929. type: integer
  18930. - description: 资金账户 - 格式:1,2,3
  18931. in: query
  18932. name: accountID
  18933. required: true
  18934. type: string
  18935. - description: 资金操作类型 - 格式:1,2,3
  18936. in: query
  18937. name: OperateType
  18938. type: string
  18939. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18940. in: query
  18941. name: startDate
  18942. type: string
  18943. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18944. in: query
  18945. name: endDate
  18946. type: string
  18947. produces:
  18948. - application/json
  18949. responses:
  18950. "200":
  18951. description: OK
  18952. schema:
  18953. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  18954. "500":
  18955. description: Internal Server Error
  18956. schema:
  18957. $ref: '#/definitions/app.Response'
  18958. security:
  18959. - ApiKeyAuth: []
  18960. summary: 资金流水查询(历史)
  18961. tags:
  18962. - 资金账户
  18963. /Trade/QueryRecieptOrder:
  18964. get:
  18965. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  18966. parameters:
  18967. - description: 页码
  18968. in: query
  18969. name: page
  18970. type: integer
  18971. - description: 每页条数
  18972. in: query
  18973. name: pagesize
  18974. type: integer
  18975. - description: 商品ID
  18976. in: query
  18977. name: goodsID
  18978. required: true
  18979. type: integer
  18980. - description: 所属账户名称
  18981. in: query
  18982. name: accountName
  18983. type: string
  18984. - description: 市场ID
  18985. in: query
  18986. name: marketID
  18987. type: integer
  18988. - description: 方向 - 0:买 1:卖
  18989. in: query
  18990. name: buyorsell
  18991. required: true
  18992. type: integer
  18993. produces:
  18994. - application/json
  18995. responses:
  18996. "200":
  18997. description: OK
  18998. schema:
  18999. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  19000. "500":
  19001. description: Internal Server Error
  19002. schema:
  19003. $ref: '#/definitions/app.Response'
  19004. security:
  19005. - ApiKeyAuth: []
  19006. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  19007. tags:
  19008. - 通用交易
  19009. /User/AddMessageBoard:
  19010. post:
  19011. parameters:
  19012. - description: 用户ID
  19013. in: query
  19014. name: userID
  19015. required: true
  19016. type: integer
  19017. - description: 留言信息
  19018. in: query
  19019. name: message
  19020. required: true
  19021. type: string
  19022. - description: 联系电话
  19023. in: query
  19024. name: contactNum
  19025. required: true
  19026. type: string
  19027. produces:
  19028. - application/json
  19029. responses:
  19030. "200":
  19031. description: OK
  19032. schema:
  19033. $ref: '#/definitions/app.Response'
  19034. "500":
  19035. description: Internal Server Error
  19036. schema:
  19037. $ref: '#/definitions/app.Response'
  19038. security:
  19039. - ApiKeyAuth: []
  19040. summary: 添加用户留言板信息
  19041. tags:
  19042. - 用户信息
  19043. /User/AddUserFavoriteGoods:
  19044. post:
  19045. parameters:
  19046. - description: 用户ID
  19047. in: query
  19048. name: userID
  19049. required: true
  19050. type: integer
  19051. - description: 商品ID
  19052. in: query
  19053. name: goodsID
  19054. required: true
  19055. type: integer
  19056. produces:
  19057. - application/json
  19058. responses:
  19059. "200":
  19060. description: OK
  19061. schema:
  19062. $ref: '#/definitions/app.Response'
  19063. "500":
  19064. description: Internal Server Error
  19065. schema:
  19066. $ref: '#/definitions/app.Response'
  19067. security:
  19068. - ApiKeyAuth: []
  19069. summary: 添加用户商品收藏信息
  19070. tags:
  19071. - 用户信息
  19072. /User/GetLoginID:
  19073. get:
  19074. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  19075. parameters:
  19076. - description: 登录代码
  19077. in: query
  19078. name: username
  19079. required: true
  19080. type: string
  19081. produces:
  19082. - application/json
  19083. responses:
  19084. "200":
  19085. description: OK
  19086. schema:
  19087. $ref: '#/definitions/app.Response'
  19088. "500":
  19089. description: Internal Server Error
  19090. schema:
  19091. $ref: '#/definitions/app.Response'
  19092. summary: 获取登录ID
  19093. tags:
  19094. - 用户信息
  19095. /User/GetUserAccount:
  19096. get:
  19097. parameters:
  19098. - description: 用户ID
  19099. in: query
  19100. name: userID
  19101. required: true
  19102. type: integer
  19103. produces:
  19104. - application/json
  19105. responses:
  19106. "200":
  19107. description: OK
  19108. schema:
  19109. $ref: '#/definitions/models.Useraccount'
  19110. "500":
  19111. description: Internal Server Error
  19112. schema:
  19113. $ref: '#/definitions/app.Response'
  19114. security:
  19115. - ApiKeyAuth: []
  19116. summary: 获取用户账号信息
  19117. tags:
  19118. - 用户信息
  19119. /User/GetUserAuthStatus:
  19120. get:
  19121. parameters:
  19122. - description: 用户ID
  19123. in: query
  19124. name: userID
  19125. required: true
  19126. type: integer
  19127. produces:
  19128. - application/json
  19129. responses:
  19130. "200":
  19131. description: OK
  19132. schema:
  19133. $ref: '#/definitions/app.Response'
  19134. "500":
  19135. description: Internal Server Error
  19136. schema:
  19137. $ref: '#/definitions/app.Response'
  19138. security:
  19139. - ApiKeyAuth: []
  19140. summary: 获取用户实名认证状态
  19141. tags:
  19142. - 用户信息
  19143. /User/LoginQuery:
  19144. get:
  19145. parameters:
  19146. - description: 登录账号
  19147. in: query
  19148. name: loginID
  19149. required: true
  19150. type: integer
  19151. produces:
  19152. - application/json
  19153. responses:
  19154. "200":
  19155. description: OK
  19156. schema:
  19157. $ref: '#/definitions/user.LoginQueryRsp'
  19158. "500":
  19159. description: Internal Server Error
  19160. schema:
  19161. $ref: '#/definitions/app.Response'
  19162. security:
  19163. - ApiKeyAuth: []
  19164. summary: 账户登录后信息查询
  19165. tags:
  19166. - 用户信息
  19167. /User/QueryMessageBoard:
  19168. get:
  19169. parameters:
  19170. - description: 用户ID
  19171. in: query
  19172. name: userID
  19173. required: true
  19174. type: integer
  19175. produces:
  19176. - application/json
  19177. responses:
  19178. "200":
  19179. description: OK
  19180. schema:
  19181. $ref: '#/definitions/models.Messageboard'
  19182. "500":
  19183. description: Internal Server Error
  19184. schema:
  19185. $ref: '#/definitions/app.Response'
  19186. security:
  19187. - ApiKeyAuth: []
  19188. summary: 获取用户留言板信息
  19189. tags:
  19190. - 用户信息
  19191. /User/QueryUserFavoriteGoodses:
  19192. get:
  19193. parameters:
  19194. - description: 用户ID
  19195. in: query
  19196. name: userID
  19197. required: true
  19198. type: integer
  19199. produces:
  19200. - application/json
  19201. responses:
  19202. "200":
  19203. description: OK
  19204. schema:
  19205. $ref: '#/definitions/models.Userfavoritegoods'
  19206. "500":
  19207. description: Internal Server Error
  19208. schema:
  19209. $ref: '#/definitions/app.Response'
  19210. security:
  19211. - ApiKeyAuth: []
  19212. summary: 获取用户商品收藏信息
  19213. tags:
  19214. - 用户信息
  19215. /User/QueryUserInfo:
  19216. get:
  19217. parameters:
  19218. - description: 用户ID
  19219. in: query
  19220. name: userID
  19221. required: true
  19222. type: integer
  19223. - description: 是否解密
  19224. in: query
  19225. name: isDecrypt
  19226. type: boolean
  19227. produces:
  19228. - application/json
  19229. responses:
  19230. "200":
  19231. description: OK
  19232. schema:
  19233. $ref: '#/definitions/models.Userinfo'
  19234. "500":
  19235. description: Internal Server Error
  19236. schema:
  19237. $ref: '#/definitions/app.Response'
  19238. security:
  19239. - ApiKeyAuth: []
  19240. summary: 获取用户信息
  19241. tags:
  19242. - 用户信息
  19243. /User/QueryUserReferNum:
  19244. get:
  19245. parameters:
  19246. - description: 用户ID
  19247. in: query
  19248. name: userID
  19249. required: true
  19250. type: integer
  19251. produces:
  19252. - application/json
  19253. responses:
  19254. "200":
  19255. description: OK
  19256. schema:
  19257. $ref: '#/definitions/app.Response'
  19258. "500":
  19259. description: Internal Server Error
  19260. schema:
  19261. $ref: '#/definitions/app.Response'
  19262. summary: 获取用户邀请码
  19263. tags:
  19264. - 用户信息
  19265. /User/RemoveUserFavoriteGoods:
  19266. post:
  19267. parameters:
  19268. - description: 用户ID
  19269. in: query
  19270. name: userID
  19271. required: true
  19272. type: integer
  19273. - description: 商品ID
  19274. in: query
  19275. name: goodsID
  19276. required: true
  19277. type: integer
  19278. produces:
  19279. - application/json
  19280. responses:
  19281. "200":
  19282. description: OK
  19283. schema:
  19284. $ref: '#/definitions/app.Response'
  19285. "500":
  19286. description: Internal Server Error
  19287. schema:
  19288. $ref: '#/definitions/app.Response'
  19289. security:
  19290. - ApiKeyAuth: []
  19291. summary: 移除用户商品收藏信息
  19292. tags:
  19293. - 用户信息
  19294. /User/UpdateUserAccountStatus:
  19295. post:
  19296. parameters:
  19297. - description: 用户ID
  19298. in: query
  19299. name: userID
  19300. required: true
  19301. type: integer
  19302. - description: 账户状态 - 4:正常 6:注销(停用)
  19303. in: query
  19304. name: accountStatus
  19305. required: true
  19306. type: integer
  19307. produces:
  19308. - application/json
  19309. responses:
  19310. "200":
  19311. description: OK
  19312. schema:
  19313. $ref: '#/definitions/app.Response'
  19314. "500":
  19315. description: Internal Server Error
  19316. schema:
  19317. $ref: '#/definitions/app.Response'
  19318. security:
  19319. - ApiKeyAuth: []
  19320. summary: 更新用户状态
  19321. tags:
  19322. - 用户信息
  19323. /WRTrade/GetAllDeliveryGoods:
  19324. get:
  19325. produces:
  19326. - application/json
  19327. - application/json
  19328. responses:
  19329. "200":
  19330. description: OK
  19331. schema:
  19332. $ref: '#/definitions/app.Response'
  19333. "500":
  19334. description: Internal Server Error
  19335. schema:
  19336. $ref: '#/definitions/app.Response'
  19337. security:
  19338. - ApiKeyAuth: []
  19339. - ApiKeyAuth: []
  19340. summary: 获取带仓单分类的种类信息
  19341. tags:
  19342. - 仓单贸易
  19343. - 仓单贸易
  19344. securityDefinitions:
  19345. ApiKeyAuth:
  19346. in: header
  19347. name: Authorization
  19348. type: apiKey
  19349. swagger: "2.0"