swagger.yaml 523 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002
  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. isreturnscore:
  2941. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2942. type: integer
  2943. modifierid:
  2944. description: 修改人ID
  2945. type: integer
  2946. modifytime:
  2947. description: 修改时间
  2948. type: string
  2949. orgtype:
  2950. description: 组织机构类型 1:机构 2:交易员
  2951. type: integer
  2952. outuserid:
  2953. description: 外部账户[场外期权做市商]
  2954. type: string
  2955. parentuserid:
  2956. description: 上级组织机构(组织机构)
  2957. type: integer
  2958. roletype:
  2959. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2960. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2961. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员
  2962. type: integer
  2963. rootuserid:
  2964. description: 顶级组织机构用户ID(组织机构)
  2965. type: integer
  2966. shoppassword:
  2967. description: 商城店铺登陆密码(商城店铺角色使用)
  2968. type: string
  2969. sublevelpath:
  2970. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2971. type: string
  2972. tradeaccountid:
  2973. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2974. type: integer
  2975. transurl:
  2976. description: 物流地址(物流机构)
  2977. type: string
  2978. userid:
  2979. description: 机构用户ID其他做市关系,都设置为 1
  2980. type: integer
  2981. required:
  2982. - roletype
  2983. - userid
  2984. type: object
  2985. models.Clientfixedadconfig:
  2986. properties:
  2987. adsort:
  2988. description: 排序
  2989. type: integer
  2990. adtype:
  2991. description: 广告位类型 - 1:新品抢购(HSBY)
  2992. type: integer
  2993. areauserid:
  2994. description: 所属机构ID
  2995. type: integer
  2996. createdate:
  2997. description: 创建时间
  2998. type: string
  2999. creatorid:
  3000. description: 创建人
  3001. type: integer
  3002. imagepath:
  3003. description: 图片
  3004. type: string
  3005. isshow:
  3006. description: 是否展示 - 0:不展示 1:展示
  3007. type: integer
  3008. modifierid:
  3009. description: 操作人
  3010. type: integer
  3011. recsize:
  3012. description: 推荐尺寸
  3013. type: string
  3014. title:
  3015. description: 标题
  3016. type: string
  3017. updatedate:
  3018. description: 更新时间
  3019. type: string
  3020. urlcontent:
  3021. description: 链接(地址或商品ID)
  3022. type: string
  3023. urltype:
  3024. description: 链接类型 - 1:直接地址 2:商品ID
  3025. type: integer
  3026. required:
  3027. - adsort
  3028. - adtype
  3029. type: object
  3030. models.Division:
  3031. properties:
  3032. autoid:
  3033. description: 自增ID
  3034. type: integer
  3035. divisioncode:
  3036. description: 行政代码
  3037. type: string
  3038. divisionlevel:
  3039. description: 行政级别
  3040. type: string
  3041. divisionname:
  3042. description: 行政名称
  3043. type: string
  3044. modifierid:
  3045. description: 修改人
  3046. type: integer
  3047. modifytime:
  3048. description: 修改时间
  3049. type: string
  3050. parentcode:
  3051. description: 上级行政代码
  3052. type: string
  3053. pathname:
  3054. description: 路径名称
  3055. type: string
  3056. postcode:
  3057. description: 邮政编码
  3058. type: string
  3059. separablename:
  3060. description: 可拆分的全称
  3061. type: string
  3062. shortcode:
  3063. description: 地区简码
  3064. type: string
  3065. required:
  3066. - autoid
  3067. - divisioncode
  3068. type: object
  3069. models.Enumdicitem:
  3070. properties:
  3071. autoid:
  3072. description: 自增ID
  3073. type: integer
  3074. bankmappedvalue:
  3075. description: 银行服务对应值
  3076. type: string
  3077. enumdiccode:
  3078. description: 所属枚举代码
  3079. type: string
  3080. enumdicid:
  3081. description: 所属枚举ID
  3082. type: integer
  3083. enumdicname:
  3084. description: 枚举项名称
  3085. type: string
  3086. enumitemname:
  3087. description: 枚举项值
  3088. type: integer
  3089. enumitemstatus:
  3090. description: 枚举项状态 - 1.启用 2.不启用
  3091. type: integer
  3092. enumitemvalue:
  3093. description: 通用值 - [币种通用简写]
  3094. type: string
  3095. param1:
  3096. description: 参数1[币种:币种小数位]
  3097. type: string
  3098. param2:
  3099. description: 参数1[币种:币种显示单位]
  3100. type: string
  3101. remark:
  3102. description: 备注
  3103. type: string
  3104. required:
  3105. - autoid
  3106. - enumdiccode
  3107. - enumdicid
  3108. - enumitemname
  3109. type: object
  3110. models.Ermcp3AreaSpot:
  3111. properties:
  3112. areauserid:
  3113. description: 所属机构
  3114. type: integer
  3115. decreaseqty:
  3116. description: 减少数量=-(销售已定价数量+采购计划数量)
  3117. type: number
  3118. deliverygoodscode:
  3119. description: 现货品种代码
  3120. type: string
  3121. deliverygoodsid:
  3122. description: 现货品种id
  3123. type: integer
  3124. deliverygoodsname:
  3125. description: 现货品种名称
  3126. type: string
  3127. enumdicname:
  3128. description: 单位名称
  3129. type: string
  3130. goodsunitid:
  3131. description: 现货品种单位id
  3132. type: integer
  3133. increaseqty:
  3134. description: 增加数量=销售计划数量+采购已定价数量
  3135. type: number
  3136. oritoalspotqty:
  3137. description: 昨日数量
  3138. type: number
  3139. totalspotqty:
  3140. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3141. type: number
  3142. updatetime:
  3143. description: 更新时间
  3144. type: string
  3145. type: object
  3146. models.Ermcp3AreaSpotDetail:
  3147. properties:
  3148. contracttype:
  3149. description: 合同类型 1-采购 -1-销售
  3150. type: integer
  3151. createtime:
  3152. description: 创建时间
  3153. type: string
  3154. deliverygoodscode:
  3155. description: 现货品种代码
  3156. type: string
  3157. deliverygoodsid:
  3158. description: 现货品种id
  3159. type: integer
  3160. deliverygoodsname:
  3161. description: 现货品种名称
  3162. type: string
  3163. enumdicname:
  3164. description: 现货商品单位名称
  3165. type: string
  3166. logtype:
  3167. description: 记录类型 1-套保 2-现货合同
  3168. type: integer
  3169. qty:
  3170. description: 数量
  3171. type: number
  3172. recordname:
  3173. description: 类型名称
  3174. type: string
  3175. relatedid:
  3176. description: 套保计划ID/现货合同ID
  3177. type: string
  3178. relatedno:
  3179. description: 编号
  3180. type: string
  3181. strtime:
  3182. description: 时间
  3183. type: string
  3184. type: object
  3185. models.Ermcp3AreaSpotPLReport:
  3186. properties:
  3187. accountid:
  3188. description: 期货账户ID (作废, 默认为0)
  3189. type: integer
  3190. accountname:
  3191. description: 机构名称
  3192. type: string
  3193. actualpl:
  3194. description: 现货损益
  3195. type: number
  3196. areauserid:
  3197. description: 所属机构\交易用户ID
  3198. type: integer
  3199. begindate:
  3200. description: 开始交易日
  3201. type: string
  3202. biztype:
  3203. description: 业务类型 - 1:套保 2:套利
  3204. type: integer
  3205. brandname:
  3206. description: 品牌名称
  3207. type: string
  3208. curamount:
  3209. description: 期末额
  3210. type: number
  3211. curaverageprice:
  3212. description: 期末均价
  3213. type: number
  3214. curbuyamount:
  3215. description: 期末采购总额
  3216. type: number
  3217. curbuyqty:
  3218. description: 期末采购总量
  3219. type: number
  3220. curmarketvalue:
  3221. description: 参考市值(期末市值)
  3222. type: number
  3223. curqty:
  3224. description: 期末量
  3225. type: number
  3226. currencyid:
  3227. description: 结算币种ID【原值】
  3228. type: integer
  3229. currencyname:
  3230. description: 币种名称
  3231. type: string
  3232. cursellamount:
  3233. description: 期末销售总额
  3234. type: number
  3235. cursellqty:
  3236. description: 期末销售总量
  3237. type: number
  3238. curspotprice:
  3239. description: 参考市价(最新价)
  3240. type: number
  3241. cycletime:
  3242. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3243. type: string
  3244. cycletype:
  3245. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3246. type: integer
  3247. deliverygoodscode:
  3248. description: 现货商品代码
  3249. type: string
  3250. deliverygoodsid:
  3251. description: 现货品种ID
  3252. type: integer
  3253. deliverygoodsname:
  3254. description: 现货商品名称
  3255. type: string
  3256. enddate:
  3257. description: 结束交易日
  3258. type: string
  3259. enumdicname:
  3260. description: 现货商品单位名称
  3261. type: string
  3262. floatpl:
  3263. description: 浮动损益
  3264. type: number
  3265. goodsunitid:
  3266. description: 现货商品单位id
  3267. type: integer
  3268. oriamount:
  3269. description: 期初额
  3270. type: number
  3271. oriaverageprice:
  3272. description: 期初均价
  3273. type: number
  3274. oribuyamount:
  3275. description: 期初采购总额
  3276. type: number
  3277. oribuyqty:
  3278. description: 期初采购总量
  3279. type: number
  3280. oriqty:
  3281. description: 期初量
  3282. type: number
  3283. orisellamount:
  3284. description: 期初销售总额
  3285. type: number
  3286. orisellqty:
  3287. description: 期初销售总量
  3288. type: number
  3289. reckondate:
  3290. description: 日照时期(yyyyMMdd)
  3291. type: string
  3292. spotgoodsbrandid:
  3293. description: 现货品牌ID
  3294. type: integer
  3295. todaybuyamount:
  3296. description: 今日采购额(今采购额)
  3297. type: number
  3298. todaybuyaverageprice:
  3299. description: 今日采购均价
  3300. type: number
  3301. todaybuyqty:
  3302. description: 今日采购量(今采购量)
  3303. type: number
  3304. todayinqty:
  3305. description: 今日入库量(今入库量)
  3306. type: number
  3307. todayoutqty:
  3308. description: 今日出库量(今出库量)
  3309. type: number
  3310. todaysellamount:
  3311. description: 今日销售额(今销售额)
  3312. type: number
  3313. todaysellaverageprice:
  3314. description: 今日销售均价
  3315. type: number
  3316. todaysellqty:
  3317. description: 今日销售量(今销售量)
  3318. type: number
  3319. unitid:
  3320. description: 品类单位id
  3321. type: integer
  3322. unitidname:
  3323. description: 品类单位名称
  3324. type: string
  3325. updatetime:
  3326. description: 更新时间
  3327. type: string
  3328. wrfactortypeid:
  3329. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3330. type: integer
  3331. wrstandardcode:
  3332. description: 品类代码
  3333. type: string
  3334. wrstandardid:
  3335. description: 现货品类ID
  3336. type: integer
  3337. wrstandardname:
  3338. description: 品类名称
  3339. type: string
  3340. type: object
  3341. models.Ermcp3AreaStock:
  3342. properties:
  3343. brandname:
  3344. description: 品牌名称
  3345. type: string
  3346. curstock:
  3347. description: 期末库存量(今日量)
  3348. type: number
  3349. deliverygoodscode:
  3350. description: 现货品种代码
  3351. type: string
  3352. deliverygoodsid:
  3353. description: 现货品种id
  3354. type: integer
  3355. deliverygoodsname:
  3356. description: 现货品种名称
  3357. type: string
  3358. enumdicname:
  3359. description: 单位名称
  3360. type: string
  3361. goodsunitid:
  3362. description: 现货商品单位id
  3363. type: integer
  3364. oristock:
  3365. description: 期初库存量(昨日量)
  3366. type: number
  3367. spotgoodsbrandid:
  3368. description: 现货品牌ID
  3369. type: integer
  3370. todaybuyinqty:
  3371. description: 今日采购入库量
  3372. type: number
  3373. todayproduceinqty:
  3374. description: 今日生产入库量
  3375. type: number
  3376. todayproduceoutqty:
  3377. description: 今日生产出库量
  3378. type: number
  3379. todayselloutqty:
  3380. description: 今日销售出库量
  3381. type: number
  3382. unitid:
  3383. description: 单位id
  3384. type: integer
  3385. updatetime:
  3386. description: 更新时间
  3387. type: string
  3388. userid:
  3389. description: 机构ID
  3390. type: integer
  3391. username:
  3392. description: 机构名称
  3393. type: string
  3394. warehousecode:
  3395. description: 仓库代码
  3396. type: string
  3397. warehouseinfoid:
  3398. description: 仓库ID
  3399. type: string
  3400. warehousename:
  3401. description: 仓库名称
  3402. type: string
  3403. warehousetype:
  3404. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3405. type: integer
  3406. wrstandardcode:
  3407. description: 品类代码
  3408. type: string
  3409. wrstandardid:
  3410. description: 品类ID
  3411. type: string
  3412. wrstandardname:
  3413. description: 品类名称
  3414. type: string
  3415. required:
  3416. - userid
  3417. type: object
  3418. models.Ermcp3AreaStockApply:
  3419. properties:
  3420. applyid:
  3421. description: 申请人
  3422. type: integer
  3423. applyname:
  3424. description: 申请人名称
  3425. type: string
  3426. applyremark:
  3427. description: 申请备注
  3428. type: string
  3429. applysrc:
  3430. description: 申请来源 - 1:管理端 2:终端
  3431. type: integer
  3432. applystatus:
  3433. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3434. type: integer
  3435. applytime:
  3436. description: 申请时间
  3437. type: string
  3438. auditid:
  3439. description: 审核人
  3440. type: integer
  3441. auditname:
  3442. description: 审核人名称
  3443. type: string
  3444. auditremark:
  3445. description: 审核备注
  3446. type: string
  3447. auditsrc:
  3448. description: 审核来源 - 1:管理端 2:终端
  3449. type: integer
  3450. audittime:
  3451. description: 审核时间
  3452. type: string
  3453. audittradedate:
  3454. description: 审核交易日(yyyyMMdd)
  3455. type: string
  3456. brandname:
  3457. description: 品牌名称
  3458. type: string
  3459. buynickname:
  3460. description: 采购方昵称
  3461. type: string
  3462. buyuserid:
  3463. description: 采购方userid
  3464. type: integer
  3465. buyusername:
  3466. description: 采购方名称
  3467. type: string
  3468. contractno:
  3469. description: 合同编号
  3470. type: string
  3471. contractqty:
  3472. description: 合同量
  3473. type: number
  3474. contracttype:
  3475. description: 现货合同类型 - 1:采购 -1:销售
  3476. type: integer
  3477. deliverygoodscode:
  3478. description: 现货品种代码
  3479. type: string
  3480. deliverygoodsid:
  3481. description: 现货品种id
  3482. type: integer
  3483. deliverygoodsname:
  3484. description: 现货品种名称
  3485. type: string
  3486. detailjson:
  3487. description: 明细数据
  3488. type: string
  3489. enumdicname:
  3490. description: 现货商品单位名称
  3491. type: string
  3492. inoutapplyid:
  3493. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3494. type: string
  3495. inouttype:
  3496. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3497. type: integer
  3498. pricetype:
  3499. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3500. type: integer
  3501. qty:
  3502. description: 数量
  3503. type: number
  3504. sellnickname:
  3505. description: 销售方昵称
  3506. type: string
  3507. selluserid:
  3508. description: 销售方userid
  3509. type: integer
  3510. sellusername:
  3511. description: 销售方名称
  3512. type: string
  3513. spotcontractid:
  3514. description: 关联现货合同ID
  3515. type: string
  3516. spotgoodsbrandid:
  3517. description: 现货品牌ID
  3518. type: integer
  3519. unitid:
  3520. description: 单位id
  3521. type: integer
  3522. userid:
  3523. description: 机构ID
  3524. type: integer
  3525. warehousecode:
  3526. description: 仓库代码
  3527. type: string
  3528. warehouseinfoid:
  3529. description: 现货仓库ID
  3530. type: string
  3531. warehousename:
  3532. description: 仓库名称
  3533. type: string
  3534. warehousetype:
  3535. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3536. type: integer
  3537. wrstandardcode:
  3538. description: 品类代码
  3539. type: string
  3540. wrstandardid:
  3541. description: 品类ID
  3542. type: integer
  3543. wrstandardname:
  3544. description: 品类名称
  3545. type: string
  3546. type: object
  3547. models.Ermcp3AreaStockApplySum:
  3548. properties:
  3549. brandname:
  3550. description: 品牌名称
  3551. type: string
  3552. inouttype:
  3553. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3554. type: integer
  3555. spotcontractid:
  3556. description: 关联现货合同ID
  3557. type: string
  3558. spotgoodsbrandid:
  3559. description: 品牌id
  3560. type: integer
  3561. totalqty:
  3562. description: 总数量
  3563. type: number
  3564. wrstandardid:
  3565. description: 品类id
  3566. type: integer
  3567. wrstandardname:
  3568. description: 品类名称
  3569. type: string
  3570. type: object
  3571. models.Ermcp3AreaStockReportEx:
  3572. properties:
  3573. begindate:
  3574. description: 开始交易日
  3575. type: string
  3576. brandname:
  3577. description: 品牌名称
  3578. type: string
  3579. curstock:
  3580. description: 期末库存量
  3581. type: number
  3582. cycletime:
  3583. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3584. type: string
  3585. cycletype:
  3586. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3587. type: integer
  3588. deliverygoodscode:
  3589. description: 现货品种代码
  3590. type: string
  3591. deliverygoodsid:
  3592. description: 现货品种id
  3593. type: integer
  3594. deliverygoodsname:
  3595. description: 现货品种名称
  3596. type: string
  3597. diffqty:
  3598. description: 库存变化量 = 期末 - 期初
  3599. type: number
  3600. enddate:
  3601. description: 结束交易日
  3602. type: string
  3603. enumdicname:
  3604. description: 单位名称
  3605. type: string
  3606. goodsunitid:
  3607. description: 现货单位id
  3608. type: integer
  3609. oristock:
  3610. description: 期初库存量
  3611. type: number
  3612. reckondate:
  3613. description: 日照时期(yyyyMMdd)
  3614. type: string
  3615. spotgoodsbrandid:
  3616. description: 现货品牌ID
  3617. type: integer
  3618. todaybuyinqty:
  3619. description: 今采购入库量
  3620. type: number
  3621. todayproduceinqty:
  3622. description: 今内部入库量
  3623. type: number
  3624. todayproduceoutqty:
  3625. description: 今内部出库量
  3626. type: number
  3627. todayselloutqty:
  3628. description: 今销售出库量
  3629. type: number
  3630. unbuyinqty:
  3631. description: 采购未入库量(数据库未找到相关字段?)
  3632. type: number
  3633. unitid:
  3634. description: 品类单位id
  3635. type: integer
  3636. unselloutqty:
  3637. description: 销售未出库量(数据库未找到相关字段?)
  3638. type: number
  3639. updatetime:
  3640. description: 更新时间
  3641. type: string
  3642. userid:
  3643. description: 机构ID
  3644. type: integer
  3645. username:
  3646. description: 机构名称
  3647. type: string
  3648. warehousecode:
  3649. description: 仓库代码
  3650. type: string
  3651. warehouseinfoid:
  3652. description: 仓库ID
  3653. type: string
  3654. warehousename:
  3655. description: 仓库名称
  3656. type: string
  3657. warehousetype:
  3658. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3659. type: integer
  3660. wrstandardcode:
  3661. description: 品类代码
  3662. type: string
  3663. wrstandardid:
  3664. description: 品类ID
  3665. type: integer
  3666. wrstandardname:
  3667. description: 品类名称
  3668. type: string
  3669. type: object
  3670. models.Ermcp3ArealSumPL:
  3671. properties:
  3672. accountname:
  3673. description: 机构名称
  3674. type: string
  3675. areauserid:
  3676. description: 所属机构\交易用户ID
  3677. type: integer
  3678. begindate:
  3679. description: 开始交易日
  3680. type: string
  3681. currencyid:
  3682. description: 结算币种ID
  3683. type: integer
  3684. currencyname:
  3685. description: 币种名称
  3686. type: string
  3687. cycletime:
  3688. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3689. type: string
  3690. cycletype:
  3691. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3692. type: integer
  3693. enddate:
  3694. description: 结束交易日
  3695. type: string
  3696. enumdicname:
  3697. description: 单位名称(套保品种)
  3698. type: string
  3699. futureactualpl:
  3700. description: 期货损益
  3701. type: number
  3702. futurefloatpl:
  3703. description: 期货浮动损益
  3704. type: number
  3705. goodsunitid:
  3706. description: 套保品种单位id
  3707. type: integer
  3708. middlegoodscode:
  3709. description: 套保品种代码
  3710. type: string
  3711. middlegoodsid:
  3712. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3713. type: integer
  3714. middlegoodsname:
  3715. description: 套保品种名称
  3716. type: string
  3717. reckondate:
  3718. description: 日照时期(yyyyMMdd)
  3719. type: string
  3720. spotactualpl:
  3721. description: 现货损益
  3722. type: number
  3723. spotfloatpl:
  3724. description: 现货浮动损益
  3725. type: number
  3726. sumactualpl:
  3727. description: 实际损益 = (ActualPL + FutureActualPL)
  3728. type: number
  3729. sumpl:
  3730. description: 汇总损益
  3731. type: number
  3732. updatetime:
  3733. description: 更新时间
  3734. type: string
  3735. type: object
  3736. models.Ermcp3Brand:
  3737. properties:
  3738. areauserid:
  3739. description: 用户id
  3740. type: integer
  3741. brandid:
  3742. description: 品牌id
  3743. type: integer
  3744. brandname:
  3745. description: 品牌名称
  3746. type: string
  3747. deliverygoodsid:
  3748. description: 品种ID
  3749. type: integer
  3750. type: object
  3751. models.Ermcp3Contract:
  3752. properties:
  3753. accountid:
  3754. description: 期货账户id
  3755. type: string
  3756. amount:
  3757. description: 金额 [1:一口价、3:暂定价]
  3758. type: number
  3759. attachment:
  3760. description: 附件
  3761. type: string
  3762. auditremark:
  3763. description: 审核意见
  3764. type: string
  3765. audittime:
  3766. description: 审核时间
  3767. type: string
  3768. biztype:
  3769. description: 业务类型 1-套保 2-套利
  3770. type: integer
  3771. brandname:
  3772. description: 品牌名称
  3773. type: string
  3774. buynickname:
  3775. description: 销售方昵称
  3776. type: string
  3777. buyuserid:
  3778. description: 采购方ID
  3779. type: integer
  3780. buyusername:
  3781. description: 采购方名称
  3782. type: string
  3783. contracctstatus:
  3784. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3785. type: integer
  3786. contractmargin:
  3787. description: 合同保证金
  3788. type: number
  3789. contractno:
  3790. description: 现货合同编号
  3791. type: string
  3792. contracttype:
  3793. description: 现货合同类型 - 1:采购 -1:销售
  3794. type: integer
  3795. convertfactor:
  3796. description: 标仓系数(品类)
  3797. type: number
  3798. createtime:
  3799. description: 创建时间
  3800. type: string
  3801. currencyid:
  3802. description: 币种id
  3803. type: integer
  3804. currencyname:
  3805. description: 币种名称
  3806. type: string
  3807. deliveryenddate:
  3808. description: 交收期(结束)
  3809. type: string
  3810. deliverygoodscode:
  3811. description: 现货品种代码
  3812. type: string
  3813. deliverygoodsid:
  3814. description: 现货品种ID
  3815. type: integer
  3816. deliverygoodsname:
  3817. description: 现货品种名称
  3818. type: string
  3819. deliverystartdate:
  3820. description: 交收期(开始)
  3821. type: string
  3822. enddate:
  3823. description: 点价结束日期 [2:点价 3:暂定价]
  3824. type: string
  3825. enumdicname:
  3826. description: 单位名称
  3827. type: string
  3828. goodscode:
  3829. description: 点价合约代码
  3830. type: string
  3831. goodsid:
  3832. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3833. type: integer
  3834. goodsname:
  3835. description: 点价商品名称
  3836. type: string
  3837. margin:
  3838. description: 当前保证金
  3839. type: number
  3840. meruserid:
  3841. description: 跟单员id
  3842. type: integer
  3843. meruserlogincode:
  3844. description: 跟单员登录代码
  3845. type: string
  3846. price:
  3847. description: 价格\暂定价 [1:一口价、3:暂定价]
  3848. type: number
  3849. pricemove:
  3850. description: 升贴水 [2:点价 3:暂定价]
  3851. type: number
  3852. pricetype:
  3853. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3854. type: integer
  3855. producttype:
  3856. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3857. type: integer
  3858. qty:
  3859. description: 数量
  3860. type: number
  3861. remark:
  3862. description: 备注
  3863. type: string
  3864. saleuserid:
  3865. description: 业务员id
  3866. type: integer
  3867. saleuserlogincode:
  3868. description: 业务员登录代码
  3869. type: string
  3870. sellnickname:
  3871. description: 采购方昵称
  3872. type: string
  3873. selluserid:
  3874. description: 销售方ID
  3875. type: integer
  3876. sellusername:
  3877. description: 销售方名称
  3878. type: string
  3879. spotcontractid:
  3880. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3881. type: string
  3882. spotgoodsbrandid:
  3883. description: 现货品牌ID(DGFactoryItem表的ID)
  3884. type: integer
  3885. spotgoodsdesc:
  3886. description: 商品型号
  3887. type: string
  3888. startdate:
  3889. description: 点价开始日期 [2:点价 3:暂定价]
  3890. type: string
  3891. tradeuserid:
  3892. description: 交易员id
  3893. type: integer
  3894. tradeuserlogincode:
  3895. description: 交易员登录代码
  3896. type: string
  3897. tradeusername:
  3898. description: 交易员名称
  3899. type: string
  3900. unitid:
  3901. description: 单位id(取品类上的单位id)
  3902. type: integer
  3903. updatetime:
  3904. description: 更新时间
  3905. type: string
  3906. userid:
  3907. description: 所属机构ID
  3908. type: integer
  3909. wrstandardcode:
  3910. description: 品类代码
  3911. type: string
  3912. wrstandardid:
  3913. description: 品类ID
  3914. type: integer
  3915. wrstandardname:
  3916. description: 品类名称
  3917. type: string
  3918. type: object
  3919. models.Ermcp3ExposureContractDetail:
  3920. properties:
  3921. biztype:
  3922. description: 业务类型 1-套保 2-套利
  3923. type: integer
  3924. brandname:
  3925. description: 品牌名称
  3926. type: string
  3927. buyuserid:
  3928. description: 采购方id
  3929. type: integer
  3930. buyusername:
  3931. description: 采购方名称
  3932. type: string
  3933. contractno:
  3934. description: 合同编号
  3935. type: string
  3936. contracttype:
  3937. description: 现货合同类型 - 1:采购 -1:销售
  3938. type: integer
  3939. convertfactor:
  3940. description: 标仓系数
  3941. type: number
  3942. convertratio:
  3943. description: 折算系数(套保品种)
  3944. type: number
  3945. curqty:
  3946. description: 今定价量
  3947. type: number
  3948. deliverygoodscode:
  3949. description: 现货商品代码
  3950. type: string
  3951. deliverygoodsid:
  3952. description: 现货商品id
  3953. type: integer
  3954. deliverygoodsname:
  3955. description: 现货商品名称
  3956. type: string
  3957. diffhedgeqty:
  3958. description: 套保变动量
  3959. type: number
  3960. diffneedhedgeqty:
  3961. description: 应套保变动量
  3962. type: number
  3963. diffqty:
  3964. description: 套保品种今变动量
  3965. type: number
  3966. enumdicname:
  3967. description: 单位名称
  3968. type: string
  3969. middlegoodscode:
  3970. description: 套保品种代码
  3971. type: string
  3972. middlegoodsid:
  3973. description: 套保品种id
  3974. type: integer
  3975. middlegoodsname:
  3976. description: 套保品种名称
  3977. type: string
  3978. needarbitrageratio:
  3979. description: 应套利比例
  3980. type: number
  3981. needhedgeratio:
  3982. description: 应套保比例
  3983. type: number
  3984. pricedqty:
  3985. description: 已定价量
  3986. type: number
  3987. qty:
  3988. description: 合同量
  3989. type: number
  3990. selluserid:
  3991. description: 销售方id
  3992. type: integer
  3993. sellusername:
  3994. description: 销售方名称
  3995. type: string
  3996. spotcontractid:
  3997. description: 合同id
  3998. type: string
  3999. todaypricedqty:
  4000. description: 今定价量
  4001. type: number
  4002. tradedate:
  4003. description: 交易日
  4004. type: string
  4005. unitid:
  4006. description: 品类单位id
  4007. type: integer
  4008. userid:
  4009. description: 机构id
  4010. type: integer
  4011. wrstandardcode:
  4012. description: 品类代码
  4013. type: string
  4014. wrstandardid:
  4015. description: 品类id
  4016. type: integer
  4017. wrstandardname:
  4018. description: 品类名称
  4019. type: string
  4020. type: object
  4021. models.Ermcp3ExposureDetail:
  4022. properties:
  4023. areauserid:
  4024. description: 机构ID
  4025. type: integer
  4026. changeQty:
  4027. description: 套保变动量
  4028. type: number
  4029. contracttype:
  4030. description: 现货合同类型 - 1:采购 -1:销售
  4031. type: integer
  4032. convertfactor:
  4033. description: 标仓系数
  4034. type: number
  4035. convertratio:
  4036. description: 套保系数
  4037. type: number
  4038. createtime:
  4039. description: 时间
  4040. type: string
  4041. deliverygoodscode:
  4042. description: 现货品种代码
  4043. type: string
  4044. deliverygoodsid:
  4045. description: 现货品种id
  4046. type: integer
  4047. deliverygoodsname:
  4048. description: 现货品种名称
  4049. type: string
  4050. enumdicname:
  4051. description: 现货商品单位名称
  4052. type: string
  4053. logtype:
  4054. description: 类型 - 1:套保计划 2:现货合同
  4055. type: integer
  4056. mgunitid:
  4057. description: 套保品种单位id
  4058. type: integer
  4059. mgunitidname:
  4060. description: 套保品种单位名称
  4061. type: string
  4062. middlegoodsId:
  4063. description: 套保商品id
  4064. type: integer
  4065. middlegoodscode:
  4066. description: 套保商品代码
  4067. type: string
  4068. middlegoodsname:
  4069. description: 套保商品名称
  4070. type: string
  4071. qty:
  4072. description: 数量
  4073. type: number
  4074. relateNo:
  4075. description: 现货合同/套保计划编号
  4076. type: string
  4077. type: object
  4078. models.Ermcp3ExposureFutuDetail:
  4079. properties:
  4080. accountid:
  4081. description: 交易账户id
  4082. type: integer
  4083. accountname:
  4084. description: 交易账户
  4085. type: string
  4086. begindate:
  4087. description: 开始交易日
  4088. type: string
  4089. buyorsell:
  4090. description: 方向 0-买 1-卖
  4091. type: integer
  4092. diffmgqty:
  4093. description: 套保品种今变化量
  4094. type: number
  4095. diffneedqty:
  4096. description: 应套保总量变化量
  4097. type: number
  4098. difftradeqty:
  4099. description: 交易品种今变化量
  4100. type: number
  4101. enddate:
  4102. description: 结束交易日
  4103. type: string
  4104. enumdicname:
  4105. description: 单位名称
  4106. type: string
  4107. goodscode:
  4108. description: 商品代码
  4109. type: string
  4110. goodsid:
  4111. description: 商品id
  4112. type: integer
  4113. goodsname:
  4114. description: 商品名称
  4115. type: string
  4116. holdqty:
  4117. description: 期末持仓量
  4118. type: number
  4119. middlegoodscode:
  4120. description: 套保商品代码
  4121. type: string
  4122. middlegoodsid:
  4123. description: 套保商品id
  4124. type: integer
  4125. middlegoodsname:
  4126. description: 套保商品名称
  4127. type: string
  4128. oriholdqty:
  4129. description: 期初持仓量
  4130. type: number
  4131. todaycloseqty:
  4132. description: 今平仓量
  4133. type: number
  4134. todayopenqty:
  4135. description: 今开仓量
  4136. type: number
  4137. tradedate:
  4138. description: 交易日
  4139. type: string
  4140. type: object
  4141. models.Ermcp3ExposureHedgeplanDetail:
  4142. properties:
  4143. biztype:
  4144. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4145. type: integer
  4146. changqty:
  4147. description: 应套保总量变化量
  4148. type: number
  4149. contracttype:
  4150. description: 计划类型 - 1:采购 -1:销售
  4151. type: integer
  4152. convertratio:
  4153. description: 折算系数(套保品种)
  4154. type: number
  4155. deliverygoodscode:
  4156. description: 现货商品代码
  4157. type: string
  4158. deliverygoodsid:
  4159. description: 现货商品id
  4160. type: integer
  4161. deliverygoodsname:
  4162. description: 现货商吕名称
  4163. type: string
  4164. dgunitid:
  4165. description: 现货商品单位id
  4166. type: integer
  4167. dgunitidname:
  4168. description: 单位名称(现货商品)
  4169. type: string
  4170. diffqty:
  4171. description: 套保品种今变动量
  4172. type: number
  4173. enumdicname:
  4174. description: 单位名称(品类)
  4175. type: string
  4176. hedgeplanid:
  4177. description: 套保计划id
  4178. type: string
  4179. hedgeplanno:
  4180. description: 套保计划名称
  4181. type: string
  4182. hedgeplanstatus:
  4183. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4184. type: integer
  4185. mgunitidname:
  4186. description: 单位名称(套保商品)
  4187. type: string
  4188. middlegoodscode:
  4189. description: 套保品种代码
  4190. type: string
  4191. middlegoodsid:
  4192. description: 套保品种id
  4193. type: integer
  4194. middlegoodsname:
  4195. description: 套保品种名称
  4196. type: string
  4197. needarbitrageratio:
  4198. description: 应套利比例
  4199. type: number
  4200. needhedgeratio:
  4201. description: 应套保比例
  4202. type: number
  4203. pricedqty:
  4204. description: 已定价量
  4205. type: number
  4206. qty:
  4207. description: 合同量
  4208. type: number
  4209. tradedate:
  4210. description: 交易日(登记日)
  4211. type: string
  4212. unitid:
  4213. description: 品类单位id
  4214. type: integer
  4215. userid:
  4216. description: 机构id
  4217. type: integer
  4218. wrstandardcode:
  4219. description: 品类代码
  4220. type: string
  4221. wrstandardid:
  4222. description: 品类id
  4223. type: integer
  4224. wrstandardname:
  4225. description: 品类名称
  4226. type: string
  4227. type: object
  4228. models.Ermcp3ExpourseReport:
  4229. properties:
  4230. accountid:
  4231. description: 期货账户ID (作废, 默认为0)
  4232. type: integer
  4233. accountname:
  4234. description: 机构名称
  4235. type: string
  4236. arbitrageqty:
  4237. description: 套利量
  4238. type: number
  4239. areauserid:
  4240. description: 所属机构\交易用户ID
  4241. type: integer
  4242. begindate:
  4243. description: 开始交易日
  4244. type: string
  4245. buyfutureqty:
  4246. description: 买入期货数量
  4247. type: number
  4248. buyplanqty:
  4249. description: 采购计划数量
  4250. type: number
  4251. buypricedqty:
  4252. description: 采购合同已定价数量
  4253. type: number
  4254. cycletime:
  4255. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4256. type: string
  4257. cycletype:
  4258. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4259. type: integer
  4260. diffexposure:
  4261. description: 变动量(套保敞口)
  4262. type: number
  4263. difffutuqty:
  4264. description: 变动量(期货)
  4265. type: number
  4266. diffhedgeqty:
  4267. description: 变动量(现货应套保总量)
  4268. type: number
  4269. diffmgqtya:
  4270. description: 套保变动量
  4271. type: number
  4272. diffmgqtyb:
  4273. description: 套利变动量
  4274. type: number
  4275. diffqty:
  4276. description: 变动量(总敞口)
  4277. type: number
  4278. diffspotqty:
  4279. description: 变动量(现货)
  4280. type: number
  4281. enddate:
  4282. description: 结束交易日
  4283. type: string
  4284. enumdicname:
  4285. description: 单位名称
  4286. type: string
  4287. hedgeqty:
  4288. description: 套保量
  4289. type: number
  4290. mgneedhedgeratio:
  4291. description: 套保比例(套保品的)
  4292. type: number
  4293. middlegoodsid:
  4294. description: 套保品种ID
  4295. type: integer
  4296. middlegoodsname:
  4297. description: 套保商品名称
  4298. type: string
  4299. middlgoodscode:
  4300. description: 套保商品代码
  4301. type: string
  4302. needarbitrageqty:
  4303. description: 应套利量
  4304. type: number
  4305. needarbitrageratio:
  4306. description: 套利比例(套保品的)
  4307. type: number
  4308. needhedgeexposoure:
  4309. description: 应套保敞口(套保敞口)
  4310. type: number
  4311. needhedgeqty:
  4312. description: 应套保量
  4313. type: number
  4314. needhedgeratio:
  4315. description: 应套保敞口比例
  4316. type: number
  4317. oriarbitrageqty:
  4318. description: 期初套利量
  4319. type: number
  4320. oribuyfutureqty:
  4321. description: 期初买入期货数量
  4322. type: number
  4323. oribuyplanqty:
  4324. description: 期初采购计划数量
  4325. type: number
  4326. oribuypricedqty:
  4327. description: 期初采购合同已定价数量
  4328. type: number
  4329. orihedgeqty:
  4330. description: 期初套保量
  4331. type: number
  4332. orineedarbitrageqty:
  4333. description: 期初应套利量
  4334. type: number
  4335. orineedhedgeexposoure:
  4336. description: 期初应套保敞口
  4337. type: number
  4338. orineedhedgeqty:
  4339. description: 期初应套保量
  4340. type: number
  4341. orisellfutureqty:
  4342. description: 期初卖出期货数量
  4343. type: number
  4344. orisellplanqty:
  4345. description: 期初销售计划数量
  4346. type: number
  4347. orisellpricedqty:
  4348. description: 期初销售合同已定价数量
  4349. type: number
  4350. oritotalexposure:
  4351. description: 期初实时总敞口
  4352. type: number
  4353. oritotalfutureqty:
  4354. description: 期初期货头寸总量
  4355. type: number
  4356. oritotalneedhedgeqty:
  4357. description: 期初应套保总量
  4358. type: number
  4359. oritotalspotqty:
  4360. description: 期初现货头寸总量
  4361. type: number
  4362. reckondate:
  4363. description: 日照时期(yyyyMMdd)
  4364. type: string
  4365. sellfutureqty:
  4366. description: 卖出期货数量
  4367. type: number
  4368. sellplanqty:
  4369. description: 销售计划数量
  4370. type: number
  4371. sellpricedqty:
  4372. description: 销售合同已定价数量
  4373. type: number
  4374. totalexposure:
  4375. description: 实时总敞口(总敞口)
  4376. type: number
  4377. totalfutureqty:
  4378. description: 期货头寸总量(期货总量)
  4379. type: number
  4380. totalhedgeratio:
  4381. description: 敞口比例
  4382. type: number
  4383. totalneedhedgeqty:
  4384. description: 应套保总量(现货应套保总量)
  4385. type: number
  4386. totalspotqty:
  4387. description: 现货头寸总量
  4388. type: number
  4389. unitid:
  4390. description: 单位id
  4391. type: integer
  4392. updatetime:
  4393. description: 更新时间
  4394. type: string
  4395. type: object
  4396. models.Ermcp3FinanceReport:
  4397. properties:
  4398. accountname:
  4399. description: 机构名称
  4400. type: string
  4401. areauserid:
  4402. description: 所属机构\交易用户ID
  4403. type: integer
  4404. begindate:
  4405. description: 开始交易日
  4406. type: string
  4407. biztype:
  4408. description: 业务类型 - 1:套保 2:套利
  4409. type: integer
  4410. brandname:
  4411. description: 品牌名称
  4412. type: string
  4413. buypreinvoicedamount:
  4414. description: 采购预收票额(预收票额)
  4415. type: number
  4416. buyprepaidamount:
  4417. description: 采购预付款额(预付货款额)
  4418. type: number
  4419. buytodayinvoiceamount:
  4420. description: 采购今收票额(今收票额)
  4421. type: number
  4422. buytodayrefundamount:
  4423. description: 采购今收退款额(今收退款额)
  4424. type: number
  4425. buytodaysettleamount:
  4426. description: 采购今付款额(今付货款额)
  4427. type: number
  4428. buyuninvoicedamount:
  4429. description: 采购应收票额(应收票额)
  4430. type: number
  4431. buyunpaidamount:
  4432. description: 采购应付款额(应付货款额)
  4433. type: number
  4434. currencyid:
  4435. description: 结算币种ID
  4436. type: integer
  4437. currencyname:
  4438. description: 币种名称
  4439. type: string
  4440. cycletime:
  4441. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4442. type: string
  4443. cycletype:
  4444. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4445. type: integer
  4446. deliverygoodscode:
  4447. description: 现货品种代码
  4448. type: string
  4449. deliverygoodsid:
  4450. description: 现货品种ID
  4451. type: integer
  4452. deliverygoodsname:
  4453. description: 现货品种名称
  4454. type: string
  4455. enddate:
  4456. description: 结束交易日
  4457. type: string
  4458. reckondate:
  4459. description: 日照时期(yyyyMMdd)
  4460. type: string
  4461. sellpreinvoicedamount:
  4462. description: 销售预开票额(预开票额)
  4463. type: number
  4464. sellprepaidamount:
  4465. description: 销售预收款额(预收货款额)
  4466. type: number
  4467. selltodayinvoiceamount:
  4468. description: 销售今开票额(今开票额)
  4469. type: number
  4470. selltodayrefundamount:
  4471. description: 销售今付退款额(今付退款额)
  4472. type: number
  4473. selltodaysettleamount:
  4474. description: 销售今收款额(今收货款额)
  4475. type: number
  4476. selluninvoicedamount:
  4477. description: 销售应开票额(应开票额)
  4478. type: number
  4479. sellunpaidamount:
  4480. description: 销售应收款额(应收货款额)
  4481. type: number
  4482. spotgoodsbrandid:
  4483. description: 现货品牌ID
  4484. type: integer
  4485. todaypaysum:
  4486. description: 今付款合计
  4487. type: number
  4488. todayreceivesum:
  4489. description: 今收款合计
  4490. type: number
  4491. updatetime:
  4492. description: 更新时间
  4493. type: string
  4494. wrfactortypeid:
  4495. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4496. type: integer
  4497. wrstandardcode:
  4498. description: 品类代码
  4499. type: string
  4500. wrstandardid:
  4501. description: 现货商品ID
  4502. type: integer
  4503. wrstandardname:
  4504. description: 品类名称
  4505. type: string
  4506. type: object
  4507. models.Ermcp3Goods:
  4508. properties:
  4509. agreeunit:
  4510. description: 合约单位(合约乘数)
  4511. type: number
  4512. enumdicname:
  4513. description: 单位名称
  4514. type: string
  4515. exexchangecode:
  4516. description: 交易所代码
  4517. type: string
  4518. goodscode:
  4519. description: 期货商品代码
  4520. type: string
  4521. goodsid:
  4522. description: 期货商品id
  4523. type: integer
  4524. goodsname:
  4525. description: 期货商品名称
  4526. type: string
  4527. type: object
  4528. models.Ermcp3GoodsGroup:
  4529. properties:
  4530. agreeunit:
  4531. description: 合约单位
  4532. type: number
  4533. areauserid:
  4534. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4535. type: integer
  4536. canshort:
  4537. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4538. type: integer
  4539. closepricemode:
  4540. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4541. type: integer
  4542. createtime:
  4543. description: 创建时间
  4544. type: string
  4545. creatorid:
  4546. description: 创建人
  4547. type: integer
  4548. currencyid:
  4549. description: 报价货币ID
  4550. type: integer
  4551. decimalplace:
  4552. description: 报价小数位
  4553. type: integer
  4554. enumdicname:
  4555. description: 单位名称
  4556. type: string
  4557. exchangefullname:
  4558. description: 交易所全称
  4559. type: string
  4560. excludecfg:
  4561. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4562. type: integer
  4563. exexchangecode:
  4564. description: 交易所代码
  4565. type: string
  4566. exexchangeid:
  4567. description: 外部交易所ID[通道交易]
  4568. type: integer
  4569. exexchangename:
  4570. description: 交易所名称
  4571. type: string
  4572. goodsgroupid:
  4573. description: 商品组ID(自增ID)
  4574. type: integer
  4575. goodsgroupname:
  4576. description: 商品组名称
  4577. type: string
  4578. goodsgroupstatus:
  4579. description: 商品组状态 - 1:正常 2:注销
  4580. type: integer
  4581. goodunitid:
  4582. description: 报价单位ID
  4583. type: integer
  4584. groupcategroyid:
  4585. description: 品种分类ID
  4586. type: integer
  4587. innerdealmode:
  4588. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4589. type: integer
  4590. marketid:
  4591. description: 所属市场ID
  4592. type: integer
  4593. modifierid:
  4594. description: 修改人
  4595. type: integer
  4596. modifytime:
  4597. description: 修改时间
  4598. type: string
  4599. outerdealmode:
  4600. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4601. type: integer
  4602. outergroupcode:
  4603. description: 外部商品组代码[通道交易]
  4604. type: string
  4605. quoteminunit:
  4606. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4607. type: integer
  4608. quotesourcegroupid:
  4609. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4610. type: integer
  4611. syncgoodsqty:
  4612. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4613. type: integer
  4614. required:
  4615. - areauserid
  4616. type: object
  4617. models.Ermcp3GoodsGroupEx:
  4618. properties:
  4619. convertratio:
  4620. description: 折算系数(品种系数)
  4621. type: number
  4622. enumdicname:
  4623. description: 单位名称
  4624. type: string
  4625. exexchangecode:
  4626. description: 交易所代码
  4627. type: string
  4628. glist:
  4629. description: 合约列表
  4630. items:
  4631. $ref: '#/definitions/models.Ermcp3Goods'
  4632. type: array
  4633. goodsgroupid:
  4634. description: 商品组id
  4635. type: integer
  4636. goodsgroupname:
  4637. description: 商品组名称
  4638. type: string
  4639. goodsunitid:
  4640. description: 单位id
  4641. type: integer
  4642. middlegoodsid:
  4643. description: 套保商品id
  4644. type: integer
  4645. type: object
  4646. models.Ermcp3HedgePlan:
  4647. properties:
  4648. accountid:
  4649. description: 资金账号
  4650. type: integer
  4651. areauserid:
  4652. description: 用户ID
  4653. type: integer
  4654. audittime:
  4655. description: 审核时间
  4656. type: string
  4657. contracttype:
  4658. description: 计划类型 - 1:采购 -1:销售
  4659. type: integer
  4660. convertfactor:
  4661. description: 标仓系数
  4662. type: number
  4663. createtime:
  4664. description: 创建时间
  4665. type: string
  4666. currencyid:
  4667. description: 币种id
  4668. type: integer
  4669. currencyname:
  4670. description: 币种名称
  4671. type: string
  4672. deliverygoodscode:
  4673. description: 现货品种代码
  4674. type: string
  4675. deliverygoodsid:
  4676. description: 现货品种ID
  4677. type: integer
  4678. deliverygoodsname:
  4679. description: 现货品种名称
  4680. type: string
  4681. enumdicname:
  4682. description: 单位名称(现货商品)
  4683. type: string
  4684. hedgeplanid:
  4685. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4686. type: string
  4687. hedgeplanno:
  4688. description: 套保计划编号(名称)
  4689. type: string
  4690. hedgeplanstatus:
  4691. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4692. type: integer
  4693. planqty:
  4694. description: 计划数量
  4695. type: number
  4696. plantime:
  4697. description: 计划时间
  4698. type: string
  4699. producttype:
  4700. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4701. type: integer
  4702. remark:
  4703. description: 备注
  4704. type: string
  4705. spotgoodsdesc:
  4706. description: 商品型号
  4707. type: string
  4708. taaccountname:
  4709. description: 资金账号名称
  4710. type: string
  4711. tradeuserid:
  4712. description: 交易用户id
  4713. type: integer
  4714. tradeusername:
  4715. description: 交易用户名称
  4716. type: string
  4717. unitid:
  4718. description: 单位id(现货商品)
  4719. type: integer
  4720. updatetime:
  4721. description: 更新时间
  4722. type: string
  4723. wrstandardcode:
  4724. description: 品类代码
  4725. type: string
  4726. wrstandardid:
  4727. description: 品类id
  4728. type: integer
  4729. wrstandardname:
  4730. description: 品类名称
  4731. type: string
  4732. wrunitid:
  4733. description: 品类单位id
  4734. type: integer
  4735. wrunitidame:
  4736. description: 品类单位名称
  4737. type: string
  4738. type: object
  4739. models.Ermcp3MiddleGoodsDetail2:
  4740. properties:
  4741. convertratio:
  4742. description: 套保系数(折算系数)
  4743. type: number
  4744. gplist:
  4745. description: 关联商品组列表
  4746. items:
  4747. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4748. type: array
  4749. mg:
  4750. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4751. description: 套保商品信息
  4752. type: object
  4753. type: object
  4754. models.Ermcp3MiddleGoodsDetailEx:
  4755. properties:
  4756. dglist:
  4757. description: 关联的现货品种列表
  4758. items:
  4759. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4760. type: array
  4761. gplist:
  4762. description: 关联商品组列表
  4763. items:
  4764. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4765. type: array
  4766. mg:
  4767. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4768. description: 套保商品信息
  4769. type: object
  4770. type: object
  4771. models.Ermcp3SellBuyContract:
  4772. properties:
  4773. accountid:
  4774. description: 期货账户id
  4775. type: string
  4776. accountname:
  4777. description: 账户名称
  4778. type: string
  4779. attachment:
  4780. description: 附件
  4781. type: string
  4782. audittime:
  4783. description: 审核时间
  4784. type: string
  4785. biztype:
  4786. description: 业务类型 1-套保 2-套利
  4787. type: integer
  4788. brandname:
  4789. description: 品牌名称
  4790. type: string
  4791. contracctstatus:
  4792. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4793. type: integer
  4794. contractmargin:
  4795. description: 合同保证金
  4796. type: number
  4797. contractno:
  4798. description: 合同编号
  4799. type: string
  4800. contracttype:
  4801. description: 合同类型 1-采购, -1-销售
  4802. type: integer
  4803. convertfactor:
  4804. description: 标仓系数(品类)
  4805. type: number
  4806. createtime:
  4807. description: 创建时间
  4808. type: string
  4809. currencyid:
  4810. description: 币种id
  4811. type: integer
  4812. currencyname:
  4813. description: 币种名称
  4814. type: string
  4815. daikaiamount:
  4816. description: 应收(开)票额
  4817. type: number
  4818. deliveryenddate:
  4819. description: 交割结束日
  4820. type: string
  4821. deliverygoodscode:
  4822. description: 现货品种代码
  4823. type: string
  4824. deliverygoodsid:
  4825. description: 现货商品ID
  4826. type: integer
  4827. deliverygoodsname:
  4828. description: 现货品种名称
  4829. type: string
  4830. deliverystartdate:
  4831. description: 交割开始日
  4832. type: string
  4833. enddate:
  4834. description: 点价结束日
  4835. type: string
  4836. enumdicname:
  4837. description: 单位名称
  4838. type: string
  4839. goodscode:
  4840. description: 点价商品代码
  4841. type: string
  4842. goodsid:
  4843. description: 点价商品ID
  4844. type: integer
  4845. goodsname:
  4846. description: 点价商品名称
  4847. type: string
  4848. invoiceamount:
  4849. description: 已开票额
  4850. type: number
  4851. loanamount:
  4852. description: 贷款总额=已定价额+调整金额
  4853. type: number
  4854. margin:
  4855. description: 保证金
  4856. type: number
  4857. meruserid:
  4858. description: 跟单员id
  4859. type: integer
  4860. meruserlogincode:
  4861. description: 跟单员登录代码
  4862. type: string
  4863. nickname:
  4864. description: 账户昵称
  4865. type: string
  4866. payamount:
  4867. description: 已收付额(收款或付款)
  4868. type: number
  4869. preinvoiceamount:
  4870. description: 预收(开)票额
  4871. type: number
  4872. prepayamount:
  4873. description: 预收付额
  4874. type: number
  4875. price:
  4876. description: 价格
  4877. type: number
  4878. pricedamount:
  4879. description: 已定价额
  4880. type: number
  4881. pricedavg:
  4882. description: 已点均价
  4883. type: number
  4884. pricedqty:
  4885. description: 已定价量
  4886. type: number
  4887. pricemove:
  4888. description: 升贴水
  4889. type: number
  4890. pricetype:
  4891. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4892. type: integer
  4893. producttype:
  4894. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4895. type: integer
  4896. qty:
  4897. description: 合同量
  4898. type: number
  4899. reckonadjustamount:
  4900. description: 调整金额
  4901. type: number
  4902. reckonedamount:
  4903. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4904. type: number
  4905. reckonotheramount:
  4906. description: 其它费用
  4907. type: number
  4908. reckonrealqty:
  4909. description: 已确定量
  4910. type: number
  4911. remark:
  4912. description: 备注
  4913. type: string
  4914. saleuserid:
  4915. description: 业务员id
  4916. type: integer
  4917. saleuserlogincode:
  4918. description: 业务员登录代码
  4919. type: string
  4920. spotcontractid:
  4921. description: 合同ID
  4922. type: string
  4923. spotgoodsbrandid:
  4924. description: 现货品牌ID(DGFactoryItem表的ID)
  4925. type: integer
  4926. spotgoodsdesc:
  4927. description: 商品型号(商品规格)
  4928. type: string
  4929. startdate:
  4930. description: 点价开始日
  4931. type: string
  4932. totalamount:
  4933. description: 合计总额
  4934. type: number
  4935. tradeuserid:
  4936. description: 交易员id
  4937. type: integer
  4938. tradeuserlogincode:
  4939. description: 交易员登录代码
  4940. type: string
  4941. tradeusername:
  4942. description: 交易员名称
  4943. type: string
  4944. unpayamount:
  4945. description: 应收付款额(应支付或应收款)
  4946. type: number
  4947. unpricedqty:
  4948. description: 未定价量
  4949. type: number
  4950. unsureqty:
  4951. description: 未确定量
  4952. type: number
  4953. userid:
  4954. description: 机构ID
  4955. type: integer
  4956. wrstandardcode:
  4957. description: 品类代码
  4958. type: string
  4959. wrstandardid:
  4960. description: 品类ID
  4961. type: integer
  4962. wrstandardname:
  4963. description: 品类名称
  4964. type: string
  4965. type: object
  4966. models.Ermcp3SpotGoodsPrice:
  4967. properties:
  4968. areauserid:
  4969. description: 所属机构id
  4970. type: integer
  4971. brandname:
  4972. description: 品牌名称
  4973. type: string
  4974. currencyid:
  4975. description: 报价货币ID
  4976. type: integer
  4977. currencyname:
  4978. description: 币种名称
  4979. type: string
  4980. deliverygoodscode:
  4981. description: 现货商品代码
  4982. type: string
  4983. deliverygoodsid:
  4984. description: 现货商品id
  4985. type: integer
  4986. deliverygoodsname:
  4987. description: 现货商品名称
  4988. type: string
  4989. enumdicname:
  4990. description: 现货商品单位名称
  4991. type: string
  4992. gbenumdicname:
  4993. description: 品类单位名称
  4994. type: string
  4995. gmunitid:
  4996. description: 品类单位id
  4997. type: integer
  4998. isvalid:
  4999. description: 是否有效 - 0:无效 1:有效
  5000. type: integer
  5001. operateid:
  5002. description: 最后操作人
  5003. type: integer
  5004. operatesrc:
  5005. description: 最后操作来源 - 1:管理端 2:终端
  5006. type: integer
  5007. operatetime:
  5008. description: 最后操作时间
  5009. type: string
  5010. operatorname:
  5011. description: 操作人名称
  5012. type: string
  5013. spotgoodsbrandid:
  5014. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5015. type: integer
  5016. spotgoodsprice:
  5017. description: 现货价格
  5018. type: number
  5019. tradedate:
  5020. description: 交易日(yyyyMMdd)
  5021. type: string
  5022. unitid:
  5023. description: 现货商品单位id
  5024. type: integer
  5025. wrstandardcode:
  5026. description: 品类代码
  5027. type: string
  5028. wrstandardid:
  5029. description: 现货品类ID(通用则为0)
  5030. type: integer
  5031. wrstandardname:
  5032. description: 品类名称
  5033. type: string
  5034. type: object
  5035. models.Ermcp3SpotGoodsPriceLog:
  5036. properties:
  5037. areauserid:
  5038. description: 所属机构id
  5039. type: integer
  5040. brandname:
  5041. description: 品牌名称
  5042. type: string
  5043. currencyid:
  5044. description: 报价货币ID
  5045. type: integer
  5046. deliverygoodscode:
  5047. description: 现货商品代码
  5048. type: string
  5049. deliverygoodsid:
  5050. description: 现货商品id
  5051. type: integer
  5052. deliverygoodsname:
  5053. description: 现货商品名称
  5054. type: string
  5055. enumdicname:
  5056. description: 现货商品单位名称
  5057. type: string
  5058. gbenumdicname:
  5059. description: 品类单位名称
  5060. type: string
  5061. gmunitid:
  5062. description: 品类单位id
  5063. type: integer
  5064. logid:
  5065. description: 日志id
  5066. type: integer
  5067. operateid:
  5068. description: 最后操作人
  5069. type: integer
  5070. operatesrc:
  5071. description: 最后操作来源 - 1:管理端 2:终端
  5072. type: integer
  5073. operatetime:
  5074. description: 最后操作时间
  5075. type: string
  5076. operatorname:
  5077. description: 操作人名称
  5078. type: string
  5079. spotgoodsbrandid:
  5080. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5081. type: integer
  5082. spotgoodsprice:
  5083. description: 现货价格
  5084. type: number
  5085. tradedate:
  5086. description: 交易日(yyyyMMdd)
  5087. type: string
  5088. unitid:
  5089. description: 现货商品单位id
  5090. type: integer
  5091. wrstandardcode:
  5092. description: 品类代码
  5093. type: string
  5094. wrstandardid:
  5095. description: 现货品类ID(通用则为0)
  5096. type: integer
  5097. wrstandardname:
  5098. description: 品类名称
  5099. type: string
  5100. type: object
  5101. models.Ermcp3TaFutuReDataReport:
  5102. properties:
  5103. accountid:
  5104. description: 交易账户
  5105. type: integer
  5106. accountname:
  5107. description: 交易账号名称
  5108. type: string
  5109. begindate:
  5110. description: 开始交易日
  5111. type: string
  5112. buyorsell:
  5113. description: 持仓方向
  5114. type: integer
  5115. charge:
  5116. description: 手续费
  5117. type: number
  5118. closepl:
  5119. description: 平仓损益
  5120. type: number
  5121. currencyid:
  5122. description: 结算币种ID
  5123. type: integer
  5124. cycletime:
  5125. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5126. type: string
  5127. cycletype:
  5128. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5129. type: integer
  5130. enddate:
  5131. description: 结束交易日
  5132. type: string
  5133. enumdicname:
  5134. description: 单位名称(现货商品)
  5135. type: string
  5136. floatpl:
  5137. description: 浮动损益
  5138. type: number
  5139. goodscode:
  5140. description: 交易合约代码
  5141. type: string
  5142. goodsgroupid:
  5143. description: 交易品种
  5144. type: integer
  5145. goodsgroupname:
  5146. description: 交易品种名称
  5147. type: string
  5148. goodsgroupspotqty:
  5149. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5150. type: number
  5151. goodsid:
  5152. description: 交易合约
  5153. type: integer
  5154. goodsname:
  5155. description: 交易合约名称
  5156. type: string
  5157. goodunitid:
  5158. description: 交易合约单位id
  5159. type: integer
  5160. holdamount:
  5161. description: 期末持仓额
  5162. type: number
  5163. holdqty:
  5164. description: 期末持仓量
  5165. type: number
  5166. lastholdamount:
  5167. description: 当前持仓额
  5168. type: number
  5169. lastprice:
  5170. description: 最新价
  5171. type: number
  5172. middlegoodsqty:
  5173. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5174. type: number
  5175. openamount:
  5176. description: 期末开仓额
  5177. type: number
  5178. oriholdamount:
  5179. description: 期初持仓额
  5180. type: number
  5181. oriholdqty:
  5182. description: 期初持仓量
  5183. type: number
  5184. oriopenamount:
  5185. description: 期初开仓额
  5186. type: number
  5187. outergroupcode:
  5188. description: 交易品种代码
  5189. type: string
  5190. reckondate:
  5191. description: 日照时期(yyyyMMdd)
  5192. type: string
  5193. reckonholdamount:
  5194. description: 结算持仓额
  5195. type: number
  5196. reckonpl:
  5197. description: 结算损益
  5198. type: number
  5199. reckonpl2:
  5200. description: 结算逐笔盈亏
  5201. type: number
  5202. reckonprice:
  5203. description: 结算价
  5204. type: number
  5205. relateduserid:
  5206. description: 账户关联用户ID
  5207. type: integer
  5208. todaycloseamount:
  5209. description: 今平仓额
  5210. type: number
  5211. todaycloseqty:
  5212. description: 今平仓量
  5213. type: number
  5214. todaygoodsgroupspotqty:
  5215. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5216. type: number
  5217. todaymiddlegoodsqty:
  5218. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5219. type: number
  5220. todayopenamount:
  5221. description: 今开仓额
  5222. type: number
  5223. todayopenqty:
  5224. description: 今开仓量
  5225. type: number
  5226. userid:
  5227. description: 账户所属用户ID
  5228. type: integer
  5229. type: object
  5230. models.Ermcp3Wrstandard:
  5231. properties:
  5232. areauserid:
  5233. description: 所属机构
  5234. type: integer
  5235. convertfactor:
  5236. description: 标仓系数
  5237. type: number
  5238. createtime:
  5239. description: 创建时间
  5240. type: string
  5241. creatorid:
  5242. description: 创建人
  5243. type: integer
  5244. deliverygoodsid:
  5245. description: 现货品种ID
  5246. type: integer
  5247. enumdicname:
  5248. description: 品类单位名称
  5249. type: string
  5250. isvalid:
  5251. description: 是否有效 0-无效(停用) 1-有效(正常)
  5252. type: integer
  5253. minivalue:
  5254. description: 最小变动值
  5255. type: integer
  5256. minivaluedp:
  5257. description: 最小变动值小数位
  5258. type: integer
  5259. realminivalue:
  5260. description: 实际最小变动值
  5261. type: integer
  5262. realminivaluedp:
  5263. description: 实际最小变动值小数位
  5264. type: integer
  5265. remark:
  5266. description: 备注
  5267. type: string
  5268. unitid:
  5269. description: 品类单位ID
  5270. type: integer
  5271. updatetime:
  5272. description: 更新时间
  5273. type: string
  5274. wrstandardcode:
  5275. description: 品类代码
  5276. type: string
  5277. wrstandardid:
  5278. description: 品类ID(SEQ_WRSTANDARD)
  5279. type: integer
  5280. wrstandardname:
  5281. description: 品类名称
  5282. type: string
  5283. type: object
  5284. models.ErmcpAreaSpotDetailModel:
  5285. properties:
  5286. contracttype:
  5287. description: 合同类型 1-采购 -1-销售
  5288. type: integer
  5289. createtime:
  5290. description: 创建时间
  5291. type: string
  5292. enumdicname:
  5293. description: 现货商品单位名称
  5294. type: string
  5295. logtype:
  5296. description: 记录类型 1-套保 2-现货合同
  5297. type: integer
  5298. qty:
  5299. description: 数量
  5300. type: number
  5301. recordname:
  5302. description: 类型名称
  5303. type: string
  5304. relatedid:
  5305. description: 套保计划ID/现货合同ID
  5306. type: string
  5307. relatedno:
  5308. description: 编号
  5309. type: string
  5310. strtime:
  5311. description: 时间
  5312. type: string
  5313. wrstandardcode:
  5314. description: 现货商品代码
  5315. type: string
  5316. wrstandardname:
  5317. description: 现货商品名称
  5318. type: string
  5319. type: object
  5320. models.ErmcpAvalidGoodsGroupModel:
  5321. properties:
  5322. goodsgroupid:
  5323. description: 期货品种id
  5324. type: integer
  5325. goodsgroupname:
  5326. description: 期货品种名称
  5327. type: string
  5328. goodunitid:
  5329. description: 品种单位id
  5330. type: integer
  5331. goodunitname:
  5332. description: 品种单位名称
  5333. type: string
  5334. outergroupcode:
  5335. description: 期货品种代码
  5336. type: string
  5337. type: object
  5338. models.ErmcpBizGroupEx:
  5339. properties:
  5340. acclist:
  5341. description: 账号列表
  5342. items:
  5343. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5344. type: array
  5345. bizgroupid:
  5346. description: 业务分组id
  5347. type: integer
  5348. biztype:
  5349. description: 业务类型 1-套保 2-套利
  5350. type: integer
  5351. wrlist:
  5352. description: 现货商品表
  5353. items:
  5354. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5355. type: array
  5356. type: object
  5357. models.ErmcpBizGroupSpotGoods:
  5358. properties:
  5359. areauserid:
  5360. description: 所属机构id
  5361. type: integer
  5362. bizgroupid:
  5363. description: 分组id
  5364. type: integer
  5365. biztype:
  5366. description: 业务类型 1-套保 2-套利
  5367. type: integer
  5368. deliverygoodscode:
  5369. description: 现货商品代码
  5370. type: string
  5371. deliverygoodsid:
  5372. description: 现货商品id
  5373. type: integer
  5374. deliverygoodsname:
  5375. description: 现货商品名称
  5376. type: string
  5377. unitid:
  5378. description: 现货商品单位id
  5379. type: integer
  5380. type: object
  5381. models.ErmcpBizGroupTaAccount:
  5382. properties:
  5383. accountid:
  5384. description: 账号id
  5385. type: integer
  5386. accountname:
  5387. description: 账号名称
  5388. type: string
  5389. areauserid:
  5390. description: 所属机构id
  5391. type: integer
  5392. bizgroupid:
  5393. description: 业务分组id
  5394. type: integer
  5395. ismain:
  5396. description: 是否主账号 1-是 0-否
  5397. type: integer
  5398. type: object
  5399. models.ErmcpDGFactoryItem:
  5400. properties:
  5401. areauserid:
  5402. description: 用户id
  5403. type: integer
  5404. deliverygoodsid:
  5405. description: 现货品种ID
  5406. type: integer
  5407. dgfactoryitemid:
  5408. description: 选择项ID(SEQ_DGFACTORYITEM)
  5409. type: integer
  5410. dgfactoryitemtypeid:
  5411. description: 要素项类型
  5412. type: integer
  5413. dgfactoryitemvalue:
  5414. description: 要素项值(类型为仓库时填写仓库名称)
  5415. type: string
  5416. isvalid:
  5417. description: 是否有效 - 0:无效 1:有效
  5418. type: integer
  5419. orderindex:
  5420. description: 顺序
  5421. type: integer
  5422. warehouseid:
  5423. description: 仓库ID(类型为仓库时填写)
  5424. type: integer
  5425. type: object
  5426. models.ErmcpDeliveryGoods:
  5427. properties:
  5428. agreeunit:
  5429. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5430. type: integer
  5431. areauserid:
  5432. description: 所属机构
  5433. type: integer
  5434. auditflag:
  5435. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5436. type: integer
  5437. categoryid:
  5438. description: 类别ID(SEQ_WRCATEGORY)
  5439. type: integer
  5440. deliverygoodscode:
  5441. description: 现货品种代码
  5442. type: string
  5443. deliverygoodsid:
  5444. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5445. type: integer
  5446. deliverygoodsname:
  5447. description: 现货品种名称
  5448. type: string
  5449. deliverygoodstype:
  5450. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5451. type: integer
  5452. dgstatus:
  5453. description: 品种状态 - 作废 - 0:未激活 1:正常
  5454. type: integer
  5455. enumdicname:
  5456. description: 现货品种单位名称
  5457. type: string
  5458. goodsunitid:
  5459. description: 现货品种单位ID
  5460. type: integer
  5461. isvalid:
  5462. description: 是否有效 - 0:无效 1:有效
  5463. type: integer
  5464. qtydecimalplace:
  5465. description: 成交量小数位
  5466. type: integer
  5467. remark:
  5468. description: 备注
  5469. type: string
  5470. standardqty:
  5471. description: 标准数量(库位数量) [标准品特有]
  5472. type: integer
  5473. standardqtyrange:
  5474. description: 标准数量偏差范围 [标准品特有]
  5475. type: integer
  5476. type: object
  5477. models.ErmcpDeliveryGoodsDetail2:
  5478. properties:
  5479. convertratio:
  5480. description: 套保系数(折算系数)
  5481. type: number
  5482. data:
  5483. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5484. description: 现货商品基本信息(交割品种)
  5485. type: object
  5486. gblist:
  5487. description: 品牌列表
  5488. items:
  5489. $ref: '#/definitions/models.Ermcp3Brand'
  5490. type: array
  5491. gmlist:
  5492. description: 品类列表(仓单标准)
  5493. items:
  5494. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5495. type: array
  5496. type: object
  5497. models.ErmcpDeliveryGoodsDetailEx:
  5498. properties:
  5499. data:
  5500. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5501. description: 现货商品基本信息(交割品种)
  5502. type: object
  5503. gblist:
  5504. description: 品牌列表
  5505. items:
  5506. $ref: '#/definitions/models.Ermcp3Brand'
  5507. type: array
  5508. gmlist:
  5509. description: 品类列表(仓单标准)
  5510. items:
  5511. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5512. type: array
  5513. mgList:
  5514. description: 套保列表
  5515. items:
  5516. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5517. type: array
  5518. type: object
  5519. models.ErmcpExposureDetailModel:
  5520. properties:
  5521. areauserid:
  5522. description: 机构ID
  5523. type: integer
  5524. changeQty:
  5525. description: 套保变动量
  5526. type: number
  5527. contracttype:
  5528. description: 现货合同类型 - 1:采购 -1:销售
  5529. type: integer
  5530. convertfactor:
  5531. description: 标仓系数
  5532. type: number
  5533. convertratio:
  5534. description: 套保系数
  5535. type: number
  5536. createtime:
  5537. description: 时间
  5538. type: string
  5539. enumdicname:
  5540. description: 现货商品单位名称
  5541. type: string
  5542. logtype:
  5543. description: 类型 - 1:套保计划 2:现货合同
  5544. type: integer
  5545. middlegoodsId:
  5546. description: 套保商品id
  5547. type: integer
  5548. middlegoodscode:
  5549. description: 套保商品代码
  5550. type: string
  5551. middlegoodsname:
  5552. description: 套保商品名称
  5553. type: string
  5554. qty:
  5555. description: 数量
  5556. type: number
  5557. relateNo:
  5558. description: 现货合同/套保计划编号
  5559. type: string
  5560. wrstandardcode:
  5561. description: 现货商品代码
  5562. type: string
  5563. wrstandardid:
  5564. description: 现货商品ID
  5565. type: integer
  5566. wrstandardname:
  5567. description: 现货商品名称
  5568. type: string
  5569. type: object
  5570. models.ErmcpExposurePostion:
  5571. properties:
  5572. agreeunit:
  5573. description: 合约单位
  5574. type: string
  5575. areauserid:
  5576. description: 所属机构id
  5577. type: integer
  5578. convertratio:
  5579. description: 期货品种系数(折算系数)
  5580. type: number
  5581. curqty:
  5582. description: 当前持仓
  5583. type: integer
  5584. diffhedgeqty:
  5585. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5586. type: number
  5587. diffqty:
  5588. description: 持仓变动量=当前持仓-昨日持仓
  5589. type: integer
  5590. goodscode:
  5591. description: 商品代码
  5592. type: string
  5593. goodsid:
  5594. description: 商品id
  5595. type: integer
  5596. goodsname:
  5597. description: 商品名称
  5598. type: string
  5599. middlegoodsid:
  5600. description: 套保商品id
  5601. type: integer
  5602. ydqty:
  5603. description: 昨日持仓
  5604. type: integer
  5605. type: object
  5606. models.ErmcpFuturesCompany:
  5607. properties:
  5608. brokerid:
  5609. description: 经纪公司代码
  5610. type: string
  5611. channeladdress:
  5612. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5613. type: string
  5614. channelid:
  5615. description: 对冲渠道ID
  5616. type: string
  5617. createtime:
  5618. description: 创建时间
  5619. type: string
  5620. creatorid:
  5621. description: 创建人
  5622. type: string
  5623. fcid:
  5624. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5625. type: integer
  5626. fcname:
  5627. description: 期货公司名称
  5628. type: string
  5629. isvalid:
  5630. description: 是否有效 - 0:无效 1:有效
  5631. type: integer
  5632. mhpaddress:
  5633. description: MHP服务地址(IP:Port)
  5634. type: string
  5635. riskrulegroupid:
  5636. description: 风控规则组ID
  5637. type: string
  5638. tradefeetmpid:
  5639. description: 手续费模板ID[TradeConfigTmpType为2]
  5640. type: string
  5641. trademargintmpid:
  5642. description: 保证金模板ID [TradeConfigTmpType为1]
  5643. type: string
  5644. traderatetmpid:
  5645. description: 汇率模板ID[TradeConfigTmpType为3]
  5646. type: string
  5647. updatetime:
  5648. description: 更新时间
  5649. type: string
  5650. updatorid:
  5651. description: 更新人
  5652. type: string
  5653. type: object
  5654. models.ErmcpGGConvertCfg:
  5655. properties:
  5656. convertratio:
  5657. description: 折算系数
  5658. type: number
  5659. destgoodsgroupid:
  5660. description: 目标品种ID
  5661. type: integer
  5662. dstcode:
  5663. description: 目录品种代码
  5664. type: string
  5665. dstexchangecode:
  5666. description: 目标期货交易所
  5667. type: string
  5668. dstname:
  5669. description: 目标品种名称
  5670. type: string
  5671. dstunitid:
  5672. description: 目标品种单位ID
  5673. type: integer
  5674. dstunitidname:
  5675. description: 目标品种单位名称
  5676. type: string
  5677. modifytime:
  5678. description: 修改时间
  5679. type: string
  5680. srccode:
  5681. description: 源品种代码
  5682. type: string
  5683. srcexchangecode:
  5684. description: 源期货交易所
  5685. type: string
  5686. srcgoodsgroupid:
  5687. description: 源品种ID
  5688. type: integer
  5689. srcname:
  5690. description: 源品种名称
  5691. type: string
  5692. srcunitid:
  5693. description: 源品种单位ID
  5694. type: integer
  5695. srcunitidname:
  5696. description: 源品种单位名称
  5697. type: string
  5698. type: object
  5699. models.ErmcpGoods:
  5700. properties:
  5701. agreeunit:
  5702. description: 合约单位
  5703. type: number
  5704. auditaccountid:
  5705. description: 审核操作员账号
  5706. type: integer
  5707. audittime:
  5708. description: 审核时间
  5709. type: string
  5710. cancelaccountid:
  5711. description: 注销操作员账号
  5712. type: integer
  5713. canceltime:
  5714. description: 注销时间
  5715. type: string
  5716. closepricemode:
  5717. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5718. type: integer
  5719. closepriceparam:
  5720. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5721. type: number
  5722. createtime:
  5723. description: 创建时间
  5724. type: string
  5725. creatorid:
  5726. description: 创建人
  5727. type: integer
  5728. currencyid:
  5729. description: 报价货币ID
  5730. type: integer
  5731. cutmode:
  5732. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5733. type: integer
  5734. decimalplace:
  5735. description: 报价小数位
  5736. type: integer
  5737. delistingdate:
  5738. description: 商品退市时间(状态:退市) -- 已作废
  5739. type: string
  5740. delistingmode:
  5741. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5742. type: integer
  5743. deliveryflag:
  5744. description: 交割标志 - 0:不可交割 1:可交割
  5745. type: integer
  5746. forceclosemode:
  5747. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5748. type: integer
  5749. forceclosevalue:
  5750. description: 定期强平参数 [收益权]
  5751. type: integer
  5752. goodscode:
  5753. description: 商品代码(内部)
  5754. type: string
  5755. goodscurrencyid:
  5756. description: 合约货币ID
  5757. type: integer
  5758. goodsgroupid:
  5759. description: 所属商品组ID
  5760. type: integer
  5761. goodsid:
  5762. description: 商品ID(自增ID SEQ_GOODS)
  5763. type: integer
  5764. goodsname:
  5765. description: 商品名称
  5766. type: string
  5767. goodsquotetype:
  5768. description: '合约报价类型: 1-直接报价 2-间接报价'
  5769. type: integer
  5770. goodsstatus:
  5771. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5772. type: integer
  5773. goodstradetype:
  5774. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5775. type: integer
  5776. goodunitid:
  5777. description: 报价单位ID
  5778. type: integer
  5779. hasquoter:
  5780. description: 是否有报价商 - 0:无报价商 1:有报价商
  5781. type: integer
  5782. hqprotecttime:
  5783. description: 行情保护时间(秒)
  5784. type: integer
  5785. innerdealmode:
  5786. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5787. type: integer
  5788. isbuylimited:
  5789. description: 是否限制建仓量 - 0:不限制 1:限制
  5790. type: integer
  5791. lasttradedate:
  5792. description: 最后交易日期(状态:待退市)
  5793. type: string
  5794. listingdate:
  5795. description: 交易开始日期
  5796. type: string
  5797. marketid:
  5798. description: 所属市场ID
  5799. type: integer
  5800. modifierid:
  5801. description: 修改人
  5802. type: integer
  5803. modifystatus:
  5804. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  5805. type: integer
  5806. modifytime:
  5807. description: 修改时间
  5808. type: string
  5809. outerdealmode:
  5810. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5811. type: integer
  5812. outgoodscode:
  5813. description: 商品代码(外部)
  5814. type: string
  5815. qtydecimalplace:
  5816. description: 成交量小数位
  5817. type: integer
  5818. quotegear:
  5819. description: 行情档位(1-10)
  5820. type: integer
  5821. quoteminunit:
  5822. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5823. type: integer
  5824. quoteshowtype:
  5825. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  5826. type: integer
  5827. quoteshowtypeinterval:
  5828. description: 行情报价间隔时间(秒)(成交价时为0)
  5829. type: integer
  5830. relatedgoodsid:
  5831. description: 关联参考商品ID
  5832. type: integer
  5833. remark:
  5834. description: 备注
  5835. type: string
  5836. trademode:
  5837. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5838. 21:竞拍-大宗式 22:受托竞价
  5839. type: integer
  5840. required:
  5841. - goodscode
  5842. - goodsid
  5843. - goodsname
  5844. - marketid
  5845. type: object
  5846. models.ErmcpGoodsBrand:
  5847. properties:
  5848. areauserid:
  5849. description: 所属机构
  5850. type: integer
  5851. brandid:
  5852. description: BrandID(SEQ_SPOTGOODSBRAND)
  5853. type: integer
  5854. brandname:
  5855. description: 品牌名称
  5856. type: string
  5857. createtime:
  5858. description: 创建时间
  5859. type: string
  5860. creatorid:
  5861. description: 创建人
  5862. type: integer
  5863. creatorsrc:
  5864. description: 创建人来源 - 1:管理端 2:终端
  5865. type: integer
  5866. deliverygoodsid:
  5867. description: 现货品种ID
  5868. type: integer
  5869. isvalid:
  5870. description: 是否有效 - 0:无效 1:有效
  5871. type: integer
  5872. updatetime:
  5873. description: 更新时间
  5874. type: string
  5875. updatorid:
  5876. description: 更新人
  5877. type: integer
  5878. updatorsrc:
  5879. description: 更新人来源 - 1:管理端 2:终端
  5880. type: integer
  5881. wrstandardid:
  5882. description: 现货商品ID
  5883. type: integer
  5884. type: object
  5885. models.ErmcpGoodsModel:
  5886. properties:
  5887. areauserid:
  5888. description: 所属机构
  5889. type: integer
  5890. convertfactor:
  5891. description: 标仓系数
  5892. type: number
  5893. createtime:
  5894. description: 创建时间
  5895. type: string
  5896. creatorid:
  5897. description: 创建人
  5898. type: integer
  5899. creatorsrc:
  5900. description: 创建人来源 - 1:管理端 2:终端
  5901. type: integer
  5902. deliverygoodsid:
  5903. description: 现货品种ID
  5904. type: integer
  5905. isvalid:
  5906. description: 是否有效 - 0:无效 1:有效
  5907. type: integer
  5908. modelid:
  5909. description: ModelID(SEQ_SPOTGOODSMODEL)
  5910. type: integer
  5911. modelname:
  5912. description: 型号名称
  5913. type: string
  5914. updatetime:
  5915. description: 更新时间
  5916. type: string
  5917. updatorid:
  5918. description: 更新人
  5919. type: integer
  5920. updatorsrc:
  5921. description: 更新人来源 - 1:管理端 2:终端
  5922. type: integer
  5923. wrstandardid:
  5924. description: 现货商品ID
  5925. type: integer
  5926. type: object
  5927. models.ErmcpHedgePosition:
  5928. properties:
  5929. accountid:
  5930. description: 资金账号[外部母账户]
  5931. type: integer
  5932. curbuyposition:
  5933. description: 期末买头寸
  5934. type: integer
  5935. cursellposition:
  5936. description: 期末卖头寸
  5937. type: integer
  5938. curtdbuyposition:
  5939. description: 期末今日买头寸
  5940. type: integer
  5941. curtdsellposition:
  5942. description: 期末今日卖头寸
  5943. type: integer
  5944. curydbuyposition:
  5945. description: 期末上日买头寸
  5946. type: integer
  5947. curydsellposition:
  5948. description: 期末上日卖头寸
  5949. type: integer
  5950. decreaseqty:
  5951. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5952. type: integer
  5953. fretdbuyposition:
  5954. description: 冻结今日买头寸
  5955. type: integer
  5956. fretdsellposition:
  5957. description: 冻结今日卖头寸
  5958. type: integer
  5959. freydbuyposition:
  5960. description: 冻结上日买头寸
  5961. type: integer
  5962. freydsellposition:
  5963. description: 冻结上日卖头寸
  5964. type: integer
  5965. goodscode:
  5966. description: 商品代码
  5967. type: string
  5968. goodsid:
  5969. description: 商品id
  5970. type: integer
  5971. goodsname:
  5972. description: 商品名称
  5973. type: string
  5974. hedgeaccountcode:
  5975. description: 对冲账号
  5976. type: string
  5977. hedgegoodsid:
  5978. description: 对冲合约ID
  5979. type: integer
  5980. increaseqty:
  5981. description: 增加数量 = 期末买头寸 - 期初买头寸
  5982. type: integer
  5983. marketid:
  5984. description: 市场ID
  5985. type: integer
  5986. relateduserid:
  5987. description: 关联用户id
  5988. type: integer
  5989. totalcurqty:
  5990. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5991. type: integer
  5992. totalydqty:
  5993. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5994. type: integer
  5995. tradedate:
  5996. description: 交易日(yyyyMMdd)
  5997. type: string
  5998. ydbuyposition:
  5999. description: 期初买头寸
  6000. type: integer
  6001. ydsellposition:
  6002. description: 期初卖头寸
  6003. type: integer
  6004. type: object
  6005. models.ErmcpHedgePositionDetail:
  6006. properties:
  6007. buyorsell:
  6008. description: 买卖方向 0-买 1-卖
  6009. type: integer
  6010. channelbuildtype:
  6011. description: 开平方向 1-建仓 2-平仓
  6012. type: integer
  6013. goodscode:
  6014. description: 商品代码
  6015. type: string
  6016. goodsname:
  6017. description: 商品名称
  6018. type: string
  6019. hedgegoodsid:
  6020. description: 商品id
  6021. type: integer
  6022. tradeqty:
  6023. description: 数量(成交数量)
  6024. type: integer
  6025. tradetime:
  6026. description: 时间(成交时间)
  6027. type: string
  6028. type: object
  6029. models.ErmcpHisExposure:
  6030. properties:
  6031. needhedgeexposoure:
  6032. description: 应套保敞口
  6033. type: number
  6034. reckondate:
  6035. description: 日照时期(yyyyMMdd)
  6036. type: string
  6037. totalexposure:
  6038. description: 总敞口
  6039. type: number
  6040. type: object
  6041. models.ErmcpHisExposureS:
  6042. properties:
  6043. data:
  6044. description: 历史敞口
  6045. items:
  6046. $ref: '#/definitions/models.ErmcpHisExposure'
  6047. type: array
  6048. enumdicname:
  6049. description: 单位名称
  6050. type: string
  6051. middlegoodscode:
  6052. description: 套保品种代码
  6053. type: string
  6054. middlegoodsid:
  6055. description: 套保品种ID
  6056. type: integer
  6057. middlegoodsname:
  6058. description: 套保品种名称
  6059. type: string
  6060. type: object
  6061. models.ErmcpLoginTaAccount:
  6062. properties:
  6063. accountid:
  6064. description: 账号id
  6065. type: integer
  6066. accountname:
  6067. description: 账号名称
  6068. type: string
  6069. type: object
  6070. models.ErmcpLoginUser:
  6071. properties:
  6072. acclist:
  6073. description: 关联资金账号
  6074. items:
  6075. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6076. type: array
  6077. accountname:
  6078. description: 用户名称
  6079. type: string
  6080. clientroleid:
  6081. description: 角色id(usertype=2)
  6082. type: integer
  6083. createtime:
  6084. description: 创建时间
  6085. type: string
  6086. logincode:
  6087. description: 登录代码
  6088. type: string
  6089. loginid:
  6090. description: 登录id(LOGINID)
  6091. type: integer
  6092. loginname:
  6093. description: 登录名称(loginaccount表中的accountname字段)
  6094. type: string
  6095. loginstatus:
  6096. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6097. type: integer
  6098. memberuserid:
  6099. description: 所属会员id
  6100. type: integer
  6101. mobile:
  6102. description: 手机号
  6103. type: string
  6104. modifytime:
  6105. description: 修改时间
  6106. type: string
  6107. password:
  6108. description: 密码(不可解密)
  6109. type: string
  6110. rolename:
  6111. description: 角色名称
  6112. type: string
  6113. rolestatus:
  6114. description: 角色状态 1-启用 2-停用
  6115. type: integer
  6116. roletype:
  6117. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6118. type: string
  6119. userid:
  6120. description: 用户id
  6121. type: integer
  6122. usertype:
  6123. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6124. type: integer
  6125. type: object
  6126. models.ErmcpLoginUserEx:
  6127. properties:
  6128. accountstatus:
  6129. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6130. type: integer
  6131. mobile:
  6132. description: 手机号
  6133. type: string
  6134. querytype:
  6135. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6136. type: integer
  6137. roleid:
  6138. description: 角色id(交易账户->用户id)
  6139. type: integer
  6140. rolename:
  6141. description: 角色名称(交易账户->用户名称)
  6142. type: string
  6143. userlist:
  6144. description: 用户列表
  6145. items:
  6146. $ref: '#/definitions/models.ErmcpLoginUser'
  6147. type: array
  6148. usertype:
  6149. description: 用户类型 2-机构 7-企业成员(云平台)
  6150. type: integer
  6151. type: object
  6152. models.ErmcpMiddleGoodsChangeLog:
  6153. properties:
  6154. aftervalue:
  6155. description: 变更后
  6156. type: number
  6157. applyid:
  6158. description: 操作人
  6159. type: integer
  6160. applyname:
  6161. description: 操作人名称
  6162. type: string
  6163. applysrc:
  6164. description: 操作来源 - 1:管理端 2:终端
  6165. type: integer
  6166. beforevalue:
  6167. description: 变更前
  6168. type: number
  6169. changelogtype:
  6170. description: 变更流水类型 - 1:套保比率变更
  6171. type: integer
  6172. handlestatus:
  6173. description: 处理状态
  6174. type: integer
  6175. logdatetime:
  6176. description: 流水日期
  6177. type: string
  6178. logid:
  6179. description: 流水ID
  6180. type: integer
  6181. logremark:
  6182. description: 流水备注
  6183. type: string
  6184. middlegoodsid:
  6185. description: 套保品种ID
  6186. type: integer
  6187. tradedate:
  6188. description: 交易日(yyyyMMdd)
  6189. type: string
  6190. updatetime:
  6191. description: 更新时间
  6192. type: string
  6193. type: object
  6194. models.ErmcpMiddleGoodsDetail:
  6195. properties:
  6196. cvList:
  6197. description: 期货品种折算列表
  6198. items:
  6199. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6200. type: array
  6201. mg:
  6202. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6203. description: 套保品种基本信息
  6204. type: object
  6205. wrcList:
  6206. description: 现货品种列表(现货商品折算配置)
  6207. items:
  6208. $ref: '#/definitions/models.WRSConverTDetail'
  6209. type: array
  6210. type: object
  6211. models.ErmcpMiddleGoodsModel:
  6212. properties:
  6213. areauserid:
  6214. description: 机构用户ID
  6215. type: integer
  6216. createtime:
  6217. description: 修改时间
  6218. type: string
  6219. enumdicname:
  6220. description: 单位名称
  6221. type: string
  6222. evaluateratio:
  6223. description: 估价系数
  6224. type: number
  6225. goodsgroupid:
  6226. description: 关联期货品种ID
  6227. type: integer
  6228. goodsunitid:
  6229. description: 单位ID
  6230. type: integer
  6231. isvalid:
  6232. description: 状态 0-无效(停用) 1-有效(正常)
  6233. type: integer
  6234. middlegoodscode:
  6235. description: 套保品种代码
  6236. type: string
  6237. middlegoodsid:
  6238. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6239. type: integer
  6240. middlegoodsname:
  6241. description: 套保品种名称
  6242. type: string
  6243. modifytime:
  6244. description: 修改时间
  6245. type: string
  6246. needarbitrageratio:
  6247. description: 套利比例
  6248. type: number
  6249. needhedgeratio:
  6250. description: 套保比率
  6251. type: number
  6252. qtydecimalplace:
  6253. description: 数量小数位
  6254. type: integer
  6255. relatedgoodsid:
  6256. description: 关联交易商品ID
  6257. type: integer
  6258. relatedgoodstype:
  6259. description: 关联商品类型 - 1:期货合约 2:现货品种
  6260. type: integer
  6261. remark:
  6262. description: 备注
  6263. type: string
  6264. type: object
  6265. models.ErmcpMiddlegoodsRelateGoods:
  6266. properties:
  6267. agreeunit:
  6268. description: 合约乘数
  6269. type: number
  6270. convertratio:
  6271. description: 折算系数
  6272. type: number
  6273. enumdicname:
  6274. description: 单位名称(交易商品)
  6275. type: string
  6276. goodscode:
  6277. description: 交易商品代码
  6278. type: string
  6279. goodsgroupid:
  6280. description: 交易品种id
  6281. type: integer
  6282. goodsid:
  6283. description: 商品Id
  6284. type: integer
  6285. goodsname:
  6286. description: 交易商品名称
  6287. type: string
  6288. goodunitid:
  6289. description: 交易商品单位id
  6290. type: integer
  6291. middlegoodsid:
  6292. description: 套保商品id
  6293. type: integer
  6294. middlegoodsname:
  6295. description: 套保商品名称
  6296. type: string
  6297. middlegoodsswcode:
  6298. description: 套保商品代码
  6299. type: string
  6300. needarbitrageratio:
  6301. description: 应套利比例
  6302. type: number
  6303. needhedgeratio:
  6304. description: 应套保比例
  6305. type: number
  6306. type: object
  6307. models.ErmcpOPLogModel:
  6308. properties:
  6309. aftervalue:
  6310. description: 变更后
  6311. type: number
  6312. applyid:
  6313. description: 操作人ID
  6314. type: string
  6315. applyname:
  6316. description: 操作人名称
  6317. type: string
  6318. beforevalue:
  6319. description: 变更前
  6320. type: number
  6321. biztype:
  6322. description: 业务类型 - 1:套保计划 2:现货合同
  6323. type: integer
  6324. contracttype:
  6325. description: 现货合同类型 - 1:采购 -1:销售
  6326. type: integer
  6327. logvalue:
  6328. description: 数值
  6329. type: number
  6330. operatelogtype:
  6331. description: 操作流水类型
  6332. type: integer
  6333. operatelogtypedesc:
  6334. description: 操作流水类型名称
  6335. type: string
  6336. relatedid:
  6337. description: 现货合同ID\套保计划
  6338. type: string
  6339. updatetime:
  6340. description: 更新时间
  6341. type: string
  6342. type: object
  6343. models.ErmcpPendingAudit:
  6344. properties:
  6345. areastockqty:
  6346. description: '待审核数量: 库存申请'
  6347. type: integer
  6348. businessdjqty:
  6349. description: '待审核数量: 点价'
  6350. type: integer
  6351. businessfpqty:
  6352. description: '待审核数量: 发票'
  6353. type: integer
  6354. businessjsqty:
  6355. description: '待审核数量: 结算'
  6356. type: integer
  6357. businesskxqty:
  6358. description: '待审核数量: 款项'
  6359. type: integer
  6360. hedgeplanqty:
  6361. description: '待审核数量: 套保计划'
  6362. type: integer
  6363. spotcontractqty:
  6364. description: '待审核数量: 现货合同'
  6365. type: integer
  6366. userqty:
  6367. description: '待审核数量: 用户'
  6368. type: integer
  6369. type: object
  6370. models.ErmcpRealExposureModel:
  6371. properties:
  6372. AreaUserID:
  6373. description: 所属机构
  6374. type: integer
  6375. BuyFutureQty:
  6376. description: 买入期货数量
  6377. type: number
  6378. BuyPlanQty:
  6379. description: 采购计划数量
  6380. type: number
  6381. BuyPricedQty:
  6382. description: 采购合同已定价数量
  6383. type: number
  6384. MiddleGoodsCode:
  6385. description: 套保品种代码
  6386. type: string
  6387. MiddleGoodsHedgeRatio:
  6388. description: 套保比例
  6389. type: number
  6390. MiddleGoodsID:
  6391. description: 套保品种
  6392. type: integer
  6393. MiddleGoodsName:
  6394. description: 套保品种名称
  6395. type: string
  6396. NeedHedgeExposoure:
  6397. description: 应套保敞口(套保敞口)
  6398. type: number
  6399. NeedHedgeRatio:
  6400. description: 应套保敞口比例
  6401. type: number
  6402. OriBuyFutureQty:
  6403. description: 期初买入期货数量
  6404. type: number
  6405. OriBuyPlanQty:
  6406. description: 期初采购计划数量
  6407. type: number
  6408. OriBuyPricedQty:
  6409. description: 期初采购合同已定价数量
  6410. type: number
  6411. OriSellFutureQty:
  6412. description: 期初卖出期货数量
  6413. type: number
  6414. OriSellPlanQty:
  6415. description: 期初销售计划数量
  6416. type: number
  6417. OriSellPricedQty:
  6418. description: 期初销售合同已定价数量
  6419. type: number
  6420. SellFutureQty:
  6421. description: 卖出期货数量
  6422. type: number
  6423. SellPlanQty:
  6424. description: 销售计划数量
  6425. type: number
  6426. SellPricedQty:
  6427. description: 销售合同已定价数量
  6428. type: number
  6429. TotalExposure:
  6430. description: 总敞口
  6431. type: number
  6432. TotalFutureQty:
  6433. description: 期货总量
  6434. type: number
  6435. TotalHedgeRatio:
  6436. description: 敞口比例
  6437. type: number
  6438. TotalNeedHedgeQty:
  6439. description: 应套保总量(现货应套保总量)
  6440. type: number
  6441. TotalSpotQty:
  6442. description: 现货总量
  6443. type: number
  6444. arbitrageqty:
  6445. description: 套利量
  6446. type: number
  6447. diffArbitrageQty:
  6448. description: 套利变动量
  6449. type: number
  6450. diffExposoureQty:
  6451. description: 变动量(套保敞口)
  6452. type: number
  6453. diffFutuQty:
  6454. description: 变动量(期货总量)
  6455. type: number
  6456. diffHedgeQty:
  6457. description: 套保变动量
  6458. type: number
  6459. diffQty:
  6460. description: 变动量(总敞口)
  6461. type: number
  6462. diffSpotHedgeQty:
  6463. description: 变动量(现货应套保总量)
  6464. type: number
  6465. diffSpotQty:
  6466. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6467. type: number
  6468. enumdicname:
  6469. description: 单位名称
  6470. type: string
  6471. hedgeqty:
  6472. description: 套保量
  6473. type: number
  6474. needarbitrageqty:
  6475. description: 应套利量
  6476. type: number
  6477. needarbitrageratio:
  6478. description: 套利比例
  6479. type: number
  6480. needhedgeqty:
  6481. description: 应套保量
  6482. type: number
  6483. oriTotalFutuQty:
  6484. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6485. type: number
  6486. oriTotalSpotQty:
  6487. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6488. type: number
  6489. oriarbitrageqty:
  6490. description: 期初套利量
  6491. type: number
  6492. orihedgeqty:
  6493. description: 期初套保量
  6494. type: number
  6495. orineedhedgeexposoure:
  6496. description: 期初套保敞口
  6497. type: number
  6498. oritotalexposure:
  6499. description: 期初总敞口
  6500. type: number
  6501. oritotalfutureqty:
  6502. description: 期初期货总量
  6503. type: number
  6504. oritotalneedhedgeqty:
  6505. description: 期初现货应套保量
  6506. type: number
  6507. type: object
  6508. models.ErmcpRole:
  6509. properties:
  6510. areauserid:
  6511. description: 所属机构
  6512. type: integer
  6513. autoid:
  6514. description: 角色ID(自增ID)
  6515. type: integer
  6516. modifierid:
  6517. description: 修改人(创建人)
  6518. type: integer
  6519. modifiername:
  6520. description: 修改人名称
  6521. type: string
  6522. modifytime:
  6523. description: 修改时间(创建时间)
  6524. type: string
  6525. rolename:
  6526. description: 角色名称
  6527. type: string
  6528. rolestatus:
  6529. description: 角色状态 - 1:启用 2:停用
  6530. type: integer
  6531. roletype:
  6532. description: 角色类型 - 1- 管理端 2- 交易端
  6533. type: integer
  6534. type: object
  6535. models.ErmcpRoleMenu:
  6536. properties:
  6537. iconame:
  6538. description: 菜单图标
  6539. type: string
  6540. ishadrole:
  6541. description: 是否有权限
  6542. type: boolean
  6543. menutype:
  6544. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6545. type: integer
  6546. parentcode:
  6547. description: 上级资源代码
  6548. type: string
  6549. remark:
  6550. description: 菜单备注
  6551. type: string
  6552. resourcecode:
  6553. description: 菜单代码
  6554. type: string
  6555. resourcelevel:
  6556. description: 级别
  6557. type: integer
  6558. resourcename:
  6559. description: 菜单名称
  6560. type: string
  6561. roleid:
  6562. description: 角色id
  6563. type: integer
  6564. sort:
  6565. description: 排序
  6566. type: integer
  6567. url:
  6568. description: URL
  6569. type: string
  6570. userid:
  6571. description: 用户id
  6572. type: integer
  6573. type: object
  6574. models.ErmcpRoleMenuEx:
  6575. properties:
  6576. menu:
  6577. $ref: '#/definitions/models.ErmcpRoleMenu'
  6578. description: 父级菜单
  6579. type: object
  6580. subMenu:
  6581. description: 子级菜单
  6582. items:
  6583. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6584. type: array
  6585. type: object
  6586. models.ErmcpTaAccount:
  6587. properties:
  6588. accountid:
  6589. description: 账户id
  6590. type: integer
  6591. accountname:
  6592. description: 账户名称
  6593. type: string
  6594. currencyid:
  6595. description: 币种id
  6596. type: integer
  6597. hedgeaccountcode:
  6598. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6599. type: string
  6600. ismain:
  6601. description: 是否主账户 0-否 1-是
  6602. type: integer
  6603. parentaccountid:
  6604. description: 父账户id
  6605. type: integer
  6606. relateduserid:
  6607. description: 关联userid
  6608. type: integer
  6609. tradefeetmpid:
  6610. description: 手续费模板id
  6611. type: integer
  6612. tradefeetmpname:
  6613. description: 手续费模板名称
  6614. type: string
  6615. trademargintmpid:
  6616. description: 保证金模板id
  6617. type: integer
  6618. trademargintmpname:
  6619. description: 保证金模板名称
  6620. type: string
  6621. traderatetmpid:
  6622. description: 汇率模板id
  6623. type: integer
  6624. traderatetmpname:
  6625. description: 汇率模板名称
  6626. type: string
  6627. tradestatus:
  6628. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6629. type: integer
  6630. userid:
  6631. description: 用户id
  6632. type: integer
  6633. type: object
  6634. models.ErmcpTaAccountEx:
  6635. properties:
  6636. mainAcc:
  6637. $ref: '#/definitions/models.ErmcpTaAccountM'
  6638. description: 主账号
  6639. type: object
  6640. subacclist:
  6641. description: 子账号列表
  6642. items:
  6643. $ref: '#/definitions/models.ErmcpTaAccount'
  6644. type: array
  6645. type: object
  6646. models.ErmcpTaAccountInfo:
  6647. properties:
  6648. accountid:
  6649. description: 资金账户ID
  6650. type: integer
  6651. accountname:
  6652. description: 账户名称
  6653. type: string
  6654. balance:
  6655. description: 期初余额
  6656. type: number
  6657. capitalbalance:
  6658. description: 本金余额[外部子账户实际出入金余额]
  6659. type: number
  6660. closepl:
  6661. description: 今日平仓盈亏
  6662. type: number
  6663. creditdecrease:
  6664. description: 今日授信减少
  6665. type: number
  6666. creditincrease:
  6667. description: 今日授信增加
  6668. type: number
  6669. curdebt:
  6670. description: 期末欠款
  6671. type: number
  6672. currencyid:
  6673. description: 货币ID
  6674. type: integer
  6675. currentbalance:
  6676. description: 期末余额
  6677. type: number
  6678. freezecharge:
  6679. description: 手续费冻结
  6680. type: number
  6681. freezemargin:
  6682. description: 冻结保证金
  6683. type: number
  6684. fromaccountid:
  6685. description: 所属上级账户
  6686. type: integer
  6687. inamount:
  6688. description: 今日入金金额(包括三方入金)
  6689. type: number
  6690. ismain:
  6691. description: 是否母账号 0:不是母账户 1:是母账户
  6692. type: integer
  6693. mortgagecredit:
  6694. description: 授信金额
  6695. type: number
  6696. oridebt:
  6697. description: 期初欠款
  6698. type: number
  6699. orifreezecharge:
  6700. description: 期初手续费冻结
  6701. type: number
  6702. orifreezemargin:
  6703. description: 期初冻结保证金
  6704. type: number
  6705. orimortgagecredit:
  6706. description: 期初授信金额
  6707. type: number
  6708. oriothercredit:
  6709. description: 期初其它授信金额
  6710. type: number
  6711. oriotherfreezemargin:
  6712. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6713. type: number
  6714. orioutamountfreeze:
  6715. description: 期初出金冻结
  6716. type: number
  6717. oriusedmargin:
  6718. description: 期初占用保证金
  6719. type: number
  6720. othercredit:
  6721. description: 其它授信金额
  6722. type: number
  6723. othercreditdecrease:
  6724. description: 今日其它授信减少
  6725. type: number
  6726. othercreditincrease:
  6727. description: 今日其它授信增加
  6728. type: number
  6729. otherfreezemargin:
  6730. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6731. type: number
  6732. outamount:
  6733. description: 今日出金金额(包括三方出金)
  6734. type: number
  6735. outamountfreeze:
  6736. description: 出金冻结
  6737. type: number
  6738. outthreshold:
  6739. description: 出金阈值
  6740. type: number
  6741. parentaccountid:
  6742. description: 所属根账号
  6743. type: integer
  6744. paycharge:
  6745. description: 今日手续费支出
  6746. type: number
  6747. relateduserid:
  6748. description: 关联用户
  6749. type: integer
  6750. signstatus:
  6751. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6752. type: integer
  6753. sublevelpath:
  6754. description: 账号层级路径(逗号分隔,首尾加逗号)
  6755. type: string
  6756. taaccounttype:
  6757. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6758. type: integer
  6759. thirdinamount:
  6760. description: 今日三方入金
  6761. type: number
  6762. thirdoutamount:
  6763. description: 今日三方出金
  6764. type: number
  6765. tradestatus:
  6766. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6767. type: integer
  6768. transferamount:
  6769. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6770. type: number
  6771. usedmargin:
  6772. description: 占用保证金
  6773. type: number
  6774. userid:
  6775. description: 用户ID
  6776. type: integer
  6777. type: object
  6778. models.ErmcpTaAccountM:
  6779. properties:
  6780. accountid:
  6781. description: 账户id
  6782. type: integer
  6783. accountname:
  6784. description: 账户名称
  6785. type: string
  6786. currencyid:
  6787. description: 币种id
  6788. type: integer
  6789. fcid:
  6790. description: 期货公司id
  6791. type: integer
  6792. fcname:
  6793. description: 期货公司代码
  6794. type: string
  6795. hedgeaccountcode:
  6796. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6797. type: string
  6798. ismain:
  6799. description: 是否主账户 0-否 1-是
  6800. type: integer
  6801. parentaccountid:
  6802. description: 父账户id
  6803. type: integer
  6804. relateduserid:
  6805. description: 关联userid
  6806. type: integer
  6807. tradefeetmpid:
  6808. description: 手续费模板id
  6809. type: integer
  6810. tradefeetmpname:
  6811. description: 手续费模板名称
  6812. type: string
  6813. trademargintmpid:
  6814. description: 保证金模板id
  6815. type: integer
  6816. trademargintmpname:
  6817. description: 保证金模板名称
  6818. type: string
  6819. traderatetmpid:
  6820. description: 汇率模板id
  6821. type: integer
  6822. traderatetmpname:
  6823. description: 汇率模板名称
  6824. type: string
  6825. tradestatus:
  6826. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6827. type: integer
  6828. userid:
  6829. description: 用户id
  6830. type: integer
  6831. type: object
  6832. models.ErmcpTradeConfigTMP:
  6833. properties:
  6834. areauserid:
  6835. description: 所属机构
  6836. type: integer
  6837. basiccurrencyid:
  6838. description: 基本币种ID[汇率] - 目标币种
  6839. type: integer
  6840. mainaccountid:
  6841. description: 主账户ID
  6842. type: integer
  6843. modifierid:
  6844. description: 修改人
  6845. type: integer
  6846. remark:
  6847. description: 备注
  6848. type: string
  6849. tradeconfigtmpid:
  6850. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6851. type: integer
  6852. tradeconfigtmpname:
  6853. description: 交易配置模板名称
  6854. type: string
  6855. tradeconfigtmptype:
  6856. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6857. type: integer
  6858. updatetime:
  6859. description: 更新时间
  6860. type: string
  6861. type: object
  6862. models.ErmcpUserModel:
  6863. properties:
  6864. address:
  6865. description: 通讯地址
  6866. type: string
  6867. attachment1:
  6868. description: 附件1
  6869. type: string
  6870. audittime:
  6871. description: 审核时间
  6872. type: string
  6873. cardbackphotourl:
  6874. description: 证件反面图片地址
  6875. type: string
  6876. cardfrontphotourl:
  6877. description: 证件正面图片地址
  6878. type: string
  6879. cardnum:
  6880. description: 证件号码
  6881. type: string
  6882. cardtype:
  6883. description: 证件类型
  6884. type: integer
  6885. cardtypename:
  6886. description: 证件类型名称
  6887. type: string
  6888. cityid:
  6889. description: 市
  6890. type: integer
  6891. contactname:
  6892. description: 联系人
  6893. type: string
  6894. countryid:
  6895. description: 国家
  6896. type: integer
  6897. createtime:
  6898. description: 创建时间
  6899. type: string
  6900. customername:
  6901. description: 企业名称
  6902. type: string
  6903. districtid:
  6904. description: 区域
  6905. type: integer
  6906. email:
  6907. description: 邮件
  6908. type: string
  6909. legalpersonname:
  6910. description: 法人姓名(企业)
  6911. type: string
  6912. memberuserid:
  6913. description: 所属机构ID
  6914. type: integer
  6915. mobile:
  6916. description: 手机号码
  6917. type: string
  6918. modifytime:
  6919. description: 修改时间
  6920. type: string
  6921. nickname:
  6922. description: 昵称
  6923. type: string
  6924. provinceid:
  6925. description: 省
  6926. type: integer
  6927. remark:
  6928. description: 备注
  6929. type: string
  6930. status:
  6931. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6932. type: integer
  6933. statusdesc:
  6934. description: 账户状态中文描述
  6935. type: string
  6936. taxpayernum:
  6937. description: 纳税人识别号
  6938. type: string
  6939. telphone:
  6940. description: 联系电话
  6941. type: string
  6942. userid:
  6943. description: 用户ID
  6944. type: integer
  6945. userinfotype:
  6946. description: 客户类型
  6947. type: string
  6948. type: object
  6949. models.ErmcpWareHouseInfo:
  6950. properties:
  6951. address:
  6952. description: 详细地址
  6953. type: string
  6954. areauserid:
  6955. description: 所属机构
  6956. type: integer
  6957. autoid:
  6958. description: 自增ID(仓库ID)
  6959. type: integer
  6960. cityid:
  6961. description: 市
  6962. type: integer
  6963. contactname:
  6964. description: 联系人
  6965. type: string
  6966. contactnum:
  6967. description: 联系电话
  6968. type: string
  6969. countryid:
  6970. description: 国家
  6971. type: integer
  6972. createtime:
  6973. description: 创建时间
  6974. type: string
  6975. districtid:
  6976. description: 区
  6977. type: integer
  6978. hasvideo:
  6979. description: 是否有视频 - 0:无 1:有
  6980. type: integer
  6981. provinceid:
  6982. description: 省
  6983. type: integer
  6984. remark:
  6985. description: 审核备注
  6986. type: string
  6987. videourl:
  6988. description: 视频地址
  6989. type: string
  6990. warehousecode:
  6991. description: 仓库代码
  6992. type: string
  6993. warehousename:
  6994. description: 仓库名称
  6995. type: string
  6996. warehousestatus:
  6997. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6998. type: integer
  6999. warehousetype:
  7000. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7001. type: integer
  7002. type: object
  7003. models.Externalexchange:
  7004. properties:
  7005. autoid:
  7006. description: AutoID - SEQ_EXTERNALEXCHANGE
  7007. type: integer
  7008. exchangefullname:
  7009. description: 外部交易所全称
  7010. type: string
  7011. exexchangecode:
  7012. description: 外部交易所代码
  7013. type: string
  7014. exexchangename:
  7015. description: 外部交易所名称(简称)
  7016. type: string
  7017. ismarketprice:
  7018. description: 是否支持市价 - 0:不支持 1:支持
  7019. type: integer
  7020. quotegear:
  7021. description: 行情档位(1-10)
  7022. type: integer
  7023. showbrokerflag:
  7024. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7025. type: integer
  7026. updatetime:
  7027. description: 更新时间
  7028. type: string
  7029. required:
  7030. - autoid
  7031. type: object
  7032. models.Funcmenulist:
  7033. properties:
  7034. iconame:
  7035. description: 菜单图标
  7036. type: string
  7037. menutype:
  7038. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7039. type: integer
  7040. parentcode:
  7041. description: 上级资源代码
  7042. type: string
  7043. remark:
  7044. description: 备注
  7045. type: string
  7046. resourcecode:
  7047. description: 资源代码
  7048. type: string
  7049. resourcelevel:
  7050. description: 级别 1-一级 2-二级 3-三级 4-四级
  7051. type: integer
  7052. resourcename:
  7053. description: 资源名
  7054. type: string
  7055. sort:
  7056. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7057. type: integer
  7058. url:
  7059. description: URL
  7060. type: string
  7061. required:
  7062. - resourcecode
  7063. type: object
  7064. models.Goods:
  7065. properties:
  7066. agreeunit:
  7067. description: 合约单位
  7068. type: number
  7069. auditaccountid:
  7070. description: 审核操作员账号
  7071. type: integer
  7072. audittime:
  7073. description: 审核时间
  7074. type: string
  7075. cancelaccountid:
  7076. description: 注销操作员账号
  7077. type: integer
  7078. canceltime:
  7079. description: 注销时间
  7080. type: string
  7081. closepricemode:
  7082. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7083. type: integer
  7084. closepriceparam:
  7085. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7086. type: number
  7087. createtime:
  7088. description: 创建时间
  7089. type: string
  7090. creatorid:
  7091. description: 创建人
  7092. type: integer
  7093. currencyid:
  7094. description: 报价货币ID
  7095. type: integer
  7096. cutmode:
  7097. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7098. type: integer
  7099. decimalplace:
  7100. description: 报价小数位
  7101. type: integer
  7102. delistingdate:
  7103. description: 商品退市时间(状态:退市) -- 已作废
  7104. type: string
  7105. delistingmode:
  7106. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7107. type: integer
  7108. deliveryflag:
  7109. description: 交割标志 - 0:不可交割 1:可交割
  7110. type: integer
  7111. forceclosemode:
  7112. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7113. type: integer
  7114. forceclosevalue:
  7115. description: 定期强平参数 [收益权]
  7116. type: integer
  7117. goodscode:
  7118. description: 商品代码(内部)
  7119. type: string
  7120. goodscurrencyid:
  7121. description: 合约货币ID
  7122. type: integer
  7123. goodsgroupid:
  7124. description: 所属商品组ID
  7125. type: integer
  7126. goodsid:
  7127. description: 商品ID(自增ID SEQ_GOODS)
  7128. type: integer
  7129. goodsname:
  7130. description: 商品名称
  7131. type: string
  7132. goodsquotetype:
  7133. description: '合约报价类型: 1-直接报价 2-间接报价'
  7134. type: integer
  7135. goodsstatus:
  7136. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7137. type: integer
  7138. goodstradetype:
  7139. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7140. type: integer
  7141. goodunitid:
  7142. description: 报价单位ID
  7143. type: integer
  7144. hasquoter:
  7145. description: 是否有报价商 - 0:无报价商 1:有报价商
  7146. type: integer
  7147. hqprotecttime:
  7148. description: 行情保护时间(秒)
  7149. type: integer
  7150. innerdealmode:
  7151. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7152. type: integer
  7153. isbuylimited:
  7154. description: 是否限制建仓量 - 0:不限制 1:限制
  7155. type: integer
  7156. lasttradedate:
  7157. description: 最后交易日期(状态:待退市)
  7158. type: string
  7159. listingdate:
  7160. description: 交易开始日期
  7161. type: string
  7162. marketid:
  7163. description: 所属市场ID
  7164. type: integer
  7165. modifierid:
  7166. description: 修改人
  7167. type: integer
  7168. modifystatus:
  7169. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7170. type: integer
  7171. modifytime:
  7172. description: 修改时间
  7173. type: string
  7174. outerdealmode:
  7175. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7176. type: integer
  7177. outgoodscode:
  7178. description: 商品代码(外部)
  7179. type: string
  7180. qtydecimalplace:
  7181. description: 成交量小数位
  7182. type: integer
  7183. quotegear:
  7184. description: 行情档位(1-10)
  7185. type: integer
  7186. quoteminunit:
  7187. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7188. type: integer
  7189. quoteshowtype:
  7190. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7191. type: integer
  7192. quoteshowtypeinterval:
  7193. description: 行情报价间隔时间(秒)(成交价时为0)
  7194. type: integer
  7195. remark:
  7196. description: 备注
  7197. type: string
  7198. required:
  7199. - goodscode
  7200. - goodsid
  7201. - goodsname
  7202. - marketid
  7203. type: object
  7204. models.GoodsIDAndName:
  7205. properties:
  7206. goodscode:
  7207. description: 商品代码(内部)
  7208. type: string
  7209. goodsid:
  7210. description: 商品ID(自增ID SEQ_GOODS)
  7211. type: integer
  7212. goodsname:
  7213. description: 商品名称
  7214. type: string
  7215. marketid:
  7216. description: 所属市场ID
  7217. type: integer
  7218. required:
  7219. - goodscode
  7220. - goodsid
  7221. - goodsname
  7222. - marketid
  7223. type: object
  7224. models.Goodsgroup:
  7225. properties:
  7226. agreeunit:
  7227. description: 合约单位
  7228. type: number
  7229. canshort:
  7230. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7231. type: integer
  7232. closepricemode:
  7233. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7234. type: integer
  7235. closepriceparam:
  7236. description: 强平最新价浮动比例 - 方式为2时使用
  7237. type: number
  7238. createtime:
  7239. description: 创建时间
  7240. type: string
  7241. creatorid:
  7242. description: 创建人
  7243. type: integer
  7244. currencyid:
  7245. description: 报价货币ID
  7246. type: integer
  7247. decimalplace:
  7248. description: 报价小数位
  7249. type: integer
  7250. exercisetype:
  7251. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7252. type: integer
  7253. exexchangeid:
  7254. description: 外部交易所ID[通道交易]
  7255. type: integer
  7256. goodsgroupid:
  7257. description: 商品组ID(自增ID)
  7258. type: integer
  7259. goodsgroupname:
  7260. description: 商品组名称
  7261. type: string
  7262. goodsgroupstatus:
  7263. description: 商品组状态 - 1:正常 2:注销
  7264. type: integer
  7265. goodunitid:
  7266. description: 报价单位ID
  7267. type: integer
  7268. innerdealmode:
  7269. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7270. type: integer
  7271. isbuylimited:
  7272. description: 是否限制建仓量 - 0:不限制 1:限制
  7273. type: integer
  7274. marketid:
  7275. description: 所属市场ID
  7276. type: integer
  7277. modifierid:
  7278. description: 修改人
  7279. type: integer
  7280. modifytime:
  7281. description: 修改时间
  7282. type: string
  7283. outerdealmode:
  7284. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7285. type: integer
  7286. outergroupcode:
  7287. description: 外部商品组代码[通道交易]
  7288. type: string
  7289. premiumdecimalplace:
  7290. description: 权利金小数位[场外期权]
  7291. type: integer
  7292. premiumspreadalgorithm:
  7293. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7294. type: integer
  7295. premiumspreadvalue:
  7296. description: 权利金点差值[场外期权]
  7297. type: number
  7298. qtydecimalplace:
  7299. description: 成交量小数位
  7300. type: integer
  7301. quotegear:
  7302. description: 行情档位(1-10)
  7303. type: integer
  7304. quoteminunit:
  7305. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7306. type: integer
  7307. quoterid:
  7308. description: 报价商ID[场外期权]
  7309. type: integer
  7310. quotesourcegroupid:
  7311. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7312. type: integer
  7313. syncgoodsqty:
  7314. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7315. type: integer
  7316. required:
  7317. - goodsgroupid
  7318. - goodsgroupname
  7319. - goodsgroupstatus
  7320. - marketid
  7321. type: object
  7322. models.Goodssortbypreposition:
  7323. properties:
  7324. goodscode:
  7325. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7326. type: string
  7327. goodsgroupcode:
  7328. description: 品种代码
  7329. type: string
  7330. prepositionqty:
  7331. description: 昨持仓量
  7332. type: integer
  7333. sortindex:
  7334. description: 排序
  7335. type: integer
  7336. tradedate:
  7337. description: 交易日
  7338. type: string
  7339. updatetime:
  7340. description: 更新时间
  7341. type: string
  7342. required:
  7343. - goodscode
  7344. - tradedate
  7345. type: object
  7346. models.Hedgeinnerholderdetail:
  7347. properties:
  7348. accountid:
  7349. description: 账号ID
  7350. type: integer
  7351. buyorsell:
  7352. description: 方向 - 0:买 1:卖
  7353. type: integer
  7354. freezeqty:
  7355. description: 冻结数量 - 按单平使用
  7356. type: integer
  7357. goodsid:
  7358. description: 商品ID
  7359. type: integer
  7360. holderamount:
  7361. description: 持仓金额 [商品币种]
  7362. type: number
  7363. holderdays:
  7364. description: 剩余冻结天数
  7365. type: integer
  7366. holderprice:
  7367. description: 持仓价格
  7368. type: number
  7369. holderqty:
  7370. description: 持仓数量
  7371. type: integer
  7372. marketid:
  7373. description: 市场ID
  7374. type: integer
  7375. openprice:
  7376. description: 建仓价格
  7377. type: number
  7378. openqty:
  7379. description: 建仓数量
  7380. type: integer
  7381. parentaccountid:
  7382. description: 所属母账户
  7383. type: integer
  7384. releaseamount:
  7385. description: 释放持仓金额[商品币种]
  7386. type: number
  7387. tradeamount:
  7388. description: 成交金额[账户]
  7389. type: number
  7390. tradedate:
  7391. description: 交易日(yyyyMMdd)
  7392. type: string
  7393. tradeid:
  7394. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7395. type: string
  7396. tradetime:
  7397. description: 交易时间
  7398. type: string
  7399. required:
  7400. - buyorsell
  7401. - tradeid
  7402. type: object
  7403. models.Hedgemarketopenlog:
  7404. properties:
  7405. accountid:
  7406. description: 资金账号[外部母账户]
  7407. type: integer
  7408. fcname:
  7409. description: 期货公司名称
  7410. type: string
  7411. handlestatus:
  7412. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7413. type: integer
  7414. marketid:
  7415. description: 市场ID
  7416. type: integer
  7417. status:
  7418. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7419. type: integer
  7420. tradedate:
  7421. description: 交易日(yyyyMMdd)
  7422. type: string
  7423. updatetime:
  7424. description: 更新时间
  7425. type: string
  7426. required:
  7427. - accountid
  7428. type: object
  7429. models.HsbyBuyMyPayOrder:
  7430. properties:
  7431. agreeunit:
  7432. description: 合约单位
  7433. type: number
  7434. buyaccountid:
  7435. description: 买方账号ID[报价币种]
  7436. type: integer
  7437. buyorderid:
  7438. description: 买方委托单号
  7439. type: string
  7440. createtime:
  7441. description: 创建时间
  7442. type: string
  7443. currencysign:
  7444. description: 货币符号
  7445. type: string
  7446. decimalplace:
  7447. description: 报价小数位
  7448. type: integer
  7449. goodscode:
  7450. description: 商品代码(内部)
  7451. type: string
  7452. goodsid:
  7453. description: 商品ID
  7454. type: integer
  7455. goodsname:
  7456. description: 商品名称
  7457. type: string
  7458. marketid:
  7459. description: 市场ID
  7460. type: integer
  7461. offamount:
  7462. description: 优惠金额
  7463. type: number
  7464. originalamount:
  7465. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7466. type: number
  7467. payamount:
  7468. description: 支付金额 = TradeAmount + TradeCharge
  7469. type: number
  7470. payflag:
  7471. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7472. type: integer
  7473. paylimitedtime:
  7474. description: 支付期限
  7475. type: string
  7476. paytime:
  7477. description: 付款时间
  7478. type: string
  7479. picurls1:
  7480. description: 预售商品介绍图片[多张用逗号分隔]
  7481. type: string
  7482. picurls2:
  7483. description: 挂牌商品介绍图片[多张用逗号分隔]
  7484. type: string
  7485. sellaccountid:
  7486. description: 卖方账号ID[报价币种]
  7487. type: integer
  7488. sellorderid:
  7489. description: 卖方委托单号
  7490. type: string
  7491. tradeamount:
  7492. description: 成交金额
  7493. type: number
  7494. tradecharge:
  7495. description: 成交手续费(买方)
  7496. type: number
  7497. tradedate:
  7498. description: 交易日(yyyyMMdd)
  7499. type: string
  7500. tradeid:
  7501. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7502. type: string
  7503. trademode:
  7504. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7505. 21:竞拍-大宗式 22:受托竞价
  7506. type: integer
  7507. tradeprice:
  7508. description: 成交价格
  7509. type: number
  7510. tradeqty:
  7511. description: 成交数量
  7512. type: integer
  7513. vendorname1:
  7514. description: 预售商品供应商名称
  7515. type: string
  7516. vendorname2:
  7517. description: 挂牌商品供应商名称
  7518. type: string
  7519. required:
  7520. - goodscode
  7521. - goodsname
  7522. - tradeid
  7523. - trademode
  7524. type: object
  7525. models.HsbyBuyMyTradeDetail:
  7526. properties:
  7527. accountid:
  7528. description: 账户ID[报价币种]
  7529. type: integer
  7530. agreeunit:
  7531. description: 合约单位
  7532. type: number
  7533. amount:
  7534. description: 金额 = 价格 * 数量 * 合约单位
  7535. type: number
  7536. buyorsell:
  7537. description: 买卖 - 0:买 1:卖
  7538. type: integer
  7539. currencysign:
  7540. description: 货币符号
  7541. type: string
  7542. decimalplace:
  7543. description: 报价小数位
  7544. type: integer
  7545. goodscode:
  7546. description: 商品代码(内部)
  7547. type: string
  7548. goodsid:
  7549. description: 商品ID
  7550. type: integer
  7551. goodsname:
  7552. description: 商品名称
  7553. type: string
  7554. marketid:
  7555. description: 市场ID
  7556. type: integer
  7557. orderamount:
  7558. description: 委托金额
  7559. type: number
  7560. orderid:
  7561. description: 单号(成交单号)
  7562. type: string
  7563. picurls1:
  7564. description: 预售商品介绍图片[多张用逗号分隔]
  7565. type: string
  7566. picurls2:
  7567. description: 挂牌商品介绍图片[多张用逗号分隔]
  7568. type: string
  7569. price:
  7570. description: 价格
  7571. type: number
  7572. qty:
  7573. description: 数量
  7574. type: integer
  7575. time:
  7576. description: 时间
  7577. type: string
  7578. trademode:
  7579. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7580. 21:竞拍-大宗式 22:受托竞价
  7581. type: integer
  7582. vendorname1:
  7583. description: 预售商品供应商名称
  7584. type: string
  7585. vendorname2:
  7586. description: 挂牌商品供应商名称
  7587. type: string
  7588. required:
  7589. - accountid
  7590. - buyorsell
  7591. - goodscode
  7592. - goodsid
  7593. - goodsname
  7594. - marketid
  7595. - orderid
  7596. - qty
  7597. - time
  7598. - trademode
  7599. type: object
  7600. models.HsbyGoodsOrderDetail:
  7601. properties:
  7602. buyorsell:
  7603. description: 买卖 - 0:买 1:卖
  7604. type: integer
  7605. currencysign:
  7606. description: 货币符号
  7607. type: string
  7608. customername:
  7609. description: 客户名称(企业名称),已脱敏
  7610. type: string
  7611. enableqty:
  7612. description: 可用数量
  7613. type: integer
  7614. goodunit:
  7615. description: 报价单位
  7616. type: string
  7617. orderid:
  7618. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7619. type: string
  7620. orderprice:
  7621. description: 委托价格
  7622. type: number
  7623. ordertime:
  7624. description: 委托时间
  7625. type: string
  7626. required:
  7627. - buyorsell
  7628. - orderid
  7629. - ordertime
  7630. type: object
  7631. models.HsbyListingGoodsDetail:
  7632. properties:
  7633. agreeunit:
  7634. description: 合约单位
  7635. type: number
  7636. buymaxqty:
  7637. description: 购买上限 [71] - 0为不限
  7638. type: integer
  7639. currency:
  7640. description: 货币
  7641. type: string
  7642. currencysign:
  7643. description: 货币符号
  7644. type: string
  7645. decimalplace:
  7646. description: 报价小数位
  7647. type: integer
  7648. desccityid:
  7649. description: 目的地(市)ID
  7650. type: integer
  7651. descprovinceid:
  7652. description: 目的地(省)ID
  7653. type: integer
  7654. goodscode:
  7655. description: 商品代码(内部)
  7656. type: string
  7657. goodsdesc:
  7658. description: 商品详情
  7659. type: string
  7660. goodsid:
  7661. description: 商品ID(自增ID SEQ_GOODS)
  7662. type: integer
  7663. goodsname:
  7664. description: 商品名称
  7665. type: string
  7666. goodsprice:
  7667. description: 商品价格
  7668. type: number
  7669. hotindex:
  7670. description: 景点热度
  7671. type: integer
  7672. last:
  7673. description: 现价
  7674. type: number
  7675. limitdown:
  7676. description: 跌停价
  7677. type: number
  7678. limitup:
  7679. description: 涨停价
  7680. type: number
  7681. lotsize:
  7682. description: 手数最小变动单位
  7683. type: integer
  7684. marketid:
  7685. description: 所属市场ID
  7686. type: integer
  7687. picurls:
  7688. description: 介绍图片[多张用逗号分隔]
  7689. type: string
  7690. quoteminunit:
  7691. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7692. type: integer
  7693. stepvalue:
  7694. description: 价格最小变动单位
  7695. type: number
  7696. trademode:
  7697. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7698. 21:竞拍-大宗式 22:受托竞价
  7699. type: integer
  7700. vendorattr:
  7701. description: 供应商附件(多张,逗号分隔)
  7702. type: string
  7703. vendorname:
  7704. description: 供应商名称
  7705. type: string
  7706. vendorphone:
  7707. description: 供应商客服电话
  7708. type: string
  7709. videourls:
  7710. description: 介绍视频[多张用逗号分隔]
  7711. type: string
  7712. required:
  7713. - goodscode
  7714. - goodsid
  7715. - goodsname
  7716. - marketid
  7717. - trademode
  7718. type: object
  7719. models.HsbyMarketGoods:
  7720. properties:
  7721. accountid:
  7722. description: 账户ID[报价币种]
  7723. type: integer
  7724. agreeunit:
  7725. description: 合约单位
  7726. type: number
  7727. buyorsell:
  7728. description: 买卖 - 0:买 1:卖
  7729. type: integer
  7730. categoryid:
  7731. description: 类别ID(WRCATEGORY)
  7732. type: integer
  7733. currency:
  7734. description: 货币
  7735. type: string
  7736. currencysign:
  7737. description: 货币符号
  7738. type: string
  7739. customername:
  7740. description: 卖家名称
  7741. type: string
  7742. decimalplace:
  7743. description: 报价小数位
  7744. type: integer
  7745. goodscode:
  7746. description: 商品代码(内部)
  7747. type: string
  7748. goodsid:
  7749. description: 商品ID
  7750. type: integer
  7751. goodsname:
  7752. description: 商品名称
  7753. type: string
  7754. goodsprice:
  7755. description: 商品价格
  7756. type: number
  7757. hascoupon:
  7758. description: 是否可用优惠卷
  7759. type: boolean
  7760. hotindex:
  7761. description: 景点热度
  7762. type: integer
  7763. marketid:
  7764. description: 市场ID
  7765. type: integer
  7766. orderid:
  7767. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7768. type: string
  7769. orderprice:
  7770. description: 委托价格
  7771. type: number
  7772. orderstatus:
  7773. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7774. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7775. 16:成交失败违约(荷兰式竞拍专用)
  7776. type: integer
  7777. picurls:
  7778. description: 介绍图片[多张用逗号分隔]
  7779. type: string
  7780. quoteminunit:
  7781. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7782. type: integer
  7783. sellUserID:
  7784. description: 卖方UserID
  7785. type: integer
  7786. trademode:
  7787. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7788. 21:竞拍-大宗式 22:受托竞价
  7789. type: integer
  7790. videourls:
  7791. description: 介绍视频[多张用逗号分隔]
  7792. type: string
  7793. required:
  7794. - accountid
  7795. - buyorsell
  7796. - goodscode
  7797. - goodsid
  7798. - goodsname
  7799. - marketid
  7800. - orderid
  7801. - trademode
  7802. type: object
  7803. models.HsbyMarketGoodsDetail:
  7804. properties:
  7805. accountid:
  7806. description: 账户ID[报价币种]
  7807. type: integer
  7808. agreeunit:
  7809. description: 合约单位
  7810. type: number
  7811. buymaxqty:
  7812. description: 购买上限 [71] - 0为不限
  7813. type: integer
  7814. buyorsell:
  7815. description: 买卖 - 0:买 1:卖
  7816. type: integer
  7817. cancelqty:
  7818. description: 撤单数量
  7819. type: integer
  7820. categoryid:
  7821. description: 类别ID(WRCATEGORY)
  7822. type: integer
  7823. currency:
  7824. description: 货币
  7825. type: string
  7826. currencysign:
  7827. description: 货币符号
  7828. type: string
  7829. customername:
  7830. description: 卖家名称
  7831. type: string
  7832. decimalplace:
  7833. description: 报价小数位
  7834. type: integer
  7835. goodscode:
  7836. description: 商品代码(内部)
  7837. type: string
  7838. goodsdesc:
  7839. description: 商品详情
  7840. type: string
  7841. goodsid:
  7842. description: 商品ID
  7843. type: integer
  7844. goodsname:
  7845. description: 商品名称
  7846. type: string
  7847. goodsprice:
  7848. description: 商品价格
  7849. type: number
  7850. hotindex:
  7851. description: 景点热度
  7852. type: integer
  7853. lotsize:
  7854. description: 手数最小变动单位
  7855. type: integer
  7856. marketid:
  7857. description: 市场ID
  7858. type: integer
  7859. orderid:
  7860. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7861. type: string
  7862. orderprice:
  7863. description: 委托价格
  7864. type: number
  7865. orderqty:
  7866. description: 委托数量
  7867. type: integer
  7868. orderstatus:
  7869. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7870. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7871. 16:成交失败违约(荷兰式竞拍专用)
  7872. type: integer
  7873. picurls:
  7874. description: 介绍图片[多张用逗号分隔]
  7875. type: string
  7876. quoteminunit:
  7877. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7878. type: integer
  7879. sellUserID:
  7880. description: 卖方UserID
  7881. type: integer
  7882. trademode:
  7883. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7884. 21:竞拍-大宗式 22:受托竞价
  7885. type: integer
  7886. tradeqty:
  7887. description: 成交数量
  7888. type: integer
  7889. vendorattr:
  7890. description: 供应商附件(多张,逗号分隔)
  7891. type: string
  7892. vendorname:
  7893. description: 供应商名称
  7894. type: string
  7895. vendorphone:
  7896. description: 供应商客服电话
  7897. type: string
  7898. videourls:
  7899. description: 介绍视频[多张用逗号分隔]
  7900. type: string
  7901. required:
  7902. - accountid
  7903. - buyorsell
  7904. - goodscode
  7905. - goodsid
  7906. - goodsname
  7907. - marketid
  7908. - orderid
  7909. - orderqty
  7910. - trademode
  7911. type: object
  7912. models.HsbyMarketInfo:
  7913. properties:
  7914. marketid:
  7915. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7916. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7917. type: integer
  7918. marketname:
  7919. description: 市场名称
  7920. type: string
  7921. marketstatus:
  7922. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7923. type: integer
  7924. trademode:
  7925. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7926. 21:竞拍-大宗式 22:受托竞价
  7927. type: integer
  7928. required:
  7929. - marketid
  7930. - marketstatus
  7931. - trademode
  7932. type: object
  7933. models.HsbyMyGoods:
  7934. properties:
  7935. accountid:
  7936. description: 账号Id
  7937. type: integer
  7938. agreeunit:
  7939. description: 合约单位
  7940. type: number
  7941. buyaverageprice:
  7942. description: 持仓均价
  7943. type: number
  7944. buycurholderamount:
  7945. description: 买当前持仓总金额[商品币种]
  7946. type: number
  7947. buycurpositionqty:
  7948. description: 买当前持仓总数量
  7949. type: integer
  7950. buymaxqty:
  7951. description: 购买上限 [71] - 0为不限
  7952. type: integer
  7953. currencysign:
  7954. description: 货币符号
  7955. type: string
  7956. decimalplace:
  7957. description: 报价小数位
  7958. type: integer
  7959. enableqty:
  7960. description: 可用数量
  7961. type: integer
  7962. goodscode:
  7963. description: 商品代码(内部)
  7964. type: string
  7965. goodsid:
  7966. description: 商品Id
  7967. type: integer
  7968. goodsname:
  7969. description: 商品名称
  7970. type: string
  7971. goodsprice:
  7972. description: 商品价格
  7973. type: number
  7974. goodsstatus:
  7975. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7976. type: integer
  7977. last:
  7978. description: 现价(仅使用于挂牌点选)
  7979. type: number
  7980. limitdown:
  7981. description: 跌停价(仅使用于挂牌点选)
  7982. type: number
  7983. limitup:
  7984. description: 涨停价(仅使用于挂牌点选)
  7985. type: number
  7986. lotsize:
  7987. description: 手数最小变动单位
  7988. type: integer
  7989. marketid:
  7990. description: 所属市场ID
  7991. type: integer
  7992. picurls:
  7993. description: 介绍图片[多张用逗号分隔]
  7994. type: string
  7995. quoteminunit:
  7996. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7997. type: integer
  7998. stepvalue:
  7999. description: 价格最小变动单位
  8000. type: number
  8001. trademode:
  8002. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8003. 21:竞拍-大宗式 22:受托竞价
  8004. type: integer
  8005. required:
  8006. - accountid
  8007. - goodscode
  8008. - goodsid
  8009. - goodsname
  8010. - marketid
  8011. - trademode
  8012. type: object
  8013. models.HsbyMyPackage:
  8014. properties:
  8015. accountid:
  8016. description: 账户ID
  8017. type: integer
  8018. address:
  8019. description: 提货人详细地址
  8020. type: string
  8021. agreeunit:
  8022. description: 合约单位
  8023. type: number
  8024. amount:
  8025. description: 提货金额
  8026. type: number
  8027. auditer:
  8028. description: 审核人
  8029. type: integer
  8030. audittime:
  8031. description: 审核时间
  8032. type: string
  8033. averageprice:
  8034. description: 均价
  8035. type: number
  8036. cardnum:
  8037. description: 提货人证件号码
  8038. type: string
  8039. cardtypeid:
  8040. description: 提货人证件类型
  8041. type: integer
  8042. checkremark:
  8043. description: 审核备注
  8044. type: string
  8045. currencysign:
  8046. description: 货币符号
  8047. type: string
  8048. decimalplace:
  8049. description: 报价小数位
  8050. type: integer
  8051. goodscode:
  8052. description: 商品代码(内部)
  8053. type: string
  8054. goodsid:
  8055. description: 商品ID
  8056. type: integer
  8057. goodsname:
  8058. description: 商品名称
  8059. type: string
  8060. handlestatus:
  8061. description: 处理状态
  8062. type: integer
  8063. marketid:
  8064. description: 市场ID
  8065. type: integer
  8066. phonenum:
  8067. description: 提货人联系方式
  8068. type: string
  8069. picurls:
  8070. description: 介绍图片[多张用逗号分隔]
  8071. type: string
  8072. qty:
  8073. description: 提货数量
  8074. type: number
  8075. recivername:
  8076. description: 提货人姓名
  8077. type: string
  8078. reqtime:
  8079. description: 更新时间
  8080. type: string
  8081. takemode:
  8082. description: 提货方式 - 2:自提 3:配送
  8083. type: integer
  8084. takeorderid:
  8085. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8086. type: string
  8087. takeorderstatus:
  8088. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8089. type: integer
  8090. takeremark:
  8091. description: 提货备注
  8092. type: string
  8093. tradedate:
  8094. description: 交易日(yyyyMMdd)
  8095. type: string
  8096. trademode:
  8097. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8098. 21:竞拍-大宗式 22:受托竞价
  8099. type: integer
  8100. userid:
  8101. description: 用户ID
  8102. type: integer
  8103. vendorname:
  8104. description: 供应商名称
  8105. type: string
  8106. required:
  8107. - goodscode
  8108. - goodsname
  8109. - takeorderid
  8110. - trademode
  8111. type: object
  8112. models.HsbyPreGoods:
  8113. properties:
  8114. agreeunit:
  8115. description: 合约单位
  8116. type: number
  8117. currency:
  8118. description: 货币
  8119. type: string
  8120. currencysign:
  8121. description: 货币符号
  8122. type: string
  8123. decimalplace:
  8124. description: 报价小数位
  8125. type: integer
  8126. desccityid:
  8127. description: 目的地(市)
  8128. type: integer
  8129. descprovinceid:
  8130. description: 目的地(省)
  8131. type: integer
  8132. enableqty:
  8133. description: 剩余数量
  8134. type: integer
  8135. goodscode:
  8136. description: 商品代码(内部)
  8137. type: string
  8138. goodsid:
  8139. description: 商品ID(自增ID SEQ_GOODS)
  8140. type: integer
  8141. goodsname:
  8142. description: 商品名称
  8143. type: string
  8144. goodsstatus:
  8145. description: 商品状态- 2:未上市 3:上市
  8146. type: integer
  8147. lasttradedate:
  8148. description: 最后交易日期(状态:待退市)
  8149. type: string
  8150. listingdate:
  8151. description: 交易开始日期
  8152. type: string
  8153. marketid:
  8154. description: 所属市场ID
  8155. type: integer
  8156. picurls:
  8157. description: 介绍图片[多张用逗号分隔]
  8158. type: string
  8159. presaledqty:
  8160. description: 已预售量(预售结束时更新)
  8161. type: integer
  8162. presaleqty:
  8163. description: 预售数量
  8164. type: integer
  8165. quoteminunit:
  8166. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8167. type: integer
  8168. refprice:
  8169. description: 参考价格[一口价]
  8170. type: number
  8171. relatedgoodsid:
  8172. description: 关联交易合约ID
  8173. type: integer
  8174. trademode:
  8175. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8176. 21:竞拍-大宗式 22:受托竞价
  8177. type: integer
  8178. videourls:
  8179. description: 介绍视频[多张用逗号分隔]
  8180. type: string
  8181. required:
  8182. - goodscode
  8183. - goodsid
  8184. - goodsname
  8185. - marketid
  8186. - trademode
  8187. type: object
  8188. models.HsbyPreGoodsDetail:
  8189. properties:
  8190. agreeunit:
  8191. description: 合约单位
  8192. type: number
  8193. buymaxqty:
  8194. description: 购买上限 [71] - 0为不限
  8195. type: integer
  8196. currency:
  8197. description: 货币
  8198. type: string
  8199. currencysign:
  8200. description: 货币符号
  8201. type: string
  8202. customername:
  8203. description: 发行单位
  8204. type: string
  8205. decimalplace:
  8206. description: 报价小数位
  8207. type: integer
  8208. desccityid:
  8209. description: 目的地(市)ID
  8210. type: integer
  8211. descprovinceid:
  8212. description: 目的地(省)ID
  8213. type: integer
  8214. enableqty:
  8215. description: 剩余数量
  8216. type: integer
  8217. goodscode:
  8218. description: 商品代码(内部)
  8219. type: string
  8220. goodsdesc:
  8221. description: 商品详情
  8222. type: string
  8223. goodsid:
  8224. description: 商品ID(自增ID SEQ_GOODS)
  8225. type: integer
  8226. goodsname:
  8227. description: 商品名称
  8228. type: string
  8229. goodsstatus:
  8230. description: 商品状态- 2:未上市 3:上市
  8231. type: integer
  8232. goodunit:
  8233. description: 报价单位
  8234. type: string
  8235. lasttradedate:
  8236. description: 最后交易日期(状态:待退市)
  8237. type: string
  8238. listingdate:
  8239. description: 交易开始日期
  8240. type: string
  8241. lotsize:
  8242. description: 手数最小变动单位
  8243. type: integer
  8244. marketid:
  8245. description: 所属市场ID
  8246. type: integer
  8247. picurls:
  8248. description: 介绍图片[多张用逗号分隔]
  8249. type: string
  8250. presaledqty:
  8251. description: 已预售量(预售结束时更新)
  8252. type: integer
  8253. presaleqty:
  8254. description: 预售数量
  8255. type: integer
  8256. quoteminunit:
  8257. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8258. type: integer
  8259. refprice:
  8260. description: 参考价格[一口价]
  8261. type: number
  8262. relatedgoodsid:
  8263. description: 关联交易合约ID
  8264. type: integer
  8265. stepvalue:
  8266. description: 价格最小变动单位
  8267. type: number
  8268. trademode:
  8269. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8270. 21:竞拍-大宗式 22:受托竞价
  8271. type: integer
  8272. vendorattr:
  8273. description: 供应商附件(多张,逗号分隔)
  8274. type: string
  8275. vendorname:
  8276. description: 供应商名称
  8277. type: string
  8278. vendorphone:
  8279. description: 供应商客服电话
  8280. type: string
  8281. videourls:
  8282. description: 介绍视频[多张用逗号分隔]
  8283. type: string
  8284. required:
  8285. - goodscode
  8286. - goodsid
  8287. - goodsname
  8288. - marketid
  8289. - trademode
  8290. type: object
  8291. models.HsbySellCollectionOrder:
  8292. properties:
  8293. agreeunit:
  8294. description: 合约单位
  8295. type: number
  8296. buyaccountid:
  8297. description: 买方账号ID[报价币种]
  8298. type: integer
  8299. buyorderid:
  8300. description: 买方委托单号
  8301. type: string
  8302. createtime:
  8303. description: 创建时间
  8304. type: string
  8305. currencysign:
  8306. description: 货币符号
  8307. type: string
  8308. decimalplace:
  8309. description: 报价小数位
  8310. type: integer
  8311. goodscode:
  8312. description: 商品代码(内部)
  8313. type: string
  8314. goodsid:
  8315. description: 商品ID
  8316. type: integer
  8317. goodsname:
  8318. description: 商品名称
  8319. type: string
  8320. marketid:
  8321. description: 市场ID
  8322. type: integer
  8323. offamount:
  8324. description: 优惠金额
  8325. type: number
  8326. payamount:
  8327. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8328. type: number
  8329. payflag:
  8330. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8331. type: integer
  8332. paylimitedtime:
  8333. description: 支付期限
  8334. type: string
  8335. paytime:
  8336. description: 付款时间
  8337. type: string
  8338. picurls:
  8339. description: 商品介绍图片[多张用逗号分隔]
  8340. type: string
  8341. sellaccountid:
  8342. description: 卖方账号ID[报价币种]
  8343. type: integer
  8344. sellorderid:
  8345. description: 卖方委托单号
  8346. type: string
  8347. tradeamount:
  8348. description: 成交金额
  8349. type: number
  8350. tradecharge:
  8351. description: 成交手续费(买方)
  8352. type: number
  8353. tradedate:
  8354. description: 交易日(yyyyMMdd)
  8355. type: string
  8356. tradeid:
  8357. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8358. type: string
  8359. trademode:
  8360. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8361. 21:竞拍-大宗式 22:受托竞价
  8362. type: integer
  8363. tradeprice:
  8364. description: 成交价格
  8365. type: number
  8366. tradeqty:
  8367. description: 成交数量
  8368. type: integer
  8369. required:
  8370. - goodscode
  8371. - goodsname
  8372. - tradeid
  8373. - trademode
  8374. type: object
  8375. models.HsbySellMyDetail:
  8376. properties:
  8377. accountid:
  8378. description: 账户ID[报价币种]
  8379. type: integer
  8380. agreeunit:
  8381. description: 合约单位
  8382. type: number
  8383. buyorsell:
  8384. description: 买卖 - 0:买 1:卖
  8385. type: integer
  8386. currencysign:
  8387. description: 货币符号
  8388. type: string
  8389. decimalplace:
  8390. description: 报价小数位
  8391. type: integer
  8392. goodscode:
  8393. description: 商品代码(内部)
  8394. type: string
  8395. goodsid:
  8396. description: 商品ID
  8397. type: integer
  8398. goodsname:
  8399. description: 商品名称
  8400. type: string
  8401. marketid:
  8402. description: 市场ID
  8403. type: integer
  8404. orderid:
  8405. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8406. type: string
  8407. ordertype:
  8408. description: 单据类型:0 - 发布中, 1 - 已完成
  8409. type: integer
  8410. picurls:
  8411. description: 介绍图片[多张用逗号分隔]
  8412. type: string
  8413. price:
  8414. description: 价格
  8415. type: number
  8416. qty:
  8417. description: 数量
  8418. type: integer
  8419. time:
  8420. description: 时间
  8421. type: string
  8422. trademode:
  8423. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8424. 21:竞拍-大宗式 22:受托竞价
  8425. type: integer
  8426. vendorname:
  8427. description: 供应商名称
  8428. type: string
  8429. required:
  8430. - accountid
  8431. - buyorsell
  8432. - goodscode
  8433. - goodsid
  8434. - goodsname
  8435. - marketid
  8436. - orderid
  8437. - time
  8438. - trademode
  8439. type: object
  8440. models.HsbyTopGoods:
  8441. properties:
  8442. agreeunit:
  8443. description: 合约单位
  8444. type: number
  8445. currency:
  8446. description: 货币
  8447. type: string
  8448. currencysign:
  8449. description: 货币符号
  8450. type: string
  8451. decimalplace:
  8452. description: 报价小数位
  8453. type: integer
  8454. desccityid:
  8455. description: 目的地(市)
  8456. type: integer
  8457. descprovinceid:
  8458. description: 目的地(省)
  8459. type: integer
  8460. goodscode:
  8461. description: 商品代码(内部)
  8462. type: string
  8463. goodsid:
  8464. description: 商品ID(自增ID SEQ_GOODS)
  8465. type: integer
  8466. goodsname:
  8467. description: 商品名称
  8468. type: string
  8469. hotindex:
  8470. description: 景点热度
  8471. type: integer
  8472. last:
  8473. description: 现价
  8474. type: number
  8475. marketid:
  8476. description: 所属市场ID
  8477. type: integer
  8478. picurls:
  8479. description: 介绍图片[多张用逗号分隔]
  8480. type: string
  8481. quoteminunit:
  8482. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8483. type: integer
  8484. trademode:
  8485. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8486. 21:竞拍-大宗式 22:受托竞价
  8487. type: integer
  8488. videourls:
  8489. description: 介绍视频[多张用逗号分隔]
  8490. type: string
  8491. required:
  8492. - goodscode
  8493. - goodsid
  8494. - goodsname
  8495. - marketid
  8496. - trademode
  8497. type: object
  8498. models.HybsMyBuyOrderDetail:
  8499. properties:
  8500. accountid:
  8501. description: 账户ID[报价币种]
  8502. type: integer
  8503. agreeunit:
  8504. description: 合约单位
  8505. type: number
  8506. buyorsell:
  8507. description: 买卖 - 0:买 1:卖
  8508. type: integer
  8509. cancelqty:
  8510. description: 撤单数量
  8511. type: integer
  8512. currencysign:
  8513. description: 货币符号
  8514. type: string
  8515. decimalplace:
  8516. description: 报价小数位
  8517. type: integer
  8518. goodscode:
  8519. description: 商品代码(内部)
  8520. type: string
  8521. goodsid:
  8522. description: 商品ID
  8523. type: integer
  8524. goodsname:
  8525. description: 商品名称
  8526. type: string
  8527. listingselecttype:
  8528. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8529. type: integer
  8530. marketid:
  8531. description: 市场ID
  8532. type: integer
  8533. mybuystatus:
  8534. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8535. type: integer
  8536. orderamount:
  8537. description: 委托金额
  8538. type: number
  8539. orderid:
  8540. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8541. type: string
  8542. orderprice:
  8543. description: 委托价格
  8544. type: number
  8545. orderqty:
  8546. description: 委托数量
  8547. type: integer
  8548. orderstatus:
  8549. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8550. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8551. 16:成交失败违约(荷兰式竞拍专用)
  8552. type: integer
  8553. ordertime:
  8554. description: 委托时间
  8555. type: string
  8556. picurls1:
  8557. description: 预售商品介绍图片[多张用逗号分隔]
  8558. type: string
  8559. picurls2:
  8560. description: 挂牌商品介绍图片[多张用逗号分隔]
  8561. type: string
  8562. trademode:
  8563. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8564. 21:竞拍-大宗式 22:受托竞价
  8565. type: integer
  8566. tradeqty:
  8567. description: 成交数量
  8568. type: integer
  8569. vendorname1:
  8570. description: 预售商品供应商名称
  8571. type: string
  8572. vendorname2:
  8573. description: 挂牌商品供应商名称
  8574. type: string
  8575. required:
  8576. - accountid
  8577. - buyorsell
  8578. - goodscode
  8579. - goodsid
  8580. - goodsname
  8581. - marketid
  8582. - orderid
  8583. - orderqty
  8584. - ordertime
  8585. - trademode
  8586. type: object
  8587. models.Loginaccount:
  8588. properties:
  8589. canoutin:
  8590. description: 是否可出入金 - 0:不可 1:可
  8591. type: integer
  8592. clientroleid:
  8593. description: 终端角色ID
  8594. type: integer
  8595. haslogined:
  8596. description: 是否已登录 - 0:未登录 1:已登录
  8597. type: integer
  8598. hasupdatedpwd:
  8599. description: 是否已更改密码 - 0:未修改 1:已修改
  8600. type: integer
  8601. lastloginip:
  8602. description: 最新登录地址
  8603. type: string
  8604. lastloginmode:
  8605. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8606. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8607. type: integer
  8608. lastloginremark:
  8609. description: 最新登录描述
  8610. type: string
  8611. lastlogintime:
  8612. description: 最新登录时间
  8613. type: string
  8614. logincode:
  8615. description: 登录代码
  8616. type: string
  8617. loginfailnum:
  8618. description: 连续登录失败次数(登录成功时清零)
  8619. type: integer
  8620. loginid:
  8621. description: 登陆账号
  8622. type: integer
  8623. loginport:
  8624. description: 最新登录端口
  8625. type: integer
  8626. loginstatus:
  8627. description: 登录账号状态 1:正常 2:冻结 3:无效
  8628. type: integer
  8629. loginusertype:
  8630. description: 登录账号类型 - 1:投资者 2:机构交易员
  8631. type: integer
  8632. modifierid:
  8633. description: 修改人
  8634. type: integer
  8635. modifytime:
  8636. description: 修改时间
  8637. type: string
  8638. pwdwrongcount:
  8639. description: 密码错误次数
  8640. type: integer
  8641. taaccountrighttype:
  8642. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8643. type: integer
  8644. unfreezetime:
  8645. description: 账户解冻时间
  8646. type: string
  8647. userid:
  8648. description: 用户ID
  8649. type: integer
  8650. required:
  8651. - loginid
  8652. type: object
  8653. models.MainAccountInfo:
  8654. properties:
  8655. accountid:
  8656. description: 账号id
  8657. type: integer
  8658. accountname:
  8659. description: 账号名称(taaccount表中的名称)
  8660. type: string
  8661. appid:
  8662. description: AppID
  8663. type: string
  8664. authcode:
  8665. description: 授权码
  8666. type: string
  8667. brokerid:
  8668. description: 经纪商id
  8669. type: string
  8670. fcid:
  8671. description: 期货公司id
  8672. type: integer
  8673. fcname:
  8674. description: 期货公司代码
  8675. type: string
  8676. hedgeaccountcode:
  8677. description: 外部账号代码(主账号登录代码)
  8678. type: string
  8679. hedgeaccountpwd:
  8680. description: 密码
  8681. type: string
  8682. ismain:
  8683. description: 是否主账号
  8684. type: integer
  8685. relateduserid:
  8686. description: 关联用户id
  8687. type: integer
  8688. userid:
  8689. description: 关联用户id
  8690. type: integer
  8691. type: object
  8692. models.Market:
  8693. properties:
  8694. auctionwrtype:
  8695. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8696. type: integer
  8697. canacceptquote:
  8698. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8699. type: integer
  8700. cangoodsexercise:
  8701. description: '[期权]是否可现货行权- 0:否 1:是'
  8702. type: integer
  8703. cangoodsexercisetype:
  8704. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8705. type: integer
  8706. canmanualquotestrike:
  8707. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8708. type: integer
  8709. canmutistage:
  8710. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8711. type: integer
  8712. canpreexercise:
  8713. description: '[期权]是否可预申报- 0:否 1:是'
  8714. type: integer
  8715. clearinterval:
  8716. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8717. type: integer
  8718. contracttmp:
  8719. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8720. type: string
  8721. exchareaid:
  8722. description: 所属交易所,可以没有
  8723. type: integer
  8724. goodstype:
  8725. description: 商品类型 - 1:交易商品 2:仓单商品
  8726. type: integer
  8727. hasrebate:
  8728. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8729. type: integer
  8730. hastradecredit:
  8731. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8732. type: integer
  8733. haswr:
  8734. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8735. type: integer
  8736. isdeductmargin:
  8737. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8738. type: integer
  8739. isrecordsource:
  8740. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8741. type: integer
  8742. isreleasemargin:
  8743. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8744. type: integer
  8745. marginformula:
  8746. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8747. type: integer
  8748. marginformula2:
  8749. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8750. type: integer
  8751. marketid:
  8752. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8753. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8754. type: integer
  8755. marketname:
  8756. description: 市场名称
  8757. type: string
  8758. marketserviceid:
  8759. description: 市场服务ID
  8760. type: integer
  8761. marketstatus:
  8762. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8763. type: integer
  8764. markettype:
  8765. description: 市场类型- 1:非交易服务 2:交易服务
  8766. type: integer
  8767. matchermode:
  8768. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8769. type: integer
  8770. openmethod:
  8771. description: 开盘模式 - 0 自动 1手动
  8772. type: integer
  8773. otcuserid:
  8774. description: 场外期权做市商[场外期权]
  8775. type: integer
  8776. outersynctime:
  8777. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8778. type: string
  8779. pendingflag:
  8780. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8781. type: integer
  8782. pendingtime:
  8783. description: 待开市时间[通道交易-对冲](HH:mm)
  8784. type: string
  8785. performancetempid:
  8786. description: 履约计划模板ID - 作废
  8787. type: integer
  8788. premiumquotemode:
  8789. description: 权利金报价方式 - 1:自动 2:手动
  8790. type: integer
  8791. rebateratio:
  8792. description: 返利比率[竞价式]
  8793. type: number
  8794. reckonorder:
  8795. description: 结算顺序
  8796. type: integer
  8797. reckonpricealgorithm:
  8798. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8799. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8800. type: integer
  8801. reckonpriceparam:
  8802. description: 结算价参数
  8803. type: integer
  8804. reckontime:
  8805. description: 结算时间[通道交易-对冲](HH:mm)
  8806. type: string
  8807. roleprioritytype:
  8808. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8809. type: integer
  8810. selllistingauditflag:
  8811. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8812. type: integer
  8813. trademarkettype:
  8814. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8815. type: integer
  8816. trademode:
  8817. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8818. 21:竞拍-大宗式 22:受托竞价
  8819. type: integer
  8820. tradeproperty:
  8821. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8822. 8:场外期权
  8823. type: integer
  8824. tradetype:
  8825. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8826. type: integer
  8827. required:
  8828. - marketid
  8829. - marketstatus
  8830. - openmethod
  8831. - reckonpricealgorithm
  8832. - trademode
  8833. - tradeproperty
  8834. type: object
  8835. models.Marketrun:
  8836. properties:
  8837. afternexttradedate:
  8838. description: 下下交易日
  8839. type: string
  8840. clearquoteflag:
  8841. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8842. type: integer
  8843. lastreckondate:
  8844. description: 最新交易日(结算成功)
  8845. type: string
  8846. machinedate:
  8847. description: 机器时间
  8848. type: string
  8849. manualflag:
  8850. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8851. type: integer
  8852. marketid:
  8853. description: 市场ID
  8854. type: integer
  8855. nexttradedate:
  8856. description: 下一交易日
  8857. type: string
  8858. pretradedate:
  8859. description: 上一交易日
  8860. type: string
  8861. reckonflag:
  8862. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8863. type: integer
  8864. runstatus:
  8865. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8866. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8867. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8868. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8869. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8870. 62.今日免清算
  8871. type: integer
  8872. sectionid:
  8873. description: 时间段号[多时段时用]
  8874. type: integer
  8875. tradedate:
  8876. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8877. type: string
  8878. tradedate2:
  8879. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8880. type: string
  8881. updatetime:
  8882. description: 更新时间
  8883. type: string
  8884. required:
  8885. - marketid
  8886. - nexttradedate
  8887. - reckonflag
  8888. - runstatus
  8889. - tradedate
  8890. - tradedate2
  8891. type: object
  8892. models.Messageboard:
  8893. properties:
  8894. contactnum:
  8895. description: 联系电话
  8896. type: string
  8897. createtime:
  8898. description: 创建时间
  8899. type: string
  8900. message:
  8901. description: 留言信息
  8902. type: string
  8903. messageboardid:
  8904. description: 留言簿ID(SEQ_MessageBoard)
  8905. type: integer
  8906. userid:
  8907. description: 用户ID
  8908. type: integer
  8909. required:
  8910. - messageboardid
  8911. type: object
  8912. models.MyCoupon:
  8913. properties:
  8914. accountid:
  8915. description: 资金账户ID
  8916. type: integer
  8917. areauserid:
  8918. description: 所属机构
  8919. type: integer
  8920. conditionvalue:
  8921. description: 条件阈值(可为0)
  8922. type: number
  8923. couponcategroy:
  8924. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8925. type: integer
  8926. couponname:
  8927. description: 优惠券名称
  8928. type: string
  8929. coupontypeid:
  8930. description: 优惠券类型ID
  8931. type: string
  8932. couponvalue:
  8933. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8934. type: number
  8935. curfreezeqty:
  8936. description: 期末冻结数量
  8937. type: integer
  8938. curqty:
  8939. description: 期末数量
  8940. type: integer
  8941. isgeneral:
  8942. description: 是否通用券 - 0:否 1:是
  8943. type: integer
  8944. isunusable:
  8945. description: 是否不可用
  8946. type: boolean
  8947. limitedflag:
  8948. description: 是否指定商品 - 0:不限 1:限制
  8949. type: integer
  8950. limitedgoodsids:
  8951. description: 指定商品IDs[逗号分隔,前后加逗号]
  8952. type: string
  8953. orifreezeqty:
  8954. description: 期初冻结数量
  8955. type: integer
  8956. oriqty:
  8957. description: 期初数量
  8958. type: integer
  8959. reasontype:
  8960. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8961. type: integer
  8962. todaydecrease:
  8963. description: 今日减少
  8964. type: integer
  8965. todayincrease:
  8966. description: 今日增加
  8967. type: integer
  8968. userid:
  8969. description: 用户ID
  8970. type: integer
  8971. userscope:
  8972. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8973. type: string
  8974. required:
  8975. - accountid
  8976. - coupontypeid
  8977. type: object
  8978. models.MyCouponHold:
  8979. properties:
  8980. accountid:
  8981. description: 资金账户ID
  8982. type: integer
  8983. conditionvalue:
  8984. description: 条件阈值(可为0)
  8985. type: number
  8986. couponcategroy:
  8987. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8988. type: integer
  8989. couponholdid:
  8990. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8991. type: string
  8992. couponname:
  8993. description: 优惠券名称
  8994. type: string
  8995. coupontypeid:
  8996. description: 优惠券类型ID - SEQ_COUPONTYPE
  8997. type: string
  8998. couponvalue:
  8999. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9000. type: number
  9001. createtime:
  9002. description: 创建时间
  9003. type: string
  9004. enddate:
  9005. description: 结束日期
  9006. type: string
  9007. giveapplyid:
  9008. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9009. type: integer
  9010. holdstatus:
  9011. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9012. type: integer
  9013. isgeneral:
  9014. description: 是否通用券 - 0:否 1:是
  9015. type: integer
  9016. limitedflag:
  9017. description: 是否指定商品 - 0:不限 1:限制
  9018. type: integer
  9019. limitedgoodsids:
  9020. description: 指定商品IDs[逗号分隔]
  9021. type: string
  9022. qty:
  9023. description: 数量(按1平铺)
  9024. type: integer
  9025. startdate:
  9026. description: 开始日期
  9027. type: string
  9028. userid:
  9029. description: 用户ID
  9030. type: integer
  9031. userscope:
  9032. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9033. type: string
  9034. required:
  9035. - couponholdid
  9036. type: object
  9037. models.MyUsedCoupon:
  9038. properties:
  9039. accountid:
  9040. description: 资金账户ID(买方)
  9041. type: integer
  9042. conditionvalue:
  9043. description: 条件阈值(可为0)
  9044. type: number
  9045. couponcategroy:
  9046. description: 种类 - 1:现金券 2:折扣券
  9047. type: integer
  9048. couponname:
  9049. description: 优惠券名称
  9050. type: string
  9051. coupontypeid:
  9052. description: 优惠券类型ID(买方)
  9053. type: string
  9054. couponvalue:
  9055. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9056. type: number
  9057. createtime:
  9058. description: 创建时间
  9059. type: string
  9060. goodsid:
  9061. description: 商品ID
  9062. type: integer
  9063. handlestatus:
  9064. description: 处理状态
  9065. type: integer
  9066. marketid:
  9067. description: 市场ID
  9068. type: integer
  9069. offamount:
  9070. description: 优惠金额
  9071. type: number
  9072. orderid:
  9073. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9074. type: string
  9075. sellaccountid:
  9076. description: 资金账户ID(卖方)
  9077. type: integer
  9078. tradeamount:
  9079. description: 成交金额
  9080. type: number
  9081. tradeid:
  9082. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9083. type: string
  9084. usedqty:
  9085. description: 使用数量
  9086. type: integer
  9087. required:
  9088. - coupontypeid
  9089. - orderid
  9090. type: object
  9091. models.OperationPrimaryMenu:
  9092. properties:
  9093. Children:
  9094. description: 二级功能菜单
  9095. items:
  9096. $ref: '#/definitions/models.OperationSecondaryMenu'
  9097. type: array
  9098. Key:
  9099. description: 菜单KEY
  9100. type: string
  9101. Label:
  9102. description: 菜单标题
  9103. type: string
  9104. type: object
  9105. models.OperationSecondaryMenu:
  9106. properties:
  9107. Key:
  9108. description: 菜单KEY
  9109. type: string
  9110. Label:
  9111. description: 菜单标题
  9112. type: string
  9113. TabList:
  9114. description: 三级功能菜单
  9115. items:
  9116. $ref: '#/definitions/models.OperationTabMenu'
  9117. type: array
  9118. type: object
  9119. models.OperationTabMenu:
  9120. properties:
  9121. Key:
  9122. description: 菜单KEY
  9123. type: string
  9124. Label:
  9125. description: 菜单标题
  9126. type: string
  9127. type: object
  9128. models.PendingAuditBizModel:
  9129. properties:
  9130. accountid:
  9131. description: 现货账户
  9132. type: string
  9133. areaname:
  9134. description: 所属部门
  9135. type: string
  9136. bizid:
  9137. description: 业务ID
  9138. type: string
  9139. bizname:
  9140. description: 业务名称
  9141. type: string
  9142. status:
  9143. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9144. type: integer
  9145. type:
  9146. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9147. type: integer
  9148. type: object
  9149. models.QhjAccountOutInApply:
  9150. properties:
  9151. accountcode:
  9152. description: 资金账号
  9153. type: string
  9154. accountname:
  9155. description: 用户名称(名称)
  9156. type: string
  9157. accountpwd:
  9158. description: 资金密码
  9159. type: string
  9160. accountticket:
  9161. description: 最新账户服务流水号
  9162. type: string
  9163. amount:
  9164. description: 金额
  9165. type: number
  9166. applyremark:
  9167. description: 申请备注
  9168. type: string
  9169. applystatus:
  9170. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9171. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9172. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9173. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9174. type: integer
  9175. auditid:
  9176. description: 审核人
  9177. type: integer
  9178. audittime:
  9179. description: 审核时间
  9180. type: string
  9181. bank_apply_ticket:
  9182. description: 银行申请流水
  9183. type: string
  9184. bankaccountname:
  9185. description: 银行账户名
  9186. type: string
  9187. bankaccountno:
  9188. description: 银行卡号
  9189. type: string
  9190. bankid:
  9191. description: 银行编号
  9192. type: string
  9193. bankticket:
  9194. description: 银行流水
  9195. type: string
  9196. branchbankid:
  9197. description: 银行支行号
  9198. type: string
  9199. branchbankname:
  9200. description: 银行支行名称
  9201. type: string
  9202. capamountout:
  9203. description: 出金(劣后本金) - 外部子账户
  9204. type: number
  9205. certificatephotourl:
  9206. description: 凭证地址
  9207. type: string
  9208. charge:
  9209. description: 手续费
  9210. type: number
  9211. checkerrorflag:
  9212. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9213. type: integer
  9214. currency:
  9215. description: 币种
  9216. type: string
  9217. cusbankid:
  9218. description: 托管银行编号
  9219. type: string
  9220. exchticket:
  9221. description: 银行服务流水号
  9222. type: string
  9223. executetype:
  9224. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9225. 7:外部子账户:入金 8:外部子账户:出金'
  9226. type: integer
  9227. extendinfo:
  9228. description: 扩展信息
  9229. type: string
  9230. extoperateid:
  9231. description: 交易服务流水号
  9232. type: integer
  9233. infamount:
  9234. description: 劣后金额(自有)
  9235. type: number
  9236. logincode:
  9237. description: 登录账号(账号)
  9238. type: string
  9239. netaddr:
  9240. description: 调转网址
  9241. type: string
  9242. priamount:
  9243. description: 优先金额(授信)
  9244. type: number
  9245. reauditid:
  9246. description: 复审人
  9247. type: integer
  9248. reauditremark:
  9249. description: 复审备注
  9250. type: string
  9251. reaudittime:
  9252. description: 复审时间
  9253. type: string
  9254. relatedorderid:
  9255. description: 三方关联ID
  9256. type: string
  9257. remark:
  9258. description: 备注
  9259. type: string
  9260. remark2:
  9261. description: 备注(失败原因)
  9262. type: string
  9263. soucreamount:
  9264. description: 原始出入金金额
  9265. type: number
  9266. soucrecurrencyid:
  9267. description: 原始出入金币种
  9268. type: integer
  9269. tradedate:
  9270. description: 交易日(yyyyMMdd)
  9271. type: string
  9272. updatetime:
  9273. description: 更新时间(申请时间)
  9274. type: string
  9275. userid:
  9276. description: 用户id
  9277. type: integer
  9278. userinfotype:
  9279. description: 账户类型 1-个人 2-企业
  9280. type: integer
  9281. type: object
  9282. models.QhjBankAccountSign:
  9283. properties:
  9284. accountcode:
  9285. description: 资金账号
  9286. type: string
  9287. accountname:
  9288. description: 资金账号对应的账号名(UserName)
  9289. type: string
  9290. accounttype:
  9291. description: 账户类型(UserType)
  9292. type: integer
  9293. applicationtime:
  9294. description: 最后一次更新的时间
  9295. type: string
  9296. applyexchticket:
  9297. description: 申请流水
  9298. type: string
  9299. auditid:
  9300. description: 审核人
  9301. type: integer
  9302. audittime:
  9303. description: 审核时间
  9304. type: string
  9305. bankaccountname:
  9306. description: 签约银行卡账号名
  9307. type: string
  9308. bankaccountno:
  9309. description: 银行卡号
  9310. type: string
  9311. bankaccounttype:
  9312. description: 银行账户类型 - 1-对私; 2-对公
  9313. type: integer
  9314. bankcardtype:
  9315. description: 银行卡类型
  9316. type: integer
  9317. bankchildaccount:
  9318. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9319. type: string
  9320. bankcity:
  9321. description: 开户行城市
  9322. type: string
  9323. bankid:
  9324. description: 签约银行ID
  9325. type: string
  9326. bankprovince:
  9327. description: 开户行省份
  9328. type: string
  9329. branchbankid:
  9330. description: 签约银行支行号
  9331. type: string
  9332. branchbankname:
  9333. description: 签约银行支行名称
  9334. type: string
  9335. cardno:
  9336. description: 证件号码
  9337. type: string
  9338. cardtype:
  9339. description: 证件类型
  9340. type: string
  9341. currency:
  9342. description: 币种
  9343. type: string
  9344. cusbankid:
  9345. description: 托管银行编号
  9346. type: string
  9347. direct:
  9348. description: 方向(可以判断那方先发起的签约)
  9349. type: integer
  9350. exchticket:
  9351. description: 最后一次签约成功的流水号
  9352. type: string
  9353. extendinfo:
  9354. description: 扩展信息(JSON字符串)
  9355. type: string
  9356. mobilephone:
  9357. description: 手机号
  9358. type: string
  9359. netaddr:
  9360. description: 调转网址
  9361. type: string
  9362. relateduserid:
  9363. description: 关联使用者userid
  9364. type: integer
  9365. signstatus:
  9366. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9367. 10:审核拒绝 11:换签待审核
  9368. type: integer
  9369. updatetime:
  9370. description: 更新时间(签解约更新时间)
  9371. type: string
  9372. type: object
  9373. models.QhjBankInfo:
  9374. properties:
  9375. bankid:
  9376. description: 银行ID
  9377. type: string
  9378. bankname:
  9379. description: 银行名称
  9380. type: string
  9381. clearbankno:
  9382. description: 清算系统银行编号
  9383. type: string
  9384. orderindex:
  9385. description: 排序顺序
  9386. type: integer
  9387. status:
  9388. description: 状态 - 0:正常 1:注销
  9389. type: integer
  9390. type: object
  9391. models.QhjContract:
  9392. properties:
  9393. contractconfirmtime:
  9394. description: 合同确认时间(时间)
  9395. type: string
  9396. enumdicname:
  9397. description: 单位名称
  9398. type: string
  9399. goodscode:
  9400. description: 商品代码
  9401. type: string
  9402. goodsid:
  9403. description: 商品ID [5:融资单]
  9404. type: integer
  9405. goodsname:
  9406. description: 商品名称
  9407. type: string
  9408. goodunitid:
  9409. description: 商品单位id
  9410. type: integer
  9411. initmargin:
  9412. description: 初始保证金(首付款)
  9413. type: number
  9414. lenderamount:
  9415. description: 贷款金额(总额|订单总额)
  9416. type: number
  9417. marginratio:
  9418. description: 保证金比率(首付比例)
  9419. type: number
  9420. payamount:
  9421. description: 已付(已付货款)
  9422. type: number
  9423. recoveredmargin:
  9424. description: 已追缴保证金
  9425. type: number
  9426. remainamount:
  9427. description: 合同剩余金额(融资额)
  9428. type: number
  9429. scfcontractid:
  9430. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9431. type: integer
  9432. scfcontracttype:
  9433. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  9434. type: integer
  9435. totalinterest:
  9436. description: 已计总利息(利息)
  9437. type: number
  9438. tradeprice:
  9439. description: 成交价格(成本价格)
  9440. type: number
  9441. userid:
  9442. description: 用户ID
  9443. type: integer
  9444. username:
  9445. description: 用户名称
  9446. type: string
  9447. wrqty:
  9448. description: 仓单数量(数量)
  9449. type: integer
  9450. type: object
  9451. models.QhjContractLog:
  9452. properties:
  9453. amount:
  9454. description: 支付金额
  9455. type: number
  9456. amounttype:
  9457. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  9458. type: integer
  9459. logid:
  9460. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9461. type: string
  9462. remainamount:
  9463. description: 剩余货款
  9464. type: number
  9465. scfcontractid:
  9466. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9467. type: integer
  9468. updatetime:
  9469. description: 更新时间
  9470. type: string
  9471. type: object
  9472. models.QhjCusBankSignBankEx:
  9473. properties:
  9474. banklst:
  9475. description: 银行列表
  9476. items:
  9477. $ref: '#/definitions/models.QhjBankInfo'
  9478. type: array
  9479. canallot:
  9480. description: 是否支持跨行调拨 - 0:不支持 1:支持
  9481. type: integer
  9482. canallotquery:
  9483. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  9484. type: integer
  9485. canbindcard:
  9486. description: 是否可绑卡与解卡 - 0:不可 1:可以
  9487. type: integer
  9488. caninamount:
  9489. description: 是否可入金 - 0:不可 1:可以
  9490. type: integer
  9491. caninamount2:
  9492. description: 是否可入金(网银端) - 0:不可 1:可以
  9493. type: integer
  9494. canmodifybankcard:
  9495. description: 是否可修改银行卡号 - 0:不可 1:可以
  9496. type: integer
  9497. canmodifyphone:
  9498. description: 是否可修改手机号 - 0:不可 1:可以
  9499. type: integer
  9500. canmodifysigninfo:
  9501. description: 是否可修改签约信息 - 0:不可 1:可以
  9502. type: integer
  9503. canoutamount:
  9504. description: 是否可出金 - 0:不可 1:可以
  9505. type: integer
  9506. canoutamount2:
  9507. description: 是否可出金(网银端) - 0:不可 1:可以
  9508. type: integer
  9509. canrelease:
  9510. description: 是否可解约 - 0:不可 1:可以
  9511. type: integer
  9512. canrelease2:
  9513. description: 是否可解约(网银端) - 0:不可 1:可以
  9514. type: integer
  9515. cansign:
  9516. description: 是否可签约 - 0:不可 1:可以
  9517. type: integer
  9518. cansign2:
  9519. description: 是否可签约(网银端) - 0:不可 1:可以
  9520. type: integer
  9521. currency:
  9522. description: 币种
  9523. type: string
  9524. cusbankid:
  9525. description: 托管银行编号(对应清算中心TRAN_NO)
  9526. type: string
  9527. cusbankname:
  9528. description: 银行业务名称
  9529. type: string
  9530. cusbankshortname:
  9531. description: 银行业务简称
  9532. type: string
  9533. exchbankid:
  9534. description: 交易所开户银行ID
  9535. type: string
  9536. exchpaybankaccname:
  9537. description: 交易所支出结算账户户名
  9538. type: string
  9539. exchpaybankaccno:
  9540. description: 交易所支出结算账户
  9541. type: string
  9542. isneedcheck:
  9543. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  9544. type: integer
  9545. isneedclear:
  9546. description: 是否需要清算 - 0:不需要 1:需要
  9547. type: integer
  9548. riskinfo:
  9549. description: 签约风险提示书
  9550. type: string
  9551. type: object
  9552. models.QhjCustomer:
  9553. properties:
  9554. address:
  9555. description: 通讯地址
  9556. type: string
  9557. attachment1:
  9558. description: 附件1
  9559. type: string
  9560. audittime:
  9561. description: 审核时间
  9562. type: string
  9563. cardbackphotourl:
  9564. description: 证件反面图片地址
  9565. type: string
  9566. cardfrontphotourl:
  9567. description: 证件正面图片地址
  9568. type: string
  9569. cardnum:
  9570. description: 证件号码
  9571. type: string
  9572. cardtype:
  9573. description: 证件类型
  9574. type: integer
  9575. cardtypename:
  9576. description: 证件类型名称
  9577. type: string
  9578. cityid:
  9579. description: 市
  9580. type: integer
  9581. cityname:
  9582. description: 城市名称
  9583. type: string
  9584. contactname:
  9585. description: 联系人
  9586. type: string
  9587. countryid:
  9588. description: 国家
  9589. type: integer
  9590. countryname:
  9591. description: 国家名称
  9592. type: string
  9593. createtime:
  9594. description: 创建时间
  9595. type: string
  9596. customername:
  9597. description: 客户名称
  9598. type: string
  9599. districtid:
  9600. description: 区域
  9601. type: integer
  9602. districtname:
  9603. description: 地区名称
  9604. type: string
  9605. email:
  9606. description: 邮件
  9607. type: string
  9608. legalpersonname:
  9609. description: 法人姓名(企业)
  9610. type: string
  9611. memberuserid:
  9612. description: 所属机构ID(所属会员)
  9613. type: integer
  9614. memberusername:
  9615. description: 所属会员名称
  9616. type: string
  9617. mobile:
  9618. description: 手机号码
  9619. type: string
  9620. modifytime:
  9621. description: 修改时间
  9622. type: string
  9623. nickname:
  9624. description: 昵称
  9625. type: string
  9626. parentuserid:
  9627. description: 上级机构(所属机构)
  9628. type: integer
  9629. parentusername:
  9630. description: 所属机构名称
  9631. type: string
  9632. provinceid:
  9633. description: 省
  9634. type: integer
  9635. provincename:
  9636. description: 省名称
  9637. type: string
  9638. remark:
  9639. description: 备注
  9640. type: string
  9641. status:
  9642. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9643. type: integer
  9644. statusdesc:
  9645. description: 账户状态中文描述
  9646. type: string
  9647. taxpayernum:
  9648. description: 纳税人识别号
  9649. type: string
  9650. telphone:
  9651. description: 联系电话
  9652. type: string
  9653. userid:
  9654. description: 用户ID
  9655. type: integer
  9656. userinfotype:
  9657. description: 客户类型 1-个人 2-企业
  9658. type: integer
  9659. username:
  9660. description: 用户名称
  9661. type: string
  9662. type: object
  9663. models.QhjPayOrder:
  9664. properties:
  9665. buyaccountid:
  9666. description: 买方账号ID[报价币种]
  9667. type: integer
  9668. buyorderid:
  9669. description: 买方委托单号
  9670. type: integer
  9671. createtime:
  9672. description: 创建时间
  9673. type: string
  9674. goodscode:
  9675. description: 商品代码
  9676. type: string
  9677. goodsid:
  9678. description: 商品ID
  9679. type: integer
  9680. goodsname:
  9681. description: 商品名称
  9682. type: string
  9683. marketid:
  9684. description: 市场ID
  9685. type: integer
  9686. offamount:
  9687. description: 优惠金额
  9688. type: number
  9689. operatetype:
  9690. description: 买委托操作类型 - 1:正常下单 16:融资买入
  9691. type: integer
  9692. payamount:
  9693. description: 支付金额=TradeAmount + TradeCharge
  9694. type: number
  9695. payflag:
  9696. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9697. type: integer
  9698. paylimitedtime:
  9699. description: 支付期限
  9700. type: string
  9701. paytime:
  9702. description: 付款时间
  9703. type: string
  9704. sellaccountid:
  9705. description: 卖方账号ID[报价币种]
  9706. type: integer
  9707. sellorderid:
  9708. description: 卖方委托单号
  9709. type: integer
  9710. tradeamount:
  9711. description: 成交金额(优惠后金额)
  9712. type: number
  9713. tradecharge:
  9714. description: 成交手续费(买方)
  9715. type: number
  9716. tradedate:
  9717. description: 交易日(yyyyMMdd)
  9718. type: string
  9719. tradeid:
  9720. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9721. type: integer
  9722. tradeprice:
  9723. description: 成交价格
  9724. type: number
  9725. tradeqty:
  9726. description: 成交数量
  9727. type: integer
  9728. type: object
  9729. models.QhjPickArea:
  9730. properties:
  9731. cityid:
  9732. description: 市
  9733. type: integer
  9734. cityname:
  9735. description: 城市名称
  9736. type: string
  9737. countryid:
  9738. description: 国家
  9739. type: integer
  9740. countryname:
  9741. description: 国家名称
  9742. type: string
  9743. districtid:
  9744. description: 地区
  9745. type: integer
  9746. districtname:
  9747. description: 地区名称
  9748. type: string
  9749. fromuserid:
  9750. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  9751. type: integer
  9752. fromusername:
  9753. description: 所属机构名称
  9754. type: string
  9755. provinceid:
  9756. description: 省
  9757. type: integer
  9758. provincename:
  9759. description: 省名称
  9760. type: string
  9761. suborgtype:
  9762. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  9763. type: integer
  9764. userid:
  9765. description: 机构用户ID 其他做市关系,都设置为 1
  9766. type: integer
  9767. username:
  9768. description: 机构用户名称(门店门称)
  9769. type: string
  9770. type: object
  9771. models.QhjPickGoods:
  9772. properties:
  9773. imageaddress:
  9774. description: 图片
  9775. type: string
  9776. modifierid:
  9777. description: 修改人
  9778. type: integer
  9779. modifiername:
  9780. description: 修改人名称
  9781. type: string
  9782. modifysrc:
  9783. description: 修改来源 - 1:管理端 2:终端
  9784. type: integer
  9785. pickupgoodsagreeunit:
  9786. description: 合约乘数
  9787. type: number
  9788. pickupgoodsdesc:
  9789. description: 描述
  9790. type: string
  9791. pickupgoodsid:
  9792. description: 提货商品ID
  9793. type: string
  9794. pickupgoodsname:
  9795. description: 提货商品名称
  9796. type: string
  9797. pickupgoodsstatus:
  9798. description: 状态 - 1:正常 2:停用 3:注销
  9799. type: integer
  9800. pickupgoodsunitid:
  9801. description: 单位ID
  9802. type: integer
  9803. preparedays:
  9804. description: 备货期(天)
  9805. type: integer
  9806. remark:
  9807. description: 备注
  9808. type: string
  9809. updatetime:
  9810. description: 更新时间
  9811. type: string
  9812. type: object
  9813. models.QhjRSTriggerLog:
  9814. properties:
  9815. accountid:
  9816. description: 用户资金账户
  9817. type: integer
  9818. accountname:
  9819. description: 账号名称(ACCOUNTID对应的名称)
  9820. type: string
  9821. currencyid:
  9822. description: 币种id
  9823. type: integer
  9824. currencyname:
  9825. description: 币种名称
  9826. type: string
  9827. enumdicname:
  9828. description: 单位名称
  9829. type: string
  9830. goodscode:
  9831. description: 定投商品代码
  9832. type: string
  9833. goodsid:
  9834. description: 定投商品ID
  9835. type: string
  9836. goodsname:
  9837. description: 定投商品名称
  9838. type: string
  9839. goodunitid:
  9840. description: 定投商品单位id
  9841. type: integer
  9842. logid:
  9843. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  9844. type: string
  9845. regularlycycle:
  9846. description: 定投频率 - 1:每周 2:每月
  9847. type: integer
  9848. regularlycyclevalue:
  9849. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  9850. type: string
  9851. regularlymode:
  9852. description: 定投方式 - 1:按数量 2:按金额
  9853. type: integer
  9854. regularlymodevalue:
  9855. description: 定投方式值 - 数量或金额
  9856. type: number
  9857. regularlystrategyid:
  9858. description: 定投策略ID
  9859. type: integer
  9860. retcode:
  9861. description: 错误码
  9862. type: string
  9863. tradeid:
  9864. description: 成交单ID
  9865. type: string
  9866. triggeramount:
  9867. description: 触发金额
  9868. type: number
  9869. triggerqty:
  9870. description: 触发数量
  9871. type: number
  9872. triggerstatus:
  9873. description: 触发状态 - 1:成功 2:失败
  9874. type: integer
  9875. triggertime:
  9876. description: 触发时间
  9877. type: string
  9878. triggertradedate:
  9879. description: 触发交易日
  9880. type: string
  9881. userid:
  9882. description: 所属用户ID
  9883. type: integer
  9884. username:
  9885. description: 用户名称(userid对应的名称)
  9886. type: string
  9887. type: object
  9888. models.QhjRStrategy:
  9889. properties:
  9890. accountid:
  9891. description: 用户资金账户
  9892. type: integer
  9893. accountname:
  9894. description: 账号名称(ACCOUNTID对应的名称)
  9895. type: string
  9896. currencyid:
  9897. description: 币种id
  9898. type: integer
  9899. currencyname:
  9900. description: 币种名称
  9901. type: string
  9902. enumdicname:
  9903. description: 单位名称
  9904. type: string
  9905. goodscode:
  9906. description: 定投商品代码
  9907. type: string
  9908. goodsid:
  9909. description: 定投商品ID
  9910. type: string
  9911. goodsname:
  9912. description: 定投商品名称
  9913. type: string
  9914. goodunitid:
  9915. description: 定投商品单位id
  9916. type: integer
  9917. lasteffecttradedate:
  9918. description: 最新生效交易日
  9919. type: string
  9920. laststoptradedate:
  9921. description: 最新暂停交易日
  9922. type: string
  9923. lasttriggertradedate:
  9924. description: 最新触发交易日
  9925. type: string
  9926. nexttriggeramount:
  9927. description: 下次触发金额
  9928. type: number
  9929. nexttriggerdate:
  9930. description: 下次触发日期
  9931. type: string
  9932. nexttriggerqty:
  9933. description: 下次触发数量 [按小数位放大值]
  9934. type: number
  9935. regularlycycle:
  9936. description: 定投频率 - 1:每周 2:每月
  9937. type: integer
  9938. regularlycyclevalue:
  9939. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  9940. type: string
  9941. regularlymode:
  9942. description: 定投方式 - 1:按数量 2:按金额
  9943. type: integer
  9944. regularlymodevalue:
  9945. description: 定投方式值 - 数量或金额
  9946. type: number
  9947. regularlystrategyid:
  9948. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  9949. type: integer
  9950. regularlystrategystatus:
  9951. description: 策略状态 - 1:正常 2:暂停 3:终止
  9952. type: integer
  9953. remark:
  9954. description: 备注
  9955. type: string
  9956. triggersuccesstimes:
  9957. description: 累计定投成功次数
  9958. type: string
  9959. triggertotalamount:
  9960. description: 累计定投金额(成功)
  9961. type: number
  9962. triggertotalqty:
  9963. description: 累计定投数量(成功) [按小数位放大值]
  9964. type: number
  9965. triggertotaltimes:
  9966. description: 累计定投总次数
  9967. type: string
  9968. updatesrc:
  9969. description: 更新来源 - 1:管理端 2:终端
  9970. type: integer
  9971. updatetime:
  9972. description: 更新时间
  9973. type: string
  9974. updatorid:
  9975. description: 更新人
  9976. type: string
  9977. userid:
  9978. description: 所属用户ID
  9979. type: integer
  9980. username:
  9981. description: 用户名称(userid对应的名称)
  9982. type: string
  9983. type: object
  9984. models.QhjReckonPriceLog:
  9985. properties:
  9986. goodsid:
  9987. description: 商品ID
  9988. type: integer
  9989. lastreckonprice:
  9990. description: 上日结算价
  9991. type: number
  9992. nextdnlimitprice:
  9993. description: 下个交易日跌停价
  9994. type: number
  9995. nexttrade:
  9996. description: 下个交易日
  9997. type: string
  9998. nextuplimitprice:
  9999. description: 下个交易日涨停价
  10000. type: number
  10001. reckonprice:
  10002. description: 今日结算价(定投价)
  10003. type: number
  10004. reckontime:
  10005. description: 结算时间
  10006. type: string
  10007. totalholderqty:
  10008. description: 总持仓数
  10009. type: integer
  10010. totalstock:
  10011. description: 总库存
  10012. type: integer
  10013. tradedate:
  10014. description: 交易日
  10015. type: string
  10016. updowncount:
  10017. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  10018. type: integer
  10019. updownflag:
  10020. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  10021. type: integer
  10022. updownrate:
  10023. description: 今日涨跌幅
  10024. type: number
  10025. updownrate_2d:
  10026. description: 连续两日涨跌幅
  10027. type: number
  10028. updownrate_3d:
  10029. description: 连续三日涨跌幅
  10030. type: number
  10031. type: object
  10032. models.QhjSiteColumnDetail:
  10033. properties:
  10034. author:
  10035. description: 作者
  10036. type: string
  10037. brief:
  10038. description: 简介
  10039. type: string
  10040. columnid:
  10041. description: 所属栏目
  10042. type: integer
  10043. context:
  10044. description: 内容
  10045. type: string
  10046. coverimage:
  10047. description: 封面图片
  10048. type: string
  10049. creaedate:
  10050. description: 创建时间
  10051. type: string
  10052. creatorid:
  10053. description: 创建人
  10054. type: integer
  10055. hits:
  10056. description: 点击数
  10057. type: integer
  10058. id:
  10059. description: ID(SEQ_SITE_COLUMNDETAIL)
  10060. type: integer
  10061. isshow:
  10062. description: 是否展示 - 0:不展示 1:展示
  10063. type: integer
  10064. istop:
  10065. description: 是否置顶 - 0:不置 1:置顶
  10066. type: integer
  10067. modifierid:
  10068. description: 操作人
  10069. type: integer
  10070. publishdate:
  10071. description: 发布日期
  10072. type: string
  10073. status:
  10074. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  10075. type: integer
  10076. title:
  10077. description: 标题
  10078. type: string
  10079. updatedate:
  10080. description: 修改时间
  10081. type: string
  10082. userid:
  10083. description: 用户ID(默认为0, 核心为为机构用户ID)
  10084. type: integer
  10085. username:
  10086. description: 用户名称
  10087. type: string
  10088. type: object
  10089. models.QhjTradeGoodsPickup:
  10090. properties:
  10091. accountid:
  10092. description: 账户ID
  10093. type: integer
  10094. address:
  10095. description: 提货人详细地址
  10096. type: string
  10097. amount:
  10098. description: 提货金额
  10099. type: number
  10100. artradedate:
  10101. description: 自动收货交易日(yyyyMMdd)
  10102. type: string
  10103. auditer:
  10104. description: 审核人
  10105. type: integer
  10106. auditsrc:
  10107. description: 更新来源 - 1:管理端 2:终端
  10108. type: integer
  10109. audittime:
  10110. description: 审核时间(发货时间)
  10111. type: string
  10112. audittradedate:
  10113. description: 审核交易日(yyyyMMdd)
  10114. type: string
  10115. cardnum:
  10116. description: 提货人证件号码
  10117. type: string
  10118. cardtypeid:
  10119. description: 提货人证件类型
  10120. type: integer
  10121. checkremark:
  10122. description: 审核备注
  10123. type: string
  10124. cityid:
  10125. description: 市
  10126. type: integer
  10127. cityname:
  10128. description: 城市名称
  10129. type: string
  10130. countryid:
  10131. description: 国家
  10132. type: integer
  10133. countryname:
  10134. description: 国家名称
  10135. type: string
  10136. districtid:
  10137. description: 地区
  10138. type: integer
  10139. districtname:
  10140. description: 地区名称
  10141. type: string
  10142. enumdicname:
  10143. description: 单位名称(提货商品)
  10144. type: string
  10145. expresscompany:
  10146. description: 物流公司
  10147. type: string
  10148. expressnum:
  10149. description: 物流单号
  10150. type: string
  10151. goodsagreeunit:
  10152. description: 交易商品乘数
  10153. type: number
  10154. goodscode:
  10155. description: 商品代码
  10156. type: string
  10157. goodsid:
  10158. description: 商品ID
  10159. type: integer
  10160. goodsname:
  10161. description: 商品名称
  10162. type: string
  10163. goodsqty:
  10164. description: 交易商品手数(69模式按成交量小数位放大取整)
  10165. type: number
  10166. handlestatus:
  10167. description: 处理状态
  10168. type: integer
  10169. marketid:
  10170. description: 市场ID
  10171. type: integer
  10172. phonenum:
  10173. description: 提货人联系方式
  10174. type: string
  10175. pickupgoodsagreeunit:
  10176. description: 提货商品合约乘数
  10177. type: number
  10178. pickupgoodsid:
  10179. description: 提货商品ID
  10180. type: string
  10181. pickupgoodsname:
  10182. description: 提货商品名称
  10183. type: string
  10184. pickupgoodsqty:
  10185. description: 提货商品手数(数量)
  10186. type: number
  10187. pickupgoodsunitid:
  10188. description: 单位ID(提货商品)
  10189. type: integer
  10190. pickupratio:
  10191. description: 提货系数
  10192. type: number
  10193. preparedays:
  10194. description: 备货期(天)-提货单明细表
  10195. type: integer
  10196. provinceid:
  10197. description: 省
  10198. type: integer
  10199. provincename:
  10200. description: 省名称
  10201. type: string
  10202. qty:
  10203. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  10204. type: number
  10205. recivername:
  10206. description: 提货人姓名
  10207. type: string
  10208. reqtime:
  10209. description: 提货申请时间
  10210. type: string
  10211. storeuserid:
  10212. description: 门店用户ID (千海金)
  10213. type: integer
  10214. storeusername:
  10215. description: 门店用户名称
  10216. type: string
  10217. takemode:
  10218. description: 提货方式 - 2:自提 3:配送(邮寄)
  10219. type: integer
  10220. takeorderid:
  10221. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10222. type: integer
  10223. takeorderstatus:
  10224. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  10225. 7:已拒绝 8:已撤销
  10226. type: integer
  10227. takeremark:
  10228. description: 提货备注
  10229. type: string
  10230. tradedate:
  10231. description: 交易日(yyyyMMdd)
  10232. type: string
  10233. updatetime:
  10234. description: 更新时间
  10235. type: string
  10236. userid:
  10237. description: 用户ID
  10238. type: integer
  10239. username:
  10240. description: 用户名称
  10241. type: string
  10242. type: object
  10243. models.Qhjgoodsex:
  10244. properties:
  10245. canfinance:
  10246. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  10247. type: integer
  10248. canregularlybuy:
  10249. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  10250. type: integer
  10251. defaulttradeuserid:
  10252. description: 默认交易用户ID
  10253. type: integer
  10254. deliverygoodsid:
  10255. description: 现货品种ID
  10256. type: integer
  10257. goodsid:
  10258. description: 商品ID(自增ID SEQ_GOODS)
  10259. type: integer
  10260. minamount:
  10261. description: 最小购买金额
  10262. type: number
  10263. regularlybuyminamount:
  10264. description: 定投最小金额
  10265. type: number
  10266. regularlybuyminqty:
  10267. description: 定投最小数量
  10268. type: number
  10269. spotgoodsbrandid:
  10270. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  10271. type: integer
  10272. wrstandardid:
  10273. description: 现货商品ID
  10274. type: integer
  10275. type: object
  10276. models.QueryErrorInfosRsp:
  10277. properties:
  10278. description:
  10279. description: 异常描述
  10280. type: string
  10281. errorcode:
  10282. description: 异常代码
  10283. type: string
  10284. errorid:
  10285. description: 异常ID
  10286. type: integer
  10287. modulecode:
  10288. description: 所属模块
  10289. type: string
  10290. operatecode:
  10291. description: 所属操作
  10292. type: string
  10293. rownumber:
  10294. description: 行号
  10295. type: string
  10296. required:
  10297. - errorid
  10298. type: object
  10299. models.QueryHedgeOrderDetailRsp:
  10300. properties:
  10301. accountid:
  10302. description: 账户ID
  10303. type: integer
  10304. buyorsell:
  10305. description: 买卖 - 0:买 1:卖
  10306. type: integer
  10307. cancellogincode:
  10308. description: 撤单人
  10309. type: string
  10310. channelbuildtype:
  10311. description: 开平标志 - 0:无 1:建仓 2:平仓
  10312. type: integer
  10313. channelinnerorderstatus:
  10314. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  10315. 9:全部成交
  10316. type: integer
  10317. channeloperatetype:
  10318. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  10319. type: integer
  10320. closetype:
  10321. description: 平仓方式 - 0:无 1:平今 2:平昨
  10322. type: integer
  10323. curexchangerate:
  10324. description: 当前汇率
  10325. type: number
  10326. exchangefullname:
  10327. description: 外部交易所全称
  10328. type: string
  10329. goodscode:
  10330. description: 商品代码(内部)
  10331. type: string
  10332. goodsid:
  10333. description: 商品ID
  10334. type: integer
  10335. goodsname:
  10336. description: 商品名称
  10337. type: string
  10338. marketid:
  10339. description: 市场ID
  10340. type: integer
  10341. openfreezemargin:
  10342. description: 冻结保证金(冻结交易金额)
  10343. type: number
  10344. orderid:
  10345. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10346. type: string
  10347. orderlogincode:
  10348. description: 委托人
  10349. type: string
  10350. orderprice:
  10351. description: 委托价格(账户)
  10352. type: number
  10353. orderqty:
  10354. description: 委托数量
  10355. type: integer
  10356. ordertime:
  10357. description: 委托时间
  10358. type: string
  10359. pricemode:
  10360. description: '取价方式 - 1:市价 2: 限价'
  10361. type: integer
  10362. tradedate:
  10363. description: 交易日(yyyyMMdd)
  10364. type: string
  10365. tradeqty:
  10366. description: 成交数量
  10367. type: integer
  10368. type: object
  10369. models.QueryHedgeTradeDetailRsp:
  10370. properties:
  10371. accountid:
  10372. description: 账号ID
  10373. type: integer
  10374. buyorsell:
  10375. description: 方向 - 0:买 1:卖
  10376. type: integer
  10377. channelbuildtype:
  10378. description: 委托单据类型 0:无 1:建仓 2:平仓
  10379. type: integer
  10380. closecharge:
  10381. description: 平仓手续费(账户)
  10382. type: number
  10383. closecharge2:
  10384. description: 平仓手续费(商品)
  10385. type: number
  10386. closepl:
  10387. description: 平仓盈亏(账户)
  10388. type: number
  10389. closepl2:
  10390. description: 平仓盈亏(商品)
  10391. type: number
  10392. closepl3:
  10393. description: 平仓盈亏(账户)(逐笔)
  10394. type: number
  10395. closepl4:
  10396. description: 平仓盈亏(商品)(逐笔)
  10397. type: number
  10398. closetype:
  10399. description: 平仓方式 - 0:无 1:平今 2:平昨
  10400. type: integer
  10401. curexchangerate:
  10402. description: 当前汇率
  10403. type: number
  10404. exchangefullname:
  10405. description: 外部交易所全称
  10406. type: string
  10407. goodscode:
  10408. description: 商品代码(内部)
  10409. type: string
  10410. goodsid:
  10411. description: 商品ID
  10412. type: integer
  10413. goodsname:
  10414. description: 商品名称
  10415. type: string
  10416. marketid:
  10417. description: 市场ID
  10418. type: integer
  10419. opencharge:
  10420. description: 建仓手续费(账户)
  10421. type: number
  10422. opencharge2:
  10423. description: 建仓手续费(商品)
  10424. type: number
  10425. orderid:
  10426. description: 委托单号
  10427. type: string
  10428. orderlogincode:
  10429. description: 委托人
  10430. type: string
  10431. tradeamount:
  10432. description: 成交金额(账户)
  10433. type: number
  10434. tradedate:
  10435. description: 交易日(yyyyMMdd)
  10436. type: string
  10437. tradeid:
  10438. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10439. type: string
  10440. tradeprice:
  10441. description: 成交价格
  10442. type: number
  10443. tradeqty:
  10444. description: 成交数量
  10445. type: integer
  10446. tradetime:
  10447. description: 成交时间
  10448. type: string
  10449. tradetype:
  10450. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  10451. type: integer
  10452. type: object
  10453. models.QuotePrimaryMenu:
  10454. properties:
  10455. Index:
  10456. description: 序号
  10457. type: integer
  10458. Key:
  10459. description: 键名
  10460. type: string
  10461. Name:
  10462. description: 菜单名称
  10463. type: string
  10464. SubMenus:
  10465. description: 子菜单
  10466. items:
  10467. $ref: '#/definitions/models.QuoteSecondaryMenu'
  10468. type: array
  10469. SubTitleType:
  10470. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  10471. type: integer
  10472. TradeModes:
  10473. description: 包含市场交易类型
  10474. type: string
  10475. type: object
  10476. models.QuoteSecondaryMenu:
  10477. properties:
  10478. ExExchangeCode:
  10479. description: 外部交易所代码
  10480. type: string
  10481. ExExchangeID:
  10482. description: 外部交易所ID
  10483. type: integer
  10484. GoodsGroupIDs:
  10485. description: 商品组ID列表
  10486. items:
  10487. type: integer
  10488. type: array
  10489. Index:
  10490. description: 序号
  10491. type: integer
  10492. MarketID:
  10493. description: 市场ID
  10494. type: integer
  10495. MenuTitle:
  10496. description: 菜单标题(市场名称或外部交易所名称)
  10497. type: string
  10498. TradeMode:
  10499. description: 交易模式
  10500. type: integer
  10501. type: object
  10502. models.SearchGoods:
  10503. properties:
  10504. goodscode:
  10505. description: 商品代码(内部)
  10506. type: string
  10507. goodsid:
  10508. description: 商品ID(自增ID SEQ_GOODS)
  10509. type: integer
  10510. goodsname:
  10511. description: 商品名称
  10512. type: string
  10513. marketid:
  10514. description: 所属市场ID
  10515. type: integer
  10516. marketname:
  10517. description: 市场名称
  10518. type: string
  10519. trademode:
  10520. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10521. 21:竞拍-大宗式 22:受托竞价
  10522. type: integer
  10523. required:
  10524. - goodscode
  10525. - goodsid
  10526. - goodsname
  10527. - marketid
  10528. - trademode
  10529. type: object
  10530. models.Systemparam:
  10531. properties:
  10532. loginid:
  10533. description: 更新用户账号,登录账号
  10534. type: string
  10535. modifyflag:
  10536. description: 修改标志0 不允许修改 1 允许修改
  10537. type: integer
  10538. paramcode:
  10539. description: 参数代码
  10540. type: string
  10541. paramname:
  10542. description: 参数名
  10543. type: string
  10544. paramtype:
  10545. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  10546. type: integer
  10547. paramvalue:
  10548. description: 参数值
  10549. type: string
  10550. paramvalue2:
  10551. description: 参数值(CLOB)
  10552. type: string
  10553. regexpress:
  10554. description: 正则表达式
  10555. type: string
  10556. remark:
  10557. description: 备注
  10558. type: string
  10559. serverip:
  10560. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  10561. type: string
  10562. showflag:
  10563. description: 是否显示0 不显示 1 显示
  10564. type: integer
  10565. updatetime:
  10566. description: 更新时间
  10567. type: string
  10568. userid:
  10569. description: 更新用户ID
  10570. type: integer
  10571. required:
  10572. - paramcode
  10573. type: object
  10574. models.Szdz3convertconfig:
  10575. properties:
  10576. canin:
  10577. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  10578. type: integer
  10579. canout:
  10580. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  10581. type: integer
  10582. converttype:
  10583. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  10584. 6:交易转花生米(不设置)
  10585. type: integer
  10586. createtime:
  10587. description: 创建时间
  10588. type: string
  10589. creatorid:
  10590. description: 创建人
  10591. type: integer
  10592. daymaxvalue:
  10593. description: 当日最大转入限制
  10594. type: number
  10595. freezedays:
  10596. description: 冻结天数 [5:花生米转交易]
  10597. type: integer
  10598. innergoodsid:
  10599. description: 内部商品ID[交易]
  10600. type: integer
  10601. inratio:
  10602. description: 目标值
  10603. type: integer
  10604. modifierid:
  10605. description: 修改人
  10606. type: integer
  10607. modifytime:
  10608. description: 修改时间
  10609. type: string
  10610. outergoodscode:
  10611. description: 外部商品代码[JD\PD]
  10612. type: string
  10613. outratio:
  10614. description: 源值
  10615. type: integer
  10616. pddecimalplace:
  10617. description: PD小数位
  10618. type: integer
  10619. timemaxvalue:
  10620. description: 单次最大转入限制
  10621. type: number
  10622. timeminvalue:
  10623. description: 单次最小转入限制
  10624. type: number
  10625. required:
  10626. - converttype
  10627. - innergoodsid
  10628. - outergoodscode
  10629. type: object
  10630. models.Szdz3searchwhitelist:
  10631. properties:
  10632. createtime:
  10633. description: 创建时间
  10634. type: string
  10635. creatorid:
  10636. description: 创建人
  10637. type: integer
  10638. modifierid:
  10639. description: 修改人
  10640. type: integer
  10641. modifytime:
  10642. description: 修改时间
  10643. type: string
  10644. userid:
  10645. description: 用户ID
  10646. type: integer
  10647. required:
  10648. - userid
  10649. type: object
  10650. models.Taaccount:
  10651. properties:
  10652. accountflag:
  10653. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  10654. type: integer
  10655. accountid:
  10656. description: 资金账户ID
  10657. type: integer
  10658. accountname:
  10659. description: 账户名称
  10660. type: string
  10661. balance:
  10662. description: 期初余额
  10663. type: number
  10664. capitalbalance:
  10665. description: 本金余额[外部子账户实际出入金余额]
  10666. type: number
  10667. changeflag:
  10668. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  10669. type: integer
  10670. changetime:
  10671. description: 账户状态变更时间
  10672. type: string
  10673. closepl:
  10674. description: 今日平仓盈亏
  10675. type: number
  10676. creditdecrease:
  10677. description: 今日授信减少
  10678. type: number
  10679. creditincrease:
  10680. description: 今日授信增加
  10681. type: number
  10682. currencyid:
  10683. description: 货币ID
  10684. type: integer
  10685. currentbalance:
  10686. description: 期末余额
  10687. type: number
  10688. freezecharge:
  10689. description: 手续费冻结
  10690. type: number
  10691. freezemargin:
  10692. description: 冻结保证金
  10693. type: number
  10694. fromaccountid:
  10695. description: 所属上级账户
  10696. type: integer
  10697. inamount:
  10698. description: 今日入金金额(包括三方入金)
  10699. type: number
  10700. ismain:
  10701. description: 是否母账号 0:不是母账户 1:是母账户
  10702. type: integer
  10703. ismarketaccount:
  10704. description: 是否机构接单账号 0:不是 1:是
  10705. type: integer
  10706. isreckonaccount:
  10707. description: 是否机构分润账号 0:不是 1:是
  10708. type: integer
  10709. mortgagecredit:
  10710. description: 授信金额
  10711. type: number
  10712. orifreezecharge:
  10713. description: 期初手续费冻结
  10714. type: number
  10715. orifreezemargin:
  10716. description: 期初冻结保证金
  10717. type: number
  10718. orimortgagecredit:
  10719. description: 期初授信金额
  10720. type: number
  10721. oriothercredit:
  10722. description: 期初其它授信金额
  10723. type: number
  10724. oriotherfreezemargin:
  10725. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  10726. type: number
  10727. orioutamountfreeze:
  10728. description: 期初出金冻结
  10729. type: number
  10730. oriusedmargin:
  10731. description: 期初占用保证金
  10732. type: number
  10733. othercredit:
  10734. description: 其它授信金额
  10735. type: number
  10736. othercreditdecrease:
  10737. description: 今日其它授信减少
  10738. type: number
  10739. othercreditincrease:
  10740. description: 今日其它授信增加
  10741. type: number
  10742. otherfreezemargin:
  10743. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  10744. type: number
  10745. otherincome:
  10746. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  10747. type: number
  10748. otherpay:
  10749. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  10750. type: number
  10751. outamount:
  10752. description: 今日出金金额(包括三方出金)
  10753. type: number
  10754. outamountfreeze:
  10755. description: 出金冻结
  10756. type: number
  10757. outthreshold:
  10758. description: 出金阈值
  10759. type: number
  10760. parentaccountid:
  10761. description: 所属根账号
  10762. type: integer
  10763. paycharge:
  10764. description: 今日手续费支出
  10765. type: number
  10766. relatedaccountstatus:
  10767. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  10768. type: integer
  10769. relateduserid:
  10770. description: 关联用户
  10771. type: integer
  10772. serivcegroup:
  10773. description: 服务分组
  10774. type: integer
  10775. signstatus:
  10776. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10777. type: integer
  10778. sublevelpath:
  10779. description: 账号层级路径(逗号分隔,首尾加逗号)
  10780. type: string
  10781. taaccounttype:
  10782. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  10783. type: integer
  10784. thirdinamount:
  10785. description: 今日三方入金
  10786. type: number
  10787. thirdoutamount:
  10788. description: 今日三方出金
  10789. type: number
  10790. tradestatus:
  10791. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  10792. type: integer
  10793. tradestatuschangetime:
  10794. description: 激活时间
  10795. type: string
  10796. transferamount:
  10797. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  10798. type: number
  10799. usedmargin:
  10800. description: 占用保证金
  10801. type: number
  10802. userid:
  10803. description: 用户ID
  10804. type: integer
  10805. required:
  10806. - accountid
  10807. - userid
  10808. type: object
  10809. models.Tablecolumnconfig:
  10810. properties:
  10811. aligntype:
  10812. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  10813. type: integer
  10814. autoid:
  10815. description: AutoID
  10816. type: integer
  10817. columnfield:
  10818. description: 列字段
  10819. type: string
  10820. columntitle:
  10821. description: 列Title
  10822. type: string
  10823. columnwidth:
  10824. description: 列宽
  10825. type: string
  10826. formatterstring:
  10827. description: 格式化字符
  10828. type: string
  10829. formattertype:
  10830. description: 格式化类型
  10831. type: string
  10832. groupname:
  10833. description: 表头分组名称
  10834. type: string
  10835. isshow:
  10836. description: 是否显示 - 0:不显示 1:显示
  10837. type: integer
  10838. needsummary:
  10839. description: 是否需要汇总 - 0:不需要 1:需要
  10840. type: integer
  10841. orderindex:
  10842. description: 顺序
  10843. type: integer
  10844. remark:
  10845. description: 备注
  10846. type: string
  10847. summarytype:
  10848. description: 汇总类型 - 1:加总 2:最后一个
  10849. type: integer
  10850. tablekey:
  10851. description: 列表Key
  10852. type: string
  10853. required:
  10854. - autoid
  10855. type: object
  10856. models.UserCollectConfig:
  10857. properties:
  10858. accountstatus:
  10859. description: 账户状态 - 1:正常 2:停用 3:注销
  10860. type: integer
  10861. collectaccountname:
  10862. description: 收款人账户名称
  10863. type: string
  10864. collectaccountno:
  10865. description: 收款人账户
  10866. type: string
  10867. collectbankname:
  10868. description: 收款人开户行
  10869. type: string
  10870. collectbranchbankname:
  10871. description: 收款人开户支行
  10872. type: string
  10873. collectconfigid:
  10874. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  10875. type: string
  10876. remark:
  10877. description: 备注
  10878. type: string
  10879. userid:
  10880. description: 收款人用户ID
  10881. type: integer
  10882. type: object
  10883. models.UserReceiveInfo:
  10884. properties:
  10885. address:
  10886. description: 提货人详细地址
  10887. type: string
  10888. autoid:
  10889. description: AutoID
  10890. type: integer
  10891. cardnum:
  10892. description: 证件号码(加密存储)
  10893. type: string
  10894. cardtypeid:
  10895. description: 证件类型
  10896. type: integer
  10897. cityid:
  10898. description: 市
  10899. type: integer
  10900. cityname:
  10901. description: 城市名称
  10902. type: string
  10903. countryid:
  10904. description: 国家
  10905. type: integer
  10906. countryname:
  10907. description: 国家名称
  10908. type: string
  10909. districtid:
  10910. description: 地区
  10911. type: integer
  10912. districtname:
  10913. description: 地区名称
  10914. type: string
  10915. hasencrypt:
  10916. description: 数据是否已加密 - 0:未加密 1:已加密
  10917. type: integer
  10918. isdefault:
  10919. description: 是否默认地址 - 0:否 1:是
  10920. type: integer
  10921. phonenum:
  10922. description: 提货人联系方式(加密存储)
  10923. type: string
  10924. provinceid:
  10925. description: 省
  10926. type: integer
  10927. provincename:
  10928. description: 省名称
  10929. type: string
  10930. receivername:
  10931. description: 提货人姓名
  10932. type: string
  10933. takeremark:
  10934. description: 提货备注
  10935. type: string
  10936. userid:
  10937. description: 用户ID
  10938. type: integer
  10939. type: object
  10940. models.Useraccount:
  10941. properties:
  10942. accountname:
  10943. description: 账户名称(机构名称)
  10944. type: string
  10945. accountstatus:
  10946. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  10947. type: integer
  10948. applysrc:
  10949. description: 申请来源 - 1:管理端 2:终端
  10950. type: integer
  10951. auditremark:
  10952. description: 审核备注
  10953. type: string
  10954. auditsrc:
  10955. description: 审核来源 - 1:管理端 2:终端
  10956. type: integer
  10957. audittime:
  10958. description: 审核时间
  10959. type: string
  10960. audituserid:
  10961. description: 审核人
  10962. type: integer
  10963. broker:
  10964. description: 所属经纪人ID
  10965. type: integer
  10966. canceltime:
  10967. description: 销户时间
  10968. type: string
  10969. canceluserid:
  10970. description: 销户人
  10971. type: integer
  10972. canrecommend:
  10973. description: 是否可推荐 - 0:不可 1;可
  10974. type: integer
  10975. createtime:
  10976. description: 创建时间
  10977. type: string
  10978. creatorid:
  10979. description: 创建人
  10980. type: integer
  10981. hasauth:
  10982. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  10983. type: integer
  10984. isanonymous:
  10985. description: 是否匿名下单 - 0:否 1:是
  10986. type: integer
  10987. maxinvestornum:
  10988. description: 最大用户数(经纪会员下投资者个数)
  10989. type: integer
  10990. memberuserid:
  10991. description: 所属会员ID
  10992. type: integer
  10993. modifierid:
  10994. description: 修改人
  10995. type: integer
  10996. modifyremark:
  10997. description: 变更备注
  10998. type: string
  10999. modifystatus:
  11000. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  11001. type: integer
  11002. modifytime:
  11003. description: 修改时间
  11004. type: string
  11005. parenttopuser:
  11006. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11007. type: string
  11008. parentuserid:
  11009. description: 所属机构ID
  11010. type: integer
  11011. reckonaccountid:
  11012. description: 默认结算资金账号ID(机构分润使用) 作废
  11013. type: integer
  11014. refercount:
  11015. description: 推荐总人数
  11016. type: integer
  11017. refereeuserid:
  11018. description: 推荐人ID
  11019. type: integer
  11020. refernum:
  11021. description: 推荐码
  11022. type: string
  11023. rootuserid:
  11024. description: 根用户ID
  11025. type: integer
  11026. subaccountlevel:
  11027. description: 子账户层数
  11028. type: integer
  11029. subarealevelpath:
  11030. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11031. type: string
  11032. userid:
  11033. description: 用户ID
  11034. type: integer
  11035. usertype:
  11036. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11037. type: integer
  11038. required:
  11039. - userid
  11040. type: object
  11041. models.Userfavoritegoods:
  11042. properties:
  11043. goodsid:
  11044. description: 商品ID
  11045. type: integer
  11046. required:
  11047. - goodsid
  11048. type: object
  11049. models.Userinfo:
  11050. properties:
  11051. address:
  11052. description: 地址
  11053. type: string
  11054. attachment1:
  11055. description: 附件1
  11056. type: string
  11057. attachment2:
  11058. description: 附件2
  11059. type: string
  11060. bankaccount:
  11061. description: 银行帐号 (加密存储)
  11062. type: string
  11063. bankaccountname:
  11064. description: 收款人名称
  11065. type: string
  11066. bankcardfrontphotourl:
  11067. description: 银行卡正面照地址
  11068. type: string
  11069. bankid:
  11070. description: 银行编码
  11071. type: string
  11072. bankname:
  11073. description: 银行名称
  11074. type: string
  11075. biznature:
  11076. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  11077. type: integer
  11078. bizscope:
  11079. description: 企业经营范围(企业)
  11080. type: string
  11081. cardbackphotourl:
  11082. description: 证件背面图片地址
  11083. type: string
  11084. cardfrontphotourl:
  11085. description: 证件正面图片地址
  11086. type: string
  11087. cardnum:
  11088. description: 证件号码(加密存储)
  11089. type: string
  11090. cardtypeid:
  11091. description: 证件类型ID
  11092. type: integer
  11093. cityid:
  11094. description: 市
  11095. type: integer
  11096. company:
  11097. description: 公司(个人)
  11098. type: string
  11099. contactname:
  11100. description: 联系人
  11101. type: string
  11102. countryid:
  11103. description: 国家
  11104. type: integer
  11105. createtime:
  11106. description: 创建时间
  11107. type: string
  11108. creatorid:
  11109. description: 创建人
  11110. type: integer
  11111. customername:
  11112. description: 客户名称(企业名称)
  11113. type: string
  11114. districtid:
  11115. description: 地区
  11116. type: integer
  11117. email:
  11118. description: 邮件(加密存储)
  11119. type: string
  11120. fax:
  11121. description: 传真(加密存储)
  11122. type: string
  11123. halfbodyphotourl:
  11124. description: 半身照地址
  11125. type: string
  11126. hasencrypt:
  11127. description: 数据是否已加密 - 0:未加密 1:已加密
  11128. type: integer
  11129. headurl:
  11130. description: 头像地址
  11131. type: string
  11132. legalcardbackphotourl:
  11133. description: 法人身份证背面照地址
  11134. type: string
  11135. legalcardfrontphotourl:
  11136. description: 法人身份证正面照地址
  11137. type: string
  11138. legalpersonname:
  11139. description: 法人姓名(企业)
  11140. type: string
  11141. mobile:
  11142. description: 手机号码(加密存储)
  11143. type: string
  11144. mobile2:
  11145. description: 手机号码[明文-尚志]
  11146. type: string
  11147. modifierid:
  11148. description: 修改人
  11149. type: integer
  11150. modifiertime:
  11151. description: 修改时间
  11152. type: string
  11153. needinvoice:
  11154. description: 是否需要发票 - 0:不需要 1:需要
  11155. type: integer
  11156. nickname:
  11157. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  11158. type: string
  11159. openmode:
  11160. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  11161. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  11162. type: integer
  11163. otherurl:
  11164. description: 其它图片地址[使用分号分隔]
  11165. type: string
  11166. postalcode:
  11167. description: 邮政编码
  11168. type: string
  11169. provinceid:
  11170. description: 省
  11171. type: integer
  11172. qq:
  11173. description: QQ(加密存储
  11174. type: string
  11175. remark:
  11176. description: 备注
  11177. type: string
  11178. sex:
  11179. description: '用户性别 0: 女 1: 男'
  11180. type: integer
  11181. signpdfurl:
  11182. description: 签约pdf文件
  11183. type: string
  11184. telphone:
  11185. description: 联系电话(加密存储)
  11186. type: string
  11187. userid:
  11188. description: 用户ID
  11189. type: integer
  11190. userinfotype:
  11191. description: 用户信息类型 - 1:个人 2:企业
  11192. type: integer
  11193. userstatus:
  11194. description: 用户状态 - 1:正常 2:注销
  11195. type: integer
  11196. usertype:
  11197. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  11198. type: integer
  11199. wechat:
  11200. description: 微信(加密存储)
  11201. type: string
  11202. wskhinfo:
  11203. description: 开户申请信息(JSON)
  11204. type: string
  11205. required:
  11206. - userid
  11207. type: object
  11208. models.WRSConverTDetail:
  11209. properties:
  11210. convertratio:
  11211. description: 套保系数
  11212. type: number
  11213. deliverygoodscode:
  11214. description: 现货商品代码
  11215. type: string
  11216. deliverygoodsid:
  11217. description: 现货品种ID
  11218. type: integer
  11219. deliverygoodsname:
  11220. description: 现货商品名称
  11221. type: string
  11222. enumdicname:
  11223. description: 单位名称
  11224. type: string
  11225. goodsunitid:
  11226. description: 套保品种单位id
  11227. type: integer
  11228. middlegoodscode:
  11229. description: 套保品种代码
  11230. type: string
  11231. middlegoodsid:
  11232. description: 套保品种ID
  11233. type: integer
  11234. middlegoodsname:
  11235. description: 套保品种名称
  11236. type: string
  11237. modifytime:
  11238. description: 修改时间
  11239. type: string
  11240. wrstandardid:
  11241. description: 品类ID
  11242. type: integer
  11243. type: object
  11244. models.WRStandardInfo:
  11245. properties:
  11246. areauserid:
  11247. description: 所属机构
  11248. type: integer
  11249. convertfactor:
  11250. description: 标仓系数
  11251. type: number
  11252. createtime:
  11253. description: 创建时间
  11254. type: string
  11255. creatorid:
  11256. description: 创建人
  11257. type: integer
  11258. deliverygoodsid:
  11259. description: 品种ID
  11260. type: integer
  11261. deliverygoodsname:
  11262. description: 交割商品名称
  11263. type: string
  11264. factoryitemjson:
  11265. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  11266. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  11267. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  11268. 逗号分隔'
  11269. type: string
  11270. isvalid:
  11271. description: 是否有效 - 0:无效 1:有效
  11272. type: integer
  11273. minivalue:
  11274. description: 最小变动值
  11275. type: integer
  11276. minivaluedp:
  11277. description: 最小变动值小数位
  11278. type: integer
  11279. realminivalue:
  11280. description: 实际最小变动值
  11281. type: integer
  11282. realminivaluedp:
  11283. description: 实际最小变动值小数位
  11284. type: integer
  11285. remark:
  11286. description: 备注
  11287. type: string
  11288. unitid:
  11289. description: 单位ID
  11290. type: integer
  11291. unitname:
  11292. description: 单位
  11293. type: string
  11294. updatetime:
  11295. description: 更新时间
  11296. type: string
  11297. updatorid:
  11298. description: 更新人
  11299. type: integer
  11300. wrsstatus:
  11301. description: 状态 - 作废 - 0:未激活 1:正常
  11302. type: integer
  11303. wrstandardcode:
  11304. description: 现货品类代码
  11305. type: string
  11306. wrstandardid:
  11307. description: 现货品类ID(SEQ_WRSTANDARD)
  11308. type: integer
  11309. wrstandardname:
  11310. description: 现货品类名称
  11311. type: string
  11312. required:
  11313. - wrstandardid
  11314. type: object
  11315. models.Warehouseinfo:
  11316. properties:
  11317. address:
  11318. description: 详细地址
  11319. type: string
  11320. areauserid:
  11321. description: 所属机构
  11322. type: integer
  11323. autoid:
  11324. description: 自增ID
  11325. type: integer
  11326. cityid:
  11327. description: 市
  11328. type: integer
  11329. contactname:
  11330. description: 联系人
  11331. type: string
  11332. contactnum:
  11333. description: 联系电话
  11334. type: string
  11335. countryid:
  11336. description: 国家
  11337. type: integer
  11338. createtime:
  11339. description: 创建时间
  11340. type: string
  11341. districtid:
  11342. description: 区
  11343. type: integer
  11344. hasvideo:
  11345. description: 是否有视频 - 0:无 1:有
  11346. type: integer
  11347. provinceid:
  11348. description: 省
  11349. type: integer
  11350. remark:
  11351. description: 审核备注
  11352. type: string
  11353. videourl:
  11354. description: 视频地址
  11355. type: string
  11356. warehousecode:
  11357. description: 仓库代码
  11358. type: string
  11359. warehousename:
  11360. description: 仓库名称
  11361. type: string
  11362. warehousestatus:
  11363. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  11364. type: integer
  11365. warehousetype:
  11366. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  11367. type: integer
  11368. required:
  11369. - autoid
  11370. - warehousecode
  11371. type: object
  11372. order.QueryHisTradeDetailRsp:
  11373. properties:
  11374. accountid:
  11375. description: 账户ID[报价币种]
  11376. type: integer
  11377. buildtype:
  11378. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11379. type: integer
  11380. buyorsell:
  11381. description: 方向 - 0:买 1:卖
  11382. type: integer
  11383. charge:
  11384. description: 手续费
  11385. type: number
  11386. closecharge:
  11387. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11388. type: number
  11389. closeexchagechargevalue:
  11390. description: 平仓交易所手续费设置值
  11391. type: number
  11392. closefeealgorithm:
  11393. description: 平仓手续费收取方式 1:比率 2:固定
  11394. type: integer
  11395. closememberchargevalue:
  11396. description: 平仓会员手续费设置值
  11397. type: number
  11398. closepl:
  11399. description: 平仓盈亏
  11400. type: number
  11401. closepl2:
  11402. description: 平仓盈亏[逐笔]
  11403. type: number
  11404. closeqty:
  11405. description: 平仓数量(先建后平操作 需要记录)
  11406. type: integer
  11407. creditamount:
  11408. description: 授信金额
  11409. type: number
  11410. gcaccountid:
  11411. description: 账户ID[合约币种]
  11412. type: integer
  11413. goodscode:
  11414. description: 商品代码
  11415. type: string
  11416. goodsid:
  11417. description: 商品ID
  11418. type: integer
  11419. goodsname:
  11420. description: 商品名称
  11421. type: string
  11422. histradedate:
  11423. description: 历史交易日
  11424. type: string
  11425. intclosepl:
  11426. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11427. type: integer
  11428. isconfirmexercise:
  11429. description: 是否确认行权- 0:否 1:是
  11430. type: integer
  11431. ismain:
  11432. description: 是否主单 - 0:不是 1:是
  11433. type: integer
  11434. ispreexercise:
  11435. description: 是否预申报- 0:否 1:是
  11436. type: integer
  11437. isreckoned:
  11438. description: 是否结算 - 0:未结算 1:已结算
  11439. type: integer
  11440. isvaliddata:
  11441. description: 是否有效 - 0:无效 1:有效
  11442. type: integer
  11443. listingselecttype:
  11444. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11445. type: integer
  11446. marketid:
  11447. description: 市场ID
  11448. type: integer
  11449. marketname:
  11450. description: 市场名称
  11451. type: string
  11452. matchaccountid:
  11453. description: 对手账号id
  11454. type: integer
  11455. memberuserid:
  11456. description: 会员id 个人投资者 需要填写
  11457. type: integer
  11458. opencharge:
  11459. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11460. type: number
  11461. openexchagechargevalue:
  11462. description: 建仓交易所手续费设置值
  11463. type: number
  11464. openfeealgorithm:
  11465. description: 建仓手续费收取方式 1:比率 2:固定
  11466. type: integer
  11467. openmemberchargevalue:
  11468. description: 建仓会员手续费设置值
  11469. type: number
  11470. openqty:
  11471. description: 开仓数量(先建后平操作 需要记录)
  11472. type: integer
  11473. optiontype:
  11474. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11475. type: integer
  11476. orderid:
  11477. description: 委托单号
  11478. type: string
  11479. performanceplanid:
  11480. description: 履约计划ID[期权]
  11481. type: integer
  11482. performancestatus:
  11483. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11484. type: integer
  11485. preexerciseprice:
  11486. description: 预申报价格
  11487. type: number
  11488. premium:
  11489. description: 权利金 - [持仓单的权利金]
  11490. type: number
  11491. relatedouttradeid:
  11492. description: 关联外部成交单ID
  11493. type: integer
  11494. status:
  11495. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11496. type: integer
  11497. tradeamount:
  11498. description: 成交金额[账户币种,用于所有权]
  11499. type: number
  11500. tradedate:
  11501. description: 交易日(yyyyMMdd)
  11502. type: string
  11503. tradeid:
  11504. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11505. type: string
  11506. trademode:
  11507. description: 交易模式
  11508. type: integer
  11509. tradeprice:
  11510. description: 成交价格
  11511. type: number
  11512. tradeproperty:
  11513. description: 交易属性
  11514. type: integer
  11515. tradeqty:
  11516. description: 成交数量
  11517. type: integer
  11518. tradetime:
  11519. description: 成交时间
  11520. type: string
  11521. tradetype:
  11522. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11523. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11524. type: integer
  11525. required:
  11526. - accountid
  11527. - buyorsell
  11528. - goodsid
  11529. - histradedate
  11530. - marketid
  11531. - memberuserid
  11532. - orderid
  11533. - tradeamount
  11534. - tradedate
  11535. - tradeid
  11536. - tradeprice
  11537. - tradeqty
  11538. - tradetime
  11539. type: object
  11540. order.QueryHisTradeOrderDetailRsp:
  11541. properties:
  11542. accountid:
  11543. description: 账户ID[报价币种]
  11544. type: integer
  11545. buildtype:
  11546. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11547. type: integer
  11548. buyorsell:
  11549. description: 买卖 - 0:买 1:卖
  11550. type: integer
  11551. cancelorderid:
  11552. description: 撤单单号(撤单时填写)
  11553. type: string
  11554. cancelqty:
  11555. description: 撤单数量
  11556. type: integer
  11557. clientordertime:
  11558. description: 客户端委托时间
  11559. type: string
  11560. clientticket:
  11561. description: 客户端流水号
  11562. type: string
  11563. clienttype:
  11564. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11565. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11566. type: integer
  11567. closeexchagechargevalue:
  11568. description: 平仓交易所手续费设置值
  11569. type: number
  11570. closefeealgorithm:
  11571. description: 平仓手续费收取方式 1:比率 2:固定
  11572. type: integer
  11573. closefreezecharge:
  11574. description: 平仓冻结手续费(先建后平操作,需要记录)
  11575. type: number
  11576. closememberchargevalue:
  11577. description: 平仓会员手续费设置值
  11578. type: number
  11579. closeqty:
  11580. description: 平仓数量(先建后平操作 需要记录)
  11581. type: integer
  11582. closetradeqty:
  11583. description: 平仓成交数量(先建后平操作,需要记录)
  11584. type: integer
  11585. closeunfreezecharge:
  11586. description: 平仓解冻手续费(先建后平操作,需要记录)
  11587. type: number
  11588. delistingtype:
  11589. description: 摘牌类型 - 1:价格最优 2:点选成交
  11590. type: integer
  11591. freezecharge:
  11592. description: 冻结手续费
  11593. type: number
  11594. freezemargin:
  11595. description: 冻结保证金(冻结交易金额)
  11596. type: number
  11597. gcaccountid:
  11598. description: 账户ID[合约币种]
  11599. type: integer
  11600. goodscode:
  11601. description: 商品代码
  11602. type: string
  11603. goodsid:
  11604. description: 商品ID
  11605. type: integer
  11606. goodsname:
  11607. description: 商品名称
  11608. type: string
  11609. histradedate:
  11610. description: 历史交易日
  11611. type: string
  11612. isconfirmexercise:
  11613. description: 是否确认行权- 0:否 1:是
  11614. type: integer
  11615. ispreexercise:
  11616. description: 是否预申报- 0:否 1:是
  11617. type: integer
  11618. isvaliddata:
  11619. description: 是否有效 - 0:无效 1:有效
  11620. type: integer
  11621. listingselecttype:
  11622. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11623. type: integer
  11624. marginalgorithm:
  11625. description: 保证金收取方式 1:比率 2:固定
  11626. type: integer
  11627. marginvalue:
  11628. description: 即市保证金设置值
  11629. type: number
  11630. marketid:
  11631. description: 市场ID
  11632. type: integer
  11633. marketmaxsub:
  11634. description: 市价最大偏移范围
  11635. type: number
  11636. marketname:
  11637. description: 市场名称
  11638. type: string
  11639. memberuserid:
  11640. description: 所属会员UserID
  11641. type: integer
  11642. openexchagechargevalue:
  11643. description: 建仓交易所手续费设置值
  11644. type: number
  11645. openfeealgorithm:
  11646. description: 建仓手续费收取方式 1:比率 2:固定
  11647. type: integer
  11648. openfreezecharge:
  11649. description: 开仓冻结手续费(先建后平操作,需要记录)
  11650. type: number
  11651. openmemberchargevalue:
  11652. description: 建仓会员手续费设置值
  11653. type: number
  11654. openqty:
  11655. description: 开仓数量(先建后平操作,需要记录)
  11656. type: integer
  11657. opentradeqty:
  11658. description: 开仓成交数量(先建后平操作,需要记录)
  11659. type: integer
  11660. openunfreezecharge:
  11661. description: 开仓解冻手续费(先建后平操作,需要记录)
  11662. type: number
  11663. operatetype:
  11664. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11665. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11666. 15:管理端协议转让
  11667. type: integer
  11668. operatorid:
  11669. description: 登录账号(LoginID)
  11670. type: integer
  11671. optiontype:
  11672. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11673. type: integer
  11674. orderid:
  11675. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11676. type: string
  11677. orderprice:
  11678. description: 委托价格
  11679. type: number
  11680. orderqty:
  11681. description: 委托数量
  11682. type: integer
  11683. ordersrc:
  11684. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11685. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11686. type: integer
  11687. orderstatus:
  11688. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11689. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11690. 16:成交失败违约(荷兰式竞拍专用)
  11691. type: integer
  11692. ordertime:
  11693. description: 委托时间
  11694. type: string
  11695. preexerciseprice:
  11696. description: 预申报价格
  11697. type: number
  11698. premium:
  11699. description: 权利金
  11700. type: number
  11701. preorderid:
  11702. description: 关联预埋单号(止盈止损单时填写)
  11703. type: string
  11704. pricemode:
  11705. description: '取价方式 - 1:市价 2: 限价'
  11706. type: integer
  11707. quoteid:
  11708. description: 报价单ID
  11709. type: integer
  11710. relatedid:
  11711. description: 关联单号(交割单)
  11712. type: string
  11713. retcode:
  11714. description: 错误代码
  11715. type: integer
  11716. sessionid:
  11717. description: 会话ID
  11718. type: integer
  11719. tradedate:
  11720. description: 交易日(yyyyMMdd)
  11721. type: string
  11722. trademode:
  11723. description: 交易模式
  11724. type: integer
  11725. tradeproperty:
  11726. description: 交易属性
  11727. type: integer
  11728. tradeqty:
  11729. description: 成交数量
  11730. type: integer
  11731. unfreezecharge:
  11732. description: 解冻手续费
  11733. type: number
  11734. unfreezemargin:
  11735. description: 解冻保证金
  11736. type: number
  11737. updatetime:
  11738. description: 更新时间
  11739. type: string
  11740. uuid:
  11741. description: 发起端唯一id
  11742. type: string
  11743. validtime:
  11744. description: 有效期限
  11745. type: string
  11746. validtype:
  11747. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11748. type: integer
  11749. volumetype:
  11750. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11751. type: integer
  11752. required:
  11753. - accountid
  11754. - buildtype
  11755. - buyorsell
  11756. - goodsid
  11757. - histradedate
  11758. - marketid
  11759. - memberuserid
  11760. - operatetype
  11761. - orderid
  11762. - orderqty
  11763. - ordertime
  11764. - pricemode
  11765. - tradedate
  11766. - validtype
  11767. type: object
  11768. order.QueryTradeDetailRsp:
  11769. properties:
  11770. accountid:
  11771. description: 账户ID[报价币种]
  11772. type: integer
  11773. buildtype:
  11774. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11775. type: integer
  11776. buyorsell:
  11777. description: 方向 - 0:买 1:卖
  11778. type: integer
  11779. charge:
  11780. description: 手续费
  11781. type: number
  11782. closecharge:
  11783. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11784. type: number
  11785. closeexchagechargevalue:
  11786. description: 平仓交易所手续费设置值
  11787. type: number
  11788. closefeealgorithm:
  11789. description: 平仓手续费收取方式 1:比率 2:固定
  11790. type: integer
  11791. closememberchargevalue:
  11792. description: 平仓会员手续费设置值
  11793. type: number
  11794. closepl:
  11795. description: 平仓盈亏
  11796. type: number
  11797. closepl2:
  11798. description: 平仓盈亏[逐笔]
  11799. type: number
  11800. closeqty:
  11801. description: 平仓数量(先建后平操作 需要记录)
  11802. type: integer
  11803. creditamount:
  11804. description: 授信金额
  11805. type: number
  11806. gcaccountid:
  11807. description: 账户ID[合约币种]
  11808. type: integer
  11809. goodscode:
  11810. description: 商品代码
  11811. type: string
  11812. goodsid:
  11813. description: 商品ID
  11814. type: integer
  11815. goodsname:
  11816. description: 商品名称
  11817. type: string
  11818. intclosepl:
  11819. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11820. type: integer
  11821. isconfirmexercise:
  11822. description: 是否确认行权- 0:否 1:是
  11823. type: integer
  11824. ismain:
  11825. description: 是否主单 - 0:不是 1:是
  11826. type: integer
  11827. ispreexercise:
  11828. description: 是否预申报- 0:否 1:是
  11829. type: integer
  11830. isreckoned:
  11831. description: 是否结算 - 0:未结算 1:已结算
  11832. type: integer
  11833. listingselecttype:
  11834. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11835. type: integer
  11836. marketid:
  11837. description: 市场ID
  11838. type: integer
  11839. marketname:
  11840. description: 市场名称
  11841. type: string
  11842. matchaccountid:
  11843. description: 对手账号id
  11844. type: integer
  11845. memberuserid:
  11846. description: 会员id 个人投资者 需要填写
  11847. type: integer
  11848. opencharge:
  11849. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11850. type: number
  11851. openexchagechargevalue:
  11852. description: 建仓交易所手续费设置值
  11853. type: number
  11854. openfeealgorithm:
  11855. description: 建仓手续费收取方式 1:比率 2:固定
  11856. type: integer
  11857. openmemberchargevalue:
  11858. description: 建仓会员手续费设置值
  11859. type: number
  11860. openqty:
  11861. description: 开仓数量(先建后平操作 需要记录)
  11862. type: integer
  11863. optiontype:
  11864. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11865. type: integer
  11866. orderid:
  11867. description: 委托单号
  11868. type: string
  11869. performanceplanid:
  11870. description: 履约计划ID[期权]
  11871. type: integer
  11872. performancestatus:
  11873. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11874. type: integer
  11875. preexerciseprice:
  11876. description: 预申报价格
  11877. type: number
  11878. premium:
  11879. description: 权利金 - [持仓单的权利金]
  11880. type: number
  11881. relatedouttradeid:
  11882. description: 关联外部成交单ID
  11883. type: integer
  11884. status:
  11885. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11886. type: integer
  11887. tradeamount:
  11888. description: 成交金额[账户币种,用于所有权]
  11889. type: number
  11890. tradedate:
  11891. description: 交易日(yyyyMMdd)
  11892. type: string
  11893. tradeid:
  11894. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11895. type: string
  11896. trademode:
  11897. description: 交易模式
  11898. type: integer
  11899. tradeprice:
  11900. description: 成交价格
  11901. type: number
  11902. tradeproperty:
  11903. description: 交易属性
  11904. type: integer
  11905. tradeqty:
  11906. description: 成交数量
  11907. type: integer
  11908. tradetime:
  11909. description: 成交时间
  11910. type: string
  11911. tradetype:
  11912. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11913. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11914. type: integer
  11915. required:
  11916. - accountid
  11917. - buyorsell
  11918. - goodsid
  11919. - marketid
  11920. - memberuserid
  11921. - orderid
  11922. - tradeamount
  11923. - tradedate
  11924. - tradeid
  11925. - tradeprice
  11926. - tradeqty
  11927. - tradetime
  11928. type: object
  11929. order.QueryTradeOrderDetailRsp:
  11930. properties:
  11931. accountid:
  11932. description: 账户ID[报价币种]
  11933. type: integer
  11934. buildtype:
  11935. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11936. type: integer
  11937. buyorsell:
  11938. description: 买卖 - 0:买 1:卖
  11939. type: integer
  11940. cancelorderid:
  11941. description: 撤单单号(撤单时填写)
  11942. type: string
  11943. cancelqty:
  11944. description: 撤单数量
  11945. type: integer
  11946. clienttype:
  11947. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11948. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11949. type: integer
  11950. closefreezecharge:
  11951. description: 平仓冻结手续费(先建后平操作,需要记录)
  11952. type: number
  11953. closeqty:
  11954. description: 平仓数量(先建后平操作 需要记录)
  11955. type: integer
  11956. closetradeqty:
  11957. description: 平仓成交数量(先建后平操作,需要记录)
  11958. type: integer
  11959. closeunfreezecharge:
  11960. description: 平仓解冻手续费(先建后平操作,需要记录)
  11961. type: number
  11962. delistingtype:
  11963. description: 摘牌类型 - 1:价格最优 2:点选成交
  11964. type: integer
  11965. enableqty:
  11966. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  11967. type: integer
  11968. freezecharge:
  11969. description: 冻结手续费
  11970. type: number
  11971. freezemargin:
  11972. description: 冻结保证金(冻结交易金额)
  11973. type: number
  11974. goodscode:
  11975. description: 商品代码
  11976. type: string
  11977. goodsid:
  11978. description: 商品ID
  11979. type: integer
  11980. goodsname:
  11981. description: 商品名称
  11982. type: string
  11983. listingselecttype:
  11984. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11985. type: integer
  11986. marketid:
  11987. description: 市场ID
  11988. type: integer
  11989. marketname:
  11990. description: 市场名称
  11991. type: string
  11992. openfreezecharge:
  11993. description: 开仓冻结手续费(先建后平操作,需要记录)
  11994. type: number
  11995. openqty:
  11996. description: 开仓数量(先建后平操作,需要记录)
  11997. type: integer
  11998. opentradeqty:
  11999. description: 开仓成交数量(先建后平操作,需要记录)
  12000. type: integer
  12001. openunfreezecharge:
  12002. description: 开仓解冻手续费(先建后平操作,需要记录)
  12003. type: number
  12004. operatetype:
  12005. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  12006. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  12007. 15:管理端协议转让
  12008. type: integer
  12009. operatorid:
  12010. description: 登录账号(LoginID)
  12011. type: integer
  12012. orderid:
  12013. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12014. type: string
  12015. orderprice:
  12016. description: 委托价格
  12017. type: number
  12018. orderqty:
  12019. description: 委托数量
  12020. type: integer
  12021. ordersrc:
  12022. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  12023. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  12024. type: integer
  12025. orderstatus:
  12026. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12027. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12028. 16:成交失败违约(荷兰式竞拍专用)
  12029. type: integer
  12030. ordertime:
  12031. description: 委托时间
  12032. type: string
  12033. preorderid:
  12034. description: 关联预埋单号(止盈止损单时填写)
  12035. type: string
  12036. pricemode:
  12037. description: '取价方式 - 1:市价 2: 限价'
  12038. type: integer
  12039. relatedid:
  12040. description: 关联单号(交割单)
  12041. type: string
  12042. tradedate:
  12043. description: 交易日(yyyyMMdd)
  12044. type: string
  12045. trademode:
  12046. description: 交易模式
  12047. type: integer
  12048. tradeqty:
  12049. description: 成交数量
  12050. type: integer
  12051. unfreezecharge:
  12052. description: 解冻手续费
  12053. type: number
  12054. unfreezemargin:
  12055. description: 解冻保证金
  12056. type: number
  12057. validtime:
  12058. description: 有效期限
  12059. type: string
  12060. validtype:
  12061. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  12062. type: integer
  12063. volumetype:
  12064. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  12065. type: integer
  12066. required:
  12067. - accountid
  12068. - buildtype
  12069. - buyorsell
  12070. - goodsid
  12071. - marketid
  12072. - operatetype
  12073. - orderqty
  12074. - ordertime
  12075. - pricemode
  12076. - tradedate
  12077. - validtype
  12078. type: object
  12079. order.QueryTradePositionRsp:
  12080. properties:
  12081. accountid:
  12082. description: 资金账户
  12083. type: integer
  12084. agreeunit:
  12085. description: 合约单位
  12086. type: number
  12087. averageprice:
  12088. description: 持仓均价
  12089. type: number
  12090. buyorsell:
  12091. description: 方向 - 0:买 1:卖
  12092. type: integer
  12093. closetotalqty:
  12094. description: 平仓总数量
  12095. type: integer
  12096. curholderamount:
  12097. description: 当前持仓总金额[商品币种]
  12098. type: number
  12099. curpositionqty:
  12100. description: 当前持仓总数量
  12101. type: integer
  12102. currencyid:
  12103. description: 报价货币ID
  12104. type: integer
  12105. curtdposition:
  12106. description: 期末今日头寸
  12107. type: integer
  12108. decimalplace:
  12109. description: 报价小数位
  12110. type: integer
  12111. enableqty:
  12112. description: 可用量
  12113. type: integer
  12114. fretdposition:
  12115. description: 冻结今日头寸
  12116. type: integer
  12117. frozenqty:
  12118. description: 持仓冻结数量
  12119. type: integer
  12120. goodscode:
  12121. description: 商品代码
  12122. type: string
  12123. goodsid:
  12124. description: 商品Id
  12125. type: integer
  12126. goodsname:
  12127. description: 商品名称
  12128. type: string
  12129. goodunit:
  12130. description: 报价单位
  12131. type: string
  12132. goodunitid:
  12133. description: 报价单位ID
  12134. type: integer
  12135. holderamount:
  12136. description: 期初持仓总金额[商品币种]
  12137. type: number
  12138. marketid:
  12139. description: 所属市场ID
  12140. type: integer
  12141. openreqqty:
  12142. description: 开仓申请数量(用于比较最大持仓数量)
  12143. type: integer
  12144. opentotalqty:
  12145. description: 开仓总数量
  12146. type: integer
  12147. otherfrozenqty:
  12148. description: 持仓其他冻结数量(交割冻结)
  12149. type: integer
  12150. positionqty:
  12151. description: 期初持仓数量
  12152. type: integer
  12153. tnqty:
  12154. description: T+N冻结总量
  12155. type: integer
  12156. tnusedqty:
  12157. description: T+N使用量(可以使用T+N的冻结数量)
  12158. type: integer
  12159. trademode:
  12160. description: 交易模式
  12161. type: integer
  12162. usedmargin:
  12163. description: 占用保证金[商品币种]
  12164. type: number
  12165. required:
  12166. - goodsid
  12167. type: object
  12168. quote.HistoryData:
  12169. properties:
  12170. c:
  12171. description: 收盘价
  12172. type: number
  12173. f:
  12174. description: 是否补充数据
  12175. type: boolean
  12176. h:
  12177. description: 最高价
  12178. type: number
  12179. hv:
  12180. description: 持仓量
  12181. type: integer
  12182. l:
  12183. description: 最低价
  12184. type: number
  12185. o:
  12186. description: 开盘价
  12187. type: number
  12188. s:
  12189. description: 结算价,日线周期(包括)以上才有
  12190. type: number
  12191. ts:
  12192. description: 时间
  12193. type: string
  12194. tt:
  12195. description: 总金额
  12196. type: number
  12197. tv:
  12198. description: 总量
  12199. type: integer
  12200. type: object
  12201. quote.HistoryTikData:
  12202. properties:
  12203. AV:
  12204. description: 卖量
  12205. type: integer
  12206. Ask:
  12207. description: 卖价
  12208. type: number
  12209. BV:
  12210. description: 买量
  12211. type: integer
  12212. Bid:
  12213. description: 买价
  12214. type: number
  12215. HI:
  12216. description: 单笔持仓
  12217. type: integer
  12218. HV:
  12219. description: 持仓量
  12220. type: integer
  12221. PE:
  12222. description: 现价
  12223. type: number
  12224. TDR:
  12225. description: 交易方向,0:买 1:卖
  12226. type: integer
  12227. TK:
  12228. description: 交易类型
  12229. type: integer
  12230. TS:
  12231. description: 行情时间文本
  12232. type: string
  12233. TT:
  12234. description: 现金额
  12235. type: number
  12236. Vol:
  12237. description: 现量
  12238. type: integer
  12239. type: object
  12240. quote.QueryQuoteDayRsp:
  12241. properties:
  12242. ask:
  12243. description: 卖1
  12244. type: number
  12245. ask2:
  12246. description: 卖2
  12247. type: number
  12248. ask3:
  12249. description: 卖3
  12250. type: number
  12251. ask4:
  12252. description: 卖4
  12253. type: number
  12254. ask5:
  12255. description: 卖5
  12256. type: number
  12257. ask6:
  12258. description: 卖6
  12259. type: number
  12260. ask7:
  12261. description: 卖7
  12262. type: number
  12263. ask8:
  12264. description: 卖8
  12265. type: number
  12266. ask9:
  12267. description: 卖9
  12268. type: number
  12269. ask10:
  12270. description: 卖10
  12271. type: number
  12272. askorderid:
  12273. description: 卖单号1
  12274. type: integer
  12275. askorderid2:
  12276. description: 卖单号2
  12277. type: integer
  12278. askorderid3:
  12279. description: 卖单号3
  12280. type: integer
  12281. askorderid4:
  12282. description: 卖单号4
  12283. type: integer
  12284. askorderid5:
  12285. description: 卖单号5
  12286. type: integer
  12287. askordervolume:
  12288. description: 卖单量1
  12289. type: integer
  12290. askordervolume2:
  12291. description: 卖单量2
  12292. type: integer
  12293. askordervolume3:
  12294. description: 卖单量3
  12295. type: integer
  12296. askordervolume4:
  12297. description: 卖单量4
  12298. type: integer
  12299. askordervolume5:
  12300. description: 卖单量5
  12301. type: integer
  12302. askordervolume6:
  12303. description: 卖单量6
  12304. type: integer
  12305. askordervolume7:
  12306. description: 卖单量7
  12307. type: integer
  12308. askordervolume8:
  12309. description: 卖单量8
  12310. type: integer
  12311. askordervolume9:
  12312. description: 卖单量9
  12313. type: integer
  12314. askordervolume10:
  12315. description: 卖单量10
  12316. type: integer
  12317. askqueueinfo:
  12318. description: 大利市卖港股用
  12319. type: string
  12320. askvolume:
  12321. description: 卖量1
  12322. type: integer
  12323. askvolume2:
  12324. description: 卖量2
  12325. type: integer
  12326. askvolume3:
  12327. description: 卖量3
  12328. type: integer
  12329. askvolume4:
  12330. description: 卖量4
  12331. type: integer
  12332. askvolume5:
  12333. description: 卖量5
  12334. type: integer
  12335. askvolume6:
  12336. description: 卖量6
  12337. type: integer
  12338. askvolume7:
  12339. description: 卖量7
  12340. type: integer
  12341. askvolume8:
  12342. description: 卖量8
  12343. type: integer
  12344. askvolume9:
  12345. description: 卖量9
  12346. type: integer
  12347. askvolume10:
  12348. description: 卖量10
  12349. type: integer
  12350. averageprice:
  12351. description: 均价
  12352. type: number
  12353. bid:
  12354. description: 买1
  12355. type: number
  12356. bid2:
  12357. description: 买2
  12358. type: number
  12359. bid3:
  12360. description: 买3
  12361. type: number
  12362. bid4:
  12363. description: 买4
  12364. type: number
  12365. bid5:
  12366. description: 买5
  12367. type: number
  12368. bid6:
  12369. description: 买6
  12370. type: number
  12371. bid7:
  12372. description: 买7
  12373. type: number
  12374. bid8:
  12375. description: 买8
  12376. type: number
  12377. bid9:
  12378. description: 买9
  12379. type: number
  12380. bid10:
  12381. description: 买10
  12382. type: number
  12383. bidorderid:
  12384. description: 买单号1
  12385. type: integer
  12386. bidorderid2:
  12387. description: 买单号2
  12388. type: integer
  12389. bidorderid3:
  12390. description: 买单号3
  12391. type: integer
  12392. bidorderid4:
  12393. description: 买单号4
  12394. type: integer
  12395. bidorderid5:
  12396. description: 买单号5
  12397. type: integer
  12398. bidordervolume:
  12399. description: 买单量1
  12400. type: integer
  12401. bidordervolume2:
  12402. description: 买单量2
  12403. type: integer
  12404. bidordervolume3:
  12405. description: 买单量3
  12406. type: integer
  12407. bidordervolume4:
  12408. description: 买单量4
  12409. type: integer
  12410. bidordervolume5:
  12411. description: 买单量5
  12412. type: integer
  12413. bidordervolume6:
  12414. description: 买单量6
  12415. type: integer
  12416. bidordervolume7:
  12417. description: 买单量7
  12418. type: integer
  12419. bidordervolume8:
  12420. description: 买单量8
  12421. type: integer
  12422. bidordervolume9:
  12423. description: 买单量9
  12424. type: integer
  12425. bidordervolume10:
  12426. description: 买单量10
  12427. type: integer
  12428. bidqueueinfo:
  12429. description: 大利市买港股用
  12430. type: string
  12431. bidvolume:
  12432. description: 买量1
  12433. type: integer
  12434. bidvolume2:
  12435. description: 买量2
  12436. type: integer
  12437. bidvolume3:
  12438. description: 买量3
  12439. type: integer
  12440. bidvolume4:
  12441. description: 买量4
  12442. type: integer
  12443. bidvolume5:
  12444. description: 买量5
  12445. type: integer
  12446. bidvolume6:
  12447. description: 买量6
  12448. type: integer
  12449. bidvolume7:
  12450. description: 买量7
  12451. type: integer
  12452. bidvolume8:
  12453. description: 买量8
  12454. type: integer
  12455. bidvolume9:
  12456. description: 买量9
  12457. type: integer
  12458. bidvolume10:
  12459. description: 买量10
  12460. type: integer
  12461. calloptionpremiums:
  12462. description: 认购期权1
  12463. type: integer
  12464. calloptionpremiums2:
  12465. description: 认购期权2
  12466. type: integer
  12467. calloptionpremiums3:
  12468. description: 认购期权3
  12469. type: integer
  12470. calloptionpremiums4:
  12471. description: 认购期权4
  12472. type: integer
  12473. calloptionpremiums5:
  12474. description: 认购期权5
  12475. type: integer
  12476. cleartime:
  12477. description: 清盘时间
  12478. type: integer
  12479. exchangecode:
  12480. description: 交易所代码
  12481. type: integer
  12482. exchangedate:
  12483. description: 交易日
  12484. type: integer
  12485. goodscode:
  12486. description: 商品代码
  12487. type: string
  12488. grepmarketprice:
  12489. description: 暗盘价 港股专用
  12490. type: number
  12491. highest:
  12492. description: 最高价
  12493. type: number
  12494. holdincrement:
  12495. description: 单笔持仓
  12496. type: integer
  12497. holdvolume:
  12498. description: 持仓
  12499. type: integer
  12500. iep:
  12501. description: 平衡价 港股专用
  12502. type: number
  12503. iev:
  12504. description: 平衡量 港股专用
  12505. type: number
  12506. inventory:
  12507. description: 库存
  12508. type: integer
  12509. iscleared:
  12510. description: 是否清盘标志
  12511. type: integer
  12512. issettled:
  12513. description: 是否结算标志
  12514. type: integer
  12515. last:
  12516. description: 最新价
  12517. type: number
  12518. lastlot:
  12519. description: 最新成交手数
  12520. type: integer
  12521. lasttime:
  12522. description: 行情时间(只有现价变化行情时间才变化)
  12523. type: string
  12524. lastturnover:
  12525. description: 最新成交金额
  12526. type: number
  12527. lastvolume:
  12528. description: 最新成交量
  12529. type: integer
  12530. limitdown:
  12531. description: 跌停价
  12532. type: number
  12533. limitup:
  12534. description: 涨停价
  12535. type: number
  12536. lowest:
  12537. description: 最低价
  12538. type: number
  12539. nontotalholdervolume:
  12540. description: 非交易持仓量
  12541. type: integer
  12542. nontotallot:
  12543. description: 非交易总手数
  12544. type: integer
  12545. nontotalturnover:
  12546. description: 非交易总金额
  12547. type: integer
  12548. nontotalvolume:
  12549. description: 非交易总量
  12550. type: integer
  12551. opened:
  12552. description: 开盘价
  12553. type: number
  12554. opentime:
  12555. description: 开盘时间
  12556. type: string
  12557. orderid:
  12558. description: 序号
  12559. type: integer
  12560. preclose:
  12561. description: 昨收
  12562. type: number
  12563. preholdvolume:
  12564. description: 昨持仓
  12565. type: integer
  12566. presettle:
  12567. description: 昨结价
  12568. type: number
  12569. publictradetype:
  12570. description: 公共交易标志类型 港股专用
  12571. type: string
  12572. putoptionpremiums:
  12573. description: 认沽期权1
  12574. type: integer
  12575. putoptionpremiums2:
  12576. description: 认沽期权2
  12577. type: integer
  12578. putoptionpremiums3:
  12579. description: 认沽期权3
  12580. type: integer
  12581. putoptionpremiums4:
  12582. description: 认沽期权4
  12583. type: integer
  12584. putoptionpremiums5:
  12585. description: 认沽期权5
  12586. type: integer
  12587. settle:
  12588. description: 结算价
  12589. type: number
  12590. strikeprice:
  12591. description: 发行价
  12592. type: number
  12593. totalaskvolume:
  12594. description: 内盘
  12595. type: integer
  12596. totalbidvolume:
  12597. description: 外盘
  12598. type: integer
  12599. totallot:
  12600. description: 总手数
  12601. type: integer
  12602. totalturnover:
  12603. description: 总金额
  12604. type: number
  12605. totalvolume:
  12606. description: 总量
  12607. type: integer
  12608. utclasttime:
  12609. description: utc的行情时间
  12610. type: string
  12611. type: object
  12612. quote.QueryTSDataRsp:
  12613. properties:
  12614. Count:
  12615. description: 交易日应有数据个数
  12616. type: integer
  12617. decimalPlace:
  12618. description: 小数位
  12619. type: integer
  12620. endTime:
  12621. description: 结束时间
  12622. type: string
  12623. goodsCode:
  12624. description: 商品代码
  12625. type: string
  12626. historyDatas:
  12627. description: 历史数据
  12628. items:
  12629. $ref: '#/definitions/quote.HistoryData'
  12630. type: array
  12631. outGoodsCode:
  12632. description: 外部商品代码
  12633. type: string
  12634. preSettle:
  12635. description: 昨结价
  12636. type: number
  12637. runSteps:
  12638. description: 交易日开休市计划
  12639. items:
  12640. $ref: '#/definitions/quote.TSDataRunStep'
  12641. type: array
  12642. startTime:
  12643. description: 开始时间
  12644. type: string
  12645. tradeDate:
  12646. description: 交易日
  12647. type: string
  12648. type: object
  12649. quote.TSDataRunStep:
  12650. properties:
  12651. end:
  12652. description: 真实结束时间
  12653. type: string
  12654. endflag:
  12655. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  12656. type: integer
  12657. endtime:
  12658. description: 结束时间(HH:mm)
  12659. type: string
  12660. endweekday:
  12661. description: 结束周几
  12662. type: integer
  12663. groupid:
  12664. description: 分组ID
  12665. type: integer
  12666. runstep:
  12667. description: 运行阶段 - 2:连续交易
  12668. type: integer
  12669. sectionid:
  12670. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  12671. 结束时间=结算时间 结束周几=结算周几
  12672. type: integer
  12673. start:
  12674. description: 真实开始时间
  12675. type: string
  12676. startflag:
  12677. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  12678. type: integer
  12679. starttime:
  12680. description: 起始时间(HH:mm)
  12681. type: string
  12682. startweekday:
  12683. description: 起始周几
  12684. type: integer
  12685. tradeweekday:
  12686. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  12687. type: integer
  12688. type: object
  12689. szdz.QueryConvertLogRsp:
  12690. properties:
  12691. accountid:
  12692. description: 资金账户ID
  12693. type: integer
  12694. clientticket:
  12695. description: 客户端流水号
  12696. type: string
  12697. converttype:
  12698. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  12699. type: integer
  12700. createtime:
  12701. description: 记账时间
  12702. type: string
  12703. daymaxvalue:
  12704. description: 配置当日最大转入限制
  12705. type: number
  12706. daymaxvalue2:
  12707. description: 配置当日最大转入限制(转入)
  12708. type: number
  12709. goodscode:
  12710. description: 商品代码
  12711. type: string
  12712. goodsname:
  12713. description: 商品名称
  12714. type: string
  12715. handlestatus:
  12716. description: 处理状态
  12717. type: integer
  12718. innergoodsid:
  12719. description: 内部商品ID
  12720. type: integer
  12721. inratio:
  12722. description: 配置转入比值
  12723. type: integer
  12724. invalue:
  12725. description: 目标值
  12726. type: number
  12727. logid:
  12728. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12729. type: integer
  12730. mobile:
  12731. description: 手机号码(加密存储)
  12732. type: string
  12733. outergoodscode:
  12734. description: 外部商品代码[JD\PD]
  12735. type: string
  12736. outratio:
  12737. description: 配置转出比值
  12738. type: integer
  12739. outvalue:
  12740. description: 源值
  12741. type: number
  12742. pddecimalplace:
  12743. description: PD小数位
  12744. type: integer
  12745. qty:
  12746. description: 数量
  12747. type: string
  12748. remark:
  12749. description: 备注
  12750. type: string
  12751. sessionid:
  12752. description: 会话ID
  12753. type: integer
  12754. timemaxvalue:
  12755. description: 配置单次最大转入限制
  12756. type: number
  12757. timemaxvalue2:
  12758. description: 配置单次最大转入限制(转入)
  12759. type: number
  12760. timeminvalue:
  12761. description: 配置单次最小数量限制
  12762. type: number
  12763. timeminvalue2:
  12764. description: 配置单次最小数量限制(转入)
  12765. type: number
  12766. tradedate:
  12767. description: 交易日(yyyyMMdd)
  12768. type: string
  12769. userid:
  12770. description: 用户ID
  12771. type: integer
  12772. required:
  12773. - logid
  12774. type: object
  12775. szdz.QueryGoodsPickupRsp:
  12776. properties:
  12777. accountid:
  12778. description: 账户ID
  12779. type: integer
  12780. address:
  12781. description: 提货人详细地址
  12782. type: string
  12783. auditer:
  12784. description: 审核人
  12785. type: integer
  12786. audittime:
  12787. description: 审核时间
  12788. type: string
  12789. cardnum:
  12790. description: 提货人证件号码
  12791. type: string
  12792. cardtypeid:
  12793. description: 提货人证件类型
  12794. type: integer
  12795. checkremark:
  12796. description: 审核备注
  12797. type: string
  12798. goodscode:
  12799. description: 商品代码
  12800. type: string
  12801. goodsid:
  12802. description: 商品ID
  12803. type: integer
  12804. goodsname:
  12805. description: 商品名称
  12806. type: string
  12807. handlestatus:
  12808. description: 处理状态
  12809. type: integer
  12810. marketid:
  12811. description: 市场ID
  12812. type: integer
  12813. phonenum:
  12814. description: 提货人联系方式
  12815. type: string
  12816. qty:
  12817. description: 提货数量
  12818. type: number
  12819. recivername:
  12820. description: 提货人姓名
  12821. type: string
  12822. reqtime:
  12823. description: 更新时间
  12824. type: string
  12825. takemode:
  12826. description: 提货方式 - 2:自提 3:配送
  12827. type: integer
  12828. takeorderid:
  12829. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12830. type: string
  12831. takeorderstatus:
  12832. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12833. type: integer
  12834. takeremark:
  12835. description: 提货备注
  12836. type: string
  12837. tradedate:
  12838. description: 交易日(yyyyMMdd)
  12839. type: string
  12840. userid:
  12841. description: 用户ID
  12842. type: integer
  12843. required:
  12844. - takeorderid
  12845. type: object
  12846. szdz.QueryRecieptOrderRsp:
  12847. properties:
  12848. accountName:
  12849. description: 所属账号名称(已脱敏)
  12850. type: string
  12851. accountid:
  12852. description: 资金账号
  12853. type: integer
  12854. buyorsell:
  12855. description: 方向 - 0:买 1:卖
  12856. type: integer
  12857. enableqty:
  12858. description: 可摘数量
  12859. type: integer
  12860. goodscode:
  12861. description: 商品代码
  12862. type: string
  12863. goodsid:
  12864. description: 商品ID
  12865. type: integer
  12866. goodsname:
  12867. description: 商品名称
  12868. type: string
  12869. orderid:
  12870. description: 委托单号
  12871. type: string
  12872. orderprice:
  12873. description: 委托价格
  12874. type: number
  12875. ordertime:
  12876. description: 委托时间
  12877. type: string
  12878. tradedate:
  12879. description: 交易日(yyyyMMdd)
  12880. type: string
  12881. required:
  12882. - ordertime
  12883. type: object
  12884. szdz.QuerySZDZTradePositionRsp:
  12885. properties:
  12886. accountid:
  12887. description: 账号Id
  12888. type: integer
  12889. agreeunit:
  12890. description: 合约单位
  12891. type: number
  12892. averageprice:
  12893. description: 持仓均价
  12894. type: number
  12895. buyorsell:
  12896. description: 方向 - 0:买 1:卖
  12897. type: integer
  12898. closetotalqty:
  12899. description: 平仓总数量
  12900. type: integer
  12901. curholderamount:
  12902. description: 当前持仓总金额
  12903. type: number
  12904. curpositionqty:
  12905. description: 当前持仓总数量
  12906. type: integer
  12907. currencyid:
  12908. description: 报价货币ID
  12909. type: integer
  12910. curtdposition:
  12911. description: 期末今日头寸
  12912. type: integer
  12913. decimalplace:
  12914. description: 报价小数位
  12915. type: integer
  12916. enableqty:
  12917. description: 可用量
  12918. type: integer
  12919. fretdposition:
  12920. description: 冻结今日头寸
  12921. type: integer
  12922. frozenqty:
  12923. description: 持仓冻结数量
  12924. type: integer
  12925. goodscode:
  12926. description: 商品代码(内部)
  12927. type: string
  12928. goodsid:
  12929. description: 商品Id
  12930. type: integer
  12931. goodsname:
  12932. description: 商品名称
  12933. type: string
  12934. goodunit:
  12935. description: 报价单位
  12936. type: string
  12937. goodunitid:
  12938. description: 报价单位ID
  12939. type: integer
  12940. holderamount:
  12941. description: 期初持仓总金额
  12942. type: number
  12943. marketid:
  12944. description: 市场ID
  12945. type: integer
  12946. openreqqty:
  12947. description: 开仓申请数量
  12948. type: integer
  12949. opentotalqty:
  12950. description: 开仓总数量
  12951. type: integer
  12952. otherfrozenqty:
  12953. description: 持仓其他冻结数量(交割冻结)
  12954. type: integer
  12955. positionqty:
  12956. description: 期初持仓数量
  12957. type: integer
  12958. szdz3freezqty:
  12959. description: 尚志大宗转换冻结总数量
  12960. type: integer
  12961. tnqty:
  12962. description: T+N冻结总量
  12963. type: integer
  12964. tnusedqty:
  12965. description: T+N使用量
  12966. type: integer
  12967. trademode:
  12968. description: 交易模式
  12969. type: integer
  12970. usedmargin:
  12971. description: 占用保证金
  12972. type: number
  12973. type: object
  12974. taaccount.QueryAmountLogRsp:
  12975. properties:
  12976. OPERATETYPENAME:
  12977. description: 资金操作类型名称
  12978. type: string
  12979. accountid:
  12980. description: 资金账户ID
  12981. type: integer
  12982. agoodscode:
  12983. description: 竞拍商品代码
  12984. type: string
  12985. agoodsname:
  12986. description: 竞拍商品名称
  12987. type: string
  12988. amount:
  12989. description: 资金金额
  12990. type: number
  12991. amountadjusttype:
  12992. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12993. type: integer
  12994. autoid:
  12995. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12996. type: integer
  12997. balance:
  12998. description: 期初余额
  12999. type: number
  13000. businesscode:
  13001. description: 业务编号
  13002. type: integer
  13003. createtime:
  13004. description: 发生时间
  13005. type: string
  13006. currencyid:
  13007. description: 币种ID
  13008. type: integer
  13009. currentbalance:
  13010. description: 期末余额(变动后金额)
  13011. type: number
  13012. dgoodscode:
  13013. description: 交割商品代码
  13014. type: string
  13015. dgoodsname:
  13016. description: 交割商品名称
  13017. type: string
  13018. goodscode:
  13019. description: 商品代码
  13020. type: string
  13021. goodsid:
  13022. description: 商品ID
  13023. type: integer
  13024. goodsname:
  13025. description: 商品名称
  13026. type: string
  13027. marketid:
  13028. description: 市场ID
  13029. type: integer
  13030. marketname:
  13031. description: 市场名称
  13032. type: string
  13033. moneyticket:
  13034. description: 资金流水号:银行端流水号
  13035. type: integer
  13036. operatetype:
  13037. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  13038. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  13039. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  13040. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  13041. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  13042. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  13043. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  13044. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  13045. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  13046. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  13047. type: integer
  13048. relationorderid:
  13049. description: 关联单号
  13050. type: string
  13051. remark:
  13052. description: 备注
  13053. type: string
  13054. trademode:
  13055. description: 交易模式
  13056. type: integer
  13057. required:
  13058. - accountid
  13059. - amount
  13060. - amountadjusttype
  13061. - autoid
  13062. - balance
  13063. - createtime
  13064. - currentbalance
  13065. - operatetype
  13066. type: object
  13067. taaccount.QueryHisAmountLogRsp:
  13068. properties:
  13069. OPERATETYPENAME:
  13070. description: 资金操作类型名称
  13071. type: string
  13072. accountid:
  13073. description: 资金账户ID
  13074. type: integer
  13075. agoodscode:
  13076. description: 竞拍商品代码
  13077. type: string
  13078. agoodsname:
  13079. description: 竞拍商品名称
  13080. type: string
  13081. amount:
  13082. description: 资金金额
  13083. type: number
  13084. amountadjusttype:
  13085. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  13086. type: integer
  13087. autoid:
  13088. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  13089. type: integer
  13090. balance:
  13091. description: 期初余额
  13092. type: number
  13093. businesscode:
  13094. description: 业务编号
  13095. type: integer
  13096. createtime:
  13097. description: 发生时间
  13098. type: string
  13099. currencyid:
  13100. description: 币种ID
  13101. type: integer
  13102. currentbalance:
  13103. description: 期末余额(变动后金额)
  13104. type: number
  13105. dgoodscode:
  13106. description: 交割商品代码
  13107. type: string
  13108. dgoodsname:
  13109. description: 交割商品名称
  13110. type: string
  13111. goodscode:
  13112. description: 商品代码
  13113. type: string
  13114. goodsid:
  13115. description: 商品ID
  13116. type: integer
  13117. goodsname:
  13118. description: 商品名称
  13119. type: string
  13120. histradedate:
  13121. description: 历史交易日
  13122. type: string
  13123. isvaliddata:
  13124. description: 是否有效 - 0:无效 1:有效
  13125. type: integer
  13126. marketid:
  13127. description: 市场ID
  13128. type: integer
  13129. marketname:
  13130. description: 市场名称
  13131. type: string
  13132. moneyticket:
  13133. description: 资金流水号:银行端流水号
  13134. type: integer
  13135. operatetype:
  13136. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  13137. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  13138. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  13139. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  13140. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  13141. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  13142. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  13143. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  13144. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  13145. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  13146. type: integer
  13147. relationorderid:
  13148. description: 关联单号
  13149. type: string
  13150. remark:
  13151. description: 备注
  13152. type: string
  13153. trademode:
  13154. description: 交易模式
  13155. type: integer
  13156. required:
  13157. - accountid
  13158. - amount
  13159. - amountadjusttype
  13160. - autoid
  13161. - balance
  13162. - createtime
  13163. - currentbalance
  13164. - histradedate
  13165. - operatetype
  13166. type: object
  13167. trade.QueryRecieptOrderRsp:
  13168. properties:
  13169. accountName:
  13170. description: 所属账号名称(已脱敏)
  13171. type: string
  13172. accountid:
  13173. description: 资金账号
  13174. type: integer
  13175. buyorsell:
  13176. description: 方向 - 0:买 1:卖
  13177. type: integer
  13178. enableqty:
  13179. description: 可摘数量
  13180. type: integer
  13181. goodscode:
  13182. description: 商品代码
  13183. type: string
  13184. goodsid:
  13185. description: 商品ID
  13186. type: integer
  13187. goodsname:
  13188. description: 商品名称
  13189. type: string
  13190. orderid:
  13191. description: 委托单号
  13192. type: string
  13193. orderprice:
  13194. description: 委托价格
  13195. type: number
  13196. ordertime:
  13197. description: 委托时间
  13198. type: string
  13199. tradedate:
  13200. description: 交易日(yyyyMMdd)
  13201. type: string
  13202. required:
  13203. - ordertime
  13204. type: object
  13205. user.LoginQueryRsp:
  13206. properties:
  13207. areaRoles:
  13208. description: 所属角色信息
  13209. items:
  13210. $ref: '#/definitions/models.Arearole'
  13211. type: array
  13212. externalExchanges:
  13213. description: 外部交易所
  13214. items:
  13215. $ref: '#/definitions/models.Externalexchange'
  13216. type: array
  13217. goodsgroups:
  13218. description: 商品组
  13219. items:
  13220. $ref: '#/definitions/models.Goodsgroup'
  13221. type: array
  13222. loginAccount:
  13223. $ref: '#/definitions/models.Loginaccount'
  13224. description: 登录账号
  13225. type: object
  13226. markets:
  13227. description: 市场
  13228. items:
  13229. $ref: '#/definitions/models.Market'
  13230. type: array
  13231. systemParams:
  13232. description: 系统参数
  13233. items:
  13234. $ref: '#/definitions/models.Systemparam'
  13235. type: array
  13236. userAccount:
  13237. $ref: '#/definitions/models.Useraccount'
  13238. description: 用户账号
  13239. type: object
  13240. userInfo:
  13241. $ref: '#/definitions/models.Userinfo'
  13242. description: 用户信息
  13243. type: object
  13244. username:
  13245. description: 用户姓名
  13246. type: string
  13247. type: object
  13248. info:
  13249. contact: {}
  13250. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  13251. license: {}
  13252. termsOfService: http://www.muchinfo.cn
  13253. title: MTP2.0 查询服务 API
  13254. version: "1.0"
  13255. paths:
  13256. /CPTrade/QueryCPTradeMyBidInfos:
  13257. get:
  13258. parameters:
  13259. - description: 资金账户
  13260. in: query
  13261. name: accountid
  13262. required: true
  13263. type: integer
  13264. - description: 预售市场ID
  13265. in: query
  13266. name: marketid
  13267. type: integer
  13268. - description: 预售商品ID
  13269. in: query
  13270. name: goodsid
  13271. type: integer
  13272. produces:
  13273. - application/json
  13274. responses:
  13275. "200":
  13276. description: OK
  13277. schema:
  13278. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  13279. "500":
  13280. description: Internal Server Error
  13281. schema:
  13282. $ref: '#/definitions/app.Response'
  13283. security:
  13284. - ApiKeyAuth: []
  13285. summary: 查询产能预售我的出价信息
  13286. tags:
  13287. - 产能预售
  13288. /CPTrade/QueryCPTradeOrderDetail:
  13289. get:
  13290. parameters:
  13291. - description: 预售商品ID
  13292. in: query
  13293. name: goodsid
  13294. type: integer
  13295. - description: 预售市场ID
  13296. in: query
  13297. name: marketid
  13298. type: integer
  13299. - description: 预售商品ID列表 - 格式:1,2,3
  13300. in: query
  13301. name: goodsids
  13302. type: string
  13303. produces:
  13304. - application/json
  13305. responses:
  13306. "200":
  13307. description: OK
  13308. schema:
  13309. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  13310. "500":
  13311. description: Internal Server Error
  13312. schema:
  13313. $ref: '#/definitions/app.Response'
  13314. security:
  13315. - ApiKeyAuth: []
  13316. summary: 查询产能预售委托单信息
  13317. tags:
  13318. - 产能预售
  13319. /CPTrade/QueryMyCPTradeGoods:
  13320. get:
  13321. parameters:
  13322. - description: 资金账户
  13323. in: query
  13324. name: accountid
  13325. required: true
  13326. type: integer
  13327. produces:
  13328. - application/json
  13329. responses:
  13330. "200":
  13331. description: OK
  13332. schema:
  13333. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  13334. "500":
  13335. description: Internal Server Error
  13336. schema:
  13337. $ref: '#/definitions/app.Response'
  13338. security:
  13339. - ApiKeyAuth: []
  13340. summary: 查询我的预售信息
  13341. tags:
  13342. - 产能预售
  13343. /CPTrade/QueryPositionCancel:
  13344. get:
  13345. parameters:
  13346. - description: 账户ID
  13347. in: query
  13348. name: userid
  13349. required: true
  13350. type: integer
  13351. - description: 注销ID
  13352. in: query
  13353. name: cancelid
  13354. type: integer
  13355. - description: 资金账户ID
  13356. in: query
  13357. name: accountid
  13358. type: integer
  13359. produces:
  13360. - application/json
  13361. responses:
  13362. "200":
  13363. description: OK
  13364. schema:
  13365. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  13366. "500":
  13367. description: Internal Server Error
  13368. schema:
  13369. $ref: '#/definitions/app.Response'
  13370. security:
  13371. - ApiKeyAuth: []
  13372. summary: 查询远期订单注销申请信息
  13373. tags:
  13374. - 产能预售
  13375. /CPTrade/QueryPreasleApply:
  13376. get:
  13377. parameters:
  13378. - description: 账户ID
  13379. in: query
  13380. name: userid
  13381. required: true
  13382. type: integer
  13383. - description: 申请ID
  13384. in: query
  13385. name: applyid
  13386. type: integer
  13387. - description: 资金账户ID
  13388. in: query
  13389. name: accountid
  13390. type: integer
  13391. produces:
  13392. - application/json
  13393. responses:
  13394. "200":
  13395. description: OK
  13396. schema:
  13397. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  13398. "500":
  13399. description: Internal Server Error
  13400. schema:
  13401. $ref: '#/definitions/app.Response'
  13402. security:
  13403. - ApiKeyAuth: []
  13404. summary: 查询产能预售申请信息
  13405. tags:
  13406. - 产能预售
  13407. /CPTrade/QueryPresaleGoodsEx:
  13408. get:
  13409. parameters:
  13410. - description: 预售商品ID
  13411. in: query
  13412. name: goodsid
  13413. type: integer
  13414. - description: 预售市场ID
  13415. in: query
  13416. name: marketid
  13417. type: integer
  13418. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  13419. in: query
  13420. name: presalemode
  13421. type: integer
  13422. - description: 预售商品ID列表 - 格式:1,2,3
  13423. in: query
  13424. name: goodsids
  13425. type: string
  13426. - description: 预售商品代码
  13427. in: query
  13428. name: goodscode
  13429. type: string
  13430. produces:
  13431. - application/json
  13432. responses:
  13433. "200":
  13434. description: OK
  13435. schema:
  13436. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  13437. "500":
  13438. description: Internal Server Error
  13439. schema:
  13440. $ref: '#/definitions/app.Response'
  13441. security:
  13442. - ApiKeyAuth: []
  13443. summary: 查询产能预售商品扩展信息
  13444. tags:
  13445. - 产能预售
  13446. /CPTrade/QueryUserGoodsData:
  13447. get:
  13448. parameters:
  13449. - description: 资金账户ID
  13450. in: query
  13451. name: accountid
  13452. required: true
  13453. type: integer
  13454. produces:
  13455. - application/json
  13456. responses:
  13457. "200":
  13458. description: OK
  13459. schema:
  13460. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  13461. "500":
  13462. description: Internal Server Error
  13463. schema:
  13464. $ref: '#/definitions/app.Response'
  13465. security:
  13466. - ApiKeyAuth: []
  13467. summary: 查询远期订单信息
  13468. tags:
  13469. - 产能预售
  13470. /Common/GetAllEnums:
  13471. get:
  13472. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  13473. parameters:
  13474. - description: 起始自增ID
  13475. in: query
  13476. name: autoid
  13477. type: integer
  13478. produces:
  13479. - application/json
  13480. responses:
  13481. "200":
  13482. description: OK
  13483. schema:
  13484. $ref: '#/definitions/models.Enumdicitem'
  13485. "500":
  13486. description: Internal Server Error
  13487. schema:
  13488. $ref: '#/definitions/app.Response'
  13489. summary: 获取所有枚举信息
  13490. tags:
  13491. - 通用服务
  13492. /Common/GetClientMenus:
  13493. get:
  13494. parameters:
  13495. - description: 登录账号
  13496. in: query
  13497. name: loginID
  13498. required: true
  13499. type: integer
  13500. - description: 终端类型,0:PC 1:Mobile
  13501. in: query
  13502. name: clientType
  13503. type: integer
  13504. produces:
  13505. - application/json
  13506. responses:
  13507. "200":
  13508. description: OK
  13509. schema:
  13510. items:
  13511. $ref: '#/definitions/common.ClientMenu'
  13512. type: array
  13513. "500":
  13514. description: Internal Server Error
  13515. schema:
  13516. $ref: '#/definitions/app.Response'
  13517. security:
  13518. - ApiKeyAuth: []
  13519. summary: 获取交易端菜单
  13520. tags:
  13521. - 通用服务
  13522. /Common/GetDivisions:
  13523. get:
  13524. produces:
  13525. - application/json
  13526. responses:
  13527. "200":
  13528. description: OK
  13529. schema:
  13530. $ref: '#/definitions/models.Division'
  13531. "500":
  13532. description: Internal Server Error
  13533. schema:
  13534. $ref: '#/definitions/app.Response'
  13535. summary: 查询区域信息
  13536. tags:
  13537. - 通用服务
  13538. /Common/GetServerTime:
  13539. get:
  13540. produces:
  13541. - application/json
  13542. responses:
  13543. "200":
  13544. description: OK
  13545. schema:
  13546. $ref: '#/definitions/app.Response'
  13547. "500":
  13548. description: Internal Server Error
  13549. schema:
  13550. $ref: '#/definitions/app.Response'
  13551. summary: 获取服务器时间
  13552. tags:
  13553. - 通用服务
  13554. /Common/NoticeReaded:
  13555. post:
  13556. parameters:
  13557. - description: 登录账号
  13558. in: query
  13559. name: loginID
  13560. required: true
  13561. type: integer
  13562. - description: 通知公告ID
  13563. in: query
  13564. name: noticeID
  13565. required: true
  13566. type: integer
  13567. produces:
  13568. - application/json
  13569. responses:
  13570. "200":
  13571. description: OK
  13572. schema:
  13573. $ref: '#/definitions/app.Response'
  13574. "500":
  13575. description: Internal Server Error
  13576. schema:
  13577. $ref: '#/definitions/app.Response'
  13578. security:
  13579. - ApiKeyAuth: []
  13580. summary: 通知公告设置已读请求
  13581. tags:
  13582. - 通用服务
  13583. /Common/QueryErrorInfos:
  13584. get:
  13585. description: 如果传入rowNumber,则返回此rowNumber后的数据
  13586. parameters:
  13587. - description: 起始行号前索引
  13588. in: query
  13589. name: rowNumber
  13590. type: string
  13591. produces:
  13592. - application/json
  13593. responses:
  13594. "200":
  13595. description: OK
  13596. schema:
  13597. $ref: '#/definitions/models.QueryErrorInfosRsp'
  13598. "500":
  13599. description: Internal Server Error
  13600. schema:
  13601. $ref: '#/definitions/app.Response'
  13602. summary: 获取数据库错误信息
  13603. tags:
  13604. - 通用服务
  13605. /Common/QueryImageConfigs:
  13606. get:
  13607. parameters:
  13608. - description: 类型 - 1:App首页轮播 2:我的
  13609. in: query
  13610. name: imageType
  13611. type: integer
  13612. produces:
  13613. - application/json
  13614. responses:
  13615. "200":
  13616. description: OK
  13617. schema:
  13618. $ref: '#/definitions/common.QueryImageConfigsRsp'
  13619. "500":
  13620. description: Internal Server Error
  13621. schema:
  13622. $ref: '#/definitions/app.Response'
  13623. summary: 查询轮播图配置信息
  13624. tags:
  13625. - 通用服务
  13626. /Common/QueryNotice:
  13627. get:
  13628. parameters:
  13629. - description: 页码
  13630. in: query
  13631. name: page
  13632. type: integer
  13633. - description: 每页条数
  13634. in: query
  13635. name: pagesize
  13636. type: integer
  13637. - description: 登录账号
  13638. in: query
  13639. name: loginID
  13640. required: true
  13641. type: integer
  13642. - description: 消息类型 - 1:公告通知 2:系统消息
  13643. in: query
  13644. name: msgType
  13645. type: integer
  13646. - description: 是否只获取未读信息
  13647. in: query
  13648. name: onlyUnRead
  13649. type: boolean
  13650. - description: 自增ID,传入后会返回这个ID后面的记录
  13651. in: query
  13652. name: lastID
  13653. type: integer
  13654. produces:
  13655. - application/json
  13656. responses:
  13657. "200":
  13658. description: OK
  13659. schema:
  13660. $ref: '#/definitions/common.QueryNoticeRsp'
  13661. "500":
  13662. description: Internal Server Error
  13663. schema:
  13664. $ref: '#/definitions/app.Response'
  13665. security:
  13666. - ApiKeyAuth: []
  13667. summary: 通知公告系统消息查询
  13668. tags:
  13669. - 通用服务
  13670. /Common/QueryProvincesAndCities:
  13671. get:
  13672. parameters:
  13673. - description: 省ID
  13674. in: query
  13675. name: provinceID
  13676. type: integer
  13677. produces:
  13678. - application/json
  13679. responses:
  13680. "200":
  13681. description: OK
  13682. schema:
  13683. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  13684. "500":
  13685. description: Internal Server Error
  13686. schema:
  13687. $ref: '#/definitions/app.Response'
  13688. summary: 查询省市信息(不包括区)
  13689. tags:
  13690. - 通用服务
  13691. /Common/QueryTableDefine:
  13692. get:
  13693. parameters:
  13694. - description: 表key
  13695. in: query
  13696. name: tableKey
  13697. type: string
  13698. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  13699. in: query
  13700. name: tableType
  13701. type: integer
  13702. produces:
  13703. - application/json
  13704. responses:
  13705. "200":
  13706. description: OK
  13707. schema:
  13708. $ref: '#/definitions/common.QueryTableDefineRsp'
  13709. "500":
  13710. description: Internal Server Error
  13711. schema:
  13712. $ref: '#/definitions/app.Response'
  13713. summary: 查询交易端列表头信息
  13714. tags:
  13715. - 通用服务
  13716. /Common/QueryTraderMenu:
  13717. get:
  13718. parameters:
  13719. - description: 登录账号
  13720. in: query
  13721. name: loginid
  13722. required: true
  13723. type: integer
  13724. produces:
  13725. - application/json
  13726. responses:
  13727. "200":
  13728. description: OK
  13729. schema:
  13730. $ref: '#/definitions/common.QueryTraderMenuRsp'
  13731. "500":
  13732. description: Internal Server Error
  13733. schema:
  13734. $ref: '#/definitions/app.Response'
  13735. summary: 查询交易端菜单
  13736. tags:
  13737. - 通用服务
  13738. /Delivery/QueryDeliveryRelation:
  13739. get:
  13740. parameters:
  13741. - description: 商品ID
  13742. in: query
  13743. name: goodsid
  13744. type: integer
  13745. - description: 品种ID
  13746. in: query
  13747. name: deliverygoodsid
  13748. type: integer
  13749. - description: 市场ID
  13750. in: query
  13751. name: marketid
  13752. type: integer
  13753. produces:
  13754. - application/json
  13755. responses:
  13756. "200":
  13757. description: OK
  13758. schema:
  13759. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  13760. "500":
  13761. description: Internal Server Error
  13762. schema:
  13763. $ref: '#/definitions/app.Response'
  13764. security:
  13765. - ApiKeyAuth: []
  13766. summary: 查询商品交割关系表
  13767. tags:
  13768. - 交割服务
  13769. /Ermcp/GetErmcpGoods:
  13770. get:
  13771. parameters:
  13772. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13773. in: query
  13774. name: lastUpdateTime
  13775. type: string
  13776. produces:
  13777. - application/json
  13778. responses:
  13779. "200":
  13780. description: OK
  13781. schema:
  13782. $ref: '#/definitions/models.ErmcpGoods'
  13783. "500":
  13784. description: Internal Server Error
  13785. schema:
  13786. $ref: '#/definitions/app.Response'
  13787. security:
  13788. - ApiKeyAuth: []
  13789. summary: 查询企业风管期货商品信息
  13790. tags:
  13791. - 企业风险管理(app)
  13792. /Ermcp/GetErmcpGoodsSortByPosition:
  13793. get:
  13794. parameters:
  13795. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  13796. in: query
  13797. name: sortIndex
  13798. type: string
  13799. produces:
  13800. - application/json
  13801. responses:
  13802. "200":
  13803. description: OK
  13804. schema:
  13805. $ref: '#/definitions/models.Goodssortbypreposition'
  13806. "500":
  13807. description: Internal Server Error
  13808. schema:
  13809. $ref: '#/definitions/app.Response'
  13810. security:
  13811. - ApiKeyAuth: []
  13812. summary: 查询企业风管期货主力、次主力商品信息
  13813. tags:
  13814. - 企业风险管理(app)
  13815. /Ermcp/GetErmcpOutAccountStatus:
  13816. get:
  13817. parameters:
  13818. - description: 登录账号
  13819. in: query
  13820. name: loginID
  13821. required: true
  13822. type: integer
  13823. produces:
  13824. - application/json
  13825. responses:
  13826. "200":
  13827. description: OK
  13828. schema:
  13829. $ref: '#/definitions/models.Hedgemarketopenlog'
  13830. "500":
  13831. description: Internal Server Error
  13832. schema:
  13833. $ref: '#/definitions/app.Response'
  13834. security:
  13835. - ApiKeyAuth: []
  13836. summary: 获取目标登录账号当前对冲账号在线状态
  13837. tags:
  13838. - 企业风险管理(app)
  13839. /Ermcp/GetErmcpRoleFuncMenuLists:
  13840. get:
  13841. parameters:
  13842. - description: 登录账号
  13843. in: query
  13844. name: loginID
  13845. required: true
  13846. type: integer
  13847. produces:
  13848. - application/json
  13849. responses:
  13850. "200":
  13851. description: OK
  13852. schema:
  13853. $ref: '#/definitions/models.Funcmenulist'
  13854. "500":
  13855. description: Internal Server Error
  13856. schema:
  13857. $ref: '#/definitions/app.Response'
  13858. security:
  13859. - ApiKeyAuth: []
  13860. summary: 获取企业风管终端权限
  13861. tags:
  13862. - 企业风险管理(app)
  13863. /Ermcp/QueryAccMgrBizGroupSet:
  13864. get:
  13865. parameters:
  13866. - description: 用户ID
  13867. in: query
  13868. name: userid
  13869. required: true
  13870. type: integer
  13871. - description: 现货商品id
  13872. in: query
  13873. name: deliverygoodsid
  13874. type: integer
  13875. produces:
  13876. - application/json
  13877. responses:
  13878. "200":
  13879. description: OK
  13880. schema:
  13881. items:
  13882. $ref: '#/definitions/models.ErmcpBizGroupEx'
  13883. type: array
  13884. "500":
  13885. description: Internal Server Error
  13886. schema:
  13887. $ref: '#/definitions/app.Response'
  13888. security:
  13889. - ApiKeyAuth: []
  13890. summary: 查询业务类型分组(账户管理/账户设置)
  13891. tags:
  13892. - 企业风险管理(app)
  13893. /Ermcp/QueryAccMgrLoginUser:
  13894. get:
  13895. parameters:
  13896. - description: 用户ID
  13897. in: query
  13898. name: userid
  13899. required: true
  13900. type: integer
  13901. - description: 用户类型 2-机构 7-企业成员
  13902. in: query
  13903. name: usertype
  13904. type: integer
  13905. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  13906. in: query
  13907. name: querytype
  13908. required: true
  13909. type: integer
  13910. produces:
  13911. - application/json
  13912. responses:
  13913. "200":
  13914. description: OK
  13915. schema:
  13916. items:
  13917. $ref: '#/definitions/models.ErmcpLoginUserEx'
  13918. type: array
  13919. "500":
  13920. description: Internal Server Error
  13921. schema:
  13922. $ref: '#/definitions/app.Response'
  13923. security:
  13924. - ApiKeyAuth: []
  13925. summary: 查询账户管理登录账号(账户管理/登录账号)
  13926. tags:
  13927. - 企业风险管理(app)
  13928. /Ermcp/QueryAccMgrMainAccountInfo:
  13929. get:
  13930. parameters:
  13931. - description: 用户ID
  13932. in: query
  13933. name: userid
  13934. type: integer
  13935. - description: 主账号id
  13936. in: query
  13937. name: accountid
  13938. type: integer
  13939. produces:
  13940. - application/json
  13941. responses:
  13942. "200":
  13943. description: OK
  13944. schema:
  13945. items:
  13946. $ref: '#/definitions/models.MainAccountInfo'
  13947. type: array
  13948. "500":
  13949. description: Internal Server Error
  13950. schema:
  13951. $ref: '#/definitions/app.Response'
  13952. security:
  13953. - ApiKeyAuth: []
  13954. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  13955. tags:
  13956. - 企业风险管理(app)
  13957. /Ermcp/QueryAccMgrRole:
  13958. get:
  13959. parameters:
  13960. - description: 用户ID
  13961. in: query
  13962. name: userid
  13963. required: true
  13964. type: integer
  13965. produces:
  13966. - application/json
  13967. responses:
  13968. "200":
  13969. description: OK
  13970. schema:
  13971. items:
  13972. $ref: '#/definitions/models.ErmcpRole'
  13973. type: array
  13974. "500":
  13975. description: Internal Server Error
  13976. schema:
  13977. $ref: '#/definitions/app.Response'
  13978. security:
  13979. - ApiKeyAuth: []
  13980. summary: 查询账户管理角色设置(账户管理/角色设置)
  13981. tags:
  13982. - 企业风险管理(app)
  13983. /Ermcp/QueryAccMgrRoleMenu:
  13984. get:
  13985. parameters:
  13986. - description: 用户ID
  13987. in: query
  13988. name: userid
  13989. required: true
  13990. type: integer
  13991. - description: 角色id(可多个,逗号隔开)
  13992. in: query
  13993. name: roleid
  13994. type: string
  13995. produces:
  13996. - application/json
  13997. responses:
  13998. "200":
  13999. description: OK
  14000. schema:
  14001. items:
  14002. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  14003. type: array
  14004. "500":
  14005. description: Internal Server Error
  14006. schema:
  14007. $ref: '#/definitions/app.Response'
  14008. security:
  14009. - ApiKeyAuth: []
  14010. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  14011. tags:
  14012. - 企业风险管理(app)
  14013. /Ermcp/QueryAccMgrTaAccountInfo:
  14014. get:
  14015. parameters:
  14016. - description: 用户ID
  14017. in: query
  14018. name: userid
  14019. required: true
  14020. type: integer
  14021. - description: 账号id
  14022. in: query
  14023. name: accountid
  14024. type: integer
  14025. produces:
  14026. - application/json
  14027. responses:
  14028. "200":
  14029. description: OK
  14030. schema:
  14031. items:
  14032. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  14033. type: array
  14034. "500":
  14035. description: Internal Server Error
  14036. schema:
  14037. $ref: '#/definitions/app.Response'
  14038. security:
  14039. - ApiKeyAuth: []
  14040. summary: 查询账户管理授信(账户管理/账户设置/授信)
  14041. tags:
  14042. - 企业风险管理(app)
  14043. /Ermcp/QueryAccMgrTaaccount:
  14044. get:
  14045. parameters:
  14046. - description: 用户ID
  14047. in: query
  14048. name: userid
  14049. required: true
  14050. type: integer
  14051. produces:
  14052. - application/json
  14053. responses:
  14054. "200":
  14055. description: OK
  14056. schema:
  14057. items:
  14058. $ref: '#/definitions/models.ErmcpTaAccountEx'
  14059. type: array
  14060. "500":
  14061. description: Internal Server Error
  14062. schema:
  14063. $ref: '#/definitions/app.Response'
  14064. security:
  14065. - ApiKeyAuth: []
  14066. summary: 查询账户管理期货账号(账户管理/期货账号)
  14067. tags:
  14068. - 企业风险管理(app)
  14069. /Ermcp/QueryAvaildGoodsGroup:
  14070. get:
  14071. parameters:
  14072. - description: 所属机构ID
  14073. in: query
  14074. name: userid
  14075. required: true
  14076. type: integer
  14077. produces:
  14078. - application/json
  14079. responses:
  14080. "200":
  14081. description: OK
  14082. schema:
  14083. items:
  14084. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  14085. type: array
  14086. "500":
  14087. description: Internal Server Error
  14088. schema:
  14089. $ref: '#/definitions/app.Response'
  14090. security:
  14091. - ApiKeyAuth: []
  14092. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  14093. tags:
  14094. - 企业风险管理(app)
  14095. /Ermcp/QueryBusinessDj:
  14096. get:
  14097. parameters:
  14098. - description: 用户ID
  14099. in: query
  14100. name: UserId
  14101. required: true
  14102. type: integer
  14103. - description: 用户类型 2-机构 7-企业成员
  14104. in: query
  14105. name: usertype
  14106. type: integer
  14107. - description: 现货合同ID, 不填则查所有
  14108. in: query
  14109. name: relatedid
  14110. type: string
  14111. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14112. in: query
  14113. name: applystatus
  14114. type: string
  14115. produces:
  14116. - application/json
  14117. responses:
  14118. "200":
  14119. description: OK
  14120. schema:
  14121. items:
  14122. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  14123. type: array
  14124. "500":
  14125. description: Internal Server Error
  14126. schema:
  14127. $ref: '#/definitions/app.Response'
  14128. security:
  14129. - ApiKeyAuth: []
  14130. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  14131. tags:
  14132. - 企业风险管理(app)
  14133. /Ermcp/QueryBusinessFp:
  14134. get:
  14135. parameters:
  14136. - description: 用户ID
  14137. in: query
  14138. name: UserId
  14139. required: true
  14140. type: integer
  14141. - description: 用户类型 2-机构 7-企业成员
  14142. in: query
  14143. name: usertype
  14144. type: integer
  14145. - description: 现货合同ID, 不填则查所有
  14146. in: query
  14147. name: relatedid
  14148. type: string
  14149. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14150. in: query
  14151. name: applystatus
  14152. type: string
  14153. produces:
  14154. - application/json
  14155. responses:
  14156. "200":
  14157. description: OK
  14158. schema:
  14159. items:
  14160. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  14161. type: array
  14162. "500":
  14163. description: Internal Server Error
  14164. schema:
  14165. $ref: '#/definitions/app.Response'
  14166. security:
  14167. - ApiKeyAuth: []
  14168. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  14169. tags:
  14170. - 企业风险管理(app)
  14171. /Ermcp/QueryBusinessJs:
  14172. get:
  14173. parameters:
  14174. - description: 用户ID
  14175. in: query
  14176. name: UserId
  14177. required: true
  14178. type: integer
  14179. - description: 用户类型 2-机构 7-企业成员
  14180. in: query
  14181. name: usertype
  14182. type: integer
  14183. - description: 现货合同ID, 不填则查所有
  14184. in: query
  14185. name: relatedid
  14186. type: string
  14187. - description: 操作申请id
  14188. in: query
  14189. name: operateapplyid
  14190. type: string
  14191. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14192. in: query
  14193. name: applystatus
  14194. type: string
  14195. produces:
  14196. - application/json
  14197. responses:
  14198. "200":
  14199. description: OK
  14200. schema:
  14201. items:
  14202. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  14203. type: array
  14204. "500":
  14205. description: Internal Server Error
  14206. schema:
  14207. $ref: '#/definitions/app.Response'
  14208. security:
  14209. - ApiKeyAuth: []
  14210. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  14211. tags:
  14212. - 企业风险管理(app)
  14213. /Ermcp/QueryBusinessJsEx:
  14214. get:
  14215. parameters:
  14216. - description: 用户ID
  14217. in: query
  14218. name: UserId
  14219. required: true
  14220. type: integer
  14221. - description: 用户类型 2-机构 7-企业成员
  14222. in: query
  14223. name: usertype
  14224. type: integer
  14225. - description: 现货合同ID, 不填则查所有
  14226. in: query
  14227. name: relatedid
  14228. type: string
  14229. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14230. in: query
  14231. name: applystatus
  14232. type: string
  14233. produces:
  14234. - application/json
  14235. responses:
  14236. "200":
  14237. description: OK
  14238. schema:
  14239. items:
  14240. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  14241. type: array
  14242. "500":
  14243. description: Internal Server Error
  14244. schema:
  14245. $ref: '#/definitions/app.Response'
  14246. security:
  14247. - ApiKeyAuth: []
  14248. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  14249. tags:
  14250. - 企业风险管理(app)
  14251. /Ermcp/QueryBusinessKx:
  14252. get:
  14253. parameters:
  14254. - description: 用户ID
  14255. in: query
  14256. name: UserId
  14257. required: true
  14258. type: integer
  14259. - description: 用户类型 2-机构 7-企业成员
  14260. in: query
  14261. name: usertype
  14262. type: integer
  14263. - description: 现货合同ID, 不填则查所有
  14264. in: query
  14265. name: relatedid
  14266. type: string
  14267. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14268. in: query
  14269. name: applystatus
  14270. type: string
  14271. produces:
  14272. - application/json
  14273. responses:
  14274. "200":
  14275. description: OK
  14276. schema:
  14277. items:
  14278. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  14279. type: array
  14280. "500":
  14281. description: Internal Server Error
  14282. schema:
  14283. $ref: '#/definitions/app.Response'
  14284. security:
  14285. - ApiKeyAuth: []
  14286. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  14287. tags:
  14288. - 企业风险管理(app)
  14289. /Ermcp/QueryChangeLog:
  14290. get:
  14291. parameters:
  14292. - description: 合同ID
  14293. in: query
  14294. name: RelatedId
  14295. required: true
  14296. type: string
  14297. produces:
  14298. - application/json
  14299. responses:
  14300. "200":
  14301. description: OK
  14302. schema:
  14303. items:
  14304. $ref: '#/definitions/ermcp.QryOPLogRsp'
  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/QueryErmcpHisOrderDetails:
  14316. get:
  14317. parameters:
  14318. - description: 资金账户ID
  14319. in: query
  14320. name: accountID
  14321. required: true
  14322. type: integer
  14323. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14324. in: query
  14325. name: startDate
  14326. type: string
  14327. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14328. in: query
  14329. name: endDate
  14330. type: string
  14331. produces:
  14332. - application/json
  14333. responses:
  14334. "200":
  14335. description: OK
  14336. schema:
  14337. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14338. "500":
  14339. description: Internal Server Error
  14340. schema:
  14341. $ref: '#/definitions/app.Response'
  14342. security:
  14343. - ApiKeyAuth: []
  14344. summary: 获取企业风管期货历史委托单信息
  14345. tags:
  14346. - 企业风险管理(app)
  14347. /Ermcp/QueryErmcpHisTradeDetails:
  14348. get:
  14349. parameters:
  14350. - description: 资金账户ID
  14351. in: query
  14352. name: accountID
  14353. required: true
  14354. type: integer
  14355. - description: 商品ID
  14356. in: query
  14357. name: goodsID
  14358. type: integer
  14359. - description: 买卖方向,0:买 1:卖
  14360. in: query
  14361. name: buyOrSell
  14362. type: integer
  14363. - description: 关联委托单号
  14364. in: query
  14365. name: orderID
  14366. type: integer
  14367. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14368. in: query
  14369. name: startDate
  14370. type: string
  14371. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14372. in: query
  14373. name: endDate
  14374. type: string
  14375. produces:
  14376. - application/json
  14377. responses:
  14378. "200":
  14379. description: OK
  14380. schema:
  14381. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14382. "500":
  14383. description: Internal Server Error
  14384. schema:
  14385. $ref: '#/definitions/app.Response'
  14386. security:
  14387. - ApiKeyAuth: []
  14388. summary: 获取企业风管期货历史成交单信息
  14389. tags:
  14390. - 企业风险管理(app)
  14391. /Ermcp/QueryErmcpInnerHolderDetails:
  14392. get:
  14393. parameters:
  14394. - description: 资金账户ID
  14395. in: query
  14396. name: accountID
  14397. required: true
  14398. type: integer
  14399. - description: 商品ID
  14400. in: query
  14401. name: goodsID
  14402. type: integer
  14403. - description: 买卖方向,0:买 1:卖
  14404. in: query
  14405. name: buyOrSell
  14406. type: integer
  14407. produces:
  14408. - application/json
  14409. responses:
  14410. "200":
  14411. description: OK
  14412. schema:
  14413. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  14414. "500":
  14415. description: Internal Server Error
  14416. schema:
  14417. $ref: '#/definitions/app.Response'
  14418. security:
  14419. - ApiKeyAuth: []
  14420. summary: 获取企业风管期货内部持仓单信息
  14421. tags:
  14422. - 企业风险管理(app)
  14423. /Ermcp/QueryErmcpOrderDetails:
  14424. get:
  14425. parameters:
  14426. - description: 资金账户ID
  14427. in: query
  14428. name: accountID
  14429. required: true
  14430. type: integer
  14431. produces:
  14432. - application/json
  14433. responses:
  14434. "200":
  14435. description: OK
  14436. schema:
  14437. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14438. "500":
  14439. description: Internal Server Error
  14440. schema:
  14441. $ref: '#/definitions/app.Response'
  14442. security:
  14443. - ApiKeyAuth: []
  14444. summary: 获取企业风管期货委托单信息
  14445. tags:
  14446. - 企业风险管理(app)
  14447. /Ermcp/QueryErmcpTradeDetails:
  14448. get:
  14449. parameters:
  14450. - description: 资金账户ID
  14451. in: query
  14452. name: accountID
  14453. required: true
  14454. type: integer
  14455. - description: 商品ID
  14456. in: query
  14457. name: goodsID
  14458. type: integer
  14459. - description: 买卖方向,0:买 1:卖
  14460. in: query
  14461. name: buyOrSell
  14462. type: integer
  14463. - description: 关联委托单号
  14464. in: query
  14465. name: orderID
  14466. type: integer
  14467. produces:
  14468. - application/json
  14469. responses:
  14470. "200":
  14471. description: OK
  14472. schema:
  14473. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14474. "500":
  14475. description: Internal Server Error
  14476. schema:
  14477. $ref: '#/definitions/app.Response'
  14478. security:
  14479. - ApiKeyAuth: []
  14480. summary: 获取企业风管期货成交单信息
  14481. tags:
  14482. - 企业风险管理(app)
  14483. /Ermcp/QueryErmcpTradePosition:
  14484. get:
  14485. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  14486. parameters:
  14487. - description: 资金账户ID
  14488. in: query
  14489. name: accountID
  14490. required: true
  14491. type: integer
  14492. - description: 所属市场ID
  14493. in: query
  14494. name: marketID
  14495. type: integer
  14496. produces:
  14497. - application/json
  14498. responses:
  14499. "200":
  14500. description: OK
  14501. schema:
  14502. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  14503. "500":
  14504. description: Internal Server Error
  14505. schema:
  14506. $ref: '#/definitions/app.Response'
  14507. security:
  14508. - ApiKeyAuth: []
  14509. summary: 获取企业风管期货持仓头寸信息
  14510. tags:
  14511. - 企业风险管理(app)
  14512. /Ermcp/QueryExposureDetail:
  14513. get:
  14514. parameters:
  14515. - description: 所属机构ID
  14516. in: query
  14517. name: areaUserId
  14518. required: true
  14519. type: integer
  14520. - description: 套保商品
  14521. in: query
  14522. name: middleGoodsId
  14523. required: true
  14524. type: integer
  14525. produces:
  14526. - application/json
  14527. responses:
  14528. "200":
  14529. description: OK
  14530. schema:
  14531. items:
  14532. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  14533. type: array
  14534. "500":
  14535. description: Internal Server Error
  14536. schema:
  14537. $ref: '#/definitions/app.Response'
  14538. security:
  14539. - ApiKeyAuth: []
  14540. summary: 查询敞口现货明细
  14541. tags:
  14542. - 企业风险管理(app)
  14543. /Ermcp/QueryExposureGoods:
  14544. get:
  14545. parameters:
  14546. - description: 套保商品id
  14547. in: query
  14548. name: middlegoodsid
  14549. required: true
  14550. type: integer
  14551. produces:
  14552. - application/json
  14553. responses:
  14554. "200":
  14555. description: OK
  14556. schema:
  14557. items:
  14558. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  14559. type: array
  14560. "500":
  14561. description: Internal Server Error
  14562. schema:
  14563. $ref: '#/definitions/app.Response'
  14564. security:
  14565. - ApiKeyAuth: []
  14566. summary: 查询敞口主力合约
  14567. tags:
  14568. - 企业风险管理(app)
  14569. /Ermcp/QueryExposureHedgePosition:
  14570. get:
  14571. parameters:
  14572. - description: 用户id
  14573. in: query
  14574. name: userid
  14575. required: true
  14576. type: integer
  14577. produces:
  14578. - application/json
  14579. responses:
  14580. "200":
  14581. description: OK
  14582. schema:
  14583. items:
  14584. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  14585. type: array
  14586. "500":
  14587. description: Internal Server Error
  14588. schema:
  14589. $ref: '#/definitions/app.Response'
  14590. security:
  14591. - ApiKeyAuth: []
  14592. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  14593. tags:
  14594. - 企业风险管理(app)
  14595. /Ermcp/QueryExposureHedgePositionDetail:
  14596. get:
  14597. parameters:
  14598. - description: 所属机构ID
  14599. in: query
  14600. name: userid
  14601. required: true
  14602. type: integer
  14603. - description: 商品id
  14604. in: query
  14605. name: goodsId
  14606. required: true
  14607. type: integer
  14608. produces:
  14609. - application/json
  14610. responses:
  14611. "200":
  14612. description: OK
  14613. schema:
  14614. items:
  14615. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  14616. type: array
  14617. "500":
  14618. description: Internal Server Error
  14619. schema:
  14620. $ref: '#/definitions/app.Response'
  14621. security:
  14622. - ApiKeyAuth: []
  14623. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  14624. tags:
  14625. - 企业风险管理(app)
  14626. /Ermcp/QueryExposureSpot:
  14627. get:
  14628. parameters:
  14629. - description: 所属机构ID
  14630. in: query
  14631. name: areaUserId
  14632. required: true
  14633. type: integer
  14634. produces:
  14635. - application/json
  14636. responses:
  14637. "200":
  14638. description: OK
  14639. schema:
  14640. items:
  14641. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  14642. type: array
  14643. "500":
  14644. description: Internal Server Error
  14645. schema:
  14646. $ref: '#/definitions/app.Response'
  14647. security:
  14648. - ApiKeyAuth: []
  14649. summary: 查询敞口现货头寸(敞口/现货头寸)
  14650. tags:
  14651. - 企业风险管理(app)
  14652. /Ermcp/QueryExposureSpotDetail:
  14653. get:
  14654. parameters:
  14655. - description: 所属机构ID
  14656. in: query
  14657. name: areaUserId
  14658. required: true
  14659. type: integer
  14660. - description: 现货品种ID
  14661. in: query
  14662. name: wrstandardId
  14663. required: true
  14664. type: integer
  14665. produces:
  14666. - application/json
  14667. responses:
  14668. "200":
  14669. description: OK
  14670. schema:
  14671. items:
  14672. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  14673. type: array
  14674. "500":
  14675. description: Internal Server Error
  14676. schema:
  14677. $ref: '#/definitions/app.Response'
  14678. security:
  14679. - ApiKeyAuth: []
  14680. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14681. tags:
  14682. - 企业风险管理(app)
  14683. /Ermcp/QueryFuturesCompany:
  14684. get:
  14685. produces:
  14686. - application/json
  14687. responses:
  14688. "200":
  14689. description: OK
  14690. schema:
  14691. items:
  14692. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14693. type: array
  14694. "500":
  14695. description: Internal Server Error
  14696. schema:
  14697. $ref: '#/definitions/app.Response'
  14698. security:
  14699. - ApiKeyAuth: []
  14700. summary: 查询期货公司
  14701. tags:
  14702. - 企业风险管理(app)
  14703. /Ermcp/QueryGGConvertConfig:
  14704. get:
  14705. parameters:
  14706. - description: 品种id(不填则查所有)
  14707. in: query
  14708. name: goodsgroupid
  14709. type: integer
  14710. produces:
  14711. - application/json
  14712. responses:
  14713. "200":
  14714. description: OK
  14715. schema:
  14716. items:
  14717. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  14718. type: array
  14719. "500":
  14720. description: Internal Server Error
  14721. schema:
  14722. $ref: '#/definitions/app.Response'
  14723. security:
  14724. - ApiKeyAuth: []
  14725. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  14726. tags:
  14727. - 企业风险管理(app)
  14728. /Ermcp/QueryGoodsBrand:
  14729. get:
  14730. parameters:
  14731. - description: 用户ID
  14732. in: query
  14733. name: userid
  14734. required: true
  14735. type: integer
  14736. - description: 现货商品ID
  14737. in: query
  14738. name: wrstandardid
  14739. type: integer
  14740. produces:
  14741. - application/json
  14742. responses:
  14743. "200":
  14744. description: OK
  14745. schema:
  14746. items:
  14747. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14748. type: array
  14749. "500":
  14750. description: Internal Server Error
  14751. schema:
  14752. $ref: '#/definitions/app.Response'
  14753. security:
  14754. - ApiKeyAuth: []
  14755. summary: 查询商品品牌
  14756. tags:
  14757. - 企业风险管理(app)
  14758. /Ermcp/QueryGoodsModel:
  14759. get:
  14760. parameters:
  14761. - description: 用户ID
  14762. in: query
  14763. name: userid
  14764. required: true
  14765. type: integer
  14766. produces:
  14767. - application/json
  14768. responses:
  14769. "200":
  14770. description: OK
  14771. schema:
  14772. items:
  14773. $ref: '#/definitions/models.ErmcpGoodsModel'
  14774. type: array
  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/QueryHisExposure:
  14785. get:
  14786. parameters:
  14787. - description: 用户id
  14788. in: query
  14789. name: userid
  14790. required: true
  14791. type: integer
  14792. - description: 每个品种记录数
  14793. in: query
  14794. name: lastNum
  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.HisExposureRsp'
  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/QueryMiddleGoods:
  14816. get:
  14817. parameters:
  14818. - description: 所属机构ID
  14819. in: query
  14820. name: userid
  14821. required: true
  14822. type: integer
  14823. - description: 状态 0-停用 1-正常
  14824. in: query
  14825. name: status
  14826. required: true
  14827. type: integer
  14828. produces:
  14829. - application/json
  14830. responses:
  14831. "200":
  14832. description: OK
  14833. schema:
  14834. items:
  14835. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14836. type: array
  14837. "500":
  14838. description: Internal Server Error
  14839. schema:
  14840. $ref: '#/definitions/app.Response'
  14841. security:
  14842. - ApiKeyAuth: []
  14843. summary: 查询套保品种(菜单:套保品种)
  14844. tags:
  14845. - 企业风险管理(app)
  14846. /Ermcp/QueryMiddleGoodsChangeLog:
  14847. get:
  14848. parameters:
  14849. - description: 所属机构ID
  14850. in: query
  14851. name: userid
  14852. required: true
  14853. type: integer
  14854. - description: 套保品种id
  14855. in: query
  14856. name: middlegoodsid
  14857. required: true
  14858. type: integer
  14859. produces:
  14860. - application/json
  14861. responses:
  14862. "200":
  14863. description: OK
  14864. schema:
  14865. items:
  14866. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  14867. type: array
  14868. "500":
  14869. description: Internal Server Error
  14870. schema:
  14871. $ref: '#/definitions/app.Response'
  14872. security:
  14873. - ApiKeyAuth: []
  14874. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  14875. tags:
  14876. - 企业风险管理(app)
  14877. /Ermcp/QueryMiddleGoodsDetail:
  14878. get:
  14879. parameters:
  14880. - description: 所属机构ID
  14881. in: query
  14882. name: userid
  14883. required: true
  14884. type: integer
  14885. - description: 套保品种id
  14886. in: query
  14887. name: middlegoodsid
  14888. type: integer
  14889. produces:
  14890. - application/json
  14891. responses:
  14892. "200":
  14893. description: OK
  14894. schema:
  14895. items:
  14896. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  14897. type: array
  14898. "500":
  14899. description: Internal Server Error
  14900. schema:
  14901. $ref: '#/definitions/app.Response'
  14902. security:
  14903. - ApiKeyAuth: []
  14904. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  14905. tags:
  14906. - 企业风险管理(app)
  14907. /Ermcp/QueryPendingAuditInfo:
  14908. get:
  14909. parameters:
  14910. - description: 用户ID
  14911. in: query
  14912. name: UserId
  14913. required: true
  14914. type: integer
  14915. produces:
  14916. - application/json
  14917. responses:
  14918. "200":
  14919. description: OK
  14920. schema:
  14921. items:
  14922. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  14923. type: array
  14924. "500":
  14925. description: Internal Server Error
  14926. schema:
  14927. $ref: '#/definitions/app.Response'
  14928. security:
  14929. - ApiKeyAuth: []
  14930. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  14931. tags:
  14932. - 企业风险管理(app)
  14933. /Ermcp/QueryRealtimeExposure:
  14934. get:
  14935. parameters:
  14936. - description: 所属机构ID
  14937. in: query
  14938. name: userid
  14939. required: true
  14940. type: integer
  14941. produces:
  14942. - application/json
  14943. responses:
  14944. "200":
  14945. description: OK
  14946. schema:
  14947. items:
  14948. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14949. type: array
  14950. "500":
  14951. description: Internal Server Error
  14952. schema:
  14953. $ref: '#/definitions/app.Response'
  14954. security:
  14955. - ApiKeyAuth: []
  14956. summary: 查询实时敞口
  14957. tags:
  14958. - 企业风险管理(app)
  14959. /Ermcp/QueryRealtimeExposurePosition:
  14960. get:
  14961. parameters:
  14962. - description: 用户id
  14963. in: query
  14964. name: userid
  14965. required: true
  14966. type: integer
  14967. - description: 套保商品ID
  14968. in: query
  14969. name: middleGoodsId
  14970. required: true
  14971. type: integer
  14972. produces:
  14973. - application/json
  14974. responses:
  14975. "200":
  14976. description: OK
  14977. schema:
  14978. items:
  14979. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14980. type: array
  14981. "500":
  14982. description: Internal Server Error
  14983. schema:
  14984. $ref: '#/definitions/app.Response'
  14985. security:
  14986. - ApiKeyAuth: []
  14987. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14988. tags:
  14989. - 企业风险管理(app)
  14990. /Ermcp/QueryTradeConfigTMP:
  14991. get:
  14992. parameters:
  14993. - description: 所属机构id
  14994. in: query
  14995. name: areauserid
  14996. type: integer
  14997. produces:
  14998. - application/json
  14999. responses:
  15000. "200":
  15001. description: OK
  15002. schema:
  15003. items:
  15004. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  15005. type: array
  15006. "500":
  15007. description: Internal Server Error
  15008. schema:
  15009. $ref: '#/definitions/app.Response'
  15010. security:
  15011. - ApiKeyAuth: []
  15012. summary: 查询交易模板配置
  15013. tags:
  15014. - 企业风险管理(app)
  15015. /Ermcp/QueryUserInfo:
  15016. get:
  15017. parameters:
  15018. - description: 所属机构用户ID
  15019. in: query
  15020. name: MemberUserID
  15021. required: true
  15022. type: integer
  15023. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  15024. in: query
  15025. name: queryType
  15026. required: true
  15027. type: integer
  15028. produces:
  15029. - application/json
  15030. responses:
  15031. "200":
  15032. description: OK
  15033. schema:
  15034. items:
  15035. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  15036. type: array
  15037. "500":
  15038. description: Internal Server Error
  15039. schema:
  15040. $ref: '#/definitions/app.Response'
  15041. security:
  15042. - ApiKeyAuth: []
  15043. summary: 查询客户资料
  15044. tags:
  15045. - 企业风险管理(app)
  15046. /Ermcp/QueryWarehouseInfo:
  15047. get:
  15048. parameters:
  15049. - description: 用户ID
  15050. in: query
  15051. name: userid
  15052. required: true
  15053. type: integer
  15054. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  15055. in: query
  15056. name: status
  15057. type: string
  15058. produces:
  15059. - application/json
  15060. responses:
  15061. "200":
  15062. description: OK
  15063. schema:
  15064. items:
  15065. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  15066. type: array
  15067. "500":
  15068. description: Internal Server Error
  15069. schema:
  15070. $ref: '#/definitions/app.Response'
  15071. security:
  15072. - ApiKeyAuth: []
  15073. summary: 查询仓库信息
  15074. tags:
  15075. - 企业风险管理(app)
  15076. /Ermcp3/QryAreaExpourseContractDetail:
  15077. get:
  15078. parameters:
  15079. - description: 用户ID
  15080. in: query
  15081. name: userid
  15082. required: true
  15083. type: integer
  15084. - description: 套保商品id
  15085. in: query
  15086. name: middlegoodsid
  15087. required: true
  15088. type: integer
  15089. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15090. in: query
  15091. name: cycletype
  15092. required: true
  15093. type: integer
  15094. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15095. 全(0)【原值】
  15096. in: query
  15097. name: cycletime
  15098. required: true
  15099. type: string
  15100. produces:
  15101. - application/json
  15102. responses:
  15103. "200":
  15104. description: OK
  15105. schema:
  15106. items:
  15107. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  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. - 企业风险管理v3(app)
  15118. /Ermcp3/QryAreaExpourseFutuDetail:
  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. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15132. in: query
  15133. name: cycletype
  15134. required: true
  15135. type: integer
  15136. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15137. 全(0)【原值】
  15138. in: query
  15139. name: cycletime
  15140. required: true
  15141. type: string
  15142. produces:
  15143. - application/json
  15144. responses:
  15145. "200":
  15146. description: OK
  15147. schema:
  15148. items:
  15149. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  15150. type: array
  15151. "500":
  15152. description: Internal Server Error
  15153. schema:
  15154. $ref: '#/definitions/app.Response'
  15155. security:
  15156. - ApiKeyAuth: []
  15157. summary: 查询敞口期货明细(敞口报表/期货明细)
  15158. tags:
  15159. - 企业风险管理v3(app)
  15160. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  15161. get:
  15162. parameters:
  15163. - description: 用户ID
  15164. in: query
  15165. name: userid
  15166. required: true
  15167. type: integer
  15168. - description: 套保商品id
  15169. in: query
  15170. name: middlegoodsid
  15171. required: true
  15172. type: integer
  15173. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15174. in: query
  15175. name: cycletype
  15176. required: true
  15177. type: integer
  15178. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15179. 全(0)【原值】
  15180. in: query
  15181. name: cycletime
  15182. required: true
  15183. type: string
  15184. produces:
  15185. - application/json
  15186. responses:
  15187. "200":
  15188. description: OK
  15189. schema:
  15190. items:
  15191. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  15192. type: array
  15193. "500":
  15194. description: Internal Server Error
  15195. schema:
  15196. $ref: '#/definitions/app.Response'
  15197. security:
  15198. - ApiKeyAuth: []
  15199. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  15200. tags:
  15201. - 企业风险管理v3(app)
  15202. /Ermcp3/QryAreaExpourseParamChLogDetail:
  15203. get:
  15204. parameters:
  15205. - description: 用户ID
  15206. in: query
  15207. name: userid
  15208. required: true
  15209. type: integer
  15210. - description: 套保商品id
  15211. in: query
  15212. name: middlegoodsid
  15213. required: true
  15214. type: integer
  15215. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15216. in: query
  15217. name: cycletype
  15218. required: true
  15219. type: integer
  15220. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15221. 全(0)【原值】
  15222. in: query
  15223. name: cycletime
  15224. required: true
  15225. type: string
  15226. produces:
  15227. - application/json
  15228. responses:
  15229. "200":
  15230. description: OK
  15231. schema:
  15232. items:
  15233. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  15234. type: array
  15235. "500":
  15236. description: Internal Server Error
  15237. schema:
  15238. $ref: '#/definitions/app.Response'
  15239. security:
  15240. - ApiKeyAuth: []
  15241. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  15242. tags:
  15243. - 企业风险管理v3(app)
  15244. /Ermcp3/QryAreaExpourseReport:
  15245. get:
  15246. parameters:
  15247. - description: 用户ID
  15248. in: query
  15249. name: userid
  15250. required: true
  15251. type: integer
  15252. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  15253. in: query
  15254. name: querytype
  15255. required: true
  15256. type: integer
  15257. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15258. in: query
  15259. name: cycletype
  15260. required: true
  15261. type: integer
  15262. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15263. 全(0)【原值】
  15264. in: query
  15265. name: cycletime
  15266. required: true
  15267. type: string
  15268. produces:
  15269. - application/json
  15270. responses:
  15271. "200":
  15272. description: OK
  15273. schema:
  15274. items:
  15275. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  15276. type: array
  15277. "500":
  15278. description: Internal Server Error
  15279. schema:
  15280. $ref: '#/definitions/app.Response'
  15281. security:
  15282. - ApiKeyAuth: []
  15283. summary: 查询敞口报表
  15284. tags:
  15285. - 企业风险管理v3(app)
  15286. /Ermcp3/QryAreaSpotplReport:
  15287. get:
  15288. parameters:
  15289. - description: 用户ID
  15290. in: query
  15291. name: userid
  15292. required: true
  15293. type: integer
  15294. - description: 查询类型 1-报表 2-报表明细
  15295. in: query
  15296. name: querytype
  15297. required: true
  15298. type: integer
  15299. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15300. in: query
  15301. name: cycletype
  15302. required: true
  15303. type: integer
  15304. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15305. 全(0)【原值】
  15306. in: query
  15307. name: cycletime
  15308. required: true
  15309. type: string
  15310. - description: 现货品种id(明细必填)
  15311. in: query
  15312. name: deliverygoodsid
  15313. type: integer
  15314. - description: 币种id(明细必填)
  15315. in: query
  15316. name: currencyid
  15317. type: integer
  15318. produces:
  15319. - application/json
  15320. responses:
  15321. "200":
  15322. description: OK
  15323. schema:
  15324. items:
  15325. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  15326. type: array
  15327. "500":
  15328. description: Internal Server Error
  15329. schema:
  15330. $ref: '#/definitions/app.Response'
  15331. security:
  15332. - ApiKeyAuth: []
  15333. summary: 查询现货报表
  15334. tags:
  15335. - 企业风险管理v3(app)
  15336. /Ermcp3/QryAreaStockReport:
  15337. get:
  15338. parameters:
  15339. - description: 用户ID
  15340. in: query
  15341. name: userid
  15342. required: true
  15343. type: integer
  15344. - description: 查询类型 1-报表 2-报表明细
  15345. in: query
  15346. name: querytype
  15347. required: true
  15348. type: integer
  15349. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15350. in: query
  15351. name: cycletype
  15352. required: true
  15353. type: integer
  15354. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15355. 全(0)【原值】
  15356. in: query
  15357. name: cycletime
  15358. required: true
  15359. type: string
  15360. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  15361. in: query
  15362. name: sumfields
  15363. type: string
  15364. - description: 品种ID
  15365. in: query
  15366. name: deliverygoodsid
  15367. type: integer
  15368. - description: 品类ID
  15369. in: query
  15370. name: wrstandardid
  15371. type: integer
  15372. - description: 品牌ID
  15373. in: query
  15374. name: spotgoodsbrandid
  15375. type: integer
  15376. - description: 仓库ID
  15377. in: query
  15378. name: warehouseinfoid
  15379. type: integer
  15380. produces:
  15381. - application/json
  15382. responses:
  15383. "200":
  15384. description: OK
  15385. schema:
  15386. items:
  15387. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  15388. type: array
  15389. "500":
  15390. description: Internal Server Error
  15391. schema:
  15392. $ref: '#/definitions/app.Response'
  15393. security:
  15394. - ApiKeyAuth: []
  15395. summary: 查询库存报表
  15396. tags:
  15397. - 企业风险管理v3(app)
  15398. /Ermcp3/QryAreaSumPL:
  15399. get:
  15400. parameters:
  15401. - description: 用户ID
  15402. in: query
  15403. name: userid
  15404. required: true
  15405. type: integer
  15406. - description: 查询类型 1-报表 2-报表明细
  15407. in: query
  15408. name: querytype
  15409. required: true
  15410. type: integer
  15411. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15412. in: query
  15413. name: cycletype
  15414. required: true
  15415. type: integer
  15416. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15417. 全(0)【原值】
  15418. in: query
  15419. name: cycletime
  15420. required: true
  15421. type: string
  15422. - description: 币种id(明细必填)
  15423. in: query
  15424. name: currencyid
  15425. type: integer
  15426. produces:
  15427. - application/json
  15428. responses:
  15429. "200":
  15430. description: OK
  15431. schema:
  15432. items:
  15433. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  15434. type: array
  15435. "500":
  15436. description: Internal Server Error
  15437. schema:
  15438. $ref: '#/definitions/app.Response'
  15439. security:
  15440. - ApiKeyAuth: []
  15441. summary: 查询汇总损益表
  15442. tags:
  15443. - 企业风险管理v3(app)
  15444. /Ermcp3/QryFinanceReport:
  15445. get:
  15446. parameters:
  15447. - description: 用户ID
  15448. in: query
  15449. name: userid
  15450. required: true
  15451. type: integer
  15452. - description: 查询类型 1-报表 2-报表明细
  15453. in: query
  15454. name: querytype
  15455. required: true
  15456. type: integer
  15457. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15458. in: query
  15459. name: cycletype
  15460. required: true
  15461. type: integer
  15462. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15463. 全(0)【原值】
  15464. in: query
  15465. name: cycletime
  15466. required: true
  15467. type: string
  15468. - description: 币种id(报表明细必填)
  15469. in: query
  15470. name: currencyid
  15471. type: integer
  15472. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  15473. in: query
  15474. name: sumfields
  15475. type: string
  15476. produces:
  15477. - application/json
  15478. responses:
  15479. "200":
  15480. description: OK
  15481. schema:
  15482. items:
  15483. $ref: '#/definitions/models.Ermcp3FinanceReport'
  15484. type: array
  15485. "500":
  15486. description: Internal Server Error
  15487. schema:
  15488. $ref: '#/definitions/app.Response'
  15489. security:
  15490. - ApiKeyAuth: []
  15491. summary: 查询财务报表
  15492. tags:
  15493. - 企业风险管理v3(app)
  15494. /Ermcp3/QryTaFutureDataReport:
  15495. get:
  15496. parameters:
  15497. - description: 用户ID
  15498. in: query
  15499. name: userid
  15500. required: true
  15501. type: integer
  15502. - description: 查询类型 1-报表 2-报表明细
  15503. in: query
  15504. name: querytype
  15505. required: true
  15506. type: integer
  15507. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15508. in: query
  15509. name: cycletype
  15510. required: true
  15511. type: integer
  15512. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15513. 全(0)【原值】
  15514. in: query
  15515. name: cycletime
  15516. required: true
  15517. type: string
  15518. - description: 币种id(查明细必填)
  15519. in: query
  15520. name: currencyid
  15521. type: integer
  15522. - description: 品种id(查明细必填)
  15523. in: query
  15524. name: goodsgroupid
  15525. type: integer
  15526. - description: 商品id(查明细必填)
  15527. in: query
  15528. name: goodsid
  15529. type: integer
  15530. - description: 买卖方向(查明细必填)
  15531. in: query
  15532. name: buyorsell
  15533. type: integer
  15534. produces:
  15535. - application/json
  15536. responses:
  15537. "200":
  15538. description: OK
  15539. schema:
  15540. items:
  15541. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  15542. type: array
  15543. "500":
  15544. description: Internal Server Error
  15545. schema:
  15546. $ref: '#/definitions/app.Response'
  15547. security:
  15548. - ApiKeyAuth: []
  15549. summary: 查询期货报表
  15550. tags:
  15551. - 企业风险管理v3(app)
  15552. /Ermcp3/QueryAreaStock:
  15553. get:
  15554. parameters:
  15555. - description: 用户ID
  15556. in: query
  15557. name: userid
  15558. required: true
  15559. type: integer
  15560. produces:
  15561. - application/json
  15562. responses:
  15563. "200":
  15564. description: OK
  15565. schema:
  15566. items:
  15567. $ref: '#/definitions/models.Ermcp3AreaStock'
  15568. type: array
  15569. "500":
  15570. description: Internal Server Error
  15571. schema:
  15572. $ref: '#/definitions/app.Response'
  15573. security:
  15574. - ApiKeyAuth: []
  15575. summary: 查询机构库存(库存管理/当前库存)
  15576. tags:
  15577. - 企业风险管理v3(app)
  15578. /Ermcp3/QueryAreaStockApply:
  15579. get:
  15580. parameters:
  15581. - description: 用户ID
  15582. in: query
  15583. name: userid
  15584. required: true
  15585. type: integer
  15586. - description: 用户类型 2-机构 7-企业成员
  15587. in: query
  15588. name: usertype
  15589. type: integer
  15590. - description: 现货商品ID
  15591. in: query
  15592. name: deliverygoodsid
  15593. type: integer
  15594. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  15595. in: query
  15596. name: inouttype
  15597. type: string
  15598. - description: 合同ID
  15599. in: query
  15600. name: spotcontractid
  15601. type: integer
  15602. - description: 品类ID
  15603. in: query
  15604. name: wrstandardid
  15605. type: integer
  15606. - description: 品牌ID
  15607. in: query
  15608. name: spotgoodsbrandid
  15609. type: integer
  15610. - description: 仓库ID
  15611. in: query
  15612. name: warehouseinfoid
  15613. type: integer
  15614. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15615. in: query
  15616. name: applystatus
  15617. type: string
  15618. produces:
  15619. - application/json
  15620. responses:
  15621. "200":
  15622. description: OK
  15623. schema:
  15624. items:
  15625. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15626. type: array
  15627. "500":
  15628. description: Internal Server Error
  15629. schema:
  15630. $ref: '#/definitions/app.Response'
  15631. security:
  15632. - ApiKeyAuth: []
  15633. summary: 查询库存申请(出入库记录|库存审核)
  15634. tags:
  15635. - 企业风险管理v3(app)
  15636. /Ermcp3/QueryAreaStockApplySum:
  15637. get:
  15638. parameters:
  15639. - description: 合同ID
  15640. in: query
  15641. name: spotcontractid
  15642. type: integer
  15643. produces:
  15644. - application/json
  15645. responses:
  15646. "200":
  15647. description: OK
  15648. schema:
  15649. items:
  15650. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  15651. type: array
  15652. "500":
  15653. description: Internal Server Error
  15654. schema:
  15655. $ref: '#/definitions/app.Response'
  15656. security:
  15657. - ApiKeyAuth: []
  15658. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  15659. tags:
  15660. - 企业风险管理v3(app)
  15661. /Ermcp3/QueryDGFactoryItem:
  15662. get:
  15663. parameters:
  15664. - description: 用户id
  15665. in: query
  15666. name: userid
  15667. type: integer
  15668. - description: 用户类型 2-机构 7-企业成员
  15669. in: query
  15670. name: usertype
  15671. type: integer
  15672. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15673. in: query
  15674. name: dgfactoryitemid
  15675. type: integer
  15676. - description: 现货品种ID
  15677. in: query
  15678. name: deliverygoodsid
  15679. type: integer
  15680. - description: 要素项类型
  15681. in: query
  15682. name: dgfactoryitemtypeid
  15683. type: integer
  15684. - description: 顺序
  15685. in: query
  15686. name: orderindex
  15687. type: integer
  15688. produces:
  15689. - application/json
  15690. responses:
  15691. "200":
  15692. description: OK
  15693. schema:
  15694. items:
  15695. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  15696. type: array
  15697. "500":
  15698. description: Internal Server Error
  15699. schema:
  15700. $ref: '#/definitions/app.Response'
  15701. security:
  15702. - ApiKeyAuth: []
  15703. summary: 查询品种要素定义项
  15704. tags:
  15705. - 企业风险管理v3(app)
  15706. /Ermcp3/QueryDeliveryGoods:
  15707. get:
  15708. parameters:
  15709. - description: 用户id
  15710. in: query
  15711. name: userid
  15712. required: true
  15713. type: integer
  15714. - description: 用户类型 2-机构 7-企业成员
  15715. in: query
  15716. name: usertype
  15717. type: integer
  15718. - description: 排除已配置的业务类型商品 1-套保 2-套利
  15719. in: query
  15720. name: excludecfg
  15721. type: integer
  15722. produces:
  15723. - application/json
  15724. responses:
  15725. "200":
  15726. description: OK
  15727. schema:
  15728. items:
  15729. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15730. type: array
  15731. "500":
  15732. description: Internal Server Error
  15733. schema:
  15734. $ref: '#/definitions/app.Response'
  15735. security:
  15736. - ApiKeyAuth: []
  15737. summary: 查询现货商品
  15738. tags:
  15739. - 企业风险管理v3(app)
  15740. /Ermcp3/QueryDeliveryGoodsDetail:
  15741. get:
  15742. parameters:
  15743. - description: 用户id
  15744. in: query
  15745. name: userid
  15746. required: true
  15747. type: integer
  15748. - description: 用户类型 2-机构 7-企业成员
  15749. in: query
  15750. name: usertype
  15751. type: integer
  15752. - description: 现货商品id
  15753. in: query
  15754. name: deliverygoodsid
  15755. type: integer
  15756. produces:
  15757. - application/json
  15758. responses:
  15759. "200":
  15760. description: OK
  15761. schema:
  15762. items:
  15763. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  15764. type: array
  15765. "500":
  15766. description: Internal Server Error
  15767. schema:
  15768. $ref: '#/definitions/app.Response'
  15769. security:
  15770. - ApiKeyAuth: []
  15771. summary: 查询现货商品详情
  15772. tags:
  15773. - 企业风险管理v3(app)
  15774. /Ermcp3/QueryExposureDetail:
  15775. get:
  15776. parameters:
  15777. - description: 用户id
  15778. in: query
  15779. name: userid
  15780. required: true
  15781. type: integer
  15782. - description: 用户类型 2-机构 7-企业成员
  15783. in: query
  15784. name: usertype
  15785. type: integer
  15786. - description: 套保商品
  15787. in: query
  15788. name: middlegoodsid
  15789. required: true
  15790. type: integer
  15791. produces:
  15792. - application/json
  15793. responses:
  15794. "200":
  15795. description: OK
  15796. schema:
  15797. items:
  15798. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15799. type: array
  15800. "500":
  15801. description: Internal Server Error
  15802. schema:
  15803. $ref: '#/definitions/app.Response'
  15804. security:
  15805. - ApiKeyAuth: []
  15806. summary: 查询敞口现货明细
  15807. tags:
  15808. - 企业风险管理v3(app)
  15809. /Ermcp3/QueryExposureSpot:
  15810. get:
  15811. parameters:
  15812. - description: 用户id
  15813. in: query
  15814. name: userid
  15815. required: true
  15816. type: integer
  15817. - description: 用户类型 2-机构 7-企业成员
  15818. in: query
  15819. name: usertype
  15820. type: integer
  15821. produces:
  15822. - application/json
  15823. responses:
  15824. "200":
  15825. description: OK
  15826. schema:
  15827. items:
  15828. $ref: '#/definitions/models.Ermcp3AreaSpot'
  15829. type: array
  15830. "500":
  15831. description: Internal Server Error
  15832. schema:
  15833. $ref: '#/definitions/app.Response'
  15834. security:
  15835. - ApiKeyAuth: []
  15836. summary: 查询敞口现货头寸(敞口/现货头寸)
  15837. tags:
  15838. - 企业风险管理v3(app)
  15839. /Ermcp3/QueryExposureSpotDetail:
  15840. get:
  15841. parameters:
  15842. - description: 用户id
  15843. in: query
  15844. name: userid
  15845. required: true
  15846. type: integer
  15847. - description: 用户类型 2-机构 7-企业成员
  15848. in: query
  15849. name: usertype
  15850. type: integer
  15851. - description: 现货品种ID
  15852. in: query
  15853. name: deliverygoodsid
  15854. required: true
  15855. type: integer
  15856. produces:
  15857. - application/json
  15858. responses:
  15859. "200":
  15860. description: OK
  15861. schema:
  15862. items:
  15863. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  15864. type: array
  15865. "500":
  15866. description: Internal Server Error
  15867. schema:
  15868. $ref: '#/definitions/app.Response'
  15869. security:
  15870. - ApiKeyAuth: []
  15871. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  15872. tags:
  15873. - 企业风险管理v3(app)
  15874. /Ermcp3/QueryGoodsGroup:
  15875. get:
  15876. parameters:
  15877. - description: 用户id
  15878. in: query
  15879. name: userid
  15880. required: true
  15881. type: integer
  15882. - description: 用户类型 2-机构 7-企业成员
  15883. in: query
  15884. name: usertype
  15885. type: integer
  15886. - description: 排除套保品中已关联的商品组 1-排除
  15887. in: query
  15888. name: excludecfg
  15889. type: integer
  15890. produces:
  15891. - application/json
  15892. responses:
  15893. "200":
  15894. description: OK
  15895. schema:
  15896. items:
  15897. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  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/QueryGoodsWrstandard:
  15909. get:
  15910. parameters:
  15911. - description: 用户id
  15912. in: query
  15913. name: userid
  15914. required: true
  15915. type: integer
  15916. - description: 用户类型 2-机构 7-企业成员
  15917. in: query
  15918. name: usertype
  15919. type: integer
  15920. - description: 现货商品id
  15921. in: query
  15922. name: deliverygoodsid
  15923. type: integer
  15924. produces:
  15925. - application/json
  15926. responses:
  15927. "200":
  15928. description: OK
  15929. schema:
  15930. items:
  15931. $ref: '#/definitions/models.Ermcp3Wrstandard'
  15932. type: array
  15933. "500":
  15934. description: Internal Server Error
  15935. schema:
  15936. $ref: '#/definitions/app.Response'
  15937. security:
  15938. - ApiKeyAuth: []
  15939. summary: 查询商品品类
  15940. tags:
  15941. - 企业风险管理v3(app)
  15942. /Ermcp3/QueryGoodsbrand:
  15943. get:
  15944. parameters:
  15945. - description: 用户id
  15946. in: query
  15947. name: userid
  15948. required: true
  15949. type: integer
  15950. - description: 用户类型 2-机构 7-企业成员
  15951. in: query
  15952. name: usertype
  15953. type: integer
  15954. produces:
  15955. - application/json
  15956. responses:
  15957. "200":
  15958. description: OK
  15959. schema:
  15960. items:
  15961. $ref: '#/definitions/models.Ermcp3Brand'
  15962. type: array
  15963. "500":
  15964. description: Internal Server Error
  15965. schema:
  15966. $ref: '#/definitions/app.Response'
  15967. security:
  15968. - ApiKeyAuth: []
  15969. summary: 查询商品品牌
  15970. tags:
  15971. - 企业风险管理v3(app)
  15972. /Ermcp3/QueryHedgePlan:
  15973. get:
  15974. parameters:
  15975. - description: 用户ID
  15976. in: query
  15977. name: userid
  15978. required: true
  15979. type: integer
  15980. - description: 用户类型 2-机构 7-企业成员
  15981. in: query
  15982. name: usertype
  15983. type: integer
  15984. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  15985. in: query
  15986. name: hedgeplanstatus
  15987. required: true
  15988. type: string
  15989. produces:
  15990. - application/json
  15991. responses:
  15992. "200":
  15993. description: OK
  15994. schema:
  15995. items:
  15996. $ref: '#/definitions/models.Ermcp3HedgePlan'
  15997. type: array
  15998. "500":
  15999. description: Internal Server Error
  16000. schema:
  16001. $ref: '#/definitions/app.Response'
  16002. security:
  16003. - ApiKeyAuth: []
  16004. summary: 查询套保计划
  16005. tags:
  16006. - 企业风险管理v3(app)
  16007. /Ermcp3/QueryMiddleGoodsDetail:
  16008. get:
  16009. parameters:
  16010. - description: 用户id
  16011. in: query
  16012. name: userid
  16013. required: true
  16014. type: integer
  16015. - description: 用户类型 2-机构 7-企业成员
  16016. in: query
  16017. name: usertype
  16018. type: integer
  16019. - description: 套保品种id
  16020. in: query
  16021. name: middlegoodsid
  16022. type: integer
  16023. produces:
  16024. - application/json
  16025. responses:
  16026. "200":
  16027. description: OK
  16028. schema:
  16029. items:
  16030. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  16031. type: array
  16032. "500":
  16033. description: Internal Server Error
  16034. schema:
  16035. $ref: '#/definitions/app.Response'
  16036. security:
  16037. - ApiKeyAuth: []
  16038. summary: 查询套保品种详情(套保品种/商品详情)
  16039. tags:
  16040. - 企业风险管理v3(app)
  16041. /Ermcp3/QuerySpotContract:
  16042. get:
  16043. parameters:
  16044. - description: 用户id
  16045. in: query
  16046. name: userid
  16047. required: true
  16048. type: integer
  16049. - description: 用户类型 2-机构 7-企业成员
  16050. in: query
  16051. name: usertype
  16052. type: integer
  16053. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  16054. in: query
  16055. name: querytype
  16056. required: true
  16057. type: integer
  16058. - description: 合同ID(SpotContractId)
  16059. in: query
  16060. name: contractid
  16061. type: string
  16062. produces:
  16063. - application/json
  16064. responses:
  16065. "200":
  16066. description: OK
  16067. schema:
  16068. items:
  16069. $ref: '#/definitions/models.Ermcp3Contract'
  16070. type: array
  16071. "500":
  16072. description: Internal Server Error
  16073. schema:
  16074. $ref: '#/definitions/app.Response'
  16075. security:
  16076. - ApiKeyAuth: []
  16077. summary: 查询现货合同
  16078. tags:
  16079. - 企业风险管理v3(app)
  16080. /Ermcp3/QuerySpotContractBS:
  16081. get:
  16082. parameters:
  16083. - description: 用户id
  16084. in: query
  16085. name: userid
  16086. required: true
  16087. type: integer
  16088. - description: 用户类型 2-机构 7-企业成员
  16089. in: query
  16090. name: usertype
  16091. type: integer
  16092. - description: 合同类型 1-采购, -1-销售
  16093. in: query
  16094. name: contracttype
  16095. required: true
  16096. type: integer
  16097. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  16098. in: query
  16099. name: querytype
  16100. required: true
  16101. type: integer
  16102. - description: 合同ID(SpotContractId)
  16103. in: query
  16104. name: contractid
  16105. type: string
  16106. produces:
  16107. - application/json
  16108. responses:
  16109. "200":
  16110. description: OK
  16111. schema:
  16112. items:
  16113. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  16114. type: array
  16115. "500":
  16116. description: Internal Server Error
  16117. schema:
  16118. $ref: '#/definitions/app.Response'
  16119. security:
  16120. - ApiKeyAuth: []
  16121. summary: 查询合同(采购/销售)
  16122. tags:
  16123. - 企业风险管理v3(app)
  16124. /Ermcp3/QuerySpotGoodsPrice:
  16125. get:
  16126. parameters:
  16127. - description: 用户ID
  16128. in: query
  16129. name: userid
  16130. required: true
  16131. type: integer
  16132. produces:
  16133. - application/json
  16134. responses:
  16135. "200":
  16136. description: OK
  16137. schema:
  16138. items:
  16139. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  16140. type: array
  16141. "500":
  16142. description: Internal Server Error
  16143. schema:
  16144. $ref: '#/definitions/app.Response'
  16145. security:
  16146. - ApiKeyAuth: []
  16147. summary: 查询现货市价(现货市价)
  16148. tags:
  16149. - 企业风险管理v3(app)
  16150. /Ermcp3/QuerySpotGoodsPriceLog:
  16151. get:
  16152. parameters:
  16153. - description: 用户ID
  16154. in: query
  16155. name: userid
  16156. required: true
  16157. type: integer
  16158. - description: 现货商品ID
  16159. in: query
  16160. name: deliverygoodsid
  16161. required: true
  16162. type: integer
  16163. - description: 品牌ID
  16164. in: query
  16165. name: brandid
  16166. type: integer
  16167. - description: 品类ID
  16168. in: query
  16169. name: wrstandardid
  16170. type: integer
  16171. produces:
  16172. - application/json
  16173. responses:
  16174. "200":
  16175. description: OK
  16176. schema:
  16177. items:
  16178. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  16179. type: array
  16180. "500":
  16181. description: Internal Server Error
  16182. schema:
  16183. $ref: '#/definitions/app.Response'
  16184. security:
  16185. - ApiKeyAuth: []
  16186. summary: 查询现货市价详情(现货市价/详情)
  16187. tags:
  16188. - 企业风险管理v3(app)
  16189. /Erms2/QueryArbitrageStrategy:
  16190. get:
  16191. parameters:
  16192. - description: 账户ID
  16193. in: query
  16194. name: userid
  16195. required: true
  16196. type: integer
  16197. - description: 商品组ID(品种ID)
  16198. in: query
  16199. name: goodsgroupid
  16200. type: string
  16201. produces:
  16202. - application/json
  16203. responses:
  16204. "200":
  16205. description: OK
  16206. schema:
  16207. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  16208. "500":
  16209. description: Internal Server Error
  16210. schema:
  16211. $ref: '#/definitions/app.Response'
  16212. security:
  16213. - ApiKeyAuth: []
  16214. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  16215. tags:
  16216. - 风险管理
  16217. /Erms2/QueryInnerTradeDetail:
  16218. get:
  16219. parameters:
  16220. - description: 资金账户
  16221. in: query
  16222. name: accountid
  16223. required: true
  16224. type: integer
  16225. produces:
  16226. - application/json
  16227. responses:
  16228. "200":
  16229. description: OK
  16230. schema:
  16231. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  16232. "500":
  16233. description: Internal Server Error
  16234. schema:
  16235. $ref: '#/definitions/app.Response'
  16236. security:
  16237. - ApiKeyAuth: []
  16238. summary: 查询内部成交单信息
  16239. tags:
  16240. - 风险管理
  16241. /Erms2/QuerySpotContract:
  16242. get:
  16243. parameters:
  16244. - description: 策略申请ID
  16245. in: query
  16246. name: asapplyid
  16247. required: true
  16248. type: integer
  16249. - description: 现货合同ID
  16250. in: query
  16251. name: spotcontractid
  16252. type: integer
  16253. produces:
  16254. - application/json
  16255. responses:
  16256. "200":
  16257. description: OK
  16258. schema:
  16259. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  16260. "500":
  16261. description: Internal Server Error
  16262. schema:
  16263. $ref: '#/definitions/app.Response'
  16264. security:
  16265. - ApiKeyAuth: []
  16266. summary: 查询现货合同表信息(指定策略ID、未结束的)
  16267. tags:
  16268. - 风险管理
  16269. /Erms3/AddErms2ASApply:
  16270. post:
  16271. parameters:
  16272. - description: 申请参数
  16273. in: body
  16274. name: jsonBody
  16275. required: true
  16276. schema:
  16277. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  16278. produces:
  16279. - application/json
  16280. responses:
  16281. "200":
  16282. description: OK
  16283. schema:
  16284. $ref: '#/definitions/app.Response'
  16285. "500":
  16286. description: Internal Server Error
  16287. schema:
  16288. $ref: '#/definitions/app.Response'
  16289. security:
  16290. - ApiKeyAuth: []
  16291. summary: 新增期现套利业务申请
  16292. tags:
  16293. - 风险管理v3
  16294. /Erms3/AddErms2SpotTradeApply:
  16295. post:
  16296. parameters:
  16297. - description: 申请参数
  16298. in: body
  16299. name: jsonBody
  16300. required: true
  16301. schema:
  16302. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  16303. produces:
  16304. - application/json
  16305. responses:
  16306. "200":
  16307. description: OK
  16308. schema:
  16309. $ref: '#/definitions/app.Response'
  16310. "500":
  16311. description: Internal Server Error
  16312. schema:
  16313. $ref: '#/definitions/app.Response'
  16314. security:
  16315. - ApiKeyAuth: []
  16316. summary: 新增现货贸易业务申请
  16317. tags:
  16318. - 风险管理v3
  16319. /Erms3/AddSpotContractApply:
  16320. post:
  16321. parameters:
  16322. - description: 申请参数
  16323. in: body
  16324. name: jsonBody
  16325. required: true
  16326. schema:
  16327. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  16328. produces:
  16329. - application/json
  16330. responses:
  16331. "200":
  16332. description: OK
  16333. schema:
  16334. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  16335. "500":
  16336. description: Internal Server Error
  16337. schema:
  16338. $ref: '#/definitions/app.Response'
  16339. security:
  16340. - ApiKeyAuth: []
  16341. summary: 新增现货合同申请
  16342. tags:
  16343. - 风险管理v3
  16344. /Erms3/AddUserInfoApply:
  16345. post:
  16346. parameters:
  16347. - description: 用户信息
  16348. in: body
  16349. name: jsonBody
  16350. required: true
  16351. schema:
  16352. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  16353. produces:
  16354. - application/json
  16355. responses:
  16356. "200":
  16357. description: OK
  16358. schema:
  16359. $ref: '#/definitions/app.Response'
  16360. "500":
  16361. description: Internal Server Error
  16362. schema:
  16363. $ref: '#/definitions/app.Response'
  16364. security:
  16365. - ApiKeyAuth: []
  16366. summary: 新增客户申请
  16367. tags:
  16368. - 风险管理v3
  16369. /Erms3/DeleteUserInfoApply:
  16370. get:
  16371. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  16372. parameters:
  16373. - description: 用户ID
  16374. in: query
  16375. name: userID
  16376. required: true
  16377. type: integer
  16378. produces:
  16379. - application/json
  16380. responses:
  16381. "200":
  16382. description: OK
  16383. schema:
  16384. $ref: '#/definitions/app.Response'
  16385. "500":
  16386. description: Internal Server Error
  16387. schema:
  16388. $ref: '#/definitions/app.Response'
  16389. security:
  16390. - ApiKeyAuth: []
  16391. summary: 删除客户申请
  16392. tags:
  16393. - 风险管理v3
  16394. /Erms3/ModifyUserInfoApply:
  16395. post:
  16396. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  16397. int, "userstate": 2 }'
  16398. parameters:
  16399. - description: 用户信息
  16400. in: body
  16401. name: jsonBody
  16402. required: true
  16403. schema:
  16404. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  16405. produces:
  16406. - application/json
  16407. responses:
  16408. "200":
  16409. description: OK
  16410. schema:
  16411. $ref: '#/definitions/app.Response'
  16412. "500":
  16413. description: Internal Server Error
  16414. schema:
  16415. $ref: '#/definitions/app.Response'
  16416. security:
  16417. - ApiKeyAuth: []
  16418. summary: 修改客户申请
  16419. tags:
  16420. - 风险管理v3
  16421. /Erms3/QueryBusinessInfo:
  16422. get:
  16423. parameters:
  16424. - description: 资金账号ID列表,用逗号分隔
  16425. in: query
  16426. name: accountids
  16427. required: true
  16428. type: string
  16429. - description: 状态,0为未结束 1为已结束
  16430. in: query
  16431. name: status
  16432. required: true
  16433. type: integer
  16434. produces:
  16435. - application/json
  16436. responses:
  16437. "200":
  16438. description: OK
  16439. schema:
  16440. items:
  16441. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  16442. type: array
  16443. "500":
  16444. description: Internal Server Error
  16445. schema:
  16446. $ref: '#/definitions/app.Response'
  16447. security:
  16448. - ApiKeyAuth: []
  16449. summary: 查询业务表单数据
  16450. tags:
  16451. - 风险管理v3
  16452. /Erms3/QueryPendingAuditContract:
  16453. get:
  16454. parameters:
  16455. - description: 资金账号ID列表,逗号隔开
  16456. in: query
  16457. name: accountids
  16458. required: true
  16459. type: string
  16460. - description: 合同类型 1-采购 -1-销售
  16461. in: query
  16462. name: contracttype
  16463. required: true
  16464. type: integer
  16465. - description: 合同模式 1-普通 2-回购
  16466. in: query
  16467. name: contractmode
  16468. required: true
  16469. type: integer
  16470. produces:
  16471. - application/json
  16472. responses:
  16473. "200":
  16474. description: OK
  16475. schema:
  16476. items:
  16477. $ref: '#/definitions/erms3.QryAuditContractRsp'
  16478. type: array
  16479. "500":
  16480. description: Internal Server Error
  16481. schema:
  16482. $ref: '#/definitions/app.Response'
  16483. security:
  16484. - ApiKeyAuth: []
  16485. summary: 查询待审核合同
  16486. tags:
  16487. - 风险管理v3
  16488. /Erms3/QueryPendingBusiness:
  16489. get:
  16490. parameters:
  16491. - description: 资金账号ID列表,逗号隔开
  16492. in: query
  16493. name: accountids
  16494. required: true
  16495. type: string
  16496. produces:
  16497. - application/json
  16498. responses:
  16499. "200":
  16500. description: OK
  16501. schema:
  16502. items:
  16503. $ref: '#/definitions/erms3.QryPendingBizRsp'
  16504. type: array
  16505. "500":
  16506. description: Internal Server Error
  16507. schema:
  16508. $ref: '#/definitions/app.Response'
  16509. security:
  16510. - ApiKeyAuth: []
  16511. summary: 查询待审核基差贸易业务
  16512. tags:
  16513. - 风险管理v3
  16514. /Erms3/QuerySpotContractAppleForm:
  16515. get:
  16516. parameters:
  16517. - description: 登录账号
  16518. in: query
  16519. name: loginID
  16520. required: true
  16521. type: integer
  16522. produces:
  16523. - application/json
  16524. responses:
  16525. "200":
  16526. description: OK
  16527. schema:
  16528. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  16529. "500":
  16530. description: Internal Server Error
  16531. schema:
  16532. $ref: '#/definitions/app.Response'
  16533. security:
  16534. - ApiKeyAuth: []
  16535. summary: 查询合同申请表单数据
  16536. tags:
  16537. - 风险管理v3
  16538. /Erms3/QuerySpotContractDetail:
  16539. get:
  16540. parameters:
  16541. - description: 资金账号ID列表,用逗号分隔
  16542. in: query
  16543. name: accountids
  16544. required: true
  16545. type: string
  16546. - description: 合同类型,1为采购合同 -1为销售合同
  16547. in: query
  16548. name: contracttype
  16549. required: true
  16550. type: integer
  16551. - description: 合同模式,1为普通合同 2为回购销售合同
  16552. in: query
  16553. name: contractmode
  16554. required: true
  16555. type: integer
  16556. - description: 状态,0为履约中 1为已完成
  16557. in: query
  16558. name: status
  16559. required: true
  16560. type: integer
  16561. produces:
  16562. - application/json
  16563. responses:
  16564. "200":
  16565. description: OK
  16566. schema:
  16567. items:
  16568. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  16569. type: array
  16570. "500":
  16571. description: Internal Server Error
  16572. schema:
  16573. $ref: '#/definitions/app.Response'
  16574. security:
  16575. - ApiKeyAuth: []
  16576. summary: 查询合同详细信息
  16577. tags:
  16578. - 风险管理v3
  16579. /Erms3/QueryUserInfoApplies:
  16580. get:
  16581. parameters:
  16582. - description: 页码
  16583. in: query
  16584. name: page
  16585. type: integer
  16586. - description: 每页条数
  16587. in: query
  16588. name: pagesize
  16589. type: integer
  16590. - description: 客户名称,支持模糊查询
  16591. in: query
  16592. name: userName
  16593. type: string
  16594. produces:
  16595. - application/json
  16596. responses:
  16597. "200":
  16598. description: OK
  16599. schema:
  16600. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  16601. "500":
  16602. description: Internal Server Error
  16603. schema:
  16604. $ref: '#/definitions/app.Response'
  16605. security:
  16606. - ApiKeyAuth: []
  16607. summary: 客户申请信息查询
  16608. tags:
  16609. - 风险管理v3
  16610. /Erms3/QueryUserInfos:
  16611. get:
  16612. parameters:
  16613. - description: 页码
  16614. in: query
  16615. name: page
  16616. type: integer
  16617. - description: 每页条数
  16618. in: query
  16619. name: pagesize
  16620. type: integer
  16621. - description: 客户名称,支持模糊查询
  16622. in: query
  16623. name: userName
  16624. type: string
  16625. produces:
  16626. - application/json
  16627. responses:
  16628. "200":
  16629. description: OK
  16630. schema:
  16631. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  16632. "500":
  16633. description: Internal Server Error
  16634. schema:
  16635. $ref: '#/definitions/app.Response'
  16636. security:
  16637. - ApiKeyAuth: []
  16638. summary: 客户信息查询
  16639. tags:
  16640. - 风险管理v3
  16641. /HSBY/GetHsbyMyCount:
  16642. get:
  16643. description: 说明: 不包括已完成的数量。
  16644. parameters:
  16645. - description: 资金账户列表,格式:1,2,3
  16646. in: query
  16647. name: accountIDs
  16648. required: true
  16649. type: string
  16650. produces:
  16651. - application/json
  16652. responses:
  16653. "200":
  16654. description: OK
  16655. schema:
  16656. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  16657. "500":
  16658. description: Internal Server Error
  16659. schema:
  16660. $ref: '#/definitions/app.Response'
  16661. security:
  16662. - ApiKeyAuth: []
  16663. summary: 获取我的订单与包裹数量
  16664. tags:
  16665. - 定制【海商报业】
  16666. /HSBY/QueryClientFixedADConfigs:
  16667. get:
  16668. produces:
  16669. - application/json
  16670. responses:
  16671. "200":
  16672. description: OK
  16673. schema:
  16674. $ref: '#/definitions/models.Clientfixedadconfig'
  16675. "500":
  16676. description: Internal Server Error
  16677. schema:
  16678. $ref: '#/definitions/app.Response'
  16679. security:
  16680. - ApiKeyAuth: []
  16681. summary: 获取终端固定广告配置
  16682. tags:
  16683. - 定制【海商报业】
  16684. /HSBY/QueryHsbyBuyMyTradeDetail:
  16685. get:
  16686. parameters:
  16687. - description: 页码
  16688. in: query
  16689. name: page
  16690. type: integer
  16691. - description: 每页条数
  16692. in: query
  16693. name: pagesize
  16694. type: integer
  16695. - description: 资金账户列表,格式:1,2,3
  16696. in: query
  16697. name: accountIDs
  16698. required: true
  16699. type: string
  16700. produces:
  16701. - application/json
  16702. responses:
  16703. "200":
  16704. description: OK
  16705. schema:
  16706. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  16707. "500":
  16708. description: Internal Server Error
  16709. schema:
  16710. $ref: '#/definitions/app.Response'
  16711. security:
  16712. - ApiKeyAuth: []
  16713. summary: 查询"我的订单 - 已完成"单据信息
  16714. tags:
  16715. - 定制【海商报业】
  16716. /HSBY/QueryHsbyGoodsOrderDetails:
  16717. get:
  16718. description: 说明:查询结果已按委托价格和委托时间排序
  16719. parameters:
  16720. - description: 商品ID
  16721. in: query
  16722. name: goodsID
  16723. required: true
  16724. type: integer
  16725. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  16726. in: query
  16727. name: accountIDs
  16728. type: string
  16729. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  16730. in: query
  16731. name: buyOrSell
  16732. type: integer
  16733. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  16734. in: query
  16735. name: price
  16736. type: number
  16737. - description: 档位,不传则默认为3档
  16738. in: query
  16739. name: speed
  16740. type: integer
  16741. produces:
  16742. - application/json
  16743. responses:
  16744. "200":
  16745. description: OK
  16746. schema:
  16747. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  16748. "500":
  16749. description: Internal Server Error
  16750. schema:
  16751. $ref: '#/definitions/app.Response'
  16752. security:
  16753. - ApiKeyAuth: []
  16754. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  16755. tags:
  16756. - 定制【海商报业】
  16757. /HSBY/QueryHsbyListingGoodsDetail:
  16758. get:
  16759. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  16760. parameters:
  16761. - description: 商品ID
  16762. in: query
  16763. name: goodsID
  16764. required: true
  16765. type: integer
  16766. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  16767. in: query
  16768. name: accountID
  16769. type: integer
  16770. produces:
  16771. - application/json
  16772. responses:
  16773. "200":
  16774. description: OK
  16775. schema:
  16776. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  16777. "500":
  16778. description: Internal Server Error
  16779. schema:
  16780. $ref: '#/definitions/app.Response'
  16781. security:
  16782. - ApiKeyAuth: []
  16783. summary: 查询二级市场(挂牌点选)商品信息详情
  16784. tags:
  16785. - 定制【海商报业】
  16786. /HSBY/QueryHsbyMarketGoodsDetail:
  16787. get:
  16788. parameters:
  16789. - description: 委托单号
  16790. in: query
  16791. name: orderID
  16792. required: true
  16793. type: integer
  16794. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  16795. in: query
  16796. name: accountID
  16797. type: integer
  16798. produces:
  16799. - application/json
  16800. responses:
  16801. "200":
  16802. description: OK
  16803. schema:
  16804. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16805. "500":
  16806. description: Internal Server Error
  16807. schema:
  16808. $ref: '#/definitions/app.Response'
  16809. security:
  16810. - ApiKeyAuth: []
  16811. summary: 查询三级市场(商城)商品信息详情
  16812. tags:
  16813. - 定制【海商报业】
  16814. /HSBY/QueryHsbyMarketGoodses:
  16815. get:
  16816. parameters:
  16817. - description: 页码
  16818. in: query
  16819. name: page
  16820. type: integer
  16821. - description: 每页条数
  16822. in: query
  16823. name: pagesize
  16824. type: integer
  16825. - description: 市场ID列表,格式:1,2,3
  16826. in: query
  16827. name: marketIDs
  16828. required: true
  16829. type: string
  16830. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  16831. in: query
  16832. name: accountID
  16833. required: true
  16834. type: integer
  16835. - description: 类别ID
  16836. in: query
  16837. name: categoryID
  16838. type: integer
  16839. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16840. in: query
  16841. name: goodsIDs
  16842. type: string
  16843. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  16844. in: query
  16845. name: couponTypeID
  16846. type: integer
  16847. produces:
  16848. - application/json
  16849. responses:
  16850. "200":
  16851. description: OK
  16852. schema:
  16853. $ref: '#/definitions/models.HsbyMarketGoods'
  16854. "500":
  16855. description: Internal Server Error
  16856. schema:
  16857. $ref: '#/definitions/app.Response'
  16858. security:
  16859. - ApiKeyAuth: []
  16860. summary: 查询特卖商品列表(三级商城)
  16861. tags:
  16862. - 定制【海商报业】
  16863. /HSBY/QueryHsbyMarkets:
  16864. get:
  16865. produces:
  16866. - application/json
  16867. responses:
  16868. "200":
  16869. description: OK
  16870. schema:
  16871. $ref: '#/definitions/models.HsbyMarketInfo'
  16872. "500":
  16873. description: Internal Server Error
  16874. schema:
  16875. $ref: '#/definitions/app.Response'
  16876. security:
  16877. - ApiKeyAuth: []
  16878. summary: 查询海商报业相关市场信息
  16879. tags:
  16880. - 定制【海商报业】
  16881. /HSBY/QueryHsbyMyBuyOrderDetails:
  16882. get:
  16883. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  16884. parameters:
  16885. - description: 资金账户列表,格式:1,2,3
  16886. in: query
  16887. name: accountIDs
  16888. required: true
  16889. type: string
  16890. produces:
  16891. - application/json
  16892. responses:
  16893. "200":
  16894. description: OK
  16895. schema:
  16896. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  16897. "500":
  16898. description: Internal Server Error
  16899. schema:
  16900. $ref: '#/definitions/app.Response'
  16901. security:
  16902. - ApiKeyAuth: []
  16903. summary: 查询“我的订单”信息
  16904. tags:
  16905. - 定制【海商报业】
  16906. /HSBY/QueryHsbyMyGoods:
  16907. get:
  16908. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  16909. parameters:
  16910. - description: 资金账户列表,格式:1,2,3
  16911. in: query
  16912. name: accountIDs
  16913. required: true
  16914. type: string
  16915. produces:
  16916. - application/json
  16917. responses:
  16918. "200":
  16919. description: OK
  16920. schema:
  16921. $ref: '#/definitions/models.HsbyMyGoods'
  16922. "500":
  16923. description: Internal Server Error
  16924. schema:
  16925. $ref: '#/definitions/app.Response'
  16926. security:
  16927. - ApiKeyAuth: []
  16928. summary: 查询“我的商品”信息
  16929. tags:
  16930. - 定制【海商报业】
  16931. /HSBY/QueryHsbyMyPackages:
  16932. get:
  16933. parameters:
  16934. - description: 资金账户列表,格式:1,2,3
  16935. in: query
  16936. name: accountIDs
  16937. required: true
  16938. type: string
  16939. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16940. in: query
  16941. name: takeOrderStatus
  16942. type: integer
  16943. produces:
  16944. - application/json
  16945. responses:
  16946. "200":
  16947. description: OK
  16948. schema:
  16949. $ref: '#/definitions/models.HsbyMyPackage'
  16950. "500":
  16951. description: Internal Server Error
  16952. schema:
  16953. $ref: '#/definitions/app.Response'
  16954. security:
  16955. - ApiKeyAuth: []
  16956. summary: 查询我的包裹信息
  16957. tags:
  16958. - 定制【海商报业】
  16959. /HSBY/QueryHsbyPreGoodsDetail:
  16960. get:
  16961. parameters:
  16962. - description: 商品ID
  16963. in: query
  16964. name: goodsID
  16965. required: true
  16966. type: integer
  16967. - description: 资金账户,主要用于获取预售商品购买上限
  16968. in: query
  16969. name: accountID
  16970. type: integer
  16971. produces:
  16972. - application/json
  16973. responses:
  16974. "200":
  16975. description: OK
  16976. schema:
  16977. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  16978. "500":
  16979. description: Internal Server Error
  16980. schema:
  16981. $ref: '#/definitions/app.Response'
  16982. security:
  16983. - ApiKeyAuth: []
  16984. summary: 查询一级市场(预售)商品信息详情
  16985. tags:
  16986. - 定制【海商报业】
  16987. /HSBY/QueryHsbyPreGoodses:
  16988. get:
  16989. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  16990. parameters:
  16991. - description: 页码
  16992. in: query
  16993. name: page
  16994. type: integer
  16995. - description: 每页条数
  16996. in: query
  16997. name: pagesize
  16998. type: integer
  16999. - description: 市场ID列表,格式:1,2,3
  17000. in: query
  17001. name: marketIDs
  17002. required: true
  17003. type: string
  17004. - description: 目的地(省)ID
  17005. in: query
  17006. name: descProvinceID
  17007. type: integer
  17008. - description: 目的地(市)ID
  17009. in: query
  17010. name: descCityID
  17011. type: integer
  17012. produces:
  17013. - application/json
  17014. responses:
  17015. "200":
  17016. description: OK
  17017. schema:
  17018. $ref: '#/definitions/models.HsbyPreGoods'
  17019. "500":
  17020. description: Internal Server Error
  17021. schema:
  17022. $ref: '#/definitions/app.Response'
  17023. security:
  17024. - ApiKeyAuth: []
  17025. summary: 查询新品上市商品列表(一级市场预售)
  17026. tags:
  17027. - 定制【海商报业】
  17028. /HSBY/QueryHsbySellMyDetails:
  17029. get:
  17030. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  17031. parameters:
  17032. - description: 页码
  17033. in: query
  17034. name: page
  17035. type: integer
  17036. - description: 每页条数
  17037. in: query
  17038. name: pagesize
  17039. type: integer
  17040. - description: 资金账户列表,格式:1,2,3
  17041. in: query
  17042. name: accountIDs
  17043. required: true
  17044. type: string
  17045. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  17046. in: query
  17047. name: orderType
  17048. type: integer
  17049. produces:
  17050. - application/json
  17051. responses:
  17052. "200":
  17053. description: OK
  17054. schema:
  17055. $ref: '#/definitions/models.HsbySellMyDetail'
  17056. "500":
  17057. description: Internal Server Error
  17058. schema:
  17059. $ref: '#/definitions/app.Response'
  17060. security:
  17061. - ApiKeyAuth: []
  17062. summary: 查询"我的闲置"单据信息
  17063. tags:
  17064. - 定制【海商报业】
  17065. /HSBY/QueryHsbyTopGoodses:
  17066. get:
  17067. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  17068. parameters:
  17069. - description: 页码
  17070. in: query
  17071. name: page
  17072. type: integer
  17073. - description: 每页条数
  17074. in: query
  17075. name: pagesize
  17076. type: integer
  17077. - description: 市场ID列表,格式:1,2,3
  17078. in: query
  17079. name: marketIDs
  17080. required: true
  17081. type: string
  17082. - description: 目的地(省)ID
  17083. in: query
  17084. name: descProvinceID
  17085. type: integer
  17086. - description: 目的地(市)ID
  17087. in: query
  17088. name: descCityID
  17089. type: integer
  17090. produces:
  17091. - application/json
  17092. responses:
  17093. "200":
  17094. description: OK
  17095. schema:
  17096. $ref: '#/definitions/models.HsbyTopGoods'
  17097. "500":
  17098. description: Internal Server Error
  17099. schema:
  17100. $ref: '#/definitions/app.Response'
  17101. security:
  17102. - ApiKeyAuth: []
  17103. summary: 查询热卖商品列表(二级市场挂牌点选)
  17104. tags:
  17105. - 定制【海商报业】
  17106. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  17107. get:
  17108. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  17109. parameters:
  17110. - description: 商品ID
  17111. in: query
  17112. name: goodsID
  17113. required: true
  17114. type: integer
  17115. produces:
  17116. - application/json
  17117. responses:
  17118. "200":
  17119. description: OK
  17120. schema:
  17121. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  17122. "500":
  17123. description: Internal Server Error
  17124. schema:
  17125. $ref: '#/definitions/app.Response'
  17126. security:
  17127. - ApiKeyAuth: []
  17128. summary: 查询游客三级市场(商城)商品信息详情
  17129. tags:
  17130. - 定制【海商报业】
  17131. /HSBY/QueryHsbyVisitorMarketGoodses:
  17132. get:
  17133. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  17134. parameters:
  17135. - description: 页码
  17136. in: query
  17137. name: page
  17138. type: integer
  17139. - description: 每页条数
  17140. in: query
  17141. name: pagesize
  17142. type: integer
  17143. - description: 市场ID列表,格式:1,2,3
  17144. in: query
  17145. name: marketIDs
  17146. required: true
  17147. type: string
  17148. - description: 类别ID
  17149. in: query
  17150. name: categoryID
  17151. type: integer
  17152. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  17153. in: query
  17154. name: goodsIDs
  17155. type: string
  17156. produces:
  17157. - application/json
  17158. responses:
  17159. "200":
  17160. description: OK
  17161. schema:
  17162. $ref: '#/definitions/models.HsbyMarketGoods'
  17163. "500":
  17164. description: Internal Server Error
  17165. schema:
  17166. $ref: '#/definitions/app.Response'
  17167. security:
  17168. - ApiKeyAuth: []
  17169. summary: 查询游客特卖商品列表(三级商城)
  17170. tags:
  17171. - 定制【海商报业】
  17172. /HSBY/QueryMyCollectionOrders:
  17173. get:
  17174. parameters:
  17175. - description: 页码
  17176. in: query
  17177. name: page
  17178. type: integer
  17179. - description: 每页条数
  17180. in: query
  17181. name: pagesize
  17182. type: integer
  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.HsbySellCollectionOrder'
  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/QueryMyCouponHolds:
  17205. get:
  17206. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  17207. parameters:
  17208. - description: 资金账户列表,格式:1,2,3
  17209. in: query
  17210. name: accountIDs
  17211. required: true
  17212. type: string
  17213. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  17214. in: query
  17215. name: holdStatus
  17216. type: string
  17217. produces:
  17218. - application/json
  17219. responses:
  17220. "200":
  17221. description: OK
  17222. schema:
  17223. $ref: '#/definitions/models.MyCouponHold'
  17224. "500":
  17225. description: Internal Server Error
  17226. schema:
  17227. $ref: '#/definitions/app.Response'
  17228. security:
  17229. - ApiKeyAuth: []
  17230. summary: 我的优惠卷持仓查询
  17231. tags:
  17232. - 定制【海商报业】
  17233. /HSBY/QueryMyCoupons:
  17234. get:
  17235. parameters:
  17236. - description: 资金账户列表,格式:1,2,3
  17237. in: query
  17238. name: accountIDs
  17239. required: true
  17240. type: string
  17241. - description: 商品ID, 一般与sellUserID配套传入
  17242. in: query
  17243. name: goodsID
  17244. type: integer
  17245. - description: 卖方UserID
  17246. in: query
  17247. name: sellUserID
  17248. type: integer
  17249. produces:
  17250. - application/json
  17251. responses:
  17252. "200":
  17253. description: OK
  17254. schema:
  17255. $ref: '#/definitions/models.MyCoupon'
  17256. "500":
  17257. description: Internal Server Error
  17258. schema:
  17259. $ref: '#/definitions/app.Response'
  17260. security:
  17261. - ApiKeyAuth: []
  17262. summary: 我的优惠卷查询
  17263. tags:
  17264. - 定制【海商报业】
  17265. /HSBY/QueryMyPayOrders:
  17266. get:
  17267. parameters:
  17268. - description: 页码
  17269. in: query
  17270. name: page
  17271. type: integer
  17272. - description: 每页条数
  17273. in: query
  17274. name: pagesize
  17275. type: integer
  17276. - description: 资金账户列表,格式:1,2,3
  17277. in: query
  17278. name: accountIDs
  17279. required: true
  17280. type: string
  17281. - description: 买方委托单号
  17282. in: query
  17283. name: buyOrderID
  17284. type: integer
  17285. - description: 卖方委托单号
  17286. in: query
  17287. name: sellOrderID
  17288. type: integer
  17289. produces:
  17290. - application/json
  17291. responses:
  17292. "200":
  17293. description: OK
  17294. schema:
  17295. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  17296. "500":
  17297. description: Internal Server Error
  17298. schema:
  17299. $ref: '#/definitions/app.Response'
  17300. security:
  17301. - ApiKeyAuth: []
  17302. summary: 获取我的订单中待付款信息
  17303. tags:
  17304. - 定制【海商报业】
  17305. /HSBY/QueryMyUsedCoupon:
  17306. get:
  17307. parameters:
  17308. - description: 资金账户列表,格式:1,2,3
  17309. in: query
  17310. name: accountIDs
  17311. required: true
  17312. type: string
  17313. produces:
  17314. - application/json
  17315. responses:
  17316. "200":
  17317. description: OK
  17318. schema:
  17319. $ref: '#/definitions/models.MyUsedCoupon'
  17320. "500":
  17321. description: Internal Server Error
  17322. schema:
  17323. $ref: '#/definitions/app.Response'
  17324. security:
  17325. - ApiKeyAuth: []
  17326. summary: 已使用优惠卷查询
  17327. tags:
  17328. - 定制【海商报业】
  17329. /HSBY/QueryProvincesAndCities:
  17330. get:
  17331. description: 查询结果只包括二级市场商品已关连的省市信息。
  17332. parameters:
  17333. - description: 省ID
  17334. in: query
  17335. name: provinceID
  17336. type: integer
  17337. produces:
  17338. - application/json
  17339. responses:
  17340. "200":
  17341. description: OK
  17342. schema:
  17343. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  17344. "500":
  17345. description: Internal Server Error
  17346. schema:
  17347. $ref: '#/definitions/app.Response'
  17348. security:
  17349. - ApiKeyAuth: []
  17350. summary: 查询省市信息(不包括区)
  17351. tags:
  17352. - 定制【海商报业】
  17353. /HSBY/SetHsbyMyPackagesStatus:
  17354. post:
  17355. parameters:
  17356. - description: 提货单号
  17357. in: query
  17358. name: takeOrderID
  17359. required: true
  17360. type: string
  17361. - description: 资金账号
  17362. in: query
  17363. name: accountID
  17364. required: true
  17365. type: integer
  17366. produces:
  17367. - application/json
  17368. responses:
  17369. "200":
  17370. description: OK
  17371. schema:
  17372. $ref: '#/definitions/app.Response'
  17373. "500":
  17374. description: Internal Server Error
  17375. schema:
  17376. $ref: '#/definitions/app.Response'
  17377. security:
  17378. - ApiKeyAuth: []
  17379. summary: 设置我的包裹已收货状态
  17380. tags:
  17381. - 定制【海商报业】
  17382. /Market/QueryGoodsesByLoginID:
  17383. get:
  17384. parameters:
  17385. - description: 登录账号
  17386. in: query
  17387. name: loginID
  17388. required: true
  17389. type: integer
  17390. - description: 市场ID列表,格式:1,2,3
  17391. in: query
  17392. name: marketIDs
  17393. type: string
  17394. produces:
  17395. - application/json
  17396. responses:
  17397. "200":
  17398. description: OK
  17399. schema:
  17400. $ref: '#/definitions/models.Goods'
  17401. "500":
  17402. description: Internal Server Error
  17403. schema:
  17404. $ref: '#/definitions/app.Response'
  17405. security:
  17406. - ApiKeyAuth: []
  17407. summary: 获取登录账号有权限的商品信息
  17408. tags:
  17409. - 通用市场
  17410. /Market/QueryMarketRun:
  17411. get:
  17412. parameters:
  17413. - description: 市场ID,不传返回所有
  17414. in: query
  17415. name: marketID
  17416. type: integer
  17417. produces:
  17418. - application/json
  17419. responses:
  17420. "200":
  17421. description: OK
  17422. schema:
  17423. $ref: '#/definitions/models.Marketrun'
  17424. "500":
  17425. description: Internal Server Error
  17426. schema:
  17427. $ref: '#/definitions/app.Response'
  17428. security:
  17429. - ApiKeyAuth: []
  17430. summary: 查询市场运行信息
  17431. tags:
  17432. - 通用市场
  17433. /Market/QueryMarketsByLoginID:
  17434. get:
  17435. parameters:
  17436. - description: 登录账号
  17437. in: query
  17438. name: loginID
  17439. required: true
  17440. type: integer
  17441. produces:
  17442. - application/json
  17443. responses:
  17444. "200":
  17445. description: OK
  17446. schema:
  17447. $ref: '#/definitions/models.Market'
  17448. "500":
  17449. description: Internal Server Error
  17450. schema:
  17451. $ref: '#/definitions/app.Response'
  17452. security:
  17453. - ApiKeyAuth: []
  17454. summary: 获取登录账号有权限的市场信息
  17455. tags:
  17456. - 通用市场
  17457. /Order/QueryHisTradeDetail:
  17458. get:
  17459. parameters:
  17460. - description: 资金账户 - 格式:1,2,3
  17461. in: query
  17462. name: accountID
  17463. required: true
  17464. type: string
  17465. - description: 成交单号
  17466. in: query
  17467. name: tradeID
  17468. type: integer
  17469. - description: 委托单号
  17470. in: query
  17471. name: orderID
  17472. type: integer
  17473. - description: 交易模式 - 格式:1,2,3
  17474. in: query
  17475. name: tradeMode
  17476. type: string
  17477. - description: 委托单据类型
  17478. in: query
  17479. name: buildType
  17480. type: integer
  17481. - description: 成交类别 - 格式:1,2,3
  17482. in: query
  17483. name: tradeType
  17484. type: string
  17485. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17486. in: query
  17487. name: startDate
  17488. type: string
  17489. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17490. in: query
  17491. name: endDate
  17492. type: string
  17493. produces:
  17494. - application/json
  17495. responses:
  17496. "200":
  17497. description: OK
  17498. schema:
  17499. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  17500. "500":
  17501. description: Internal Server Error
  17502. schema:
  17503. $ref: '#/definitions/app.Response'
  17504. security:
  17505. - ApiKeyAuth: []
  17506. summary: 历史成交单查询(合约市场)
  17507. tags:
  17508. - 通用单据
  17509. /Order/QueryHisTradeOrderDetail:
  17510. get:
  17511. parameters:
  17512. - description: 资金账户 - 格式:1,2,3
  17513. in: query
  17514. name: accountID
  17515. required: true
  17516. type: string
  17517. - description: 交易模式 - 格式:1,2,3
  17518. in: query
  17519. name: tradeMode
  17520. type: string
  17521. - description: 委托状态 - 格式:1,2,3
  17522. in: query
  17523. name: orderStatus
  17524. type: string
  17525. - description: 委托单号
  17526. in: query
  17527. name: orderID
  17528. type: integer
  17529. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17530. in: query
  17531. name: startDate
  17532. type: string
  17533. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17534. in: query
  17535. name: endDate
  17536. type: string
  17537. produces:
  17538. - application/json
  17539. responses:
  17540. "200":
  17541. description: OK
  17542. schema:
  17543. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  17544. "500":
  17545. description: Internal Server Error
  17546. schema:
  17547. $ref: '#/definitions/app.Response'
  17548. security:
  17549. - ApiKeyAuth: []
  17550. summary: 历史委托单查询请求(合约市场)
  17551. tags:
  17552. - 通用单据
  17553. /Order/QueryTradeDetail:
  17554. get:
  17555. parameters:
  17556. - description: 资金账户 - 格式:1,2,3
  17557. in: query
  17558. name: accountID
  17559. required: true
  17560. type: string
  17561. - description: 成交单号
  17562. in: query
  17563. name: tradeID
  17564. type: integer
  17565. - description: 委托单号
  17566. in: query
  17567. name: orderID
  17568. type: integer
  17569. - description: 交易模式 - 格式:1,2,3
  17570. in: query
  17571. name: tradeMode
  17572. type: string
  17573. - description: 委托单据类型
  17574. in: query
  17575. name: buildType
  17576. type: integer
  17577. - description: 成交类别 - 格式:1,2,3
  17578. in: query
  17579. name: tradeType
  17580. type: string
  17581. produces:
  17582. - application/json
  17583. responses:
  17584. "200":
  17585. description: OK
  17586. schema:
  17587. $ref: '#/definitions/order.QueryTradeDetailRsp'
  17588. "500":
  17589. description: Internal Server Error
  17590. schema:
  17591. $ref: '#/definitions/app.Response'
  17592. security:
  17593. - ApiKeyAuth: []
  17594. summary: 成交单查询(合约市场)
  17595. tags:
  17596. - 通用单据
  17597. /Order/QueryTradeOrderDetail:
  17598. get:
  17599. parameters:
  17600. - description: 资金账户 - 格式:1,2,3
  17601. in: query
  17602. name: accountID
  17603. required: true
  17604. type: string
  17605. - description: 交易模式 - 格式:1,2,3
  17606. in: query
  17607. name: tradeMode
  17608. type: string
  17609. - description: 委托状态 - 格式:1,2,3
  17610. in: query
  17611. name: orderStatus
  17612. type: string
  17613. - description: 委托单号
  17614. in: query
  17615. name: orderID
  17616. type: integer
  17617. produces:
  17618. - application/json
  17619. responses:
  17620. "200":
  17621. description: OK
  17622. schema:
  17623. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  17624. "500":
  17625. description: Internal Server Error
  17626. schema:
  17627. $ref: '#/definitions/app.Response'
  17628. security:
  17629. - ApiKeyAuth: []
  17630. summary: 委托单查询请求(合约市场)
  17631. tags:
  17632. - 通用单据
  17633. /Order/QueryTradePosition:
  17634. get:
  17635. parameters:
  17636. - description: 资金账户 - 格式:1,2,3
  17637. in: query
  17638. name: accountID
  17639. required: true
  17640. type: string
  17641. - description: 交易模式 - 格式:1,2,3
  17642. in: query
  17643. name: tradeMode
  17644. type: string
  17645. produces:
  17646. - application/json
  17647. responses:
  17648. "200":
  17649. description: OK
  17650. schema:
  17651. $ref: '#/definitions/order.QueryTradePositionRsp'
  17652. "500":
  17653. description: Internal Server Error
  17654. schema:
  17655. $ref: '#/definitions/app.Response'
  17656. security:
  17657. - ApiKeyAuth: []
  17658. summary: 持仓汇总查询(合约市场)
  17659. tags:
  17660. - 通用单据
  17661. /Qhj/QueryAccountInOutApply:
  17662. get:
  17663. parameters:
  17664. - description: 申请起始日期(格式yyyymmdd)
  17665. in: query
  17666. name: begindate
  17667. type: string
  17668. - description: 申请截止日期(格式yyyymmdd)
  17669. in: query
  17670. name: enddate
  17671. type: string
  17672. - description: 模糊搜索名称
  17673. in: query
  17674. name: likename
  17675. type: string
  17676. produces:
  17677. - application/json
  17678. responses:
  17679. "200":
  17680. description: OK
  17681. schema:
  17682. items:
  17683. $ref: '#/definitions/models.QhjAccountOutInApply'
  17684. type: array
  17685. "500":
  17686. description: Internal Server Error
  17687. schema:
  17688. $ref: '#/definitions/app.Response'
  17689. security:
  17690. - ApiKeyAuth: []
  17691. summary: 查询充值提现
  17692. tags:
  17693. - 大连千海金
  17694. /Qhj/QueryBankAccountSign:
  17695. get:
  17696. parameters:
  17697. - description: 用户ID
  17698. in: query
  17699. name: userid
  17700. required: true
  17701. type: integer
  17702. produces:
  17703. - application/json
  17704. responses:
  17705. "200":
  17706. description: OK
  17707. schema:
  17708. items:
  17709. $ref: '#/definitions/models.QhjBankAccountSign'
  17710. type: array
  17711. "500":
  17712. description: Internal Server Error
  17713. schema:
  17714. $ref: '#/definitions/app.Response'
  17715. security:
  17716. - ApiKeyAuth: []
  17717. summary: 查询签约银行信息(提现账户管理)
  17718. tags:
  17719. - 大连千海金
  17720. /Qhj/QueryBankInfo:
  17721. get:
  17722. produces:
  17723. - application/json
  17724. responses:
  17725. "200":
  17726. description: OK
  17727. schema:
  17728. items:
  17729. $ref: '#/definitions/models.QhjBankInfo'
  17730. type: array
  17731. "500":
  17732. description: Internal Server Error
  17733. schema:
  17734. $ref: '#/definitions/app.Response'
  17735. security:
  17736. - ApiKeyAuth: []
  17737. summary: 查询开户行
  17738. tags:
  17739. - 大连千海金
  17740. /Qhj/QueryContract:
  17741. get:
  17742. parameters:
  17743. - description: 用户ID
  17744. in: query
  17745. name: userid
  17746. required: true
  17747. type: integer
  17748. - description: scf合同id
  17749. in: query
  17750. name: scfcontractid
  17751. type: integer
  17752. produces:
  17753. - application/json
  17754. responses:
  17755. "200":
  17756. description: OK
  17757. schema:
  17758. items:
  17759. $ref: '#/definitions/models.QhjContract'
  17760. type: array
  17761. "500":
  17762. description: Internal Server Error
  17763. schema:
  17764. $ref: '#/definitions/app.Response'
  17765. security:
  17766. - ApiKeyAuth: []
  17767. summary: 查询融资明细(合同)
  17768. tags:
  17769. - 大连千海金
  17770. /Qhj/QueryContractLog:
  17771. get:
  17772. parameters:
  17773. - description: scf合同id
  17774. in: query
  17775. name: scfcontractid
  17776. required: true
  17777. type: integer
  17778. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  17779. in: query
  17780. name: amounttype
  17781. type: string
  17782. produces:
  17783. - application/json
  17784. responses:
  17785. "200":
  17786. description: OK
  17787. schema:
  17788. items:
  17789. $ref: '#/definitions/models.QhjContractLog'
  17790. type: array
  17791. "500":
  17792. description: Internal Server Error
  17793. schema:
  17794. $ref: '#/definitions/app.Response'
  17795. security:
  17796. - ApiKeyAuth: []
  17797. summary: 查询融资明细流水(融资明细详情页中的流水)
  17798. tags:
  17799. - 大连千海金
  17800. /Qhj/QueryCusBankSignBank:
  17801. get:
  17802. produces:
  17803. - application/json
  17804. responses:
  17805. "200":
  17806. description: OK
  17807. schema:
  17808. items:
  17809. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  17810. type: array
  17811. "500":
  17812. description: Internal Server Error
  17813. schema:
  17814. $ref: '#/definitions/app.Response'
  17815. security:
  17816. - ApiKeyAuth: []
  17817. summary: 查询托管银行
  17818. tags:
  17819. - 大连千海金
  17820. /Qhj/QueryCustomerInfo:
  17821. get:
  17822. parameters:
  17823. - description: 用户ID
  17824. in: query
  17825. name: userid
  17826. required: true
  17827. type: integer
  17828. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  17829. in: query
  17830. name: querytype
  17831. required: true
  17832. type: integer
  17833. - description: 客户类型 1-个人 2-企业
  17834. in: query
  17835. name: userinfotype
  17836. type: integer
  17837. - description: 客户名称(模糊匹配)
  17838. in: query
  17839. name: customername
  17840. type: string
  17841. - description: 昵称(模糊匹配)
  17842. in: query
  17843. name: nickname
  17844. type: string
  17845. - description: 是否包含子级 1-包含
  17846. in: query
  17847. name: includesub
  17848. type: integer
  17849. produces:
  17850. - application/json
  17851. responses:
  17852. "200":
  17853. description: OK
  17854. schema:
  17855. items:
  17856. $ref: '#/definitions/models.QhjCustomer'
  17857. type: array
  17858. "500":
  17859. description: Internal Server Error
  17860. schema:
  17861. $ref: '#/definitions/app.Response'
  17862. security:
  17863. - ApiKeyAuth: []
  17864. summary: 查询客户资料
  17865. tags:
  17866. - 大连千海金
  17867. /Qhj/QueryGoodsEx:
  17868. get:
  17869. parameters:
  17870. - description: 商品id
  17871. in: query
  17872. name: goodsid
  17873. type: integer
  17874. produces:
  17875. - application/json
  17876. responses:
  17877. "200":
  17878. description: OK
  17879. schema:
  17880. items:
  17881. $ref: '#/definitions/models.Qhjgoodsex'
  17882. type: array
  17883. "500":
  17884. description: Internal Server Error
  17885. schema:
  17886. $ref: '#/definitions/app.Response'
  17887. security:
  17888. - ApiKeyAuth: []
  17889. summary: 交易商品扩展表
  17890. tags:
  17891. - 大连千海金
  17892. /Qhj/QueryPayOrder:
  17893. get:
  17894. parameters:
  17895. - description: 资金账号id
  17896. in: query
  17897. name: accountid
  17898. required: true
  17899. type: integer
  17900. produces:
  17901. - application/json
  17902. responses:
  17903. "200":
  17904. description: OK
  17905. schema:
  17906. items:
  17907. $ref: '#/definitions/models.QhjPayOrder'
  17908. type: array
  17909. "500":
  17910. description: Internal Server Error
  17911. schema:
  17912. $ref: '#/definitions/app.Response'
  17913. security:
  17914. - ApiKeyAuth: []
  17915. summary: 查询待付款单据
  17916. tags:
  17917. - 大连千海金
  17918. /Qhj/QueryPickArea:
  17919. get:
  17920. parameters:
  17921. - description: 用户ID
  17922. in: query
  17923. name: userid
  17924. type: integer
  17925. produces:
  17926. - application/json
  17927. responses:
  17928. "200":
  17929. description: OK
  17930. schema:
  17931. items:
  17932. $ref: '#/definitions/models.QhjPickArea'
  17933. type: array
  17934. "500":
  17935. description: Internal Server Error
  17936. schema:
  17937. $ref: '#/definitions/app.Response'
  17938. security:
  17939. - ApiKeyAuth: []
  17940. summary: 查询提货门店
  17941. tags:
  17942. - 大连千海金
  17943. /Qhj/QueryPickGoods:
  17944. get:
  17945. parameters:
  17946. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  17947. in: query
  17948. name: status
  17949. type: string
  17950. produces:
  17951. - application/json
  17952. responses:
  17953. "200":
  17954. description: OK
  17955. schema:
  17956. items:
  17957. $ref: '#/definitions/models.QhjPickGoods'
  17958. type: array
  17959. "500":
  17960. description: Internal Server Error
  17961. schema:
  17962. $ref: '#/definitions/app.Response'
  17963. security:
  17964. - ApiKeyAuth: []
  17965. summary: 查询提货商品
  17966. tags:
  17967. - 大连千海金
  17968. /Qhj/QueryRSTriggerLog:
  17969. get:
  17970. parameters:
  17971. - description: 用户ID
  17972. in: query
  17973. name: userid
  17974. required: true
  17975. type: integer
  17976. - description: 定投策略id
  17977. in: query
  17978. name: regularlystrategyid
  17979. type: integer
  17980. produces:
  17981. - application/json
  17982. responses:
  17983. "200":
  17984. description: OK
  17985. schema:
  17986. items:
  17987. $ref: '#/definitions/models.QhjRSTriggerLog'
  17988. type: array
  17989. "500":
  17990. description: Internal Server Error
  17991. schema:
  17992. $ref: '#/definitions/app.Response'
  17993. security:
  17994. - ApiKeyAuth: []
  17995. summary: 查询定投记录(定投管理/详情/定投记录)
  17996. tags:
  17997. - 大连千海金
  17998. /Qhj/QueryRStrategy:
  17999. get:
  18000. parameters:
  18001. - description: 用户ID
  18002. in: query
  18003. name: userid
  18004. required: true
  18005. type: integer
  18006. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  18007. in: query
  18008. name: status
  18009. type: string
  18010. produces:
  18011. - application/json
  18012. responses:
  18013. "200":
  18014. description: OK
  18015. schema:
  18016. items:
  18017. $ref: '#/definitions/models.QhjRStrategy'
  18018. type: array
  18019. "500":
  18020. description: Internal Server Error
  18021. schema:
  18022. $ref: '#/definitions/app.Response'
  18023. security:
  18024. - ApiKeyAuth: []
  18025. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  18026. tags:
  18027. - 大连千海金
  18028. /Qhj/QueryReckonPriceLog:
  18029. get:
  18030. parameters:
  18031. - description: 商品ID
  18032. in: query
  18033. name: goodsid
  18034. type: integer
  18035. - description: 交易日 格式(yyyymmdd)
  18036. in: query
  18037. name: tradedate
  18038. type: string
  18039. produces:
  18040. - application/json
  18041. responses:
  18042. "200":
  18043. description: OK
  18044. schema:
  18045. items:
  18046. $ref: '#/definitions/models.QhjReckonPriceLog'
  18047. type: array
  18048. "500":
  18049. description: Internal Server Error
  18050. schema:
  18051. $ref: '#/definitions/app.Response'
  18052. security:
  18053. - ApiKeyAuth: []
  18054. summary: 查询定投价(结算价)
  18055. tags:
  18056. - 大连千海金
  18057. /Qhj/QuerySiteColumnDetail:
  18058. get:
  18059. parameters:
  18060. - description: 用户ID
  18061. in: query
  18062. name: userid
  18063. required: true
  18064. type: integer
  18065. produces:
  18066. - application/json
  18067. responses:
  18068. "200":
  18069. description: OK
  18070. schema:
  18071. items:
  18072. $ref: '#/definitions/models.QhjSiteColumnDetail'
  18073. type: array
  18074. "500":
  18075. description: Internal Server Error
  18076. schema:
  18077. $ref: '#/definitions/app.Response'
  18078. security:
  18079. - ApiKeyAuth: []
  18080. summary: 查询资讯
  18081. tags:
  18082. - 大连千海金
  18083. /Qhj/QueryTradeGoodsPickup:
  18084. get:
  18085. parameters:
  18086. - description: 用户ID
  18087. in: query
  18088. name: userid
  18089. required: true
  18090. type: integer
  18091. produces:
  18092. - application/json
  18093. responses:
  18094. "200":
  18095. description: OK
  18096. schema:
  18097. items:
  18098. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  18099. type: array
  18100. "500":
  18101. description: Internal Server Error
  18102. schema:
  18103. $ref: '#/definitions/app.Response'
  18104. security:
  18105. - ApiKeyAuth: []
  18106. summary: 查询提货
  18107. tags:
  18108. - 大连千海金
  18109. /Qhj/QueryUserCollectConfig:
  18110. get:
  18111. parameters:
  18112. - description: 用户ID
  18113. in: query
  18114. name: userid
  18115. required: true
  18116. type: integer
  18117. produces:
  18118. - application/json
  18119. responses:
  18120. "200":
  18121. description: OK
  18122. schema:
  18123. items:
  18124. $ref: '#/definitions/models.UserCollectConfig'
  18125. type: array
  18126. "500":
  18127. description: Internal Server Error
  18128. schema:
  18129. $ref: '#/definitions/app.Response'
  18130. security:
  18131. - ApiKeyAuth: []
  18132. summary: 查询提现账户设置
  18133. tags:
  18134. - 大连千海金
  18135. /Qhj/QueryUserReceiveInfo:
  18136. get:
  18137. parameters:
  18138. - description: 用户ID
  18139. in: query
  18140. name: userid
  18141. required: true
  18142. type: integer
  18143. produces:
  18144. - application/json
  18145. responses:
  18146. "200":
  18147. description: OK
  18148. schema:
  18149. items:
  18150. $ref: '#/definitions/models.UserReceiveInfo'
  18151. type: array
  18152. "500":
  18153. description: Internal Server Error
  18154. schema:
  18155. $ref: '#/definitions/app.Response'
  18156. security:
  18157. - ApiKeyAuth: []
  18158. summary: 查询收货地址信息
  18159. tags:
  18160. - 大连千海金
  18161. /Quote/QueryHistoryDatas:
  18162. get:
  18163. parameters:
  18164. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  18165. 日线'
  18166. in: query
  18167. name: cycleType
  18168. required: true
  18169. type: integer
  18170. - description: 商品代码
  18171. in: query
  18172. name: goodsCode
  18173. required: true
  18174. type: string
  18175. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  18176. in: query
  18177. name: startTime
  18178. type: string
  18179. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  18180. in: query
  18181. name: endTime
  18182. type: string
  18183. - description: 条数
  18184. in: query
  18185. name: count
  18186. type: integer
  18187. - description: 是否按时间顺序排序(默认为时间倒序排序)
  18188. in: query
  18189. name: isAsc
  18190. type: boolean
  18191. produces:
  18192. - application/json
  18193. responses:
  18194. "200":
  18195. description: OK
  18196. schema:
  18197. $ref: '#/definitions/quote.HistoryData'
  18198. "500":
  18199. description: Internal Server Error
  18200. schema:
  18201. $ref: '#/definitions/app.Response'
  18202. security:
  18203. - ApiKeyAuth: []
  18204. summary: 查询行情历史数据
  18205. tags:
  18206. - 行情服务
  18207. /Quote/QueryHistoryTikDatas:
  18208. get:
  18209. parameters:
  18210. - description: 商品代码
  18211. in: query
  18212. name: goodsCode
  18213. required: true
  18214. type: string
  18215. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  18216. in: query
  18217. name: startTime
  18218. type: string
  18219. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  18220. in: query
  18221. name: endTime
  18222. type: string
  18223. - description: 条数
  18224. in: query
  18225. name: count
  18226. type: integer
  18227. - description: 是否按时间顺序排序(默认为时间倒序排序)
  18228. in: query
  18229. name: isAsc
  18230. type: boolean
  18231. produces:
  18232. - application/json
  18233. responses:
  18234. "200":
  18235. description: OK
  18236. schema:
  18237. $ref: '#/definitions/quote.HistoryTikData'
  18238. "500":
  18239. description: Internal Server Error
  18240. schema:
  18241. $ref: '#/definitions/app.Response'
  18242. security:
  18243. - ApiKeyAuth: []
  18244. summary: 查询行情Tik数据
  18245. tags:
  18246. - 行情服务
  18247. /Quote/QueryQuoteDay:
  18248. get:
  18249. parameters:
  18250. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  18251. in: query
  18252. name: goodsCodes
  18253. required: true
  18254. type: string
  18255. produces:
  18256. - application/json
  18257. responses:
  18258. "200":
  18259. description: OK
  18260. schema:
  18261. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  18262. "500":
  18263. description: Internal Server Error
  18264. schema:
  18265. $ref: '#/definitions/app.Response'
  18266. security:
  18267. - ApiKeyAuth: []
  18268. summary: 获取商品盘面信息
  18269. tags:
  18270. - 行情服务
  18271. /Quote/QueryTSData:
  18272. get:
  18273. parameters:
  18274. - description: 商品代码
  18275. in: query
  18276. name: goodsCode
  18277. required: true
  18278. type: string
  18279. produces:
  18280. - application/json
  18281. responses:
  18282. "200":
  18283. description: OK
  18284. schema:
  18285. $ref: '#/definitions/quote.QueryTSDataRsp'
  18286. "500":
  18287. description: Internal Server Error
  18288. schema:
  18289. $ref: '#/definitions/app.Response'
  18290. security:
  18291. - ApiKeyAuth: []
  18292. summary: 分时图数据查询
  18293. tags:
  18294. - 行情服务
  18295. /SZDZ/QueryConvertConfig:
  18296. get:
  18297. parameters:
  18298. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  18299. 6:交易转花生米(不设置)
  18300. in: query
  18301. name: convertType
  18302. type: integer
  18303. - description: 外部商品代码[JD\PD]
  18304. in: query
  18305. name: outerGoodsCode
  18306. type: string
  18307. - description: 内部商品ID列表[交易],格式:1,2,3
  18308. in: query
  18309. name: innerGoodsIDs
  18310. type: string
  18311. produces:
  18312. - application/json
  18313. responses:
  18314. "200":
  18315. description: OK
  18316. schema:
  18317. $ref: '#/definitions/models.Szdz3convertconfig'
  18318. "500":
  18319. description: Internal Server Error
  18320. schema:
  18321. $ref: '#/definitions/app.Response'
  18322. security:
  18323. - ApiKeyAuth: []
  18324. summary: 查询交易系统转换设置
  18325. tags:
  18326. - 定制【尚志大宗】
  18327. /SZDZ/QueryConvertLog:
  18328. get:
  18329. parameters:
  18330. - description: 资金账户 - 格式:1,2,3
  18331. in: query
  18332. name: accountID
  18333. required: true
  18334. type: string
  18335. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18336. in: query
  18337. name: startDate
  18338. type: string
  18339. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18340. in: query
  18341. name: endDate
  18342. type: string
  18343. produces:
  18344. - application/json
  18345. responses:
  18346. "200":
  18347. description: OK
  18348. schema:
  18349. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  18350. "500":
  18351. description: Internal Server Error
  18352. schema:
  18353. $ref: '#/definitions/app.Response'
  18354. security:
  18355. - ApiKeyAuth: []
  18356. summary: 交易系统转换流水查询
  18357. tags:
  18358. - 定制【尚志大宗】
  18359. /SZDZ/QueryGoodsPickup:
  18360. get:
  18361. parameters:
  18362. - description: 资金账户 - 格式:1,2,3
  18363. in: query
  18364. name: accountID
  18365. required: true
  18366. type: string
  18367. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18368. in: query
  18369. name: takeOrderStatus
  18370. type: integer
  18371. produces:
  18372. - application/json
  18373. responses:
  18374. "200":
  18375. description: OK
  18376. schema:
  18377. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  18378. "500":
  18379. description: Internal Server Error
  18380. schema:
  18381. $ref: '#/definitions/app.Response'
  18382. security:
  18383. - ApiKeyAuth: []
  18384. summary: 商品提货单查询
  18385. tags:
  18386. - 定制【尚志大宗】
  18387. /SZDZ/QueryRecieptOrder:
  18388. get:
  18389. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  18390. parameters:
  18391. - description: 页码
  18392. in: query
  18393. name: page
  18394. type: integer
  18395. - description: 每页条数
  18396. in: query
  18397. name: pagesize
  18398. type: integer
  18399. - description: 商品ID
  18400. in: query
  18401. name: goodsID
  18402. required: true
  18403. type: integer
  18404. - description: 所属账户名称
  18405. in: query
  18406. name: accountName
  18407. type: string
  18408. - description: 市场ID
  18409. in: query
  18410. name: marketID
  18411. type: integer
  18412. - description: 方向 - 0:买 1:卖
  18413. in: query
  18414. name: buyorsell
  18415. required: true
  18416. type: integer
  18417. produces:
  18418. - application/json
  18419. responses:
  18420. "200":
  18421. description: OK
  18422. schema:
  18423. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  18424. "500":
  18425. description: Internal Server Error
  18426. schema:
  18427. $ref: '#/definitions/app.Response'
  18428. security:
  18429. - ApiKeyAuth: []
  18430. summary: 点选挂牌委托单据查询(摘牌大厅)
  18431. tags:
  18432. - 定制【尚志大宗】
  18433. /SZDZ/QuerySZDZTradePosition:
  18434. get:
  18435. parameters:
  18436. - description: 资金账户
  18437. in: query
  18438. name: accountID
  18439. required: true
  18440. type: integer
  18441. produces:
  18442. - application/json
  18443. responses:
  18444. "200":
  18445. description: OK
  18446. schema:
  18447. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  18448. "500":
  18449. description: Internal Server Error
  18450. schema:
  18451. $ref: '#/definitions/app.Response'
  18452. security:
  18453. - ApiKeyAuth: []
  18454. summary: 持仓汇总查询(尚志大宗)
  18455. tags:
  18456. - 定制【尚志大宗】
  18457. /SZDZ/SearchWhite:
  18458. get:
  18459. parameters:
  18460. - description: 用户ID
  18461. in: query
  18462. name: userID
  18463. required: true
  18464. type: integer
  18465. produces:
  18466. - application/json
  18467. responses:
  18468. "200":
  18469. description: OK
  18470. schema:
  18471. $ref: '#/definitions/models.Szdz3searchwhitelist'
  18472. "500":
  18473. description: Internal Server Error
  18474. schema:
  18475. $ref: '#/definitions/app.Response'
  18476. security:
  18477. - ApiKeyAuth: []
  18478. summary: 搜索白名单
  18479. tags:
  18480. - 定制【尚志大宗】
  18481. /Search/SearchGoodses:
  18482. get:
  18483. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  18484. parameters:
  18485. - description: 检索内容
  18486. in: query
  18487. name: content
  18488. required: true
  18489. type: string
  18490. - description: 交易模式,格式:1,2,3
  18491. in: query
  18492. name: tradeModes
  18493. type: string
  18494. produces:
  18495. - application/json
  18496. responses:
  18497. "200":
  18498. description: OK
  18499. schema:
  18500. $ref: '#/definitions/models.SearchGoods'
  18501. "500":
  18502. description: Internal Server Error
  18503. schema:
  18504. $ref: '#/definitions/app.Response'
  18505. summary: 检索商品信息
  18506. tags:
  18507. - 检索服务
  18508. /TaAccount/GetTaAccounts:
  18509. get:
  18510. parameters:
  18511. - description: 登录账户
  18512. in: query
  18513. name: loginID
  18514. required: true
  18515. type: integer
  18516. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  18517. in: query
  18518. name: taAccountType
  18519. type: integer
  18520. produces:
  18521. - application/json
  18522. responses:
  18523. "200":
  18524. description: OK
  18525. schema:
  18526. $ref: '#/definitions/models.Taaccount'
  18527. "500":
  18528. description: Internal Server Error
  18529. schema:
  18530. $ref: '#/definitions/app.Response'
  18531. security:
  18532. - ApiKeyAuth: []
  18533. summary: 获取资金账户信息
  18534. tags:
  18535. - 资金账户
  18536. /TaAccount/QueryAmountLog:
  18537. get:
  18538. parameters:
  18539. - description: 页码
  18540. in: query
  18541. name: page
  18542. type: integer
  18543. - description: 每页条数
  18544. in: query
  18545. name: pagesize
  18546. type: integer
  18547. - description: 资金账户 - 格式:1,2,3
  18548. in: query
  18549. name: accountID
  18550. required: true
  18551. type: string
  18552. - description: 资金操作类型 - 格式:1,2,3
  18553. in: query
  18554. name: OperateType
  18555. type: string
  18556. produces:
  18557. - application/json
  18558. responses:
  18559. "200":
  18560. description: OK
  18561. schema:
  18562. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  18563. "500":
  18564. description: Internal Server Error
  18565. schema:
  18566. $ref: '#/definitions/app.Response'
  18567. security:
  18568. - ApiKeyAuth: []
  18569. summary: 资金流水查询(当前)
  18570. tags:
  18571. - 资金账户
  18572. /TaAccount/QueryHisAmountLog:
  18573. get:
  18574. parameters:
  18575. - description: 页码
  18576. in: query
  18577. name: page
  18578. type: integer
  18579. - description: 每页条数
  18580. in: query
  18581. name: pagesize
  18582. type: integer
  18583. - description: 资金账户 - 格式:1,2,3
  18584. in: query
  18585. name: accountID
  18586. required: true
  18587. type: string
  18588. - description: 资金操作类型 - 格式:1,2,3
  18589. in: query
  18590. name: OperateType
  18591. type: string
  18592. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18593. in: query
  18594. name: startDate
  18595. type: string
  18596. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18597. in: query
  18598. name: endDate
  18599. type: string
  18600. produces:
  18601. - application/json
  18602. responses:
  18603. "200":
  18604. description: OK
  18605. schema:
  18606. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  18607. "500":
  18608. description: Internal Server Error
  18609. schema:
  18610. $ref: '#/definitions/app.Response'
  18611. security:
  18612. - ApiKeyAuth: []
  18613. summary: 资金流水查询(历史)
  18614. tags:
  18615. - 资金账户
  18616. /Trade/QueryRecieptOrder:
  18617. get:
  18618. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  18619. parameters:
  18620. - description: 页码
  18621. in: query
  18622. name: page
  18623. type: integer
  18624. - description: 每页条数
  18625. in: query
  18626. name: pagesize
  18627. type: integer
  18628. - description: 商品ID
  18629. in: query
  18630. name: goodsID
  18631. required: true
  18632. type: integer
  18633. - description: 所属账户名称
  18634. in: query
  18635. name: accountName
  18636. type: string
  18637. - description: 市场ID
  18638. in: query
  18639. name: marketID
  18640. type: integer
  18641. - description: 方向 - 0:买 1:卖
  18642. in: query
  18643. name: buyorsell
  18644. required: true
  18645. type: integer
  18646. produces:
  18647. - application/json
  18648. responses:
  18649. "200":
  18650. description: OK
  18651. schema:
  18652. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  18653. "500":
  18654. description: Internal Server Error
  18655. schema:
  18656. $ref: '#/definitions/app.Response'
  18657. security:
  18658. - ApiKeyAuth: []
  18659. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  18660. tags:
  18661. - 通用交易
  18662. /User/AddMessageBoard:
  18663. post:
  18664. parameters:
  18665. - description: 用户ID
  18666. in: query
  18667. name: userID
  18668. required: true
  18669. type: integer
  18670. - description: 留言信息
  18671. in: query
  18672. name: message
  18673. required: true
  18674. type: string
  18675. - description: 联系电话
  18676. in: query
  18677. name: contactNum
  18678. required: true
  18679. type: string
  18680. produces:
  18681. - application/json
  18682. responses:
  18683. "200":
  18684. description: OK
  18685. schema:
  18686. $ref: '#/definitions/app.Response'
  18687. "500":
  18688. description: Internal Server Error
  18689. schema:
  18690. $ref: '#/definitions/app.Response'
  18691. security:
  18692. - ApiKeyAuth: []
  18693. summary: 添加用户留言板信息
  18694. tags:
  18695. - 用户信息
  18696. /User/AddUserFavoriteGoods:
  18697. post:
  18698. parameters:
  18699. - description: 用户ID
  18700. in: query
  18701. name: userID
  18702. required: true
  18703. type: integer
  18704. - description: 商品ID
  18705. in: query
  18706. name: goodsID
  18707. required: true
  18708. type: integer
  18709. produces:
  18710. - application/json
  18711. responses:
  18712. "200":
  18713. description: OK
  18714. schema:
  18715. $ref: '#/definitions/app.Response'
  18716. "500":
  18717. description: Internal Server Error
  18718. schema:
  18719. $ref: '#/definitions/app.Response'
  18720. security:
  18721. - ApiKeyAuth: []
  18722. summary: 添加用户商品收藏信息
  18723. tags:
  18724. - 用户信息
  18725. /User/GetLoginID:
  18726. get:
  18727. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  18728. parameters:
  18729. - description: 登录代码
  18730. in: query
  18731. name: username
  18732. required: true
  18733. type: string
  18734. produces:
  18735. - application/json
  18736. responses:
  18737. "200":
  18738. description: OK
  18739. schema:
  18740. $ref: '#/definitions/app.Response'
  18741. "500":
  18742. description: Internal Server Error
  18743. schema:
  18744. $ref: '#/definitions/app.Response'
  18745. summary: 获取登录ID
  18746. tags:
  18747. - 用户信息
  18748. /User/GetUserAccount:
  18749. get:
  18750. parameters:
  18751. - description: 用户ID
  18752. in: query
  18753. name: userID
  18754. required: true
  18755. type: integer
  18756. produces:
  18757. - application/json
  18758. responses:
  18759. "200":
  18760. description: OK
  18761. schema:
  18762. $ref: '#/definitions/models.Useraccount'
  18763. "500":
  18764. description: Internal Server Error
  18765. schema:
  18766. $ref: '#/definitions/app.Response'
  18767. security:
  18768. - ApiKeyAuth: []
  18769. summary: 获取用户账号信息
  18770. tags:
  18771. - 用户信息
  18772. /User/GetUserAuthStatus:
  18773. get:
  18774. parameters:
  18775. - description: 用户ID
  18776. in: query
  18777. name: userID
  18778. required: true
  18779. type: integer
  18780. produces:
  18781. - application/json
  18782. responses:
  18783. "200":
  18784. description: OK
  18785. schema:
  18786. $ref: '#/definitions/app.Response'
  18787. "500":
  18788. description: Internal Server Error
  18789. schema:
  18790. $ref: '#/definitions/app.Response'
  18791. security:
  18792. - ApiKeyAuth: []
  18793. summary: 获取用户实名认证状态
  18794. tags:
  18795. - 用户信息
  18796. /User/LoginQuery:
  18797. get:
  18798. parameters:
  18799. - description: 登录账号
  18800. in: query
  18801. name: loginID
  18802. required: true
  18803. type: integer
  18804. produces:
  18805. - application/json
  18806. responses:
  18807. "200":
  18808. description: OK
  18809. schema:
  18810. $ref: '#/definitions/user.LoginQueryRsp'
  18811. "500":
  18812. description: Internal Server Error
  18813. schema:
  18814. $ref: '#/definitions/app.Response'
  18815. security:
  18816. - ApiKeyAuth: []
  18817. summary: 账户登录后信息查询
  18818. tags:
  18819. - 用户信息
  18820. /User/QueryMessageBoard:
  18821. get:
  18822. parameters:
  18823. - description: 用户ID
  18824. in: query
  18825. name: userID
  18826. required: true
  18827. type: integer
  18828. produces:
  18829. - application/json
  18830. responses:
  18831. "200":
  18832. description: OK
  18833. schema:
  18834. $ref: '#/definitions/models.Messageboard'
  18835. "500":
  18836. description: Internal Server Error
  18837. schema:
  18838. $ref: '#/definitions/app.Response'
  18839. security:
  18840. - ApiKeyAuth: []
  18841. summary: 获取用户留言板信息
  18842. tags:
  18843. - 用户信息
  18844. /User/QueryUserFavoriteGoodses:
  18845. get:
  18846. parameters:
  18847. - description: 用户ID
  18848. in: query
  18849. name: userID
  18850. required: true
  18851. type: integer
  18852. produces:
  18853. - application/json
  18854. responses:
  18855. "200":
  18856. description: OK
  18857. schema:
  18858. $ref: '#/definitions/models.Userfavoritegoods'
  18859. "500":
  18860. description: Internal Server Error
  18861. schema:
  18862. $ref: '#/definitions/app.Response'
  18863. security:
  18864. - ApiKeyAuth: []
  18865. summary: 获取用户商品收藏信息
  18866. tags:
  18867. - 用户信息
  18868. /User/QueryUserInfo:
  18869. get:
  18870. parameters:
  18871. - description: 用户ID
  18872. in: query
  18873. name: userID
  18874. required: true
  18875. type: integer
  18876. - description: 是否解密
  18877. in: query
  18878. name: isDecrypt
  18879. type: boolean
  18880. produces:
  18881. - application/json
  18882. responses:
  18883. "200":
  18884. description: OK
  18885. schema:
  18886. $ref: '#/definitions/models.Userinfo'
  18887. "500":
  18888. description: Internal Server Error
  18889. schema:
  18890. $ref: '#/definitions/app.Response'
  18891. security:
  18892. - ApiKeyAuth: []
  18893. summary: 获取用户信息
  18894. tags:
  18895. - 用户信息
  18896. /User/QueryUserReferNum:
  18897. get:
  18898. parameters:
  18899. - description: 用户ID
  18900. in: query
  18901. name: userID
  18902. required: true
  18903. type: integer
  18904. produces:
  18905. - application/json
  18906. responses:
  18907. "200":
  18908. description: OK
  18909. schema:
  18910. $ref: '#/definitions/app.Response'
  18911. "500":
  18912. description: Internal Server Error
  18913. schema:
  18914. $ref: '#/definitions/app.Response'
  18915. summary: 获取用户邀请码
  18916. tags:
  18917. - 用户信息
  18918. /User/RemoveUserFavoriteGoods:
  18919. post:
  18920. parameters:
  18921. - description: 用户ID
  18922. in: query
  18923. name: userID
  18924. required: true
  18925. type: integer
  18926. - description: 商品ID
  18927. in: query
  18928. name: goodsID
  18929. required: true
  18930. type: integer
  18931. produces:
  18932. - application/json
  18933. responses:
  18934. "200":
  18935. description: OK
  18936. schema:
  18937. $ref: '#/definitions/app.Response'
  18938. "500":
  18939. description: Internal Server Error
  18940. schema:
  18941. $ref: '#/definitions/app.Response'
  18942. security:
  18943. - ApiKeyAuth: []
  18944. summary: 移除用户商品收藏信息
  18945. tags:
  18946. - 用户信息
  18947. /User/UpdateUserAccountStatus:
  18948. post:
  18949. parameters:
  18950. - description: 用户ID
  18951. in: query
  18952. name: userID
  18953. required: true
  18954. type: integer
  18955. - description: 账户状态 - 4:正常 6:注销(停用)
  18956. in: query
  18957. name: accountStatus
  18958. required: true
  18959. type: integer
  18960. produces:
  18961. - application/json
  18962. responses:
  18963. "200":
  18964. description: OK
  18965. schema:
  18966. $ref: '#/definitions/app.Response'
  18967. "500":
  18968. description: Internal Server Error
  18969. schema:
  18970. $ref: '#/definitions/app.Response'
  18971. security:
  18972. - ApiKeyAuth: []
  18973. summary: 更新用户状态
  18974. tags:
  18975. - 用户信息
  18976. /WRTrade/GetAllDeliveryGoods:
  18977. get:
  18978. produces:
  18979. - application/json
  18980. - application/json
  18981. responses:
  18982. "200":
  18983. description: OK
  18984. schema:
  18985. $ref: '#/definitions/app.Response'
  18986. "500":
  18987. description: Internal Server Error
  18988. schema:
  18989. $ref: '#/definitions/app.Response'
  18990. security:
  18991. - ApiKeyAuth: []
  18992. - ApiKeyAuth: []
  18993. summary: 获取带仓单分类的种类信息
  18994. tags:
  18995. - 仓单贸易
  18996. - 仓单贸易
  18997. securityDefinitions:
  18998. ApiKeyAuth:
  18999. in: header
  19000. name: Authorization
  19001. type: apiKey
  19002. swagger: "2.0"