swagger.yaml 446 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. common.QueryTableDefineRsp:
  168. properties:
  169. columns:
  170. description: 列头信息数组
  171. items:
  172. $ref: '#/definitions/models.Tablecolumnconfig'
  173. type: array
  174. remark:
  175. description: Remark
  176. type: string
  177. tabelmenu:
  178. description: 列表菜单
  179. type: string
  180. tablekey:
  181. description: 列表Key
  182. type: string
  183. tablename:
  184. description: 列表名称
  185. type: string
  186. tabletype:
  187. description: 列表类型 - 1:管理端 2:终端
  188. type: integer
  189. required:
  190. - tablekey
  191. type: object
  192. common.QueryTraderMenuRsp:
  193. properties:
  194. OperationMenu:
  195. description: 功能菜单
  196. items:
  197. $ref: '#/definitions/models.OperationPrimaryMenu'
  198. type: array
  199. QuoteMenu:
  200. description: 报价牌分类菜单
  201. items:
  202. $ref: '#/definitions/models.QuotePrimaryMenu'
  203. type: array
  204. type: object
  205. cptrade.Cptradepositioncancel:
  206. properties:
  207. accountid:
  208. description: 申请人账户ID
  209. type: integer
  210. applystatus:
  211. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  212. type: integer
  213. applytime:
  214. description: 申请时间
  215. type: string
  216. cancelid:
  217. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  218. type: integer
  219. cancelqty:
  220. description: 注销数量
  221. type: integer
  222. createtime:
  223. description: 创建时间
  224. type: string
  225. creatorid:
  226. description: 创建人ID
  227. type: integer
  228. creatorname:
  229. description: 创建人
  230. type: string
  231. goodscode:
  232. description: 订单商品代码
  233. type: string
  234. goodsid:
  235. description: 商品ID
  236. type: integer
  237. goodsname:
  238. description: 订单商品名称
  239. type: string
  240. goodunit:
  241. description: 报价单位
  242. type: string
  243. handlestatus:
  244. description: 处理状态
  245. type: integer
  246. marketid:
  247. description: 市场ID
  248. type: integer
  249. marketname:
  250. description: 市场名称
  251. type: string
  252. tradedate:
  253. description: 交易日(yyyyMMdd)
  254. type: string
  255. userid:
  256. description: 申请人ID
  257. type: integer
  258. required:
  259. - cancelid
  260. type: object
  261. cptrade.Cptradepresaleapply:
  262. properties:
  263. accountid:
  264. description: 申请人账户ID
  265. type: integer
  266. applyid:
  267. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  268. type: integer
  269. applyremark:
  270. description: 申请备注
  271. type: string
  272. applystatus:
  273. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  274. type: integer
  275. applytime:
  276. description: 申请时间
  277. type: string
  278. attachmenturl:
  279. description: 附件地址
  280. type: string
  281. endtime:
  282. description: 预售结束时间
  283. type: string
  284. goodscode:
  285. description: 商品代码
  286. type: string
  287. goodsid:
  288. description: 商品ID
  289. type: integer
  290. goodsname:
  291. description: 商品名称
  292. type: string
  293. goodunit:
  294. description: 报价单位
  295. type: string
  296. handlestatus:
  297. description: 处理状态
  298. type: integer
  299. marketid:
  300. description: 预售市场ID
  301. type: integer
  302. marketname:
  303. description: 预售市场名称
  304. type: string
  305. presaleqty:
  306. description: 预售数量
  307. type: integer
  308. relatedgoodscode:
  309. description: 关联交易合约代码
  310. type: string
  311. relatedgoodsid:
  312. description: 关联交易合约ID
  313. type: integer
  314. relatedgoodsname:
  315. description: 关联交易合约名称
  316. type: string
  317. starttime:
  318. description: 预售开始时间
  319. type: string
  320. tradedate:
  321. description: 交易日(yyyyMMdd)
  322. type: string
  323. trademode:
  324. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  325. type: integer
  326. userid:
  327. description: 申请人ID
  328. type: integer
  329. required:
  330. - applyid
  331. type: object
  332. cptrade.Cptradeusergoodsdata:
  333. properties:
  334. EnabledQty:
  335. description: 可用量
  336. type: integer
  337. GoodsCode:
  338. description: 订单商品代码
  339. type: string
  340. GoodsName:
  341. description: 订单商品名称
  342. type: string
  343. WRStandardCode:
  344. description: 仓单标准代码
  345. type: string
  346. WRStandardName:
  347. description: 仓单标准名称
  348. type: string
  349. accountid:
  350. description: 账户ID
  351. type: integer
  352. cancelqty:
  353. description: 注销量
  354. type: integer
  355. curpresaleqty:
  356. description: 当前预售量
  357. type: integer
  358. deliveryqty:
  359. description: 交割量
  360. type: integer
  361. freezeamount:
  362. description: 冻结金额
  363. type: number
  364. goodsid:
  365. description: 商品ID
  366. type: integer
  367. goodunit:
  368. description: 报价单位
  369. type: string
  370. hasspotfreeze:
  371. description: 是否有现货冻结 - 0:否 1:有
  372. type: integer
  373. inqty:
  374. description: 转入量(总数量)
  375. type: integer
  376. marketid:
  377. description: 市场ID
  378. type: integer
  379. presaledamount:
  380. description: 已预售总金额
  381. type: integer
  382. presaledqty:
  383. description: 已预售量
  384. type: integer
  385. userid:
  386. description: 用户ID
  387. type: integer
  388. wrstandardid:
  389. description: 仓单标准ID
  390. type: integer
  391. required:
  392. - accountid
  393. - goodsid
  394. type: object
  395. cptrade.QueryCPTradeMyBidRsp:
  396. properties:
  397. accountid:
  398. description: 账户ID[报价币种]
  399. type: integer
  400. goodsid:
  401. description: 商品ID
  402. type: integer
  403. goodunit:
  404. description: 报价单位
  405. type: string
  406. marketid:
  407. description: 市场ID
  408. type: integer
  409. orderid:
  410. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  411. type: integer
  412. orderprice:
  413. description: 委托价格
  414. type: number
  415. orderqty:
  416. description: 委托数量
  417. type: integer
  418. ordertime:
  419. description: 委托时间
  420. type: string
  421. ordertotalprice:
  422. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  423. type: number
  424. ordertotalweight:
  425. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  426. type: integer
  427. totaltotalprice:
  428. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  429. type: number
  430. tradeprice:
  431. description: 成交价格
  432. type: number
  433. tradeqty:
  434. description: 成交数量
  435. type: integer
  436. required:
  437. - accountid
  438. - goodsid
  439. - marketid
  440. - orderid
  441. - orderqty
  442. - ordertime
  443. - tradeprice
  444. - tradeqty
  445. type: object
  446. cptrade.QueryCPTradeOrderDetailRsq:
  447. properties:
  448. accountid:
  449. description: 账户ID[报价币种]
  450. type: integer
  451. buildtype:
  452. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  453. type: integer
  454. buyorsell:
  455. description: 买卖 - 0:买 1:卖
  456. type: integer
  457. cancelorderid:
  458. description: 撤单单号(撤单时填写)
  459. type: integer
  460. cancelqty:
  461. description: 撤单数量
  462. type: integer
  463. clientordertime:
  464. description: 客户端委托时间
  465. type: string
  466. clientticket:
  467. description: 客户端流水号
  468. type: string
  469. clienttype:
  470. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  471. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  472. type: integer
  473. closeexchagechargevalue:
  474. description: 平仓交易所手续费设置值
  475. type: number
  476. closefeealgorithm:
  477. description: 平仓手续费收取方式 1:比率 2:固定
  478. type: integer
  479. closefreezecharge:
  480. description: 平仓冻结手续费(先建后平操作,需要记录)
  481. type: number
  482. closememberchargevalue:
  483. description: 平仓会员手续费设置值
  484. type: number
  485. closeqty:
  486. description: 平仓数量(先建后平操作 需要记录)
  487. type: integer
  488. closetradeqty:
  489. description: 平仓成交数量(先建后平操作,需要记录)
  490. type: integer
  491. closeunfreezecharge:
  492. description: 平仓解冻手续费(先建后平操作,需要记录)
  493. type: number
  494. delistingtype:
  495. description: 摘牌类型 - 1:价格最优 2:点选成交
  496. type: integer
  497. freezecharge:
  498. description: 冻结手续费
  499. type: number
  500. freezemargin:
  501. description: 冻结保证金(冻结交易金额)
  502. type: number
  503. gcaccountid:
  504. description: 账户ID[合约币种]
  505. type: integer
  506. goodsid:
  507. description: 商品ID
  508. type: integer
  509. isconfirmexercise:
  510. description: 是否确认行权- 0:否 1:是
  511. type: integer
  512. ispreexercise:
  513. description: 是否预申报- 0:否 1:是
  514. type: integer
  515. listingselecttype:
  516. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  517. type: integer
  518. marginalgorithm:
  519. description: 保证金收取方式 1:比率 2:固定
  520. type: integer
  521. marginvalue:
  522. description: 即市保证金设置值
  523. type: number
  524. marketid:
  525. description: 市场ID
  526. type: integer
  527. marketmaxsub:
  528. description: 市价最大偏移范围
  529. type: number
  530. memberuserid:
  531. description: 所属会员UserID
  532. type: integer
  533. openexchagechargevalue:
  534. description: 建仓交易所手续费设置值
  535. type: number
  536. openfeealgorithm:
  537. description: 建仓手续费收取方式 1:比率 2:固定
  538. type: integer
  539. openfreezecharge:
  540. description: 开仓冻结手续费(先建后平操作,需要记录)
  541. type: number
  542. openmemberchargevalue:
  543. description: 建仓会员手续费设置值
  544. type: number
  545. openqty:
  546. description: 开仓数量(先建后平操作,需要记录)
  547. type: integer
  548. opentradeqty:
  549. description: 开仓成交数量(先建后平操作,需要记录)
  550. type: integer
  551. openunfreezecharge:
  552. description: 开仓解冻手续费(先建后平操作,需要记录)
  553. type: number
  554. operatetype:
  555. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  556. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  557. 15:管理端协议转让
  558. type: integer
  559. operatorid:
  560. description: 登录账号(LoginID)
  561. type: integer
  562. optiontype:
  563. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  564. type: integer
  565. orderprice:
  566. description: 委托价格
  567. type: number
  568. orderqty:
  569. description: 委托数量
  570. type: integer
  571. ordersrc:
  572. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  573. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  574. type: integer
  575. orderstatus:
  576. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  577. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  578. 16:成交失败违约(荷兰式竞拍专用)
  579. type: integer
  580. ordertime:
  581. description: 委托时间
  582. type: string
  583. preexerciseprice:
  584. description: 预申报价格
  585. type: number
  586. premium:
  587. description: 权利金
  588. type: number
  589. preorderid:
  590. description: 关联预埋单号(止盈止损单时填写)
  591. type: integer
  592. pricemode:
  593. description: '取价方式 - 1:市价 2: 限价'
  594. type: integer
  595. quoteid:
  596. description: 报价单ID
  597. type: integer
  598. relatedid:
  599. description: 关联单号(交割单)
  600. type: integer
  601. retcode:
  602. description: 错误代码
  603. type: integer
  604. sessionid:
  605. description: 会话ID
  606. type: integer
  607. strorderid:
  608. description: 委托单号
  609. type: string
  610. tradedate:
  611. description: 交易日(yyyyMMdd)
  612. type: string
  613. tradeproperty:
  614. description: 交易属性
  615. type: integer
  616. tradeqty:
  617. description: 成交数量
  618. type: integer
  619. unfreezecharge:
  620. description: 解冻手续费
  621. type: number
  622. unfreezemargin:
  623. description: 解冻保证金
  624. type: number
  625. updatetime:
  626. description: 更新时间
  627. type: string
  628. uuid:
  629. description: 发起端唯一id
  630. type: string
  631. validtime:
  632. description: 有效期限
  633. type: string
  634. validtype:
  635. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  636. type: integer
  637. volumetype:
  638. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  639. type: integer
  640. required:
  641. - accountid
  642. - buildtype
  643. - buyorsell
  644. - goodsid
  645. - marketid
  646. - memberuserid
  647. - operatetype
  648. - orderqty
  649. - ordertime
  650. - pricemode
  651. - strorderid
  652. - tradedate
  653. - validtype
  654. type: object
  655. cptrade.QueryMyCPTradeGoodsRsp:
  656. properties:
  657. accountid:
  658. description: 卖方账户ID
  659. type: integer
  660. agreeunit:
  661. description: 合约单位
  662. type: number
  663. applyid:
  664. description: 关联申请ID
  665. type: integer
  666. attachmenturl:
  667. description: 附件地址
  668. type: string
  669. createtime:
  670. description: 创建时间
  671. type: string
  672. currencyid:
  673. description: 报价货币ID
  674. type: integer
  675. decimalplace:
  676. description: 报价小数位
  677. type: integer
  678. endtime:
  679. description: 预售结束时间
  680. type: string
  681. floorprice:
  682. description: 底价[大宗式竞拍]
  683. type: number
  684. goodscode:
  685. description: 商品代码(预售)
  686. type: string
  687. goodsdetail:
  688. description: 详情[大宗]
  689. type: string
  690. goodsid:
  691. description: 商品ID(自增ID SEQ_GOODS)
  692. type: integer
  693. goodsname:
  694. description: 商品名称(预售)
  695. type: string
  696. goodunit:
  697. description: 报价单位
  698. type: string
  699. goodunitid:
  700. description: 报价单位ID
  701. type: integer
  702. marketid:
  703. description: 所属市场ID
  704. type: integer
  705. marketname:
  706. description: 预售市场名称
  707. type: string
  708. presaledamount:
  709. description: 已预售总金额(预售结束时更新)
  710. type: number
  711. presaledqty:
  712. description: 已预售量(预售结束时更新)
  713. type: integer
  714. presalemode:
  715. description: 预售模式 - 1:一口价 2:大宗式竞拍
  716. type: integer
  717. presaleqty:
  718. description: 预售数量
  719. type: integer
  720. refprice:
  721. description: 参考价格[一口价]
  722. type: number
  723. relatedgoodscode:
  724. description: 商品代码(订单)
  725. type: string
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedgoodsname:
  730. description: 商品名称(订单)
  731. type: string
  732. relatedmarketid:
  733. description: 关联交易合约市场ID
  734. type: integer
  735. sellstatus:
  736. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  737. type: integer
  738. startprice:
  739. description: 起拍价[大宗式竞拍]
  740. type: number
  741. starttime:
  742. description: 预售开始时间
  743. type: string
  744. tradedate:
  745. description: 交易日(yyyyMMdd)
  746. type: string
  747. tradeprice:
  748. description: 成交价[大宗]
  749. type: number
  750. userid:
  751. description: 卖方用户ID
  752. type: integer
  753. required:
  754. - goodscode
  755. - goodsid
  756. - goodsname
  757. - marketid
  758. - relatedgoodscode
  759. - relatedgoodsname
  760. type: object
  761. cptrade.QueryPresaleGoodsExRsp:
  762. properties:
  763. attachmenturl:
  764. description: 附件地址
  765. type: string
  766. createtime:
  767. description: 创建时间
  768. type: string
  769. endtime:
  770. description: 预售结束时间
  771. type: string
  772. floorprice:
  773. description: 底价[大宗式竞拍]
  774. type: number
  775. goodsdetail:
  776. description: 详情[大宗]
  777. type: string
  778. goodsid:
  779. description: 商品ID(预售)
  780. type: integer
  781. goodunit:
  782. description: 报价单位
  783. type: string
  784. marketid:
  785. description: 预售市场ID - 根据预售模式选择市场
  786. type: integer
  787. presaledamount:
  788. description: 已预售总金额(预售结束时更新)
  789. type: number
  790. presaledqty:
  791. description: 已预售量(预售结束时更新)
  792. type: integer
  793. presalemode:
  794. description: 预售模式 - 1:一口价 2:大宗式竞拍
  795. type: integer
  796. presaleqty:
  797. description: 预售数量
  798. type: integer
  799. refprice:
  800. description: 参考价格[一口价]
  801. type: number
  802. relatedgoodsid:
  803. description: 关联交易合约ID
  804. type: integer
  805. relatedmarketid:
  806. description: 关联交易合约市场ID
  807. type: integer
  808. sellstatus:
  809. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  810. type: integer
  811. startprice:
  812. description: 起拍价[大宗式竞拍]
  813. type: number
  814. starttime:
  815. description: 预售开始时间
  816. type: string
  817. tradedate:
  818. description: 交易日(yyyyMMdd)
  819. type: string
  820. tradeprice:
  821. description: 成交价[大宗]
  822. type: number
  823. required:
  824. - goodsid
  825. type: object
  826. delivery.QueryDeliveryRelationRsp:
  827. properties:
  828. begindate:
  829. description: 起始日期(yyyyMMdd)
  830. type: string
  831. buytemplateid:
  832. description: 买履约计划模板ID
  833. type: integer
  834. deliverygoodscode:
  835. description: 品种代码
  836. type: string
  837. deliverygoodsid:
  838. description: 交割商品
  839. type: integer
  840. deliverygoodsname:
  841. description: 品种名称
  842. type: string
  843. deliverymode:
  844. description: 交割方式 - 1:点选式 2:申报式
  845. type: integer
  846. deliverypricerule:
  847. description: 交割价规则- 1:行情价 2:建仓价
  848. type: integer
  849. deliverytype:
  850. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  851. type: integer
  852. enddate:
  853. description: 结束日期(yyyyMMdd)
  854. type: string
  855. goodscode:
  856. description: 商品代码
  857. type: string
  858. goodsid:
  859. description: 交易合约ID
  860. type: integer
  861. goodsname:
  862. description: 商品名称
  863. type: string
  864. marketid:
  865. description: 市场ID
  866. type: integer
  867. mindeliveryqty:
  868. description: 最小交割系数(K)
  869. type: integer
  870. p2deliveryprice:
  871. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  872. type: number
  873. p2deliveryratio:
  874. description: P2合约系数(p)
  875. type: integer
  876. p2goodsid:
  877. description: P2合约ID
  878. type: integer
  879. p2pricemode:
  880. description: P2合约价格方式 - 1:商品价 2:固定值
  881. type: integer
  882. pdeliveryprice:
  883. description: P合约价格(商品价时填写0,固定值时填写固定值)
  884. type: number
  885. pdeliveryratio:
  886. description: P合约系数(n)
  887. type: integer
  888. pgoodsid:
  889. description: P合约ID
  890. type: integer
  891. ppricemode:
  892. description: P合约价格方式 - 1:商品价 2:固定值
  893. type: integer
  894. rratio:
  895. description: 兑换系数(R)
  896. type: integer
  897. rratio1:
  898. description: 兑换系数(交易合约)(R1)
  899. type: integer
  900. rratio2:
  901. description: 兑换系数(仓单标准)(R2)
  902. type: integer
  903. selltemplateid:
  904. description: 卖履约计划模板ID
  905. type: integer
  906. wrstandardid:
  907. description: 仓单标准ID
  908. type: integer
  909. xdeliveryratio:
  910. description: 交易合约系数(m)
  911. type: integer
  912. required:
  913. - begindate
  914. - enddate
  915. - goodsid
  916. - mindeliveryqty
  917. - xdeliveryratio
  918. type: object
  919. ermcp.ExposureDetailRsp:
  920. properties:
  921. areauserid:
  922. description: 机构ID
  923. type: integer
  924. changeQty:
  925. description: 套保变动量
  926. type: number
  927. contracttype:
  928. description: 现货合同类型 - 1:采购 -1:销售
  929. type: integer
  930. convertfactor:
  931. description: 标仓系数
  932. type: number
  933. convertratio:
  934. description: 套保系数
  935. type: number
  936. createtime:
  937. description: 时间
  938. type: string
  939. enumdicname:
  940. description: 现货商品单位名称
  941. type: string
  942. logtype:
  943. description: 类型 - 1:套保计划 2:现货合同
  944. type: integer
  945. middlegoodsId:
  946. description: 套保商品id
  947. type: integer
  948. middlegoodscode:
  949. description: 套保商品代码
  950. type: string
  951. middlegoodsname:
  952. description: 套保商品名称
  953. type: string
  954. qty:
  955. description: 数量
  956. type: number
  957. relateNo:
  958. description: 现货合同/套保计划编号
  959. type: string
  960. wrstandardcode:
  961. description: 现货商品代码
  962. type: string
  963. wrstandardid:
  964. description: 现货商品ID
  965. type: integer
  966. wrstandardname:
  967. description: 现货商品名称
  968. type: string
  969. type: object
  970. ermcp.ExposureHedgePosDetailRsp:
  971. properties:
  972. buyorsell:
  973. description: 买卖方向 0-买 1-卖
  974. type: integer
  975. channelbuildtype:
  976. description: 开平方向 1-建仓 2-平仓
  977. type: integer
  978. goodscode:
  979. description: 商品代码
  980. type: string
  981. goodsname:
  982. description: 商品名称
  983. type: string
  984. hedgegoodsid:
  985. description: 商品id
  986. type: integer
  987. tradeqty:
  988. description: 数量(成交数量)
  989. type: integer
  990. tradetime:
  991. description: 时间(成交时间)
  992. type: string
  993. type: object
  994. ermcp.ExposureHedgePositionRsp:
  995. properties:
  996. accountid:
  997. description: 资金账号[外部母账户]
  998. type: integer
  999. curbuyposition:
  1000. description: 期末买头寸
  1001. type: integer
  1002. cursellposition:
  1003. description: 期末卖头寸
  1004. type: integer
  1005. curtdbuyposition:
  1006. description: 期末今日买头寸
  1007. type: integer
  1008. curtdsellposition:
  1009. description: 期末今日卖头寸
  1010. type: integer
  1011. curydbuyposition:
  1012. description: 期末上日买头寸
  1013. type: integer
  1014. curydsellposition:
  1015. description: 期末上日卖头寸
  1016. type: integer
  1017. decreaseqty:
  1018. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1019. type: integer
  1020. fretdbuyposition:
  1021. description: 冻结今日买头寸
  1022. type: integer
  1023. fretdsellposition:
  1024. description: 冻结今日卖头寸
  1025. type: integer
  1026. freydbuyposition:
  1027. description: 冻结上日买头寸
  1028. type: integer
  1029. freydsellposition:
  1030. description: 冻结上日卖头寸
  1031. type: integer
  1032. goodscode:
  1033. description: 商品代码
  1034. type: string
  1035. goodsid:
  1036. description: 商品id
  1037. type: integer
  1038. goodsname:
  1039. description: 商品名称
  1040. type: string
  1041. hedgeaccountcode:
  1042. description: 对冲账号
  1043. type: string
  1044. hedgegoodsid:
  1045. description: 对冲合约ID
  1046. type: integer
  1047. increaseqty:
  1048. description: 增加数量 = 期末买头寸 - 期初买头寸
  1049. type: integer
  1050. marketid:
  1051. description: 市场ID
  1052. type: integer
  1053. relateduserid:
  1054. description: 关联用户id
  1055. type: integer
  1056. totalcurqty:
  1057. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1058. type: integer
  1059. totalydqty:
  1060. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1061. type: integer
  1062. tradedate:
  1063. description: 交易日(yyyyMMdd)
  1064. type: string
  1065. ydbuyposition:
  1066. description: 期初买头寸
  1067. type: integer
  1068. ydsellposition:
  1069. description: 期初卖头寸
  1070. type: integer
  1071. type: object
  1072. ermcp.ExposureSpotDetailRsp:
  1073. properties:
  1074. contracttype:
  1075. description: 合同类型 1-采购 -1-销售
  1076. type: integer
  1077. createtime:
  1078. description: 创建时间
  1079. type: string
  1080. enumdicname:
  1081. description: 现货商品单位名称
  1082. type: string
  1083. logtype:
  1084. description: 记录类型 1-套保 2-现货合同
  1085. type: integer
  1086. qty:
  1087. description: 数量
  1088. type: number
  1089. recordname:
  1090. description: 类型名称
  1091. type: string
  1092. relatedid:
  1093. description: 套保计划ID/现货合同ID
  1094. type: string
  1095. relatedno:
  1096. description: 编号
  1097. type: string
  1098. strtime:
  1099. description: 时间
  1100. type: string
  1101. wrstandardcode:
  1102. description: 现货商品代码
  1103. type: string
  1104. wrstandardname:
  1105. description: 现货商品名称
  1106. type: string
  1107. type: object
  1108. ermcp.ExposureSpotRsp:
  1109. properties:
  1110. areauserid:
  1111. description: 所属机构
  1112. type: integer
  1113. decreaseqty:
  1114. description: 减少数量=-(销售已定价数量+采购计划数量)
  1115. type: number
  1116. increaseqty:
  1117. description: 增加数量=销售计划数量+采购已定价数量
  1118. type: number
  1119. oritoalspotqty:
  1120. description: 昨日数量
  1121. type: number
  1122. totalspotqty:
  1123. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1124. type: number
  1125. updatetime:
  1126. description: 更新时间
  1127. type: string
  1128. wrstandardcode:
  1129. description: 现货品种代码
  1130. type: string
  1131. wrstandardid:
  1132. description: 现货商品ID
  1133. type: integer
  1134. wrstandardname:
  1135. description: 现货品种
  1136. type: string
  1137. type: object
  1138. ermcp.HisExposureRsp:
  1139. properties:
  1140. data:
  1141. description: 历史敞口
  1142. items:
  1143. $ref: '#/definitions/models.ErmcpHisExposure'
  1144. type: array
  1145. enumdicname:
  1146. description: 单位名称
  1147. type: string
  1148. middlegoodscode:
  1149. description: 套保品种代码
  1150. type: string
  1151. middlegoodsid:
  1152. description: 套保品种ID
  1153. type: integer
  1154. middlegoodsname:
  1155. description: 套保品种名称
  1156. type: string
  1157. type: object
  1158. ermcp.PendingAuditCntRsp:
  1159. properties:
  1160. areastockqty:
  1161. description: '待审核数量: 库存申请'
  1162. type: integer
  1163. businessdjqty:
  1164. description: '待审核数量: 点价'
  1165. type: integer
  1166. businessfpqty:
  1167. description: '待审核数量: 发票'
  1168. type: integer
  1169. businessjsqty:
  1170. description: '待审核数量: 结算'
  1171. type: integer
  1172. businesskxqty:
  1173. description: '待审核数量: 款项'
  1174. type: integer
  1175. hedgeplanqty:
  1176. description: '待审核数量: 套保计划'
  1177. type: integer
  1178. spotcontractqty:
  1179. description: '待审核数量: 现货合同'
  1180. type: integer
  1181. userqty:
  1182. description: '待审核数量: 用户'
  1183. type: integer
  1184. type: object
  1185. ermcp.QryAreaStockApplyRsp:
  1186. properties:
  1187. applyid:
  1188. description: 申请人
  1189. type: integer
  1190. applyname:
  1191. description: 申请人名称
  1192. type: string
  1193. applyremark:
  1194. description: 申请备注
  1195. type: string
  1196. applysrc:
  1197. description: 申请来源 - 1:管理端 2:终端
  1198. type: integer
  1199. applystatus:
  1200. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1201. type: integer
  1202. applytime:
  1203. description: 申请时间
  1204. type: string
  1205. auditid:
  1206. description: 审核人
  1207. type: integer
  1208. auditname:
  1209. description: 审核人名称
  1210. type: string
  1211. auditremark:
  1212. description: 审核备注
  1213. type: string
  1214. auditsrc:
  1215. description: 审核来源 - 1:管理端 2:终端
  1216. type: integer
  1217. audittime:
  1218. description: 审核时间
  1219. type: string
  1220. audittradedate:
  1221. description: 审核交易日(yyyyMMdd)
  1222. type: string
  1223. brandname:
  1224. description: 品牌名称
  1225. type: string
  1226. buyuserid:
  1227. description: 采购方userid
  1228. type: integer
  1229. buyusername:
  1230. description: 采购方名称
  1231. type: string
  1232. contractno:
  1233. description: 合同编号
  1234. type: string
  1235. contractqty:
  1236. description: 合同量
  1237. type: number
  1238. contracttype:
  1239. description: 现货合同类型 - 1:采购 -1:销售
  1240. type: integer
  1241. deliverygoodsid:
  1242. description: 现货品种ID
  1243. type: integer
  1244. enumdicname:
  1245. description: 现货商品单位名称
  1246. type: string
  1247. inoutapplyid:
  1248. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  1249. type: string
  1250. inouttype:
  1251. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  1252. type: integer
  1253. modelname:
  1254. description: 型号名称
  1255. type: string
  1256. pricetype:
  1257. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1258. type: integer
  1259. qty:
  1260. description: 数量
  1261. type: number
  1262. selluserid:
  1263. description: 销售方userid
  1264. type: integer
  1265. sellusername:
  1266. description: 销售方名称
  1267. type: string
  1268. spotcontractid:
  1269. description: 关联现货合同ID
  1270. type: string
  1271. spotgoodsbrandid:
  1272. description: 现货品牌ID
  1273. type: integer
  1274. spotgoodsmodelid:
  1275. description: 现货型号ID
  1276. type: integer
  1277. unitid:
  1278. description: 单位id
  1279. type: integer
  1280. userid:
  1281. description: 机构ID
  1282. type: integer
  1283. warehousecode:
  1284. description: 仓库代码
  1285. type: string
  1286. warehouseinfoid:
  1287. description: 现货仓库ID
  1288. type: string
  1289. warehousename:
  1290. description: 仓库名称
  1291. type: string
  1292. warehousetype:
  1293. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  1294. type: integer
  1295. wrstandardcode:
  1296. description: 现货商品代码
  1297. type: string
  1298. wrstandardid:
  1299. description: 现货商品ID
  1300. type: string
  1301. wrstandardname:
  1302. description: 现货商品名称
  1303. type: string
  1304. type: object
  1305. ermcp.QryAvalidGPRsp:
  1306. properties:
  1307. goodsgroupid:
  1308. description: 期货品种id
  1309. type: integer
  1310. goodsgroupname:
  1311. description: 期货品种名称
  1312. type: string
  1313. goodunitid:
  1314. description: 品种单位id
  1315. type: integer
  1316. goodunitname:
  1317. description: 品种单位名称
  1318. type: string
  1319. outergroupcode:
  1320. description: 期货品种代码
  1321. type: string
  1322. type: object
  1323. ermcp.QryBusinessDjRsp:
  1324. properties:
  1325. amount:
  1326. description: 点价金额=(点价价格+升贴水)*点价数量
  1327. type: number
  1328. applyid:
  1329. description: 申请人
  1330. type: string
  1331. applyname:
  1332. description: 申请人名称
  1333. type: string
  1334. applystatus:
  1335. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1336. type: integer
  1337. applytime:
  1338. description: 申请时间
  1339. type: string
  1340. attachurl:
  1341. description: 附件
  1342. type: string
  1343. auditid:
  1344. description: 审核人ID
  1345. type: string
  1346. auditname:
  1347. description: 审核人名称
  1348. type: string
  1349. audittime:
  1350. description: 审核时间
  1351. type: string
  1352. buyusername:
  1353. description: 采购方名称
  1354. type: string
  1355. contractno:
  1356. description: 合同编号
  1357. type: string
  1358. contractstatus:
  1359. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1360. type: integer
  1361. contracttype:
  1362. description: 现货合同类型 - 1:采购 -1:销售
  1363. type: integer
  1364. deliverygoodscode:
  1365. description: 现货品种代码
  1366. type: string
  1367. deliverygoodsid:
  1368. description: 现货商品ID
  1369. type: integer
  1370. deliverygoodsname:
  1371. description: 现货品种名称
  1372. type: string
  1373. enumdicname:
  1374. description: 单位名称
  1375. type: string
  1376. goodscode:
  1377. description: 点价合约
  1378. type: string
  1379. goodsname:
  1380. description: 商品名称
  1381. type: string
  1382. operateapplyid:
  1383. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1384. type: string
  1385. operateapplytype:
  1386. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1387. type: integer
  1388. pricedPrice:
  1389. description: 点价价格(非必填)
  1390. type: number
  1391. pricedQty:
  1392. description: 点价数量(非必填)
  1393. type: number
  1394. pricemove:
  1395. description: 升贴水
  1396. type: number
  1397. pricetype:
  1398. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1399. type: integer
  1400. relatedid:
  1401. description: 现货合同ID
  1402. type: string
  1403. sellusername:
  1404. description: 销售方名字
  1405. type: string
  1406. userid:
  1407. description: 用户ID
  1408. type: integer
  1409. wrstandardcode:
  1410. description: 品类代码
  1411. type: string
  1412. wrstandardid:
  1413. description: 品类id
  1414. type: integer
  1415. wrstandardname:
  1416. description: 品类名称
  1417. type: string
  1418. type: object
  1419. ermcp.QryBussinessFpRsp:
  1420. properties:
  1421. applyid:
  1422. description: 申请人
  1423. type: string
  1424. applyname:
  1425. description: 申请人名称
  1426. type: string
  1427. applystatus:
  1428. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1429. type: integer
  1430. applytime:
  1431. description: 申请时间
  1432. type: string
  1433. attachurl:
  1434. description: 附件
  1435. type: string
  1436. auditid:
  1437. description: 审核人ID
  1438. type: string
  1439. auditname:
  1440. description: 审核人名称
  1441. type: string
  1442. audittime:
  1443. description: 审核时间
  1444. type: string
  1445. buyusername:
  1446. description: 采购方名称
  1447. type: string
  1448. contractno:
  1449. description: 合同编号
  1450. type: string
  1451. contractstatus:
  1452. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1453. type: integer
  1454. contracttype:
  1455. description: 现货合同类型 - 1:采购 -1:销售
  1456. type: integer
  1457. deliverygoodscode:
  1458. description: 现货品种代码
  1459. type: string
  1460. deliverygoodsid:
  1461. description: 现货商品ID
  1462. type: integer
  1463. deliverygoodsname:
  1464. description: 现货品种名称
  1465. type: string
  1466. enumdicname:
  1467. description: 单位名称
  1468. type: string
  1469. goodscode:
  1470. description: 点价合约
  1471. type: string
  1472. goodsname:
  1473. description: 商品名称
  1474. type: string
  1475. invoiceAmount:
  1476. description: 已开收票金额(销售为开票,采购为收票)
  1477. type: number
  1478. operateapplyid:
  1479. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1480. type: string
  1481. operateapplytype:
  1482. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1483. type: integer
  1484. pricemove:
  1485. description: 升贴水
  1486. type: number
  1487. pricetype:
  1488. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1489. type: integer
  1490. relatedid:
  1491. description: 现货合同ID
  1492. type: string
  1493. sellusername:
  1494. description: 销售方名字
  1495. type: string
  1496. userid:
  1497. description: 用户ID
  1498. type: integer
  1499. wrstandardcode:
  1500. description: 品类代码
  1501. type: string
  1502. wrstandardid:
  1503. description: 品类id
  1504. type: integer
  1505. wrstandardname:
  1506. description: 品类名称
  1507. type: string
  1508. type: object
  1509. ermcp.QryBussinessJsExRsp:
  1510. properties:
  1511. applyid:
  1512. description: 申请人
  1513. type: string
  1514. applyname:
  1515. description: 申请人名称
  1516. type: string
  1517. applystatus:
  1518. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1519. type: integer
  1520. applytime:
  1521. description: 申请时间
  1522. type: string
  1523. attachurl:
  1524. description: 附件
  1525. type: string
  1526. auditid:
  1527. description: 审核人ID
  1528. type: string
  1529. auditname:
  1530. description: 审核人名称
  1531. type: string
  1532. audittime:
  1533. description: 审核时间
  1534. type: string
  1535. buyusername:
  1536. description: 采购方名称
  1537. type: string
  1538. contractno:
  1539. description: 合同编号
  1540. type: string
  1541. contractstatus:
  1542. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1543. type: integer
  1544. contracttype:
  1545. description: 现货合同类型 - 1:采购 -1:销售
  1546. type: integer
  1547. deliverygoodscode:
  1548. description: 现货品种代码
  1549. type: string
  1550. deliverygoodsid:
  1551. description: 现货商品ID
  1552. type: integer
  1553. deliverygoodsname:
  1554. description: 现货品种名称
  1555. type: string
  1556. enumdicname:
  1557. description: 单位名称
  1558. type: string
  1559. goodscode:
  1560. description: 点价合约
  1561. type: string
  1562. goodsname:
  1563. description: 商品名称
  1564. type: string
  1565. operateapplyid:
  1566. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1567. type: string
  1568. operateapplytype:
  1569. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1570. type: integer
  1571. pricemove:
  1572. description: 升贴水
  1573. type: number
  1574. pricetype:
  1575. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1576. type: integer
  1577. reckontype:
  1578. description: 结算类型
  1579. type: string
  1580. reckonvalue:
  1581. description: 值
  1582. type: number
  1583. relatedid:
  1584. description: 现货合同ID
  1585. type: string
  1586. sellusername:
  1587. description: 销售方名字
  1588. type: string
  1589. userid:
  1590. description: 用户ID
  1591. type: integer
  1592. wrstandardcode:
  1593. description: 品类代码
  1594. type: string
  1595. wrstandardid:
  1596. description: 品类id
  1597. type: integer
  1598. wrstandardname:
  1599. description: 品类名称
  1600. type: string
  1601. type: object
  1602. ermcp.QryBussinessJsRsp:
  1603. properties:
  1604. addmargin:
  1605. description: 追加保证金(非必填)
  1606. type: number
  1607. applyid:
  1608. description: 申请人
  1609. type: string
  1610. applyname:
  1611. description: 申请人名称
  1612. type: string
  1613. applystatus:
  1614. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1615. type: integer
  1616. applytime:
  1617. description: 申请时间
  1618. type: string
  1619. attachurl:
  1620. description: 附件
  1621. type: string
  1622. auditid:
  1623. description: 审核人ID
  1624. type: string
  1625. auditname:
  1626. description: 审核人名称
  1627. type: string
  1628. audittime:
  1629. description: 审核时间
  1630. type: string
  1631. buyusername:
  1632. description: 采购方名称
  1633. type: string
  1634. contractno:
  1635. description: 合同编号
  1636. type: string
  1637. contractstatus:
  1638. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1639. type: integer
  1640. contracttype:
  1641. description: 现货合同类型 - 1:采购 -1:销售
  1642. type: integer
  1643. decmargin:
  1644. description: 减少保证金(非必填)
  1645. type: number
  1646. deliverygoodscode:
  1647. description: 现货品种代码
  1648. type: string
  1649. deliverygoodsid:
  1650. description: 现货商品ID
  1651. type: integer
  1652. deliverygoodsname:
  1653. description: 现货品种名称
  1654. type: string
  1655. enumdicname:
  1656. description: 单位名称
  1657. type: string
  1658. goodscode:
  1659. description: 点价合约
  1660. type: string
  1661. goodsname:
  1662. description: 商品名称
  1663. type: string
  1664. operateapplyid:
  1665. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1666. type: string
  1667. operateapplytype:
  1668. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1669. type: integer
  1670. pricemove:
  1671. description: 升贴水
  1672. type: number
  1673. pricetype:
  1674. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1675. type: integer
  1676. reckonadjustamount:
  1677. description: 结算调整金额(非必填)
  1678. type: number
  1679. reckonosamount:
  1680. description: 结算溢短金额(非必填)
  1681. type: number
  1682. reckonotheramount:
  1683. description: 结算其他费用(非必填)
  1684. type: number
  1685. reckonrealqty:
  1686. description: 结算实际数量(非必填)
  1687. type: number
  1688. relatedid:
  1689. description: 现货合同ID
  1690. type: string
  1691. sellusername:
  1692. description: 销售方名字
  1693. type: string
  1694. userid:
  1695. description: 用户ID
  1696. type: integer
  1697. wrstandardcode:
  1698. description: 品类代码
  1699. type: string
  1700. wrstandardid:
  1701. description: 品类id
  1702. type: integer
  1703. wrstandardname:
  1704. description: 品类名称
  1705. type: string
  1706. type: object
  1707. ermcp.QryBussinessKxRsp:
  1708. properties:
  1709. applyid:
  1710. description: 申请人
  1711. type: string
  1712. applyname:
  1713. description: 申请人名称
  1714. type: string
  1715. applystatus:
  1716. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1717. type: integer
  1718. applytime:
  1719. description: 申请时间
  1720. type: string
  1721. attachurl:
  1722. description: 附件
  1723. type: string
  1724. auditid:
  1725. description: 审核人ID
  1726. type: string
  1727. auditname:
  1728. description: 审核人名称
  1729. type: string
  1730. audittime:
  1731. description: 审核时间
  1732. type: string
  1733. buyusername:
  1734. description: 采购方名称
  1735. type: string
  1736. contractno:
  1737. description: 合同编号
  1738. type: string
  1739. contractstatus:
  1740. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1741. type: integer
  1742. contracttype:
  1743. description: 现货合同类型 - 1:采购 -1:销售
  1744. type: integer
  1745. deductamount:
  1746. description: 退款(非必填)
  1747. type: number
  1748. deliverygoodscode:
  1749. description: 现货品种代码
  1750. type: string
  1751. deliverygoodsid:
  1752. description: 现货商品ID
  1753. type: integer
  1754. deliverygoodsname:
  1755. description: 现货品种名称
  1756. type: string
  1757. enumdicname:
  1758. description: 单位名称
  1759. type: string
  1760. goodscode:
  1761. description: 点价合约
  1762. type: string
  1763. goodsname:
  1764. description: 商品名称
  1765. type: string
  1766. kxtype:
  1767. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1768. type: integer
  1769. operateapplyid:
  1770. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1771. type: string
  1772. operateapplytype:
  1773. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1774. type: integer
  1775. payamount:
  1776. description: 收付款(非必填)
  1777. type: number
  1778. pricemove:
  1779. description: 升贴水
  1780. type: number
  1781. pricetype:
  1782. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1783. type: integer
  1784. relatedid:
  1785. description: 现货合同ID
  1786. type: string
  1787. sellusername:
  1788. description: 销售方名字
  1789. type: string
  1790. userid:
  1791. description: 用户ID
  1792. type: integer
  1793. wrstandardcode:
  1794. description: 品类代码
  1795. type: string
  1796. wrstandardid:
  1797. description: 品类id
  1798. type: integer
  1799. wrstandardname:
  1800. description: 品类名称
  1801. type: string
  1802. type: object
  1803. ermcp.QryErmcpRsp:
  1804. properties:
  1805. accountname:
  1806. description: 账户名称
  1807. type: string
  1808. attachment:
  1809. description: 附件
  1810. type: string
  1811. audittime:
  1812. description: 审核时间
  1813. type: string
  1814. brandname:
  1815. description: 品牌名称
  1816. type: string
  1817. contracctstatus:
  1818. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1819. type: integer
  1820. contractmargin:
  1821. description: 合同保证金
  1822. type: number
  1823. contractno:
  1824. description: 合同编号
  1825. type: string
  1826. contracttype:
  1827. description: 合同类型 1-采购, -1-销售
  1828. type: integer
  1829. convertfactor:
  1830. description: 标仓系数
  1831. type: number
  1832. createtime:
  1833. description: 创建时间
  1834. type: string
  1835. daikaiamount:
  1836. description: 应收(开)票额
  1837. type: number
  1838. deliveryenddate:
  1839. description: 交割结束日
  1840. type: string
  1841. deliverygoodscode:
  1842. description: 现货品种代码
  1843. type: string
  1844. deliverygoodsid:
  1845. description: 现货商品ID
  1846. type: integer
  1847. deliverygoodsname:
  1848. description: 现货品种名称
  1849. type: string
  1850. deliverystartdate:
  1851. description: 交割开始日
  1852. type: string
  1853. enddate:
  1854. description: 点价结束日
  1855. type: string
  1856. enumdicname:
  1857. description: 单位名称
  1858. type: string
  1859. goodscode:
  1860. description: 点价商品代码
  1861. type: string
  1862. goodsid:
  1863. description: 点价商品ID
  1864. type: integer
  1865. goodsname:
  1866. description: 点价商品名称
  1867. type: string
  1868. invoiceamount:
  1869. description: 已开票额
  1870. type: number
  1871. loanamount:
  1872. description: 贷款总额=已定价额+调整金额
  1873. type: number
  1874. margin:
  1875. description: 保证金
  1876. type: number
  1877. modelname:
  1878. description: 型号名称
  1879. type: string
  1880. payamount:
  1881. description: 已收付额(收款或付款)
  1882. type: number
  1883. preinvoiceamount:
  1884. description: 预收(开)票额
  1885. type: number
  1886. prepayamount:
  1887. description: 预收付额
  1888. type: number
  1889. price:
  1890. description: 价格
  1891. type: number
  1892. pricedamount:
  1893. description: 已定价额
  1894. type: number
  1895. pricedavg:
  1896. description: 已点均价
  1897. type: number
  1898. pricedqty:
  1899. description: 已定价量
  1900. type: number
  1901. pricemove:
  1902. description: 升贴水
  1903. type: number
  1904. pricetype:
  1905. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1906. type: integer
  1907. producttype:
  1908. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1909. type: integer
  1910. qty:
  1911. description: 合同量
  1912. type: number
  1913. reckonadjustamount:
  1914. description: 调整金额
  1915. type: number
  1916. reckonedamount:
  1917. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  1918. type: number
  1919. reckonotheramount:
  1920. description: 其它费用
  1921. type: number
  1922. reckonrealqty:
  1923. description: 已确定量
  1924. type: number
  1925. remark:
  1926. description: 备注
  1927. type: string
  1928. spotcontractid:
  1929. description: 合同ID
  1930. type: string
  1931. spotgoodsbrandid:
  1932. description: 现货品牌ID
  1933. type: integer
  1934. spotgoodsdesc:
  1935. description: 商品型号(商品规格)
  1936. type: string
  1937. spotgoodsmodelid:
  1938. description: 现货型号ID
  1939. type: integer
  1940. startdate:
  1941. description: 点价开始日
  1942. type: string
  1943. totalamount:
  1944. description: 合计总额
  1945. type: number
  1946. unpayamount:
  1947. description: 应收付款额(应支付或应收款)
  1948. type: number
  1949. unpricedqty:
  1950. description: 未定价量
  1951. type: number
  1952. unsureqty:
  1953. description: 未确定量
  1954. type: number
  1955. userid:
  1956. description: 用户ID
  1957. type: integer
  1958. wrstandardcode:
  1959. description: 现货商品代码
  1960. type: string
  1961. wrstandardid:
  1962. description: 现货商品ID
  1963. type: integer
  1964. wrstandardname:
  1965. description: 现货商品名称
  1966. type: string
  1967. type: object
  1968. ermcp.QryGGCovertCfgRsp:
  1969. properties:
  1970. convertratio:
  1971. description: 折算系数
  1972. type: number
  1973. destgoodsgroupid:
  1974. description: 目标品种ID
  1975. type: integer
  1976. dstcode:
  1977. description: 目录品种代码
  1978. type: string
  1979. dstexchangecode:
  1980. description: 目标期货交易所
  1981. type: string
  1982. dstname:
  1983. description: 目标品种名称
  1984. type: string
  1985. dstunitid:
  1986. description: 目标品种单位ID
  1987. type: integer
  1988. dstunitidname:
  1989. description: 目标品种单位名称
  1990. type: string
  1991. modifytime:
  1992. description: 修改时间
  1993. type: string
  1994. srccode:
  1995. description: 源品种代码
  1996. type: string
  1997. srcexchangecode:
  1998. description: 源期货交易所
  1999. type: string
  2000. srcgoodsgroupid:
  2001. description: 源品种ID
  2002. type: integer
  2003. srcname:
  2004. description: 源品种名称
  2005. type: string
  2006. srcunitid:
  2007. description: 源品种单位ID
  2008. type: integer
  2009. srcunitidname:
  2010. description: 源品种单位名称
  2011. type: string
  2012. type: object
  2013. ermcp.QryHedgePlanRsp:
  2014. properties:
  2015. areauserid:
  2016. description: 用户ID
  2017. type: integer
  2018. audittime:
  2019. description: 审核时间
  2020. type: string
  2021. contracttype:
  2022. description: 计划类型 - 1:采购 -1:销售
  2023. type: integer
  2024. convertfactor:
  2025. description: 标仓系数
  2026. type: number
  2027. createtime:
  2028. description: 创建时间
  2029. type: string
  2030. deliverygoodsid:
  2031. description: 现货品种ID
  2032. type: integer
  2033. deliverygoodsname:
  2034. description: 现货品种名称
  2035. type: string
  2036. enumdicname:
  2037. description: 单位名称
  2038. type: string
  2039. hedgeplanid:
  2040. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  2041. type: string
  2042. hedgeplanno:
  2043. description: 套保计划编号(名称)
  2044. type: string
  2045. hedgeplanstatus:
  2046. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2047. type: integer
  2048. planqty:
  2049. description: 计划数量
  2050. type: number
  2051. plantime:
  2052. description: 计划时间
  2053. type: string
  2054. producttype:
  2055. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2056. type: integer
  2057. remark:
  2058. description: 备注
  2059. type: string
  2060. spotgoodsdesc:
  2061. description: 商品型号
  2062. type: string
  2063. unitid:
  2064. description: 单位id
  2065. type: integer
  2066. updatetime:
  2067. description: 更新时间
  2068. type: string
  2069. wrstandardid:
  2070. description: 现货商品ID
  2071. type: integer
  2072. wrstandardname:
  2073. description: 现货商品名称
  2074. type: string
  2075. type: object
  2076. ermcp.QryMGChangeLogRsp:
  2077. properties:
  2078. aftervalue:
  2079. description: 变更后
  2080. type: number
  2081. applyid:
  2082. description: 操作人
  2083. type: integer
  2084. applyname:
  2085. description: 操作人名称
  2086. type: string
  2087. applysrc:
  2088. description: 操作来源 - 1:管理端 2:终端
  2089. type: integer
  2090. beforevalue:
  2091. description: 变更前
  2092. type: number
  2093. changelogtype:
  2094. description: 变更流水类型 - 1:套保比率变更
  2095. type: integer
  2096. handlestatus:
  2097. description: 处理状态
  2098. type: integer
  2099. logdatetime:
  2100. description: 流水日期
  2101. type: string
  2102. logid:
  2103. description: 流水ID
  2104. type: integer
  2105. logremark:
  2106. description: 流水备注
  2107. type: string
  2108. middlegoodsid:
  2109. description: 套保品种ID
  2110. type: integer
  2111. tradedate:
  2112. description: 交易日(yyyyMMdd)
  2113. type: string
  2114. updatetime:
  2115. description: 更新时间
  2116. type: string
  2117. type: object
  2118. ermcp.QryMiddleGoodsDetailRsp:
  2119. properties:
  2120. cvList:
  2121. description: 期货品种折算列表
  2122. items:
  2123. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  2124. type: array
  2125. mg:
  2126. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  2127. description: 套保品种基本信息
  2128. wrcList:
  2129. description: 现货品种列表(现货商品折算配置)
  2130. items:
  2131. $ref: '#/definitions/models.WRSConverTDetail'
  2132. type: array
  2133. type: object
  2134. ermcp.QryMiddleGoodsRsp:
  2135. properties:
  2136. areauserid:
  2137. description: 机构用户ID
  2138. type: integer
  2139. createtime:
  2140. description: 修改时间
  2141. type: string
  2142. enumdicname:
  2143. description: 单位名称
  2144. type: string
  2145. evaluateratio:
  2146. description: 估价系数
  2147. type: number
  2148. goodsgroupid:
  2149. description: 关联期货品种ID
  2150. type: integer
  2151. isvalid:
  2152. description: 状态 0-无效(停用) 1-有效(正常)
  2153. type: integer
  2154. middlegoodscode:
  2155. description: 套保品种代码
  2156. type: string
  2157. middlegoodsid:
  2158. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  2159. type: integer
  2160. middlegoodsname:
  2161. description: 套保品种名称
  2162. type: string
  2163. modifytime:
  2164. description: 修改时间
  2165. type: string
  2166. needhedgeratio:
  2167. description: 套保比率
  2168. type: number
  2169. qtydecimalplace:
  2170. description: 数量小数位
  2171. type: integer
  2172. relatedgoodsid:
  2173. description: 关联交易商品ID
  2174. type: integer
  2175. relatedgoodstype:
  2176. description: 关联商品类型 - 1:期货合约 2:现货品种
  2177. type: integer
  2178. remark:
  2179. description: 备注
  2180. type: string
  2181. type: object
  2182. ermcp.QryOPLogRsp:
  2183. properties:
  2184. aftervalue:
  2185. description: 变更后
  2186. type: number
  2187. applyid:
  2188. description: 操作人ID
  2189. type: string
  2190. applyname:
  2191. description: 操作人名称
  2192. type: string
  2193. beforevalue:
  2194. description: 变更前
  2195. type: number
  2196. biztype:
  2197. description: 业务类型 - 1:套保计划 2:现货合同
  2198. type: integer
  2199. contracttype:
  2200. description: 现货合同类型 - 1:采购 -1:销售
  2201. type: integer
  2202. logvalue:
  2203. description: 数值
  2204. type: number
  2205. operatelogtype:
  2206. description: 操作流水类型
  2207. type: integer
  2208. operatelogtypedesc:
  2209. description: 操作流水类型名称
  2210. type: string
  2211. relatedid:
  2212. description: 现货合同ID\套保计划
  2213. type: string
  2214. updatetime:
  2215. description: 更新时间
  2216. type: string
  2217. type: object
  2218. ermcp.QryReportDaySpotDetailRsp:
  2219. properties:
  2220. applyid:
  2221. description: 操作人
  2222. type: integer
  2223. applyname:
  2224. description: 操作人名称
  2225. type: string
  2226. biztype:
  2227. description: 业务类型 - 1:套保计划 2:现货合同
  2228. type: integer
  2229. brandname:
  2230. description: 品牌名称
  2231. type: string
  2232. contracttype:
  2233. description: 现货合同类型 - 1:采购 -1:销售
  2234. type: integer
  2235. enumdicName:
  2236. description: 单位名称
  2237. type: string
  2238. logdatetime:
  2239. description: 流水日期(时间)
  2240. type: string
  2241. logid:
  2242. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2243. type: string
  2244. logtypename:
  2245. description: 合同类型(名称)
  2246. type: string
  2247. logvalue:
  2248. description: 数值
  2249. type: string
  2250. modelname:
  2251. description: 型号名称
  2252. type: string
  2253. operatelogtype:
  2254. description: 操作流水类型 -
  2255. type: integer
  2256. optypename:
  2257. description: 流水类型名称
  2258. type: string
  2259. relatedid:
  2260. description: 现货合同ID\套保计划
  2261. type: string
  2262. relatedno:
  2263. description: 合同编号
  2264. type: string
  2265. tradedate:
  2266. description: 交易日(yyyyMMdd)
  2267. type: string
  2268. userid:
  2269. description: 机构ID
  2270. type: integer
  2271. wrstandardcode:
  2272. description: 现货商品代码
  2273. type: string
  2274. wrstandardid:
  2275. description: 现货商品ID
  2276. type: integer
  2277. wrstandardname:
  2278. description: 现货商品名称
  2279. type: string
  2280. type: object
  2281. ermcp.QryReportExposureDayRsp:
  2282. properties:
  2283. areauserid:
  2284. description: 所属机构
  2285. type: integer
  2286. buyfutureqty:
  2287. description: 买入期货数量
  2288. type: number
  2289. buyplanqty:
  2290. description: 采购计划数量
  2291. type: number
  2292. buypricedqty:
  2293. description: 采购合同已定价数量
  2294. type: number
  2295. diffFutuQty:
  2296. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  2297. type: number
  2298. diffSpotQty:
  2299. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  2300. type: number
  2301. enumdicname:
  2302. description: 单位名称
  2303. type: string
  2304. middlegoodscode:
  2305. description: 套保品种代码
  2306. type: string
  2307. middlegoodshedgeratio:
  2308. description: 应套保比例
  2309. type: number
  2310. middlegoodsid:
  2311. description: 套保品种ID
  2312. type: integer
  2313. middlegoodsname:
  2314. description: 套保品种名称
  2315. type: string
  2316. needhedgeexposoure:
  2317. description: 应套保敞口
  2318. type: number
  2319. needhedgeratio:
  2320. description: 应套保敞口比例
  2321. type: number
  2322. oriTotalFutuQty:
  2323. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2324. type: number
  2325. oriTotalSpotQty:
  2326. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2327. type: number
  2328. oribuyfutureqty:
  2329. description: 期初买入期货数量
  2330. type: number
  2331. oribuyplanqty:
  2332. description: 期初采购计划数量
  2333. type: number
  2334. oribuypricedqty:
  2335. description: 期初采购合同已定价数量
  2336. type: number
  2337. orisellfutureqty:
  2338. description: 期初卖出期货数量
  2339. type: number
  2340. orisellplanqty:
  2341. description: 期初销售计划数量
  2342. type: number
  2343. orisellpricedqty:
  2344. description: 期初销售合同已定价数量
  2345. type: number
  2346. reckondate:
  2347. description: 日照时期(yyyyMMdd)
  2348. type: string
  2349. sellfutureqty:
  2350. description: 卖出期货数量
  2351. type: number
  2352. sellplanqty:
  2353. description: 销售计划数量
  2354. type: number
  2355. sellpricedqty:
  2356. description: 销售合同已定价数量
  2357. type: number
  2358. totalexposure:
  2359. description: 总敞口
  2360. type: number
  2361. totalfutureqty:
  2362. description: 期货数量
  2363. type: number
  2364. totalhedgeratio:
  2365. description: 敞口比例
  2366. type: number
  2367. totalneedhedgeqty:
  2368. description: 期货应套保量
  2369. type: number
  2370. totalspotqty:
  2371. description: 现货数量
  2372. type: number
  2373. type: object
  2374. ermcp.QryReportFinanceDayRsp:
  2375. properties:
  2376. areauserid:
  2377. description: 所属机构
  2378. type: integer
  2379. collectinvoiceamount:
  2380. description: 今日开票金额
  2381. type: number
  2382. collectinvoicecount:
  2383. description: 今日开票笔数
  2384. type: integer
  2385. collectmoneyamount:
  2386. description: 今日收款金额
  2387. type: number
  2388. collectmoneycount:
  2389. description: 今日收款笔数
  2390. type: integer
  2391. payinvoiceamount:
  2392. description: 今日收票金额
  2393. type: number
  2394. payinvoicecount:
  2395. description: 今日收票笔数
  2396. type: integer
  2397. paymoneyamount:
  2398. description: 今日付款金额
  2399. type: number
  2400. paymoneycount:
  2401. description: 今日付款笔数
  2402. type: integer
  2403. reckondate:
  2404. description: 日照时期(yyyyMMdd)
  2405. type: string
  2406. updatetime:
  2407. description: 更新时间
  2408. type: string
  2409. type: object
  2410. ermcp.QryReportFinanceKxRsp:
  2411. properties:
  2412. applyid:
  2413. description: 操作人
  2414. type: integer
  2415. applyname:
  2416. description: 操作人名称
  2417. type: string
  2418. biztype:
  2419. description: 业务类型 - 1:套保计划 2:现货合同
  2420. type: integer
  2421. brandname:
  2422. description: 品牌名称
  2423. type: string
  2424. contracttype:
  2425. description: 现货合同类型 - 1:采购 -1:销售
  2426. type: integer
  2427. enumdicName:
  2428. description: 单位名称
  2429. type: string
  2430. logdatetime:
  2431. description: 流水日期(时间)
  2432. type: string
  2433. logid:
  2434. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2435. type: string
  2436. logtypename:
  2437. description: 合同类型(名称)
  2438. type: string
  2439. logvalue:
  2440. description: 数值
  2441. type: string
  2442. modelname:
  2443. description: 型号名称
  2444. type: string
  2445. operatelogtype:
  2446. description: 操作流水类型 -
  2447. type: integer
  2448. optypename:
  2449. description: 流水类型名称
  2450. type: string
  2451. relatedid:
  2452. description: 现货合同ID\套保计划
  2453. type: string
  2454. relatedno:
  2455. description: 合同编号
  2456. type: string
  2457. tradedate:
  2458. description: 交易日(yyyyMMdd)
  2459. type: string
  2460. userid:
  2461. description: 机构ID
  2462. type: integer
  2463. wrstandardcode:
  2464. description: 现货商品代码
  2465. type: string
  2466. wrstandardid:
  2467. description: 现货商品ID
  2468. type: integer
  2469. wrstandardname:
  2470. description: 现货商品名称
  2471. type: string
  2472. type: object
  2473. ermcp.QryReportFinanceMonRsp:
  2474. properties:
  2475. areauserid:
  2476. description: 所属机构【原值】
  2477. type: integer
  2478. collectinvoiceamount:
  2479. description: 今日开票金额【汇总】
  2480. type: number
  2481. collectinvoicecount:
  2482. description: 今日开票笔数【汇总】
  2483. type: integer
  2484. collectmoneyamount:
  2485. description: 今日收款金额【汇总】
  2486. type: number
  2487. collectmoneycount:
  2488. description: 今日收款笔数 【汇总】
  2489. type: integer
  2490. cycletime:
  2491. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2492. type: string
  2493. cycletype:
  2494. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2495. type: integer
  2496. dayFr:
  2497. description: 日报表明细
  2498. items:
  2499. $ref: '#/definitions/models.ErmcpReportDayFR'
  2500. type: array
  2501. payinvoiceamount:
  2502. description: 今日收票金额【汇总】
  2503. type: number
  2504. payinvoicecount:
  2505. description: 今日收票笔数【汇总】
  2506. type: integer
  2507. paymoneyamount:
  2508. description: 今日付款金额【汇总】
  2509. type: number
  2510. paymoneycount:
  2511. description: 今日付款笔数【汇总】
  2512. type: integer
  2513. updatetime:
  2514. description: 更新时间
  2515. type: string
  2516. type: object
  2517. ermcp.QryReportSpotDayRsp:
  2518. properties:
  2519. areauserid:
  2520. description: 所属机构T
  2521. type: integer
  2522. buyinqty:
  2523. description: 采购入库量
  2524. type: number
  2525. enumdicname:
  2526. description: 现货商品单位名称
  2527. type: string
  2528. reckondate:
  2529. description: 日照时期(yyyyMMdd)
  2530. type: string
  2531. selloutqty:
  2532. description: 销售出库量
  2533. type: number
  2534. todaybuyreckonqty:
  2535. description: 采购确定量
  2536. type: number
  2537. todaysellreckonqty:
  2538. description: 销售确定量
  2539. type: number
  2540. totalbuypricedqty:
  2541. description: 采购定价量 = 期末 - 期初
  2542. type: number
  2543. totalsellpricedqty:
  2544. description: 销售定价量 = 期末 - 期初
  2545. type: number
  2546. wrstandardcode:
  2547. description: 现货商品代码
  2548. type: string
  2549. wrstandardid:
  2550. description: 现货商品ID
  2551. type: integer
  2552. wrstandardname:
  2553. description: 现货商品名称
  2554. type: string
  2555. type: object
  2556. ermcp.QryReportSpotMonRsp:
  2557. properties:
  2558. areauserid:
  2559. description: 所属机构T
  2560. type: integer
  2561. buyinqty:
  2562. description: 采购入库量
  2563. type: number
  2564. cycletime:
  2565. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2566. type: string
  2567. cycletype:
  2568. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2569. type: integer
  2570. enumdicname:
  2571. description: 现货商品单位名称
  2572. type: string
  2573. selloutqty:
  2574. description: 销售出库量
  2575. type: number
  2576. todaybuyreckonqty:
  2577. description: 采购确定量
  2578. type: number
  2579. todaysellreckonqty:
  2580. description: 销售确定量
  2581. type: number
  2582. totalbuypricedqty:
  2583. description: 采购定价量 = 期末 - 期初
  2584. type: number
  2585. totalsellpricedqty:
  2586. description: 销售定价量 = 期末 - 期初
  2587. type: number
  2588. wrstandardcode:
  2589. description: 现货商品代码
  2590. type: string
  2591. wrstandardid:
  2592. description: 现货商品ID
  2593. type: integer
  2594. wrstandardname:
  2595. description: 现货商品名称
  2596. type: string
  2597. type: object
  2598. ermcp.QryReportSpotMonthDetailRsp:
  2599. properties:
  2600. areauserid:
  2601. description: 所属机构T
  2602. type: integer
  2603. buyinqty:
  2604. description: 采购入库量
  2605. type: number
  2606. enumdicname:
  2607. description: 现货商品单位名称
  2608. type: string
  2609. reckondate:
  2610. description: 日照时期(yyyyMMdd)
  2611. type: string
  2612. selloutqty:
  2613. description: 销售出库量
  2614. type: number
  2615. todaybuyreckonqty:
  2616. description: 采购确定量
  2617. type: number
  2618. todaysellreckonqty:
  2619. description: 销售确定量
  2620. type: number
  2621. totalbuypricedqty:
  2622. description: 采购定价量 = 期末 - 期初
  2623. type: number
  2624. totalsellpricedqty:
  2625. description: 销售定价量 = 期末 - 期初
  2626. type: number
  2627. wrstandardcode:
  2628. description: 现货商品代码
  2629. type: string
  2630. wrstandardid:
  2631. description: 现货商品ID
  2632. type: integer
  2633. wrstandardname:
  2634. description: 现货商品名称
  2635. type: string
  2636. type: object
  2637. ermcp.QrySpotContractRsp:
  2638. properties:
  2639. amount:
  2640. description: 金额 [1:一口价、3:暂定价]
  2641. type: number
  2642. attachment:
  2643. description: 附件
  2644. type: string
  2645. auditremark:
  2646. description: 审核意见
  2647. type: string
  2648. audittime:
  2649. description: 审核时间
  2650. type: string
  2651. brandname:
  2652. description: 品牌名称
  2653. type: string
  2654. buyuserid:
  2655. description: 采购方ID
  2656. type: integer
  2657. buyusername:
  2658. description: 采购方名称
  2659. type: string
  2660. contracctstatus:
  2661. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2662. type: integer
  2663. contractmargin:
  2664. description: 合同保证金
  2665. type: number
  2666. contractno:
  2667. description: 现货合同编号
  2668. type: string
  2669. contracttype:
  2670. description: 现货合同类型 - 1:采购 -1:销售
  2671. type: integer
  2672. convertfactor:
  2673. description: 标仓系数
  2674. type: number
  2675. createtime:
  2676. description: 创建时间
  2677. type: string
  2678. deliveryenddate:
  2679. description: 交收期(结束)
  2680. type: string
  2681. deliverygoodscode:
  2682. description: 现货品种代码
  2683. type: string
  2684. deliverygoodsid:
  2685. description: 现货品种ID
  2686. type: integer
  2687. deliverygoodsname:
  2688. description: 现货品种名称
  2689. type: string
  2690. deliverystartdate:
  2691. description: 交收期(开始)
  2692. type: string
  2693. enddate:
  2694. description: 点价结束日期 [2:点价 3:暂定价]
  2695. type: string
  2696. enumdicname:
  2697. description: 单位名称
  2698. type: string
  2699. goodscode:
  2700. description: 点价合约代码
  2701. type: string
  2702. goodsid:
  2703. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  2704. type: integer
  2705. goodsname:
  2706. description: 点价商品名称
  2707. type: string
  2708. margin:
  2709. description: 当前保证金
  2710. type: number
  2711. modelname:
  2712. description: 型号名称
  2713. type: string
  2714. price:
  2715. description: 价格\暂定价 [1:一口价、3:暂定价]
  2716. type: number
  2717. pricemove:
  2718. description: 升贴水 [2:点价 3:暂定价]
  2719. type: number
  2720. pricetype:
  2721. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2722. type: integer
  2723. producttype:
  2724. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2725. type: integer
  2726. qty:
  2727. description: 数量
  2728. type: number
  2729. remark:
  2730. description: 备注
  2731. type: string
  2732. selluserid:
  2733. description: 销售方ID
  2734. type: integer
  2735. sellusername:
  2736. description: 销售方名称
  2737. type: string
  2738. spotcontractid:
  2739. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  2740. type: string
  2741. spotgoodsbrandid:
  2742. description: 现货品牌ID
  2743. type: integer
  2744. spotgoodsdesc:
  2745. description: 商品型号
  2746. type: string
  2747. spotgoodsmodelid:
  2748. description: 现货型号ID
  2749. type: integer
  2750. startdate:
  2751. description: 点价开始日期 [2:点价 3:暂定价]
  2752. type: string
  2753. updatetime:
  2754. description: 更新时间
  2755. type: string
  2756. userid:
  2757. description: 机构ID
  2758. type: integer
  2759. wrstandardcode:
  2760. description: 现货商品代码
  2761. type: string
  2762. wrstandardid:
  2763. description: 现货商品ID
  2764. type: integer
  2765. wrstandardname:
  2766. description: 现货商品名称
  2767. type: string
  2768. type: object
  2769. ermcp.QryUserInfoRsp:
  2770. properties:
  2771. address:
  2772. description: 通讯地址
  2773. type: string
  2774. attachment1:
  2775. description: 附件1
  2776. type: string
  2777. audittime:
  2778. description: 审核时间
  2779. type: string
  2780. cardfrontphotourl:
  2781. description: 证件正面图片地址
  2782. type: string
  2783. cardnum:
  2784. description: 证件号码
  2785. type: string
  2786. cardtype:
  2787. description: 证件类型
  2788. type: integer
  2789. cardtypename:
  2790. description: 证件类型名称
  2791. type: string
  2792. cityid:
  2793. description: 市
  2794. type: integer
  2795. countryid:
  2796. description: 国家
  2797. type: integer
  2798. createtime:
  2799. description: 创建时间
  2800. type: string
  2801. customername:
  2802. description: 企业名称
  2803. type: string
  2804. districtid:
  2805. description: 区域
  2806. type: integer
  2807. memberuserid:
  2808. description: 所属机构ID
  2809. type: integer
  2810. mobile:
  2811. description: 手机号码
  2812. type: string
  2813. modifytime:
  2814. description: 修改时间
  2815. type: string
  2816. nickname:
  2817. description: 昵称
  2818. type: string
  2819. provinceid:
  2820. description: 省
  2821. type: integer
  2822. remark:
  2823. description: 备注
  2824. type: string
  2825. status:
  2826. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2827. type: integer
  2828. statusdesc:
  2829. description: 账户状态中文描述
  2830. type: string
  2831. telphone:
  2832. description: 联系电话
  2833. type: string
  2834. userid:
  2835. description: 用户ID
  2836. type: integer
  2837. userinfotype:
  2838. description: 客户类型
  2839. type: string
  2840. type: object
  2841. ermcp.QryWarehouseRsp:
  2842. properties:
  2843. address:
  2844. description: 详细地址
  2845. type: string
  2846. areauserid:
  2847. description: 所属机构
  2848. type: integer
  2849. autoid:
  2850. description: 自增ID(仓库ID)
  2851. type: integer
  2852. cityid:
  2853. description: 市
  2854. type: integer
  2855. contactname:
  2856. description: 联系人
  2857. type: string
  2858. contactnum:
  2859. description: 联系电话
  2860. type: string
  2861. countryid:
  2862. description: 国家
  2863. type: integer
  2864. createtime:
  2865. description: 创建时间
  2866. type: string
  2867. districtid:
  2868. description: 区
  2869. type: integer
  2870. hasvideo:
  2871. description: 是否有视频 - 0:无 1:有
  2872. type: integer
  2873. provinceid:
  2874. description: 省
  2875. type: integer
  2876. remark:
  2877. description: 审核备注
  2878. type: string
  2879. videourl:
  2880. description: 视频地址
  2881. type: string
  2882. warehousecode:
  2883. description: 仓库代码
  2884. type: string
  2885. warehousename:
  2886. description: 仓库名称
  2887. type: string
  2888. warehousestatus:
  2889. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2890. type: integer
  2891. warehousetype:
  2892. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2893. type: integer
  2894. type: object
  2895. ermcp.QryWrStandardDetailRsp:
  2896. properties:
  2897. gbList:
  2898. description: 品牌列表
  2899. items:
  2900. $ref: '#/definitions/models.GoodsBrand'
  2901. type: array
  2902. goodsList:
  2903. description: 关联交易商品列表
  2904. items:
  2905. $ref: '#/definitions/models.RelatedGoodsEx'
  2906. type: array
  2907. gtList:
  2908. description: 型号列表
  2909. items:
  2910. $ref: '#/definitions/models.GoodsTypeModel'
  2911. type: array
  2912. wrd:
  2913. $ref: '#/definitions/models.ErmcpWrstandard'
  2914. description: 基本信息
  2915. wrsList:
  2916. description: 套保信息列表
  2917. items:
  2918. $ref: '#/definitions/models.WRSConverTDetail'
  2919. type: array
  2920. type: object
  2921. ermcp.QryWrStandardRsp:
  2922. properties:
  2923. areauserid:
  2924. description: 所属机构
  2925. type: integer
  2926. createtime:
  2927. description: 创建时间
  2928. type: string
  2929. creatorid:
  2930. description: 创建人
  2931. type: integer
  2932. deliverygoodsid:
  2933. description: 品种ID
  2934. type: integer
  2935. enumdicname:
  2936. description: 单位名称
  2937. type: string
  2938. isvalid:
  2939. description: 是否有效 0-无效(停用) 1-有效(正常)
  2940. type: integer
  2941. minivalue:
  2942. description: 最小变动值
  2943. type: integer
  2944. minivaluedp:
  2945. description: 最小变动值小数位
  2946. type: integer
  2947. realminivalue:
  2948. description: 实际最小变动值
  2949. type: integer
  2950. realminivaluedp:
  2951. description: 实际最小变动值小数位
  2952. type: integer
  2953. remark:
  2954. description: 备注
  2955. type: string
  2956. unitid:
  2957. description: 单位ID
  2958. type: integer
  2959. updatetime:
  2960. description: 更新时间
  2961. type: string
  2962. wrstandardcode:
  2963. description: 现货商品代码
  2964. type: string
  2965. wrstandardid:
  2966. description: 现货商品ID(SEQ_WRSTANDARD)
  2967. type: integer
  2968. wrstandardname:
  2969. description: 现货商品名称
  2970. type: string
  2971. type: object
  2972. ermcp.QueryAreaStockApplySumRsp:
  2973. properties:
  2974. brandname:
  2975. description: 品牌名称
  2976. type: string
  2977. inouttype:
  2978. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  2979. type: integer
  2980. modelname:
  2981. description: 型号名称
  2982. type: string
  2983. spotcontractid:
  2984. description: 关联现货合同ID
  2985. type: string
  2986. spotgoodsbrandid:
  2987. description: 品牌id
  2988. type: integer
  2989. spotgoodsmodelid:
  2990. description: 型号id
  2991. type: integer
  2992. totalqty:
  2993. description: 总数量
  2994. type: number
  2995. type: object
  2996. ermcp.QueryErmcpTradePositionRsp:
  2997. properties:
  2998. agreeunit:
  2999. description: 合约单位
  3000. type: number
  3001. buyorsell:
  3002. description: 方向 - 0:买 1:卖
  3003. type: integer
  3004. curpositionqty:
  3005. description: 持仓(总仓数量, 期末头寸)
  3006. type: integer
  3007. curtdposition:
  3008. description: 今仓数量(期末今日头寸)
  3009. type: integer
  3010. curtdpositionenabled:
  3011. description: 今仓可用
  3012. type: integer
  3013. decimalplace:
  3014. description: 报价小数位
  3015. type: integer
  3016. enableqty:
  3017. description: 可用(总仓可用)
  3018. type: integer
  3019. exexchangename:
  3020. description: 外部交易所名称
  3021. type: string
  3022. goodscode:
  3023. description: 商品代码(内部)
  3024. type: string
  3025. goodsid:
  3026. description: 商品ID(自增ID SEQ_GOODS)
  3027. type: integer
  3028. goodsname:
  3029. description: 商品名称
  3030. type: string
  3031. last:
  3032. description: 现价
  3033. type: number
  3034. marketid:
  3035. description: 所属市场ID
  3036. type: integer
  3037. openaverageprice:
  3038. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  3039. type: number
  3040. opencost:
  3041. description: 开仓成本
  3042. type: number
  3043. openpl:
  3044. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  3045. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  3046. type: number
  3047. outgoodscode:
  3048. description: 商品代码(外部)
  3049. type: string
  3050. positionaverageprice:
  3051. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  3052. type: number
  3053. positioncost:
  3054. description: 持仓成本
  3055. type: number
  3056. positionpl:
  3057. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  3058. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  3059. type: number
  3060. positionplrate:
  3061. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  3062. type: number
  3063. usedmargin:
  3064. description: 占用保证金
  3065. type: number
  3066. type: object
  3067. ermcp.RealtimeExposurePositionRsp:
  3068. properties:
  3069. agreeunit:
  3070. description: 合约单位
  3071. type: string
  3072. areauserid:
  3073. description: 所属机构id
  3074. type: integer
  3075. convertratio:
  3076. description: 期货品种系数(折算系数)
  3077. type: number
  3078. curqty:
  3079. description: 当前持仓
  3080. type: integer
  3081. diffhedgeqty:
  3082. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  3083. type: number
  3084. diffqty:
  3085. description: 持仓变动量=当前持仓-昨日持仓
  3086. type: integer
  3087. goodscode:
  3088. description: 商品代码
  3089. type: string
  3090. goodsid:
  3091. description: 商品id
  3092. type: integer
  3093. goodsname:
  3094. description: 商品名称
  3095. type: string
  3096. middlegoodsid:
  3097. description: 套保商品id
  3098. type: integer
  3099. ydqty:
  3100. description: 昨日持仓
  3101. type: integer
  3102. type: object
  3103. ermcp.RealtimeExposureRsp:
  3104. properties:
  3105. AreaUserID:
  3106. description: 所属机构
  3107. type: integer
  3108. BuyFutureQty:
  3109. description: 买入期货数量
  3110. type: number
  3111. BuyPlanQty:
  3112. description: 采购计划数量
  3113. type: number
  3114. BuyPricedQty:
  3115. description: 采购合同已定价数量
  3116. type: number
  3117. MiddleGoodsCode:
  3118. description: 套保品种代码
  3119. type: string
  3120. MiddleGoodsHedgeRatio:
  3121. description: 应套保比例
  3122. type: number
  3123. MiddleGoodsID:
  3124. description: 套保品种
  3125. type: integer
  3126. MiddleGoodsName:
  3127. description: 套保品种名称
  3128. type: string
  3129. NeedHedgeExposoure:
  3130. description: 应套保敞口
  3131. type: number
  3132. NeedHedgeRatio:
  3133. description: 应套保敞口比例
  3134. type: number
  3135. OriBuyFutureQty:
  3136. description: 期初买入期货数量
  3137. type: number
  3138. OriBuyPlanQty:
  3139. description: 期初采购计划数量
  3140. type: number
  3141. OriBuyPricedQty:
  3142. description: 期初采购合同已定价数量
  3143. type: number
  3144. OriSellFutureQty:
  3145. description: 期初卖出期货数量
  3146. type: number
  3147. OriSellPlanQty:
  3148. description: 期初销售计划数量
  3149. type: number
  3150. OriSellPricedQty:
  3151. description: 期初销售合同已定价数量
  3152. type: number
  3153. SellFutureQty:
  3154. description: 卖出期货数量
  3155. type: number
  3156. SellPlanQty:
  3157. description: 销售计划数量
  3158. type: number
  3159. SellPricedQty:
  3160. description: 销售合同已定价数量
  3161. type: number
  3162. TotalExposure:
  3163. description: 总敞口
  3164. type: number
  3165. TotalFutureQty:
  3166. description: 期货数量
  3167. type: number
  3168. TotalHedgeRatio:
  3169. description: 敞口比例
  3170. type: number
  3171. TotalNeedHedgeQty:
  3172. description: 期货应套保量
  3173. type: number
  3174. TotalSpotQty:
  3175. description: 现货数量
  3176. type: number
  3177. diffFutuQty:
  3178. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  3179. type: number
  3180. diffSpotQty:
  3181. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  3182. type: number
  3183. enumdicname:
  3184. description: 单位名称
  3185. type: string
  3186. oriTotalFutuQty:
  3187. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  3188. type: number
  3189. oriTotalSpotQty:
  3190. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  3191. type: number
  3192. type: object
  3193. erms2.QueryArbitrageStrategyRsp:
  3194. properties:
  3195. applybasis:
  3196. description: 申请基差
  3197. type: number
  3198. asapplyid:
  3199. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  3200. type: string
  3201. asname:
  3202. description: 策略名称
  3203. type: string
  3204. asno:
  3205. description: 策略编号
  3206. type: string
  3207. basischangepl:
  3208. description: 基差变动损益[结算更新]
  3209. type: number
  3210. biztype:
  3211. description: 业务类型 - 1:正向套利 -1:反向套利
  3212. type: integer
  3213. closetradedate:
  3214. description: 完结交易日(yyyyMMdd)
  3215. type: string
  3216. curbasis:
  3217. description: 当前基差[结算更新]
  3218. type: number
  3219. deliverygoodsid:
  3220. description: 现货品种ID
  3221. type: integer
  3222. futureavgprice:
  3223. description: 期货建仓均价
  3224. type: number
  3225. futurecloseamount:
  3226. description: 期货平仓金额
  3227. type: number
  3228. futurecloseqty:
  3229. description: 期货平仓数量
  3230. type: number
  3231. futureopenamount:
  3232. description: 期货开仓金额
  3233. type: number
  3234. futureopenqty:
  3235. description: 期货开仓数量
  3236. type: number
  3237. futurepl:
  3238. description: 期货总盈亏[结算更新]
  3239. type: number
  3240. futureqty:
  3241. description: 期货持仓数量
  3242. type: number
  3243. futurequote:
  3244. description: 期货额度
  3245. type: number
  3246. goodsgroupid:
  3247. description: 期货品种ID
  3248. type: integer
  3249. marketid:
  3250. description: 市场ID
  3251. type: integer
  3252. netexposure:
  3253. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  3254. type: number
  3255. netexposurepl:
  3256. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  3257. type: number
  3258. netexposurerate:
  3259. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  3260. type: number
  3261. openbasis:
  3262. description: 建仓基差
  3263. type: number
  3264. pricedspotqty:
  3265. description: 已定价现货数量
  3266. type: number
  3267. pricedspotqtynotax:
  3268. description: 已定价现货不含税数量
  3269. type: number
  3270. remark:
  3271. description: 备注
  3272. type: string
  3273. spotavgprice:
  3274. description: 现货均价
  3275. type: number
  3276. spotbuyamount:
  3277. description: 现货采购金额
  3278. type: number
  3279. spotbuyqty:
  3280. description: 现货采购数量
  3281. type: number
  3282. spotpl:
  3283. description: 现货总盈亏[结算更新]
  3284. type: number
  3285. spotquota:
  3286. description: 现货额度
  3287. type: number
  3288. spotsellamount:
  3289. description: 现货销售金额
  3290. type: number
  3291. spotsellqty:
  3292. description: 现货销售数量
  3293. type: number
  3294. spotusedquota:
  3295. description: 现货占用资金
  3296. type: number
  3297. strategystatus:
  3298. description: 策略状态 - 0:未结束 1:已结束
  3299. type: integer
  3300. totalpl:
  3301. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  3302. type: number
  3303. tradedate:
  3304. description: 交易日(yyyyMMdd)
  3305. type: string
  3306. updatetime:
  3307. description: 更新时间
  3308. type: string
  3309. usedquota:
  3310. description: 已占用资金
  3311. type: number
  3312. userid:
  3313. description: 所属机构
  3314. type: integer
  3315. required:
  3316. - asapplyid
  3317. type: object
  3318. erms2.QueryInnerTradeDetailRsp:
  3319. properties:
  3320. accountid:
  3321. description: 账号ID
  3322. type: integer
  3323. agreeunit:
  3324. description: 合约单位
  3325. type: number
  3326. asapplyid:
  3327. description: 策略申请ID
  3328. type: integer
  3329. asname:
  3330. description: 策略名称
  3331. type: string
  3332. asno:
  3333. description: 策略编号
  3334. type: string
  3335. buyorsell:
  3336. description: 方向 - 0:买 1:卖
  3337. type: integer
  3338. channelbuildtype:
  3339. description: 委托单据类型 0:无 1:建仓 2:平仓
  3340. type: integer
  3341. closetype:
  3342. description: 平仓方式 - 0:无 1:平今 2:平昨
  3343. type: integer
  3344. decimalplace:
  3345. description: 报价小数位
  3346. type: integer
  3347. detailtype:
  3348. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  3349. type: integer
  3350. exexchangecode:
  3351. description: 外部交易所代码
  3352. type: string
  3353. exexchangename:
  3354. description: 外部交易所名称
  3355. type: string
  3356. goodscode:
  3357. description: 商品代码(合约)
  3358. type: string
  3359. goodsgroupid:
  3360. description: 商品组ID(品种ID)
  3361. type: integer
  3362. goodsgroupname:
  3363. description: 商品组名称(品种)
  3364. type: string
  3365. goodsid:
  3366. description: 商品ID
  3367. type: integer
  3368. goodsname:
  3369. description: 商品名称(合约)
  3370. type: string
  3371. goodunit:
  3372. description: 报价单位
  3373. type: string
  3374. marketid:
  3375. description: 市场ID
  3376. type: integer
  3377. orderid:
  3378. description: 委托单号
  3379. type: string
  3380. outgoodscode:
  3381. description: 商品代码(外部)
  3382. type: string
  3383. relatedouttradeid:
  3384. description: 关联外部成交单ID
  3385. type: string
  3386. remark:
  3387. description: 备注
  3388. type: string
  3389. spotcontractid:
  3390. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  3391. type: integer
  3392. spotcontractno:
  3393. description: 现货合同编号
  3394. type: string
  3395. tradeid:
  3396. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3397. type: string
  3398. tradeprice:
  3399. description: 成交价格
  3400. type: number
  3401. tradeqty:
  3402. description: 成交数量
  3403. type: integer
  3404. tradetime:
  3405. description: 成交时间
  3406. type: string
  3407. updatetime:
  3408. description: 更新时间
  3409. type: string
  3410. required:
  3411. - asapplyid
  3412. - buyorsell
  3413. - goodscode
  3414. - goodsgroupid
  3415. - goodsgroupname
  3416. - goodsname
  3417. - tradeid
  3418. type: object
  3419. erms2.QuerySpotContractRsp:
  3420. properties:
  3421. accountid:
  3422. description: 资金账户ID
  3423. type: integer
  3424. areauserid:
  3425. description: 所属机构
  3426. type: integer
  3427. closedate:
  3428. description: 终止日期
  3429. type: string
  3430. closeremark:
  3431. description: 结束备注
  3432. type: string
  3433. closetradedate:
  3434. description: 完结交易日(yyyyMMdd)
  3435. type: string
  3436. closetype:
  3437. description: 终止类型 - 1:违约 2:提前终止
  3438. type: integer
  3439. contractamount:
  3440. description: 合同金额
  3441. type: number
  3442. contractattachment:
  3443. description: 合同附件
  3444. type: string
  3445. contractno:
  3446. description: 现货合同编号
  3447. type: string
  3448. contractqty:
  3449. description: 合同数量(数值) (用于计算)
  3450. type: number
  3451. contractqtychar:
  3452. description: 合同数量\已订价数量 (用于显示)
  3453. type: string
  3454. contractstatus:
  3455. description: 合同状态 - 0:未结束 1:已结束
  3456. type: integer
  3457. contracttype:
  3458. description: 现货合同类型 - 1:采购合同 -1:销售合同
  3459. type: integer
  3460. customeraccountid:
  3461. description: 客户资金账户ID
  3462. type: integer
  3463. customeruserid:
  3464. description: 客户ID
  3465. type: integer
  3466. deliverygoodsdesc:
  3467. description: 品种说明
  3468. type: string
  3469. deliverygoodsid:
  3470. description: 现货品种ID
  3471. type: integer
  3472. handlestatus:
  3473. description: 处理状态
  3474. type: integer
  3475. invoiceatt:
  3476. description: 发票附件
  3477. type: string
  3478. invoicedatetime:
  3479. description: 开收票更新时间
  3480. type: string
  3481. invoiceopentime:
  3482. description: 开票时间
  3483. type: string
  3484. invoiceremark:
  3485. description: 发票备注
  3486. type: string
  3487. invoicestatus:
  3488. description: 开收票状态 - 0:未开票 1:已开票
  3489. type: integer
  3490. lastdate:
  3491. description: 交货时间
  3492. type: string
  3493. marketid:
  3494. description: 市场ID
  3495. type: integer
  3496. paydatetime:
  3497. description: 收付款更新时间
  3498. type: string
  3499. payremark:
  3500. description: 收付款备注
  3501. type: string
  3502. paystatus:
  3503. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  3504. type: integer
  3505. positionqty:
  3506. description: 头寸数量 - 合同数量去小数部分
  3507. type: integer
  3508. producttype:
  3509. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3510. type: integer
  3511. relatedqty:
  3512. description: 已关联数量
  3513. type: number
  3514. relatedstatus:
  3515. description: 关联完结状态 - 0:未结束 1:已结束
  3516. type: integer
  3517. remark:
  3518. description: 备注
  3519. type: string
  3520. signdate:
  3521. description: 签订日期
  3522. type: string
  3523. spotcontractid:
  3524. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  3525. type: string
  3526. spotdatetime:
  3527. description: 收发货更新时间
  3528. type: string
  3529. spotprice:
  3530. description: 价格
  3531. type: number
  3532. spotremark:
  3533. description: 收发货备注
  3534. type: string
  3535. spotstatus:
  3536. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  3537. type: integer
  3538. tradedate:
  3539. description: 交易日(yyyyMMdd)
  3540. type: string
  3541. userid:
  3542. description: 业务员用户ID
  3543. type: integer
  3544. warehouseid:
  3545. description: 仓库ID
  3546. type: integer
  3547. wrfactortypeid:
  3548. description: 仓单要素类型ID
  3549. type: integer
  3550. wrstandardid:
  3551. description: 仓单标准ID(SEQ_WRSTANDARD)
  3552. type: integer
  3553. required:
  3554. - spotcontractid
  3555. type: object
  3556. erms3.AddErms2ASApplyReq:
  3557. properties:
  3558. applybasis:
  3559. description: 申请基差
  3560. type: number
  3561. applystatus:
  3562. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3563. type: integer
  3564. asapplyid:
  3565. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  3566. type: integer
  3567. asname:
  3568. description: 策略名称
  3569. type: string
  3570. asno:
  3571. description: 策略编号
  3572. type: string
  3573. auditid:
  3574. description: 审核人
  3575. type: integer
  3576. auditremark:
  3577. description: 审核备注
  3578. type: string
  3579. audittime:
  3580. description: 审核时间
  3581. type: string
  3582. biztype:
  3583. description: 业务类型 - 1:正向套利 2:反向套利
  3584. type: integer
  3585. createtime:
  3586. description: 创建时间
  3587. type: string
  3588. creatorid:
  3589. description: 创建人
  3590. type: integer
  3591. deliverygoodsid:
  3592. description: 现货品种ID
  3593. type: integer
  3594. futurequote:
  3595. description: 期货额度
  3596. type: number
  3597. goodsgroupid:
  3598. description: 期货品种ID
  3599. type: integer
  3600. marketid:
  3601. description: 市场ID
  3602. type: integer
  3603. remark:
  3604. description: 备注
  3605. type: string
  3606. spotquota:
  3607. description: 现货额度
  3608. type: number
  3609. tradedate:
  3610. description: 交易日(yyyyMMdd)
  3611. type: string
  3612. userid:
  3613. description: 所属机构
  3614. type: integer
  3615. required:
  3616. - asapplyid
  3617. type: object
  3618. erms3.AddErms2SpotTradeApplyReq:
  3619. properties:
  3620. applyjsondetail:
  3621. description: 申请明细(JSON)
  3622. type: string
  3623. applystatus:
  3624. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3625. type: integer
  3626. areauserid:
  3627. description: 所属机构
  3628. type: integer
  3629. auditid:
  3630. description: 审核人
  3631. type: integer
  3632. auditremark:
  3633. description: 审核备注
  3634. type: string
  3635. audittime:
  3636. description: 审核时间
  3637. type: string
  3638. createtime:
  3639. description: 创建时间
  3640. type: string
  3641. creatorid:
  3642. description: 创建人
  3643. type: integer
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. futureaccountid:
  3648. description: 期货资金账户
  3649. type: integer
  3650. goodsgroupid:
  3651. description: 期货品种
  3652. type: integer
  3653. marketid:
  3654. description: 市场ID
  3655. type: integer
  3656. remark:
  3657. description: 备注
  3658. type: string
  3659. spotaccountid:
  3660. description: 现货资金账户
  3661. type: integer
  3662. spottradeid:
  3663. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  3664. type: integer
  3665. spottradename:
  3666. description: 业务名称
  3667. type: string
  3668. spottradeno:
  3669. description: 业务编号
  3670. type: string
  3671. tradedate:
  3672. description: 交易日(yyyyMMdd)
  3673. type: string
  3674. wrstandardid:
  3675. description: 仓单标准ID
  3676. type: integer
  3677. required:
  3678. - spottradeid
  3679. type: object
  3680. erms3.AddSpotContractApplyReq:
  3681. properties:
  3682. accountid:
  3683. description: 资金账户ID
  3684. type: integer
  3685. areauserid:
  3686. description: 所属机构
  3687. type: integer
  3688. contractattachment:
  3689. description: 合同附件
  3690. type: string
  3691. contractno:
  3692. description: 现货合同编号
  3693. type: string
  3694. contracttype:
  3695. description: 现货合同类型 - 1:采购 -1:销售
  3696. type: integer
  3697. creatorid:
  3698. description: 申请人
  3699. type: integer
  3700. customeraccountid:
  3701. description: 客户资金账户ID
  3702. type: integer
  3703. customeruserid:
  3704. description: 客户ID
  3705. type: integer
  3706. details:
  3707. description: 明细
  3708. items:
  3709. $ref: '#/definitions/erms3.SoptContractDetail'
  3710. type: array
  3711. orimargin:
  3712. description: 初始保证金
  3713. type: number
  3714. remark:
  3715. description: 备注
  3716. type: string
  3717. signdate:
  3718. description: 签订日期
  3719. type: string
  3720. required:
  3721. - accountid
  3722. - areauserid
  3723. - contractno
  3724. - contracttype
  3725. - customeraccountid
  3726. - customeruserid
  3727. - details
  3728. - orimargin
  3729. - signdate
  3730. type: object
  3731. erms3.AddSpotContractApplyRsp:
  3732. properties:
  3733. contractno:
  3734. description: 现货合同编号
  3735. type: string
  3736. spotcontractid:
  3737. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  3738. type: integer
  3739. required:
  3740. - contractno
  3741. type: object
  3742. erms3.AddUserInfoApplyReq:
  3743. properties:
  3744. accountid:
  3745. description: 交易系统帐号Id (加密存储)
  3746. type: integer
  3747. areacode:
  3748. description: 机构代码
  3749. type: string
  3750. areaid:
  3751. description: 机构Id
  3752. type: integer
  3753. attachment1:
  3754. description: 附件1
  3755. type: string
  3756. attachment2:
  3757. description: 附件2
  3758. type: string
  3759. attachment3:
  3760. description: 附件3
  3761. type: string
  3762. attachment4:
  3763. description: 附件4
  3764. type: string
  3765. attachment5:
  3766. description: 附件5
  3767. type: string
  3768. auditedby:
  3769. description: 审核人
  3770. type: string
  3771. auditime:
  3772. description: 审核时间
  3773. type: string
  3774. bankaccount:
  3775. description: 银行帐号 (加密存储)
  3776. type: string
  3777. bankaccountname:
  3778. description: 收款人名称
  3779. type: string
  3780. bankcardbackphotourl:
  3781. description: 银行卡背面照地址
  3782. type: string
  3783. bankcardfrontphotourl:
  3784. description: 银行卡正面照地址
  3785. type: string
  3786. bankid:
  3787. description: 银行编码
  3788. type: string
  3789. bankname:
  3790. description: 银行名称
  3791. type: string
  3792. bankpictureurl:
  3793. description: 银行卡正面地址
  3794. type: string
  3795. biznature:
  3796. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3797. type: integer
  3798. bizscope:
  3799. description: 企业经营范围(企业)
  3800. type: string
  3801. biztype:
  3802. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3803. type: integer
  3804. brokerid:
  3805. description: 经纪人ID(加密存储)
  3806. type: string
  3807. cardaddress:
  3808. description: 证件地址 (加密存储)
  3809. type: string
  3810. cardbackphotourl:
  3811. description: 背面证件照地址
  3812. type: string
  3813. cardfrontphotourl:
  3814. description: 正面证件照地址
  3815. type: string
  3816. cardnum:
  3817. description: 证件号码 (加密存储)
  3818. type: string
  3819. cardtype:
  3820. description: 证件类型
  3821. type: integer
  3822. cityid:
  3823. description: 市
  3824. type: integer
  3825. company:
  3826. description: 公司(个人)
  3827. type: string
  3828. contactcardbackphotourl:
  3829. description: 联系人证件背面图片地址
  3830. type: string
  3831. contactcardfrontphotourl:
  3832. description: 联系人证件正面图片地址
  3833. type: string
  3834. contactname:
  3835. description: 联系人
  3836. type: string
  3837. countryid:
  3838. description: 国家
  3839. type: integer
  3840. createtime:
  3841. description: 开户申请时间
  3842. type: string
  3843. cusbankid:
  3844. description: 签约类型
  3845. type: string
  3846. cusbankname:
  3847. description: 签约类型名称
  3848. type: string
  3849. customername:
  3850. description: 客户名称(企业名称)
  3851. type: string
  3852. districtid:
  3853. description: 地区
  3854. type: integer
  3855. email:
  3856. description: Email地址(加密存储)
  3857. type: string
  3858. halfbodyphotourl:
  3859. description: 半身照地址
  3860. type: string
  3861. headurl:
  3862. description: 头像地址
  3863. type: string
  3864. ipaddress:
  3865. description: IP地址
  3866. type: string
  3867. isvalidate:
  3868. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3869. type: string
  3870. legalcardbackphotourl:
  3871. description: 法人身份证背面照地址
  3872. type: string
  3873. legalcardfrontphotourl:
  3874. description: 法人身份证正面照地址
  3875. type: string
  3876. legalpersonname:
  3877. description: 法人姓名(企业)
  3878. type: string
  3879. logincode:
  3880. description: 登录帐号 (加密存储)
  3881. type: string
  3882. memberareaid:
  3883. description: 所属会员ID
  3884. type: integer
  3885. mobile2:
  3886. description: 手机号码[明文-尚志]
  3887. type: string
  3888. mobilephone:
  3889. description: 手机号码 (加密存储)
  3890. type: string
  3891. modifiedby:
  3892. description: 修改人帐号
  3893. type: integer
  3894. modifiedtime:
  3895. description: 修改时间
  3896. type: string
  3897. nickname:
  3898. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3899. type: string
  3900. openmode:
  3901. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3902. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3903. type: integer
  3904. otherurl:
  3905. description: 其它图片地址[使用分号分隔]
  3906. type: string
  3907. postalcode:
  3908. description: 邮政编码
  3909. type: string
  3910. provinceid:
  3911. description: 省
  3912. type: integer
  3913. proxystatementurl:
  3914. description: 授权委托书
  3915. type: string
  3916. qq:
  3917. description: QQ(加密存储
  3918. type: string
  3919. referral:
  3920. description: 推荐人编码
  3921. type: string
  3922. remark:
  3923. description: 备注
  3924. type: string
  3925. removebeforestatus:
  3926. description: REMOVEBEFORESTATUS
  3927. type: integer
  3928. sex:
  3929. description: 性别 - 0:女 1:男
  3930. type: integer
  3931. signedstatus:
  3932. description: 账户一号签签约状态
  3933. type: integer
  3934. signpdfurl:
  3935. description: 签约pdf文件
  3936. type: string
  3937. subbranch:
  3938. description: 开户支行
  3939. type: string
  3940. telphone:
  3941. description: 联系电话(加密存储)
  3942. type: string
  3943. userid:
  3944. description: 用户ID(自增ID)
  3945. type: integer
  3946. userinfotype:
  3947. description: 用户信息类型 - 1:个人 2:企业
  3948. type: integer
  3949. username:
  3950. description: 用户姓名
  3951. type: string
  3952. userstate:
  3953. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3954. type: integer
  3955. usertype:
  3956. description: 用户类型 - 1:投资者 2:机构
  3957. type: integer
  3958. videourl:
  3959. description: 视频地址
  3960. type: string
  3961. wechat:
  3962. description: 微信号 (加密存储)
  3963. type: string
  3964. required:
  3965. - userid
  3966. type: object
  3967. erms3.CustomerInfo:
  3968. properties:
  3969. accountids:
  3970. description: 资金账户ID列表
  3971. items:
  3972. type: integer
  3973. type: array
  3974. customername:
  3975. description: 名称(企业名称)
  3976. type: string
  3977. mobile:
  3978. description: 手机号码
  3979. type: string
  3980. userid:
  3981. description: 用户ID
  3982. type: integer
  3983. required:
  3984. - userid
  3985. type: object
  3986. erms3.ModifyUserInfoApplyReq:
  3987. properties:
  3988. accountid:
  3989. description: 交易系统帐号Id (加密存储)
  3990. type: integer
  3991. areacode:
  3992. description: 机构代码
  3993. type: string
  3994. areaid:
  3995. description: 机构Id
  3996. type: integer
  3997. attachment1:
  3998. description: 附件1
  3999. type: string
  4000. attachment2:
  4001. description: 附件2
  4002. type: string
  4003. attachment3:
  4004. description: 附件3
  4005. type: string
  4006. attachment4:
  4007. description: 附件4
  4008. type: string
  4009. attachment5:
  4010. description: 附件5
  4011. type: string
  4012. auditedby:
  4013. description: 审核人
  4014. type: string
  4015. auditime:
  4016. description: 审核时间
  4017. type: string
  4018. bankaccount:
  4019. description: 银行帐号 (加密存储)
  4020. type: string
  4021. bankaccountname:
  4022. description: 收款人名称
  4023. type: string
  4024. bankcardbackphotourl:
  4025. description: 银行卡背面照地址
  4026. type: string
  4027. bankcardfrontphotourl:
  4028. description: 银行卡正面照地址
  4029. type: string
  4030. bankid:
  4031. description: 银行编码
  4032. type: string
  4033. bankname:
  4034. description: 银行名称
  4035. type: string
  4036. bankpictureurl:
  4037. description: 银行卡正面地址
  4038. type: string
  4039. biznature:
  4040. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4041. type: integer
  4042. bizscope:
  4043. description: 企业经营范围(企业)
  4044. type: string
  4045. biztype:
  4046. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  4047. type: integer
  4048. brokerid:
  4049. description: 经纪人ID(加密存储)
  4050. type: string
  4051. cardaddress:
  4052. description: 证件地址 (加密存储)
  4053. type: string
  4054. cardbackphotourl:
  4055. description: 背面证件照地址
  4056. type: string
  4057. cardfrontphotourl:
  4058. description: 正面证件照地址
  4059. type: string
  4060. cardnum:
  4061. description: 证件号码 (加密存储)
  4062. type: string
  4063. cardtype:
  4064. description: 证件类型
  4065. type: integer
  4066. cityid:
  4067. description: 市
  4068. type: integer
  4069. company:
  4070. description: 公司(个人)
  4071. type: string
  4072. contactcardbackphotourl:
  4073. description: 联系人证件背面图片地址
  4074. type: string
  4075. contactcardfrontphotourl:
  4076. description: 联系人证件正面图片地址
  4077. type: string
  4078. contactname:
  4079. description: 联系人
  4080. type: string
  4081. countryid:
  4082. description: 国家
  4083. type: integer
  4084. createtime:
  4085. description: 开户申请时间
  4086. type: string
  4087. cusbankid:
  4088. description: 签约类型
  4089. type: string
  4090. cusbankname:
  4091. description: 签约类型名称
  4092. type: string
  4093. customername:
  4094. description: 客户名称(企业名称)
  4095. type: string
  4096. districtid:
  4097. description: 地区
  4098. type: integer
  4099. email:
  4100. description: Email地址(加密存储)
  4101. type: string
  4102. halfbodyphotourl:
  4103. description: 半身照地址
  4104. type: string
  4105. headurl:
  4106. description: 头像地址
  4107. type: string
  4108. ipaddress:
  4109. description: IP地址
  4110. type: string
  4111. isvalidate:
  4112. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  4113. type: string
  4114. legalcardbackphotourl:
  4115. description: 法人身份证背面照地址
  4116. type: string
  4117. legalcardfrontphotourl:
  4118. description: 法人身份证正面照地址
  4119. type: string
  4120. legalpersonname:
  4121. description: 法人姓名(企业)
  4122. type: string
  4123. logincode:
  4124. description: 登录帐号 (加密存储)
  4125. type: string
  4126. memberareaid:
  4127. description: 所属会员ID
  4128. type: integer
  4129. mobile2:
  4130. description: 手机号码[明文-尚志]
  4131. type: string
  4132. mobilephone:
  4133. description: 手机号码 (加密存储)
  4134. type: string
  4135. modifiedby:
  4136. description: 修改人帐号
  4137. type: integer
  4138. modifiedtime:
  4139. description: 修改时间
  4140. type: string
  4141. nickname:
  4142. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  4143. type: string
  4144. openmode:
  4145. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  4146. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  4147. type: integer
  4148. otherurl:
  4149. description: 其它图片地址[使用分号分隔]
  4150. type: string
  4151. postalcode:
  4152. description: 邮政编码
  4153. type: string
  4154. provinceid:
  4155. description: 省
  4156. type: integer
  4157. proxystatementurl:
  4158. description: 授权委托书
  4159. type: string
  4160. qq:
  4161. description: QQ(加密存储
  4162. type: string
  4163. referral:
  4164. description: 推荐人编码
  4165. type: string
  4166. remark:
  4167. description: 备注
  4168. type: string
  4169. removebeforestatus:
  4170. description: REMOVEBEFORESTATUS
  4171. type: integer
  4172. sex:
  4173. description: 性别 - 0:女 1:男
  4174. type: integer
  4175. signedstatus:
  4176. description: 账户一号签签约状态
  4177. type: integer
  4178. signpdfurl:
  4179. description: 签约pdf文件
  4180. type: string
  4181. subbranch:
  4182. description: 开户支行
  4183. type: string
  4184. telphone:
  4185. description: 联系电话(加密存储)
  4186. type: string
  4187. userid:
  4188. description: 用户ID(自增ID)
  4189. type: integer
  4190. userinfotype:
  4191. description: 用户信息类型 - 1:个人 2:企业
  4192. type: integer
  4193. username:
  4194. description: 用户姓名
  4195. type: string
  4196. userstate:
  4197. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  4198. type: integer
  4199. usertype:
  4200. description: 用户类型 - 1:投资者 2:机构
  4201. type: integer
  4202. videourl:
  4203. description: 视频地址
  4204. type: string
  4205. wechat:
  4206. description: 微信号 (加密存储)
  4207. type: string
  4208. required:
  4209. - userid
  4210. type: object
  4211. erms3.QryAuditContractRsp:
  4212. properties:
  4213. accountid:
  4214. description: 交易员ID
  4215. type: string
  4216. applystatus:
  4217. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  4218. type: integer
  4219. curdeliveryqty:
  4220. description: 未交收量
  4221. type: integer
  4222. customername:
  4223. description: 采购方ID
  4224. type: string
  4225. deliverygoodsid:
  4226. description: 品种ID
  4227. type: string
  4228. deliveryqty:
  4229. description: 交收量
  4230. type: integer
  4231. enumdicname:
  4232. description: 单位名称
  4233. type: string
  4234. matchaccountid:
  4235. description: 业务员ID
  4236. type: string
  4237. matchcustomername:
  4238. description: 销售方ID
  4239. type: string
  4240. pricedqty:
  4241. description: 定价量
  4242. type: number
  4243. signdate:
  4244. description: 签订日期
  4245. type: string
  4246. spotcontractid:
  4247. description: 合同ID
  4248. type: string
  4249. totaldqty:
  4250. description: 合同量
  4251. type: number
  4252. unpricedqty:
  4253. description: 未定价量
  4254. type: number
  4255. wrstandardname:
  4256. description: 商品名称
  4257. type: string
  4258. required:
  4259. - matchcustomername
  4260. - spotcontractid
  4261. type: object
  4262. erms3.QryPendingBizRsp:
  4263. properties:
  4264. accountid:
  4265. description: 现货账户
  4266. type: string
  4267. areaname:
  4268. description: 所属部门
  4269. type: string
  4270. bizid:
  4271. description: 业务ID
  4272. type: string
  4273. bizname:
  4274. description: 业务名称
  4275. type: string
  4276. status:
  4277. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  4278. type: integer
  4279. type:
  4280. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  4281. type: integer
  4282. type: object
  4283. erms3.QueryBusinessInfoRsp:
  4284. properties:
  4285. businessid:
  4286. description: 业务ID.
  4287. type: integer
  4288. buyamount:
  4289. description: 采购额.
  4290. type: number
  4291. buyqty:
  4292. description: 采购量.
  4293. type: string
  4294. futurepl:
  4295. description: 期货盈亏.
  4296. type: number
  4297. futureqty:
  4298. description: 期货敞口.
  4299. type: string
  4300. goodsid:
  4301. description: 商品名称/商品代码.
  4302. type: string
  4303. hedgingqty:
  4304. description: 套保量.
  4305. type: string
  4306. sellamount:
  4307. description: 销售额.
  4308. type: number
  4309. sellqty:
  4310. description: 销售量.
  4311. type: string
  4312. spotmarketvalue:
  4313. description: 现货市值.
  4314. type: number
  4315. spotpl:
  4316. description: 浮动权益.
  4317. type: number
  4318. spotqty:
  4319. description: 现货量.
  4320. type: string
  4321. statu:
  4322. description: 状态,0-未结束 1-已结束.
  4323. type: integer
  4324. totalpl:
  4325. description: 总盈亏.
  4326. type: number
  4327. totalqty:
  4328. description: 总敞口.
  4329. type: string
  4330. type:
  4331. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  4332. type: integer
  4333. type: object
  4334. erms3.QuerySpotContractAppleFormRsp:
  4335. properties:
  4336. goodses:
  4337. description: 合约列表
  4338. items:
  4339. $ref: '#/definitions/models.GoodsIDAndName'
  4340. type: array
  4341. oppositeusers:
  4342. description: 对方账号列表
  4343. items:
  4344. $ref: '#/definitions/erms3.CustomerInfo'
  4345. type: array
  4346. ouruser:
  4347. $ref: '#/definitions/erms3.CustomerInfo'
  4348. description: 我方账号
  4349. warehouseinfos:
  4350. description: 仓库信息列表
  4351. items:
  4352. $ref: '#/definitions/models.Warehouseinfo'
  4353. type: array
  4354. wrstandards:
  4355. description: 仓单标准列表
  4356. items:
  4357. $ref: '#/definitions/models.WRStandardInfo'
  4358. type: array
  4359. type: object
  4360. erms3.QuerySpotContractInfoRsp:
  4361. properties:
  4362. accountid:
  4363. description: 表示交易员ID.
  4364. type: integer
  4365. curdeliveryqty:
  4366. description: 表示未交收量.
  4367. type: number
  4368. customername:
  4369. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  4370. type: string
  4371. deliverygoodsid:
  4372. description: 表示品种ID.
  4373. type: string
  4374. deliveryqty:
  4375. description: 表示交收量.
  4376. type: number
  4377. matchaccountid:
  4378. description: 表示业务员ID.
  4379. type: integer
  4380. matchcustomername:
  4381. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  4382. type: string
  4383. priceqty:
  4384. description: 表示定价量.
  4385. type: number
  4386. relatedbizid:
  4387. description: 表示业务ID.
  4388. type: string
  4389. signdate:
  4390. description: 表示签订日期.
  4391. type: string
  4392. spotcontractid:
  4393. description: 合同ID
  4394. type: string
  4395. status:
  4396. description: 表示状态,0-履约中 1-已完成.
  4397. type: integer
  4398. totalqty:
  4399. description: 表示合同量.
  4400. type: number
  4401. unpricedqty:
  4402. description: 表示未定价量.
  4403. type: number
  4404. wrstandardname:
  4405. description: 表示商品ID.
  4406. type: string
  4407. type: object
  4408. erms3.QueryUserInfoAppliesRsp:
  4409. properties:
  4410. biznature:
  4411. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4412. type: integer
  4413. contactname:
  4414. description: 联系人
  4415. type: string
  4416. createtime:
  4417. description: 开户申请时间
  4418. type: string
  4419. userid:
  4420. description: 用户ID(自增ID)
  4421. type: integer
  4422. userinfotype:
  4423. description: 用户信息类型 - 1:个人 2:企业
  4424. type: integer
  4425. username:
  4426. description: 用户姓名
  4427. type: string
  4428. userstate:
  4429. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  4430. type: integer
  4431. required:
  4432. - userid
  4433. type: object
  4434. erms3.QueryUserInfosRsp:
  4435. properties:
  4436. biznature:
  4437. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4438. type: integer
  4439. contactname:
  4440. description: 联系人
  4441. type: string
  4442. customername:
  4443. description: 客户名称(企业名称)
  4444. type: string
  4445. userid:
  4446. description: 用户ID
  4447. type: integer
  4448. userinfotype:
  4449. description: 用户信息类型 - 1:个人 2:企业
  4450. type: integer
  4451. userstatus:
  4452. description: 用户状态 - 1:正常 2:注销
  4453. type: integer
  4454. required:
  4455. - userid
  4456. type: object
  4457. erms3.SoptContractDetail:
  4458. properties:
  4459. deliverygoodsdesc:
  4460. description: 现货品种说明
  4461. type: string
  4462. deliverygoodsid:
  4463. description: 现货品种ID
  4464. type: integer
  4465. deliverygoodsname:
  4466. description: 现货品种名称
  4467. type: string
  4468. pointdesc:
  4469. description: 点价描述
  4470. type: string
  4471. producttype:
  4472. description: 产品类型 1:标准仓单 2:等标 3:非标
  4473. type: integer
  4474. producttypename:
  4475. description: 产品类型名称
  4476. type: string
  4477. spotPointOrderVoList:
  4478. description: 点价列表
  4479. items:
  4480. $ref: '#/definitions/erms3.SpotPointOrder'
  4481. type: array
  4482. spotPriceOrderList:
  4483. description: 定价列表
  4484. items:
  4485. $ref: '#/definitions/erms3.SpotPriceOrder'
  4486. type: array
  4487. unitname:
  4488. description: 单位名称
  4489. type: string
  4490. warehouseid:
  4491. description: 仓库ID
  4492. type: integer
  4493. warehousename:
  4494. description: 仓库名称
  4495. type: string
  4496. wrstandardid:
  4497. description: 交易标的ID
  4498. type: integer
  4499. wrstandardname:
  4500. description: 交易标的名称
  4501. type: string
  4502. required:
  4503. - deliverygoodsid
  4504. - producttype
  4505. - unitname
  4506. - warehouseid
  4507. - wrstandardid
  4508. - wrstandardname
  4509. type: object
  4510. erms3.SpotPointOrder:
  4511. properties:
  4512. basic:
  4513. description: 基差
  4514. type: number
  4515. deliveryenddate:
  4516. description: 交收结束日期
  4517. type: string
  4518. deliverystartdate:
  4519. description: 交收开始日期
  4520. type: string
  4521. enddate:
  4522. description: 点价结束日期
  4523. type: string
  4524. goodsid:
  4525. description: 商品ID
  4526. type: integer
  4527. goodsname:
  4528. description: 商品名称
  4529. type: string
  4530. qty:
  4531. description: 数量
  4532. type: number
  4533. startdate:
  4534. description: 点价开始日期
  4535. type: string
  4536. required:
  4537. - basic
  4538. - goodsid
  4539. - qty
  4540. type: object
  4541. erms3.SpotPriceOrder:
  4542. properties:
  4543. amount:
  4544. description: 金额
  4545. type: number
  4546. deliveryenddate:
  4547. description: 交收结束日期
  4548. type: string
  4549. deliverystartdate:
  4550. description: 交收开始日期
  4551. type: string
  4552. price:
  4553. description: 价格
  4554. type: number
  4555. qty:
  4556. description: 数量
  4557. type: number
  4558. required:
  4559. - amount
  4560. - price
  4561. - qty
  4562. type: object
  4563. hsby.GetHsbyMyCountRsp:
  4564. properties:
  4565. myCouponCount:
  4566. description: 我的优惠卷数量
  4567. type: integer
  4568. myOrderDetailListingCount:
  4569. description: 我的订单求购中数量
  4570. type: integer
  4571. myOrderDetailPreCount:
  4572. description: 我的订单抢购中数量
  4573. type: integer
  4574. myPackageUnReceiveCount:
  4575. description: 我的包裹待收货数量
  4576. type: integer
  4577. myPackageUnSendCount:
  4578. description: 我的包裹待发货数量
  4579. type: integer
  4580. myPayOrderCount:
  4581. description: 我的订单待付款数量
  4582. type: integer
  4583. type: object
  4584. hsby.QueryProvincesAndCitiesRsp:
  4585. properties:
  4586. cities:
  4587. description: 市
  4588. items:
  4589. $ref: '#/definitions/models.Division'
  4590. type: array
  4591. province:
  4592. $ref: '#/definitions/models.Division'
  4593. description: 省
  4594. type: object
  4595. models.Clientfixedadconfig:
  4596. properties:
  4597. adsort:
  4598. description: 排序
  4599. type: integer
  4600. adtype:
  4601. description: 广告位类型 - 1:新品抢购(HSBY)
  4602. type: integer
  4603. areauserid:
  4604. description: 所属机构ID
  4605. type: integer
  4606. createdate:
  4607. description: 创建时间
  4608. type: string
  4609. creatorid:
  4610. description: 创建人
  4611. type: integer
  4612. imagepath:
  4613. description: 图片
  4614. type: string
  4615. isshow:
  4616. description: 是否展示 - 0:不展示 1:展示
  4617. type: integer
  4618. modifierid:
  4619. description: 操作人
  4620. type: integer
  4621. recsize:
  4622. description: 推荐尺寸
  4623. type: string
  4624. title:
  4625. description: 标题
  4626. type: string
  4627. updatedate:
  4628. description: 更新时间
  4629. type: string
  4630. urlcontent:
  4631. description: 链接(地址或商品ID)
  4632. type: string
  4633. urltype:
  4634. description: 链接类型 - 1:直接地址 2:商品ID
  4635. type: integer
  4636. required:
  4637. - adsort
  4638. - adtype
  4639. type: object
  4640. models.Division:
  4641. properties:
  4642. autoid:
  4643. description: 自增ID
  4644. type: integer
  4645. divisioncode:
  4646. description: 行政代码
  4647. type: string
  4648. divisionlevel:
  4649. description: 行政级别
  4650. type: string
  4651. divisionname:
  4652. description: 行政名称
  4653. type: string
  4654. modifierid:
  4655. description: 修改人
  4656. type: integer
  4657. modifytime:
  4658. description: 修改时间
  4659. type: string
  4660. parentcode:
  4661. description: 上级行政代码
  4662. type: string
  4663. pathname:
  4664. description: 路径名称
  4665. type: string
  4666. postcode:
  4667. description: 邮政编码
  4668. type: string
  4669. separablename:
  4670. description: 可拆分的全称
  4671. type: string
  4672. shortcode:
  4673. description: 地区简码
  4674. type: string
  4675. required:
  4676. - autoid
  4677. - divisioncode
  4678. type: object
  4679. models.Enumdicitem:
  4680. properties:
  4681. autoid:
  4682. description: 自增ID
  4683. type: integer
  4684. bankmappedvalue:
  4685. description: 银行服务对应值
  4686. type: string
  4687. enumdiccode:
  4688. description: 所属枚举代码
  4689. type: string
  4690. enumdicid:
  4691. description: 所属枚举ID
  4692. type: integer
  4693. enumdicname:
  4694. description: 枚举项名称
  4695. type: string
  4696. enumitemname:
  4697. description: 枚举项值
  4698. type: integer
  4699. enumitemstatus:
  4700. description: 枚举项状态 - 1.启用 2.不启用
  4701. type: integer
  4702. enumitemvalue:
  4703. description: 通用值 - [币种通用简写]
  4704. type: string
  4705. param1:
  4706. description: 参数1[币种:币种小数位]
  4707. type: string
  4708. param2:
  4709. description: 参数1[币种:币种显示单位]
  4710. type: string
  4711. remark:
  4712. description: 备注
  4713. type: string
  4714. required:
  4715. - autoid
  4716. - enumdiccode
  4717. - enumdicid
  4718. - enumitemname
  4719. type: object
  4720. models.Ermcp3Contract:
  4721. properties:
  4722. amount:
  4723. description: 金额 [1:一口价、3:暂定价]
  4724. type: number
  4725. attachment:
  4726. description: 附件
  4727. type: string
  4728. auditremark:
  4729. description: 审核意见
  4730. type: string
  4731. audittime:
  4732. description: 审核时间
  4733. type: string
  4734. brandname:
  4735. description: 品牌名称
  4736. type: string
  4737. buyuserid:
  4738. description: 采购方ID
  4739. type: integer
  4740. buyusername:
  4741. description: 采购方名称
  4742. type: string
  4743. contracctstatus:
  4744. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4745. type: integer
  4746. contractmargin:
  4747. description: 合同保证金
  4748. type: number
  4749. contractno:
  4750. description: 现货合同编号
  4751. type: string
  4752. contracttype:
  4753. description: 现货合同类型 - 1:采购 -1:销售
  4754. type: integer
  4755. convertfactor:
  4756. description: 标仓系数(品类)
  4757. type: number
  4758. createtime:
  4759. description: 创建时间
  4760. type: string
  4761. deliveryenddate:
  4762. description: 交收期(结束)
  4763. type: string
  4764. deliverygoodscode:
  4765. description: 现货品种代码
  4766. type: string
  4767. deliverygoodsid:
  4768. description: 现货品种ID
  4769. type: integer
  4770. deliverygoodsname:
  4771. description: 现货品种名称
  4772. type: string
  4773. deliverystartdate:
  4774. description: 交收期(开始)
  4775. type: string
  4776. enddate:
  4777. description: 点价结束日期 [2:点价 3:暂定价]
  4778. type: string
  4779. enumdicname:
  4780. description: 单位名称
  4781. type: string
  4782. goodscode:
  4783. description: 点价合约代码
  4784. type: string
  4785. goodsid:
  4786. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4787. type: integer
  4788. goodsname:
  4789. description: 点价商品名称
  4790. type: string
  4791. margin:
  4792. description: 当前保证金
  4793. type: number
  4794. price:
  4795. description: 价格\暂定价 [1:一口价、3:暂定价]
  4796. type: number
  4797. pricemove:
  4798. description: 升贴水 [2:点价 3:暂定价]
  4799. type: number
  4800. pricetype:
  4801. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4802. type: integer
  4803. producttype:
  4804. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4805. type: integer
  4806. qty:
  4807. description: 数量
  4808. type: number
  4809. remark:
  4810. description: 备注
  4811. type: string
  4812. selluserid:
  4813. description: 销售方ID
  4814. type: integer
  4815. sellusername:
  4816. description: 销售方名称
  4817. type: string
  4818. spotcontractid:
  4819. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4820. type: string
  4821. spotgoodsbrandid:
  4822. description: 现货品牌ID(DGFactoryItem表的ID)
  4823. type: integer
  4824. spotgoodsdesc:
  4825. description: 商品型号
  4826. type: string
  4827. startdate:
  4828. description: 点价开始日期 [2:点价 3:暂定价]
  4829. type: string
  4830. unitid:
  4831. description: 单位id(取品类上的单位id)
  4832. type: integer
  4833. updatetime:
  4834. description: 更新时间
  4835. type: string
  4836. userid:
  4837. description: 所属机构ID
  4838. type: integer
  4839. wrstandardcode:
  4840. description: 品类代码
  4841. type: string
  4842. wrstandardid:
  4843. description: 品类ID
  4844. type: integer
  4845. wrstandardname:
  4846. description: 品类名称
  4847. type: string
  4848. type: object
  4849. models.Ermcp3SellBuyContract:
  4850. properties:
  4851. accountname:
  4852. description: 账户名称
  4853. type: string
  4854. attachment:
  4855. description: 附件
  4856. type: string
  4857. audittime:
  4858. description: 审核时间
  4859. type: string
  4860. brandname:
  4861. description: 品牌名称
  4862. type: string
  4863. contracctstatus:
  4864. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4865. type: integer
  4866. contractmargin:
  4867. description: 合同保证金
  4868. type: number
  4869. contractno:
  4870. description: 合同编号
  4871. type: string
  4872. contracttype:
  4873. description: 合同类型 1-采购, -1-销售
  4874. type: integer
  4875. convertfactor:
  4876. description: 标仓系数(品类)
  4877. type: number
  4878. createtime:
  4879. description: 创建时间
  4880. type: string
  4881. daikaiamount:
  4882. description: 应收(开)票额
  4883. type: number
  4884. deliveryenddate:
  4885. description: 交割结束日
  4886. type: string
  4887. deliverygoodscode:
  4888. description: 现货品种代码
  4889. type: string
  4890. deliverygoodsid:
  4891. description: 现货商品ID
  4892. type: integer
  4893. deliverygoodsname:
  4894. description: 现货品种名称
  4895. type: string
  4896. deliverystartdate:
  4897. description: 交割开始日
  4898. type: string
  4899. enddate:
  4900. description: 点价结束日
  4901. type: string
  4902. enumdicname:
  4903. description: 单位名称
  4904. type: string
  4905. goodscode:
  4906. description: 点价商品代码
  4907. type: string
  4908. goodsid:
  4909. description: 点价商品ID
  4910. type: integer
  4911. goodsname:
  4912. description: 点价商品名称
  4913. type: string
  4914. invoiceamount:
  4915. description: 已开票额
  4916. type: number
  4917. loanamount:
  4918. description: 贷款总额=已定价额+调整金额
  4919. type: number
  4920. margin:
  4921. description: 保证金
  4922. type: number
  4923. payamount:
  4924. description: 已收付额(收款或付款)
  4925. type: number
  4926. preinvoiceamount:
  4927. description: 预收(开)票额
  4928. type: number
  4929. prepayamount:
  4930. description: 预收付额
  4931. type: number
  4932. price:
  4933. description: 价格
  4934. type: number
  4935. pricedamount:
  4936. description: 已定价额
  4937. type: number
  4938. pricedavg:
  4939. description: 已点均价
  4940. type: number
  4941. pricedqty:
  4942. description: 已定价量
  4943. type: number
  4944. pricemove:
  4945. description: 升贴水
  4946. type: number
  4947. pricetype:
  4948. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4949. type: integer
  4950. producttype:
  4951. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4952. type: integer
  4953. qty:
  4954. description: 合同量
  4955. type: number
  4956. reckonadjustamount:
  4957. description: 调整金额
  4958. type: number
  4959. reckonedamount:
  4960. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4961. type: number
  4962. reckonotheramount:
  4963. description: 其它费用
  4964. type: number
  4965. reckonrealqty:
  4966. description: 已确定量
  4967. type: number
  4968. remark:
  4969. description: 备注
  4970. type: string
  4971. spotcontractid:
  4972. description: 合同ID
  4973. type: string
  4974. spotgoodsbrandid:
  4975. description: 现货品牌ID(DGFactoryItem表的ID)
  4976. type: integer
  4977. spotgoodsdesc:
  4978. description: 商品型号(商品规格)
  4979. type: string
  4980. startdate:
  4981. description: 点价开始日
  4982. type: string
  4983. totalamount:
  4984. description: 合计总额
  4985. type: number
  4986. unpayamount:
  4987. description: 应收付款额(应支付或应收款)
  4988. type: number
  4989. unpricedqty:
  4990. description: 未定价量
  4991. type: number
  4992. unsureqty:
  4993. description: 未确定量
  4994. type: number
  4995. userid:
  4996. description: 机构ID
  4997. type: integer
  4998. wrstandardcode:
  4999. description: 品类代码
  5000. type: string
  5001. wrstandardid:
  5002. description: 品类ID
  5003. type: integer
  5004. wrstandardname:
  5005. description: 品类名称
  5006. type: string
  5007. type: object
  5008. models.ErmcpAreaStock:
  5009. properties:
  5010. brandname:
  5011. description: 品牌名称
  5012. type: string
  5013. curstock:
  5014. description: 期末库存量(今日量)
  5015. type: number
  5016. deliverygoodsid:
  5017. description: 现货品种ID
  5018. type: integer
  5019. enumdicname:
  5020. description: 单位名称
  5021. type: string
  5022. modelname:
  5023. description: 型号名称
  5024. type: string
  5025. oristock:
  5026. description: 期初库存量(昨日量)
  5027. type: number
  5028. spotgoodsbrandid:
  5029. description: 现货品牌ID
  5030. type: integer
  5031. spotgoodsmodelid:
  5032. description: 现货型号ID
  5033. type: integer
  5034. todaybuyinqty:
  5035. description: 今日采购入库量
  5036. type: number
  5037. todayproduceinqty:
  5038. description: 今日生产入库量
  5039. type: number
  5040. todayproduceoutqty:
  5041. description: 今日生产出库量
  5042. type: number
  5043. todayselloutqty:
  5044. description: 今日销售出库量
  5045. type: number
  5046. unitid:
  5047. description: 单位id
  5048. type: integer
  5049. updatetime:
  5050. description: 更新时间
  5051. type: string
  5052. userid:
  5053. description: 机构ID
  5054. type: integer
  5055. username:
  5056. description: 机构名称
  5057. type: string
  5058. warehousecode:
  5059. description: 仓库代码
  5060. type: string
  5061. warehouseinfoid:
  5062. description: 仓库ID
  5063. type: string
  5064. warehousename:
  5065. description: 仓库名称
  5066. type: string
  5067. warehousetype:
  5068. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5069. type: integer
  5070. wrstandardcode:
  5071. description: 现货商品代码
  5072. type: string
  5073. wrstandardid:
  5074. description: 现货商品ID
  5075. type: string
  5076. wrstandardname:
  5077. description: 现货商品名称
  5078. type: string
  5079. type: object
  5080. models.ErmcpAreaStockApply:
  5081. properties:
  5082. applyid:
  5083. description: 申请人
  5084. type: integer
  5085. applyname:
  5086. description: 申请人名称
  5087. type: string
  5088. applyremark:
  5089. description: 申请备注
  5090. type: string
  5091. applysrc:
  5092. description: 申请来源 - 1:管理端 2:终端
  5093. type: integer
  5094. applystatus:
  5095. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5096. type: integer
  5097. applytime:
  5098. description: 申请时间
  5099. type: string
  5100. auditid:
  5101. description: 审核人
  5102. type: integer
  5103. auditname:
  5104. description: 审核人名称
  5105. type: string
  5106. auditremark:
  5107. description: 审核备注
  5108. type: string
  5109. auditsrc:
  5110. description: 审核来源 - 1:管理端 2:终端
  5111. type: integer
  5112. audittime:
  5113. description: 审核时间
  5114. type: string
  5115. audittradedate:
  5116. description: 审核交易日(yyyyMMdd)
  5117. type: string
  5118. brandname:
  5119. description: 品牌名称
  5120. type: string
  5121. buyuserid:
  5122. description: 采购方userid
  5123. type: integer
  5124. buyusername:
  5125. description: 采购方名称
  5126. type: string
  5127. contractno:
  5128. description: 合同编号
  5129. type: string
  5130. contractqty:
  5131. description: 合同量
  5132. type: number
  5133. contracttype:
  5134. description: 现货合同类型 - 1:采购 -1:销售
  5135. type: integer
  5136. deliverygoodsid:
  5137. description: 现货品种ID
  5138. type: integer
  5139. enumdicname:
  5140. description: 现货商品单位名称
  5141. type: string
  5142. inoutapplyid:
  5143. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5144. type: string
  5145. inouttype:
  5146. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  5147. type: integer
  5148. modelname:
  5149. description: 型号名称
  5150. type: string
  5151. pricetype:
  5152. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5153. type: integer
  5154. qty:
  5155. description: 数量
  5156. type: number
  5157. selluserid:
  5158. description: 销售方userid
  5159. type: integer
  5160. sellusername:
  5161. description: 销售方名称
  5162. type: string
  5163. spotcontractid:
  5164. description: 关联现货合同ID
  5165. type: string
  5166. spotgoodsbrandid:
  5167. description: 现货品牌ID
  5168. type: integer
  5169. spotgoodsmodelid:
  5170. description: 现货型号ID
  5171. type: integer
  5172. unitid:
  5173. description: 单位id
  5174. type: integer
  5175. userid:
  5176. description: 机构ID
  5177. type: integer
  5178. warehousecode:
  5179. description: 仓库代码
  5180. type: string
  5181. warehouseinfoid:
  5182. description: 现货仓库ID
  5183. type: string
  5184. warehousename:
  5185. description: 仓库名称
  5186. type: string
  5187. warehousetype:
  5188. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5189. type: integer
  5190. wrstandardcode:
  5191. description: 现货商品代码
  5192. type: string
  5193. wrstandardid:
  5194. description: 现货商品ID
  5195. type: string
  5196. wrstandardname:
  5197. description: 现货商品名称
  5198. type: string
  5199. type: object
  5200. models.ErmcpAreaStockReport:
  5201. properties:
  5202. brandname:
  5203. description: 品牌名称
  5204. type: string
  5205. curstock:
  5206. description: 期末库存量
  5207. type: number
  5208. deliverygoodsid:
  5209. description: 现货品种ID
  5210. type: integer
  5211. enumdicname:
  5212. description: 单位名称
  5213. type: string
  5214. modelname:
  5215. description: 型号名称
  5216. type: string
  5217. oristock:
  5218. description: 期初库存量
  5219. type: number
  5220. spotgoodsbrandid:
  5221. description: 现货品牌ID
  5222. type: integer
  5223. spotgoodsmodelid:
  5224. description: 现货型号ID
  5225. type: integer
  5226. todaybuyinqty:
  5227. description: 今日采购入库量
  5228. type: number
  5229. todayproduceinqty:
  5230. description: 今日生产入库量
  5231. type: number
  5232. todayproduceoutqty:
  5233. description: 今日生产出库量
  5234. type: number
  5235. todayselloutqty:
  5236. description: 今日销售出库量
  5237. type: number
  5238. unitid:
  5239. description: 单位id
  5240. type: integer
  5241. updatetime:
  5242. description: 更新时间
  5243. type: string
  5244. userid:
  5245. description: 机构ID
  5246. type: integer
  5247. username:
  5248. description: 机构名称
  5249. type: string
  5250. warehousecode:
  5251. description: 仓库代码
  5252. type: string
  5253. warehouseinfoid:
  5254. description: 仓库ID
  5255. type: string
  5256. warehousename:
  5257. description: 仓库名称
  5258. type: string
  5259. warehousetype:
  5260. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5261. type: integer
  5262. wrstandardcode:
  5263. description: 现货商品代码
  5264. type: string
  5265. wrstandardid:
  5266. description: 现货商品ID
  5267. type: string
  5268. wrstandardname:
  5269. description: 现货商品名称
  5270. type: string
  5271. type: object
  5272. models.ErmcpBizGroupEx:
  5273. properties:
  5274. acclist:
  5275. description: 账号列表
  5276. items:
  5277. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5278. type: array
  5279. bizgroupid:
  5280. description: 业务分组id
  5281. type: integer
  5282. biztype:
  5283. description: 业务类型 1-套保 2-套利
  5284. type: integer
  5285. wrlist:
  5286. description: 现货商品表
  5287. items:
  5288. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5289. type: array
  5290. type: object
  5291. models.ErmcpBizGroupSpotGoods:
  5292. properties:
  5293. areauserid:
  5294. description: 所属机构id
  5295. type: integer
  5296. bizgroupid:
  5297. description: 分组id
  5298. type: integer
  5299. biztype:
  5300. description: 业务类型 1-套保 2-套利
  5301. type: integer
  5302. deliverygoodscode:
  5303. description: 现货商品代码
  5304. type: string
  5305. deliverygoodsid:
  5306. description: 现货商品id
  5307. type: integer
  5308. deliverygoodsname:
  5309. description: 现货商品名称
  5310. type: string
  5311. unitid:
  5312. description: 现货商品单位id
  5313. type: integer
  5314. type: object
  5315. models.ErmcpBizGroupTaAccount:
  5316. properties:
  5317. accountid:
  5318. description: 账号id
  5319. type: string
  5320. accountname:
  5321. description: 账号名称
  5322. type: string
  5323. areauserid:
  5324. description: 所属机构id
  5325. type: integer
  5326. bizgroupid:
  5327. description: 业务分组id
  5328. type: integer
  5329. ismain:
  5330. description: 是否主账号 1-是 0-否
  5331. type: integer
  5332. type: object
  5333. models.ErmcpBrand:
  5334. properties:
  5335. brandid:
  5336. description: 品牌id
  5337. type: integer
  5338. brandname:
  5339. description: 品牌名称
  5340. type: string
  5341. deliverygoodsid:
  5342. description: 品种ID
  5343. type: integer
  5344. type: object
  5345. models.ErmcpDeliveryGoods:
  5346. properties:
  5347. agreeunit:
  5348. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5349. type: integer
  5350. areauserid:
  5351. description: 所属机构
  5352. type: integer
  5353. auditflag:
  5354. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5355. type: integer
  5356. categoryid:
  5357. description: 类别ID(SEQ_WRCATEGORY)
  5358. type: integer
  5359. deliverygoodscode:
  5360. description: 现货品种代码
  5361. type: string
  5362. deliverygoodsid:
  5363. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5364. type: integer
  5365. deliverygoodsname:
  5366. description: 现货品种名称
  5367. type: string
  5368. deliverygoodstype:
  5369. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5370. type: integer
  5371. dgstatus:
  5372. description: 品种状态 - 作废 - 0:未激活 1:正常
  5373. type: integer
  5374. enumdicname:
  5375. description: 现货品种单位名称
  5376. type: string
  5377. goodsunitid:
  5378. description: 现货品种单位ID
  5379. type: integer
  5380. isvalid:
  5381. description: 是否有效 - 0:无效 1:有效
  5382. type: integer
  5383. qtydecimalplace:
  5384. description: 成交量小数位
  5385. type: integer
  5386. standardqty:
  5387. description: 标准数量(库位数量) [标准品特有]
  5388. type: integer
  5389. standardqtyrange:
  5390. description: 标准数量偏差范围 [标准品特有]
  5391. type: integer
  5392. type: object
  5393. models.ErmcpDeliveryGoodsDetail:
  5394. properties:
  5395. data:
  5396. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5397. description: 现货商品基本信息(交割品种)
  5398. gblist:
  5399. description: 品牌列表
  5400. items:
  5401. $ref: '#/definitions/models.ErmcpBrand'
  5402. type: array
  5403. gmlist:
  5404. description: 品类列表(仓单标准)
  5405. items:
  5406. $ref: '#/definitions/models.ErmcpWrstandard'
  5407. type: array
  5408. goodslist:
  5409. description: 关联交易商品列表
  5410. items:
  5411. $ref: '#/definitions/models.ErmcpRelatedGoods'
  5412. type: array
  5413. wrslist:
  5414. description: 套保信息列表
  5415. items:
  5416. $ref: '#/definitions/models.WRSConverTDetail'
  5417. type: array
  5418. type: object
  5419. models.ErmcpFuturesCompany:
  5420. properties:
  5421. brokerid:
  5422. description: 经纪公司代码
  5423. type: string
  5424. channeladdress:
  5425. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5426. type: string
  5427. channelid:
  5428. description: 对冲渠道ID
  5429. type: string
  5430. createtime:
  5431. description: 创建时间
  5432. type: string
  5433. creatorid:
  5434. description: 创建人
  5435. type: string
  5436. fcid:
  5437. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5438. type: integer
  5439. fcname:
  5440. description: 期货公司名称
  5441. type: string
  5442. isvalid:
  5443. description: 是否有效 - 0:无效 1:有效
  5444. type: integer
  5445. mhpaddress:
  5446. description: MHP服务地址(IP:Port)
  5447. type: string
  5448. riskrulegroupid:
  5449. description: 风控规则组ID
  5450. type: string
  5451. tradefeetmpid:
  5452. description: 手续费模板ID[TradeConfigTmpType为2]
  5453. type: string
  5454. trademargintmpid:
  5455. description: 保证金模板ID [TradeConfigTmpType为1]
  5456. type: string
  5457. traderatetmpid:
  5458. description: 汇率模板ID[TradeConfigTmpType为3]
  5459. type: string
  5460. updatetime:
  5461. description: 更新时间
  5462. type: string
  5463. updatorid:
  5464. description: 更新人
  5465. type: string
  5466. type: object
  5467. models.ErmcpGGConvertCfg:
  5468. properties:
  5469. convertratio:
  5470. description: 折算系数
  5471. type: number
  5472. destgoodsgroupid:
  5473. description: 目标品种ID
  5474. type: integer
  5475. dstcode:
  5476. description: 目录品种代码
  5477. type: string
  5478. dstexchangecode:
  5479. description: 目标期货交易所
  5480. type: string
  5481. dstname:
  5482. description: 目标品种名称
  5483. type: string
  5484. dstunitid:
  5485. description: 目标品种单位ID
  5486. type: integer
  5487. dstunitidname:
  5488. description: 目标品种单位名称
  5489. type: string
  5490. modifytime:
  5491. description: 修改时间
  5492. type: string
  5493. srccode:
  5494. description: 源品种代码
  5495. type: string
  5496. srcexchangecode:
  5497. description: 源期货交易所
  5498. type: string
  5499. srcgoodsgroupid:
  5500. description: 源品种ID
  5501. type: integer
  5502. srcname:
  5503. description: 源品种名称
  5504. type: string
  5505. srcunitid:
  5506. description: 源品种单位ID
  5507. type: integer
  5508. srcunitidname:
  5509. description: 源品种单位名称
  5510. type: string
  5511. type: object
  5512. models.ErmcpGoodsBrand:
  5513. properties:
  5514. areauserid:
  5515. description: 所属机构
  5516. type: integer
  5517. brandid:
  5518. description: BrandID(SEQ_SPOTGOODSBRAND)
  5519. type: integer
  5520. brandname:
  5521. description: 品牌名称
  5522. type: string
  5523. createtime:
  5524. description: 创建时间
  5525. type: string
  5526. creatorid:
  5527. description: 创建人
  5528. type: integer
  5529. creatorsrc:
  5530. description: 创建人来源 - 1:管理端 2:终端
  5531. type: integer
  5532. deliverygoodsid:
  5533. description: 现货品种ID
  5534. type: integer
  5535. isvalid:
  5536. description: 是否有效 - 0:无效 1:有效
  5537. type: integer
  5538. updatetime:
  5539. description: 更新时间
  5540. type: string
  5541. updatorid:
  5542. description: 更新人
  5543. type: integer
  5544. updatorsrc:
  5545. description: 更新人来源 - 1:管理端 2:终端
  5546. type: integer
  5547. wrstandardid:
  5548. description: 现货商品ID
  5549. type: integer
  5550. type: object
  5551. models.ErmcpGoodsModel:
  5552. properties:
  5553. areauserid:
  5554. description: 所属机构
  5555. type: integer
  5556. convertfactor:
  5557. description: 标仓系数
  5558. type: number
  5559. createtime:
  5560. description: 创建时间
  5561. type: string
  5562. creatorid:
  5563. description: 创建人
  5564. type: integer
  5565. creatorsrc:
  5566. description: 创建人来源 - 1:管理端 2:终端
  5567. type: integer
  5568. deliverygoodsid:
  5569. description: 现货品种ID
  5570. type: integer
  5571. isvalid:
  5572. description: 是否有效 - 0:无效 1:有效
  5573. type: integer
  5574. modelid:
  5575. description: ModelID(SEQ_SPOTGOODSMODEL)
  5576. type: integer
  5577. modelname:
  5578. description: 型号名称
  5579. type: string
  5580. updatetime:
  5581. description: 更新时间
  5582. type: string
  5583. updatorid:
  5584. description: 更新人
  5585. type: integer
  5586. updatorsrc:
  5587. description: 更新人来源 - 1:管理端 2:终端
  5588. type: integer
  5589. wrstandardid:
  5590. description: 现货商品ID
  5591. type: integer
  5592. type: object
  5593. models.ErmcpHisExposure:
  5594. properties:
  5595. needhedgeexposoure:
  5596. description: 应套保敞口
  5597. type: number
  5598. reckondate:
  5599. description: 日照时期(yyyyMMdd)
  5600. type: string
  5601. totalexposure:
  5602. description: 总敞口
  5603. type: number
  5604. type: object
  5605. models.ErmcpLoginUser:
  5606. properties:
  5607. accountname:
  5608. description: 用户名称
  5609. type: string
  5610. clientroleid:
  5611. description: 角色id(usertype=2)
  5612. type: integer
  5613. createtime:
  5614. description: 创建时间
  5615. type: string
  5616. logincode:
  5617. description: 登录代码
  5618. type: string
  5619. loginid:
  5620. description: 登录id(LOGINID)
  5621. type: integer
  5622. loginstatus:
  5623. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5624. type: integer
  5625. memberuserid:
  5626. description: 所属会员id
  5627. type: integer
  5628. modifytime:
  5629. description: 修改时间
  5630. type: string
  5631. rolename:
  5632. description: 角色名称
  5633. type: string
  5634. rolestatus:
  5635. description: 角色状态 1-启用 2-停用
  5636. type: integer
  5637. roletype:
  5638. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5639. type: string
  5640. userid:
  5641. description: 用户id
  5642. type: integer
  5643. usertype:
  5644. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5645. type: integer
  5646. type: object
  5647. models.ErmcpLoginUserEx:
  5648. properties:
  5649. roleid:
  5650. description: 角色id
  5651. type: integer
  5652. rolename:
  5653. description: 角色名称
  5654. type: string
  5655. userlist:
  5656. description: 用户列表
  5657. items:
  5658. $ref: '#/definitions/models.ErmcpLoginUser'
  5659. type: array
  5660. usertype:
  5661. description: 用户类型 2-机构 7-企业成员(云平台)
  5662. type: integer
  5663. type: object
  5664. models.ErmcpMiddleGoodsModel:
  5665. properties:
  5666. areauserid:
  5667. description: 机构用户ID
  5668. type: integer
  5669. createtime:
  5670. description: 修改时间
  5671. type: string
  5672. enumdicname:
  5673. description: 单位名称
  5674. type: string
  5675. evaluateratio:
  5676. description: 估价系数
  5677. type: number
  5678. goodsgroupid:
  5679. description: 关联期货品种ID
  5680. type: integer
  5681. isvalid:
  5682. description: 状态 0-无效(停用) 1-有效(正常)
  5683. type: integer
  5684. middlegoodscode:
  5685. description: 套保品种代码
  5686. type: string
  5687. middlegoodsid:
  5688. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5689. type: integer
  5690. middlegoodsname:
  5691. description: 套保品种名称
  5692. type: string
  5693. modifytime:
  5694. description: 修改时间
  5695. type: string
  5696. needhedgeratio:
  5697. description: 套保比率
  5698. type: number
  5699. qtydecimalplace:
  5700. description: 数量小数位
  5701. type: integer
  5702. relatedgoodsid:
  5703. description: 关联交易商品ID
  5704. type: integer
  5705. relatedgoodstype:
  5706. description: 关联商品类型 - 1:期货合约 2:现货品种
  5707. type: integer
  5708. remark:
  5709. description: 备注
  5710. type: string
  5711. type: object
  5712. models.ErmcpRelatedGoods:
  5713. properties:
  5714. deliverygoodsid:
  5715. description: 品种ID
  5716. type: integer
  5717. goodscode:
  5718. description: 商品代码
  5719. type: string
  5720. goodsid:
  5721. description: 商品id
  5722. type: integer
  5723. goodsname:
  5724. description: 商品名称
  5725. type: string
  5726. type: object
  5727. models.ErmcpReportAreaSpotPL:
  5728. properties:
  5729. actualpl:
  5730. description: 实际损益
  5731. type: number
  5732. areauserid:
  5733. description: 所属机构
  5734. type: integer
  5735. brandname:
  5736. description: 品牌名称
  5737. type: string
  5738. curamount:
  5739. description: 期末额
  5740. type: number
  5741. curaverageprice:
  5742. description: 期末均价
  5743. type: number
  5744. curbuyamount:
  5745. description: 期末采购总额(采购额)
  5746. type: number
  5747. curbuyqty:
  5748. description: 期末采购总量
  5749. type: number
  5750. curmarketvalue:
  5751. description: 参考市值
  5752. type: number
  5753. curqty:
  5754. description: 期末量
  5755. type: number
  5756. cursellamount:
  5757. description: 期末销售总额(销售额)
  5758. type: number
  5759. cursellqty:
  5760. description: 期末销售总量
  5761. type: number
  5762. curspotprice:
  5763. description: 参考市价
  5764. type: number
  5765. enumdicname:
  5766. description: 现货商品单位名称
  5767. type: string
  5768. floatpl:
  5769. description: 浮动损益
  5770. type: number
  5771. gbenumdicname:
  5772. description: 品类单位名称
  5773. type: string
  5774. gbunitid:
  5775. description: 品类单位id
  5776. type: integer
  5777. modelname:
  5778. description: 品类名称
  5779. type: string
  5780. oriamount:
  5781. description: 期初额
  5782. type: number
  5783. oriaverageprice:
  5784. description: 期初均价
  5785. type: number
  5786. oribuyamount:
  5787. description: 期初采购总额
  5788. type: number
  5789. oribuyqty:
  5790. description: 期初采购总量
  5791. type: number
  5792. oriqty:
  5793. description: 期初量
  5794. type: number
  5795. orisellamount:
  5796. description: 期初销售总额
  5797. type: number
  5798. orisellqty:
  5799. description: 期初销售总量
  5800. type: number
  5801. spotgoodsbrandid:
  5802. description: 现货品牌ID
  5803. type: integer
  5804. spotgoodsmodelid:
  5805. description: 现货品类ID
  5806. type: integer
  5807. todaybuyamount:
  5808. description: 今日采购额
  5809. type: number
  5810. todaybuyaverageprice:
  5811. description: 今日采购均价(采购均价)
  5812. type: number
  5813. todaybuyqty:
  5814. description: 今日采购量(采购增量)
  5815. type: number
  5816. todaysellamount:
  5817. description: 今日销售额
  5818. type: number
  5819. todaysellaverageprice:
  5820. description: 今日销售均价(销售均价)
  5821. type: number
  5822. todaysellqty:
  5823. description: 今日销售量(销售增量)
  5824. type: number
  5825. unitid:
  5826. description: 现货商品单位id
  5827. type: integer
  5828. updatetime:
  5829. description: 更新时间
  5830. type: string
  5831. wrstandardcode:
  5832. description: 现货商品代码
  5833. type: string
  5834. wrstandardid:
  5835. description: 现货商品ID
  5836. type: integer
  5837. wrstandardname:
  5838. description: 现货商品名称
  5839. type: string
  5840. type: object
  5841. models.ErmcpReportDayFR:
  5842. properties:
  5843. areauserid:
  5844. description: 所属机构
  5845. type: integer
  5846. collectinvoiceamount:
  5847. description: 今日开票金额
  5848. type: number
  5849. collectinvoicecount:
  5850. description: 今日开票笔数
  5851. type: integer
  5852. collectmoneyamount:
  5853. description: 今日收款金额
  5854. type: number
  5855. collectmoneycount:
  5856. description: 今日收款笔数
  5857. type: integer
  5858. payinvoiceamount:
  5859. description: 今日收票金额
  5860. type: number
  5861. payinvoicecount:
  5862. description: 今日收票笔数
  5863. type: integer
  5864. paymoneyamount:
  5865. description: 今日付款金额
  5866. type: number
  5867. paymoneycount:
  5868. description: 今日付款笔数
  5869. type: integer
  5870. reckondate:
  5871. description: 日照时期(yyyyMMdd)
  5872. type: string
  5873. updatetime:
  5874. description: 更新时间
  5875. type: string
  5876. type: object
  5877. models.ErmcpRole:
  5878. properties:
  5879. areauserid:
  5880. description: 所属机构
  5881. type: integer
  5882. autoid:
  5883. description: 角色ID(自增ID)
  5884. type: integer
  5885. modifierid:
  5886. description: 修改人(创建人)
  5887. type: integer
  5888. modifiername:
  5889. description: 修改人名称
  5890. type: string
  5891. modifytime:
  5892. description: 修改时间(创建时间)
  5893. type: string
  5894. rolename:
  5895. description: 角色名称
  5896. type: string
  5897. rolestatus:
  5898. description: 角色状态 - 1:启用 2:停用
  5899. type: integer
  5900. roletype:
  5901. description: 角色类型 - 1- 管理端 2- 交易端
  5902. type: integer
  5903. type: object
  5904. models.ErmcpRoleMenu:
  5905. properties:
  5906. iconame:
  5907. description: 菜单图标
  5908. type: string
  5909. menutype:
  5910. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  5911. type: integer
  5912. parentcode:
  5913. description: 上级资源代码
  5914. type: string
  5915. remark:
  5916. description: 菜单备注
  5917. type: string
  5918. resourcecode:
  5919. description: 菜单代码
  5920. type: string
  5921. resourcelevel:
  5922. description: 级别
  5923. type: integer
  5924. resourcename:
  5925. description: 菜单名称
  5926. type: string
  5927. roleid:
  5928. description: 角色id
  5929. type: integer
  5930. sort:
  5931. description: 排序
  5932. type: integer
  5933. url:
  5934. description: URL
  5935. type: string
  5936. userid:
  5937. description: 用户id
  5938. type: integer
  5939. type: object
  5940. models.ErmcpRoleMenuEx:
  5941. properties:
  5942. menu:
  5943. $ref: '#/definitions/models.ErmcpRoleMenu'
  5944. description: 父级菜单
  5945. subMenu:
  5946. description: 子级菜单
  5947. items:
  5948. $ref: '#/definitions/models.ErmcpRoleMenu'
  5949. type: array
  5950. type: object
  5951. models.ErmcpSpotGoodsPrice:
  5952. properties:
  5953. areauserid:
  5954. description: 所属机构id
  5955. type: integer
  5956. brandname:
  5957. description: 品牌名称
  5958. type: string
  5959. currencyid:
  5960. description: 报价货币ID
  5961. type: integer
  5962. enumdicname:
  5963. description: 现货商品单位名称
  5964. type: string
  5965. gbenumdicname:
  5966. description: 品类单位名称
  5967. type: string
  5968. gmunitid:
  5969. description: 品类单位id
  5970. type: integer
  5971. isvalid:
  5972. description: 是否有效 - 0:无效 1:有效
  5973. type: integer
  5974. modelname:
  5975. description: 品类名称
  5976. type: string
  5977. operateid:
  5978. description: 最后操作人
  5979. type: integer
  5980. operatesrc:
  5981. description: 最后操作来源 - 1:管理端 2:终端
  5982. type: integer
  5983. operatetime:
  5984. description: 最后操作时间
  5985. type: string
  5986. operatorname:
  5987. description: 操作人名称
  5988. type: string
  5989. spotgoodsbrandid:
  5990. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5991. type: integer
  5992. spotgoodsmodelid:
  5993. description: 现货品类ID(通用则为0)
  5994. type: integer
  5995. spotgoodsprice:
  5996. description: 现货价格
  5997. type: number
  5998. tradedate:
  5999. description: 交易日(yyyyMMdd)
  6000. type: string
  6001. unitid:
  6002. description: 现货商品单位id
  6003. type: integer
  6004. wrstandardcode:
  6005. description: 现货商品代码
  6006. type: string
  6007. wrstandardid:
  6008. description: 现货商品ID
  6009. type: integer
  6010. wrstandardname:
  6011. description: 现货商品名称
  6012. type: string
  6013. type: object
  6014. models.ErmcpSpotGoodsPriceLog:
  6015. properties:
  6016. areauserid:
  6017. description: 所属机构id
  6018. type: integer
  6019. brandname:
  6020. description: 品牌名称
  6021. type: string
  6022. currencyid:
  6023. description: 报价货币ID
  6024. type: integer
  6025. enumdicname:
  6026. description: 现货商品单位名称
  6027. type: string
  6028. gbenumdicname:
  6029. description: 品类单位名称
  6030. type: string
  6031. gmunitid:
  6032. description: 品类单位id
  6033. type: integer
  6034. logid:
  6035. description: 日志id
  6036. type: integer
  6037. modelname:
  6038. description: 品类名称
  6039. type: string
  6040. operateid:
  6041. description: 最后操作人
  6042. type: integer
  6043. operatesrc:
  6044. description: 最后操作来源 - 1:管理端 2:终端
  6045. type: integer
  6046. operatetime:
  6047. description: 最后操作时间
  6048. type: string
  6049. operatorname:
  6050. description: 操作人名称
  6051. type: string
  6052. spotgoodsbrandid:
  6053. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6054. type: integer
  6055. spotgoodsmodelid:
  6056. description: 现货品类ID(通用则为0)
  6057. type: integer
  6058. spotgoodsprice:
  6059. description: 现货价格
  6060. type: number
  6061. tradedate:
  6062. description: 交易日(yyyyMMdd)
  6063. type: string
  6064. unitid:
  6065. description: 现货商品单位id
  6066. type: integer
  6067. wrstandardcode:
  6068. description: 现货商品代码
  6069. type: string
  6070. wrstandardid:
  6071. description: 现货商品ID
  6072. type: integer
  6073. wrstandardname:
  6074. description: 现货商品名称
  6075. type: string
  6076. type: object
  6077. models.ErmcpTaAccount:
  6078. properties:
  6079. accountid:
  6080. description: 账户id
  6081. type: integer
  6082. accountname:
  6083. description: 账户名称
  6084. type: string
  6085. currencyid:
  6086. description: 币种id
  6087. type: integer
  6088. ismain:
  6089. description: 是否主账户 0-否 1-是
  6090. type: integer
  6091. parentaccountid:
  6092. description: 父账户id
  6093. type: integer
  6094. relateduserid:
  6095. description: 关联userid
  6096. type: integer
  6097. tradestatus:
  6098. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6099. type: integer
  6100. type: object
  6101. models.ErmcpTaAccountEx:
  6102. properties:
  6103. mainAcc:
  6104. $ref: '#/definitions/models.ErmcpTaAccount'
  6105. description: 主账号
  6106. subacclist:
  6107. description: 子账号列表
  6108. items:
  6109. $ref: '#/definitions/models.ErmcpTaAccount'
  6110. type: array
  6111. type: object
  6112. models.ErmcpTaAccountInfo:
  6113. properties:
  6114. accountid:
  6115. description: 资金账户ID
  6116. type: integer
  6117. accountname:
  6118. description: 账户名称
  6119. type: string
  6120. balance:
  6121. description: 期初余额
  6122. type: number
  6123. capitalbalance:
  6124. description: 本金余额[外部子账户实际出入金余额]
  6125. type: number
  6126. closepl:
  6127. description: 今日平仓盈亏
  6128. type: number
  6129. creditdecrease:
  6130. description: 今日授信减少
  6131. type: number
  6132. creditincrease:
  6133. description: 今日授信增加
  6134. type: number
  6135. curdebt:
  6136. description: 期末欠款
  6137. type: number
  6138. currencyid:
  6139. description: 货币ID
  6140. type: integer
  6141. currentbalance:
  6142. description: 期末余额
  6143. type: number
  6144. freezecharge:
  6145. description: 手续费冻结
  6146. type: number
  6147. freezemargin:
  6148. description: 冻结保证金
  6149. type: number
  6150. fromaccountid:
  6151. description: 所属上级账户
  6152. type: integer
  6153. inamount:
  6154. description: 今日入金金额(包括三方入金)
  6155. type: number
  6156. ismain:
  6157. description: 是否母账号 0:不是母账户 1:是母账户
  6158. type: integer
  6159. mortgagecredit:
  6160. description: 授信金额
  6161. type: number
  6162. oridebt:
  6163. description: 期初欠款
  6164. type: number
  6165. orifreezecharge:
  6166. description: 期初手续费冻结
  6167. type: number
  6168. orifreezemargin:
  6169. description: 期初冻结保证金
  6170. type: number
  6171. orimortgagecredit:
  6172. description: 期初授信金额
  6173. type: number
  6174. oriothercredit:
  6175. description: 期初其它授信金额
  6176. type: number
  6177. oriotherfreezemargin:
  6178. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6179. type: number
  6180. orioutamountfreeze:
  6181. description: 期初出金冻结
  6182. type: number
  6183. oriusedmargin:
  6184. description: 期初占用保证金
  6185. type: number
  6186. othercredit:
  6187. description: 其它授信金额
  6188. type: number
  6189. othercreditdecrease:
  6190. description: 今日其它授信减少
  6191. type: number
  6192. othercreditincrease:
  6193. description: 今日其它授信增加
  6194. type: number
  6195. otherfreezemargin:
  6196. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6197. type: number
  6198. outamount:
  6199. description: 今日出金金额(包括三方出金)
  6200. type: number
  6201. outamountfreeze:
  6202. description: 出金冻结
  6203. type: number
  6204. outthreshold:
  6205. description: 出金阈值
  6206. type: number
  6207. parentaccountid:
  6208. description: 所属根账号
  6209. type: integer
  6210. paycharge:
  6211. description: 今日手续费支出
  6212. type: number
  6213. relateduserid:
  6214. description: 关联用户
  6215. type: integer
  6216. signstatus:
  6217. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6218. type: integer
  6219. sublevelpath:
  6220. description: 账号层级路径(逗号分隔,首尾加逗号)
  6221. type: string
  6222. taaccounttype:
  6223. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6224. type: integer
  6225. thirdinamount:
  6226. description: 今日三方入金
  6227. type: number
  6228. thirdoutamount:
  6229. description: 今日三方出金
  6230. type: number
  6231. tradestatus:
  6232. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6233. type: integer
  6234. transferamount:
  6235. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6236. type: number
  6237. usedmargin:
  6238. description: 占用保证金
  6239. type: number
  6240. userid:
  6241. description: 用户ID
  6242. type: integer
  6243. type: object
  6244. models.ErmcpTradeConfigTMP:
  6245. properties:
  6246. areauserid:
  6247. description: 所属机构
  6248. type: integer
  6249. basiccurrencyid:
  6250. description: 基本币种ID[汇率] - 目标币种
  6251. type: integer
  6252. mainaccountid:
  6253. description: 主账户ID
  6254. type: integer
  6255. modifierid:
  6256. description: 修改人
  6257. type: integer
  6258. remark:
  6259. description: 备注
  6260. type: string
  6261. tradeconfigtmpid:
  6262. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6263. type: integer
  6264. tradeconfigtmpname:
  6265. description: 交易配置模板名称
  6266. type: string
  6267. tradeconfigtmptype:
  6268. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6269. type: integer
  6270. updatetime:
  6271. description: 更新时间
  6272. type: string
  6273. type: object
  6274. models.ErmcpWrstandard:
  6275. properties:
  6276. areauserid:
  6277. description: 所属机构
  6278. type: integer
  6279. createtime:
  6280. description: 创建时间
  6281. type: string
  6282. creatorid:
  6283. description: 创建人
  6284. type: integer
  6285. deliverygoodsid:
  6286. description: 品种ID
  6287. type: integer
  6288. enumdicname:
  6289. description: 单位名称
  6290. type: string
  6291. isvalid:
  6292. description: 是否有效 0-无效(停用) 1-有效(正常)
  6293. type: integer
  6294. minivalue:
  6295. description: 最小变动值
  6296. type: integer
  6297. minivaluedp:
  6298. description: 最小变动值小数位
  6299. type: integer
  6300. realminivalue:
  6301. description: 实际最小变动值
  6302. type: integer
  6303. realminivaluedp:
  6304. description: 实际最小变动值小数位
  6305. type: integer
  6306. remark:
  6307. description: 备注
  6308. type: string
  6309. unitid:
  6310. description: 单位ID
  6311. type: integer
  6312. updatetime:
  6313. description: 更新时间
  6314. type: string
  6315. wrstandardcode:
  6316. description: 现货商品代码
  6317. type: string
  6318. wrstandardid:
  6319. description: 现货商品ID(SEQ_WRSTANDARD)
  6320. type: integer
  6321. wrstandardname:
  6322. description: 现货商品名称
  6323. type: string
  6324. type: object
  6325. models.Externalexchange:
  6326. properties:
  6327. autoid:
  6328. description: AutoID - SEQ_EXTERNALEXCHANGE
  6329. type: integer
  6330. exchangefullname:
  6331. description: 外部交易所全称
  6332. type: string
  6333. exexchangecode:
  6334. description: 外部交易所代码
  6335. type: string
  6336. exexchangename:
  6337. description: 外部交易所名称(简称)
  6338. type: string
  6339. ismarketprice:
  6340. description: 是否支持市价 - 0:不支持 1:支持
  6341. type: integer
  6342. quotegear:
  6343. description: 行情档位(1-10)
  6344. type: integer
  6345. showbrokerflag:
  6346. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6347. type: integer
  6348. updatetime:
  6349. description: 更新时间
  6350. type: string
  6351. required:
  6352. - autoid
  6353. type: object
  6354. models.Funcmenulist:
  6355. properties:
  6356. iconame:
  6357. description: 菜单图标
  6358. type: string
  6359. menutype:
  6360. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6361. type: integer
  6362. parentcode:
  6363. description: 上级资源代码
  6364. type: string
  6365. remark:
  6366. description: 备注
  6367. type: string
  6368. resourcecode:
  6369. description: 资源代码
  6370. type: string
  6371. resourcelevel:
  6372. description: 级别 1-一级 2-二级 3-三级 4-四级
  6373. type: integer
  6374. resourcename:
  6375. description: 资源名
  6376. type: string
  6377. sort:
  6378. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6379. type: integer
  6380. url:
  6381. description: URL
  6382. type: string
  6383. required:
  6384. - resourcecode
  6385. type: object
  6386. models.Goods:
  6387. properties:
  6388. agreeunit:
  6389. description: 合约单位
  6390. type: number
  6391. auditaccountid:
  6392. description: 审核操作员账号
  6393. type: integer
  6394. audittime:
  6395. description: 审核时间
  6396. type: string
  6397. cancelaccountid:
  6398. description: 注销操作员账号
  6399. type: integer
  6400. canceltime:
  6401. description: 注销时间
  6402. type: string
  6403. closepricemode:
  6404. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6405. type: integer
  6406. closepriceparam:
  6407. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6408. type: number
  6409. createtime:
  6410. description: 创建时间
  6411. type: string
  6412. creatorid:
  6413. description: 创建人
  6414. type: integer
  6415. currencyid:
  6416. description: 报价货币ID
  6417. type: integer
  6418. cutmode:
  6419. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6420. type: integer
  6421. decimalplace:
  6422. description: 报价小数位
  6423. type: integer
  6424. delistingdate:
  6425. description: 商品退市时间(状态:退市) -- 已作废
  6426. type: string
  6427. delistingmode:
  6428. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6429. type: integer
  6430. deliveryflag:
  6431. description: 交割标志 - 0:不可交割 1:可交割
  6432. type: integer
  6433. forceclosemode:
  6434. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6435. type: integer
  6436. forceclosevalue:
  6437. description: 定期强平参数 [收益权]
  6438. type: integer
  6439. goodscode:
  6440. description: 商品代码(内部)
  6441. type: string
  6442. goodscurrencyid:
  6443. description: 合约货币ID
  6444. type: integer
  6445. goodsgroupid:
  6446. description: 所属商品组ID
  6447. type: integer
  6448. goodsid:
  6449. description: 商品ID(自增ID SEQ_GOODS)
  6450. type: integer
  6451. goodsname:
  6452. description: 商品名称
  6453. type: string
  6454. goodsquotetype:
  6455. description: '合约报价类型: 1-直接报价 2-间接报价'
  6456. type: integer
  6457. goodsstatus:
  6458. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6459. type: integer
  6460. goodstradetype:
  6461. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6462. type: integer
  6463. goodunitid:
  6464. description: 报价单位ID
  6465. type: integer
  6466. hasquoter:
  6467. description: 是否有报价商 - 0:无报价商 1:有报价商
  6468. type: integer
  6469. hqprotecttime:
  6470. description: 行情保护时间(秒)
  6471. type: integer
  6472. innerdealmode:
  6473. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6474. type: integer
  6475. isbuylimited:
  6476. description: 是否限制建仓量 - 0:不限制 1:限制
  6477. type: integer
  6478. lasttradedate:
  6479. description: 最后交易日期(状态:待退市)
  6480. type: string
  6481. listingdate:
  6482. description: 交易开始日期
  6483. type: string
  6484. marketid:
  6485. description: 所属市场ID
  6486. type: integer
  6487. modifierid:
  6488. description: 修改人
  6489. type: integer
  6490. modifystatus:
  6491. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6492. type: integer
  6493. modifytime:
  6494. description: 修改时间
  6495. type: string
  6496. outerdealmode:
  6497. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6498. type: integer
  6499. outgoodscode:
  6500. description: 商品代码(外部)
  6501. type: string
  6502. qtydecimalplace:
  6503. description: 成交量小数位
  6504. type: integer
  6505. quotegear:
  6506. description: 行情档位(1-10)
  6507. type: integer
  6508. quoteminunit:
  6509. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6510. type: integer
  6511. quoteshowtype:
  6512. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6513. type: integer
  6514. quoteshowtypeinterval:
  6515. description: 行情报价间隔时间(秒)(成交价时为0)
  6516. type: integer
  6517. remark:
  6518. description: 备注
  6519. type: string
  6520. required:
  6521. - goodscode
  6522. - goodsid
  6523. - goodsname
  6524. - marketid
  6525. type: object
  6526. models.GoodsBrand:
  6527. properties:
  6528. brandid:
  6529. description: 品牌ID
  6530. type: integer
  6531. brandname:
  6532. description: 品牌名称
  6533. type: string
  6534. isvalid:
  6535. description: 是否有效 - 0:无效 1:有效
  6536. type: integer
  6537. type: object
  6538. models.GoodsIDAndName:
  6539. properties:
  6540. goodscode:
  6541. description: 商品代码(内部)
  6542. type: string
  6543. goodsid:
  6544. description: 商品ID(自增ID SEQ_GOODS)
  6545. type: integer
  6546. goodsname:
  6547. description: 商品名称
  6548. type: string
  6549. marketid:
  6550. description: 所属市场ID
  6551. type: integer
  6552. required:
  6553. - goodscode
  6554. - goodsid
  6555. - goodsname
  6556. - marketid
  6557. type: object
  6558. models.GoodsTypeModel:
  6559. properties:
  6560. convertfactor:
  6561. description: 标仓系数
  6562. type: number
  6563. modelid:
  6564. description: 型号ID
  6565. type: integer
  6566. modelname:
  6567. description: 型号名称
  6568. type: string
  6569. updatetime:
  6570. description: 更新时间
  6571. type: string
  6572. type: object
  6573. models.Goodsgroup:
  6574. properties:
  6575. agreeunit:
  6576. description: 合约单位
  6577. type: number
  6578. canshort:
  6579. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6580. type: integer
  6581. closepricemode:
  6582. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6583. type: integer
  6584. closepriceparam:
  6585. description: 强平最新价浮动比例 - 方式为2时使用
  6586. type: number
  6587. createtime:
  6588. description: 创建时间
  6589. type: string
  6590. creatorid:
  6591. description: 创建人
  6592. type: integer
  6593. currencyid:
  6594. description: 报价货币ID
  6595. type: integer
  6596. decimalplace:
  6597. description: 报价小数位
  6598. type: integer
  6599. exercisetype:
  6600. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  6601. type: integer
  6602. exexchangeid:
  6603. description: 外部交易所ID[通道交易]
  6604. type: integer
  6605. goodsgroupid:
  6606. description: 商品组ID(自增ID)
  6607. type: integer
  6608. goodsgroupname:
  6609. description: 商品组名称
  6610. type: string
  6611. goodsgroupstatus:
  6612. description: 商品组状态 - 1:正常 2:注销
  6613. type: integer
  6614. goodunitid:
  6615. description: 报价单位ID
  6616. type: integer
  6617. innerdealmode:
  6618. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6619. type: integer
  6620. isbuylimited:
  6621. description: 是否限制建仓量 - 0:不限制 1:限制
  6622. type: integer
  6623. marketid:
  6624. description: 所属市场ID
  6625. type: integer
  6626. modifierid:
  6627. description: 修改人
  6628. type: integer
  6629. modifytime:
  6630. description: 修改时间
  6631. type: string
  6632. outerdealmode:
  6633. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6634. type: integer
  6635. outergroupcode:
  6636. description: 外部商品组代码[通道交易]
  6637. type: string
  6638. premiumdecimalplace:
  6639. description: 权利金小数位[场外期权]
  6640. type: integer
  6641. premiumspreadalgorithm:
  6642. description: 权利金点差方式[场外期权] 1:比率 2:固定
  6643. type: integer
  6644. premiumspreadvalue:
  6645. description: 权利金点差值[场外期权]
  6646. type: number
  6647. qtydecimalplace:
  6648. description: 成交量小数位
  6649. type: integer
  6650. quotegear:
  6651. description: 行情档位(1-10)
  6652. type: integer
  6653. quoteminunit:
  6654. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6655. type: integer
  6656. quoterid:
  6657. description: 报价商ID[场外期权]
  6658. type: integer
  6659. quotesourcegroupid:
  6660. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6661. type: integer
  6662. syncgoodsqty:
  6663. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6664. type: integer
  6665. required:
  6666. - goodsgroupid
  6667. - goodsgroupname
  6668. - goodsgroupstatus
  6669. - marketid
  6670. type: object
  6671. models.Goodssortbypreposition:
  6672. properties:
  6673. goodscode:
  6674. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  6675. type: string
  6676. goodsgroupcode:
  6677. description: 品种代码
  6678. type: string
  6679. prepositionqty:
  6680. description: 昨持仓量
  6681. type: integer
  6682. sortindex:
  6683. description: 排序
  6684. type: integer
  6685. tradedate:
  6686. description: 交易日
  6687. type: string
  6688. updatetime:
  6689. description: 更新时间
  6690. type: string
  6691. required:
  6692. - goodscode
  6693. - tradedate
  6694. type: object
  6695. models.Hedgeinnerholderdetail:
  6696. properties:
  6697. accountid:
  6698. description: 账号ID
  6699. type: integer
  6700. buyorsell:
  6701. description: 方向 - 0:买 1:卖
  6702. type: integer
  6703. freezeqty:
  6704. description: 冻结数量 - 按单平使用
  6705. type: integer
  6706. goodsid:
  6707. description: 商品ID
  6708. type: integer
  6709. holderamount:
  6710. description: 持仓金额 [商品币种]
  6711. type: number
  6712. holderdays:
  6713. description: 剩余冻结天数
  6714. type: integer
  6715. holderprice:
  6716. description: 持仓价格
  6717. type: number
  6718. holderqty:
  6719. description: 持仓数量
  6720. type: integer
  6721. marketid:
  6722. description: 市场ID
  6723. type: integer
  6724. openprice:
  6725. description: 建仓价格
  6726. type: number
  6727. openqty:
  6728. description: 建仓数量
  6729. type: integer
  6730. parentaccountid:
  6731. description: 所属母账户
  6732. type: integer
  6733. releaseamount:
  6734. description: 释放持仓金额[商品币种]
  6735. type: number
  6736. tradeamount:
  6737. description: 成交金额[账户]
  6738. type: number
  6739. tradedate:
  6740. description: 交易日(yyyyMMdd)
  6741. type: string
  6742. tradeid:
  6743. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6744. type: string
  6745. tradetime:
  6746. description: 交易时间
  6747. type: string
  6748. required:
  6749. - buyorsell
  6750. - tradeid
  6751. type: object
  6752. models.HsbyBuyMyPayOrder:
  6753. properties:
  6754. agreeunit:
  6755. description: 合约单位
  6756. type: number
  6757. buyaccountid:
  6758. description: 买方账号ID[报价币种]
  6759. type: integer
  6760. buyorderid:
  6761. description: 买方委托单号
  6762. type: string
  6763. createtime:
  6764. description: 创建时间
  6765. type: string
  6766. currencysign:
  6767. description: 货币符号
  6768. type: string
  6769. decimalplace:
  6770. description: 报价小数位
  6771. type: integer
  6772. goodscode:
  6773. description: 商品代码(内部)
  6774. type: string
  6775. goodsid:
  6776. description: 商品ID
  6777. type: integer
  6778. goodsname:
  6779. description: 商品名称
  6780. type: string
  6781. marketid:
  6782. description: 市场ID
  6783. type: integer
  6784. offamount:
  6785. description: 优惠金额
  6786. type: number
  6787. originalamount:
  6788. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  6789. type: number
  6790. payamount:
  6791. description: 支付金额 = TradeAmount + TradeCharge
  6792. type: number
  6793. payflag:
  6794. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6795. type: integer
  6796. paylimitedtime:
  6797. description: 支付期限
  6798. type: string
  6799. paytime:
  6800. description: 付款时间
  6801. type: string
  6802. picurls1:
  6803. description: 预售商品介绍图片[多张用逗号分隔]
  6804. type: string
  6805. picurls2:
  6806. description: 挂牌商品介绍图片[多张用逗号分隔]
  6807. type: string
  6808. sellaccountid:
  6809. description: 卖方账号ID[报价币种]
  6810. type: integer
  6811. sellorderid:
  6812. description: 卖方委托单号
  6813. type: string
  6814. tradeamount:
  6815. description: 成交金额
  6816. type: number
  6817. tradecharge:
  6818. description: 成交手续费(买方)
  6819. type: number
  6820. tradedate:
  6821. description: 交易日(yyyyMMdd)
  6822. type: string
  6823. tradeid:
  6824. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6825. type: string
  6826. trademode:
  6827. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6828. 21:竞拍-大宗式 22:受托竞价
  6829. type: integer
  6830. tradeprice:
  6831. description: 成交价格
  6832. type: number
  6833. tradeqty:
  6834. description: 成交数量
  6835. type: integer
  6836. vendorname1:
  6837. description: 预售商品供应商名称
  6838. type: string
  6839. vendorname2:
  6840. description: 挂牌商品供应商名称
  6841. type: string
  6842. required:
  6843. - goodscode
  6844. - goodsname
  6845. - tradeid
  6846. - trademode
  6847. type: object
  6848. models.HsbyBuyMyTradeDetail:
  6849. properties:
  6850. accountid:
  6851. description: 账户ID[报价币种]
  6852. type: integer
  6853. agreeunit:
  6854. description: 合约单位
  6855. type: number
  6856. amount:
  6857. description: 金额 = 价格 * 数量 * 合约单位
  6858. type: number
  6859. buyorsell:
  6860. description: 买卖 - 0:买 1:卖
  6861. type: integer
  6862. currencysign:
  6863. description: 货币符号
  6864. type: string
  6865. decimalplace:
  6866. description: 报价小数位
  6867. type: integer
  6868. goodscode:
  6869. description: 商品代码(内部)
  6870. type: string
  6871. goodsid:
  6872. description: 商品ID
  6873. type: integer
  6874. goodsname:
  6875. description: 商品名称
  6876. type: string
  6877. marketid:
  6878. description: 市场ID
  6879. type: integer
  6880. orderamount:
  6881. description: 委托金额
  6882. type: number
  6883. orderid:
  6884. description: 单号(成交单号)
  6885. type: string
  6886. picurls1:
  6887. description: 预售商品介绍图片[多张用逗号分隔]
  6888. type: string
  6889. picurls2:
  6890. description: 挂牌商品介绍图片[多张用逗号分隔]
  6891. type: string
  6892. price:
  6893. description: 价格
  6894. type: number
  6895. qty:
  6896. description: 数量
  6897. type: integer
  6898. time:
  6899. description: 时间
  6900. type: string
  6901. trademode:
  6902. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6903. 21:竞拍-大宗式 22:受托竞价
  6904. type: integer
  6905. vendorname1:
  6906. description: 预售商品供应商名称
  6907. type: string
  6908. vendorname2:
  6909. description: 挂牌商品供应商名称
  6910. type: string
  6911. required:
  6912. - accountid
  6913. - buyorsell
  6914. - goodscode
  6915. - goodsid
  6916. - goodsname
  6917. - marketid
  6918. - orderid
  6919. - qty
  6920. - time
  6921. - trademode
  6922. type: object
  6923. models.HsbyGoodsOrderDetail:
  6924. properties:
  6925. buyorsell:
  6926. description: 买卖 - 0:买 1:卖
  6927. type: integer
  6928. currencysign:
  6929. description: 货币符号
  6930. type: string
  6931. customername:
  6932. description: 客户名称(企业名称),已脱敏
  6933. type: string
  6934. enableqty:
  6935. description: 可用数量
  6936. type: integer
  6937. goodunit:
  6938. description: 报价单位
  6939. type: string
  6940. orderid:
  6941. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6942. type: string
  6943. orderprice:
  6944. description: 委托价格
  6945. type: number
  6946. ordertime:
  6947. description: 委托时间
  6948. type: string
  6949. required:
  6950. - buyorsell
  6951. - orderid
  6952. - ordertime
  6953. type: object
  6954. models.HsbyListingGoodsDetail:
  6955. properties:
  6956. agreeunit:
  6957. description: 合约单位
  6958. type: number
  6959. buymaxqty:
  6960. description: 购买上限 [71] - 0为不限
  6961. type: integer
  6962. currency:
  6963. description: 货币
  6964. type: string
  6965. currencysign:
  6966. description: 货币符号
  6967. type: string
  6968. decimalplace:
  6969. description: 报价小数位
  6970. type: integer
  6971. desccityid:
  6972. description: 目的地(市)ID
  6973. type: integer
  6974. descprovinceid:
  6975. description: 目的地(省)ID
  6976. type: integer
  6977. goodscode:
  6978. description: 商品代码(内部)
  6979. type: string
  6980. goodsdesc:
  6981. description: 商品详情
  6982. type: string
  6983. goodsid:
  6984. description: 商品ID(自增ID SEQ_GOODS)
  6985. type: integer
  6986. goodsname:
  6987. description: 商品名称
  6988. type: string
  6989. goodsprice:
  6990. description: 商品价格
  6991. type: number
  6992. hotindex:
  6993. description: 景点热度
  6994. type: integer
  6995. last:
  6996. description: 现价
  6997. type: number
  6998. limitdown:
  6999. description: 跌停价
  7000. type: number
  7001. limitup:
  7002. description: 涨停价
  7003. type: number
  7004. lotsize:
  7005. description: 手数最小变动单位
  7006. type: integer
  7007. marketid:
  7008. description: 所属市场ID
  7009. type: integer
  7010. picurls:
  7011. description: 介绍图片[多张用逗号分隔]
  7012. type: string
  7013. quoteminunit:
  7014. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7015. type: integer
  7016. stepvalue:
  7017. description: 价格最小变动单位
  7018. type: number
  7019. trademode:
  7020. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7021. 21:竞拍-大宗式 22:受托竞价
  7022. type: integer
  7023. vendorattr:
  7024. description: 供应商附件(多张,逗号分隔)
  7025. type: string
  7026. vendorname:
  7027. description: 供应商名称
  7028. type: string
  7029. vendorphone:
  7030. description: 供应商客服电话
  7031. type: string
  7032. videourls:
  7033. description: 介绍视频[多张用逗号分隔]
  7034. type: string
  7035. required:
  7036. - goodscode
  7037. - goodsid
  7038. - goodsname
  7039. - marketid
  7040. - trademode
  7041. type: object
  7042. models.HsbyMarketGoods:
  7043. properties:
  7044. accountid:
  7045. description: 账户ID[报价币种]
  7046. type: integer
  7047. agreeunit:
  7048. description: 合约单位
  7049. type: number
  7050. buyorsell:
  7051. description: 买卖 - 0:买 1:卖
  7052. type: integer
  7053. categoryid:
  7054. description: 类别ID(WRCATEGORY)
  7055. type: integer
  7056. currency:
  7057. description: 货币
  7058. type: string
  7059. currencysign:
  7060. description: 货币符号
  7061. type: string
  7062. customername:
  7063. description: 卖家名称
  7064. type: string
  7065. decimalplace:
  7066. description: 报价小数位
  7067. type: integer
  7068. goodscode:
  7069. description: 商品代码(内部)
  7070. type: string
  7071. goodsid:
  7072. description: 商品ID
  7073. type: integer
  7074. goodsname:
  7075. description: 商品名称
  7076. type: string
  7077. goodsprice:
  7078. description: 商品价格
  7079. type: number
  7080. hascoupon:
  7081. description: 是否可用优惠卷
  7082. type: boolean
  7083. hotindex:
  7084. description: 景点热度
  7085. type: integer
  7086. marketid:
  7087. description: 市场ID
  7088. type: integer
  7089. orderid:
  7090. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7091. type: string
  7092. orderprice:
  7093. description: 委托价格
  7094. type: number
  7095. orderstatus:
  7096. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7097. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7098. 16:成交失败违约(荷兰式竞拍专用)
  7099. type: integer
  7100. picurls:
  7101. description: 介绍图片[多张用逗号分隔]
  7102. type: string
  7103. quoteminunit:
  7104. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7105. type: integer
  7106. sellUserID:
  7107. description: 卖方UserID
  7108. type: integer
  7109. trademode:
  7110. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7111. 21:竞拍-大宗式 22:受托竞价
  7112. type: integer
  7113. videourls:
  7114. description: 介绍视频[多张用逗号分隔]
  7115. type: string
  7116. required:
  7117. - accountid
  7118. - buyorsell
  7119. - goodscode
  7120. - goodsid
  7121. - goodsname
  7122. - marketid
  7123. - orderid
  7124. - trademode
  7125. type: object
  7126. models.HsbyMarketGoodsDetail:
  7127. properties:
  7128. accountid:
  7129. description: 账户ID[报价币种]
  7130. type: integer
  7131. agreeunit:
  7132. description: 合约单位
  7133. type: number
  7134. buymaxqty:
  7135. description: 购买上限 [71] - 0为不限
  7136. type: integer
  7137. buyorsell:
  7138. description: 买卖 - 0:买 1:卖
  7139. type: integer
  7140. cancelqty:
  7141. description: 撤单数量
  7142. type: integer
  7143. categoryid:
  7144. description: 类别ID(WRCATEGORY)
  7145. type: integer
  7146. currency:
  7147. description: 货币
  7148. type: string
  7149. currencysign:
  7150. description: 货币符号
  7151. type: string
  7152. customername:
  7153. description: 卖家名称
  7154. type: string
  7155. decimalplace:
  7156. description: 报价小数位
  7157. type: integer
  7158. goodscode:
  7159. description: 商品代码(内部)
  7160. type: string
  7161. goodsdesc:
  7162. description: 商品详情
  7163. type: string
  7164. goodsid:
  7165. description: 商品ID
  7166. type: integer
  7167. goodsname:
  7168. description: 商品名称
  7169. type: string
  7170. goodsprice:
  7171. description: 商品价格
  7172. type: number
  7173. hotindex:
  7174. description: 景点热度
  7175. type: integer
  7176. lotsize:
  7177. description: 手数最小变动单位
  7178. type: integer
  7179. marketid:
  7180. description: 市场ID
  7181. type: integer
  7182. orderid:
  7183. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7184. type: string
  7185. orderprice:
  7186. description: 委托价格
  7187. type: number
  7188. orderqty:
  7189. description: 委托数量
  7190. type: integer
  7191. orderstatus:
  7192. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7193. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7194. 16:成交失败违约(荷兰式竞拍专用)
  7195. type: integer
  7196. picurls:
  7197. description: 介绍图片[多张用逗号分隔]
  7198. type: string
  7199. quoteminunit:
  7200. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7201. type: integer
  7202. sellUserID:
  7203. description: 卖方UserID
  7204. type: integer
  7205. trademode:
  7206. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7207. 21:竞拍-大宗式 22:受托竞价
  7208. type: integer
  7209. tradeqty:
  7210. description: 成交数量
  7211. type: integer
  7212. vendorattr:
  7213. description: 供应商附件(多张,逗号分隔)
  7214. type: string
  7215. vendorname:
  7216. description: 供应商名称
  7217. type: string
  7218. vendorphone:
  7219. description: 供应商客服电话
  7220. type: string
  7221. videourls:
  7222. description: 介绍视频[多张用逗号分隔]
  7223. type: string
  7224. required:
  7225. - accountid
  7226. - buyorsell
  7227. - goodscode
  7228. - goodsid
  7229. - goodsname
  7230. - marketid
  7231. - orderid
  7232. - orderqty
  7233. - trademode
  7234. type: object
  7235. models.HsbyMarketInfo:
  7236. properties:
  7237. marketid:
  7238. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7239. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7240. type: integer
  7241. marketname:
  7242. description: 市场名称
  7243. type: string
  7244. marketstatus:
  7245. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7246. type: integer
  7247. trademode:
  7248. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7249. 21:竞拍-大宗式 22:受托竞价
  7250. type: integer
  7251. required:
  7252. - marketid
  7253. - marketstatus
  7254. - trademode
  7255. type: object
  7256. models.HsbyMyGoods:
  7257. properties:
  7258. accountid:
  7259. description: 账号Id
  7260. type: integer
  7261. agreeunit:
  7262. description: 合约单位
  7263. type: number
  7264. buyaverageprice:
  7265. description: 持仓均价
  7266. type: number
  7267. buycurholderamount:
  7268. description: 买当前持仓总金额[商品币种]
  7269. type: number
  7270. buycurpositionqty:
  7271. description: 买当前持仓总数量
  7272. type: integer
  7273. buymaxqty:
  7274. description: 购买上限 [71] - 0为不限
  7275. type: integer
  7276. currencysign:
  7277. description: 货币符号
  7278. type: string
  7279. decimalplace:
  7280. description: 报价小数位
  7281. type: integer
  7282. enableqty:
  7283. description: 可用数量
  7284. type: integer
  7285. goodscode:
  7286. description: 商品代码(内部)
  7287. type: string
  7288. goodsid:
  7289. description: 商品Id
  7290. type: integer
  7291. goodsname:
  7292. description: 商品名称
  7293. type: string
  7294. goodsprice:
  7295. description: 商品价格
  7296. type: number
  7297. goodsstatus:
  7298. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7299. type: integer
  7300. last:
  7301. description: 现价(仅使用于挂牌点选)
  7302. type: number
  7303. limitdown:
  7304. description: 跌停价(仅使用于挂牌点选)
  7305. type: number
  7306. limitup:
  7307. description: 涨停价(仅使用于挂牌点选)
  7308. type: number
  7309. lotsize:
  7310. description: 手数最小变动单位
  7311. type: integer
  7312. marketid:
  7313. description: 所属市场ID
  7314. type: integer
  7315. picurls:
  7316. description: 介绍图片[多张用逗号分隔]
  7317. type: string
  7318. quoteminunit:
  7319. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7320. type: integer
  7321. stepvalue:
  7322. description: 价格最小变动单位
  7323. type: number
  7324. trademode:
  7325. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7326. 21:竞拍-大宗式 22:受托竞价
  7327. type: integer
  7328. required:
  7329. - accountid
  7330. - goodscode
  7331. - goodsid
  7332. - goodsname
  7333. - marketid
  7334. - trademode
  7335. type: object
  7336. models.HsbyMyPackage:
  7337. properties:
  7338. accountid:
  7339. description: 账户ID
  7340. type: integer
  7341. address:
  7342. description: 提货人详细地址
  7343. type: string
  7344. agreeunit:
  7345. description: 合约单位
  7346. type: number
  7347. amount:
  7348. description: 提货金额
  7349. type: number
  7350. auditer:
  7351. description: 审核人
  7352. type: integer
  7353. audittime:
  7354. description: 审核时间
  7355. type: string
  7356. averageprice:
  7357. description: 均价
  7358. type: number
  7359. cardnum:
  7360. description: 提货人证件号码
  7361. type: string
  7362. cardtypeid:
  7363. description: 提货人证件类型
  7364. type: integer
  7365. checkremark:
  7366. description: 审核备注
  7367. type: string
  7368. currencysign:
  7369. description: 货币符号
  7370. type: string
  7371. decimalplace:
  7372. description: 报价小数位
  7373. type: integer
  7374. goodscode:
  7375. description: 商品代码(内部)
  7376. type: string
  7377. goodsid:
  7378. description: 商品ID
  7379. type: integer
  7380. goodsname:
  7381. description: 商品名称
  7382. type: string
  7383. handlestatus:
  7384. description: 处理状态
  7385. type: integer
  7386. marketid:
  7387. description: 市场ID
  7388. type: integer
  7389. phonenum:
  7390. description: 提货人联系方式
  7391. type: string
  7392. picurls:
  7393. description: 介绍图片[多张用逗号分隔]
  7394. type: string
  7395. qty:
  7396. description: 提货数量
  7397. type: number
  7398. recivername:
  7399. description: 提货人姓名
  7400. type: string
  7401. reqtime:
  7402. description: 更新时间
  7403. type: string
  7404. takemode:
  7405. description: 提货方式 - 2:自提 3:配送
  7406. type: integer
  7407. takeorderid:
  7408. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7409. type: string
  7410. takeorderstatus:
  7411. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7412. type: integer
  7413. takeremark:
  7414. description: 提货备注
  7415. type: string
  7416. tradedate:
  7417. description: 交易日(yyyyMMdd)
  7418. type: string
  7419. trademode:
  7420. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7421. 21:竞拍-大宗式 22:受托竞价
  7422. type: integer
  7423. userid:
  7424. description: 用户ID
  7425. type: integer
  7426. vendorname:
  7427. description: 供应商名称
  7428. type: string
  7429. required:
  7430. - goodscode
  7431. - goodsname
  7432. - takeorderid
  7433. - trademode
  7434. type: object
  7435. models.HsbyPreGoods:
  7436. properties:
  7437. agreeunit:
  7438. description: 合约单位
  7439. type: number
  7440. currency:
  7441. description: 货币
  7442. type: string
  7443. currencysign:
  7444. description: 货币符号
  7445. type: string
  7446. decimalplace:
  7447. description: 报价小数位
  7448. type: integer
  7449. desccityid:
  7450. description: 目的地(市)
  7451. type: integer
  7452. descprovinceid:
  7453. description: 目的地(省)
  7454. type: integer
  7455. enableqty:
  7456. description: 剩余数量
  7457. type: integer
  7458. goodscode:
  7459. description: 商品代码(内部)
  7460. type: string
  7461. goodsid:
  7462. description: 商品ID(自增ID SEQ_GOODS)
  7463. type: integer
  7464. goodsname:
  7465. description: 商品名称
  7466. type: string
  7467. goodsstatus:
  7468. description: 商品状态- 2:未上市 3:上市
  7469. type: integer
  7470. lasttradedate:
  7471. description: 最后交易日期(状态:待退市)
  7472. type: string
  7473. listingdate:
  7474. description: 交易开始日期
  7475. type: string
  7476. marketid:
  7477. description: 所属市场ID
  7478. type: integer
  7479. picurls:
  7480. description: 介绍图片[多张用逗号分隔]
  7481. type: string
  7482. presaledqty:
  7483. description: 已预售量(预售结束时更新)
  7484. type: integer
  7485. presaleqty:
  7486. description: 预售数量
  7487. type: integer
  7488. quoteminunit:
  7489. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7490. type: integer
  7491. refprice:
  7492. description: 参考价格[一口价]
  7493. type: number
  7494. relatedgoodsid:
  7495. description: 关联交易合约ID
  7496. type: integer
  7497. trademode:
  7498. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7499. 21:竞拍-大宗式 22:受托竞价
  7500. type: integer
  7501. videourls:
  7502. description: 介绍视频[多张用逗号分隔]
  7503. type: string
  7504. required:
  7505. - goodscode
  7506. - goodsid
  7507. - goodsname
  7508. - marketid
  7509. - trademode
  7510. type: object
  7511. models.HsbyPreGoodsDetail:
  7512. properties:
  7513. agreeunit:
  7514. description: 合约单位
  7515. type: number
  7516. buymaxqty:
  7517. description: 购买上限 [71] - 0为不限
  7518. type: integer
  7519. currency:
  7520. description: 货币
  7521. type: string
  7522. currencysign:
  7523. description: 货币符号
  7524. type: string
  7525. customername:
  7526. description: 发行单位
  7527. type: string
  7528. decimalplace:
  7529. description: 报价小数位
  7530. type: integer
  7531. desccityid:
  7532. description: 目的地(市)ID
  7533. type: integer
  7534. descprovinceid:
  7535. description: 目的地(省)ID
  7536. type: integer
  7537. enableqty:
  7538. description: 剩余数量
  7539. type: integer
  7540. goodscode:
  7541. description: 商品代码(内部)
  7542. type: string
  7543. goodsdesc:
  7544. description: 商品详情
  7545. type: string
  7546. goodsid:
  7547. description: 商品ID(自增ID SEQ_GOODS)
  7548. type: integer
  7549. goodsname:
  7550. description: 商品名称
  7551. type: string
  7552. goodsstatus:
  7553. description: 商品状态- 2:未上市 3:上市
  7554. type: integer
  7555. goodunit:
  7556. description: 报价单位
  7557. type: string
  7558. lasttradedate:
  7559. description: 最后交易日期(状态:待退市)
  7560. type: string
  7561. listingdate:
  7562. description: 交易开始日期
  7563. type: string
  7564. lotsize:
  7565. description: 手数最小变动单位
  7566. type: integer
  7567. marketid:
  7568. description: 所属市场ID
  7569. type: integer
  7570. picurls:
  7571. description: 介绍图片[多张用逗号分隔]
  7572. type: string
  7573. presaledqty:
  7574. description: 已预售量(预售结束时更新)
  7575. type: integer
  7576. presaleqty:
  7577. description: 预售数量
  7578. type: integer
  7579. quoteminunit:
  7580. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7581. type: integer
  7582. refprice:
  7583. description: 参考价格[一口价]
  7584. type: number
  7585. relatedgoodsid:
  7586. description: 关联交易合约ID
  7587. type: integer
  7588. stepvalue:
  7589. description: 价格最小变动单位
  7590. type: number
  7591. trademode:
  7592. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7593. 21:竞拍-大宗式 22:受托竞价
  7594. type: integer
  7595. vendorattr:
  7596. description: 供应商附件(多张,逗号分隔)
  7597. type: string
  7598. vendorname:
  7599. description: 供应商名称
  7600. type: string
  7601. vendorphone:
  7602. description: 供应商客服电话
  7603. type: string
  7604. videourls:
  7605. description: 介绍视频[多张用逗号分隔]
  7606. type: string
  7607. required:
  7608. - goodscode
  7609. - goodsid
  7610. - goodsname
  7611. - marketid
  7612. - trademode
  7613. type: object
  7614. models.HsbySellCollectionOrder:
  7615. properties:
  7616. agreeunit:
  7617. description: 合约单位
  7618. type: number
  7619. buyaccountid:
  7620. description: 买方账号ID[报价币种]
  7621. type: integer
  7622. buyorderid:
  7623. description: 买方委托单号
  7624. type: string
  7625. createtime:
  7626. description: 创建时间
  7627. type: string
  7628. currencysign:
  7629. description: 货币符号
  7630. type: string
  7631. decimalplace:
  7632. description: 报价小数位
  7633. type: integer
  7634. goodscode:
  7635. description: 商品代码(内部)
  7636. type: string
  7637. goodsid:
  7638. description: 商品ID
  7639. type: integer
  7640. goodsname:
  7641. description: 商品名称
  7642. type: string
  7643. marketid:
  7644. description: 市场ID
  7645. type: integer
  7646. offamount:
  7647. description: 优惠金额
  7648. type: number
  7649. payamount:
  7650. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  7651. type: number
  7652. payflag:
  7653. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7654. type: integer
  7655. paylimitedtime:
  7656. description: 支付期限
  7657. type: string
  7658. paytime:
  7659. description: 付款时间
  7660. type: string
  7661. picurls:
  7662. description: 商品介绍图片[多张用逗号分隔]
  7663. type: string
  7664. sellaccountid:
  7665. description: 卖方账号ID[报价币种]
  7666. type: integer
  7667. sellorderid:
  7668. description: 卖方委托单号
  7669. type: string
  7670. tradeamount:
  7671. description: 成交金额
  7672. type: number
  7673. tradecharge:
  7674. description: 成交手续费(买方)
  7675. type: number
  7676. tradedate:
  7677. description: 交易日(yyyyMMdd)
  7678. type: string
  7679. tradeid:
  7680. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7681. type: string
  7682. trademode:
  7683. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7684. 21:竞拍-大宗式 22:受托竞价
  7685. type: integer
  7686. tradeprice:
  7687. description: 成交价格
  7688. type: number
  7689. tradeqty:
  7690. description: 成交数量
  7691. type: integer
  7692. required:
  7693. - goodscode
  7694. - goodsname
  7695. - tradeid
  7696. - trademode
  7697. type: object
  7698. models.HsbySellMyDetail:
  7699. properties:
  7700. accountid:
  7701. description: 账户ID[报价币种]
  7702. type: integer
  7703. agreeunit:
  7704. description: 合约单位
  7705. type: number
  7706. buyorsell:
  7707. description: 买卖 - 0:买 1:卖
  7708. type: integer
  7709. currencysign:
  7710. description: 货币符号
  7711. type: string
  7712. decimalplace:
  7713. description: 报价小数位
  7714. type: integer
  7715. goodscode:
  7716. description: 商品代码(内部)
  7717. type: string
  7718. goodsid:
  7719. description: 商品ID
  7720. type: integer
  7721. goodsname:
  7722. description: 商品名称
  7723. type: string
  7724. marketid:
  7725. description: 市场ID
  7726. type: integer
  7727. orderid:
  7728. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  7729. type: string
  7730. ordertype:
  7731. description: 单据类型:0 - 发布中, 1 - 已完成
  7732. type: integer
  7733. picurls:
  7734. description: 介绍图片[多张用逗号分隔]
  7735. type: string
  7736. price:
  7737. description: 价格
  7738. type: number
  7739. qty:
  7740. description: 数量
  7741. type: integer
  7742. time:
  7743. description: 时间
  7744. type: string
  7745. trademode:
  7746. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7747. 21:竞拍-大宗式 22:受托竞价
  7748. type: integer
  7749. vendorname:
  7750. description: 供应商名称
  7751. type: string
  7752. required:
  7753. - accountid
  7754. - buyorsell
  7755. - goodscode
  7756. - goodsid
  7757. - goodsname
  7758. - marketid
  7759. - orderid
  7760. - time
  7761. - trademode
  7762. type: object
  7763. models.HsbyTopGoods:
  7764. properties:
  7765. agreeunit:
  7766. description: 合约单位
  7767. type: number
  7768. currency:
  7769. description: 货币
  7770. type: string
  7771. currencysign:
  7772. description: 货币符号
  7773. type: string
  7774. decimalplace:
  7775. description: 报价小数位
  7776. type: integer
  7777. desccityid:
  7778. description: 目的地(市)
  7779. type: integer
  7780. descprovinceid:
  7781. description: 目的地(省)
  7782. type: integer
  7783. goodscode:
  7784. description: 商品代码(内部)
  7785. type: string
  7786. goodsid:
  7787. description: 商品ID(自增ID SEQ_GOODS)
  7788. type: integer
  7789. goodsname:
  7790. description: 商品名称
  7791. type: string
  7792. hotindex:
  7793. description: 景点热度
  7794. type: integer
  7795. last:
  7796. description: 现价
  7797. type: number
  7798. marketid:
  7799. description: 所属市场ID
  7800. type: integer
  7801. picurls:
  7802. description: 介绍图片[多张用逗号分隔]
  7803. type: string
  7804. quoteminunit:
  7805. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7806. type: integer
  7807. trademode:
  7808. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7809. 21:竞拍-大宗式 22:受托竞价
  7810. type: integer
  7811. videourls:
  7812. description: 介绍视频[多张用逗号分隔]
  7813. type: string
  7814. required:
  7815. - goodscode
  7816. - goodsid
  7817. - goodsname
  7818. - marketid
  7819. - trademode
  7820. type: object
  7821. models.HybsMyBuyOrderDetail:
  7822. properties:
  7823. accountid:
  7824. description: 账户ID[报价币种]
  7825. type: integer
  7826. agreeunit:
  7827. description: 合约单位
  7828. type: number
  7829. buyorsell:
  7830. description: 买卖 - 0:买 1:卖
  7831. type: integer
  7832. cancelqty:
  7833. description: 撤单数量
  7834. type: integer
  7835. currencysign:
  7836. description: 货币符号
  7837. type: string
  7838. decimalplace:
  7839. description: 报价小数位
  7840. type: integer
  7841. goodscode:
  7842. description: 商品代码(内部)
  7843. type: string
  7844. goodsid:
  7845. description: 商品ID
  7846. type: integer
  7847. goodsname:
  7848. description: 商品名称
  7849. type: string
  7850. listingselecttype:
  7851. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7852. type: integer
  7853. marketid:
  7854. description: 市场ID
  7855. type: integer
  7856. mybuystatus:
  7857. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  7858. type: integer
  7859. orderamount:
  7860. description: 委托金额
  7861. type: number
  7862. orderid:
  7863. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7864. type: string
  7865. orderprice:
  7866. description: 委托价格
  7867. type: number
  7868. orderqty:
  7869. description: 委托数量
  7870. type: integer
  7871. orderstatus:
  7872. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7873. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7874. 16:成交失败违约(荷兰式竞拍专用)
  7875. type: integer
  7876. ordertime:
  7877. description: 委托时间
  7878. type: string
  7879. picurls1:
  7880. description: 预售商品介绍图片[多张用逗号分隔]
  7881. type: string
  7882. picurls2:
  7883. description: 挂牌商品介绍图片[多张用逗号分隔]
  7884. type: string
  7885. trademode:
  7886. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7887. 21:竞拍-大宗式 22:受托竞价
  7888. type: integer
  7889. tradeqty:
  7890. description: 成交数量
  7891. type: integer
  7892. vendorname1:
  7893. description: 预售商品供应商名称
  7894. type: string
  7895. vendorname2:
  7896. description: 挂牌商品供应商名称
  7897. type: string
  7898. required:
  7899. - accountid
  7900. - buyorsell
  7901. - goodscode
  7902. - goodsid
  7903. - goodsname
  7904. - marketid
  7905. - orderid
  7906. - orderqty
  7907. - ordertime
  7908. - trademode
  7909. type: object
  7910. models.Loginaccount:
  7911. properties:
  7912. canoutin:
  7913. description: 是否可出入金 - 0:不可 1:可
  7914. type: integer
  7915. clientroleid:
  7916. description: 终端角色ID
  7917. type: integer
  7918. haslogined:
  7919. description: 是否已登录 - 0:未登录 1:已登录
  7920. type: integer
  7921. hasupdatedpwd:
  7922. description: 是否已更改密码 - 0:未修改 1:已修改
  7923. type: integer
  7924. lastloginip:
  7925. description: 最新登录地址
  7926. type: string
  7927. lastloginmode:
  7928. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  7929. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7930. type: integer
  7931. lastloginremark:
  7932. description: 最新登录描述
  7933. type: string
  7934. lastlogintime:
  7935. description: 最新登录时间
  7936. type: string
  7937. logincode:
  7938. description: 登录代码
  7939. type: string
  7940. loginfailnum:
  7941. description: 连续登录失败次数(登录成功时清零)
  7942. type: integer
  7943. loginid:
  7944. description: 登陆账号
  7945. type: integer
  7946. loginport:
  7947. description: 最新登录端口
  7948. type: integer
  7949. loginstatus:
  7950. description: 登录账号状态 1:正常 2:冻结 3:无效
  7951. type: integer
  7952. loginusertype:
  7953. description: 登录账号类型 - 1:投资者 2:机构交易员
  7954. type: integer
  7955. modifierid:
  7956. description: 修改人
  7957. type: integer
  7958. modifytime:
  7959. description: 修改时间
  7960. type: string
  7961. pwdwrongcount:
  7962. description: 密码错误次数
  7963. type: integer
  7964. taaccountrighttype:
  7965. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  7966. type: integer
  7967. unfreezetime:
  7968. description: 账户解冻时间
  7969. type: string
  7970. userid:
  7971. description: 用户ID
  7972. type: integer
  7973. required:
  7974. - loginid
  7975. type: object
  7976. models.MainAccountInfo:
  7977. properties:
  7978. accountid:
  7979. description: 账号id
  7980. type: string
  7981. appid:
  7982. description: AppID
  7983. type: string
  7984. authcode:
  7985. description: 授权码
  7986. type: string
  7987. brokerid:
  7988. description: 经纪商id
  7989. type: string
  7990. fcid:
  7991. description: 期货公司id
  7992. type: integer
  7993. fcname:
  7994. description: 期货公司代码
  7995. type: string
  7996. hedgeaccountcode:
  7997. description: 外部账号代码
  7998. type: string
  7999. hedgeaccountpwd:
  8000. description: 密码
  8001. type: string
  8002. ismain:
  8003. description: 是否主账号
  8004. type: integer
  8005. relateduserid:
  8006. description: 关联用户id
  8007. type: integer
  8008. type: object
  8009. models.Market:
  8010. properties:
  8011. auctionwrtype:
  8012. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8013. type: integer
  8014. canacceptquote:
  8015. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8016. type: integer
  8017. cangoodsexercise:
  8018. description: '[期权]是否可现货行权- 0:否 1:是'
  8019. type: integer
  8020. cangoodsexercisetype:
  8021. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8022. type: integer
  8023. canmanualquotestrike:
  8024. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8025. type: integer
  8026. canmutistage:
  8027. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8028. type: integer
  8029. canpreexercise:
  8030. description: '[期权]是否可预申报- 0:否 1:是'
  8031. type: integer
  8032. clearinterval:
  8033. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8034. type: integer
  8035. contracttmp:
  8036. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8037. type: string
  8038. exchareaid:
  8039. description: 所属交易所,可以没有
  8040. type: integer
  8041. goodstype:
  8042. description: 商品类型 - 1:交易商品 2:仓单商品
  8043. type: integer
  8044. hasrebate:
  8045. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8046. type: integer
  8047. hastradecredit:
  8048. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8049. type: integer
  8050. haswr:
  8051. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8052. type: integer
  8053. isdeductmargin:
  8054. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8055. type: integer
  8056. isrecordsource:
  8057. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8058. type: integer
  8059. isreleasemargin:
  8060. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8061. type: integer
  8062. marginformula:
  8063. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8064. type: integer
  8065. marginformula2:
  8066. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8067. type: integer
  8068. marketid:
  8069. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8070. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8071. type: integer
  8072. marketname:
  8073. description: 市场名称
  8074. type: string
  8075. marketserviceid:
  8076. description: 市场服务ID
  8077. type: integer
  8078. marketstatus:
  8079. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8080. type: integer
  8081. markettype:
  8082. description: 市场类型- 1:非交易服务 2:交易服务
  8083. type: integer
  8084. matchermode:
  8085. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8086. type: integer
  8087. openmethod:
  8088. description: 开盘模式 - 0 自动 1手动
  8089. type: integer
  8090. otcuserid:
  8091. description: 场外期权做市商[场外期权]
  8092. type: integer
  8093. outersynctime:
  8094. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8095. type: string
  8096. pendingflag:
  8097. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8098. type: integer
  8099. pendingtime:
  8100. description: 待开市时间[通道交易-对冲](HH:mm)
  8101. type: string
  8102. performancetempid:
  8103. description: 履约计划模板ID - 作废
  8104. type: integer
  8105. premiumquotemode:
  8106. description: 权利金报价方式 - 1:自动 2:手动
  8107. type: integer
  8108. rebateratio:
  8109. description: 返利比率[竞价式]
  8110. type: number
  8111. reckonorder:
  8112. description: 结算顺序
  8113. type: integer
  8114. reckonpricealgorithm:
  8115. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8116. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8117. type: integer
  8118. reckonpriceparam:
  8119. description: 结算价参数
  8120. type: integer
  8121. reckontime:
  8122. description: 结算时间[通道交易-对冲](HH:mm)
  8123. type: string
  8124. roleprioritytype:
  8125. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8126. type: integer
  8127. selllistingauditflag:
  8128. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8129. type: integer
  8130. trademarkettype:
  8131. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8132. type: integer
  8133. trademode:
  8134. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8135. 21:竞拍-大宗式 22:受托竞价
  8136. type: integer
  8137. tradeproperty:
  8138. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8139. 8:场外期权
  8140. type: integer
  8141. tradetype:
  8142. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8143. type: integer
  8144. required:
  8145. - marketid
  8146. - marketstatus
  8147. - openmethod
  8148. - reckonpricealgorithm
  8149. - trademode
  8150. - tradeproperty
  8151. type: object
  8152. models.Marketrun:
  8153. properties:
  8154. afternexttradedate:
  8155. description: 下下交易日
  8156. type: string
  8157. clearquoteflag:
  8158. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8159. type: integer
  8160. lastreckondate:
  8161. description: 最新交易日(结算成功)
  8162. type: string
  8163. machinedate:
  8164. description: 机器时间
  8165. type: string
  8166. manualflag:
  8167. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8168. type: integer
  8169. marketid:
  8170. description: 市场ID
  8171. type: integer
  8172. nexttradedate:
  8173. description: 下一交易日
  8174. type: string
  8175. pretradedate:
  8176. description: 上一交易日
  8177. type: string
  8178. reckonflag:
  8179. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8180. type: integer
  8181. runstatus:
  8182. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8183. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8184. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8185. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8186. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8187. 62.今日免清算
  8188. type: integer
  8189. sectionid:
  8190. description: 时间段号[多时段时用]
  8191. type: integer
  8192. tradedate:
  8193. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8194. type: string
  8195. tradedate2:
  8196. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8197. type: string
  8198. updatetime:
  8199. description: 更新时间
  8200. type: string
  8201. required:
  8202. - marketid
  8203. - nexttradedate
  8204. - reckonflag
  8205. - runstatus
  8206. - tradedate
  8207. - tradedate2
  8208. type: object
  8209. models.Messageboard:
  8210. properties:
  8211. contactnum:
  8212. description: 联系电话
  8213. type: string
  8214. createtime:
  8215. description: 创建时间
  8216. type: string
  8217. message:
  8218. description: 留言信息
  8219. type: string
  8220. messageboardid:
  8221. description: 留言簿ID(SEQ_MessageBoard)
  8222. type: integer
  8223. userid:
  8224. description: 用户ID
  8225. type: integer
  8226. required:
  8227. - messageboardid
  8228. type: object
  8229. models.MyCoupon:
  8230. properties:
  8231. accountid:
  8232. description: 资金账户ID
  8233. type: integer
  8234. areauserid:
  8235. description: 所属机构
  8236. type: integer
  8237. conditionvalue:
  8238. description: 条件阈值(可为0)
  8239. type: number
  8240. couponcategroy:
  8241. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8242. type: integer
  8243. couponname:
  8244. description: 优惠券名称
  8245. type: string
  8246. coupontypeid:
  8247. description: 优惠券类型ID
  8248. type: string
  8249. couponvalue:
  8250. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8251. type: number
  8252. curfreezeqty:
  8253. description: 期末冻结数量
  8254. type: integer
  8255. curqty:
  8256. description: 期末数量
  8257. type: integer
  8258. isgeneral:
  8259. description: 是否通用券 - 0:否 1:是
  8260. type: integer
  8261. isunusable:
  8262. description: 是否不可用
  8263. type: boolean
  8264. limitedflag:
  8265. description: 是否指定商品 - 0:不限 1:限制
  8266. type: integer
  8267. limitedgoodsids:
  8268. description: 指定商品IDs[逗号分隔,前后加逗号]
  8269. type: string
  8270. orifreezeqty:
  8271. description: 期初冻结数量
  8272. type: integer
  8273. oriqty:
  8274. description: 期初数量
  8275. type: integer
  8276. reasontype:
  8277. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8278. type: integer
  8279. todaydecrease:
  8280. description: 今日减少
  8281. type: integer
  8282. todayincrease:
  8283. description: 今日增加
  8284. type: integer
  8285. userid:
  8286. description: 用户ID
  8287. type: integer
  8288. userscope:
  8289. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8290. type: string
  8291. required:
  8292. - accountid
  8293. - coupontypeid
  8294. type: object
  8295. models.MyCouponHold:
  8296. properties:
  8297. accountid:
  8298. description: 资金账户ID
  8299. type: integer
  8300. conditionvalue:
  8301. description: 条件阈值(可为0)
  8302. type: number
  8303. couponcategroy:
  8304. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8305. type: integer
  8306. couponholdid:
  8307. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8308. type: string
  8309. couponname:
  8310. description: 优惠券名称
  8311. type: string
  8312. coupontypeid:
  8313. description: 优惠券类型ID - SEQ_COUPONTYPE
  8314. type: string
  8315. couponvalue:
  8316. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8317. type: number
  8318. createtime:
  8319. description: 创建时间
  8320. type: string
  8321. enddate:
  8322. description: 结束日期
  8323. type: string
  8324. giveapplyid:
  8325. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8326. type: integer
  8327. holdstatus:
  8328. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8329. type: integer
  8330. isgeneral:
  8331. description: 是否通用券 - 0:否 1:是
  8332. type: integer
  8333. limitedflag:
  8334. description: 是否指定商品 - 0:不限 1:限制
  8335. type: integer
  8336. limitedgoodsids:
  8337. description: 指定商品IDs[逗号分隔]
  8338. type: string
  8339. qty:
  8340. description: 数量(按1平铺)
  8341. type: integer
  8342. startdate:
  8343. description: 开始日期
  8344. type: string
  8345. userid:
  8346. description: 用户ID
  8347. type: integer
  8348. userscope:
  8349. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8350. type: string
  8351. required:
  8352. - couponholdid
  8353. type: object
  8354. models.MyUsedCoupon:
  8355. properties:
  8356. accountid:
  8357. description: 资金账户ID(买方)
  8358. type: integer
  8359. conditionvalue:
  8360. description: 条件阈值(可为0)
  8361. type: number
  8362. couponcategroy:
  8363. description: 种类 - 1:现金券 2:折扣券
  8364. type: integer
  8365. couponname:
  8366. description: 优惠券名称
  8367. type: string
  8368. coupontypeid:
  8369. description: 优惠券类型ID(买方)
  8370. type: string
  8371. couponvalue:
  8372. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8373. type: number
  8374. createtime:
  8375. description: 创建时间
  8376. type: string
  8377. goodsid:
  8378. description: 商品ID
  8379. type: integer
  8380. handlestatus:
  8381. description: 处理状态
  8382. type: integer
  8383. marketid:
  8384. description: 市场ID
  8385. type: integer
  8386. offamount:
  8387. description: 优惠金额
  8388. type: number
  8389. orderid:
  8390. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8391. type: string
  8392. sellaccountid:
  8393. description: 资金账户ID(卖方)
  8394. type: integer
  8395. tradeamount:
  8396. description: 成交金额
  8397. type: number
  8398. tradeid:
  8399. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8400. type: string
  8401. usedqty:
  8402. description: 使用数量
  8403. type: integer
  8404. required:
  8405. - coupontypeid
  8406. - orderid
  8407. type: object
  8408. models.OperationPrimaryMenu:
  8409. properties:
  8410. Children:
  8411. description: 二级功能菜单
  8412. items:
  8413. $ref: '#/definitions/models.OperationSecondaryMenu'
  8414. type: array
  8415. Key:
  8416. description: 菜单KEY
  8417. type: string
  8418. Label:
  8419. description: 菜单标题
  8420. type: string
  8421. type: object
  8422. models.OperationSecondaryMenu:
  8423. properties:
  8424. Key:
  8425. description: 菜单KEY
  8426. type: string
  8427. Label:
  8428. description: 菜单标题
  8429. type: string
  8430. TabList:
  8431. description: 三级功能菜单
  8432. items:
  8433. $ref: '#/definitions/models.OperationTabMenu'
  8434. type: array
  8435. type: object
  8436. models.OperationTabMenu:
  8437. properties:
  8438. Key:
  8439. description: 菜单KEY
  8440. type: string
  8441. Label:
  8442. description: 菜单标题
  8443. type: string
  8444. type: object
  8445. models.QueryErrorInfosRsp:
  8446. properties:
  8447. description:
  8448. description: 异常描述
  8449. type: string
  8450. errorcode:
  8451. description: 异常代码
  8452. type: string
  8453. errorid:
  8454. description: 异常ID
  8455. type: integer
  8456. modulecode:
  8457. description: 所属模块
  8458. type: string
  8459. operatecode:
  8460. description: 所属操作
  8461. type: string
  8462. rownumber:
  8463. description: 行号
  8464. type: string
  8465. required:
  8466. - errorid
  8467. type: object
  8468. models.QueryHedgeOrderDetailRsp:
  8469. properties:
  8470. accountid:
  8471. description: 账户ID
  8472. type: integer
  8473. buyorsell:
  8474. description: 买卖 - 0:买 1:卖
  8475. type: integer
  8476. cancellogincode:
  8477. description: 撤单人
  8478. type: string
  8479. channelbuildtype:
  8480. description: 开平标志 - 0:无 1:建仓 2:平仓
  8481. type: integer
  8482. channelinnerorderstatus:
  8483. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  8484. 9:全部成交
  8485. type: integer
  8486. channeloperatetype:
  8487. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  8488. type: integer
  8489. closetype:
  8490. description: 平仓方式 - 0:无 1:平今 2:平昨
  8491. type: integer
  8492. curexchangerate:
  8493. description: 当前汇率
  8494. type: number
  8495. exchangefullname:
  8496. description: 外部交易所全称
  8497. type: string
  8498. goodscode:
  8499. description: 商品代码(内部)
  8500. type: string
  8501. goodsid:
  8502. description: 商品ID
  8503. type: integer
  8504. goodsname:
  8505. description: 商品名称
  8506. type: string
  8507. marketid:
  8508. description: 市场ID
  8509. type: integer
  8510. openfreezemargin:
  8511. description: 冻结保证金(冻结交易金额)
  8512. type: number
  8513. orderid:
  8514. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8515. type: string
  8516. orderlogincode:
  8517. description: 委托人
  8518. type: string
  8519. orderprice:
  8520. description: 委托价格(账户)
  8521. type: number
  8522. orderqty:
  8523. description: 委托数量
  8524. type: integer
  8525. ordertime:
  8526. description: 委托时间
  8527. type: string
  8528. pricemode:
  8529. description: '取价方式 - 1:市价 2: 限价'
  8530. type: integer
  8531. tradedate:
  8532. description: 交易日(yyyyMMdd)
  8533. type: string
  8534. tradeqty:
  8535. description: 成交数量
  8536. type: integer
  8537. type: object
  8538. models.QueryHedgeTradeDetailRsp:
  8539. properties:
  8540. accountid:
  8541. description: 账号ID
  8542. type: integer
  8543. buyorsell:
  8544. description: 方向 - 0:买 1:卖
  8545. type: integer
  8546. channelbuildtype:
  8547. description: 委托单据类型 0:无 1:建仓 2:平仓
  8548. type: integer
  8549. closecharge:
  8550. description: 平仓手续费(账户)
  8551. type: number
  8552. closecharge2:
  8553. description: 平仓手续费(商品)
  8554. type: number
  8555. closepl:
  8556. description: 平仓盈亏(账户)
  8557. type: number
  8558. closepl2:
  8559. description: 平仓盈亏(商品)
  8560. type: number
  8561. closepl3:
  8562. description: 平仓盈亏(账户)(逐笔)
  8563. type: number
  8564. closepl4:
  8565. description: 平仓盈亏(商品)(逐笔)
  8566. type: number
  8567. closetype:
  8568. description: 平仓方式 - 0:无 1:平今 2:平昨
  8569. type: integer
  8570. curexchangerate:
  8571. description: 当前汇率
  8572. type: number
  8573. exchangefullname:
  8574. description: 外部交易所全称
  8575. type: string
  8576. goodscode:
  8577. description: 商品代码(内部)
  8578. type: string
  8579. goodsid:
  8580. description: 商品ID
  8581. type: integer
  8582. goodsname:
  8583. description: 商品名称
  8584. type: string
  8585. marketid:
  8586. description: 市场ID
  8587. type: integer
  8588. opencharge:
  8589. description: 建仓手续费(账户)
  8590. type: number
  8591. opencharge2:
  8592. description: 建仓手续费(商品)
  8593. type: number
  8594. orderid:
  8595. description: 委托单号
  8596. type: string
  8597. orderlogincode:
  8598. description: 委托人
  8599. type: string
  8600. tradeamount:
  8601. description: 成交金额(账户)
  8602. type: number
  8603. tradedate:
  8604. description: 交易日(yyyyMMdd)
  8605. type: string
  8606. tradeid:
  8607. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8608. type: string
  8609. tradeprice:
  8610. description: 成交价格
  8611. type: number
  8612. tradeqty:
  8613. description: 成交数量
  8614. type: integer
  8615. tradetime:
  8616. description: 成交时间
  8617. type: string
  8618. tradetype:
  8619. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  8620. type: integer
  8621. type: object
  8622. models.QuotePrimaryMenu:
  8623. properties:
  8624. Index:
  8625. description: 序号
  8626. type: integer
  8627. Key:
  8628. description: 键名
  8629. type: string
  8630. Name:
  8631. description: 菜单名称
  8632. type: string
  8633. SubMenus:
  8634. description: 子菜单
  8635. items:
  8636. $ref: '#/definitions/models.QuoteSecondaryMenu'
  8637. type: array
  8638. SubTitleType:
  8639. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  8640. type: integer
  8641. TradeModes:
  8642. description: 包含市场交易类型
  8643. type: string
  8644. type: object
  8645. models.QuoteSecondaryMenu:
  8646. properties:
  8647. ExExchangeCode:
  8648. description: 外部交易所代码
  8649. type: string
  8650. ExExchangeID:
  8651. description: 外部交易所ID
  8652. type: integer
  8653. GoodsGroupIDs:
  8654. description: 商品组ID列表
  8655. items:
  8656. type: integer
  8657. type: array
  8658. Index:
  8659. description: 序号
  8660. type: integer
  8661. MarketID:
  8662. description: 市场ID
  8663. type: integer
  8664. MenuTitle:
  8665. description: 菜单标题(市场名称或外部交易所名称)
  8666. type: string
  8667. TradeMode:
  8668. description: 交易模式
  8669. type: integer
  8670. type: object
  8671. models.RelatedGoodsEx:
  8672. properties:
  8673. goodscode:
  8674. description: 商品代码
  8675. type: string
  8676. goodsid:
  8677. description: 商品id
  8678. type: integer
  8679. goodsname:
  8680. description: 商品名称
  8681. type: string
  8682. type: object
  8683. models.SearchGoods:
  8684. properties:
  8685. goodscode:
  8686. description: 商品代码(内部)
  8687. type: string
  8688. goodsid:
  8689. description: 商品ID(自增ID SEQ_GOODS)
  8690. type: integer
  8691. goodsname:
  8692. description: 商品名称
  8693. type: string
  8694. marketid:
  8695. description: 所属市场ID
  8696. type: integer
  8697. marketname:
  8698. description: 市场名称
  8699. type: string
  8700. trademode:
  8701. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8702. 21:竞拍-大宗式 22:受托竞价
  8703. type: integer
  8704. required:
  8705. - goodscode
  8706. - goodsid
  8707. - goodsname
  8708. - marketid
  8709. - trademode
  8710. type: object
  8711. models.Systemparam:
  8712. properties:
  8713. loginid:
  8714. description: 更新用户账号,登录账号
  8715. type: string
  8716. modifyflag:
  8717. description: 修改标志0 不允许修改 1 允许修改
  8718. type: integer
  8719. paramcode:
  8720. description: 参数代码
  8721. type: string
  8722. paramname:
  8723. description: 参数名
  8724. type: string
  8725. paramtype:
  8726. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  8727. type: integer
  8728. paramvalue:
  8729. description: 参数值
  8730. type: string
  8731. paramvalue2:
  8732. description: 参数值(CLOB)
  8733. type: string
  8734. regexpress:
  8735. description: 正则表达式
  8736. type: string
  8737. remark:
  8738. description: 备注
  8739. type: string
  8740. serverip:
  8741. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  8742. type: string
  8743. showflag:
  8744. description: 是否显示0 不显示 1 显示
  8745. type: integer
  8746. updatetime:
  8747. description: 更新时间
  8748. type: string
  8749. userid:
  8750. description: 更新用户ID
  8751. type: integer
  8752. required:
  8753. - paramcode
  8754. type: object
  8755. models.Szdz3convertconfig:
  8756. properties:
  8757. canin:
  8758. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  8759. type: integer
  8760. canout:
  8761. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  8762. type: integer
  8763. converttype:
  8764. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  8765. 6:交易转花生米(不设置)
  8766. type: integer
  8767. createtime:
  8768. description: 创建时间
  8769. type: string
  8770. creatorid:
  8771. description: 创建人
  8772. type: integer
  8773. daymaxvalue:
  8774. description: 当日最大转入限制
  8775. type: number
  8776. freezedays:
  8777. description: 冻结天数 [5:花生米转交易]
  8778. type: integer
  8779. innergoodsid:
  8780. description: 内部商品ID[交易]
  8781. type: integer
  8782. inratio:
  8783. description: 目标值
  8784. type: integer
  8785. modifierid:
  8786. description: 修改人
  8787. type: integer
  8788. modifytime:
  8789. description: 修改时间
  8790. type: string
  8791. outergoodscode:
  8792. description: 外部商品代码[JD\PD]
  8793. type: string
  8794. outratio:
  8795. description: 源值
  8796. type: integer
  8797. pddecimalplace:
  8798. description: PD小数位
  8799. type: integer
  8800. timemaxvalue:
  8801. description: 单次最大转入限制
  8802. type: number
  8803. timeminvalue:
  8804. description: 单次最小转入限制
  8805. type: number
  8806. required:
  8807. - converttype
  8808. - innergoodsid
  8809. - outergoodscode
  8810. type: object
  8811. models.Szdz3searchwhitelist:
  8812. properties:
  8813. createtime:
  8814. description: 创建时间
  8815. type: string
  8816. creatorid:
  8817. description: 创建人
  8818. type: integer
  8819. modifierid:
  8820. description: 修改人
  8821. type: integer
  8822. modifytime:
  8823. description: 修改时间
  8824. type: string
  8825. userid:
  8826. description: 用户ID
  8827. type: integer
  8828. required:
  8829. - userid
  8830. type: object
  8831. models.Taaccount:
  8832. properties:
  8833. accountflag:
  8834. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  8835. type: integer
  8836. accountid:
  8837. description: 资金账户ID
  8838. type: integer
  8839. accountname:
  8840. description: 账户名称
  8841. type: string
  8842. balance:
  8843. description: 期初余额
  8844. type: number
  8845. capitalbalance:
  8846. description: 本金余额[外部子账户实际出入金余额]
  8847. type: number
  8848. changeflag:
  8849. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  8850. type: integer
  8851. changetime:
  8852. description: 账户状态变更时间
  8853. type: string
  8854. closepl:
  8855. description: 今日平仓盈亏
  8856. type: number
  8857. creditdecrease:
  8858. description: 今日授信减少
  8859. type: number
  8860. creditincrease:
  8861. description: 今日授信增加
  8862. type: number
  8863. currencyid:
  8864. description: 货币ID
  8865. type: integer
  8866. currentbalance:
  8867. description: 期末余额
  8868. type: number
  8869. freezecharge:
  8870. description: 手续费冻结
  8871. type: number
  8872. freezemargin:
  8873. description: 冻结保证金
  8874. type: number
  8875. fromaccountid:
  8876. description: 所属上级账户
  8877. type: integer
  8878. inamount:
  8879. description: 今日入金金额(包括三方入金)
  8880. type: number
  8881. ismain:
  8882. description: 是否母账号 0:不是母账户 1:是母账户
  8883. type: integer
  8884. ismarketaccount:
  8885. description: 是否机构接单账号 0:不是 1:是
  8886. type: integer
  8887. isreckonaccount:
  8888. description: 是否机构分润账号 0:不是 1:是
  8889. type: integer
  8890. mortgagecredit:
  8891. description: 授信金额
  8892. type: number
  8893. orifreezecharge:
  8894. description: 期初手续费冻结
  8895. type: number
  8896. orifreezemargin:
  8897. description: 期初冻结保证金
  8898. type: number
  8899. orimortgagecredit:
  8900. description: 期初授信金额
  8901. type: number
  8902. oriothercredit:
  8903. description: 期初其它授信金额
  8904. type: number
  8905. oriotherfreezemargin:
  8906. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8907. type: number
  8908. orioutamountfreeze:
  8909. description: 期初出金冻结
  8910. type: number
  8911. oriusedmargin:
  8912. description: 期初占用保证金
  8913. type: number
  8914. othercredit:
  8915. description: 其它授信金额
  8916. type: number
  8917. othercreditdecrease:
  8918. description: 今日其它授信减少
  8919. type: number
  8920. othercreditincrease:
  8921. description: 今日其它授信增加
  8922. type: number
  8923. otherfreezemargin:
  8924. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8925. type: number
  8926. otherincome:
  8927. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  8928. type: number
  8929. otherpay:
  8930. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  8931. type: number
  8932. outamount:
  8933. description: 今日出金金额(包括三方出金)
  8934. type: number
  8935. outamountfreeze:
  8936. description: 出金冻结
  8937. type: number
  8938. outthreshold:
  8939. description: 出金阈值
  8940. type: number
  8941. parentaccountid:
  8942. description: 所属根账号
  8943. type: integer
  8944. paycharge:
  8945. description: 今日手续费支出
  8946. type: number
  8947. relatedaccountstatus:
  8948. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  8949. type: integer
  8950. relateduserid:
  8951. description: 关联用户
  8952. type: integer
  8953. serivcegroup:
  8954. description: 服务分组
  8955. type: integer
  8956. signstatus:
  8957. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8958. type: integer
  8959. sublevelpath:
  8960. description: 账号层级路径(逗号分隔,首尾加逗号)
  8961. type: string
  8962. taaccounttype:
  8963. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8964. type: integer
  8965. thirdinamount:
  8966. description: 今日三方入金
  8967. type: number
  8968. thirdoutamount:
  8969. description: 今日三方出金
  8970. type: number
  8971. tradestatus:
  8972. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8973. type: integer
  8974. tradestatuschangetime:
  8975. description: 激活时间
  8976. type: string
  8977. transferamount:
  8978. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8979. type: number
  8980. usedmargin:
  8981. description: 占用保证金
  8982. type: number
  8983. userid:
  8984. description: 用户ID
  8985. type: integer
  8986. required:
  8987. - accountid
  8988. - userid
  8989. type: object
  8990. models.Tablecolumnconfig:
  8991. properties:
  8992. aligntype:
  8993. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  8994. type: integer
  8995. autoid:
  8996. description: AutoID
  8997. type: integer
  8998. columnfield:
  8999. description: 列字段
  9000. type: string
  9001. columntitle:
  9002. description: 列Title
  9003. type: string
  9004. columnwidth:
  9005. description: 列宽
  9006. type: string
  9007. formatterstring:
  9008. description: 格式化字符
  9009. type: string
  9010. formattertype:
  9011. description: 格式化类型
  9012. type: string
  9013. groupname:
  9014. description: 表头分组名称
  9015. type: string
  9016. isshow:
  9017. description: 是否显示 - 0:不显示 1:显示
  9018. type: integer
  9019. needsummary:
  9020. description: 是否需要汇总 - 0:不需要 1:需要
  9021. type: integer
  9022. orderindex:
  9023. description: 顺序
  9024. type: integer
  9025. remark:
  9026. description: 备注
  9027. type: string
  9028. summarytype:
  9029. description: 汇总类型 - 1:加总 2:最后一个
  9030. type: integer
  9031. tablekey:
  9032. description: 列表Key
  9033. type: string
  9034. required:
  9035. - autoid
  9036. type: object
  9037. models.Useraccount:
  9038. properties:
  9039. accountname:
  9040. description: 账户名称(机构名称)
  9041. type: string
  9042. accountstatus:
  9043. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9044. type: integer
  9045. auditremark:
  9046. description: 审核备注
  9047. type: string
  9048. audittime:
  9049. description: 审核时间
  9050. type: string
  9051. audituserid:
  9052. description: 审核人
  9053. type: integer
  9054. broker:
  9055. description: 所属经纪人ID
  9056. type: integer
  9057. canceltime:
  9058. description: 销户时间
  9059. type: string
  9060. canceluserid:
  9061. description: 销户人
  9062. type: integer
  9063. createtime:
  9064. description: 创建时间
  9065. type: string
  9066. creatorid:
  9067. description: 创建人
  9068. type: integer
  9069. hasauth:
  9070. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  9071. type: integer
  9072. isanonymous:
  9073. description: 是否匿名下单 - 0:否 1:是
  9074. type: integer
  9075. maxinvestornum:
  9076. description: 最大用户数(经纪会员下投资者个数)
  9077. type: integer
  9078. memberuserid:
  9079. description: 所属会员ID
  9080. type: integer
  9081. modifierid:
  9082. description: 修改人
  9083. type: integer
  9084. modifyremark:
  9085. description: 变更备注
  9086. type: string
  9087. modifystatus:
  9088. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  9089. type: integer
  9090. modifytime:
  9091. description: 修改时间
  9092. type: string
  9093. parentuserid:
  9094. description: 所属机构ID
  9095. type: integer
  9096. reckonaccountid:
  9097. description: 默认结算资金账号ID(机构分润使用) 作废
  9098. type: integer
  9099. refercount:
  9100. description: 推荐总人数
  9101. type: integer
  9102. refereeuserid:
  9103. description: 推荐人ID
  9104. type: integer
  9105. refernum:
  9106. description: 推荐码
  9107. type: string
  9108. subarealevelpath:
  9109. description: 子机构层级路径(逗号分隔,首尾加逗号)
  9110. type: string
  9111. userid:
  9112. description: 用户ID
  9113. type: integer
  9114. usertype:
  9115. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9116. type: integer
  9117. required:
  9118. - userid
  9119. type: object
  9120. models.Userfavoritegoods:
  9121. properties:
  9122. goodsid:
  9123. description: 商品ID
  9124. type: integer
  9125. required:
  9126. - goodsid
  9127. type: object
  9128. models.Userinfo:
  9129. properties:
  9130. address:
  9131. description: 地址
  9132. type: string
  9133. attachment1:
  9134. description: 附件1
  9135. type: string
  9136. attachment2:
  9137. description: 附件2
  9138. type: string
  9139. bankaccount:
  9140. description: 银行帐号 (加密存储)
  9141. type: string
  9142. bankaccountname:
  9143. description: 收款人名称
  9144. type: string
  9145. bankcardfrontphotourl:
  9146. description: 银行卡正面照地址
  9147. type: string
  9148. bankid:
  9149. description: 银行编码
  9150. type: string
  9151. bankname:
  9152. description: 银行名称
  9153. type: string
  9154. biznature:
  9155. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  9156. type: integer
  9157. bizscope:
  9158. description: 企业经营范围(企业)
  9159. type: string
  9160. cardbackphotourl:
  9161. description: 证件背面图片地址
  9162. type: string
  9163. cardfrontphotourl:
  9164. description: 证件正面图片地址
  9165. type: string
  9166. cardnum:
  9167. description: 证件号码(加密存储)
  9168. type: string
  9169. cardtypeid:
  9170. description: 证件类型ID
  9171. type: integer
  9172. cityid:
  9173. description: 市
  9174. type: integer
  9175. company:
  9176. description: 公司(个人)
  9177. type: string
  9178. contactname:
  9179. description: 联系人
  9180. type: string
  9181. countryid:
  9182. description: 国家
  9183. type: integer
  9184. createtime:
  9185. description: 创建时间
  9186. type: string
  9187. creatorid:
  9188. description: 创建人
  9189. type: integer
  9190. customername:
  9191. description: 客户名称(企业名称)
  9192. type: string
  9193. districtid:
  9194. description: 地区
  9195. type: integer
  9196. email:
  9197. description: 邮件(加密存储)
  9198. type: string
  9199. fax:
  9200. description: 传真(加密存储)
  9201. type: string
  9202. halfbodyphotourl:
  9203. description: 半身照地址
  9204. type: string
  9205. hasencrypt:
  9206. description: 数据是否已加密 - 0:未加密 1:已加密
  9207. type: integer
  9208. headurl:
  9209. description: 头像地址
  9210. type: string
  9211. legalcardbackphotourl:
  9212. description: 法人身份证背面照地址
  9213. type: string
  9214. legalcardfrontphotourl:
  9215. description: 法人身份证正面照地址
  9216. type: string
  9217. legalpersonname:
  9218. description: 法人姓名(企业)
  9219. type: string
  9220. mobile:
  9221. description: 手机号码(加密存储)
  9222. type: string
  9223. mobile2:
  9224. description: 手机号码[明文-尚志]
  9225. type: string
  9226. modifierid:
  9227. description: 修改人
  9228. type: integer
  9229. modifiertime:
  9230. description: 修改时间
  9231. type: string
  9232. needinvoice:
  9233. description: 是否需要发票 - 0:不需要 1:需要
  9234. type: integer
  9235. nickname:
  9236. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  9237. type: string
  9238. openmode:
  9239. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  9240. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  9241. type: integer
  9242. otherurl:
  9243. description: 其它图片地址[使用分号分隔]
  9244. type: string
  9245. postalcode:
  9246. description: 邮政编码
  9247. type: string
  9248. provinceid:
  9249. description: 省
  9250. type: integer
  9251. qq:
  9252. description: QQ(加密存储
  9253. type: string
  9254. remark:
  9255. description: 备注
  9256. type: string
  9257. sex:
  9258. description: '用户性别 0: 女 1: 男'
  9259. type: integer
  9260. signpdfurl:
  9261. description: 签约pdf文件
  9262. type: string
  9263. telphone:
  9264. description: 联系电话(加密存储)
  9265. type: string
  9266. userid:
  9267. description: 用户ID
  9268. type: integer
  9269. userinfotype:
  9270. description: 用户信息类型 - 1:个人 2:企业
  9271. type: integer
  9272. userstatus:
  9273. description: 用户状态 - 1:正常 2:注销
  9274. type: integer
  9275. usertype:
  9276. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9277. type: integer
  9278. wechat:
  9279. description: 微信(加密存储)
  9280. type: string
  9281. wskhinfo:
  9282. description: 开户申请信息(JSON)
  9283. type: string
  9284. required:
  9285. - userid
  9286. type: object
  9287. models.WRSConverTDetail:
  9288. properties:
  9289. convertratio:
  9290. description: 套保系数
  9291. type: number
  9292. deliverygoodscode:
  9293. description: 现货商品代码
  9294. type: string
  9295. deliverygoodsid:
  9296. description: 现货品种ID
  9297. type: integer
  9298. deliverygoodsname:
  9299. description: 现货商品名称
  9300. type: string
  9301. enumdicname:
  9302. description: 单位名称
  9303. type: string
  9304. goodsunitid:
  9305. description: 套保品种单位id
  9306. type: integer
  9307. middlegoodscode:
  9308. description: 套保品种代码
  9309. type: string
  9310. middlegoodsid:
  9311. description: 套保品种ID
  9312. type: integer
  9313. middlegoodsname:
  9314. description: 套保品种名称
  9315. type: string
  9316. modifytime:
  9317. description: 修改时间
  9318. type: string
  9319. wrstandardid:
  9320. description: 品类ID
  9321. type: integer
  9322. type: object
  9323. models.WRStandardInfo:
  9324. properties:
  9325. areauserid:
  9326. description: 所属机构
  9327. type: integer
  9328. convertfactor:
  9329. description: 标仓系数
  9330. type: number
  9331. createtime:
  9332. description: 创建时间
  9333. type: string
  9334. creatorid:
  9335. description: 创建人
  9336. type: integer
  9337. deliverygoodsid:
  9338. description: 品种ID
  9339. type: integer
  9340. deliverygoodsname:
  9341. description: 交割商品名称
  9342. type: string
  9343. factoryitemjson:
  9344. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  9345. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  9346. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  9347. 逗号分隔'
  9348. type: string
  9349. isvalid:
  9350. description: 是否有效 - 0:无效 1:有效
  9351. type: integer
  9352. minivalue:
  9353. description: 最小变动值
  9354. type: integer
  9355. minivaluedp:
  9356. description: 最小变动值小数位
  9357. type: integer
  9358. realminivalue:
  9359. description: 实际最小变动值
  9360. type: integer
  9361. realminivaluedp:
  9362. description: 实际最小变动值小数位
  9363. type: integer
  9364. remark:
  9365. description: 备注
  9366. type: string
  9367. unitid:
  9368. description: 单位ID
  9369. type: integer
  9370. unitname:
  9371. description: 单位
  9372. type: string
  9373. updatetime:
  9374. description: 更新时间
  9375. type: string
  9376. updatorid:
  9377. description: 更新人
  9378. type: integer
  9379. wrsstatus:
  9380. description: 状态 - 作废 - 0:未激活 1:正常
  9381. type: integer
  9382. wrstandardcode:
  9383. description: 现货品类代码
  9384. type: string
  9385. wrstandardid:
  9386. description: 现货品类ID(SEQ_WRSTANDARD)
  9387. type: integer
  9388. wrstandardname:
  9389. description: 现货品类名称
  9390. type: string
  9391. required:
  9392. - wrstandardid
  9393. type: object
  9394. models.Warehouseinfo:
  9395. properties:
  9396. address:
  9397. description: 详细地址
  9398. type: string
  9399. areauserid:
  9400. description: 所属机构
  9401. type: integer
  9402. autoid:
  9403. description: 自增ID
  9404. type: integer
  9405. cityid:
  9406. description: 市
  9407. type: integer
  9408. contactname:
  9409. description: 联系人
  9410. type: string
  9411. contactnum:
  9412. description: 联系电话
  9413. type: string
  9414. countryid:
  9415. description: 国家
  9416. type: integer
  9417. createtime:
  9418. description: 创建时间
  9419. type: string
  9420. districtid:
  9421. description: 区
  9422. type: integer
  9423. hasvideo:
  9424. description: 是否有视频 - 0:无 1:有
  9425. type: integer
  9426. provinceid:
  9427. description: 省
  9428. type: integer
  9429. remark:
  9430. description: 审核备注
  9431. type: string
  9432. videourl:
  9433. description: 视频地址
  9434. type: string
  9435. warehousecode:
  9436. description: 仓库代码
  9437. type: string
  9438. warehousename:
  9439. description: 仓库名称
  9440. type: string
  9441. warehousestatus:
  9442. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9443. type: integer
  9444. warehousetype:
  9445. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9446. type: integer
  9447. required:
  9448. - autoid
  9449. - warehousecode
  9450. type: object
  9451. order.QueryHisTradeDetailRsp:
  9452. properties:
  9453. accountid:
  9454. description: 账户ID[报价币种]
  9455. type: integer
  9456. buildtype:
  9457. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9458. type: integer
  9459. buyorsell:
  9460. description: 方向 - 0:买 1:卖
  9461. type: integer
  9462. charge:
  9463. description: 手续费
  9464. type: number
  9465. closecharge:
  9466. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9467. type: number
  9468. closeexchagechargevalue:
  9469. description: 平仓交易所手续费设置值
  9470. type: number
  9471. closefeealgorithm:
  9472. description: 平仓手续费收取方式 1:比率 2:固定
  9473. type: integer
  9474. closememberchargevalue:
  9475. description: 平仓会员手续费设置值
  9476. type: number
  9477. closepl:
  9478. description: 平仓盈亏
  9479. type: number
  9480. closepl2:
  9481. description: 平仓盈亏[逐笔]
  9482. type: number
  9483. closeqty:
  9484. description: 平仓数量(先建后平操作 需要记录)
  9485. type: integer
  9486. creditamount:
  9487. description: 授信金额
  9488. type: number
  9489. gcaccountid:
  9490. description: 账户ID[合约币种]
  9491. type: integer
  9492. goodscode:
  9493. description: 商品代码
  9494. type: string
  9495. goodsid:
  9496. description: 商品ID
  9497. type: integer
  9498. goodsname:
  9499. description: 商品名称
  9500. type: string
  9501. histradedate:
  9502. description: 历史交易日
  9503. type: string
  9504. intclosepl:
  9505. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9506. type: integer
  9507. isconfirmexercise:
  9508. description: 是否确认行权- 0:否 1:是
  9509. type: integer
  9510. ismain:
  9511. description: 是否主单 - 0:不是 1:是
  9512. type: integer
  9513. ispreexercise:
  9514. description: 是否预申报- 0:否 1:是
  9515. type: integer
  9516. isreckoned:
  9517. description: 是否结算 - 0:未结算 1:已结算
  9518. type: integer
  9519. isvaliddata:
  9520. description: 是否有效 - 0:无效 1:有效
  9521. type: integer
  9522. listingselecttype:
  9523. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9524. type: integer
  9525. marketid:
  9526. description: 市场ID
  9527. type: integer
  9528. marketname:
  9529. description: 市场名称
  9530. type: string
  9531. matchaccountid:
  9532. description: 对手账号id
  9533. type: integer
  9534. memberuserid:
  9535. description: 会员id 个人投资者 需要填写
  9536. type: integer
  9537. opencharge:
  9538. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9539. type: number
  9540. openexchagechargevalue:
  9541. description: 建仓交易所手续费设置值
  9542. type: number
  9543. openfeealgorithm:
  9544. description: 建仓手续费收取方式 1:比率 2:固定
  9545. type: integer
  9546. openmemberchargevalue:
  9547. description: 建仓会员手续费设置值
  9548. type: number
  9549. openqty:
  9550. description: 开仓数量(先建后平操作 需要记录)
  9551. type: integer
  9552. optiontype:
  9553. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9554. type: integer
  9555. orderid:
  9556. description: 委托单号
  9557. type: string
  9558. performanceplanid:
  9559. description: 履约计划ID[期权]
  9560. type: integer
  9561. performancestatus:
  9562. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9563. type: integer
  9564. preexerciseprice:
  9565. description: 预申报价格
  9566. type: number
  9567. premium:
  9568. description: 权利金 - [持仓单的权利金]
  9569. type: number
  9570. relatedouttradeid:
  9571. description: 关联外部成交单ID
  9572. type: integer
  9573. status:
  9574. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9575. type: integer
  9576. tradeamount:
  9577. description: 成交金额[账户币种,用于所有权]
  9578. type: number
  9579. tradedate:
  9580. description: 交易日(yyyyMMdd)
  9581. type: string
  9582. tradeid:
  9583. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9584. type: string
  9585. trademode:
  9586. description: 交易模式
  9587. type: integer
  9588. tradeprice:
  9589. description: 成交价格
  9590. type: number
  9591. tradeproperty:
  9592. description: 交易属性
  9593. type: integer
  9594. tradeqty:
  9595. description: 成交数量
  9596. type: integer
  9597. tradetime:
  9598. description: 成交时间
  9599. type: string
  9600. tradetype:
  9601. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9602. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9603. type: integer
  9604. required:
  9605. - accountid
  9606. - buyorsell
  9607. - goodsid
  9608. - histradedate
  9609. - marketid
  9610. - memberuserid
  9611. - orderid
  9612. - tradeamount
  9613. - tradedate
  9614. - tradeid
  9615. - tradeprice
  9616. - tradeqty
  9617. - tradetime
  9618. type: object
  9619. order.QueryHisTradeOrderDetailRsp:
  9620. properties:
  9621. accountid:
  9622. description: 账户ID[报价币种]
  9623. type: integer
  9624. buildtype:
  9625. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9626. type: integer
  9627. buyorsell:
  9628. description: 买卖 - 0:买 1:卖
  9629. type: integer
  9630. cancelorderid:
  9631. description: 撤单单号(撤单时填写)
  9632. type: string
  9633. cancelqty:
  9634. description: 撤单数量
  9635. type: integer
  9636. clientordertime:
  9637. description: 客户端委托时间
  9638. type: string
  9639. clientticket:
  9640. description: 客户端流水号
  9641. type: string
  9642. clienttype:
  9643. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9644. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9645. type: integer
  9646. closeexchagechargevalue:
  9647. description: 平仓交易所手续费设置值
  9648. type: number
  9649. closefeealgorithm:
  9650. description: 平仓手续费收取方式 1:比率 2:固定
  9651. type: integer
  9652. closefreezecharge:
  9653. description: 平仓冻结手续费(先建后平操作,需要记录)
  9654. type: number
  9655. closememberchargevalue:
  9656. description: 平仓会员手续费设置值
  9657. type: number
  9658. closeqty:
  9659. description: 平仓数量(先建后平操作 需要记录)
  9660. type: integer
  9661. closetradeqty:
  9662. description: 平仓成交数量(先建后平操作,需要记录)
  9663. type: integer
  9664. closeunfreezecharge:
  9665. description: 平仓解冻手续费(先建后平操作,需要记录)
  9666. type: number
  9667. delistingtype:
  9668. description: 摘牌类型 - 1:价格最优 2:点选成交
  9669. type: integer
  9670. freezecharge:
  9671. description: 冻结手续费
  9672. type: number
  9673. freezemargin:
  9674. description: 冻结保证金(冻结交易金额)
  9675. type: number
  9676. gcaccountid:
  9677. description: 账户ID[合约币种]
  9678. type: integer
  9679. goodscode:
  9680. description: 商品代码
  9681. type: string
  9682. goodsid:
  9683. description: 商品ID
  9684. type: integer
  9685. goodsname:
  9686. description: 商品名称
  9687. type: string
  9688. histradedate:
  9689. description: 历史交易日
  9690. type: string
  9691. isconfirmexercise:
  9692. description: 是否确认行权- 0:否 1:是
  9693. type: integer
  9694. ispreexercise:
  9695. description: 是否预申报- 0:否 1:是
  9696. type: integer
  9697. isvaliddata:
  9698. description: 是否有效 - 0:无效 1:有效
  9699. type: integer
  9700. listingselecttype:
  9701. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9702. type: integer
  9703. marginalgorithm:
  9704. description: 保证金收取方式 1:比率 2:固定
  9705. type: integer
  9706. marginvalue:
  9707. description: 即市保证金设置值
  9708. type: number
  9709. marketid:
  9710. description: 市场ID
  9711. type: integer
  9712. marketmaxsub:
  9713. description: 市价最大偏移范围
  9714. type: number
  9715. marketname:
  9716. description: 市场名称
  9717. type: string
  9718. memberuserid:
  9719. description: 所属会员UserID
  9720. type: integer
  9721. openexchagechargevalue:
  9722. description: 建仓交易所手续费设置值
  9723. type: number
  9724. openfeealgorithm:
  9725. description: 建仓手续费收取方式 1:比率 2:固定
  9726. type: integer
  9727. openfreezecharge:
  9728. description: 开仓冻结手续费(先建后平操作,需要记录)
  9729. type: number
  9730. openmemberchargevalue:
  9731. description: 建仓会员手续费设置值
  9732. type: number
  9733. openqty:
  9734. description: 开仓数量(先建后平操作,需要记录)
  9735. type: integer
  9736. opentradeqty:
  9737. description: 开仓成交数量(先建后平操作,需要记录)
  9738. type: integer
  9739. openunfreezecharge:
  9740. description: 开仓解冻手续费(先建后平操作,需要记录)
  9741. type: number
  9742. operatetype:
  9743. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9744. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9745. 15:管理端协议转让
  9746. type: integer
  9747. operatorid:
  9748. description: 登录账号(LoginID)
  9749. type: integer
  9750. optiontype:
  9751. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9752. type: integer
  9753. orderid:
  9754. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9755. type: string
  9756. orderprice:
  9757. description: 委托价格
  9758. type: number
  9759. orderqty:
  9760. description: 委托数量
  9761. type: integer
  9762. ordersrc:
  9763. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9764. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9765. type: integer
  9766. orderstatus:
  9767. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9768. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9769. 16:成交失败违约(荷兰式竞拍专用)
  9770. type: integer
  9771. ordertime:
  9772. description: 委托时间
  9773. type: string
  9774. preexerciseprice:
  9775. description: 预申报价格
  9776. type: number
  9777. premium:
  9778. description: 权利金
  9779. type: number
  9780. preorderid:
  9781. description: 关联预埋单号(止盈止损单时填写)
  9782. type: string
  9783. pricemode:
  9784. description: '取价方式 - 1:市价 2: 限价'
  9785. type: integer
  9786. quoteid:
  9787. description: 报价单ID
  9788. type: integer
  9789. relatedid:
  9790. description: 关联单号(交割单)
  9791. type: string
  9792. retcode:
  9793. description: 错误代码
  9794. type: integer
  9795. sessionid:
  9796. description: 会话ID
  9797. type: integer
  9798. tradedate:
  9799. description: 交易日(yyyyMMdd)
  9800. type: string
  9801. trademode:
  9802. description: 交易模式
  9803. type: integer
  9804. tradeproperty:
  9805. description: 交易属性
  9806. type: integer
  9807. tradeqty:
  9808. description: 成交数量
  9809. type: integer
  9810. unfreezecharge:
  9811. description: 解冻手续费
  9812. type: number
  9813. unfreezemargin:
  9814. description: 解冻保证金
  9815. type: number
  9816. updatetime:
  9817. description: 更新时间
  9818. type: string
  9819. uuid:
  9820. description: 发起端唯一id
  9821. type: string
  9822. validtime:
  9823. description: 有效期限
  9824. type: string
  9825. validtype:
  9826. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9827. type: integer
  9828. volumetype:
  9829. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9830. type: integer
  9831. required:
  9832. - accountid
  9833. - buildtype
  9834. - buyorsell
  9835. - goodsid
  9836. - histradedate
  9837. - marketid
  9838. - memberuserid
  9839. - operatetype
  9840. - orderid
  9841. - orderqty
  9842. - ordertime
  9843. - pricemode
  9844. - tradedate
  9845. - validtype
  9846. type: object
  9847. order.QueryTradeDetailRsp:
  9848. properties:
  9849. accountid:
  9850. description: 账户ID[报价币种]
  9851. type: integer
  9852. buildtype:
  9853. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9854. type: integer
  9855. buyorsell:
  9856. description: 方向 - 0:买 1:卖
  9857. type: integer
  9858. charge:
  9859. description: 手续费
  9860. type: number
  9861. closecharge:
  9862. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9863. type: number
  9864. closeexchagechargevalue:
  9865. description: 平仓交易所手续费设置值
  9866. type: number
  9867. closefeealgorithm:
  9868. description: 平仓手续费收取方式 1:比率 2:固定
  9869. type: integer
  9870. closememberchargevalue:
  9871. description: 平仓会员手续费设置值
  9872. type: number
  9873. closepl:
  9874. description: 平仓盈亏
  9875. type: number
  9876. closepl2:
  9877. description: 平仓盈亏[逐笔]
  9878. type: number
  9879. closeqty:
  9880. description: 平仓数量(先建后平操作 需要记录)
  9881. type: integer
  9882. creditamount:
  9883. description: 授信金额
  9884. type: number
  9885. gcaccountid:
  9886. description: 账户ID[合约币种]
  9887. type: integer
  9888. goodscode:
  9889. description: 商品代码
  9890. type: string
  9891. goodsid:
  9892. description: 商品ID
  9893. type: integer
  9894. goodsname:
  9895. description: 商品名称
  9896. type: string
  9897. intclosepl:
  9898. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9899. type: integer
  9900. isconfirmexercise:
  9901. description: 是否确认行权- 0:否 1:是
  9902. type: integer
  9903. ismain:
  9904. description: 是否主单 - 0:不是 1:是
  9905. type: integer
  9906. ispreexercise:
  9907. description: 是否预申报- 0:否 1:是
  9908. type: integer
  9909. isreckoned:
  9910. description: 是否结算 - 0:未结算 1:已结算
  9911. type: integer
  9912. listingselecttype:
  9913. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9914. type: integer
  9915. marketid:
  9916. description: 市场ID
  9917. type: integer
  9918. marketname:
  9919. description: 市场名称
  9920. type: string
  9921. matchaccountid:
  9922. description: 对手账号id
  9923. type: integer
  9924. memberuserid:
  9925. description: 会员id 个人投资者 需要填写
  9926. type: integer
  9927. opencharge:
  9928. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9929. type: number
  9930. openexchagechargevalue:
  9931. description: 建仓交易所手续费设置值
  9932. type: number
  9933. openfeealgorithm:
  9934. description: 建仓手续费收取方式 1:比率 2:固定
  9935. type: integer
  9936. openmemberchargevalue:
  9937. description: 建仓会员手续费设置值
  9938. type: number
  9939. openqty:
  9940. description: 开仓数量(先建后平操作 需要记录)
  9941. type: integer
  9942. optiontype:
  9943. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9944. type: integer
  9945. orderid:
  9946. description: 委托单号
  9947. type: string
  9948. performanceplanid:
  9949. description: 履约计划ID[期权]
  9950. type: integer
  9951. performancestatus:
  9952. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9953. type: integer
  9954. preexerciseprice:
  9955. description: 预申报价格
  9956. type: number
  9957. premium:
  9958. description: 权利金 - [持仓单的权利金]
  9959. type: number
  9960. relatedouttradeid:
  9961. description: 关联外部成交单ID
  9962. type: integer
  9963. status:
  9964. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9965. type: integer
  9966. tradeamount:
  9967. description: 成交金额[账户币种,用于所有权]
  9968. type: number
  9969. tradedate:
  9970. description: 交易日(yyyyMMdd)
  9971. type: string
  9972. tradeid:
  9973. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9974. type: string
  9975. trademode:
  9976. description: 交易模式
  9977. type: integer
  9978. tradeprice:
  9979. description: 成交价格
  9980. type: number
  9981. tradeproperty:
  9982. description: 交易属性
  9983. type: integer
  9984. tradeqty:
  9985. description: 成交数量
  9986. type: integer
  9987. tradetime:
  9988. description: 成交时间
  9989. type: string
  9990. tradetype:
  9991. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9992. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9993. type: integer
  9994. required:
  9995. - accountid
  9996. - buyorsell
  9997. - goodsid
  9998. - marketid
  9999. - memberuserid
  10000. - orderid
  10001. - tradeamount
  10002. - tradedate
  10003. - tradeid
  10004. - tradeprice
  10005. - tradeqty
  10006. - tradetime
  10007. type: object
  10008. order.QueryTradeOrderDetailRsp:
  10009. properties:
  10010. accountid:
  10011. description: 账户ID[报价币种]
  10012. type: integer
  10013. buildtype:
  10014. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10015. type: integer
  10016. buyorsell:
  10017. description: 买卖 - 0:买 1:卖
  10018. type: integer
  10019. cancelorderid:
  10020. description: 撤单单号(撤单时填写)
  10021. type: string
  10022. cancelqty:
  10023. description: 撤单数量
  10024. type: integer
  10025. clienttype:
  10026. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10027. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10028. type: integer
  10029. closefreezecharge:
  10030. description: 平仓冻结手续费(先建后平操作,需要记录)
  10031. type: number
  10032. closeqty:
  10033. description: 平仓数量(先建后平操作 需要记录)
  10034. type: integer
  10035. closetradeqty:
  10036. description: 平仓成交数量(先建后平操作,需要记录)
  10037. type: integer
  10038. closeunfreezecharge:
  10039. description: 平仓解冻手续费(先建后平操作,需要记录)
  10040. type: number
  10041. delistingtype:
  10042. description: 摘牌类型 - 1:价格最优 2:点选成交
  10043. type: integer
  10044. enableqty:
  10045. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  10046. type: integer
  10047. freezecharge:
  10048. description: 冻结手续费
  10049. type: number
  10050. freezemargin:
  10051. description: 冻结保证金(冻结交易金额)
  10052. type: number
  10053. goodscode:
  10054. description: 商品代码
  10055. type: string
  10056. goodsid:
  10057. description: 商品ID
  10058. type: integer
  10059. goodsname:
  10060. description: 商品名称
  10061. type: string
  10062. listingselecttype:
  10063. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10064. type: integer
  10065. marketid:
  10066. description: 市场ID
  10067. type: integer
  10068. marketname:
  10069. description: 市场名称
  10070. type: string
  10071. openfreezecharge:
  10072. description: 开仓冻结手续费(先建后平操作,需要记录)
  10073. type: number
  10074. openqty:
  10075. description: 开仓数量(先建后平操作,需要记录)
  10076. type: integer
  10077. opentradeqty:
  10078. description: 开仓成交数量(先建后平操作,需要记录)
  10079. type: integer
  10080. openunfreezecharge:
  10081. description: 开仓解冻手续费(先建后平操作,需要记录)
  10082. type: number
  10083. operatetype:
  10084. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10085. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10086. 15:管理端协议转让
  10087. type: integer
  10088. operatorid:
  10089. description: 登录账号(LoginID)
  10090. type: integer
  10091. orderid:
  10092. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10093. type: string
  10094. orderprice:
  10095. description: 委托价格
  10096. type: number
  10097. orderqty:
  10098. description: 委托数量
  10099. type: integer
  10100. ordersrc:
  10101. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10102. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10103. type: integer
  10104. orderstatus:
  10105. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10106. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10107. 16:成交失败违约(荷兰式竞拍专用)
  10108. type: integer
  10109. ordertime:
  10110. description: 委托时间
  10111. type: string
  10112. preorderid:
  10113. description: 关联预埋单号(止盈止损单时填写)
  10114. type: string
  10115. pricemode:
  10116. description: '取价方式 - 1:市价 2: 限价'
  10117. type: integer
  10118. relatedid:
  10119. description: 关联单号(交割单)
  10120. type: string
  10121. tradedate:
  10122. description: 交易日(yyyyMMdd)
  10123. type: string
  10124. trademode:
  10125. description: 交易模式
  10126. type: integer
  10127. tradeqty:
  10128. description: 成交数量
  10129. type: integer
  10130. unfreezecharge:
  10131. description: 解冻手续费
  10132. type: number
  10133. unfreezemargin:
  10134. description: 解冻保证金
  10135. type: number
  10136. validtime:
  10137. description: 有效期限
  10138. type: string
  10139. validtype:
  10140. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10141. type: integer
  10142. volumetype:
  10143. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10144. type: integer
  10145. required:
  10146. - accountid
  10147. - buildtype
  10148. - buyorsell
  10149. - goodsid
  10150. - marketid
  10151. - operatetype
  10152. - orderqty
  10153. - ordertime
  10154. - pricemode
  10155. - tradedate
  10156. - validtype
  10157. type: object
  10158. order.QueryTradePositionRsp:
  10159. properties:
  10160. accountid:
  10161. description: 资金账户
  10162. type: integer
  10163. agreeunit:
  10164. description: 合约单位
  10165. type: number
  10166. averageprice:
  10167. description: 持仓均价
  10168. type: number
  10169. buyorsell:
  10170. description: 方向 - 0:买 1:卖
  10171. type: integer
  10172. closetotalqty:
  10173. description: 平仓总数量
  10174. type: integer
  10175. curholderamount:
  10176. description: 当前持仓总金额[商品币种]
  10177. type: number
  10178. curpositionqty:
  10179. description: 当前持仓总数量
  10180. type: integer
  10181. currencyid:
  10182. description: 报价货币ID
  10183. type: integer
  10184. curtdposition:
  10185. description: 期末今日头寸
  10186. type: integer
  10187. decimalplace:
  10188. description: 报价小数位
  10189. type: integer
  10190. enableqty:
  10191. description: 可用量
  10192. type: integer
  10193. fretdposition:
  10194. description: 冻结今日头寸
  10195. type: integer
  10196. frozenqty:
  10197. description: 持仓冻结数量
  10198. type: integer
  10199. goodscode:
  10200. description: 商品代码
  10201. type: string
  10202. goodsid:
  10203. description: 商品Id
  10204. type: integer
  10205. goodsname:
  10206. description: 商品名称
  10207. type: string
  10208. goodunit:
  10209. description: 报价单位
  10210. type: string
  10211. goodunitid:
  10212. description: 报价单位ID
  10213. type: integer
  10214. holderamount:
  10215. description: 期初持仓总金额[商品币种]
  10216. type: number
  10217. marketid:
  10218. description: 所属市场ID
  10219. type: integer
  10220. openreqqty:
  10221. description: 开仓申请数量(用于比较最大持仓数量)
  10222. type: integer
  10223. opentotalqty:
  10224. description: 开仓总数量
  10225. type: integer
  10226. otherfrozenqty:
  10227. description: 持仓其他冻结数量(交割冻结)
  10228. type: integer
  10229. positionqty:
  10230. description: 期初持仓数量
  10231. type: integer
  10232. tnqty:
  10233. description: T+N冻结总量
  10234. type: integer
  10235. tnusedqty:
  10236. description: T+N使用量(可以使用T+N的冻结数量)
  10237. type: integer
  10238. trademode:
  10239. description: 交易模式
  10240. type: integer
  10241. usedmargin:
  10242. description: 占用保证金[商品币种]
  10243. type: number
  10244. required:
  10245. - goodsid
  10246. type: object
  10247. quote.HistoryData:
  10248. properties:
  10249. c:
  10250. description: 收盘价
  10251. type: number
  10252. f:
  10253. description: 是否补充数据
  10254. type: boolean
  10255. h:
  10256. description: 最高价
  10257. type: number
  10258. hv:
  10259. description: 持仓量
  10260. type: integer
  10261. l:
  10262. description: 最低价
  10263. type: number
  10264. o:
  10265. description: 开盘价
  10266. type: number
  10267. s:
  10268. description: 结算价,日线周期(包括)以上才有
  10269. type: number
  10270. ts:
  10271. description: 时间
  10272. type: string
  10273. tt:
  10274. description: 总金额
  10275. type: number
  10276. tv:
  10277. description: 总量
  10278. type: integer
  10279. type: object
  10280. quote.HistoryTikData:
  10281. properties:
  10282. AV:
  10283. description: 卖量
  10284. type: integer
  10285. Ask:
  10286. description: 卖价
  10287. type: number
  10288. BV:
  10289. description: 买量
  10290. type: integer
  10291. Bid:
  10292. description: 买价
  10293. type: number
  10294. HI:
  10295. description: 单笔持仓
  10296. type: integer
  10297. HV:
  10298. description: 持仓量
  10299. type: integer
  10300. PE:
  10301. description: 现价
  10302. type: number
  10303. TDR:
  10304. description: 交易方向,0:买 1:卖
  10305. type: integer
  10306. TK:
  10307. description: 交易类型
  10308. type: integer
  10309. TS:
  10310. description: 行情时间文本
  10311. type: string
  10312. TT:
  10313. description: 现金额
  10314. type: number
  10315. Vol:
  10316. description: 现量
  10317. type: integer
  10318. type: object
  10319. quote.QueryQuoteDayRsp:
  10320. properties:
  10321. ask:
  10322. description: 卖1
  10323. type: number
  10324. ask2:
  10325. description: 卖2
  10326. type: number
  10327. ask3:
  10328. description: 卖3
  10329. type: number
  10330. ask4:
  10331. description: 卖4
  10332. type: number
  10333. ask5:
  10334. description: 卖5
  10335. type: number
  10336. ask6:
  10337. description: 卖6
  10338. type: number
  10339. ask7:
  10340. description: 卖7
  10341. type: number
  10342. ask8:
  10343. description: 卖8
  10344. type: number
  10345. ask9:
  10346. description: 卖9
  10347. type: number
  10348. ask10:
  10349. description: 卖10
  10350. type: number
  10351. askorderid:
  10352. description: 卖单号1
  10353. type: integer
  10354. askorderid2:
  10355. description: 卖单号2
  10356. type: integer
  10357. askorderid3:
  10358. description: 卖单号3
  10359. type: integer
  10360. askorderid4:
  10361. description: 卖单号4
  10362. type: integer
  10363. askorderid5:
  10364. description: 卖单号5
  10365. type: integer
  10366. askordervolume:
  10367. description: 卖单量1
  10368. type: integer
  10369. askordervolume2:
  10370. description: 卖单量2
  10371. type: integer
  10372. askordervolume3:
  10373. description: 卖单量3
  10374. type: integer
  10375. askordervolume4:
  10376. description: 卖单量4
  10377. type: integer
  10378. askordervolume5:
  10379. description: 卖单量5
  10380. type: integer
  10381. askordervolume6:
  10382. description: 卖单量6
  10383. type: integer
  10384. askordervolume7:
  10385. description: 卖单量7
  10386. type: integer
  10387. askordervolume8:
  10388. description: 卖单量8
  10389. type: integer
  10390. askordervolume9:
  10391. description: 卖单量9
  10392. type: integer
  10393. askordervolume10:
  10394. description: 卖单量10
  10395. type: integer
  10396. askqueueinfo:
  10397. description: 大利市卖港股用
  10398. type: string
  10399. askvolume:
  10400. description: 卖量1
  10401. type: integer
  10402. askvolume2:
  10403. description: 卖量2
  10404. type: integer
  10405. askvolume3:
  10406. description: 卖量3
  10407. type: integer
  10408. askvolume4:
  10409. description: 卖量4
  10410. type: integer
  10411. askvolume5:
  10412. description: 卖量5
  10413. type: integer
  10414. askvolume6:
  10415. description: 卖量6
  10416. type: integer
  10417. askvolume7:
  10418. description: 卖量7
  10419. type: integer
  10420. askvolume8:
  10421. description: 卖量8
  10422. type: integer
  10423. askvolume9:
  10424. description: 卖量9
  10425. type: integer
  10426. askvolume10:
  10427. description: 卖量10
  10428. type: integer
  10429. averageprice:
  10430. description: 均价
  10431. type: number
  10432. bid:
  10433. description: 买1
  10434. type: number
  10435. bid2:
  10436. description: 买2
  10437. type: number
  10438. bid3:
  10439. description: 买3
  10440. type: number
  10441. bid4:
  10442. description: 买4
  10443. type: number
  10444. bid5:
  10445. description: 买5
  10446. type: number
  10447. bid6:
  10448. description: 买6
  10449. type: number
  10450. bid7:
  10451. description: 买7
  10452. type: number
  10453. bid8:
  10454. description: 买8
  10455. type: number
  10456. bid9:
  10457. description: 买9
  10458. type: number
  10459. bid10:
  10460. description: 买10
  10461. type: number
  10462. bidorderid:
  10463. description: 买单号1
  10464. type: integer
  10465. bidorderid2:
  10466. description: 买单号2
  10467. type: integer
  10468. bidorderid3:
  10469. description: 买单号3
  10470. type: integer
  10471. bidorderid4:
  10472. description: 买单号4
  10473. type: integer
  10474. bidorderid5:
  10475. description: 买单号5
  10476. type: integer
  10477. bidordervolume:
  10478. description: 买单量1
  10479. type: integer
  10480. bidordervolume2:
  10481. description: 买单量2
  10482. type: integer
  10483. bidordervolume3:
  10484. description: 买单量3
  10485. type: integer
  10486. bidordervolume4:
  10487. description: 买单量4
  10488. type: integer
  10489. bidordervolume5:
  10490. description: 买单量5
  10491. type: integer
  10492. bidordervolume6:
  10493. description: 买单量6
  10494. type: integer
  10495. bidordervolume7:
  10496. description: 买单量7
  10497. type: integer
  10498. bidordervolume8:
  10499. description: 买单量8
  10500. type: integer
  10501. bidordervolume9:
  10502. description: 买单量9
  10503. type: integer
  10504. bidordervolume10:
  10505. description: 买单量10
  10506. type: integer
  10507. bidqueueinfo:
  10508. description: 大利市买港股用
  10509. type: string
  10510. bidvolume:
  10511. description: 买量1
  10512. type: integer
  10513. bidvolume2:
  10514. description: 买量2
  10515. type: integer
  10516. bidvolume3:
  10517. description: 买量3
  10518. type: integer
  10519. bidvolume4:
  10520. description: 买量4
  10521. type: integer
  10522. bidvolume5:
  10523. description: 买量5
  10524. type: integer
  10525. bidvolume6:
  10526. description: 买量6
  10527. type: integer
  10528. bidvolume7:
  10529. description: 买量7
  10530. type: integer
  10531. bidvolume8:
  10532. description: 买量8
  10533. type: integer
  10534. bidvolume9:
  10535. description: 买量9
  10536. type: integer
  10537. bidvolume10:
  10538. description: 买量10
  10539. type: integer
  10540. calloptionpremiums:
  10541. description: 认购期权1
  10542. type: integer
  10543. calloptionpremiums2:
  10544. description: 认购期权2
  10545. type: integer
  10546. calloptionpremiums3:
  10547. description: 认购期权3
  10548. type: integer
  10549. calloptionpremiums4:
  10550. description: 认购期权4
  10551. type: integer
  10552. calloptionpremiums5:
  10553. description: 认购期权5
  10554. type: integer
  10555. cleartime:
  10556. description: 清盘时间
  10557. type: integer
  10558. exchangecode:
  10559. description: 交易所代码
  10560. type: integer
  10561. exchangedate:
  10562. description: 交易日
  10563. type: integer
  10564. goodscode:
  10565. description: 商品代码
  10566. type: string
  10567. grepmarketprice:
  10568. description: 暗盘价 港股专用
  10569. type: number
  10570. highest:
  10571. description: 最高价
  10572. type: number
  10573. holdincrement:
  10574. description: 单笔持仓
  10575. type: integer
  10576. holdvolume:
  10577. description: 持仓
  10578. type: integer
  10579. iep:
  10580. description: 平衡价 港股专用
  10581. type: number
  10582. iev:
  10583. description: 平衡量 港股专用
  10584. type: number
  10585. inventory:
  10586. description: 库存
  10587. type: integer
  10588. iscleared:
  10589. description: 是否清盘标志
  10590. type: integer
  10591. issettled:
  10592. description: 是否结算标志
  10593. type: integer
  10594. last:
  10595. description: 最新价
  10596. type: number
  10597. lastlot:
  10598. description: 最新成交手数
  10599. type: integer
  10600. lasttime:
  10601. description: 行情时间(只有现价变化行情时间才变化)
  10602. type: string
  10603. lastturnover:
  10604. description: 最新成交金额
  10605. type: number
  10606. lastvolume:
  10607. description: 最新成交量
  10608. type: integer
  10609. limitdown:
  10610. description: 跌停价
  10611. type: number
  10612. limitup:
  10613. description: 涨停价
  10614. type: number
  10615. lowest:
  10616. description: 最低价
  10617. type: number
  10618. nontotalholdervolume:
  10619. description: 非交易持仓量
  10620. type: integer
  10621. nontotallot:
  10622. description: 非交易总手数
  10623. type: integer
  10624. nontotalturnover:
  10625. description: 非交易总金额
  10626. type: integer
  10627. nontotalvolume:
  10628. description: 非交易总量
  10629. type: integer
  10630. opened:
  10631. description: 开盘价
  10632. type: number
  10633. opentime:
  10634. description: 开盘时间
  10635. type: string
  10636. orderid:
  10637. description: 序号
  10638. type: integer
  10639. preclose:
  10640. description: 昨收
  10641. type: number
  10642. preholdvolume:
  10643. description: 昨持仓
  10644. type: integer
  10645. presettle:
  10646. description: 昨结价
  10647. type: number
  10648. publictradetype:
  10649. description: 公共交易标志类型 港股专用
  10650. type: string
  10651. putoptionpremiums:
  10652. description: 认沽期权1
  10653. type: integer
  10654. putoptionpremiums2:
  10655. description: 认沽期权2
  10656. type: integer
  10657. putoptionpremiums3:
  10658. description: 认沽期权3
  10659. type: integer
  10660. putoptionpremiums4:
  10661. description: 认沽期权4
  10662. type: integer
  10663. putoptionpremiums5:
  10664. description: 认沽期权5
  10665. type: integer
  10666. settle:
  10667. description: 结算价
  10668. type: number
  10669. strikeprice:
  10670. description: 发行价
  10671. type: number
  10672. totalaskvolume:
  10673. description: 内盘
  10674. type: integer
  10675. totalbidvolume:
  10676. description: 外盘
  10677. type: integer
  10678. totallot:
  10679. description: 总手数
  10680. type: integer
  10681. totalturnover:
  10682. description: 总金额
  10683. type: number
  10684. totalvolume:
  10685. description: 总量
  10686. type: integer
  10687. utclasttime:
  10688. description: utc的行情时间
  10689. type: string
  10690. type: object
  10691. quote.QueryTSDataRsp:
  10692. properties:
  10693. Count:
  10694. description: 交易日应有数据个数
  10695. type: integer
  10696. decimalPlace:
  10697. description: 小数位
  10698. type: integer
  10699. endTime:
  10700. description: 结束时间
  10701. type: string
  10702. goodsCode:
  10703. description: 商品代码
  10704. type: string
  10705. historyDatas:
  10706. description: 历史数据
  10707. items:
  10708. $ref: '#/definitions/quote.HistoryData'
  10709. type: array
  10710. outGoodsCode:
  10711. description: 外部商品代码
  10712. type: string
  10713. preSettle:
  10714. description: 昨结价
  10715. type: number
  10716. runSteps:
  10717. description: 交易日开休市计划
  10718. items:
  10719. $ref: '#/definitions/quote.TSDataRunStep'
  10720. type: array
  10721. startTime:
  10722. description: 开始时间
  10723. type: string
  10724. tradeDate:
  10725. description: 交易日
  10726. type: string
  10727. type: object
  10728. quote.TSDataRunStep:
  10729. properties:
  10730. end:
  10731. description: 真实结束时间
  10732. type: string
  10733. endflag:
  10734. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  10735. type: integer
  10736. endtime:
  10737. description: 结束时间(HH:mm)
  10738. type: string
  10739. endweekday:
  10740. description: 结束周几
  10741. type: integer
  10742. groupid:
  10743. description: 分组ID
  10744. type: integer
  10745. runstep:
  10746. description: 运行阶段 - 2:连续交易
  10747. type: integer
  10748. sectionid:
  10749. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  10750. 结束时间=结算时间 结束周几=结算周几
  10751. type: integer
  10752. start:
  10753. description: 真实开始时间
  10754. type: string
  10755. startflag:
  10756. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  10757. type: integer
  10758. starttime:
  10759. description: 起始时间(HH:mm)
  10760. type: string
  10761. startweekday:
  10762. description: 起始周几
  10763. type: integer
  10764. tradeweekday:
  10765. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  10766. type: integer
  10767. type: object
  10768. szdz.QueryConvertLogRsp:
  10769. properties:
  10770. accountid:
  10771. description: 资金账户ID
  10772. type: integer
  10773. clientticket:
  10774. description: 客户端流水号
  10775. type: string
  10776. converttype:
  10777. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  10778. type: integer
  10779. createtime:
  10780. description: 记账时间
  10781. type: string
  10782. daymaxvalue:
  10783. description: 配置当日最大转入限制
  10784. type: number
  10785. daymaxvalue2:
  10786. description: 配置当日最大转入限制(转入)
  10787. type: number
  10788. goodscode:
  10789. description: 商品代码
  10790. type: string
  10791. goodsname:
  10792. description: 商品名称
  10793. type: string
  10794. handlestatus:
  10795. description: 处理状态
  10796. type: integer
  10797. innergoodsid:
  10798. description: 内部商品ID
  10799. type: integer
  10800. inratio:
  10801. description: 配置转入比值
  10802. type: integer
  10803. invalue:
  10804. description: 目标值
  10805. type: number
  10806. logid:
  10807. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10808. type: integer
  10809. mobile:
  10810. description: 手机号码(加密存储)
  10811. type: string
  10812. outergoodscode:
  10813. description: 外部商品代码[JD\PD]
  10814. type: string
  10815. outratio:
  10816. description: 配置转出比值
  10817. type: integer
  10818. outvalue:
  10819. description: 源值
  10820. type: number
  10821. pddecimalplace:
  10822. description: PD小数位
  10823. type: integer
  10824. qty:
  10825. description: 数量
  10826. type: string
  10827. remark:
  10828. description: 备注
  10829. type: string
  10830. sessionid:
  10831. description: 会话ID
  10832. type: integer
  10833. timemaxvalue:
  10834. description: 配置单次最大转入限制
  10835. type: number
  10836. timemaxvalue2:
  10837. description: 配置单次最大转入限制(转入)
  10838. type: number
  10839. timeminvalue:
  10840. description: 配置单次最小数量限制
  10841. type: number
  10842. timeminvalue2:
  10843. description: 配置单次最小数量限制(转入)
  10844. type: number
  10845. tradedate:
  10846. description: 交易日(yyyyMMdd)
  10847. type: string
  10848. userid:
  10849. description: 用户ID
  10850. type: integer
  10851. required:
  10852. - logid
  10853. type: object
  10854. szdz.QueryGoodsPickupRsp:
  10855. properties:
  10856. accountid:
  10857. description: 账户ID
  10858. type: integer
  10859. address:
  10860. description: 提货人详细地址
  10861. type: string
  10862. auditer:
  10863. description: 审核人
  10864. type: integer
  10865. audittime:
  10866. description: 审核时间
  10867. type: string
  10868. cardnum:
  10869. description: 提货人证件号码
  10870. type: string
  10871. cardtypeid:
  10872. description: 提货人证件类型
  10873. type: integer
  10874. checkremark:
  10875. description: 审核备注
  10876. type: string
  10877. goodscode:
  10878. description: 商品代码
  10879. type: string
  10880. goodsid:
  10881. description: 商品ID
  10882. type: integer
  10883. goodsname:
  10884. description: 商品名称
  10885. type: string
  10886. handlestatus:
  10887. description: 处理状态
  10888. type: integer
  10889. marketid:
  10890. description: 市场ID
  10891. type: integer
  10892. phonenum:
  10893. description: 提货人联系方式
  10894. type: string
  10895. qty:
  10896. description: 提货数量
  10897. type: number
  10898. recivername:
  10899. description: 提货人姓名
  10900. type: string
  10901. reqtime:
  10902. description: 更新时间
  10903. type: string
  10904. takemode:
  10905. description: 提货方式 - 2:自提 3:配送
  10906. type: integer
  10907. takeorderid:
  10908. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10909. type: string
  10910. takeorderstatus:
  10911. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10912. type: integer
  10913. takeremark:
  10914. description: 提货备注
  10915. type: string
  10916. tradedate:
  10917. description: 交易日(yyyyMMdd)
  10918. type: string
  10919. userid:
  10920. description: 用户ID
  10921. type: integer
  10922. required:
  10923. - takeorderid
  10924. type: object
  10925. szdz.QueryRecieptOrderRsp:
  10926. properties:
  10927. accountName:
  10928. description: 所属账号名称(已脱敏)
  10929. type: string
  10930. accountid:
  10931. description: 资金账号
  10932. type: integer
  10933. buyorsell:
  10934. description: 方向 - 0:买 1:卖
  10935. type: integer
  10936. enableqty:
  10937. description: 可摘数量
  10938. type: integer
  10939. goodscode:
  10940. description: 商品代码
  10941. type: string
  10942. goodsid:
  10943. description: 商品ID
  10944. type: integer
  10945. goodsname:
  10946. description: 商品名称
  10947. type: string
  10948. orderid:
  10949. description: 委托单号
  10950. type: string
  10951. orderprice:
  10952. description: 委托价格
  10953. type: number
  10954. ordertime:
  10955. description: 委托时间
  10956. type: string
  10957. tradedate:
  10958. description: 交易日(yyyyMMdd)
  10959. type: string
  10960. required:
  10961. - ordertime
  10962. type: object
  10963. szdz.QuerySZDZTradePositionRsp:
  10964. properties:
  10965. accountid:
  10966. description: 账号Id
  10967. type: integer
  10968. agreeunit:
  10969. description: 合约单位
  10970. type: number
  10971. averageprice:
  10972. description: 持仓均价
  10973. type: number
  10974. buyorsell:
  10975. description: 方向 - 0:买 1:卖
  10976. type: integer
  10977. closetotalqty:
  10978. description: 平仓总数量
  10979. type: integer
  10980. curholderamount:
  10981. description: 当前持仓总金额
  10982. type: number
  10983. curpositionqty:
  10984. description: 当前持仓总数量
  10985. type: integer
  10986. currencyid:
  10987. description: 报价货币ID
  10988. type: integer
  10989. curtdposition:
  10990. description: 期末今日头寸
  10991. type: integer
  10992. decimalplace:
  10993. description: 报价小数位
  10994. type: integer
  10995. enableqty:
  10996. description: 可用量
  10997. type: integer
  10998. fretdposition:
  10999. description: 冻结今日头寸
  11000. type: integer
  11001. frozenqty:
  11002. description: 持仓冻结数量
  11003. type: integer
  11004. goodscode:
  11005. description: 商品代码(内部)
  11006. type: string
  11007. goodsid:
  11008. description: 商品Id
  11009. type: integer
  11010. goodsname:
  11011. description: 商品名称
  11012. type: string
  11013. goodunit:
  11014. description: 报价单位
  11015. type: string
  11016. goodunitid:
  11017. description: 报价单位ID
  11018. type: integer
  11019. holderamount:
  11020. description: 期初持仓总金额
  11021. type: number
  11022. marketid:
  11023. description: 市场ID
  11024. type: integer
  11025. openreqqty:
  11026. description: 开仓申请数量
  11027. type: integer
  11028. opentotalqty:
  11029. description: 开仓总数量
  11030. type: integer
  11031. otherfrozenqty:
  11032. description: 持仓其他冻结数量(交割冻结)
  11033. type: integer
  11034. positionqty:
  11035. description: 期初持仓数量
  11036. type: integer
  11037. szdz3freezqty:
  11038. description: 尚志大宗转换冻结总数量
  11039. type: integer
  11040. tnqty:
  11041. description: T+N冻结总量
  11042. type: integer
  11043. tnusedqty:
  11044. description: T+N使用量
  11045. type: integer
  11046. trademode:
  11047. description: 交易模式
  11048. type: integer
  11049. usedmargin:
  11050. description: 占用保证金
  11051. type: number
  11052. type: object
  11053. taaccount.QueryAmountLogRsp:
  11054. properties:
  11055. OPERATETYPENAME:
  11056. description: 资金操作类型名称
  11057. type: string
  11058. accountid:
  11059. description: 资金账户ID
  11060. type: integer
  11061. agoodscode:
  11062. description: 竞拍商品代码
  11063. type: string
  11064. agoodsname:
  11065. description: 竞拍商品名称
  11066. type: string
  11067. amount:
  11068. description: 资金金额
  11069. type: number
  11070. amountadjusttype:
  11071. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11072. type: integer
  11073. autoid:
  11074. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11075. type: integer
  11076. balance:
  11077. description: 期初余额
  11078. type: number
  11079. businesscode:
  11080. description: 业务编号
  11081. type: integer
  11082. createtime:
  11083. description: 发生时间
  11084. type: string
  11085. currencyid:
  11086. description: 币种ID
  11087. type: integer
  11088. currentbalance:
  11089. description: 期末余额(变动后金额)
  11090. type: number
  11091. dgoodscode:
  11092. description: 交割商品代码
  11093. type: string
  11094. dgoodsname:
  11095. description: 交割商品名称
  11096. type: string
  11097. goodscode:
  11098. description: 商品代码
  11099. type: string
  11100. goodsid:
  11101. description: 商品ID
  11102. type: integer
  11103. goodsname:
  11104. description: 商品名称
  11105. type: string
  11106. marketid:
  11107. description: 市场ID
  11108. type: integer
  11109. marketname:
  11110. description: 市场名称
  11111. type: string
  11112. moneyticket:
  11113. description: 资金流水号:银行端流水号
  11114. type: integer
  11115. operatetype:
  11116. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11117. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11118. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11119. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11120. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11121. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11122. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11123. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11124. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11125. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11126. type: integer
  11127. relationorderid:
  11128. description: 关联单号
  11129. type: string
  11130. remark:
  11131. description: 备注
  11132. type: string
  11133. trademode:
  11134. description: 交易模式
  11135. type: integer
  11136. required:
  11137. - accountid
  11138. - amount
  11139. - amountadjusttype
  11140. - autoid
  11141. - balance
  11142. - createtime
  11143. - currentbalance
  11144. - operatetype
  11145. type: object
  11146. taaccount.QueryHisAmountLogRsp:
  11147. properties:
  11148. OPERATETYPENAME:
  11149. description: 资金操作类型名称
  11150. type: string
  11151. accountid:
  11152. description: 资金账户ID
  11153. type: integer
  11154. agoodscode:
  11155. description: 竞拍商品代码
  11156. type: string
  11157. agoodsname:
  11158. description: 竞拍商品名称
  11159. type: string
  11160. amount:
  11161. description: 资金金额
  11162. type: number
  11163. amountadjusttype:
  11164. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11165. type: integer
  11166. autoid:
  11167. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11168. type: integer
  11169. balance:
  11170. description: 期初余额
  11171. type: number
  11172. businesscode:
  11173. description: 业务编号
  11174. type: integer
  11175. createtime:
  11176. description: 发生时间
  11177. type: string
  11178. currencyid:
  11179. description: 币种ID
  11180. type: integer
  11181. currentbalance:
  11182. description: 期末余额(变动后金额)
  11183. type: number
  11184. dgoodscode:
  11185. description: 交割商品代码
  11186. type: string
  11187. dgoodsname:
  11188. description: 交割商品名称
  11189. type: string
  11190. goodscode:
  11191. description: 商品代码
  11192. type: string
  11193. goodsid:
  11194. description: 商品ID
  11195. type: integer
  11196. goodsname:
  11197. description: 商品名称
  11198. type: string
  11199. histradedate:
  11200. description: 历史交易日
  11201. type: string
  11202. isvaliddata:
  11203. description: 是否有效 - 0:无效 1:有效
  11204. type: integer
  11205. marketid:
  11206. description: 市场ID
  11207. type: integer
  11208. marketname:
  11209. description: 市场名称
  11210. type: string
  11211. moneyticket:
  11212. description: 资金流水号:银行端流水号
  11213. type: integer
  11214. operatetype:
  11215. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11216. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11217. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11218. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11219. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11220. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11221. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11222. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11223. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11224. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11225. type: integer
  11226. relationorderid:
  11227. description: 关联单号
  11228. type: string
  11229. remark:
  11230. description: 备注
  11231. type: string
  11232. trademode:
  11233. description: 交易模式
  11234. type: integer
  11235. required:
  11236. - accountid
  11237. - amount
  11238. - amountadjusttype
  11239. - autoid
  11240. - balance
  11241. - createtime
  11242. - currentbalance
  11243. - histradedate
  11244. - operatetype
  11245. type: object
  11246. trade.QueryRecieptOrderRsp:
  11247. properties:
  11248. accountName:
  11249. description: 所属账号名称(已脱敏)
  11250. type: string
  11251. accountid:
  11252. description: 资金账号
  11253. type: integer
  11254. buyorsell:
  11255. description: 方向 - 0:买 1:卖
  11256. type: integer
  11257. enableqty:
  11258. description: 可摘数量
  11259. type: integer
  11260. goodscode:
  11261. description: 商品代码
  11262. type: string
  11263. goodsid:
  11264. description: 商品ID
  11265. type: integer
  11266. goodsname:
  11267. description: 商品名称
  11268. type: string
  11269. orderid:
  11270. description: 委托单号
  11271. type: string
  11272. orderprice:
  11273. description: 委托价格
  11274. type: number
  11275. ordertime:
  11276. description: 委托时间
  11277. type: string
  11278. tradedate:
  11279. description: 交易日(yyyyMMdd)
  11280. type: string
  11281. required:
  11282. - ordertime
  11283. type: object
  11284. user.LoginQueryRsp:
  11285. properties:
  11286. externalExchanges:
  11287. description: 外部交易所
  11288. items:
  11289. $ref: '#/definitions/models.Externalexchange'
  11290. type: array
  11291. goodsgroups:
  11292. description: 商品组
  11293. items:
  11294. $ref: '#/definitions/models.Goodsgroup'
  11295. type: array
  11296. loginAccount:
  11297. $ref: '#/definitions/models.Loginaccount'
  11298. description: 登录账号
  11299. markets:
  11300. description: 市场
  11301. items:
  11302. $ref: '#/definitions/models.Market'
  11303. type: array
  11304. systemParams:
  11305. description: 系统参数
  11306. items:
  11307. $ref: '#/definitions/models.Systemparam'
  11308. type: array
  11309. userAccount:
  11310. $ref: '#/definitions/models.Useraccount'
  11311. description: 用户账号
  11312. userInfo:
  11313. $ref: '#/definitions/models.Userinfo'
  11314. description: 用户信息
  11315. username:
  11316. description: 用户姓名
  11317. type: string
  11318. type: object
  11319. info:
  11320. contact: {}
  11321. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  11322. termsOfService: http://muchinfo.cn
  11323. title: MTP2.0 查询服务 API
  11324. version: "1.0"
  11325. paths:
  11326. /CPTrade/QueryCPTradeMyBidInfos:
  11327. get:
  11328. parameters:
  11329. - description: 资金账户
  11330. in: query
  11331. name: accountid
  11332. required: true
  11333. type: integer
  11334. - description: 预售市场ID
  11335. in: query
  11336. name: marketid
  11337. type: integer
  11338. - description: 预售商品ID
  11339. in: query
  11340. name: goodsid
  11341. type: integer
  11342. produces:
  11343. - application/json
  11344. responses:
  11345. "200":
  11346. description: OK
  11347. schema:
  11348. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  11349. "500":
  11350. description: Internal Server Error
  11351. schema:
  11352. $ref: '#/definitions/app.Response'
  11353. security:
  11354. - ApiKeyAuth: []
  11355. summary: 查询产能预售我的出价信息
  11356. tags:
  11357. - 产能预售
  11358. /CPTrade/QueryCPTradeOrderDetail:
  11359. get:
  11360. parameters:
  11361. - description: 预售商品ID
  11362. in: query
  11363. name: goodsid
  11364. type: integer
  11365. - description: 预售市场ID
  11366. in: query
  11367. name: marketid
  11368. type: integer
  11369. - description: 预售商品ID列表 - 格式:1,2,3
  11370. in: query
  11371. name: goodsids
  11372. type: string
  11373. produces:
  11374. - application/json
  11375. responses:
  11376. "200":
  11377. description: OK
  11378. schema:
  11379. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  11380. "500":
  11381. description: Internal Server Error
  11382. schema:
  11383. $ref: '#/definitions/app.Response'
  11384. security:
  11385. - ApiKeyAuth: []
  11386. summary: 查询产能预售委托单信息
  11387. tags:
  11388. - 产能预售
  11389. /CPTrade/QueryMyCPTradeGoods:
  11390. get:
  11391. parameters:
  11392. - description: 资金账户
  11393. in: query
  11394. name: accountid
  11395. required: true
  11396. type: integer
  11397. produces:
  11398. - application/json
  11399. responses:
  11400. "200":
  11401. description: OK
  11402. schema:
  11403. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  11404. "500":
  11405. description: Internal Server Error
  11406. schema:
  11407. $ref: '#/definitions/app.Response'
  11408. security:
  11409. - ApiKeyAuth: []
  11410. summary: 查询我的预售信息
  11411. tags:
  11412. - 产能预售
  11413. /CPTrade/QueryPositionCancel:
  11414. get:
  11415. parameters:
  11416. - description: 账户ID
  11417. in: query
  11418. name: userid
  11419. required: true
  11420. type: integer
  11421. - description: 注销ID
  11422. in: query
  11423. name: cancelid
  11424. type: integer
  11425. - description: 资金账户ID
  11426. in: query
  11427. name: accountid
  11428. type: integer
  11429. produces:
  11430. - application/json
  11431. responses:
  11432. "200":
  11433. description: OK
  11434. schema:
  11435. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  11436. "500":
  11437. description: Internal Server Error
  11438. schema:
  11439. $ref: '#/definitions/app.Response'
  11440. security:
  11441. - ApiKeyAuth: []
  11442. summary: 查询远期订单注销申请信息
  11443. tags:
  11444. - 产能预售
  11445. /CPTrade/QueryPreasleApply:
  11446. get:
  11447. parameters:
  11448. - description: 账户ID
  11449. in: query
  11450. name: userid
  11451. required: true
  11452. type: integer
  11453. - description: 申请ID
  11454. in: query
  11455. name: applyid
  11456. type: integer
  11457. - description: 资金账户ID
  11458. in: query
  11459. name: accountid
  11460. type: integer
  11461. produces:
  11462. - application/json
  11463. responses:
  11464. "200":
  11465. description: OK
  11466. schema:
  11467. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  11468. "500":
  11469. description: Internal Server Error
  11470. schema:
  11471. $ref: '#/definitions/app.Response'
  11472. security:
  11473. - ApiKeyAuth: []
  11474. summary: 查询产能预售申请信息
  11475. tags:
  11476. - 产能预售
  11477. /CPTrade/QueryPresaleGoodsEx:
  11478. get:
  11479. parameters:
  11480. - description: 预售商品ID
  11481. in: query
  11482. name: goodsid
  11483. type: integer
  11484. - description: 预售市场ID
  11485. in: query
  11486. name: marketid
  11487. type: integer
  11488. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  11489. in: query
  11490. name: presalemode
  11491. type: integer
  11492. - description: 预售商品ID列表 - 格式:1,2,3
  11493. in: query
  11494. name: goodsids
  11495. type: string
  11496. - description: 预售商品代码
  11497. in: query
  11498. name: goodscode
  11499. type: string
  11500. produces:
  11501. - application/json
  11502. responses:
  11503. "200":
  11504. description: OK
  11505. schema:
  11506. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  11507. "500":
  11508. description: Internal Server Error
  11509. schema:
  11510. $ref: '#/definitions/app.Response'
  11511. security:
  11512. - ApiKeyAuth: []
  11513. summary: 查询产能预售商品扩展信息
  11514. tags:
  11515. - 产能预售
  11516. /CPTrade/QueryUserGoodsData:
  11517. get:
  11518. parameters:
  11519. - description: 资金账户ID
  11520. in: query
  11521. name: accountid
  11522. required: true
  11523. type: integer
  11524. produces:
  11525. - application/json
  11526. responses:
  11527. "200":
  11528. description: OK
  11529. schema:
  11530. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  11531. "500":
  11532. description: Internal Server Error
  11533. schema:
  11534. $ref: '#/definitions/app.Response'
  11535. security:
  11536. - ApiKeyAuth: []
  11537. summary: 查询远期订单信息
  11538. tags:
  11539. - 产能预售
  11540. /Common/GetAllEnums:
  11541. get:
  11542. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  11543. parameters:
  11544. - description: 起始自增ID
  11545. in: query
  11546. name: autoid
  11547. type: integer
  11548. produces:
  11549. - application/json
  11550. responses:
  11551. "200":
  11552. description: OK
  11553. schema:
  11554. $ref: '#/definitions/models.Enumdicitem'
  11555. "500":
  11556. description: Internal Server Error
  11557. schema:
  11558. $ref: '#/definitions/app.Response'
  11559. summary: 获取所有枚举信息
  11560. tags:
  11561. - 通用服务
  11562. /Common/GetClientMenus:
  11563. get:
  11564. parameters:
  11565. - description: 登录账号
  11566. in: query
  11567. name: loginID
  11568. required: true
  11569. type: integer
  11570. - description: 终端类型,0:PC 1:Mobile
  11571. in: query
  11572. name: clientType
  11573. type: integer
  11574. produces:
  11575. - application/json
  11576. responses:
  11577. "200":
  11578. description: OK
  11579. schema:
  11580. items:
  11581. $ref: '#/definitions/common.ClientMenu'
  11582. type: array
  11583. "500":
  11584. description: Internal Server Error
  11585. schema:
  11586. $ref: '#/definitions/app.Response'
  11587. security:
  11588. - ApiKeyAuth: []
  11589. summary: 获取交易端菜单
  11590. tags:
  11591. - 通用服务
  11592. /Common/GetDivisions:
  11593. get:
  11594. produces:
  11595. - application/json
  11596. responses:
  11597. "200":
  11598. description: OK
  11599. schema:
  11600. $ref: '#/definitions/models.Division'
  11601. "500":
  11602. description: Internal Server Error
  11603. schema:
  11604. $ref: '#/definitions/app.Response'
  11605. summary: 查询区域信息
  11606. tags:
  11607. - 通用服务
  11608. /Common/GetServerTime:
  11609. get:
  11610. produces:
  11611. - application/json
  11612. responses:
  11613. "200":
  11614. description: OK
  11615. schema:
  11616. $ref: '#/definitions/app.Response'
  11617. "500":
  11618. description: Internal Server Error
  11619. schema:
  11620. $ref: '#/definitions/app.Response'
  11621. summary: 获取服务器时间
  11622. tags:
  11623. - 通用服务
  11624. /Common/NoticeReaded:
  11625. post:
  11626. parameters:
  11627. - description: 登录账号
  11628. in: query
  11629. name: loginID
  11630. required: true
  11631. type: integer
  11632. - description: 通知公告ID
  11633. in: query
  11634. name: noticeID
  11635. required: true
  11636. type: integer
  11637. produces:
  11638. - application/json
  11639. responses:
  11640. "200":
  11641. description: OK
  11642. schema:
  11643. $ref: '#/definitions/app.Response'
  11644. "500":
  11645. description: Internal Server Error
  11646. schema:
  11647. $ref: '#/definitions/app.Response'
  11648. security:
  11649. - ApiKeyAuth: []
  11650. summary: 通知公告设置已读请求
  11651. tags:
  11652. - 通用服务
  11653. /Common/QueryErrorInfos:
  11654. get:
  11655. description: 如果传入rowNumber,则返回此rowNumber后的数据
  11656. parameters:
  11657. - description: 起始行号前索引
  11658. in: query
  11659. name: rowNumber
  11660. type: string
  11661. produces:
  11662. - application/json
  11663. responses:
  11664. "200":
  11665. description: OK
  11666. schema:
  11667. $ref: '#/definitions/models.QueryErrorInfosRsp'
  11668. "500":
  11669. description: Internal Server Error
  11670. schema:
  11671. $ref: '#/definitions/app.Response'
  11672. summary: 获取数据库错误信息
  11673. tags:
  11674. - 通用服务
  11675. /Common/QueryImageConfigs:
  11676. get:
  11677. parameters:
  11678. - description: 类型 - 1:App首页轮播 2:我的
  11679. in: query
  11680. name: imageType
  11681. type: integer
  11682. produces:
  11683. - application/json
  11684. responses:
  11685. "200":
  11686. description: OK
  11687. schema:
  11688. $ref: '#/definitions/common.QueryImageConfigsRsp'
  11689. "500":
  11690. description: Internal Server Error
  11691. schema:
  11692. $ref: '#/definitions/app.Response'
  11693. summary: 查询轮播图配置信息
  11694. tags:
  11695. - 通用服务
  11696. /Common/QueryNotice:
  11697. get:
  11698. parameters:
  11699. - description: 页码
  11700. in: query
  11701. name: page
  11702. type: integer
  11703. - description: 每页条数
  11704. in: query
  11705. name: pagesize
  11706. type: integer
  11707. - description: 登录账号
  11708. in: query
  11709. name: loginID
  11710. required: true
  11711. type: integer
  11712. - description: 消息类型 - 1:公告通知 2:系统消息
  11713. in: query
  11714. name: msgType
  11715. type: integer
  11716. - description: 是否只获取未读信息
  11717. in: query
  11718. name: onlyUnRead
  11719. type: boolean
  11720. - description: 自增ID,传入后会返回这个ID后面的记录
  11721. in: query
  11722. name: lastID
  11723. type: integer
  11724. produces:
  11725. - application/json
  11726. responses:
  11727. "200":
  11728. description: OK
  11729. schema:
  11730. $ref: '#/definitions/common.QueryNoticeRsp'
  11731. "500":
  11732. description: Internal Server Error
  11733. schema:
  11734. $ref: '#/definitions/app.Response'
  11735. security:
  11736. - ApiKeyAuth: []
  11737. summary: 通知公告系统消息查询
  11738. tags:
  11739. - 通用服务
  11740. /Common/QueryProvincesAndCities:
  11741. get:
  11742. parameters:
  11743. - description: 省ID
  11744. in: query
  11745. name: provinceID
  11746. type: integer
  11747. produces:
  11748. - application/json
  11749. responses:
  11750. "200":
  11751. description: OK
  11752. schema:
  11753. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  11754. "500":
  11755. description: Internal Server Error
  11756. schema:
  11757. $ref: '#/definitions/app.Response'
  11758. summary: 查询省市信息(不包括区)
  11759. tags:
  11760. - 通用服务
  11761. /Common/QueryTableDefine:
  11762. get:
  11763. parameters:
  11764. - description: 表key
  11765. in: query
  11766. name: tableKey
  11767. type: string
  11768. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  11769. in: query
  11770. name: tableType
  11771. type: integer
  11772. produces:
  11773. - application/json
  11774. responses:
  11775. "200":
  11776. description: OK
  11777. schema:
  11778. $ref: '#/definitions/common.QueryTableDefineRsp'
  11779. "500":
  11780. description: Internal Server Error
  11781. schema:
  11782. $ref: '#/definitions/app.Response'
  11783. summary: 查询交易端列表头信息
  11784. tags:
  11785. - 通用服务
  11786. /Common/QueryTraderMenu:
  11787. get:
  11788. parameters:
  11789. - description: 登录账号
  11790. in: query
  11791. name: loginid
  11792. required: true
  11793. type: integer
  11794. produces:
  11795. - application/json
  11796. responses:
  11797. "200":
  11798. description: OK
  11799. schema:
  11800. $ref: '#/definitions/common.QueryTraderMenuRsp'
  11801. "500":
  11802. description: Internal Server Error
  11803. schema:
  11804. $ref: '#/definitions/app.Response'
  11805. summary: 查询交易端菜单
  11806. tags:
  11807. - 通用服务
  11808. /Delivery/QueryDeliveryRelation:
  11809. get:
  11810. parameters:
  11811. - description: 商品ID
  11812. in: query
  11813. name: goodsid
  11814. type: integer
  11815. - description: 品种ID
  11816. in: query
  11817. name: deliverygoodsid
  11818. type: integer
  11819. - description: 市场ID
  11820. in: query
  11821. name: marketid
  11822. type: integer
  11823. produces:
  11824. - application/json
  11825. responses:
  11826. "200":
  11827. description: OK
  11828. schema:
  11829. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  11830. "500":
  11831. description: Internal Server Error
  11832. schema:
  11833. $ref: '#/definitions/app.Response'
  11834. security:
  11835. - ApiKeyAuth: []
  11836. summary: 查询商品交割关系表
  11837. tags:
  11838. - 交割服务
  11839. /Ermcp/GetErmcpGoods:
  11840. get:
  11841. parameters:
  11842. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  11843. in: query
  11844. name: lastUpdateTime
  11845. type: string
  11846. produces:
  11847. - application/json
  11848. responses:
  11849. "200":
  11850. description: OK
  11851. schema:
  11852. $ref: '#/definitions/models.Goods'
  11853. "500":
  11854. description: Internal Server Error
  11855. schema:
  11856. $ref: '#/definitions/app.Response'
  11857. security:
  11858. - ApiKeyAuth: []
  11859. summary: 查询企业风管期货商品信息
  11860. tags:
  11861. - 企业风险管理(app)
  11862. /Ermcp/GetErmcpGoodsSortByPosition:
  11863. get:
  11864. parameters:
  11865. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  11866. in: query
  11867. name: sortIndex
  11868. type: string
  11869. produces:
  11870. - application/json
  11871. responses:
  11872. "200":
  11873. description: OK
  11874. schema:
  11875. $ref: '#/definitions/models.Goodssortbypreposition'
  11876. "500":
  11877. description: Internal Server Error
  11878. schema:
  11879. $ref: '#/definitions/app.Response'
  11880. security:
  11881. - ApiKeyAuth: []
  11882. summary: 查询企业风管期货主力、次主力商品信息
  11883. tags:
  11884. - 企业风险管理(app)
  11885. /Ermcp/GetErmcpRoleFuncMenuLists:
  11886. get:
  11887. parameters:
  11888. - description: 登录账号
  11889. in: query
  11890. name: loginID
  11891. required: true
  11892. type: integer
  11893. - description: 模式,0:普通(交易所版本);1:企业风管
  11894. in: query
  11895. name: mode
  11896. type: integer
  11897. produces:
  11898. - application/json
  11899. responses:
  11900. "200":
  11901. description: OK
  11902. schema:
  11903. $ref: '#/definitions/models.Funcmenulist'
  11904. "500":
  11905. description: Internal Server Error
  11906. schema:
  11907. $ref: '#/definitions/app.Response'
  11908. security:
  11909. - ApiKeyAuth: []
  11910. summary: 获取企业风管终端权限
  11911. tags:
  11912. - 企业风险管理(app)
  11913. /Ermcp/QryReportAreaSpotPL:
  11914. get:
  11915. parameters:
  11916. - description: 用户ID
  11917. in: query
  11918. name: userid
  11919. required: true
  11920. type: integer
  11921. - description: 查询类型 1-日报表 2-月报表
  11922. in: query
  11923. name: querytype
  11924. required: true
  11925. type: integer
  11926. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  11927. in: query
  11928. name: querydate
  11929. required: true
  11930. type: string
  11931. - description: 现货商品ID
  11932. in: query
  11933. name: wrstandardid
  11934. type: integer
  11935. - description: 品牌ID
  11936. in: query
  11937. name: spotgoodsbrandid
  11938. type: integer
  11939. - description: 型号ID
  11940. in: query
  11941. name: spotgoodsmodelid
  11942. type: integer
  11943. produces:
  11944. - application/json
  11945. responses:
  11946. "200":
  11947. description: OK
  11948. schema:
  11949. items:
  11950. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  11951. type: array
  11952. "500":
  11953. description: Internal Server Error
  11954. schema:
  11955. $ref: '#/definitions/app.Response'
  11956. security:
  11957. - ApiKeyAuth: []
  11958. summary: 查询现货损益报表(现货损益报表)
  11959. tags:
  11960. - 企业风险管理(app)
  11961. /Ermcp/QryReportDayExposure:
  11962. get:
  11963. parameters:
  11964. - description: 用户ID
  11965. in: query
  11966. name: userid
  11967. required: true
  11968. type: integer
  11969. - description: 交易日(格式:yyyyMMdd)
  11970. in: query
  11971. name: tradedate
  11972. required: true
  11973. type: string
  11974. produces:
  11975. - application/json
  11976. responses:
  11977. "200":
  11978. description: OK
  11979. schema:
  11980. items:
  11981. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  11982. type: array
  11983. "500":
  11984. description: Internal Server Error
  11985. schema:
  11986. $ref: '#/definitions/app.Response'
  11987. security:
  11988. - ApiKeyAuth: []
  11989. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  11990. tags:
  11991. - 企业风险管理(app)
  11992. /Ermcp/QryReportDayFinance:
  11993. get:
  11994. parameters:
  11995. - description: 用户ID
  11996. in: query
  11997. name: userid
  11998. required: true
  11999. type: integer
  12000. - description: 交易日(格式:yyyyMMdd)
  12001. in: query
  12002. name: tradedate
  12003. required: true
  12004. type: string
  12005. produces:
  12006. - application/json
  12007. responses:
  12008. "200":
  12009. description: OK
  12010. schema:
  12011. items:
  12012. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  12013. type: array
  12014. "500":
  12015. description: Internal Server Error
  12016. schema:
  12017. $ref: '#/definitions/app.Response'
  12018. security:
  12019. - ApiKeyAuth: []
  12020. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  12021. tags:
  12022. - 企业风险管理(app)
  12023. /Ermcp/QryReportDayFinanceFp:
  12024. get:
  12025. parameters:
  12026. - description: 用户ID
  12027. in: query
  12028. name: userid
  12029. required: true
  12030. type: integer
  12031. - description: 交易日(格式:yyyyMMdd)
  12032. in: query
  12033. name: tradedate
  12034. required: true
  12035. type: string
  12036. produces:
  12037. - application/json
  12038. responses:
  12039. "200":
  12040. description: OK
  12041. schema:
  12042. items:
  12043. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  12044. type: array
  12045. "500":
  12046. description: Internal Server Error
  12047. schema:
  12048. $ref: '#/definitions/app.Response'
  12049. security:
  12050. - ApiKeyAuth: []
  12051. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  12052. tags:
  12053. - 企业风险管理(app)
  12054. /Ermcp/QryReportDayFinanceKx:
  12055. get:
  12056. parameters:
  12057. - description: 用户ID
  12058. in: query
  12059. name: userid
  12060. required: true
  12061. type: integer
  12062. - description: 交易日(格式:yyyyMMdd)
  12063. in: query
  12064. name: tradedate
  12065. required: true
  12066. type: string
  12067. produces:
  12068. - application/json
  12069. responses:
  12070. "200":
  12071. description: OK
  12072. schema:
  12073. items:
  12074. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  12075. type: array
  12076. "500":
  12077. description: Internal Server Error
  12078. schema:
  12079. $ref: '#/definitions/app.Response'
  12080. security:
  12081. - ApiKeyAuth: []
  12082. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  12083. tags:
  12084. - 企业风险管理(app)
  12085. /Ermcp/QryReportDaySpot:
  12086. get:
  12087. parameters:
  12088. - description: 用户ID
  12089. in: query
  12090. name: userid
  12091. required: true
  12092. type: integer
  12093. - description: 交易日(格式:yyyyMMdd)
  12094. in: query
  12095. name: tradedate
  12096. required: true
  12097. type: string
  12098. produces:
  12099. - application/json
  12100. responses:
  12101. "200":
  12102. description: OK
  12103. schema:
  12104. items:
  12105. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  12106. type: array
  12107. "500":
  12108. description: Internal Server Error
  12109. schema:
  12110. $ref: '#/definitions/app.Response'
  12111. security:
  12112. - ApiKeyAuth: []
  12113. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  12114. tags:
  12115. - 企业风险管理(app)
  12116. /Ermcp/QryReportDaySpotDetail:
  12117. get:
  12118. parameters:
  12119. - description: 用户ID
  12120. in: query
  12121. name: userid
  12122. required: true
  12123. type: integer
  12124. - description: 现货商品id
  12125. in: query
  12126. name: wrstandardid
  12127. required: true
  12128. type: integer
  12129. - description: 交易日(格式:yyyyMMdd)
  12130. in: query
  12131. name: tradedate
  12132. required: true
  12133. type: string
  12134. produces:
  12135. - application/json
  12136. responses:
  12137. "200":
  12138. description: OK
  12139. schema:
  12140. items:
  12141. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  12142. type: array
  12143. "500":
  12144. description: Internal Server Error
  12145. schema:
  12146. $ref: '#/definitions/app.Response'
  12147. security:
  12148. - ApiKeyAuth: []
  12149. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  12150. tags:
  12151. - 企业风险管理(app)
  12152. /Ermcp/QryReportMonthFinance:
  12153. get:
  12154. parameters:
  12155. - description: 用户ID
  12156. in: query
  12157. name: userid
  12158. required: true
  12159. type: integer
  12160. - description: 周期时间:月(格式:yyyyMM)
  12161. in: query
  12162. name: cycletime
  12163. required: true
  12164. type: string
  12165. produces:
  12166. - application/json
  12167. responses:
  12168. "200":
  12169. description: OK
  12170. schema:
  12171. items:
  12172. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  12173. type: array
  12174. "500":
  12175. description: Internal Server Error
  12176. schema:
  12177. $ref: '#/definitions/app.Response'
  12178. security:
  12179. - ApiKeyAuth: []
  12180. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  12181. tags:
  12182. - 企业风险管理(app)
  12183. /Ermcp/QryReportMonthSpot:
  12184. get:
  12185. parameters:
  12186. - description: 用户ID
  12187. in: query
  12188. name: userid
  12189. required: true
  12190. type: integer
  12191. - description: 周期时间:月(格式:yyyyMM)
  12192. in: query
  12193. name: cycletime
  12194. required: true
  12195. type: string
  12196. produces:
  12197. - application/json
  12198. responses:
  12199. "200":
  12200. description: OK
  12201. schema:
  12202. items:
  12203. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  12204. type: array
  12205. "500":
  12206. description: Internal Server Error
  12207. schema:
  12208. $ref: '#/definitions/app.Response'
  12209. security:
  12210. - ApiKeyAuth: []
  12211. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  12212. tags:
  12213. - 企业风险管理(app)
  12214. /Ermcp/QryReportMonthSpotDetail:
  12215. get:
  12216. parameters:
  12217. - description: 用户ID
  12218. in: query
  12219. name: userid
  12220. required: true
  12221. type: integer
  12222. - description: 现货商品id
  12223. in: query
  12224. name: wrstandardid
  12225. required: true
  12226. type: integer
  12227. - description: 周期时间:月(格式:yyyyMM)
  12228. in: query
  12229. name: cycletime
  12230. required: true
  12231. type: string
  12232. produces:
  12233. - application/json
  12234. responses:
  12235. "200":
  12236. description: OK
  12237. schema:
  12238. items:
  12239. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  12240. type: array
  12241. "500":
  12242. description: Internal Server Error
  12243. schema:
  12244. $ref: '#/definitions/app.Response'
  12245. security:
  12246. - ApiKeyAuth: []
  12247. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  12248. tags:
  12249. - 企业风险管理(app)
  12250. /Ermcp/QueryAccMgrBizGroupSet:
  12251. get:
  12252. parameters:
  12253. - description: 用户ID
  12254. in: query
  12255. name: userid
  12256. required: true
  12257. type: integer
  12258. produces:
  12259. - application/json
  12260. responses:
  12261. "200":
  12262. description: OK
  12263. schema:
  12264. items:
  12265. $ref: '#/definitions/models.ErmcpBizGroupEx'
  12266. type: array
  12267. "500":
  12268. description: Internal Server Error
  12269. schema:
  12270. $ref: '#/definitions/app.Response'
  12271. security:
  12272. - ApiKeyAuth: []
  12273. summary: 查询业务类型分组(账户管理/账户设置)
  12274. tags:
  12275. - 企业风险管理(app)
  12276. /Ermcp/QueryAccMgrLoginUser:
  12277. get:
  12278. parameters:
  12279. - description: 用户ID
  12280. in: query
  12281. name: userid
  12282. required: true
  12283. type: integer
  12284. produces:
  12285. - application/json
  12286. responses:
  12287. "200":
  12288. description: OK
  12289. schema:
  12290. items:
  12291. $ref: '#/definitions/models.ErmcpLoginUserEx'
  12292. type: array
  12293. "500":
  12294. description: Internal Server Error
  12295. schema:
  12296. $ref: '#/definitions/app.Response'
  12297. security:
  12298. - ApiKeyAuth: []
  12299. summary: 查询账户管理登录账号(账户管理/登录账号)
  12300. tags:
  12301. - 企业风险管理(app)
  12302. /Ermcp/QueryAccMgrMainAccountInfo:
  12303. get:
  12304. parameters:
  12305. - description: 用户ID
  12306. in: query
  12307. name: userid
  12308. type: integer
  12309. - description: 主账号id
  12310. in: query
  12311. name: accountid
  12312. type: integer
  12313. produces:
  12314. - application/json
  12315. responses:
  12316. "200":
  12317. description: OK
  12318. schema:
  12319. items:
  12320. $ref: '#/definitions/models.MainAccountInfo'
  12321. type: array
  12322. "500":
  12323. description: Internal Server Error
  12324. schema:
  12325. $ref: '#/definitions/app.Response'
  12326. security:
  12327. - ApiKeyAuth: []
  12328. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  12329. tags:
  12330. - 企业风险管理(app)
  12331. /Ermcp/QueryAccMgrRole:
  12332. get:
  12333. parameters:
  12334. - description: 用户ID
  12335. in: query
  12336. name: userid
  12337. required: true
  12338. type: integer
  12339. produces:
  12340. - application/json
  12341. responses:
  12342. "200":
  12343. description: OK
  12344. schema:
  12345. items:
  12346. $ref: '#/definitions/models.ErmcpRole'
  12347. type: array
  12348. "500":
  12349. description: Internal Server Error
  12350. schema:
  12351. $ref: '#/definitions/app.Response'
  12352. security:
  12353. - ApiKeyAuth: []
  12354. summary: 查询账户管理角色设置(账户管理/角色设置)
  12355. tags:
  12356. - 企业风险管理(app)
  12357. /Ermcp/QueryAccMgrRoleMenu:
  12358. get:
  12359. parameters:
  12360. - description: 用户ID
  12361. in: query
  12362. name: userid
  12363. required: true
  12364. type: integer
  12365. - description: 角色id(可多个,逗号隔开)
  12366. in: query
  12367. name: roleid
  12368. type: string
  12369. produces:
  12370. - application/json
  12371. responses:
  12372. "200":
  12373. description: OK
  12374. schema:
  12375. items:
  12376. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  12377. type: array
  12378. "500":
  12379. description: Internal Server Error
  12380. schema:
  12381. $ref: '#/definitions/app.Response'
  12382. security:
  12383. - ApiKeyAuth: []
  12384. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  12385. tags:
  12386. - 企业风险管理(app)
  12387. /Ermcp/QueryAccMgrTaAccountInfo:
  12388. get:
  12389. parameters:
  12390. - description: 用户ID
  12391. in: query
  12392. name: userid
  12393. required: true
  12394. type: integer
  12395. - description: 账号id
  12396. in: query
  12397. name: accountid
  12398. type: integer
  12399. produces:
  12400. - application/json
  12401. responses:
  12402. "200":
  12403. description: OK
  12404. schema:
  12405. items:
  12406. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  12407. type: array
  12408. "500":
  12409. description: Internal Server Error
  12410. schema:
  12411. $ref: '#/definitions/app.Response'
  12412. security:
  12413. - ApiKeyAuth: []
  12414. summary: 查询账户管理授信(账户管理/账户设置/授信)
  12415. tags:
  12416. - 企业风险管理(app)
  12417. /Ermcp/QueryAccMgrTaaccount:
  12418. get:
  12419. parameters:
  12420. - description: 用户ID
  12421. in: query
  12422. name: userid
  12423. required: true
  12424. type: integer
  12425. produces:
  12426. - application/json
  12427. responses:
  12428. "200":
  12429. description: OK
  12430. schema:
  12431. items:
  12432. $ref: '#/definitions/models.ErmcpTaAccountEx'
  12433. type: array
  12434. "500":
  12435. description: Internal Server Error
  12436. schema:
  12437. $ref: '#/definitions/app.Response'
  12438. security:
  12439. - ApiKeyAuth: []
  12440. summary: 查询账户管理期货账号(账户管理/期货账号)
  12441. tags:
  12442. - 企业风险管理(app)
  12443. /Ermcp/QueryAreaStock:
  12444. get:
  12445. parameters:
  12446. - description: 用户ID
  12447. in: query
  12448. name: userid
  12449. required: true
  12450. type: integer
  12451. produces:
  12452. - application/json
  12453. responses:
  12454. "200":
  12455. description: OK
  12456. schema:
  12457. items:
  12458. $ref: '#/definitions/models.ErmcpAreaStock'
  12459. type: array
  12460. "500":
  12461. description: Internal Server Error
  12462. schema:
  12463. $ref: '#/definitions/app.Response'
  12464. security:
  12465. - ApiKeyAuth: []
  12466. summary: 查询机构库存(库存管理/当前库存)
  12467. tags:
  12468. - 企业风险管理(app)
  12469. /Ermcp/QueryAreaStockApply:
  12470. get:
  12471. parameters:
  12472. - description: 用户ID
  12473. in: query
  12474. name: userid
  12475. required: true
  12476. type: integer
  12477. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  12478. in: query
  12479. name: inouttype
  12480. type: string
  12481. - description: 合同ID
  12482. in: query
  12483. name: spotcontractid
  12484. type: integer
  12485. - description: 现货商品ID
  12486. in: query
  12487. name: wrstandardid
  12488. type: integer
  12489. - description: 品牌ID
  12490. in: query
  12491. name: spotgoodsbrandid
  12492. type: integer
  12493. - description: 型号ID
  12494. in: query
  12495. name: spotgoodsmodelid
  12496. type: integer
  12497. - description: 仓库ID
  12498. in: query
  12499. name: warehouseinfoid
  12500. type: integer
  12501. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12502. in: query
  12503. name: applystatus
  12504. type: string
  12505. produces:
  12506. - application/json
  12507. responses:
  12508. "200":
  12509. description: OK
  12510. schema:
  12511. items:
  12512. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  12513. type: array
  12514. "500":
  12515. description: Internal Server Error
  12516. schema:
  12517. $ref: '#/definitions/app.Response'
  12518. security:
  12519. - ApiKeyAuth: []
  12520. summary: 查询库存申请(出入库记录|库存审核)
  12521. tags:
  12522. - 企业风险管理(app)
  12523. /Ermcp/QueryAreaStockApplySum:
  12524. get:
  12525. parameters:
  12526. - description: 合同ID
  12527. in: query
  12528. name: spotcontractid
  12529. type: integer
  12530. produces:
  12531. - application/json
  12532. responses:
  12533. "200":
  12534. description: OK
  12535. schema:
  12536. items:
  12537. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  12538. type: array
  12539. "500":
  12540. description: Internal Server Error
  12541. schema:
  12542. $ref: '#/definitions/app.Response'
  12543. security:
  12544. - ApiKeyAuth: []
  12545. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  12546. tags:
  12547. - 企业风险管理(app)
  12548. /Ermcp/QueryAreaStockReport:
  12549. get:
  12550. parameters:
  12551. - description: 用户ID
  12552. in: query
  12553. name: userid
  12554. required: true
  12555. type: integer
  12556. - description: 查询类型 1-日报表 2-月报表
  12557. in: query
  12558. name: querytype
  12559. required: true
  12560. type: integer
  12561. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12562. in: query
  12563. name: querydate
  12564. required: true
  12565. type: string
  12566. - description: 现货商品ID
  12567. in: query
  12568. name: wrstandardid
  12569. type: integer
  12570. - description: 品牌ID
  12571. in: query
  12572. name: spotgoodsbrandid
  12573. type: integer
  12574. - description: 型号ID
  12575. in: query
  12576. name: spotgoodsmodelid
  12577. type: integer
  12578. - description: 仓库ID
  12579. in: query
  12580. name: warehouseinfoid
  12581. type: integer
  12582. produces:
  12583. - application/json
  12584. responses:
  12585. "200":
  12586. description: OK
  12587. schema:
  12588. items:
  12589. $ref: '#/definitions/models.ErmcpAreaStockReport'
  12590. type: array
  12591. "500":
  12592. description: Internal Server Error
  12593. schema:
  12594. $ref: '#/definitions/app.Response'
  12595. security:
  12596. - ApiKeyAuth: []
  12597. summary: 查询库存报表
  12598. tags:
  12599. - 企业风险管理(app)
  12600. /Ermcp/QueryAreaStockReportDetail:
  12601. get:
  12602. parameters:
  12603. - description: 用户ID
  12604. in: query
  12605. name: userid
  12606. required: true
  12607. type: integer
  12608. - description: 查询类型 1-日报表明细 2-月报表明细
  12609. in: query
  12610. name: querytype
  12611. required: true
  12612. type: integer
  12613. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  12614. in: query
  12615. name: detailtype
  12616. required: true
  12617. type: integer
  12618. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12619. in: query
  12620. name: querydate
  12621. required: true
  12622. type: string
  12623. - description: 现货商品ID
  12624. in: query
  12625. name: wrstandardid
  12626. type: integer
  12627. - description: 品牌ID
  12628. in: query
  12629. name: spotgoodsbrandid
  12630. type: integer
  12631. - description: 型号ID
  12632. in: query
  12633. name: spotgoodsmodelid
  12634. type: integer
  12635. - description: 仓库ID
  12636. in: query
  12637. name: warehouseinfoid
  12638. type: integer
  12639. produces:
  12640. - application/json
  12641. responses:
  12642. "200":
  12643. description: OK
  12644. schema:
  12645. items:
  12646. $ref: '#/definitions/models.ErmcpAreaStockApply'
  12647. type: array
  12648. "500":
  12649. description: Internal Server Error
  12650. schema:
  12651. $ref: '#/definitions/app.Response'
  12652. security:
  12653. - ApiKeyAuth: []
  12654. summary: 查询库存报表明细
  12655. tags:
  12656. - 企业风险管理(app)
  12657. /Ermcp/QueryAvaildGoodsGroup:
  12658. get:
  12659. parameters:
  12660. - description: 所属机构ID
  12661. in: query
  12662. name: userid
  12663. required: true
  12664. type: integer
  12665. produces:
  12666. - application/json
  12667. responses:
  12668. "200":
  12669. description: OK
  12670. schema:
  12671. items:
  12672. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  12673. type: array
  12674. "500":
  12675. description: Internal Server Error
  12676. schema:
  12677. $ref: '#/definitions/app.Response'
  12678. security:
  12679. - ApiKeyAuth: []
  12680. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  12681. tags:
  12682. - 企业风险管理(app)
  12683. /Ermcp/QueryBusinessDj:
  12684. get:
  12685. parameters:
  12686. - description: 用户ID
  12687. in: query
  12688. name: UserId
  12689. required: true
  12690. type: integer
  12691. - description: 现货合同ID, 不填则查所有
  12692. in: query
  12693. name: relatedid
  12694. type: string
  12695. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12696. in: query
  12697. name: applystatus
  12698. type: string
  12699. produces:
  12700. - application/json
  12701. responses:
  12702. "200":
  12703. description: OK
  12704. schema:
  12705. items:
  12706. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  12707. type: array
  12708. "500":
  12709. description: Internal Server Error
  12710. schema:
  12711. $ref: '#/definitions/app.Response'
  12712. security:
  12713. - ApiKeyAuth: []
  12714. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  12715. tags:
  12716. - 企业风险管理(app)
  12717. /Ermcp/QueryBusinessFp:
  12718. get:
  12719. parameters:
  12720. - description: 用户ID
  12721. in: query
  12722. name: UserId
  12723. required: true
  12724. type: integer
  12725. - description: 现货合同ID, 不填则查所有
  12726. in: query
  12727. name: relatedid
  12728. type: string
  12729. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12730. in: query
  12731. name: applystatus
  12732. type: string
  12733. produces:
  12734. - application/json
  12735. responses:
  12736. "200":
  12737. description: OK
  12738. schema:
  12739. items:
  12740. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  12741. type: array
  12742. "500":
  12743. description: Internal Server Error
  12744. schema:
  12745. $ref: '#/definitions/app.Response'
  12746. security:
  12747. - ApiKeyAuth: []
  12748. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  12749. tags:
  12750. - 企业风险管理(app)
  12751. /Ermcp/QueryBusinessJs:
  12752. get:
  12753. parameters:
  12754. - description: 用户ID
  12755. in: query
  12756. name: UserId
  12757. required: true
  12758. type: integer
  12759. - description: 现货合同ID, 不填则查所有
  12760. in: query
  12761. name: relatedid
  12762. type: string
  12763. - description: 操作申请id
  12764. in: query
  12765. name: operateapplyid
  12766. type: string
  12767. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12768. in: query
  12769. name: applystatus
  12770. type: string
  12771. produces:
  12772. - application/json
  12773. responses:
  12774. "200":
  12775. description: OK
  12776. schema:
  12777. items:
  12778. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  12779. type: array
  12780. "500":
  12781. description: Internal Server Error
  12782. schema:
  12783. $ref: '#/definitions/app.Response'
  12784. security:
  12785. - ApiKeyAuth: []
  12786. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  12787. tags:
  12788. - 企业风险管理(app)
  12789. /Ermcp/QueryBusinessJsEx:
  12790. get:
  12791. parameters:
  12792. - description: 用户ID
  12793. in: query
  12794. name: UserId
  12795. required: true
  12796. type: integer
  12797. - description: 现货合同ID, 不填则查所有
  12798. in: query
  12799. name: relatedid
  12800. type: string
  12801. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12802. in: query
  12803. name: applystatus
  12804. type: string
  12805. produces:
  12806. - application/json
  12807. responses:
  12808. "200":
  12809. description: OK
  12810. schema:
  12811. items:
  12812. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  12813. type: array
  12814. "500":
  12815. description: Internal Server Error
  12816. schema:
  12817. $ref: '#/definitions/app.Response'
  12818. security:
  12819. - ApiKeyAuth: []
  12820. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  12821. tags:
  12822. - 企业风险管理(app)
  12823. /Ermcp/QueryBusinessKx:
  12824. get:
  12825. parameters:
  12826. - description: 用户ID
  12827. in: query
  12828. name: UserId
  12829. required: true
  12830. type: integer
  12831. - description: 现货合同ID, 不填则查所有
  12832. in: query
  12833. name: relatedid
  12834. type: string
  12835. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12836. in: query
  12837. name: applystatus
  12838. type: string
  12839. produces:
  12840. - application/json
  12841. responses:
  12842. "200":
  12843. description: OK
  12844. schema:
  12845. items:
  12846. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  12847. type: array
  12848. "500":
  12849. description: Internal Server Error
  12850. schema:
  12851. $ref: '#/definitions/app.Response'
  12852. security:
  12853. - ApiKeyAuth: []
  12854. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  12855. tags:
  12856. - 企业风险管理(app)
  12857. /Ermcp/QueryChangeLog:
  12858. get:
  12859. parameters:
  12860. - description: 合同ID
  12861. in: query
  12862. name: RelatedId
  12863. required: true
  12864. type: string
  12865. produces:
  12866. - application/json
  12867. responses:
  12868. "200":
  12869. description: OK
  12870. schema:
  12871. items:
  12872. $ref: '#/definitions/ermcp.QryOPLogRsp'
  12873. type: array
  12874. "500":
  12875. description: Internal Server Error
  12876. schema:
  12877. $ref: '#/definitions/app.Response'
  12878. security:
  12879. - ApiKeyAuth: []
  12880. summary: 查询变更记录
  12881. tags:
  12882. - 企业风险管理(app)
  12883. /Ermcp/QueryContract:
  12884. get:
  12885. parameters:
  12886. - description: 用户ID
  12887. in: query
  12888. name: userId
  12889. required: true
  12890. type: integer
  12891. - description: 合同类型 1-采购, -1-销售
  12892. in: query
  12893. name: contracttype
  12894. required: true
  12895. type: integer
  12896. - description: 查询类型 1-全部 2-待点价 3-履约结算
  12897. in: query
  12898. name: querytype
  12899. required: true
  12900. type: integer
  12901. - description: 合同ID(SpotContractId)
  12902. in: query
  12903. name: contractid
  12904. type: string
  12905. produces:
  12906. - application/json
  12907. responses:
  12908. "200":
  12909. description: OK
  12910. schema:
  12911. items:
  12912. $ref: '#/definitions/ermcp.QryErmcpRsp'
  12913. type: array
  12914. "500":
  12915. description: Internal Server Error
  12916. schema:
  12917. $ref: '#/definitions/app.Response'
  12918. security:
  12919. - ApiKeyAuth: []
  12920. summary: 查询合同(采购和销售)
  12921. tags:
  12922. - 企业风险管理(app)
  12923. /Ermcp/QueryErmcpHisOrderDetails:
  12924. get:
  12925. parameters:
  12926. - description: 资金账户ID
  12927. in: query
  12928. name: accountID
  12929. required: true
  12930. type: integer
  12931. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12932. in: query
  12933. name: startDate
  12934. type: string
  12935. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12936. in: query
  12937. name: endDate
  12938. type: string
  12939. produces:
  12940. - application/json
  12941. responses:
  12942. "200":
  12943. description: OK
  12944. schema:
  12945. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12946. "500":
  12947. description: Internal Server Error
  12948. schema:
  12949. $ref: '#/definitions/app.Response'
  12950. security:
  12951. - ApiKeyAuth: []
  12952. summary: 获取企业风管期货历史委托单信息
  12953. tags:
  12954. - 企业风险管理(app)
  12955. /Ermcp/QueryErmcpHisTradeDetails:
  12956. get:
  12957. parameters:
  12958. - description: 资金账户ID
  12959. in: query
  12960. name: accountID
  12961. required: true
  12962. type: integer
  12963. - description: 商品ID
  12964. in: query
  12965. name: goodsID
  12966. type: integer
  12967. - description: 买卖方向,0:买 1:卖
  12968. in: query
  12969. name: buyOrSell
  12970. type: integer
  12971. - description: 关联委托单号
  12972. in: query
  12973. name: orderID
  12974. type: integer
  12975. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12976. in: query
  12977. name: startDate
  12978. type: string
  12979. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12980. in: query
  12981. name: endDate
  12982. type: string
  12983. produces:
  12984. - application/json
  12985. responses:
  12986. "200":
  12987. description: OK
  12988. schema:
  12989. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12990. "500":
  12991. description: Internal Server Error
  12992. schema:
  12993. $ref: '#/definitions/app.Response'
  12994. security:
  12995. - ApiKeyAuth: []
  12996. summary: 获取企业风管期货历史成交单信息
  12997. tags:
  12998. - 企业风险管理(app)
  12999. /Ermcp/QueryErmcpInnerHolderDetails:
  13000. get:
  13001. parameters:
  13002. - description: 资金账户ID
  13003. in: query
  13004. name: accountID
  13005. required: true
  13006. type: integer
  13007. - description: 商品ID
  13008. in: query
  13009. name: goodsID
  13010. type: integer
  13011. - description: 买卖方向,0:买 1:卖
  13012. in: query
  13013. name: buyOrSell
  13014. type: integer
  13015. produces:
  13016. - application/json
  13017. responses:
  13018. "200":
  13019. description: OK
  13020. schema:
  13021. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  13022. "500":
  13023. description: Internal Server Error
  13024. schema:
  13025. $ref: '#/definitions/app.Response'
  13026. security:
  13027. - ApiKeyAuth: []
  13028. summary: 获取企业风管期货内部持仓单信息
  13029. tags:
  13030. - 企业风险管理(app)
  13031. /Ermcp/QueryErmcpOrderDetails:
  13032. get:
  13033. parameters:
  13034. - description: 资金账户ID
  13035. in: query
  13036. name: accountID
  13037. required: true
  13038. type: integer
  13039. produces:
  13040. - application/json
  13041. responses:
  13042. "200":
  13043. description: OK
  13044. schema:
  13045. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13046. "500":
  13047. description: Internal Server Error
  13048. schema:
  13049. $ref: '#/definitions/app.Response'
  13050. security:
  13051. - ApiKeyAuth: []
  13052. summary: 获取企业风管期货委托单信息
  13053. tags:
  13054. - 企业风险管理(app)
  13055. /Ermcp/QueryErmcpTradeDetails:
  13056. get:
  13057. parameters:
  13058. - description: 资金账户ID
  13059. in: query
  13060. name: accountID
  13061. required: true
  13062. type: integer
  13063. - description: 商品ID
  13064. in: query
  13065. name: goodsID
  13066. type: integer
  13067. - description: 买卖方向,0:买 1:卖
  13068. in: query
  13069. name: buyOrSell
  13070. type: integer
  13071. - description: 关联委托单号
  13072. in: query
  13073. name: orderID
  13074. type: integer
  13075. produces:
  13076. - application/json
  13077. responses:
  13078. "200":
  13079. description: OK
  13080. schema:
  13081. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13082. "500":
  13083. description: Internal Server Error
  13084. schema:
  13085. $ref: '#/definitions/app.Response'
  13086. security:
  13087. - ApiKeyAuth: []
  13088. summary: 获取企业风管期货成交单信息
  13089. tags:
  13090. - 企业风险管理(app)
  13091. /Ermcp/QueryErmcpTradePosition:
  13092. get:
  13093. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  13094. parameters:
  13095. - description: 资金账户ID
  13096. in: query
  13097. name: accountID
  13098. required: true
  13099. type: integer
  13100. - description: 所属市场ID
  13101. in: query
  13102. name: marketID
  13103. type: integer
  13104. produces:
  13105. - application/json
  13106. responses:
  13107. "200":
  13108. description: OK
  13109. schema:
  13110. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  13111. "500":
  13112. description: Internal Server Error
  13113. schema:
  13114. $ref: '#/definitions/app.Response'
  13115. security:
  13116. - ApiKeyAuth: []
  13117. summary: 获取企业风管期货持仓头寸信息
  13118. tags:
  13119. - 企业风险管理(app)
  13120. /Ermcp/QueryExposureDetail:
  13121. get:
  13122. parameters:
  13123. - description: 所属机构ID
  13124. in: query
  13125. name: areaUserId
  13126. required: true
  13127. type: integer
  13128. - description: 套保商品
  13129. in: query
  13130. name: middleGoodsId
  13131. required: true
  13132. type: integer
  13133. produces:
  13134. - application/json
  13135. responses:
  13136. "200":
  13137. description: OK
  13138. schema:
  13139. items:
  13140. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  13141. type: array
  13142. "500":
  13143. description: Internal Server Error
  13144. schema:
  13145. $ref: '#/definitions/app.Response'
  13146. security:
  13147. - ApiKeyAuth: []
  13148. summary: 查询敞口现货明细
  13149. tags:
  13150. - 企业风险管理(app)
  13151. /Ermcp/QueryExposureHedgePosition:
  13152. get:
  13153. parameters:
  13154. - description: 所属机构ID
  13155. in: query
  13156. name: areaUserId
  13157. required: true
  13158. type: integer
  13159. produces:
  13160. - application/json
  13161. responses:
  13162. "200":
  13163. description: OK
  13164. schema:
  13165. items:
  13166. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  13167. type: array
  13168. "500":
  13169. description: Internal Server Error
  13170. schema:
  13171. $ref: '#/definitions/app.Response'
  13172. security:
  13173. - ApiKeyAuth: []
  13174. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  13175. tags:
  13176. - 企业风险管理(app)
  13177. /Ermcp/QueryExposureHedgePositionDetail:
  13178. get:
  13179. parameters:
  13180. - description: 所属机构ID
  13181. in: query
  13182. name: areaUserId
  13183. required: true
  13184. type: integer
  13185. - description: 商品id
  13186. in: query
  13187. name: goodsId
  13188. required: true
  13189. type: integer
  13190. produces:
  13191. - application/json
  13192. responses:
  13193. "200":
  13194. description: OK
  13195. schema:
  13196. items:
  13197. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  13198. type: array
  13199. "500":
  13200. description: Internal Server Error
  13201. schema:
  13202. $ref: '#/definitions/app.Response'
  13203. security:
  13204. - ApiKeyAuth: []
  13205. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  13206. tags:
  13207. - 企业风险管理(app)
  13208. /Ermcp/QueryExposureSpot:
  13209. get:
  13210. parameters:
  13211. - description: 所属机构ID
  13212. in: query
  13213. name: areaUserId
  13214. required: true
  13215. type: integer
  13216. produces:
  13217. - application/json
  13218. responses:
  13219. "200":
  13220. description: OK
  13221. schema:
  13222. items:
  13223. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  13224. type: array
  13225. "500":
  13226. description: Internal Server Error
  13227. schema:
  13228. $ref: '#/definitions/app.Response'
  13229. security:
  13230. - ApiKeyAuth: []
  13231. summary: 查询敞口现货头寸(敞口/现货头寸)
  13232. tags:
  13233. - 企业风险管理(app)
  13234. /Ermcp/QueryExposureSpotDetail:
  13235. get:
  13236. parameters:
  13237. - description: 所属机构ID
  13238. in: query
  13239. name: areaUserId
  13240. required: true
  13241. type: integer
  13242. - description: 现货品种ID
  13243. in: query
  13244. name: wrstandardId
  13245. required: true
  13246. type: integer
  13247. produces:
  13248. - application/json
  13249. responses:
  13250. "200":
  13251. description: OK
  13252. schema:
  13253. items:
  13254. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  13255. type: array
  13256. "500":
  13257. description: Internal Server Error
  13258. schema:
  13259. $ref: '#/definitions/app.Response'
  13260. security:
  13261. - ApiKeyAuth: []
  13262. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13263. tags:
  13264. - 企业风险管理(app)
  13265. /Ermcp/QueryFuturesCompany:
  13266. get:
  13267. produces:
  13268. - application/json
  13269. responses:
  13270. "200":
  13271. description: OK
  13272. schema:
  13273. items:
  13274. $ref: '#/definitions/models.ErmcpFuturesCompany'
  13275. type: array
  13276. "500":
  13277. description: Internal Server Error
  13278. schema:
  13279. $ref: '#/definitions/app.Response'
  13280. security:
  13281. - ApiKeyAuth: []
  13282. summary: 查询期货公司
  13283. tags:
  13284. - 企业风险管理(app)
  13285. /Ermcp/QueryGGConvertConfig:
  13286. get:
  13287. parameters:
  13288. - description: 品种id(不填则查所有)
  13289. in: query
  13290. name: goodsgroupid
  13291. type: integer
  13292. produces:
  13293. - application/json
  13294. responses:
  13295. "200":
  13296. description: OK
  13297. schema:
  13298. items:
  13299. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  13300. type: array
  13301. "500":
  13302. description: Internal Server Error
  13303. schema:
  13304. $ref: '#/definitions/app.Response'
  13305. security:
  13306. - ApiKeyAuth: []
  13307. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  13308. tags:
  13309. - 企业风险管理(app)
  13310. /Ermcp/QueryGoodsBrand:
  13311. get:
  13312. parameters:
  13313. - description: 用户ID
  13314. in: query
  13315. name: userid
  13316. required: true
  13317. type: integer
  13318. - description: 现货商品ID
  13319. in: query
  13320. name: wrstandardid
  13321. type: integer
  13322. produces:
  13323. - application/json
  13324. responses:
  13325. "200":
  13326. description: OK
  13327. schema:
  13328. items:
  13329. $ref: '#/definitions/models.ErmcpGoodsBrand'
  13330. type: array
  13331. "500":
  13332. description: Internal Server Error
  13333. schema:
  13334. $ref: '#/definitions/app.Response'
  13335. security:
  13336. - ApiKeyAuth: []
  13337. summary: 查询商品品牌
  13338. tags:
  13339. - 企业风险管理(app)
  13340. /Ermcp/QueryGoodsModel:
  13341. get:
  13342. parameters:
  13343. - description: 用户ID
  13344. in: query
  13345. name: userid
  13346. required: true
  13347. type: integer
  13348. produces:
  13349. - application/json
  13350. responses:
  13351. "200":
  13352. description: OK
  13353. schema:
  13354. items:
  13355. $ref: '#/definitions/models.ErmcpGoodsModel'
  13356. type: array
  13357. "500":
  13358. description: Internal Server Error
  13359. schema:
  13360. $ref: '#/definitions/app.Response'
  13361. security:
  13362. - ApiKeyAuth: []
  13363. summary: 查询商品型号
  13364. tags:
  13365. - 企业风险管理(app)
  13366. /Ermcp/QueryHedgePlan:
  13367. get:
  13368. parameters:
  13369. - description: 用户ID
  13370. in: query
  13371. name: userId
  13372. required: true
  13373. type: integer
  13374. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  13375. in: query
  13376. name: HedgePlanStatus
  13377. required: true
  13378. type: string
  13379. produces:
  13380. - application/json
  13381. responses:
  13382. "200":
  13383. description: OK
  13384. schema:
  13385. items:
  13386. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  13387. type: array
  13388. "500":
  13389. description: Internal Server Error
  13390. schema:
  13391. $ref: '#/definitions/app.Response'
  13392. security:
  13393. - ApiKeyAuth: []
  13394. summary: 查询套保计划
  13395. tags:
  13396. - 企业风险管理(app)
  13397. /Ermcp/QueryHisExposure:
  13398. get:
  13399. parameters:
  13400. - description: 所属机构ID
  13401. in: query
  13402. name: areaUserId
  13403. required: true
  13404. type: integer
  13405. - description: 每个品种记录数
  13406. in: query
  13407. name: lastNum
  13408. required: true
  13409. type: integer
  13410. produces:
  13411. - application/json
  13412. responses:
  13413. "200":
  13414. description: OK
  13415. schema:
  13416. items:
  13417. $ref: '#/definitions/ermcp.HisExposureRsp'
  13418. type: array
  13419. "500":
  13420. description: Internal Server Error
  13421. schema:
  13422. $ref: '#/definitions/app.Response'
  13423. security:
  13424. - ApiKeyAuth: []
  13425. summary: 查询历史敞口(菜单:敞口/历史敞口)
  13426. tags:
  13427. - 企业风险管理(app)
  13428. /Ermcp/QueryMiddleGoods:
  13429. get:
  13430. parameters:
  13431. - description: 所属机构ID
  13432. in: query
  13433. name: userid
  13434. required: true
  13435. type: integer
  13436. - description: 状态 0-停用 1-正常
  13437. in: query
  13438. name: status
  13439. required: true
  13440. type: integer
  13441. produces:
  13442. - application/json
  13443. responses:
  13444. "200":
  13445. description: OK
  13446. schema:
  13447. items:
  13448. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  13449. type: array
  13450. "500":
  13451. description: Internal Server Error
  13452. schema:
  13453. $ref: '#/definitions/app.Response'
  13454. security:
  13455. - ApiKeyAuth: []
  13456. summary: 查询套保品种(菜单:套保品种)
  13457. tags:
  13458. - 企业风险管理(app)
  13459. /Ermcp/QueryMiddleGoodsChangeLog:
  13460. get:
  13461. parameters:
  13462. - description: 所属机构ID
  13463. in: query
  13464. name: userid
  13465. required: true
  13466. type: integer
  13467. - description: 套保品种id
  13468. in: query
  13469. name: middlegoodsid
  13470. required: true
  13471. type: integer
  13472. produces:
  13473. - application/json
  13474. responses:
  13475. "200":
  13476. description: OK
  13477. schema:
  13478. items:
  13479. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  13480. type: array
  13481. "500":
  13482. description: Internal Server Error
  13483. schema:
  13484. $ref: '#/definitions/app.Response'
  13485. security:
  13486. - ApiKeyAuth: []
  13487. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  13488. tags:
  13489. - 企业风险管理(app)
  13490. /Ermcp/QueryMiddleGoodsDetail:
  13491. get:
  13492. parameters:
  13493. - description: 所属机构ID
  13494. in: query
  13495. name: userid
  13496. required: true
  13497. type: integer
  13498. - description: 套保品种id
  13499. in: query
  13500. name: middlegoodsid
  13501. type: integer
  13502. produces:
  13503. - application/json
  13504. responses:
  13505. "200":
  13506. description: OK
  13507. schema:
  13508. items:
  13509. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  13510. type: array
  13511. "500":
  13512. description: Internal Server Error
  13513. schema:
  13514. $ref: '#/definitions/app.Response'
  13515. security:
  13516. - ApiKeyAuth: []
  13517. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  13518. tags:
  13519. - 企业风险管理(app)
  13520. /Ermcp/QueryPendingAuditInfo:
  13521. get:
  13522. parameters:
  13523. - description: 用户ID
  13524. in: query
  13525. name: UserId
  13526. required: true
  13527. type: integer
  13528. produces:
  13529. - application/json
  13530. responses:
  13531. "200":
  13532. description: OK
  13533. schema:
  13534. items:
  13535. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  13536. type: array
  13537. "500":
  13538. description: Internal Server Error
  13539. schema:
  13540. $ref: '#/definitions/app.Response'
  13541. security:
  13542. - ApiKeyAuth: []
  13543. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  13544. tags:
  13545. - 企业风险管理(app)
  13546. /Ermcp/QueryRealtimeExposure:
  13547. get:
  13548. parameters:
  13549. - description: 所属机构ID
  13550. in: query
  13551. name: AreaUserID
  13552. required: true
  13553. type: integer
  13554. produces:
  13555. - application/json
  13556. responses:
  13557. "200":
  13558. description: OK
  13559. schema:
  13560. items:
  13561. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  13562. type: array
  13563. "500":
  13564. description: Internal Server Error
  13565. schema:
  13566. $ref: '#/definitions/app.Response'
  13567. security:
  13568. - ApiKeyAuth: []
  13569. summary: 查询实时敞口
  13570. tags:
  13571. - 企业风险管理(app)
  13572. /Ermcp/QueryRealtimeExposurePosition:
  13573. get:
  13574. parameters:
  13575. - description: 所属机构ID
  13576. in: query
  13577. name: areaUserId
  13578. required: true
  13579. type: integer
  13580. - description: 套保商品ID
  13581. in: query
  13582. name: middleGoodsId
  13583. required: true
  13584. type: integer
  13585. produces:
  13586. - application/json
  13587. responses:
  13588. "200":
  13589. description: OK
  13590. schema:
  13591. items:
  13592. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  13593. type: array
  13594. "500":
  13595. description: Internal Server Error
  13596. schema:
  13597. $ref: '#/definitions/app.Response'
  13598. security:
  13599. - ApiKeyAuth: []
  13600. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  13601. tags:
  13602. - 企业风险管理(app)
  13603. /Ermcp/QuerySpotContract:
  13604. get:
  13605. parameters:
  13606. - description: 用户ID
  13607. in: query
  13608. name: userId
  13609. required: true
  13610. type: integer
  13611. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  13612. in: query
  13613. name: QueryType
  13614. required: true
  13615. type: integer
  13616. produces:
  13617. - application/json
  13618. responses:
  13619. "200":
  13620. description: OK
  13621. schema:
  13622. items:
  13623. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  13624. type: array
  13625. "500":
  13626. description: Internal Server Error
  13627. schema:
  13628. $ref: '#/definitions/app.Response'
  13629. security:
  13630. - ApiKeyAuth: []
  13631. summary: 查询现货合同(对应现货合同菜单)
  13632. tags:
  13633. - 企业风险管理(app)
  13634. /Ermcp/QuerySpotGoodsPrice:
  13635. get:
  13636. parameters:
  13637. - description: 用户ID
  13638. in: query
  13639. name: userid
  13640. required: true
  13641. type: integer
  13642. produces:
  13643. - application/json
  13644. responses:
  13645. "200":
  13646. description: OK
  13647. schema:
  13648. items:
  13649. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  13650. type: array
  13651. "500":
  13652. description: Internal Server Error
  13653. schema:
  13654. $ref: '#/definitions/app.Response'
  13655. security:
  13656. - ApiKeyAuth: []
  13657. summary: 查询现货市价(现货市价)
  13658. tags:
  13659. - 企业风险管理(app)
  13660. /Ermcp/QuerySpotGoodsPriceLog:
  13661. get:
  13662. parameters:
  13663. - description: 用户ID
  13664. in: query
  13665. name: userid
  13666. required: true
  13667. type: integer
  13668. - description: 现货商品ID
  13669. in: query
  13670. name: wrstandardid
  13671. required: true
  13672. type: integer
  13673. produces:
  13674. - application/json
  13675. responses:
  13676. "200":
  13677. description: OK
  13678. schema:
  13679. items:
  13680. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  13681. type: array
  13682. "500":
  13683. description: Internal Server Error
  13684. schema:
  13685. $ref: '#/definitions/app.Response'
  13686. security:
  13687. - ApiKeyAuth: []
  13688. summary: 查询现货市价详情(现货市价/详情)
  13689. tags:
  13690. - 企业风险管理(app)
  13691. /Ermcp/QueryTradeConfigTMP:
  13692. get:
  13693. parameters:
  13694. - description: 所属机构id
  13695. in: query
  13696. name: areauserid
  13697. required: true
  13698. type: integer
  13699. produces:
  13700. - application/json
  13701. responses:
  13702. "200":
  13703. description: OK
  13704. schema:
  13705. items:
  13706. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  13707. type: array
  13708. "500":
  13709. description: Internal Server Error
  13710. schema:
  13711. $ref: '#/definitions/app.Response'
  13712. security:
  13713. - ApiKeyAuth: []
  13714. summary: 查询交易模板配置
  13715. tags:
  13716. - 企业风险管理(app)
  13717. /Ermcp/QueryUserInfo:
  13718. get:
  13719. parameters:
  13720. - description: 所属机构用户ID
  13721. in: query
  13722. name: MemberUserID
  13723. required: true
  13724. type: integer
  13725. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  13726. in: query
  13727. name: queryType
  13728. required: true
  13729. type: integer
  13730. produces:
  13731. - application/json
  13732. responses:
  13733. "200":
  13734. description: OK
  13735. schema:
  13736. items:
  13737. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  13738. type: array
  13739. "500":
  13740. description: Internal Server Error
  13741. schema:
  13742. $ref: '#/definitions/app.Response'
  13743. security:
  13744. - ApiKeyAuth: []
  13745. summary: 查询客户资料
  13746. tags:
  13747. - 企业风险管理(app)
  13748. /Ermcp/QueryWarehouseInfo:
  13749. get:
  13750. parameters:
  13751. - description: 用户ID
  13752. in: query
  13753. name: userid
  13754. required: true
  13755. type: integer
  13756. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  13757. in: query
  13758. name: status
  13759. type: string
  13760. produces:
  13761. - application/json
  13762. responses:
  13763. "200":
  13764. description: OK
  13765. schema:
  13766. items:
  13767. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  13768. type: array
  13769. "500":
  13770. description: Internal Server Error
  13771. schema:
  13772. $ref: '#/definitions/app.Response'
  13773. security:
  13774. - ApiKeyAuth: []
  13775. summary: 查询仓库信息
  13776. tags:
  13777. - 企业风险管理(app)
  13778. /Ermcp/QueryWrStandard:
  13779. get:
  13780. parameters:
  13781. - description: 所属机构ID
  13782. in: query
  13783. name: userid
  13784. required: true
  13785. type: integer
  13786. - description: 状态 0-停用 1-正常
  13787. in: query
  13788. name: status
  13789. required: true
  13790. type: integer
  13791. produces:
  13792. - application/json
  13793. responses:
  13794. "200":
  13795. description: OK
  13796. schema:
  13797. items:
  13798. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  13799. type: array
  13800. "500":
  13801. description: Internal Server Error
  13802. schema:
  13803. $ref: '#/definitions/app.Response'
  13804. security:
  13805. - ApiKeyAuth: []
  13806. summary: 查询现货商品
  13807. tags:
  13808. - 企业风险管理(app)
  13809. /Ermcp/QueryWrStandardDetail:
  13810. get:
  13811. parameters:
  13812. - description: 所属机构ID
  13813. in: query
  13814. name: userid
  13815. required: true
  13816. type: integer
  13817. - description: 现货商品ID
  13818. in: query
  13819. name: wrstandardid
  13820. type: integer
  13821. - description: 可不填, 1-查询关联交易商品
  13822. in: query
  13823. name: goods
  13824. type: integer
  13825. produces:
  13826. - application/json
  13827. responses:
  13828. "200":
  13829. description: OK
  13830. schema:
  13831. items:
  13832. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  13833. type: array
  13834. "500":
  13835. description: Internal Server Error
  13836. schema:
  13837. $ref: '#/definitions/app.Response'
  13838. security:
  13839. - ApiKeyAuth: []
  13840. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  13841. tags:
  13842. - 企业风险管理(app)
  13843. /Ermcp3/QueryDeliveryGoods:
  13844. get:
  13845. parameters:
  13846. - description: 所属机构id
  13847. in: query
  13848. name: areauserid
  13849. required: true
  13850. type: integer
  13851. - description: 排除已配置的现货商品 1-排除
  13852. in: query
  13853. name: excludecfg
  13854. type: integer
  13855. produces:
  13856. - application/json
  13857. responses:
  13858. "200":
  13859. description: OK
  13860. schema:
  13861. items:
  13862. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  13863. type: array
  13864. "500":
  13865. description: Internal Server Error
  13866. schema:
  13867. $ref: '#/definitions/app.Response'
  13868. security:
  13869. - ApiKeyAuth: []
  13870. summary: 查询现货商品
  13871. tags:
  13872. - 企业风险管理v3(app)
  13873. /Ermcp3/QueryDeliveryGoodsDetail:
  13874. get:
  13875. parameters:
  13876. - description: 所属机构id
  13877. in: query
  13878. name: areauserid
  13879. required: true
  13880. type: integer
  13881. - description: 现货商品id
  13882. in: query
  13883. name: deliverygoodsid
  13884. type: integer
  13885. - description: 是否查询关联交易商品 1-查询
  13886. in: query
  13887. name: qrytradegoods
  13888. type: integer
  13889. produces:
  13890. - application/json
  13891. responses:
  13892. "200":
  13893. description: OK
  13894. schema:
  13895. items:
  13896. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail'
  13897. type: array
  13898. "500":
  13899. description: Internal Server Error
  13900. schema:
  13901. $ref: '#/definitions/app.Response'
  13902. security:
  13903. - ApiKeyAuth: []
  13904. summary: 查询现货商品详情
  13905. tags:
  13906. - 企业风险管理v3(app)
  13907. /Ermcp3/QuerySpotContract:
  13908. get:
  13909. parameters:
  13910. - description: 所属机构ID
  13911. in: query
  13912. name: areauserid
  13913. required: true
  13914. type: integer
  13915. - description: 合同类型 1-采购, -1-销售
  13916. in: query
  13917. name: contracttype
  13918. required: true
  13919. type: integer
  13920. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  13921. in: query
  13922. name: querytype
  13923. required: true
  13924. type: integer
  13925. - description: 用户ID
  13926. in: query
  13927. name: userid
  13928. type: integer
  13929. - description: 用户类型 2-机构 7-企业成员
  13930. in: query
  13931. name: usertype
  13932. type: integer
  13933. - description: 合同ID(SpotContractId)
  13934. in: query
  13935. name: contractid
  13936. type: string
  13937. produces:
  13938. - application/json
  13939. responses:
  13940. "200":
  13941. description: OK
  13942. schema:
  13943. items:
  13944. $ref: '#/definitions/models.Ermcp3Contract'
  13945. type: array
  13946. "500":
  13947. description: Internal Server Error
  13948. schema:
  13949. $ref: '#/definitions/app.Response'
  13950. security:
  13951. - ApiKeyAuth: []
  13952. summary: 查询现货合同
  13953. tags:
  13954. - 企业风险管理v3(app)
  13955. /Ermcp3/QuerySpotContractBS:
  13956. get:
  13957. parameters:
  13958. - description: 所属机构ID
  13959. in: query
  13960. name: areauserid
  13961. required: true
  13962. type: integer
  13963. - description: 合同类型 1-采购, -1-销售
  13964. in: query
  13965. name: contracttype
  13966. required: true
  13967. type: integer
  13968. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  13969. in: query
  13970. name: querytype
  13971. required: true
  13972. type: integer
  13973. - description: 用户ID
  13974. in: query
  13975. name: userid
  13976. type: integer
  13977. - description: 用户类型 2-机构 7-企业成员
  13978. in: query
  13979. name: usertype
  13980. type: integer
  13981. - description: 合同ID(SpotContractId)
  13982. in: query
  13983. name: contractid
  13984. type: string
  13985. produces:
  13986. - application/json
  13987. responses:
  13988. "200":
  13989. description: OK
  13990. schema:
  13991. items:
  13992. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  13993. type: array
  13994. "500":
  13995. description: Internal Server Error
  13996. schema:
  13997. $ref: '#/definitions/app.Response'
  13998. security:
  13999. - ApiKeyAuth: []
  14000. summary: 查询合同(采购/销售)
  14001. tags:
  14002. - 企业风险管理v3(app)
  14003. /Erms2/QueryArbitrageStrategy:
  14004. get:
  14005. parameters:
  14006. - description: 账户ID
  14007. in: query
  14008. name: userid
  14009. required: true
  14010. type: integer
  14011. - description: 商品组ID(品种ID)
  14012. in: query
  14013. name: goodsgroupid
  14014. type: string
  14015. produces:
  14016. - application/json
  14017. responses:
  14018. "200":
  14019. description: OK
  14020. schema:
  14021. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  14022. "500":
  14023. description: Internal Server Error
  14024. schema:
  14025. $ref: '#/definitions/app.Response'
  14026. security:
  14027. - ApiKeyAuth: []
  14028. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  14029. tags:
  14030. - 风险管理
  14031. /Erms2/QueryInnerTradeDetail:
  14032. get:
  14033. parameters:
  14034. - description: 资金账户
  14035. in: query
  14036. name: accountid
  14037. required: true
  14038. type: integer
  14039. produces:
  14040. - application/json
  14041. responses:
  14042. "200":
  14043. description: OK
  14044. schema:
  14045. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  14046. "500":
  14047. description: Internal Server Error
  14048. schema:
  14049. $ref: '#/definitions/app.Response'
  14050. security:
  14051. - ApiKeyAuth: []
  14052. summary: 查询内部成交单信息
  14053. tags:
  14054. - 风险管理
  14055. /Erms2/QuerySpotContract:
  14056. get:
  14057. parameters:
  14058. - description: 策略申请ID
  14059. in: query
  14060. name: asapplyid
  14061. required: true
  14062. type: integer
  14063. - description: 现货合同ID
  14064. in: query
  14065. name: spotcontractid
  14066. type: integer
  14067. produces:
  14068. - application/json
  14069. responses:
  14070. "200":
  14071. description: OK
  14072. schema:
  14073. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  14074. "500":
  14075. description: Internal Server Error
  14076. schema:
  14077. $ref: '#/definitions/app.Response'
  14078. security:
  14079. - ApiKeyAuth: []
  14080. summary: 查询现货合同表信息(指定策略ID、未结束的)
  14081. tags:
  14082. - 风险管理
  14083. /Erms3/AddErms2ASApply:
  14084. post:
  14085. parameters:
  14086. - description: 申请参数
  14087. in: body
  14088. name: jsonBody
  14089. required: true
  14090. schema:
  14091. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  14092. produces:
  14093. - application/json
  14094. responses:
  14095. "200":
  14096. description: OK
  14097. schema:
  14098. $ref: '#/definitions/app.Response'
  14099. "500":
  14100. description: Internal Server Error
  14101. schema:
  14102. $ref: '#/definitions/app.Response'
  14103. security:
  14104. - ApiKeyAuth: []
  14105. summary: 新增期现套利业务申请
  14106. tags:
  14107. - 风险管理v3
  14108. /Erms3/AddErms2SpotTradeApply:
  14109. post:
  14110. parameters:
  14111. - description: 申请参数
  14112. in: body
  14113. name: jsonBody
  14114. required: true
  14115. schema:
  14116. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  14117. produces:
  14118. - application/json
  14119. responses:
  14120. "200":
  14121. description: OK
  14122. schema:
  14123. $ref: '#/definitions/app.Response'
  14124. "500":
  14125. description: Internal Server Error
  14126. schema:
  14127. $ref: '#/definitions/app.Response'
  14128. security:
  14129. - ApiKeyAuth: []
  14130. summary: 新增现货贸易业务申请
  14131. tags:
  14132. - 风险管理v3
  14133. /Erms3/AddSpotContractApply:
  14134. post:
  14135. parameters:
  14136. - description: 申请参数
  14137. in: body
  14138. name: jsonBody
  14139. required: true
  14140. schema:
  14141. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  14142. produces:
  14143. - application/json
  14144. responses:
  14145. "200":
  14146. description: OK
  14147. schema:
  14148. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  14149. "500":
  14150. description: Internal Server Error
  14151. schema:
  14152. $ref: '#/definitions/app.Response'
  14153. security:
  14154. - ApiKeyAuth: []
  14155. summary: 新增现货合同申请
  14156. tags:
  14157. - 风险管理v3
  14158. /Erms3/AddUserInfoApply:
  14159. post:
  14160. parameters:
  14161. - description: 用户信息
  14162. in: body
  14163. name: jsonBody
  14164. required: true
  14165. schema:
  14166. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  14167. produces:
  14168. - application/json
  14169. responses:
  14170. "200":
  14171. description: OK
  14172. schema:
  14173. $ref: '#/definitions/app.Response'
  14174. "500":
  14175. description: Internal Server Error
  14176. schema:
  14177. $ref: '#/definitions/app.Response'
  14178. security:
  14179. - ApiKeyAuth: []
  14180. summary: 新增客户申请
  14181. tags:
  14182. - 风险管理v3
  14183. /Erms3/ModifyUserInfoApply:
  14184. post:
  14185. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  14186. int, "userstate": 2 }'
  14187. parameters:
  14188. - description: 用户信息
  14189. in: body
  14190. name: jsonBody
  14191. required: true
  14192. schema:
  14193. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  14194. produces:
  14195. - application/json
  14196. responses:
  14197. "200":
  14198. description: OK
  14199. schema:
  14200. $ref: '#/definitions/app.Response'
  14201. "500":
  14202. description: Internal Server Error
  14203. schema:
  14204. $ref: '#/definitions/app.Response'
  14205. security:
  14206. - ApiKeyAuth: []
  14207. summary: 修改客户申请
  14208. tags:
  14209. - 风险管理v3
  14210. /Erms3/QueryBusinessInfo:
  14211. get:
  14212. parameters:
  14213. - description: 资金账号ID列表,用逗号分隔
  14214. in: query
  14215. name: accountids
  14216. required: true
  14217. type: string
  14218. - description: 状态,0为未结束 1为已结束
  14219. in: query
  14220. name: status
  14221. required: true
  14222. type: integer
  14223. produces:
  14224. - application/json
  14225. responses:
  14226. "200":
  14227. description: OK
  14228. schema:
  14229. items:
  14230. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  14231. type: array
  14232. "500":
  14233. description: Internal Server Error
  14234. schema:
  14235. $ref: '#/definitions/app.Response'
  14236. security:
  14237. - ApiKeyAuth: []
  14238. summary: 查询业务表单数据
  14239. tags:
  14240. - 风险管理v3
  14241. /Erms3/QueryPendingAuditContract:
  14242. get:
  14243. parameters:
  14244. - description: 资金账号ID列表,逗号隔开
  14245. in: query
  14246. name: accountids
  14247. required: true
  14248. type: string
  14249. - description: 合同类型 1-采购 -1-销售
  14250. in: query
  14251. name: contracttype
  14252. required: true
  14253. type: integer
  14254. - description: 合同模式 1-普通 2-回购
  14255. in: query
  14256. name: contractmode
  14257. required: true
  14258. type: integer
  14259. produces:
  14260. - application/json
  14261. responses:
  14262. "200":
  14263. description: OK
  14264. schema:
  14265. items:
  14266. $ref: '#/definitions/erms3.QryAuditContractRsp'
  14267. type: array
  14268. "500":
  14269. description: Internal Server Error
  14270. schema:
  14271. $ref: '#/definitions/app.Response'
  14272. security:
  14273. - ApiKeyAuth: []
  14274. summary: 查询待审核合同
  14275. tags:
  14276. - 风险管理v3
  14277. /Erms3/QueryPendingBusiness:
  14278. get:
  14279. parameters:
  14280. - description: 资金账号ID列表,逗号隔开
  14281. in: query
  14282. name: accountids
  14283. required: true
  14284. type: string
  14285. produces:
  14286. - application/json
  14287. responses:
  14288. "200":
  14289. description: OK
  14290. schema:
  14291. items:
  14292. $ref: '#/definitions/erms3.QryPendingBizRsp'
  14293. type: array
  14294. "500":
  14295. description: Internal Server Error
  14296. schema:
  14297. $ref: '#/definitions/app.Response'
  14298. security:
  14299. - ApiKeyAuth: []
  14300. summary: 查询待审核基差贸易业务
  14301. tags:
  14302. - 风险管理v3
  14303. /Erms3/QuerySpotContractAppleForm:
  14304. get:
  14305. parameters:
  14306. - description: 登录账号
  14307. in: query
  14308. name: loginID
  14309. required: true
  14310. type: integer
  14311. produces:
  14312. - application/json
  14313. responses:
  14314. "200":
  14315. description: OK
  14316. schema:
  14317. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  14318. "500":
  14319. description: Internal Server Error
  14320. schema:
  14321. $ref: '#/definitions/app.Response'
  14322. security:
  14323. - ApiKeyAuth: []
  14324. summary: 查询合同申请表单数据
  14325. tags:
  14326. - 风险管理v3
  14327. /Erms3/QuerySpotContractDetail:
  14328. get:
  14329. parameters:
  14330. - description: 资金账号ID列表,用逗号分隔
  14331. in: query
  14332. name: accountids
  14333. required: true
  14334. type: string
  14335. - description: 合同类型,1为采购合同 -1为销售合同
  14336. in: query
  14337. name: contracttype
  14338. required: true
  14339. type: integer
  14340. - description: 合同模式,1为普通合同 2为回购销售合同
  14341. in: query
  14342. name: contractmode
  14343. required: true
  14344. type: integer
  14345. - description: 状态,0为履约中 1为已完成
  14346. in: query
  14347. name: status
  14348. required: true
  14349. type: integer
  14350. produces:
  14351. - application/json
  14352. responses:
  14353. "200":
  14354. description: OK
  14355. schema:
  14356. items:
  14357. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  14358. type: array
  14359. "500":
  14360. description: Internal Server Error
  14361. schema:
  14362. $ref: '#/definitions/app.Response'
  14363. security:
  14364. - ApiKeyAuth: []
  14365. summary: 查询合同详细信息
  14366. tags:
  14367. - 风险管理v3
  14368. /Erms3/QueryUserInfoApplies:
  14369. get:
  14370. parameters:
  14371. - description: 页码
  14372. in: query
  14373. name: page
  14374. type: integer
  14375. - description: 每页条数
  14376. in: query
  14377. name: pagesize
  14378. type: integer
  14379. - description: 客户名称,支持模糊查询
  14380. in: query
  14381. name: userName
  14382. type: string
  14383. produces:
  14384. - application/json
  14385. responses:
  14386. "200":
  14387. description: OK
  14388. schema:
  14389. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  14390. "500":
  14391. description: Internal Server Error
  14392. schema:
  14393. $ref: '#/definitions/app.Response'
  14394. security:
  14395. - ApiKeyAuth: []
  14396. summary: 客户申请信息查询
  14397. tags:
  14398. - 风险管理v3
  14399. /Erms3/QueryUserInfos:
  14400. get:
  14401. parameters:
  14402. - description: 页码
  14403. in: query
  14404. name: page
  14405. type: integer
  14406. - description: 每页条数
  14407. in: query
  14408. name: pagesize
  14409. type: integer
  14410. - description: 客户名称,支持模糊查询
  14411. in: query
  14412. name: userName
  14413. type: string
  14414. produces:
  14415. - application/json
  14416. responses:
  14417. "200":
  14418. description: OK
  14419. schema:
  14420. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  14421. "500":
  14422. description: Internal Server Error
  14423. schema:
  14424. $ref: '#/definitions/app.Response'
  14425. security:
  14426. - ApiKeyAuth: []
  14427. summary: 客户信息查询
  14428. tags:
  14429. - 风险管理v3
  14430. /HSBY/GetHsbyMyCount:
  14431. get:
  14432. description: 说明: 不包括已完成的数量。
  14433. parameters:
  14434. - description: 资金账户列表,格式:1,2,3
  14435. in: query
  14436. name: accountIDs
  14437. required: true
  14438. type: string
  14439. produces:
  14440. - application/json
  14441. responses:
  14442. "200":
  14443. description: OK
  14444. schema:
  14445. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  14446. "500":
  14447. description: Internal Server Error
  14448. schema:
  14449. $ref: '#/definitions/app.Response'
  14450. security:
  14451. - ApiKeyAuth: []
  14452. summary: 获取我的订单与包裹数量
  14453. tags:
  14454. - 定制【海商报业】
  14455. /HSBY/QueryClientFixedADConfigs:
  14456. get:
  14457. produces:
  14458. - application/json
  14459. responses:
  14460. "200":
  14461. description: OK
  14462. schema:
  14463. $ref: '#/definitions/models.Clientfixedadconfig'
  14464. "500":
  14465. description: Internal Server Error
  14466. schema:
  14467. $ref: '#/definitions/app.Response'
  14468. security:
  14469. - ApiKeyAuth: []
  14470. summary: 获取终端固定广告配置
  14471. tags:
  14472. - 定制【海商报业】
  14473. /HSBY/QueryHsbyBuyMyTradeDetail:
  14474. get:
  14475. parameters:
  14476. - description: 页码
  14477. in: query
  14478. name: page
  14479. type: integer
  14480. - description: 每页条数
  14481. in: query
  14482. name: pagesize
  14483. type: integer
  14484. - description: 资金账户列表,格式:1,2,3
  14485. in: query
  14486. name: accountIDs
  14487. required: true
  14488. type: string
  14489. produces:
  14490. - application/json
  14491. responses:
  14492. "200":
  14493. description: OK
  14494. schema:
  14495. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  14496. "500":
  14497. description: Internal Server Error
  14498. schema:
  14499. $ref: '#/definitions/app.Response'
  14500. security:
  14501. - ApiKeyAuth: []
  14502. summary: 查询"我的订单 - 已完成"单据信息
  14503. tags:
  14504. - 定制【海商报业】
  14505. /HSBY/QueryHsbyGoodsOrderDetails:
  14506. get:
  14507. description: 说明:查询结果已按委托价格和委托时间排序
  14508. parameters:
  14509. - description: 商品ID
  14510. in: query
  14511. name: goodsID
  14512. required: true
  14513. type: integer
  14514. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  14515. in: query
  14516. name: accountIDs
  14517. type: string
  14518. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  14519. in: query
  14520. name: buyOrSell
  14521. type: integer
  14522. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  14523. in: query
  14524. name: price
  14525. type: number
  14526. - description: 档位,不传则默认为3档
  14527. in: query
  14528. name: speed
  14529. type: integer
  14530. produces:
  14531. - application/json
  14532. responses:
  14533. "200":
  14534. description: OK
  14535. schema:
  14536. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  14537. "500":
  14538. description: Internal Server Error
  14539. schema:
  14540. $ref: '#/definitions/app.Response'
  14541. security:
  14542. - ApiKeyAuth: []
  14543. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  14544. tags:
  14545. - 定制【海商报业】
  14546. /HSBY/QueryHsbyListingGoodsDetail:
  14547. get:
  14548. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  14549. parameters:
  14550. - description: 商品ID
  14551. in: query
  14552. name: goodsID
  14553. required: true
  14554. type: integer
  14555. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  14556. in: query
  14557. name: accountID
  14558. type: integer
  14559. produces:
  14560. - application/json
  14561. responses:
  14562. "200":
  14563. description: OK
  14564. schema:
  14565. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  14566. "500":
  14567. description: Internal Server Error
  14568. schema:
  14569. $ref: '#/definitions/app.Response'
  14570. security:
  14571. - ApiKeyAuth: []
  14572. summary: 查询二级市场(挂牌点选)商品信息详情
  14573. tags:
  14574. - 定制【海商报业】
  14575. /HSBY/QueryHsbyMarketGoodsDetail:
  14576. get:
  14577. parameters:
  14578. - description: 委托单号
  14579. in: query
  14580. name: orderID
  14581. required: true
  14582. type: integer
  14583. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  14584. in: query
  14585. name: accountID
  14586. type: integer
  14587. produces:
  14588. - application/json
  14589. responses:
  14590. "200":
  14591. description: OK
  14592. schema:
  14593. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  14594. "500":
  14595. description: Internal Server Error
  14596. schema:
  14597. $ref: '#/definitions/app.Response'
  14598. security:
  14599. - ApiKeyAuth: []
  14600. summary: 查询三级市场(商城)商品信息详情
  14601. tags:
  14602. - 定制【海商报业】
  14603. /HSBY/QueryHsbyMarketGoodses:
  14604. get:
  14605. parameters:
  14606. - description: 页码
  14607. in: query
  14608. name: page
  14609. type: integer
  14610. - description: 每页条数
  14611. in: query
  14612. name: pagesize
  14613. type: integer
  14614. - description: 市场ID列表,格式:1,2,3
  14615. in: query
  14616. name: marketIDs
  14617. required: true
  14618. type: string
  14619. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  14620. in: query
  14621. name: accountID
  14622. required: true
  14623. type: integer
  14624. - description: 类别ID
  14625. in: query
  14626. name: categoryID
  14627. type: integer
  14628. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  14629. in: query
  14630. name: goodsIDs
  14631. type: string
  14632. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  14633. in: query
  14634. name: couponTypeID
  14635. type: integer
  14636. produces:
  14637. - application/json
  14638. responses:
  14639. "200":
  14640. description: OK
  14641. schema:
  14642. $ref: '#/definitions/models.HsbyMarketGoods'
  14643. "500":
  14644. description: Internal Server Error
  14645. schema:
  14646. $ref: '#/definitions/app.Response'
  14647. security:
  14648. - ApiKeyAuth: []
  14649. summary: 查询特卖商品列表(三级商城)
  14650. tags:
  14651. - 定制【海商报业】
  14652. /HSBY/QueryHsbyMarkets:
  14653. get:
  14654. produces:
  14655. - application/json
  14656. responses:
  14657. "200":
  14658. description: OK
  14659. schema:
  14660. $ref: '#/definitions/models.HsbyMarketInfo'
  14661. "500":
  14662. description: Internal Server Error
  14663. schema:
  14664. $ref: '#/definitions/app.Response'
  14665. security:
  14666. - ApiKeyAuth: []
  14667. summary: 查询海商报业相关市场信息
  14668. tags:
  14669. - 定制【海商报业】
  14670. /HSBY/QueryHsbyMyBuyOrderDetails:
  14671. get:
  14672. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  14673. parameters:
  14674. - description: 资金账户列表,格式:1,2,3
  14675. in: query
  14676. name: accountIDs
  14677. required: true
  14678. type: string
  14679. produces:
  14680. - application/json
  14681. responses:
  14682. "200":
  14683. description: OK
  14684. schema:
  14685. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  14686. "500":
  14687. description: Internal Server Error
  14688. schema:
  14689. $ref: '#/definitions/app.Response'
  14690. security:
  14691. - ApiKeyAuth: []
  14692. summary: 查询“我的订单”信息
  14693. tags:
  14694. - 定制【海商报业】
  14695. /HSBY/QueryHsbyMyGoods:
  14696. get:
  14697. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  14698. parameters:
  14699. - description: 资金账户列表,格式:1,2,3
  14700. in: query
  14701. name: accountIDs
  14702. required: true
  14703. type: string
  14704. produces:
  14705. - application/json
  14706. responses:
  14707. "200":
  14708. description: OK
  14709. schema:
  14710. $ref: '#/definitions/models.HsbyMyGoods'
  14711. "500":
  14712. description: Internal Server Error
  14713. schema:
  14714. $ref: '#/definitions/app.Response'
  14715. security:
  14716. - ApiKeyAuth: []
  14717. summary: 查询“我的商品”信息
  14718. tags:
  14719. - 定制【海商报业】
  14720. /HSBY/QueryHsbyMyPackages:
  14721. get:
  14722. parameters:
  14723. - description: 资金账户列表,格式:1,2,3
  14724. in: query
  14725. name: accountIDs
  14726. required: true
  14727. type: string
  14728. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  14729. in: query
  14730. name: takeOrderStatus
  14731. type: integer
  14732. produces:
  14733. - application/json
  14734. responses:
  14735. "200":
  14736. description: OK
  14737. schema:
  14738. $ref: '#/definitions/models.HsbyMyPackage'
  14739. "500":
  14740. description: Internal Server Error
  14741. schema:
  14742. $ref: '#/definitions/app.Response'
  14743. security:
  14744. - ApiKeyAuth: []
  14745. summary: 查询我的包裹信息
  14746. tags:
  14747. - 定制【海商报业】
  14748. /HSBY/QueryHsbyPreGoodsDetail:
  14749. get:
  14750. parameters:
  14751. - description: 商品ID
  14752. in: query
  14753. name: goodsID
  14754. required: true
  14755. type: integer
  14756. - description: 资金账户,主要用于获取预售商品购买上限
  14757. in: query
  14758. name: accountID
  14759. type: integer
  14760. produces:
  14761. - application/json
  14762. responses:
  14763. "200":
  14764. description: OK
  14765. schema:
  14766. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  14767. "500":
  14768. description: Internal Server Error
  14769. schema:
  14770. $ref: '#/definitions/app.Response'
  14771. security:
  14772. - ApiKeyAuth: []
  14773. summary: 查询一级市场(预售)商品信息详情
  14774. tags:
  14775. - 定制【海商报业】
  14776. /HSBY/QueryHsbyPreGoodses:
  14777. get:
  14778. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  14779. parameters:
  14780. - description: 页码
  14781. in: query
  14782. name: page
  14783. type: integer
  14784. - description: 每页条数
  14785. in: query
  14786. name: pagesize
  14787. type: integer
  14788. - description: 市场ID列表,格式:1,2,3
  14789. in: query
  14790. name: marketIDs
  14791. required: true
  14792. type: string
  14793. - description: 目的地(省)ID
  14794. in: query
  14795. name: descProvinceID
  14796. type: integer
  14797. - description: 目的地(市)ID
  14798. in: query
  14799. name: descCityID
  14800. type: integer
  14801. produces:
  14802. - application/json
  14803. responses:
  14804. "200":
  14805. description: OK
  14806. schema:
  14807. $ref: '#/definitions/models.HsbyPreGoods'
  14808. "500":
  14809. description: Internal Server Error
  14810. schema:
  14811. $ref: '#/definitions/app.Response'
  14812. security:
  14813. - ApiKeyAuth: []
  14814. summary: 查询新品上市商品列表(一级市场预售)
  14815. tags:
  14816. - 定制【海商报业】
  14817. /HSBY/QueryHsbySellMyDetails:
  14818. get:
  14819. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  14820. parameters:
  14821. - description: 页码
  14822. in: query
  14823. name: page
  14824. type: integer
  14825. - description: 每页条数
  14826. in: query
  14827. name: pagesize
  14828. type: integer
  14829. - description: 资金账户列表,格式:1,2,3
  14830. in: query
  14831. name: accountIDs
  14832. required: true
  14833. type: string
  14834. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  14835. in: query
  14836. name: orderType
  14837. type: integer
  14838. produces:
  14839. - application/json
  14840. responses:
  14841. "200":
  14842. description: OK
  14843. schema:
  14844. $ref: '#/definitions/models.HsbySellMyDetail'
  14845. "500":
  14846. description: Internal Server Error
  14847. schema:
  14848. $ref: '#/definitions/app.Response'
  14849. security:
  14850. - ApiKeyAuth: []
  14851. summary: 查询"我的闲置"单据信息
  14852. tags:
  14853. - 定制【海商报业】
  14854. /HSBY/QueryHsbyTopGoodses:
  14855. get:
  14856. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  14857. parameters:
  14858. - description: 页码
  14859. in: query
  14860. name: page
  14861. type: integer
  14862. - description: 每页条数
  14863. in: query
  14864. name: pagesize
  14865. type: integer
  14866. - description: 市场ID列表,格式:1,2,3
  14867. in: query
  14868. name: marketIDs
  14869. required: true
  14870. type: string
  14871. - description: 目的地(省)ID
  14872. in: query
  14873. name: descProvinceID
  14874. type: integer
  14875. - description: 目的地(市)ID
  14876. in: query
  14877. name: descCityID
  14878. type: integer
  14879. produces:
  14880. - application/json
  14881. responses:
  14882. "200":
  14883. description: OK
  14884. schema:
  14885. $ref: '#/definitions/models.HsbyTopGoods'
  14886. "500":
  14887. description: Internal Server Error
  14888. schema:
  14889. $ref: '#/definitions/app.Response'
  14890. security:
  14891. - ApiKeyAuth: []
  14892. summary: 查询热卖商品列表(二级市场挂牌点选)
  14893. tags:
  14894. - 定制【海商报业】
  14895. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  14896. get:
  14897. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  14898. parameters:
  14899. - description: 商品ID
  14900. in: query
  14901. name: goodsID
  14902. required: true
  14903. type: integer
  14904. produces:
  14905. - application/json
  14906. responses:
  14907. "200":
  14908. description: OK
  14909. schema:
  14910. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  14911. "500":
  14912. description: Internal Server Error
  14913. schema:
  14914. $ref: '#/definitions/app.Response'
  14915. security:
  14916. - ApiKeyAuth: []
  14917. summary: 查询游客三级市场(商城)商品信息详情
  14918. tags:
  14919. - 定制【海商报业】
  14920. /HSBY/QueryHsbyVisitorMarketGoodses:
  14921. get:
  14922. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  14923. parameters:
  14924. - description: 页码
  14925. in: query
  14926. name: page
  14927. type: integer
  14928. - description: 每页条数
  14929. in: query
  14930. name: pagesize
  14931. type: integer
  14932. - description: 市场ID列表,格式:1,2,3
  14933. in: query
  14934. name: marketIDs
  14935. required: true
  14936. type: string
  14937. - description: 类别ID
  14938. in: query
  14939. name: categoryID
  14940. type: integer
  14941. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  14942. in: query
  14943. name: goodsIDs
  14944. type: string
  14945. produces:
  14946. - application/json
  14947. responses:
  14948. "200":
  14949. description: OK
  14950. schema:
  14951. $ref: '#/definitions/models.HsbyMarketGoods'
  14952. "500":
  14953. description: Internal Server Error
  14954. schema:
  14955. $ref: '#/definitions/app.Response'
  14956. security:
  14957. - ApiKeyAuth: []
  14958. summary: 查询游客特卖商品列表(三级商城)
  14959. tags:
  14960. - 定制【海商报业】
  14961. /HSBY/QueryMyCollectionOrders:
  14962. get:
  14963. parameters:
  14964. - description: 页码
  14965. in: query
  14966. name: page
  14967. type: integer
  14968. - description: 每页条数
  14969. in: query
  14970. name: pagesize
  14971. type: integer
  14972. - description: 资金账户,格式:1,2,3
  14973. in: query
  14974. name: accountIDs
  14975. required: true
  14976. type: string
  14977. produces:
  14978. - application/json
  14979. responses:
  14980. "200":
  14981. description: OK
  14982. schema:
  14983. $ref: '#/definitions/models.HsbySellCollectionOrder'
  14984. "500":
  14985. description: Internal Server Error
  14986. schema:
  14987. $ref: '#/definitions/app.Response'
  14988. security:
  14989. - ApiKeyAuth: []
  14990. summary: 我的闲置中收款信息查询
  14991. tags:
  14992. - 定制【海商报业】
  14993. /HSBY/QueryMyCouponHolds:
  14994. get:
  14995. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  14996. parameters:
  14997. - description: 资金账户列表,格式:1,2,3
  14998. in: query
  14999. name: accountIDs
  15000. required: true
  15001. type: string
  15002. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  15003. in: query
  15004. name: holdStatus
  15005. type: string
  15006. produces:
  15007. - application/json
  15008. responses:
  15009. "200":
  15010. description: OK
  15011. schema:
  15012. $ref: '#/definitions/models.MyCouponHold'
  15013. "500":
  15014. description: Internal Server Error
  15015. schema:
  15016. $ref: '#/definitions/app.Response'
  15017. security:
  15018. - ApiKeyAuth: []
  15019. summary: 我的优惠卷持仓查询
  15020. tags:
  15021. - 定制【海商报业】
  15022. /HSBY/QueryMyCoupons:
  15023. get:
  15024. parameters:
  15025. - description: 资金账户列表,格式:1,2,3
  15026. in: query
  15027. name: accountIDs
  15028. required: true
  15029. type: string
  15030. - description: 商品ID, 一般与sellUserID配套传入
  15031. in: query
  15032. name: goodsID
  15033. type: integer
  15034. - description: 卖方UserID
  15035. in: query
  15036. name: sellUserID
  15037. type: integer
  15038. produces:
  15039. - application/json
  15040. responses:
  15041. "200":
  15042. description: OK
  15043. schema:
  15044. $ref: '#/definitions/models.MyCoupon'
  15045. "500":
  15046. description: Internal Server Error
  15047. schema:
  15048. $ref: '#/definitions/app.Response'
  15049. security:
  15050. - ApiKeyAuth: []
  15051. summary: 我的优惠卷查询
  15052. tags:
  15053. - 定制【海商报业】
  15054. /HSBY/QueryMyPayOrders:
  15055. get:
  15056. parameters:
  15057. - description: 页码
  15058. in: query
  15059. name: page
  15060. type: integer
  15061. - description: 每页条数
  15062. in: query
  15063. name: pagesize
  15064. type: integer
  15065. - description: 资金账户列表,格式:1,2,3
  15066. in: query
  15067. name: accountIDs
  15068. required: true
  15069. type: string
  15070. - description: 买方委托单号
  15071. in: query
  15072. name: buyOrderID
  15073. type: integer
  15074. - description: 卖方委托单号
  15075. in: query
  15076. name: sellOrderID
  15077. type: integer
  15078. produces:
  15079. - application/json
  15080. responses:
  15081. "200":
  15082. description: OK
  15083. schema:
  15084. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  15085. "500":
  15086. description: Internal Server Error
  15087. schema:
  15088. $ref: '#/definitions/app.Response'
  15089. security:
  15090. - ApiKeyAuth: []
  15091. summary: 获取我的订单中待付款信息
  15092. tags:
  15093. - 定制【海商报业】
  15094. /HSBY/QueryMyUsedCoupon:
  15095. get:
  15096. parameters:
  15097. - description: 资金账户列表,格式:1,2,3
  15098. in: query
  15099. name: accountIDs
  15100. required: true
  15101. type: string
  15102. produces:
  15103. - application/json
  15104. responses:
  15105. "200":
  15106. description: OK
  15107. schema:
  15108. $ref: '#/definitions/models.MyUsedCoupon'
  15109. "500":
  15110. description: Internal Server Error
  15111. schema:
  15112. $ref: '#/definitions/app.Response'
  15113. security:
  15114. - ApiKeyAuth: []
  15115. summary: 已使用优惠卷查询
  15116. tags:
  15117. - 定制【海商报业】
  15118. /HSBY/QueryProvincesAndCities:
  15119. get:
  15120. description: 查询结果只包括二级市场商品已关连的省市信息。
  15121. parameters:
  15122. - description: 省ID
  15123. in: query
  15124. name: provinceID
  15125. type: integer
  15126. produces:
  15127. - application/json
  15128. responses:
  15129. "200":
  15130. description: OK
  15131. schema:
  15132. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  15133. "500":
  15134. description: Internal Server Error
  15135. schema:
  15136. $ref: '#/definitions/app.Response'
  15137. security:
  15138. - ApiKeyAuth: []
  15139. summary: 查询省市信息(不包括区)
  15140. tags:
  15141. - 定制【海商报业】
  15142. /HSBY/SetHsbyMyPackagesStatus:
  15143. post:
  15144. parameters:
  15145. - description: 提货单号
  15146. in: query
  15147. name: takeOrderID
  15148. required: true
  15149. type: string
  15150. - description: 资金账号
  15151. in: query
  15152. name: accountID
  15153. required: true
  15154. type: integer
  15155. produces:
  15156. - application/json
  15157. responses:
  15158. "200":
  15159. description: OK
  15160. schema:
  15161. $ref: '#/definitions/app.Response'
  15162. "500":
  15163. description: Internal Server Error
  15164. schema:
  15165. $ref: '#/definitions/app.Response'
  15166. security:
  15167. - ApiKeyAuth: []
  15168. summary: 设置我的包裹已收货状态
  15169. tags:
  15170. - 定制【海商报业】
  15171. /Market/QueryGoodsesByLoginID:
  15172. get:
  15173. parameters:
  15174. - description: 登录账号
  15175. in: query
  15176. name: loginID
  15177. required: true
  15178. type: integer
  15179. - description: 市场ID列表,格式:1,2,3
  15180. in: query
  15181. name: marketIDs
  15182. type: string
  15183. produces:
  15184. - application/json
  15185. responses:
  15186. "200":
  15187. description: OK
  15188. schema:
  15189. $ref: '#/definitions/models.Goods'
  15190. "500":
  15191. description: Internal Server Error
  15192. schema:
  15193. $ref: '#/definitions/app.Response'
  15194. security:
  15195. - ApiKeyAuth: []
  15196. summary: 获取登录账号有权限的商品信息
  15197. tags:
  15198. - 通用市场
  15199. /Market/QueryMarketRun:
  15200. get:
  15201. parameters:
  15202. - description: 市场ID,不传返回所有
  15203. in: query
  15204. name: marketID
  15205. type: integer
  15206. produces:
  15207. - application/json
  15208. responses:
  15209. "200":
  15210. description: OK
  15211. schema:
  15212. $ref: '#/definitions/models.Marketrun'
  15213. "500":
  15214. description: Internal Server Error
  15215. schema:
  15216. $ref: '#/definitions/app.Response'
  15217. security:
  15218. - ApiKeyAuth: []
  15219. summary: 查询市场运行信息
  15220. tags:
  15221. - 通用市场
  15222. /Market/QueryMarketsByLoginID:
  15223. get:
  15224. parameters:
  15225. - description: 登录账号
  15226. in: query
  15227. name: loginID
  15228. required: true
  15229. type: integer
  15230. produces:
  15231. - application/json
  15232. responses:
  15233. "200":
  15234. description: OK
  15235. schema:
  15236. $ref: '#/definitions/models.Market'
  15237. "500":
  15238. description: Internal Server Error
  15239. schema:
  15240. $ref: '#/definitions/app.Response'
  15241. security:
  15242. - ApiKeyAuth: []
  15243. summary: 获取登录账号有权限的市场信息
  15244. tags:
  15245. - 通用市场
  15246. /Order/QueryHisTradeDetail:
  15247. get:
  15248. parameters:
  15249. - description: 资金账户 - 格式:1,2,3
  15250. in: query
  15251. name: accountID
  15252. required: true
  15253. type: string
  15254. - description: 成交单号
  15255. in: query
  15256. name: tradeID
  15257. type: integer
  15258. - description: 委托单号
  15259. in: query
  15260. name: orderID
  15261. type: integer
  15262. - description: 交易模式 - 格式:1,2,3
  15263. in: query
  15264. name: tradeMode
  15265. type: string
  15266. - description: 委托单据类型
  15267. in: query
  15268. name: buildType
  15269. type: integer
  15270. - description: 成交类别 - 格式:1,2,3
  15271. in: query
  15272. name: tradeType
  15273. type: string
  15274. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15275. in: query
  15276. name: startDate
  15277. type: string
  15278. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15279. in: query
  15280. name: endDate
  15281. type: string
  15282. produces:
  15283. - application/json
  15284. responses:
  15285. "200":
  15286. description: OK
  15287. schema:
  15288. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  15289. "500":
  15290. description: Internal Server Error
  15291. schema:
  15292. $ref: '#/definitions/app.Response'
  15293. security:
  15294. - ApiKeyAuth: []
  15295. summary: 历史成交单查询(合约市场)
  15296. tags:
  15297. - 通用单据
  15298. /Order/QueryHisTradeOrderDetail:
  15299. get:
  15300. parameters:
  15301. - description: 资金账户 - 格式:1,2,3
  15302. in: query
  15303. name: accountID
  15304. required: true
  15305. type: string
  15306. - description: 交易模式 - 格式:1,2,3
  15307. in: query
  15308. name: tradeMode
  15309. type: string
  15310. - description: 委托状态 - 格式:1,2,3
  15311. in: query
  15312. name: orderStatus
  15313. type: string
  15314. - description: 委托单号
  15315. in: query
  15316. name: orderID
  15317. type: integer
  15318. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15319. in: query
  15320. name: startDate
  15321. type: string
  15322. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15323. in: query
  15324. name: endDate
  15325. type: string
  15326. produces:
  15327. - application/json
  15328. responses:
  15329. "200":
  15330. description: OK
  15331. schema:
  15332. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  15333. "500":
  15334. description: Internal Server Error
  15335. schema:
  15336. $ref: '#/definitions/app.Response'
  15337. security:
  15338. - ApiKeyAuth: []
  15339. summary: 历史委托单查询请求(合约市场)
  15340. tags:
  15341. - 通用单据
  15342. /Order/QueryTradeDetail:
  15343. get:
  15344. parameters:
  15345. - description: 资金账户 - 格式:1,2,3
  15346. in: query
  15347. name: accountID
  15348. required: true
  15349. type: string
  15350. - description: 成交单号
  15351. in: query
  15352. name: tradeID
  15353. type: integer
  15354. - description: 委托单号
  15355. in: query
  15356. name: orderID
  15357. type: integer
  15358. - description: 交易模式 - 格式:1,2,3
  15359. in: query
  15360. name: tradeMode
  15361. type: string
  15362. - description: 委托单据类型
  15363. in: query
  15364. name: buildType
  15365. type: integer
  15366. - description: 成交类别 - 格式:1,2,3
  15367. in: query
  15368. name: tradeType
  15369. type: string
  15370. produces:
  15371. - application/json
  15372. responses:
  15373. "200":
  15374. description: OK
  15375. schema:
  15376. $ref: '#/definitions/order.QueryTradeDetailRsp'
  15377. "500":
  15378. description: Internal Server Error
  15379. schema:
  15380. $ref: '#/definitions/app.Response'
  15381. security:
  15382. - ApiKeyAuth: []
  15383. summary: 成交单查询(合约市场)
  15384. tags:
  15385. - 通用单据
  15386. /Order/QueryTradeOrderDetail:
  15387. get:
  15388. parameters:
  15389. - description: 资金账户 - 格式:1,2,3
  15390. in: query
  15391. name: accountID
  15392. required: true
  15393. type: string
  15394. - description: 交易模式 - 格式:1,2,3
  15395. in: query
  15396. name: tradeMode
  15397. type: string
  15398. - description: 委托状态 - 格式:1,2,3
  15399. in: query
  15400. name: orderStatus
  15401. type: string
  15402. - description: 委托单号
  15403. in: query
  15404. name: orderID
  15405. type: integer
  15406. produces:
  15407. - application/json
  15408. responses:
  15409. "200":
  15410. description: OK
  15411. schema:
  15412. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  15413. "500":
  15414. description: Internal Server Error
  15415. schema:
  15416. $ref: '#/definitions/app.Response'
  15417. security:
  15418. - ApiKeyAuth: []
  15419. summary: 委托单查询请求(合约市场)
  15420. tags:
  15421. - 通用单据
  15422. /Order/QueryTradePosition:
  15423. get:
  15424. parameters:
  15425. - description: 资金账户 - 格式:1,2,3
  15426. in: query
  15427. name: accountID
  15428. required: true
  15429. type: string
  15430. - description: 交易模式 - 格式:1,2,3
  15431. in: query
  15432. name: tradeMode
  15433. type: string
  15434. produces:
  15435. - application/json
  15436. responses:
  15437. "200":
  15438. description: OK
  15439. schema:
  15440. $ref: '#/definitions/order.QueryTradePositionRsp'
  15441. "500":
  15442. description: Internal Server Error
  15443. schema:
  15444. $ref: '#/definitions/app.Response'
  15445. security:
  15446. - ApiKeyAuth: []
  15447. summary: 持仓汇总查询(合约市场)
  15448. tags:
  15449. - 通用单据
  15450. /Quote/QueryHistoryDatas:
  15451. get:
  15452. parameters:
  15453. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  15454. 日线'
  15455. in: query
  15456. name: cycleType
  15457. required: true
  15458. type: integer
  15459. - description: 商品代码
  15460. in: query
  15461. name: goodsCode
  15462. required: true
  15463. type: string
  15464. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15465. in: query
  15466. name: startTime
  15467. type: string
  15468. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15469. in: query
  15470. name: endTime
  15471. type: string
  15472. - description: 条数
  15473. in: query
  15474. name: count
  15475. type: integer
  15476. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15477. in: query
  15478. name: isAsc
  15479. type: boolean
  15480. produces:
  15481. - application/json
  15482. responses:
  15483. "200":
  15484. description: OK
  15485. schema:
  15486. $ref: '#/definitions/quote.HistoryData'
  15487. "500":
  15488. description: Internal Server Error
  15489. schema:
  15490. $ref: '#/definitions/app.Response'
  15491. security:
  15492. - ApiKeyAuth: []
  15493. summary: 查询行情历史数据
  15494. tags:
  15495. - 行情服务
  15496. /Quote/QueryHistoryTikDatas:
  15497. get:
  15498. parameters:
  15499. - description: 商品代码
  15500. in: query
  15501. name: goodsCode
  15502. required: true
  15503. type: string
  15504. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15505. in: query
  15506. name: startTime
  15507. type: string
  15508. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15509. in: query
  15510. name: endTime
  15511. type: string
  15512. - description: 条数
  15513. in: query
  15514. name: count
  15515. type: integer
  15516. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15517. in: query
  15518. name: isAsc
  15519. type: boolean
  15520. produces:
  15521. - application/json
  15522. responses:
  15523. "200":
  15524. description: OK
  15525. schema:
  15526. $ref: '#/definitions/quote.HistoryTikData'
  15527. "500":
  15528. description: Internal Server Error
  15529. schema:
  15530. $ref: '#/definitions/app.Response'
  15531. security:
  15532. - ApiKeyAuth: []
  15533. summary: 查询行情Tik数据
  15534. tags:
  15535. - 行情服务
  15536. /Quote/QueryQuoteDay:
  15537. get:
  15538. parameters:
  15539. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  15540. in: query
  15541. name: goodsCodes
  15542. required: true
  15543. type: string
  15544. produces:
  15545. - application/json
  15546. responses:
  15547. "200":
  15548. description: OK
  15549. schema:
  15550. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  15551. "500":
  15552. description: Internal Server Error
  15553. schema:
  15554. $ref: '#/definitions/app.Response'
  15555. security:
  15556. - ApiKeyAuth: []
  15557. summary: 获取商品盘面信息
  15558. tags:
  15559. - 行情服务
  15560. /Quote/QueryTSData:
  15561. get:
  15562. parameters:
  15563. - description: 商品代码
  15564. in: query
  15565. name: goodsCode
  15566. required: true
  15567. type: string
  15568. produces:
  15569. - application/json
  15570. responses:
  15571. "200":
  15572. description: OK
  15573. schema:
  15574. $ref: '#/definitions/quote.QueryTSDataRsp'
  15575. "500":
  15576. description: Internal Server Error
  15577. schema:
  15578. $ref: '#/definitions/app.Response'
  15579. security:
  15580. - ApiKeyAuth: []
  15581. summary: 分时图数据查询
  15582. tags:
  15583. - 行情服务
  15584. /SZDZ/QueryConvertConfig:
  15585. get:
  15586. parameters:
  15587. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15588. 6:交易转花生米(不设置)
  15589. in: query
  15590. name: convertType
  15591. type: integer
  15592. - description: 外部商品代码[JD\PD]
  15593. in: query
  15594. name: outerGoodsCode
  15595. type: string
  15596. - description: 内部商品ID列表[交易],格式:1,2,3
  15597. in: query
  15598. name: innerGoodsIDs
  15599. type: string
  15600. produces:
  15601. - application/json
  15602. responses:
  15603. "200":
  15604. description: OK
  15605. schema:
  15606. $ref: '#/definitions/models.Szdz3convertconfig'
  15607. "500":
  15608. description: Internal Server Error
  15609. schema:
  15610. $ref: '#/definitions/app.Response'
  15611. security:
  15612. - ApiKeyAuth: []
  15613. summary: 查询交易系统转换设置
  15614. tags:
  15615. - 定制【尚志大宗】
  15616. /SZDZ/QueryConvertLog:
  15617. get:
  15618. parameters:
  15619. - description: 资金账户 - 格式:1,2,3
  15620. in: query
  15621. name: accountID
  15622. required: true
  15623. type: string
  15624. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15625. in: query
  15626. name: startDate
  15627. type: string
  15628. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15629. in: query
  15630. name: endDate
  15631. type: string
  15632. produces:
  15633. - application/json
  15634. responses:
  15635. "200":
  15636. description: OK
  15637. schema:
  15638. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  15639. "500":
  15640. description: Internal Server Error
  15641. schema:
  15642. $ref: '#/definitions/app.Response'
  15643. security:
  15644. - ApiKeyAuth: []
  15645. summary: 交易系统转换流水查询
  15646. tags:
  15647. - 定制【尚志大宗】
  15648. /SZDZ/QueryGoodsPickup:
  15649. get:
  15650. parameters:
  15651. - description: 资金账户 - 格式:1,2,3
  15652. in: query
  15653. name: accountID
  15654. required: true
  15655. type: string
  15656. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15657. in: query
  15658. name: takeOrderStatus
  15659. type: integer
  15660. produces:
  15661. - application/json
  15662. responses:
  15663. "200":
  15664. description: OK
  15665. schema:
  15666. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  15667. "500":
  15668. description: Internal Server Error
  15669. schema:
  15670. $ref: '#/definitions/app.Response'
  15671. security:
  15672. - ApiKeyAuth: []
  15673. summary: 商品提货单查询
  15674. tags:
  15675. - 定制【尚志大宗】
  15676. /SZDZ/QueryRecieptOrder:
  15677. get:
  15678. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  15679. parameters:
  15680. - description: 页码
  15681. in: query
  15682. name: page
  15683. type: integer
  15684. - description: 每页条数
  15685. in: query
  15686. name: pagesize
  15687. type: integer
  15688. - description: 商品ID
  15689. in: query
  15690. name: goodsID
  15691. required: true
  15692. type: integer
  15693. - description: 所属账户名称
  15694. in: query
  15695. name: accountName
  15696. type: string
  15697. - description: 市场ID
  15698. in: query
  15699. name: marketID
  15700. type: integer
  15701. - description: 方向 - 0:买 1:卖
  15702. in: query
  15703. name: buyorsell
  15704. required: true
  15705. type: integer
  15706. produces:
  15707. - application/json
  15708. responses:
  15709. "200":
  15710. description: OK
  15711. schema:
  15712. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  15713. "500":
  15714. description: Internal Server Error
  15715. schema:
  15716. $ref: '#/definitions/app.Response'
  15717. security:
  15718. - ApiKeyAuth: []
  15719. summary: 点选挂牌委托单据查询(摘牌大厅)
  15720. tags:
  15721. - 定制【尚志大宗】
  15722. /SZDZ/QuerySZDZTradePosition:
  15723. get:
  15724. parameters:
  15725. - description: 资金账户
  15726. in: query
  15727. name: accountID
  15728. required: true
  15729. type: integer
  15730. produces:
  15731. - application/json
  15732. responses:
  15733. "200":
  15734. description: OK
  15735. schema:
  15736. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  15737. "500":
  15738. description: Internal Server Error
  15739. schema:
  15740. $ref: '#/definitions/app.Response'
  15741. security:
  15742. - ApiKeyAuth: []
  15743. summary: 持仓汇总查询(尚志大宗)
  15744. tags:
  15745. - 定制【尚志大宗】
  15746. /SZDZ/SearchWhite:
  15747. get:
  15748. parameters:
  15749. - description: 用户ID
  15750. in: query
  15751. name: userID
  15752. required: true
  15753. type: integer
  15754. produces:
  15755. - application/json
  15756. responses:
  15757. "200":
  15758. description: OK
  15759. schema:
  15760. $ref: '#/definitions/models.Szdz3searchwhitelist'
  15761. "500":
  15762. description: Internal Server Error
  15763. schema:
  15764. $ref: '#/definitions/app.Response'
  15765. security:
  15766. - ApiKeyAuth: []
  15767. summary: 搜索白名单
  15768. tags:
  15769. - 定制【尚志大宗】
  15770. /Search/SearchGoodses:
  15771. get:
  15772. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  15773. parameters:
  15774. - description: 检索内容
  15775. in: query
  15776. name: content
  15777. required: true
  15778. type: string
  15779. - description: 交易模式,格式:1,2,3
  15780. in: query
  15781. name: tradeModes
  15782. type: string
  15783. produces:
  15784. - application/json
  15785. responses:
  15786. "200":
  15787. description: OK
  15788. schema:
  15789. $ref: '#/definitions/models.SearchGoods'
  15790. "500":
  15791. description: Internal Server Error
  15792. schema:
  15793. $ref: '#/definitions/app.Response'
  15794. summary: 检索商品信息
  15795. tags:
  15796. - 检索服务
  15797. /TaAccount/GetTaAccounts:
  15798. get:
  15799. parameters:
  15800. - description: 登录账户
  15801. in: query
  15802. name: loginID
  15803. required: true
  15804. type: integer
  15805. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15806. in: query
  15807. name: taAccountType
  15808. type: integer
  15809. produces:
  15810. - application/json
  15811. responses:
  15812. "200":
  15813. description: OK
  15814. schema:
  15815. $ref: '#/definitions/models.Taaccount'
  15816. "500":
  15817. description: Internal Server Error
  15818. schema:
  15819. $ref: '#/definitions/app.Response'
  15820. security:
  15821. - ApiKeyAuth: []
  15822. summary: 获取资金账户信息
  15823. tags:
  15824. - 资金账户
  15825. /TaAccount/QueryAmountLog:
  15826. get:
  15827. parameters:
  15828. - description: 页码
  15829. in: query
  15830. name: page
  15831. type: integer
  15832. - description: 每页条数
  15833. in: query
  15834. name: pagesize
  15835. type: integer
  15836. - description: 资金账户 - 格式:1,2,3
  15837. in: query
  15838. name: accountID
  15839. required: true
  15840. type: string
  15841. - description: 资金操作类型 - 格式:1,2,3
  15842. in: query
  15843. name: OperateType
  15844. type: string
  15845. produces:
  15846. - application/json
  15847. responses:
  15848. "200":
  15849. description: OK
  15850. schema:
  15851. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  15852. "500":
  15853. description: Internal Server Error
  15854. schema:
  15855. $ref: '#/definitions/app.Response'
  15856. security:
  15857. - ApiKeyAuth: []
  15858. summary: 资金流水查询(当前)
  15859. tags:
  15860. - 资金账户
  15861. /TaAccount/QueryHisAmountLog:
  15862. get:
  15863. parameters:
  15864. - description: 页码
  15865. in: query
  15866. name: page
  15867. type: integer
  15868. - description: 每页条数
  15869. in: query
  15870. name: pagesize
  15871. type: integer
  15872. - description: 资金账户 - 格式:1,2,3
  15873. in: query
  15874. name: accountID
  15875. required: true
  15876. type: string
  15877. - description: 资金操作类型 - 格式:1,2,3
  15878. in: query
  15879. name: OperateType
  15880. type: string
  15881. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15882. in: query
  15883. name: startDate
  15884. type: string
  15885. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15886. in: query
  15887. name: endDate
  15888. type: string
  15889. produces:
  15890. - application/json
  15891. responses:
  15892. "200":
  15893. description: OK
  15894. schema:
  15895. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  15896. "500":
  15897. description: Internal Server Error
  15898. schema:
  15899. $ref: '#/definitions/app.Response'
  15900. security:
  15901. - ApiKeyAuth: []
  15902. summary: 资金流水查询(历史)
  15903. tags:
  15904. - 资金账户
  15905. /Trade/QueryRecieptOrder:
  15906. get:
  15907. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  15908. parameters:
  15909. - description: 页码
  15910. in: query
  15911. name: page
  15912. type: integer
  15913. - description: 每页条数
  15914. in: query
  15915. name: pagesize
  15916. type: integer
  15917. - description: 商品ID
  15918. in: query
  15919. name: goodsID
  15920. required: true
  15921. type: integer
  15922. - description: 所属账户名称
  15923. in: query
  15924. name: accountName
  15925. type: string
  15926. - description: 市场ID
  15927. in: query
  15928. name: marketID
  15929. type: integer
  15930. - description: 方向 - 0:买 1:卖
  15931. in: query
  15932. name: buyorsell
  15933. required: true
  15934. type: integer
  15935. produces:
  15936. - application/json
  15937. responses:
  15938. "200":
  15939. description: OK
  15940. schema:
  15941. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  15942. "500":
  15943. description: Internal Server Error
  15944. schema:
  15945. $ref: '#/definitions/app.Response'
  15946. security:
  15947. - ApiKeyAuth: []
  15948. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  15949. tags:
  15950. - 通用交易
  15951. /User/AddMessageBoard:
  15952. post:
  15953. parameters:
  15954. - description: 用户ID
  15955. in: query
  15956. name: userID
  15957. required: true
  15958. type: integer
  15959. - description: 留言信息
  15960. in: query
  15961. name: message
  15962. required: true
  15963. type: string
  15964. - description: 联系电话
  15965. in: query
  15966. name: contactNum
  15967. required: true
  15968. type: string
  15969. produces:
  15970. - application/json
  15971. responses:
  15972. "200":
  15973. description: OK
  15974. schema:
  15975. $ref: '#/definitions/app.Response'
  15976. "500":
  15977. description: Internal Server Error
  15978. schema:
  15979. $ref: '#/definitions/app.Response'
  15980. security:
  15981. - ApiKeyAuth: []
  15982. summary: 添加用户留言板信息
  15983. tags:
  15984. - 用户信息
  15985. /User/AddUserFavoriteGoods:
  15986. post:
  15987. parameters:
  15988. - description: 用户ID
  15989. in: query
  15990. name: userID
  15991. required: true
  15992. type: integer
  15993. - description: 商品ID
  15994. in: query
  15995. name: goodsID
  15996. required: true
  15997. type: integer
  15998. produces:
  15999. - application/json
  16000. responses:
  16001. "200":
  16002. description: OK
  16003. schema:
  16004. $ref: '#/definitions/app.Response'
  16005. "500":
  16006. description: Internal Server Error
  16007. schema:
  16008. $ref: '#/definitions/app.Response'
  16009. security:
  16010. - ApiKeyAuth: []
  16011. summary: 添加用户商品收藏信息
  16012. tags:
  16013. - 用户信息
  16014. /User/GetLoginID:
  16015. get:
  16016. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  16017. parameters:
  16018. - description: 登录代码
  16019. in: query
  16020. name: username
  16021. required: true
  16022. type: string
  16023. produces:
  16024. - application/json
  16025. responses:
  16026. "200":
  16027. description: OK
  16028. schema:
  16029. $ref: '#/definitions/app.Response'
  16030. "500":
  16031. description: Internal Server Error
  16032. schema:
  16033. $ref: '#/definitions/app.Response'
  16034. summary: 获取登录ID
  16035. tags:
  16036. - 用户信息
  16037. /User/GetUserAccount:
  16038. get:
  16039. parameters:
  16040. - description: 用户ID
  16041. in: query
  16042. name: userID
  16043. required: true
  16044. type: integer
  16045. produces:
  16046. - application/json
  16047. responses:
  16048. "200":
  16049. description: OK
  16050. schema:
  16051. $ref: '#/definitions/models.Useraccount'
  16052. "500":
  16053. description: Internal Server Error
  16054. schema:
  16055. $ref: '#/definitions/app.Response'
  16056. security:
  16057. - ApiKeyAuth: []
  16058. summary: 获取用户账号信息
  16059. tags:
  16060. - 用户信息
  16061. /User/GetUserAuthStatus:
  16062. get:
  16063. parameters:
  16064. - description: 用户ID
  16065. in: query
  16066. name: userID
  16067. required: true
  16068. type: integer
  16069. produces:
  16070. - application/json
  16071. responses:
  16072. "200":
  16073. description: OK
  16074. schema:
  16075. $ref: '#/definitions/app.Response'
  16076. "500":
  16077. description: Internal Server Error
  16078. schema:
  16079. $ref: '#/definitions/app.Response'
  16080. security:
  16081. - ApiKeyAuth: []
  16082. summary: 获取用户实名认证状态
  16083. tags:
  16084. - 用户信息
  16085. /User/LoginQuery:
  16086. get:
  16087. parameters:
  16088. - description: 登录账号
  16089. in: query
  16090. name: loginID
  16091. required: true
  16092. type: integer
  16093. produces:
  16094. - application/json
  16095. responses:
  16096. "200":
  16097. description: OK
  16098. schema:
  16099. $ref: '#/definitions/user.LoginQueryRsp'
  16100. "500":
  16101. description: Internal Server Error
  16102. schema:
  16103. $ref: '#/definitions/app.Response'
  16104. security:
  16105. - ApiKeyAuth: []
  16106. summary: 账户登录后信息查询
  16107. tags:
  16108. - 用户信息
  16109. /User/QueryMessageBoard:
  16110. get:
  16111. parameters:
  16112. - description: 用户ID
  16113. in: query
  16114. name: userID
  16115. required: true
  16116. type: integer
  16117. produces:
  16118. - application/json
  16119. responses:
  16120. "200":
  16121. description: OK
  16122. schema:
  16123. $ref: '#/definitions/models.Messageboard'
  16124. "500":
  16125. description: Internal Server Error
  16126. schema:
  16127. $ref: '#/definitions/app.Response'
  16128. security:
  16129. - ApiKeyAuth: []
  16130. summary: 获取用户留言板信息
  16131. tags:
  16132. - 用户信息
  16133. /User/QueryUserFavoriteGoodses:
  16134. get:
  16135. parameters:
  16136. - description: 用户ID
  16137. in: query
  16138. name: userID
  16139. required: true
  16140. type: integer
  16141. produces:
  16142. - application/json
  16143. responses:
  16144. "200":
  16145. description: OK
  16146. schema:
  16147. $ref: '#/definitions/models.Userfavoritegoods'
  16148. "500":
  16149. description: Internal Server Error
  16150. schema:
  16151. $ref: '#/definitions/app.Response'
  16152. security:
  16153. - ApiKeyAuth: []
  16154. summary: 获取用户商品收藏信息
  16155. tags:
  16156. - 用户信息
  16157. /User/QueryUserInfo:
  16158. get:
  16159. parameters:
  16160. - description: 用户ID
  16161. in: query
  16162. name: userID
  16163. required: true
  16164. type: integer
  16165. - description: 是否解密
  16166. in: query
  16167. name: isDecrypt
  16168. type: boolean
  16169. produces:
  16170. - application/json
  16171. responses:
  16172. "200":
  16173. description: OK
  16174. schema:
  16175. $ref: '#/definitions/models.Userinfo'
  16176. "500":
  16177. description: Internal Server Error
  16178. schema:
  16179. $ref: '#/definitions/app.Response'
  16180. security:
  16181. - ApiKeyAuth: []
  16182. summary: 获取用户信息
  16183. tags:
  16184. - 用户信息
  16185. /User/QueryUserReferNum:
  16186. get:
  16187. parameters:
  16188. - description: 用户ID
  16189. in: query
  16190. name: userID
  16191. required: true
  16192. type: integer
  16193. produces:
  16194. - application/json
  16195. responses:
  16196. "200":
  16197. description: OK
  16198. schema:
  16199. $ref: '#/definitions/app.Response'
  16200. "500":
  16201. description: Internal Server Error
  16202. schema:
  16203. $ref: '#/definitions/app.Response'
  16204. summary: 获取用户邀请码
  16205. tags:
  16206. - 用户信息
  16207. /User/RemoveUserFavoriteGoods:
  16208. post:
  16209. parameters:
  16210. - description: 用户ID
  16211. in: query
  16212. name: userID
  16213. required: true
  16214. type: integer
  16215. - description: 商品ID
  16216. in: query
  16217. name: goodsID
  16218. required: true
  16219. type: integer
  16220. produces:
  16221. - application/json
  16222. responses:
  16223. "200":
  16224. description: OK
  16225. schema:
  16226. $ref: '#/definitions/app.Response'
  16227. "500":
  16228. description: Internal Server Error
  16229. schema:
  16230. $ref: '#/definitions/app.Response'
  16231. security:
  16232. - ApiKeyAuth: []
  16233. summary: 移除用户商品收藏信息
  16234. tags:
  16235. - 用户信息
  16236. /User/UpdateUserAccountStatus:
  16237. post:
  16238. parameters:
  16239. - description: 用户ID
  16240. in: query
  16241. name: userID
  16242. required: true
  16243. type: integer
  16244. - description: 账户状态 - 4:正常 6:注销(停用)
  16245. in: query
  16246. name: accountStatus
  16247. required: true
  16248. type: integer
  16249. produces:
  16250. - application/json
  16251. responses:
  16252. "200":
  16253. description: OK
  16254. schema:
  16255. $ref: '#/definitions/app.Response'
  16256. "500":
  16257. description: Internal Server Error
  16258. schema:
  16259. $ref: '#/definitions/app.Response'
  16260. security:
  16261. - ApiKeyAuth: []
  16262. summary: 更新用户状态
  16263. tags:
  16264. - 用户信息
  16265. /WRTrade/GetAllDeliveryGoods:
  16266. get:
  16267. produces:
  16268. - application/json
  16269. - application/json
  16270. responses:
  16271. "200":
  16272. description: OK
  16273. schema:
  16274. $ref: '#/definitions/app.Response'
  16275. "500":
  16276. description: Internal Server Error
  16277. schema:
  16278. $ref: '#/definitions/app.Response'
  16279. security:
  16280. - ApiKeyAuth: []
  16281. - ApiKeyAuth: []
  16282. summary: 获取带仓单分类的种类信息
  16283. tags:
  16284. - 仓单贸易
  16285. - 仓单贸易
  16286. securityDefinitions:
  16287. ApiKeyAuth:
  16288. in: header
  16289. name: Authorization
  16290. type: apiKey
  16291. swagger: "2.0"