swagger.yaml 504 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAreaStockApplyRsp:
  935. $ref: '#/definitions/models.ErmcpAreaStockApply'
  936. ermcp.QryAvalidGPRsp:
  937. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  938. ermcp.QryBusinessDjRsp:
  939. properties:
  940. amount:
  941. description: 点价金额=(点价价格+升贴水)*点价数量
  942. type: number
  943. applyid:
  944. description: 申请人
  945. type: string
  946. applyname:
  947. description: 申请人名称
  948. type: string
  949. applystatus:
  950. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  951. type: integer
  952. applytime:
  953. description: 申请时间
  954. type: string
  955. attachurl:
  956. description: 附件
  957. type: string
  958. auditid:
  959. description: 审核人ID
  960. type: string
  961. auditname:
  962. description: 审核人名称
  963. type: string
  964. audittime:
  965. description: 审核时间
  966. type: string
  967. buyusername:
  968. description: 采购方名称
  969. type: string
  970. contractno:
  971. description: 合同编号
  972. type: string
  973. contractstatus:
  974. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  975. type: integer
  976. contracttype:
  977. description: 现货合同类型 - 1:采购 -1:销售
  978. type: integer
  979. deliverygoodscode:
  980. description: 现货品种代码
  981. type: string
  982. deliverygoodsid:
  983. description: 现货商品ID
  984. type: integer
  985. deliverygoodsname:
  986. description: 现货品种名称
  987. type: string
  988. enumdicname:
  989. description: 单位名称
  990. type: string
  991. goodscode:
  992. description: 点价合约
  993. type: string
  994. goodsname:
  995. description: 商品名称
  996. type: string
  997. operateapplyid:
  998. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  999. type: string
  1000. operateapplytype:
  1001. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1002. type: integer
  1003. pricedPrice:
  1004. description: 点价价格(非必填)
  1005. type: number
  1006. pricedQty:
  1007. description: 点价数量(非必填)
  1008. type: number
  1009. pricemove:
  1010. description: 升贴水
  1011. type: number
  1012. pricetype:
  1013. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1014. type: integer
  1015. relatedid:
  1016. description: 现货合同ID
  1017. type: string
  1018. sellusername:
  1019. description: 销售方名字
  1020. type: string
  1021. userid:
  1022. description: 用户ID
  1023. type: integer
  1024. wrstandardcode:
  1025. description: 品类代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 品类id
  1029. type: integer
  1030. wrstandardname:
  1031. description: 品类名称
  1032. type: string
  1033. type: object
  1034. ermcp.QryBussinessFpRsp:
  1035. properties:
  1036. applyid:
  1037. description: 申请人
  1038. type: string
  1039. applyname:
  1040. description: 申请人名称
  1041. type: string
  1042. applystatus:
  1043. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1044. type: integer
  1045. applytime:
  1046. description: 申请时间
  1047. type: string
  1048. attachurl:
  1049. description: 附件
  1050. type: string
  1051. auditid:
  1052. description: 审核人ID
  1053. type: string
  1054. auditname:
  1055. description: 审核人名称
  1056. type: string
  1057. audittime:
  1058. description: 审核时间
  1059. type: string
  1060. buyusername:
  1061. description: 采购方名称
  1062. type: string
  1063. contractno:
  1064. description: 合同编号
  1065. type: string
  1066. contractstatus:
  1067. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1068. type: integer
  1069. contracttype:
  1070. description: 现货合同类型 - 1:采购 -1:销售
  1071. type: integer
  1072. deliverygoodscode:
  1073. description: 现货品种代码
  1074. type: string
  1075. deliverygoodsid:
  1076. description: 现货商品ID
  1077. type: integer
  1078. deliverygoodsname:
  1079. description: 现货品种名称
  1080. type: string
  1081. enumdicname:
  1082. description: 单位名称
  1083. type: string
  1084. goodscode:
  1085. description: 点价合约
  1086. type: string
  1087. goodsname:
  1088. description: 商品名称
  1089. type: string
  1090. invoiceAmount:
  1091. description: 已开收票金额(销售为开票,采购为收票)
  1092. type: number
  1093. operateapplyid:
  1094. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1095. type: string
  1096. operateapplytype:
  1097. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1098. type: integer
  1099. pricemove:
  1100. description: 升贴水
  1101. type: number
  1102. pricetype:
  1103. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1104. type: integer
  1105. relatedid:
  1106. description: 现货合同ID
  1107. type: string
  1108. sellusername:
  1109. description: 销售方名字
  1110. type: string
  1111. userid:
  1112. description: 用户ID
  1113. type: integer
  1114. wrstandardcode:
  1115. description: 品类代码
  1116. type: string
  1117. wrstandardid:
  1118. description: 品类id
  1119. type: integer
  1120. wrstandardname:
  1121. description: 品类名称
  1122. type: string
  1123. type: object
  1124. ermcp.QryBussinessJsExRsp:
  1125. properties:
  1126. applyid:
  1127. description: 申请人
  1128. type: string
  1129. applyname:
  1130. description: 申请人名称
  1131. type: string
  1132. applystatus:
  1133. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1134. type: integer
  1135. applytime:
  1136. description: 申请时间
  1137. type: string
  1138. attachurl:
  1139. description: 附件
  1140. type: string
  1141. auditid:
  1142. description: 审核人ID
  1143. type: string
  1144. auditname:
  1145. description: 审核人名称
  1146. type: string
  1147. audittime:
  1148. description: 审核时间
  1149. type: string
  1150. buyusername:
  1151. description: 采购方名称
  1152. type: string
  1153. contractno:
  1154. description: 合同编号
  1155. type: string
  1156. contractstatus:
  1157. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1158. type: integer
  1159. contracttype:
  1160. description: 现货合同类型 - 1:采购 -1:销售
  1161. type: integer
  1162. deliverygoodscode:
  1163. description: 现货品种代码
  1164. type: string
  1165. deliverygoodsid:
  1166. description: 现货商品ID
  1167. type: integer
  1168. deliverygoodsname:
  1169. description: 现货品种名称
  1170. type: string
  1171. enumdicname:
  1172. description: 单位名称
  1173. type: string
  1174. goodscode:
  1175. description: 点价合约
  1176. type: string
  1177. goodsname:
  1178. description: 商品名称
  1179. type: string
  1180. operateapplyid:
  1181. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1182. type: string
  1183. operateapplytype:
  1184. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1185. type: integer
  1186. pricemove:
  1187. description: 升贴水
  1188. type: number
  1189. pricetype:
  1190. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1191. type: integer
  1192. reckontype:
  1193. description: 结算类型
  1194. type: string
  1195. reckonvalue:
  1196. description: 值
  1197. type: number
  1198. relatedid:
  1199. description: 现货合同ID
  1200. type: string
  1201. sellusername:
  1202. description: 销售方名字
  1203. type: string
  1204. userid:
  1205. description: 用户ID
  1206. type: integer
  1207. wrstandardcode:
  1208. description: 品类代码
  1209. type: string
  1210. wrstandardid:
  1211. description: 品类id
  1212. type: integer
  1213. wrstandardname:
  1214. description: 品类名称
  1215. type: string
  1216. type: object
  1217. ermcp.QryBussinessJsRsp:
  1218. properties:
  1219. addmargin:
  1220. description: 追加保证金(非必填)
  1221. type: number
  1222. applyid:
  1223. description: 申请人
  1224. type: string
  1225. applyname:
  1226. description: 申请人名称
  1227. type: string
  1228. applystatus:
  1229. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1230. type: integer
  1231. applytime:
  1232. description: 申请时间
  1233. type: string
  1234. attachurl:
  1235. description: 附件
  1236. type: string
  1237. auditid:
  1238. description: 审核人ID
  1239. type: string
  1240. auditname:
  1241. description: 审核人名称
  1242. type: string
  1243. audittime:
  1244. description: 审核时间
  1245. type: string
  1246. buyusername:
  1247. description: 采购方名称
  1248. type: string
  1249. contractno:
  1250. description: 合同编号
  1251. type: string
  1252. contractstatus:
  1253. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1254. type: integer
  1255. contracttype:
  1256. description: 现货合同类型 - 1:采购 -1:销售
  1257. type: integer
  1258. decmargin:
  1259. description: 减少保证金(非必填)
  1260. type: number
  1261. deliverygoodscode:
  1262. description: 现货品种代码
  1263. type: string
  1264. deliverygoodsid:
  1265. description: 现货商品ID
  1266. type: integer
  1267. deliverygoodsname:
  1268. description: 现货品种名称
  1269. type: string
  1270. enumdicname:
  1271. description: 单位名称
  1272. type: string
  1273. goodscode:
  1274. description: 点价合约
  1275. type: string
  1276. goodsname:
  1277. description: 商品名称
  1278. type: string
  1279. operateapplyid:
  1280. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1281. type: string
  1282. operateapplytype:
  1283. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1284. type: integer
  1285. pricemove:
  1286. description: 升贴水
  1287. type: number
  1288. pricetype:
  1289. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1290. type: integer
  1291. reckonadjustamount:
  1292. description: 结算调整金额(非必填)
  1293. type: number
  1294. reckonosamount:
  1295. description: 结算溢短金额(非必填)
  1296. type: number
  1297. reckonotheramount:
  1298. description: 结算其他费用(非必填)
  1299. type: number
  1300. reckonrealqty:
  1301. description: 结算实际数量(非必填)
  1302. type: number
  1303. relatedid:
  1304. description: 现货合同ID
  1305. type: string
  1306. sellusername:
  1307. description: 销售方名字
  1308. type: string
  1309. userid:
  1310. description: 用户ID
  1311. type: integer
  1312. wrstandardcode:
  1313. description: 品类代码
  1314. type: string
  1315. wrstandardid:
  1316. description: 品类id
  1317. type: integer
  1318. wrstandardname:
  1319. description: 品类名称
  1320. type: string
  1321. type: object
  1322. ermcp.QryBussinessKxRsp:
  1323. properties:
  1324. applyid:
  1325. description: 申请人
  1326. type: string
  1327. applyname:
  1328. description: 申请人名称
  1329. type: string
  1330. applystatus:
  1331. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1332. type: integer
  1333. applytime:
  1334. description: 申请时间
  1335. type: string
  1336. attachurl:
  1337. description: 附件
  1338. type: string
  1339. auditid:
  1340. description: 审核人ID
  1341. type: string
  1342. auditname:
  1343. description: 审核人名称
  1344. type: string
  1345. audittime:
  1346. description: 审核时间
  1347. type: string
  1348. buyusername:
  1349. description: 采购方名称
  1350. type: string
  1351. contractno:
  1352. description: 合同编号
  1353. type: string
  1354. contractstatus:
  1355. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1356. type: integer
  1357. contracttype:
  1358. description: 现货合同类型 - 1:采购 -1:销售
  1359. type: integer
  1360. deductamount:
  1361. description: 退款(非必填)
  1362. type: number
  1363. deliverygoodscode:
  1364. description: 现货品种代码
  1365. type: string
  1366. deliverygoodsid:
  1367. description: 现货商品ID
  1368. type: integer
  1369. deliverygoodsname:
  1370. description: 现货品种名称
  1371. type: string
  1372. enumdicname:
  1373. description: 单位名称
  1374. type: string
  1375. goodscode:
  1376. description: 点价合约
  1377. type: string
  1378. goodsname:
  1379. description: 商品名称
  1380. type: string
  1381. kxtype:
  1382. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1383. type: integer
  1384. operateapplyid:
  1385. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1386. type: string
  1387. operateapplytype:
  1388. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1389. type: integer
  1390. payamount:
  1391. description: 收付款(非必填)
  1392. type: number
  1393. pricemove:
  1394. description: 升贴水
  1395. type: number
  1396. pricetype:
  1397. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1398. type: integer
  1399. relatedid:
  1400. description: 现货合同ID
  1401. type: string
  1402. sellusername:
  1403. description: 销售方名字
  1404. type: string
  1405. userid:
  1406. description: 用户ID
  1407. type: integer
  1408. wrstandardcode:
  1409. description: 品类代码
  1410. type: string
  1411. wrstandardid:
  1412. description: 品类id
  1413. type: integer
  1414. wrstandardname:
  1415. description: 品类名称
  1416. type: string
  1417. type: object
  1418. ermcp.QryErmcpRsp:
  1419. $ref: '#/definitions/models.ErmcpModel'
  1420. ermcp.QryGGCovertCfgRsp:
  1421. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1422. ermcp.QryHedgePlanRsp:
  1423. $ref: '#/definitions/models.ErmcpHedgePlan'
  1424. ermcp.QryMGChangeLogRsp:
  1425. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1426. ermcp.QryMiddleGoodsDetailRsp:
  1427. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1428. ermcp.QryMiddleGoodsRsp:
  1429. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1430. ermcp.QryOPLogRsp:
  1431. $ref: '#/definitions/models.ErmcpOPLogModel'
  1432. ermcp.QryReportDaySpotDetailRsp:
  1433. $ref: '#/definitions/models.ErmcpReportOPLog'
  1434. ermcp.QryReportExposureDayRsp:
  1435. $ref: '#/definitions/models.ErmcpReportDayExposure'
  1436. ermcp.QryReportFinanceDayRsp:
  1437. $ref: '#/definitions/models.ErmcpReportDayFR'
  1438. ermcp.QryReportFinanceKxRsp:
  1439. $ref: '#/definitions/models.ErmcpReportOPLog'
  1440. ermcp.QryReportFinanceMonRsp:
  1441. $ref: '#/definitions/models.ErmcpReportMonthFR'
  1442. ermcp.QryReportSpotDayRsp:
  1443. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1444. ermcp.QryReportSpotMonRsp:
  1445. $ref: '#/definitions/models.ErmcpReportMonSpot'
  1446. ermcp.QryReportSpotMonthDetailRsp:
  1447. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1448. ermcp.QrySpotContractRsp:
  1449. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1450. ermcp.QryUserInfoRsp:
  1451. $ref: '#/definitions/models.ErmcpUserModel'
  1452. ermcp.QryWarehouseRsp:
  1453. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1454. ermcp.QryWrStandardDetailRsp:
  1455. $ref: '#/definitions/models.ErmcpWrstandDetail'
  1456. ermcp.QryWrStandardRsp:
  1457. $ref: '#/definitions/models.ErmcpWrstandard'
  1458. ermcp.QueryAreaStockApplySumRsp:
  1459. $ref: '#/definitions/models.ErmcpAreaStockApplySum'
  1460. ermcp.QueryErmcpTradePositionRsp:
  1461. properties:
  1462. agreeunit:
  1463. description: 合约单位
  1464. type: number
  1465. buyorsell:
  1466. description: 方向 - 0:买 1:卖
  1467. type: integer
  1468. curpositionqty:
  1469. description: 持仓(总仓数量, 期末头寸)
  1470. type: integer
  1471. curtdposition:
  1472. description: 今仓数量(期末今日头寸)
  1473. type: integer
  1474. curtdpositionenabled:
  1475. description: 今仓可用
  1476. type: integer
  1477. decimalplace:
  1478. description: 报价小数位
  1479. type: integer
  1480. enableqty:
  1481. description: 可用(总仓可用)
  1482. type: integer
  1483. exexchangename:
  1484. description: 外部交易所名称
  1485. type: string
  1486. goodscode:
  1487. description: 商品代码(内部)
  1488. type: string
  1489. goodsid:
  1490. description: 商品ID(自增ID SEQ_GOODS)
  1491. type: integer
  1492. goodsname:
  1493. description: 商品名称
  1494. type: string
  1495. last:
  1496. description: 现价
  1497. type: number
  1498. marketid:
  1499. description: 所属市场ID
  1500. type: integer
  1501. openaverageprice:
  1502. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1503. type: number
  1504. opencost:
  1505. description: 开仓成本
  1506. type: number
  1507. openpl:
  1508. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1509. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1510. type: number
  1511. outgoodscode:
  1512. description: 商品代码(外部)
  1513. type: string
  1514. positionaverageprice:
  1515. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1516. type: number
  1517. positioncost:
  1518. description: 持仓成本
  1519. type: number
  1520. positionpl:
  1521. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1522. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1523. type: number
  1524. positionplrate:
  1525. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1526. type: number
  1527. usedmargin:
  1528. description: 占用保证金
  1529. type: number
  1530. type: object
  1531. ermcp.RealtimeExposurePositionRsp:
  1532. $ref: '#/definitions/models.ErmcpExposurePostion'
  1533. ermcp.RealtimeExposureRsp:
  1534. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1535. erms2.QueryArbitrageStrategyRsp:
  1536. properties:
  1537. applybasis:
  1538. description: 申请基差
  1539. type: number
  1540. asapplyid:
  1541. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1542. type: string
  1543. asname:
  1544. description: 策略名称
  1545. type: string
  1546. asno:
  1547. description: 策略编号
  1548. type: string
  1549. basischangepl:
  1550. description: 基差变动损益[结算更新]
  1551. type: number
  1552. biztype:
  1553. description: 业务类型 - 1:正向套利 -1:反向套利
  1554. type: integer
  1555. closetradedate:
  1556. description: 完结交易日(yyyyMMdd)
  1557. type: string
  1558. curbasis:
  1559. description: 当前基差[结算更新]
  1560. type: number
  1561. deliverygoodsid:
  1562. description: 现货品种ID
  1563. type: integer
  1564. futureavgprice:
  1565. description: 期货建仓均价
  1566. type: number
  1567. futurecloseamount:
  1568. description: 期货平仓金额
  1569. type: number
  1570. futurecloseqty:
  1571. description: 期货平仓数量
  1572. type: number
  1573. futureopenamount:
  1574. description: 期货开仓金额
  1575. type: number
  1576. futureopenqty:
  1577. description: 期货开仓数量
  1578. type: number
  1579. futurepl:
  1580. description: 期货总盈亏[结算更新]
  1581. type: number
  1582. futureqty:
  1583. description: 期货持仓数量
  1584. type: number
  1585. futurequote:
  1586. description: 期货额度
  1587. type: number
  1588. goodsgroupid:
  1589. description: 期货品种ID
  1590. type: integer
  1591. marketid:
  1592. description: 市场ID
  1593. type: integer
  1594. netexposure:
  1595. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1596. type: number
  1597. netexposurepl:
  1598. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1599. type: number
  1600. netexposurerate:
  1601. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1602. type: number
  1603. openbasis:
  1604. description: 建仓基差
  1605. type: number
  1606. pricedspotqty:
  1607. description: 已定价现货数量
  1608. type: number
  1609. pricedspotqtynotax:
  1610. description: 已定价现货不含税数量
  1611. type: number
  1612. remark:
  1613. description: 备注
  1614. type: string
  1615. spotavgprice:
  1616. description: 现货均价
  1617. type: number
  1618. spotbuyamount:
  1619. description: 现货采购金额
  1620. type: number
  1621. spotbuyqty:
  1622. description: 现货采购数量
  1623. type: number
  1624. spotpl:
  1625. description: 现货总盈亏[结算更新]
  1626. type: number
  1627. spotquota:
  1628. description: 现货额度
  1629. type: number
  1630. spotsellamount:
  1631. description: 现货销售金额
  1632. type: number
  1633. spotsellqty:
  1634. description: 现货销售数量
  1635. type: number
  1636. spotusedquota:
  1637. description: 现货占用资金
  1638. type: number
  1639. strategystatus:
  1640. description: 策略状态 - 0:未结束 1:已结束
  1641. type: integer
  1642. totalpl:
  1643. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1644. type: number
  1645. tradedate:
  1646. description: 交易日(yyyyMMdd)
  1647. type: string
  1648. updatetime:
  1649. description: 更新时间
  1650. type: string
  1651. usedquota:
  1652. description: 已占用资金
  1653. type: number
  1654. userid:
  1655. description: 所属机构
  1656. type: integer
  1657. required:
  1658. - asapplyid
  1659. type: object
  1660. erms2.QueryInnerTradeDetailRsp:
  1661. properties:
  1662. accountid:
  1663. description: 账号ID
  1664. type: integer
  1665. agreeunit:
  1666. description: 合约单位
  1667. type: number
  1668. asapplyid:
  1669. description: 策略申请ID
  1670. type: integer
  1671. asname:
  1672. description: 策略名称
  1673. type: string
  1674. asno:
  1675. description: 策略编号
  1676. type: string
  1677. buyorsell:
  1678. description: 方向 - 0:买 1:卖
  1679. type: integer
  1680. channelbuildtype:
  1681. description: 委托单据类型 0:无 1:建仓 2:平仓
  1682. type: integer
  1683. closetype:
  1684. description: 平仓方式 - 0:无 1:平今 2:平昨
  1685. type: integer
  1686. decimalplace:
  1687. description: 报价小数位
  1688. type: integer
  1689. detailtype:
  1690. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1691. type: integer
  1692. exexchangecode:
  1693. description: 外部交易所代码
  1694. type: string
  1695. exexchangename:
  1696. description: 外部交易所名称
  1697. type: string
  1698. goodscode:
  1699. description: 商品代码(合约)
  1700. type: string
  1701. goodsgroupid:
  1702. description: 商品组ID(品种ID)
  1703. type: integer
  1704. goodsgroupname:
  1705. description: 商品组名称(品种)
  1706. type: string
  1707. goodsid:
  1708. description: 商品ID
  1709. type: integer
  1710. goodsname:
  1711. description: 商品名称(合约)
  1712. type: string
  1713. goodunit:
  1714. description: 报价单位
  1715. type: string
  1716. marketid:
  1717. description: 市场ID
  1718. type: integer
  1719. orderid:
  1720. description: 委托单号
  1721. type: string
  1722. outgoodscode:
  1723. description: 商品代码(外部)
  1724. type: string
  1725. relatedouttradeid:
  1726. description: 关联外部成交单ID
  1727. type: string
  1728. remark:
  1729. description: 备注
  1730. type: string
  1731. spotcontractid:
  1732. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1733. type: integer
  1734. spotcontractno:
  1735. description: 现货合同编号
  1736. type: string
  1737. tradeid:
  1738. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1739. type: string
  1740. tradeprice:
  1741. description: 成交价格
  1742. type: number
  1743. tradeqty:
  1744. description: 成交数量
  1745. type: integer
  1746. tradetime:
  1747. description: 成交时间
  1748. type: string
  1749. updatetime:
  1750. description: 更新时间
  1751. type: string
  1752. required:
  1753. - asapplyid
  1754. - buyorsell
  1755. - goodscode
  1756. - goodsgroupid
  1757. - goodsgroupname
  1758. - goodsname
  1759. - tradeid
  1760. type: object
  1761. erms2.QuerySpotContractRsp:
  1762. properties:
  1763. accountid:
  1764. description: 资金账户ID
  1765. type: integer
  1766. areauserid:
  1767. description: 所属机构
  1768. type: integer
  1769. closedate:
  1770. description: 终止日期
  1771. type: string
  1772. closeremark:
  1773. description: 结束备注
  1774. type: string
  1775. closetradedate:
  1776. description: 完结交易日(yyyyMMdd)
  1777. type: string
  1778. closetype:
  1779. description: 终止类型 - 1:违约 2:提前终止
  1780. type: integer
  1781. contractamount:
  1782. description: 合同金额
  1783. type: number
  1784. contractattachment:
  1785. description: 合同附件
  1786. type: string
  1787. contractno:
  1788. description: 现货合同编号
  1789. type: string
  1790. contractqty:
  1791. description: 合同数量(数值) (用于计算)
  1792. type: number
  1793. contractqtychar:
  1794. description: 合同数量\已订价数量 (用于显示)
  1795. type: string
  1796. contractstatus:
  1797. description: 合同状态 - 0:未结束 1:已结束
  1798. type: integer
  1799. contracttype:
  1800. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1801. type: integer
  1802. customeraccountid:
  1803. description: 客户资金账户ID
  1804. type: integer
  1805. customeruserid:
  1806. description: 客户ID
  1807. type: integer
  1808. deliverygoodsdesc:
  1809. description: 品种说明
  1810. type: string
  1811. deliverygoodsid:
  1812. description: 现货品种ID
  1813. type: integer
  1814. handlestatus:
  1815. description: 处理状态
  1816. type: integer
  1817. invoiceatt:
  1818. description: 发票附件
  1819. type: string
  1820. invoicedatetime:
  1821. description: 开收票更新时间
  1822. type: string
  1823. invoiceopentime:
  1824. description: 开票时间
  1825. type: string
  1826. invoiceremark:
  1827. description: 发票备注
  1828. type: string
  1829. invoicestatus:
  1830. description: 开收票状态 - 0:未开票 1:已开票
  1831. type: integer
  1832. lastdate:
  1833. description: 交货时间
  1834. type: string
  1835. marketid:
  1836. description: 市场ID
  1837. type: integer
  1838. paydatetime:
  1839. description: 收付款更新时间
  1840. type: string
  1841. payremark:
  1842. description: 收付款备注
  1843. type: string
  1844. paystatus:
  1845. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1846. type: integer
  1847. positionqty:
  1848. description: 头寸数量 - 合同数量去小数部分
  1849. type: integer
  1850. producttype:
  1851. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1852. type: integer
  1853. relatedqty:
  1854. description: 已关联数量
  1855. type: number
  1856. relatedstatus:
  1857. description: 关联完结状态 - 0:未结束 1:已结束
  1858. type: integer
  1859. remark:
  1860. description: 备注
  1861. type: string
  1862. signdate:
  1863. description: 签订日期
  1864. type: string
  1865. spotcontractid:
  1866. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1867. type: string
  1868. spotdatetime:
  1869. description: 收发货更新时间
  1870. type: string
  1871. spotprice:
  1872. description: 价格
  1873. type: number
  1874. spotremark:
  1875. description: 收发货备注
  1876. type: string
  1877. spotstatus:
  1878. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1879. type: integer
  1880. tradedate:
  1881. description: 交易日(yyyyMMdd)
  1882. type: string
  1883. userid:
  1884. description: 业务员用户ID
  1885. type: integer
  1886. warehouseid:
  1887. description: 仓库ID
  1888. type: integer
  1889. wrfactortypeid:
  1890. description: 仓单要素类型ID
  1891. type: integer
  1892. wrstandardid:
  1893. description: 仓单标准ID(SEQ_WRSTANDARD)
  1894. type: integer
  1895. required:
  1896. - spotcontractid
  1897. type: object
  1898. erms3.AddErms2ASApplyReq:
  1899. properties:
  1900. applybasis:
  1901. description: 申请基差
  1902. type: number
  1903. applystatus:
  1904. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1905. type: integer
  1906. asapplyid:
  1907. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1908. type: integer
  1909. asname:
  1910. description: 策略名称
  1911. type: string
  1912. asno:
  1913. description: 策略编号
  1914. type: string
  1915. auditid:
  1916. description: 审核人
  1917. type: integer
  1918. auditremark:
  1919. description: 审核备注
  1920. type: string
  1921. audittime:
  1922. description: 审核时间
  1923. type: string
  1924. biztype:
  1925. description: 业务类型 - 1:正向套利 2:反向套利
  1926. type: integer
  1927. createtime:
  1928. description: 创建时间
  1929. type: string
  1930. creatorid:
  1931. description: 创建人
  1932. type: integer
  1933. deliverygoodsid:
  1934. description: 现货品种ID
  1935. type: integer
  1936. futurequote:
  1937. description: 期货额度
  1938. type: number
  1939. goodsgroupid:
  1940. description: 期货品种ID
  1941. type: integer
  1942. marketid:
  1943. description: 市场ID
  1944. type: integer
  1945. remark:
  1946. description: 备注
  1947. type: string
  1948. spotquota:
  1949. description: 现货额度
  1950. type: number
  1951. tradedate:
  1952. description: 交易日(yyyyMMdd)
  1953. type: string
  1954. userid:
  1955. description: 所属机构
  1956. type: integer
  1957. required:
  1958. - asapplyid
  1959. type: object
  1960. erms3.AddErms2SpotTradeApplyReq:
  1961. properties:
  1962. applyjsondetail:
  1963. description: 申请明细(JSON)
  1964. type: string
  1965. applystatus:
  1966. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1967. type: integer
  1968. areauserid:
  1969. description: 所属机构
  1970. type: integer
  1971. auditid:
  1972. description: 审核人
  1973. type: integer
  1974. auditremark:
  1975. description: 审核备注
  1976. type: string
  1977. audittime:
  1978. description: 审核时间
  1979. type: string
  1980. createtime:
  1981. description: 创建时间
  1982. type: string
  1983. creatorid:
  1984. description: 创建人
  1985. type: integer
  1986. deliverygoodsid:
  1987. description: 现货品种ID
  1988. type: integer
  1989. futureaccountid:
  1990. description: 期货资金账户
  1991. type: integer
  1992. goodsgroupid:
  1993. description: 期货品种
  1994. type: integer
  1995. marketid:
  1996. description: 市场ID
  1997. type: integer
  1998. remark:
  1999. description: 备注
  2000. type: string
  2001. spotaccountid:
  2002. description: 现货资金账户
  2003. type: integer
  2004. spottradeid:
  2005. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2006. type: integer
  2007. spottradename:
  2008. description: 业务名称
  2009. type: string
  2010. spottradeno:
  2011. description: 业务编号
  2012. type: string
  2013. tradedate:
  2014. description: 交易日(yyyyMMdd)
  2015. type: string
  2016. wrstandardid:
  2017. description: 仓单标准ID
  2018. type: integer
  2019. required:
  2020. - spottradeid
  2021. type: object
  2022. erms3.AddSpotContractApplyReq:
  2023. properties:
  2024. accountid:
  2025. description: 资金账户ID
  2026. type: integer
  2027. areauserid:
  2028. description: 所属机构
  2029. type: integer
  2030. contractattachment:
  2031. description: 合同附件
  2032. type: string
  2033. contractno:
  2034. description: 现货合同编号
  2035. type: string
  2036. contracttype:
  2037. description: 现货合同类型 - 1:采购 -1:销售
  2038. type: integer
  2039. creatorid:
  2040. description: 申请人
  2041. type: integer
  2042. customeraccountid:
  2043. description: 客户资金账户ID
  2044. type: integer
  2045. customeruserid:
  2046. description: 客户ID
  2047. type: integer
  2048. details:
  2049. description: 明细
  2050. items:
  2051. $ref: '#/definitions/erms3.SoptContractDetail'
  2052. type: array
  2053. orimargin:
  2054. description: 初始保证金
  2055. type: number
  2056. remark:
  2057. description: 备注
  2058. type: string
  2059. signdate:
  2060. description: 签订日期
  2061. type: string
  2062. required:
  2063. - accountid
  2064. - areauserid
  2065. - contractno
  2066. - contracttype
  2067. - customeraccountid
  2068. - customeruserid
  2069. - details
  2070. - orimargin
  2071. - signdate
  2072. type: object
  2073. erms3.AddSpotContractApplyRsp:
  2074. properties:
  2075. contractno:
  2076. description: 现货合同编号
  2077. type: string
  2078. spotcontractid:
  2079. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2080. type: integer
  2081. required:
  2082. - contractno
  2083. type: object
  2084. erms3.AddUserInfoApplyReq:
  2085. properties:
  2086. accountid:
  2087. description: 交易系统帐号Id (加密存储)
  2088. type: integer
  2089. areacode:
  2090. description: 机构代码
  2091. type: string
  2092. areaid:
  2093. description: 机构Id
  2094. type: integer
  2095. attachment1:
  2096. description: 附件1
  2097. type: string
  2098. attachment2:
  2099. description: 附件2
  2100. type: string
  2101. attachment3:
  2102. description: 附件3
  2103. type: string
  2104. attachment4:
  2105. description: 附件4
  2106. type: string
  2107. attachment5:
  2108. description: 附件5
  2109. type: string
  2110. auditedby:
  2111. description: 审核人
  2112. type: string
  2113. auditime:
  2114. description: 审核时间
  2115. type: string
  2116. auditsrc:
  2117. description: 审核来源 - 1:管理端 2:终端
  2118. type: integer
  2119. bankaccount:
  2120. description: 银行帐号 (加密存储)
  2121. type: string
  2122. bankaccountname:
  2123. description: 收款人名称
  2124. type: string
  2125. bankcardbackphotourl:
  2126. description: 银行卡背面照地址
  2127. type: string
  2128. bankcardfrontphotourl:
  2129. description: 银行卡正面照地址
  2130. type: string
  2131. bankid:
  2132. description: 银行编码
  2133. type: string
  2134. bankname:
  2135. description: 银行名称
  2136. type: string
  2137. bankpictureurl:
  2138. description: 银行卡正面地址
  2139. type: string
  2140. biznature:
  2141. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2142. type: integer
  2143. bizscope:
  2144. description: 企业经营范围(企业)
  2145. type: string
  2146. biztype:
  2147. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2148. type: integer
  2149. brokerid:
  2150. description: 经纪人ID(加密存储)
  2151. type: string
  2152. cardaddress:
  2153. description: 证件地址 (加密存储)
  2154. type: string
  2155. cardbackphotourl:
  2156. description: 背面证件照地址
  2157. type: string
  2158. cardfrontphotourl:
  2159. description: 正面证件照地址
  2160. type: string
  2161. cardnum:
  2162. description: 证件号码 (加密存储)
  2163. type: string
  2164. cardtype:
  2165. description: 证件类型
  2166. type: integer
  2167. cityid:
  2168. description: 市
  2169. type: integer
  2170. company:
  2171. description: 公司(个人)
  2172. type: string
  2173. contactcardbackphotourl:
  2174. description: 联系人证件背面图片地址
  2175. type: string
  2176. contactcardfrontphotourl:
  2177. description: 联系人证件正面图片地址
  2178. type: string
  2179. contactname:
  2180. description: 联系人
  2181. type: string
  2182. countryid:
  2183. description: 国家
  2184. type: integer
  2185. createtime:
  2186. description: 开户申请时间
  2187. type: string
  2188. cusbankid:
  2189. description: 签约类型
  2190. type: string
  2191. cusbankname:
  2192. description: 签约类型名称
  2193. type: string
  2194. customername:
  2195. description: 客户名称(企业名称)
  2196. type: string
  2197. districtid:
  2198. description: 地区
  2199. type: integer
  2200. email:
  2201. description: Email地址(加密存储)
  2202. type: string
  2203. halfbodyphotourl:
  2204. description: 半身照地址
  2205. type: string
  2206. headurl:
  2207. description: 头像地址
  2208. type: string
  2209. ipaddress:
  2210. description: IP地址
  2211. type: string
  2212. isvalidate:
  2213. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2214. type: string
  2215. legalcardbackphotourl:
  2216. description: 法人身份证背面照地址
  2217. type: string
  2218. legalcardfrontphotourl:
  2219. description: 法人身份证正面照地址
  2220. type: string
  2221. legalpersonname:
  2222. description: 法人姓名(企业)
  2223. type: string
  2224. logincode:
  2225. description: 登录帐号 (加密存储)
  2226. type: string
  2227. memberareaid:
  2228. description: 所属会员ID
  2229. type: integer
  2230. mobile2:
  2231. description: 手机号码[明文-尚志]
  2232. type: string
  2233. mobilephone:
  2234. description: 手机号码 (加密存储)
  2235. type: string
  2236. modifiedby:
  2237. description: 修改人帐号
  2238. type: integer
  2239. modifiedtime:
  2240. description: 修改时间
  2241. type: string
  2242. nickname:
  2243. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2244. type: string
  2245. openmode:
  2246. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2247. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2248. type: integer
  2249. otherurl:
  2250. description: 其它图片地址[使用分号分隔]
  2251. type: string
  2252. postalcode:
  2253. description: 邮政编码
  2254. type: string
  2255. provinceid:
  2256. description: 省
  2257. type: integer
  2258. proxystatementurl:
  2259. description: 授权委托书
  2260. type: string
  2261. qq:
  2262. description: QQ(加密存储
  2263. type: string
  2264. referral:
  2265. description: 推荐人编码
  2266. type: string
  2267. remark:
  2268. description: 备注
  2269. type: string
  2270. removebeforestatus:
  2271. description: REMOVEBEFORESTATUS
  2272. type: integer
  2273. sex:
  2274. description: 性别 - 0:女 1:男
  2275. type: integer
  2276. signedstatus:
  2277. description: 账户一号签签约状态
  2278. type: integer
  2279. signpdfurl:
  2280. description: 签约pdf文件
  2281. type: string
  2282. subbranch:
  2283. description: 开户支行
  2284. type: string
  2285. taxpayernum:
  2286. description: 纳税人识别号
  2287. type: string
  2288. telphone:
  2289. description: 联系电话(加密存储)
  2290. type: string
  2291. userid:
  2292. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2293. type: integer
  2294. userinfotype:
  2295. description: 用户信息类型 - 1:个人 2:企业
  2296. type: integer
  2297. username:
  2298. description: 用户姓名
  2299. type: string
  2300. userstate:
  2301. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2302. type: integer
  2303. usertype:
  2304. description: 用户类型 - 1:投资者 2:机构
  2305. type: integer
  2306. videourl:
  2307. description: 视频地址
  2308. type: string
  2309. wechat:
  2310. description: 微信号 (加密存储)
  2311. type: string
  2312. required:
  2313. - userid
  2314. type: object
  2315. erms3.CustomerInfo:
  2316. properties:
  2317. accountids:
  2318. description: 资金账户ID列表
  2319. items:
  2320. type: integer
  2321. type: array
  2322. customername:
  2323. description: 名称(企业名称)
  2324. type: string
  2325. mobile:
  2326. description: 手机号码
  2327. type: string
  2328. userid:
  2329. description: 用户ID
  2330. type: integer
  2331. required:
  2332. - userid
  2333. type: object
  2334. erms3.ModifyUserInfoApplyReq:
  2335. properties:
  2336. accountid:
  2337. description: 交易系统帐号Id (加密存储)
  2338. type: integer
  2339. areacode:
  2340. description: 机构代码
  2341. type: string
  2342. areaid:
  2343. description: 机构Id
  2344. type: integer
  2345. attachment1:
  2346. description: 附件1
  2347. type: string
  2348. attachment2:
  2349. description: 附件2
  2350. type: string
  2351. attachment3:
  2352. description: 附件3
  2353. type: string
  2354. attachment4:
  2355. description: 附件4
  2356. type: string
  2357. attachment5:
  2358. description: 附件5
  2359. type: string
  2360. auditedby:
  2361. description: 审核人
  2362. type: string
  2363. auditime:
  2364. description: 审核时间
  2365. type: string
  2366. auditsrc:
  2367. description: 审核来源 - 1:管理端 2:终端
  2368. type: integer
  2369. bankaccount:
  2370. description: 银行帐号 (加密存储)
  2371. type: string
  2372. bankaccountname:
  2373. description: 收款人名称
  2374. type: string
  2375. bankcardbackphotourl:
  2376. description: 银行卡背面照地址
  2377. type: string
  2378. bankcardfrontphotourl:
  2379. description: 银行卡正面照地址
  2380. type: string
  2381. bankid:
  2382. description: 银行编码
  2383. type: string
  2384. bankname:
  2385. description: 银行名称
  2386. type: string
  2387. bankpictureurl:
  2388. description: 银行卡正面地址
  2389. type: string
  2390. biznature:
  2391. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2392. type: integer
  2393. bizscope:
  2394. description: 企业经营范围(企业)
  2395. type: string
  2396. biztype:
  2397. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2398. type: integer
  2399. brokerid:
  2400. description: 经纪人ID(加密存储)
  2401. type: string
  2402. cardaddress:
  2403. description: 证件地址 (加密存储)
  2404. type: string
  2405. cardbackphotourl:
  2406. description: 背面证件照地址
  2407. type: string
  2408. cardfrontphotourl:
  2409. description: 正面证件照地址
  2410. type: string
  2411. cardnum:
  2412. description: 证件号码 (加密存储)
  2413. type: string
  2414. cardtype:
  2415. description: 证件类型
  2416. type: integer
  2417. cityid:
  2418. description: 市
  2419. type: integer
  2420. company:
  2421. description: 公司(个人)
  2422. type: string
  2423. contactcardbackphotourl:
  2424. description: 联系人证件背面图片地址
  2425. type: string
  2426. contactcardfrontphotourl:
  2427. description: 联系人证件正面图片地址
  2428. type: string
  2429. contactname:
  2430. description: 联系人
  2431. type: string
  2432. countryid:
  2433. description: 国家
  2434. type: integer
  2435. createtime:
  2436. description: 开户申请时间
  2437. type: string
  2438. cusbankid:
  2439. description: 签约类型
  2440. type: string
  2441. cusbankname:
  2442. description: 签约类型名称
  2443. type: string
  2444. customername:
  2445. description: 客户名称(企业名称)
  2446. type: string
  2447. districtid:
  2448. description: 地区
  2449. type: integer
  2450. email:
  2451. description: Email地址(加密存储)
  2452. type: string
  2453. halfbodyphotourl:
  2454. description: 半身照地址
  2455. type: string
  2456. headurl:
  2457. description: 头像地址
  2458. type: string
  2459. ipaddress:
  2460. description: IP地址
  2461. type: string
  2462. isvalidate:
  2463. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2464. type: string
  2465. legalcardbackphotourl:
  2466. description: 法人身份证背面照地址
  2467. type: string
  2468. legalcardfrontphotourl:
  2469. description: 法人身份证正面照地址
  2470. type: string
  2471. legalpersonname:
  2472. description: 法人姓名(企业)
  2473. type: string
  2474. logincode:
  2475. description: 登录帐号 (加密存储)
  2476. type: string
  2477. memberareaid:
  2478. description: 所属会员ID
  2479. type: integer
  2480. mobile2:
  2481. description: 手机号码[明文-尚志]
  2482. type: string
  2483. mobilephone:
  2484. description: 手机号码 (加密存储)
  2485. type: string
  2486. modifiedby:
  2487. description: 修改人帐号
  2488. type: integer
  2489. modifiedtime:
  2490. description: 修改时间
  2491. type: string
  2492. nickname:
  2493. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2494. type: string
  2495. openmode:
  2496. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2497. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2498. type: integer
  2499. otherurl:
  2500. description: 其它图片地址[使用分号分隔]
  2501. type: string
  2502. postalcode:
  2503. description: 邮政编码
  2504. type: string
  2505. provinceid:
  2506. description: 省
  2507. type: integer
  2508. proxystatementurl:
  2509. description: 授权委托书
  2510. type: string
  2511. qq:
  2512. description: QQ(加密存储
  2513. type: string
  2514. referral:
  2515. description: 推荐人编码
  2516. type: string
  2517. remark:
  2518. description: 备注
  2519. type: string
  2520. removebeforestatus:
  2521. description: REMOVEBEFORESTATUS
  2522. type: integer
  2523. sex:
  2524. description: 性别 - 0:女 1:男
  2525. type: integer
  2526. signedstatus:
  2527. description: 账户一号签签约状态
  2528. type: integer
  2529. signpdfurl:
  2530. description: 签约pdf文件
  2531. type: string
  2532. subbranch:
  2533. description: 开户支行
  2534. type: string
  2535. taxpayernum:
  2536. description: 纳税人识别号
  2537. type: string
  2538. telphone:
  2539. description: 联系电话(加密存储)
  2540. type: string
  2541. userid:
  2542. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2543. type: integer
  2544. userinfotype:
  2545. description: 用户信息类型 - 1:个人 2:企业
  2546. type: integer
  2547. username:
  2548. description: 用户姓名
  2549. type: string
  2550. userstate:
  2551. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2552. type: integer
  2553. usertype:
  2554. description: 用户类型 - 1:投资者 2:机构
  2555. type: integer
  2556. videourl:
  2557. description: 视频地址
  2558. type: string
  2559. wechat:
  2560. description: 微信号 (加密存储)
  2561. type: string
  2562. required:
  2563. - userid
  2564. type: object
  2565. erms3.QryAuditContractRsp:
  2566. properties:
  2567. accountid:
  2568. description: 交易员ID
  2569. type: string
  2570. applystatus:
  2571. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2572. type: integer
  2573. curdeliveryqty:
  2574. description: 未交收量
  2575. type: integer
  2576. customername:
  2577. description: 采购方ID
  2578. type: string
  2579. deliverygoodsid:
  2580. description: 品种ID
  2581. type: string
  2582. deliveryqty:
  2583. description: 交收量
  2584. type: integer
  2585. enumdicname:
  2586. description: 单位名称
  2587. type: string
  2588. matchaccountid:
  2589. description: 业务员ID
  2590. type: string
  2591. matchcustomername:
  2592. description: 销售方ID
  2593. type: string
  2594. pricedqty:
  2595. description: 定价量
  2596. type: number
  2597. signdate:
  2598. description: 签订日期
  2599. type: string
  2600. spotcontractid:
  2601. description: 合同ID
  2602. type: string
  2603. totaldqty:
  2604. description: 合同量
  2605. type: number
  2606. unpricedqty:
  2607. description: 未定价量
  2608. type: number
  2609. wrstandardname:
  2610. description: 商品名称
  2611. type: string
  2612. required:
  2613. - matchcustomername
  2614. - spotcontractid
  2615. type: object
  2616. erms3.QryPendingBizRsp:
  2617. $ref: '#/definitions/models.PendingAuditBizModel'
  2618. erms3.QueryBusinessInfoRsp:
  2619. properties:
  2620. businessid:
  2621. description: 业务ID.
  2622. type: integer
  2623. buyamount:
  2624. description: 采购额.
  2625. type: number
  2626. buyqty:
  2627. description: 采购量.
  2628. type: string
  2629. futurepl:
  2630. description: 期货盈亏.
  2631. type: number
  2632. futureqty:
  2633. description: 期货敞口.
  2634. type: string
  2635. goodsid:
  2636. description: 商品名称/商品代码.
  2637. type: string
  2638. hedgingqty:
  2639. description: 套保量.
  2640. type: string
  2641. sellamount:
  2642. description: 销售额.
  2643. type: number
  2644. sellqty:
  2645. description: 销售量.
  2646. type: string
  2647. spotmarketvalue:
  2648. description: 现货市值.
  2649. type: number
  2650. spotpl:
  2651. description: 浮动权益.
  2652. type: number
  2653. spotqty:
  2654. description: 现货量.
  2655. type: string
  2656. statu:
  2657. description: 状态,0-未结束 1-已结束.
  2658. type: integer
  2659. totalpl:
  2660. description: 总盈亏.
  2661. type: number
  2662. totalqty:
  2663. description: 总敞口.
  2664. type: string
  2665. type:
  2666. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2667. type: integer
  2668. type: object
  2669. erms3.QuerySpotContractAppleFormRsp:
  2670. properties:
  2671. goodses:
  2672. description: 合约列表
  2673. items:
  2674. $ref: '#/definitions/models.GoodsIDAndName'
  2675. type: array
  2676. oppositeusers:
  2677. description: 对方账号列表
  2678. items:
  2679. $ref: '#/definitions/erms3.CustomerInfo'
  2680. type: array
  2681. ouruser:
  2682. $ref: '#/definitions/erms3.CustomerInfo'
  2683. description: 我方账号
  2684. type: object
  2685. warehouseinfos:
  2686. description: 仓库信息列表
  2687. items:
  2688. $ref: '#/definitions/models.Warehouseinfo'
  2689. type: array
  2690. wrstandards:
  2691. description: 仓单标准列表
  2692. items:
  2693. $ref: '#/definitions/models.WRStandardInfo'
  2694. type: array
  2695. type: object
  2696. erms3.QuerySpotContractInfoRsp:
  2697. properties:
  2698. accountid:
  2699. description: 表示交易员ID.
  2700. type: integer
  2701. curdeliveryqty:
  2702. description: 表示未交收量.
  2703. type: number
  2704. customername:
  2705. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2706. type: string
  2707. deliverygoodsid:
  2708. description: 表示品种ID.
  2709. type: string
  2710. deliveryqty:
  2711. description: 表示交收量.
  2712. type: number
  2713. matchaccountid:
  2714. description: 表示业务员ID.
  2715. type: integer
  2716. matchcustomername:
  2717. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2718. type: string
  2719. priceqty:
  2720. description: 表示定价量.
  2721. type: number
  2722. relatedbizid:
  2723. description: 表示业务ID.
  2724. type: string
  2725. signdate:
  2726. description: 表示签订日期.
  2727. type: string
  2728. spotcontractid:
  2729. description: 合同ID
  2730. type: string
  2731. status:
  2732. description: 表示状态,0-履约中 1-已完成.
  2733. type: integer
  2734. totalqty:
  2735. description: 表示合同量.
  2736. type: number
  2737. unpricedqty:
  2738. description: 表示未定价量.
  2739. type: number
  2740. wrstandardname:
  2741. description: 表示商品ID.
  2742. type: string
  2743. type: object
  2744. erms3.QueryUserInfoAppliesRsp:
  2745. properties:
  2746. biznature:
  2747. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2748. type: integer
  2749. contactname:
  2750. description: 联系人
  2751. type: string
  2752. createtime:
  2753. description: 开户申请时间
  2754. type: string
  2755. userid:
  2756. description: 用户ID(自增ID)
  2757. type: integer
  2758. userinfotype:
  2759. description: 用户信息类型 - 1:个人 2:企业
  2760. type: integer
  2761. username:
  2762. description: 用户姓名
  2763. type: string
  2764. userstate:
  2765. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2766. type: integer
  2767. required:
  2768. - userid
  2769. type: object
  2770. erms3.QueryUserInfosRsp:
  2771. properties:
  2772. biznature:
  2773. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2774. type: integer
  2775. contactname:
  2776. description: 联系人
  2777. type: string
  2778. customername:
  2779. description: 客户名称(企业名称)
  2780. type: string
  2781. userid:
  2782. description: 用户ID
  2783. type: integer
  2784. userinfotype:
  2785. description: 用户信息类型 - 1:个人 2:企业
  2786. type: integer
  2787. userstatus:
  2788. description: 用户状态 - 1:正常 2:注销
  2789. type: integer
  2790. required:
  2791. - userid
  2792. type: object
  2793. erms3.SoptContractDetail:
  2794. properties:
  2795. deliverygoodsdesc:
  2796. description: 现货品种说明
  2797. type: string
  2798. deliverygoodsid:
  2799. description: 现货品种ID
  2800. type: integer
  2801. deliverygoodsname:
  2802. description: 现货品种名称
  2803. type: string
  2804. pointdesc:
  2805. description: 点价描述
  2806. type: string
  2807. producttype:
  2808. description: 产品类型 1:标准仓单 2:等标 3:非标
  2809. type: integer
  2810. producttypename:
  2811. description: 产品类型名称
  2812. type: string
  2813. spotPointOrderVoList:
  2814. description: 点价列表
  2815. items:
  2816. $ref: '#/definitions/erms3.SpotPointOrder'
  2817. type: array
  2818. spotPriceOrderList:
  2819. description: 定价列表
  2820. items:
  2821. $ref: '#/definitions/erms3.SpotPriceOrder'
  2822. type: array
  2823. unitname:
  2824. description: 单位名称
  2825. type: string
  2826. warehouseid:
  2827. description: 仓库ID
  2828. type: integer
  2829. warehousename:
  2830. description: 仓库名称
  2831. type: string
  2832. wrstandardid:
  2833. description: 交易标的ID
  2834. type: integer
  2835. wrstandardname:
  2836. description: 交易标的名称
  2837. type: string
  2838. required:
  2839. - deliverygoodsid
  2840. - producttype
  2841. - unitname
  2842. - warehouseid
  2843. - wrstandardid
  2844. - wrstandardname
  2845. type: object
  2846. erms3.SpotPointOrder:
  2847. properties:
  2848. basic:
  2849. description: 基差
  2850. type: number
  2851. deliveryenddate:
  2852. description: 交收结束日期
  2853. type: string
  2854. deliverystartdate:
  2855. description: 交收开始日期
  2856. type: string
  2857. enddate:
  2858. description: 点价结束日期
  2859. type: string
  2860. goodsid:
  2861. description: 商品ID
  2862. type: integer
  2863. goodsname:
  2864. description: 商品名称
  2865. type: string
  2866. qty:
  2867. description: 数量
  2868. type: number
  2869. startdate:
  2870. description: 点价开始日期
  2871. type: string
  2872. required:
  2873. - basic
  2874. - goodsid
  2875. - qty
  2876. type: object
  2877. erms3.SpotPriceOrder:
  2878. properties:
  2879. amount:
  2880. description: 金额
  2881. type: number
  2882. deliveryenddate:
  2883. description: 交收结束日期
  2884. type: string
  2885. deliverystartdate:
  2886. description: 交收开始日期
  2887. type: string
  2888. price:
  2889. description: 价格
  2890. type: number
  2891. qty:
  2892. description: 数量
  2893. type: number
  2894. required:
  2895. - amount
  2896. - price
  2897. - qty
  2898. type: object
  2899. hsby.GetHsbyMyCountRsp:
  2900. properties:
  2901. myCouponCount:
  2902. description: 我的优惠卷数量
  2903. type: integer
  2904. myOrderDetailListingCount:
  2905. description: 我的订单求购中数量
  2906. type: integer
  2907. myOrderDetailPreCount:
  2908. description: 我的订单抢购中数量
  2909. type: integer
  2910. myPackageUnReceiveCount:
  2911. description: 我的包裹待收货数量
  2912. type: integer
  2913. myPackageUnSendCount:
  2914. description: 我的包裹待发货数量
  2915. type: integer
  2916. myPayOrderCount:
  2917. description: 我的订单待付款数量
  2918. type: integer
  2919. type: object
  2920. hsby.QueryProvincesAndCitiesRsp:
  2921. properties:
  2922. cities:
  2923. description: 市
  2924. items:
  2925. $ref: '#/definitions/models.Division'
  2926. type: array
  2927. province:
  2928. $ref: '#/definitions/models.Division'
  2929. description: 省
  2930. type: object
  2931. type: object
  2932. models.AreaSpotModel:
  2933. properties:
  2934. areauserid:
  2935. description: 所属机构
  2936. type: integer
  2937. decreaseqty:
  2938. description: 减少数量=-(销售已定价数量+采购计划数量)
  2939. type: number
  2940. increaseqty:
  2941. description: 增加数量=销售计划数量+采购已定价数量
  2942. type: number
  2943. oritoalspotqty:
  2944. description: 昨日数量
  2945. type: number
  2946. totalspotqty:
  2947. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2948. type: number
  2949. updatetime:
  2950. description: 更新时间
  2951. type: string
  2952. wrstandardcode:
  2953. description: 现货品种代码
  2954. type: string
  2955. wrstandardid:
  2956. description: 现货商品ID
  2957. type: integer
  2958. wrstandardname:
  2959. description: 现货品种
  2960. type: string
  2961. type: object
  2962. models.Clientfixedadconfig:
  2963. properties:
  2964. adsort:
  2965. description: 排序
  2966. type: integer
  2967. adtype:
  2968. description: 广告位类型 - 1:新品抢购(HSBY)
  2969. type: integer
  2970. areauserid:
  2971. description: 所属机构ID
  2972. type: integer
  2973. createdate:
  2974. description: 创建时间
  2975. type: string
  2976. creatorid:
  2977. description: 创建人
  2978. type: integer
  2979. imagepath:
  2980. description: 图片
  2981. type: string
  2982. isshow:
  2983. description: 是否展示 - 0:不展示 1:展示
  2984. type: integer
  2985. modifierid:
  2986. description: 操作人
  2987. type: integer
  2988. recsize:
  2989. description: 推荐尺寸
  2990. type: string
  2991. title:
  2992. description: 标题
  2993. type: string
  2994. updatedate:
  2995. description: 更新时间
  2996. type: string
  2997. urlcontent:
  2998. description: 链接(地址或商品ID)
  2999. type: string
  3000. urltype:
  3001. description: 链接类型 - 1:直接地址 2:商品ID
  3002. type: integer
  3003. required:
  3004. - adsort
  3005. - adtype
  3006. type: object
  3007. models.Division:
  3008. properties:
  3009. autoid:
  3010. description: 自增ID
  3011. type: integer
  3012. divisioncode:
  3013. description: 行政代码
  3014. type: string
  3015. divisionlevel:
  3016. description: 行政级别
  3017. type: string
  3018. divisionname:
  3019. description: 行政名称
  3020. type: string
  3021. modifierid:
  3022. description: 修改人
  3023. type: integer
  3024. modifytime:
  3025. description: 修改时间
  3026. type: string
  3027. parentcode:
  3028. description: 上级行政代码
  3029. type: string
  3030. pathname:
  3031. description: 路径名称
  3032. type: string
  3033. postcode:
  3034. description: 邮政编码
  3035. type: string
  3036. separablename:
  3037. description: 可拆分的全称
  3038. type: string
  3039. shortcode:
  3040. description: 地区简码
  3041. type: string
  3042. required:
  3043. - autoid
  3044. - divisioncode
  3045. type: object
  3046. models.Enumdicitem:
  3047. properties:
  3048. autoid:
  3049. description: 自增ID
  3050. type: integer
  3051. bankmappedvalue:
  3052. description: 银行服务对应值
  3053. type: string
  3054. enumdiccode:
  3055. description: 所属枚举代码
  3056. type: string
  3057. enumdicid:
  3058. description: 所属枚举ID
  3059. type: integer
  3060. enumdicname:
  3061. description: 枚举项名称
  3062. type: string
  3063. enumitemname:
  3064. description: 枚举项值
  3065. type: integer
  3066. enumitemstatus:
  3067. description: 枚举项状态 - 1.启用 2.不启用
  3068. type: integer
  3069. enumitemvalue:
  3070. description: 通用值 - [币种通用简写]
  3071. type: string
  3072. param1:
  3073. description: 参数1[币种:币种小数位]
  3074. type: string
  3075. param2:
  3076. description: 参数1[币种:币种显示单位]
  3077. type: string
  3078. remark:
  3079. description: 备注
  3080. type: string
  3081. required:
  3082. - autoid
  3083. - enumdiccode
  3084. - enumdicid
  3085. - enumitemname
  3086. type: object
  3087. models.Ermcp3AreaSpot:
  3088. properties:
  3089. areauserid:
  3090. description: 所属机构
  3091. type: integer
  3092. decreaseqty:
  3093. description: 减少数量=-(销售已定价数量+采购计划数量)
  3094. type: number
  3095. deliverygoodscode:
  3096. description: 现货品种代码
  3097. type: string
  3098. deliverygoodsid:
  3099. description: 现货品种id
  3100. type: integer
  3101. deliverygoodsname:
  3102. description: 现货品种名称
  3103. type: string
  3104. enumdicname:
  3105. description: 单位名称
  3106. type: string
  3107. goodsunitid:
  3108. description: 现货品种单位id
  3109. type: integer
  3110. increaseqty:
  3111. description: 增加数量=销售计划数量+采购已定价数量
  3112. type: number
  3113. oritoalspotqty:
  3114. description: 昨日数量
  3115. type: number
  3116. totalspotqty:
  3117. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3118. type: number
  3119. updatetime:
  3120. description: 更新时间
  3121. type: string
  3122. type: object
  3123. models.Ermcp3AreaSpotDetail:
  3124. properties:
  3125. contracttype:
  3126. description: 合同类型 1-采购 -1-销售
  3127. type: integer
  3128. createtime:
  3129. description: 创建时间
  3130. type: string
  3131. deliverygoodscode:
  3132. description: 现货品种代码
  3133. type: string
  3134. deliverygoodsid:
  3135. description: 现货品种id
  3136. type: integer
  3137. deliverygoodsname:
  3138. description: 现货品种名称
  3139. type: string
  3140. enumdicname:
  3141. description: 现货商品单位名称
  3142. type: string
  3143. logtype:
  3144. description: 记录类型 1-套保 2-现货合同
  3145. type: integer
  3146. qty:
  3147. description: 数量
  3148. type: number
  3149. recordname:
  3150. description: 类型名称
  3151. type: string
  3152. relatedid:
  3153. description: 套保计划ID/现货合同ID
  3154. type: string
  3155. relatedno:
  3156. description: 编号
  3157. type: string
  3158. strtime:
  3159. description: 时间
  3160. type: string
  3161. type: object
  3162. models.Ermcp3AreaStock:
  3163. properties:
  3164. brandname:
  3165. description: 品牌名称
  3166. type: string
  3167. curstock:
  3168. description: 期末库存量(今日量)
  3169. type: number
  3170. deliverygoodscode:
  3171. description: 现货品种代码
  3172. type: string
  3173. deliverygoodsid:
  3174. description: 现货品种id
  3175. type: integer
  3176. deliverygoodsname:
  3177. description: 现货品种名称
  3178. type: string
  3179. enumdicname:
  3180. description: 单位名称
  3181. type: string
  3182. goodsunitid:
  3183. description: 现货商品单位id
  3184. type: integer
  3185. oristock:
  3186. description: 期初库存量(昨日量)
  3187. type: number
  3188. spotgoodsbrandid:
  3189. description: 现货品牌ID
  3190. type: integer
  3191. todaybuyinqty:
  3192. description: 今日采购入库量
  3193. type: number
  3194. todayproduceinqty:
  3195. description: 今日生产入库量
  3196. type: number
  3197. todayproduceoutqty:
  3198. description: 今日生产出库量
  3199. type: number
  3200. todayselloutqty:
  3201. description: 今日销售出库量
  3202. type: number
  3203. unitid:
  3204. description: 单位id
  3205. type: integer
  3206. updatetime:
  3207. description: 更新时间
  3208. type: string
  3209. userid:
  3210. description: 机构ID
  3211. type: integer
  3212. username:
  3213. description: 机构名称
  3214. type: string
  3215. warehousecode:
  3216. description: 仓库代码
  3217. type: string
  3218. warehouseinfoid:
  3219. description: 仓库ID
  3220. type: string
  3221. warehousename:
  3222. description: 仓库名称
  3223. type: string
  3224. warehousetype:
  3225. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3226. type: integer
  3227. wrstandardcode:
  3228. description: 品类代码
  3229. type: string
  3230. wrstandardid:
  3231. description: 品类ID
  3232. type: string
  3233. wrstandardname:
  3234. description: 品类名称
  3235. type: string
  3236. required:
  3237. - userid
  3238. type: object
  3239. models.Ermcp3AreaStockApply:
  3240. properties:
  3241. applyid:
  3242. description: 申请人
  3243. type: integer
  3244. applyname:
  3245. description: 申请人名称
  3246. type: string
  3247. applyremark:
  3248. description: 申请备注
  3249. type: string
  3250. applysrc:
  3251. description: 申请来源 - 1:管理端 2:终端
  3252. type: integer
  3253. applystatus:
  3254. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3255. type: integer
  3256. applytime:
  3257. description: 申请时间
  3258. type: string
  3259. auditid:
  3260. description: 审核人
  3261. type: integer
  3262. auditname:
  3263. description: 审核人名称
  3264. type: string
  3265. auditremark:
  3266. description: 审核备注
  3267. type: string
  3268. auditsrc:
  3269. description: 审核来源 - 1:管理端 2:终端
  3270. type: integer
  3271. audittime:
  3272. description: 审核时间
  3273. type: string
  3274. audittradedate:
  3275. description: 审核交易日(yyyyMMdd)
  3276. type: string
  3277. brandname:
  3278. description: 品牌名称
  3279. type: string
  3280. buynickname:
  3281. description: 采购方昵称
  3282. type: string
  3283. buyuserid:
  3284. description: 采购方userid
  3285. type: integer
  3286. buyusername:
  3287. description: 采购方名称
  3288. type: string
  3289. contractno:
  3290. description: 合同编号
  3291. type: string
  3292. contractqty:
  3293. description: 合同量
  3294. type: number
  3295. contracttype:
  3296. description: 现货合同类型 - 1:采购 -1:销售
  3297. type: integer
  3298. deliverygoodscode:
  3299. description: 现货品种代码
  3300. type: string
  3301. deliverygoodsid:
  3302. description: 现货品种id
  3303. type: integer
  3304. deliverygoodsname:
  3305. description: 现货品种名称
  3306. type: string
  3307. detailjson:
  3308. description: 明细数据
  3309. type: string
  3310. enumdicname:
  3311. description: 现货商品单位名称
  3312. type: string
  3313. inoutapplyid:
  3314. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3315. type: string
  3316. inouttype:
  3317. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3318. type: integer
  3319. pricetype:
  3320. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3321. type: integer
  3322. qty:
  3323. description: 数量
  3324. type: number
  3325. sellnickname:
  3326. description: 销售方昵称
  3327. type: string
  3328. selluserid:
  3329. description: 销售方userid
  3330. type: integer
  3331. sellusername:
  3332. description: 销售方名称
  3333. type: string
  3334. spotcontractid:
  3335. description: 关联现货合同ID
  3336. type: string
  3337. spotgoodsbrandid:
  3338. description: 现货品牌ID
  3339. type: integer
  3340. unitid:
  3341. description: 单位id
  3342. type: integer
  3343. userid:
  3344. description: 机构ID
  3345. type: integer
  3346. warehousecode:
  3347. description: 仓库代码
  3348. type: string
  3349. warehouseinfoid:
  3350. description: 现货仓库ID
  3351. type: string
  3352. warehousename:
  3353. description: 仓库名称
  3354. type: string
  3355. warehousetype:
  3356. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3357. type: integer
  3358. wrstandardcode:
  3359. description: 品类代码
  3360. type: string
  3361. wrstandardid:
  3362. description: 品类ID
  3363. type: integer
  3364. wrstandardname:
  3365. description: 品类名称
  3366. type: string
  3367. type: object
  3368. models.Ermcp3AreaStockApplySum:
  3369. properties:
  3370. brandname:
  3371. description: 品牌名称
  3372. type: string
  3373. inouttype:
  3374. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3375. type: integer
  3376. spotcontractid:
  3377. description: 关联现货合同ID
  3378. type: string
  3379. spotgoodsbrandid:
  3380. description: 品牌id
  3381. type: integer
  3382. totalqty:
  3383. description: 总数量
  3384. type: number
  3385. wrstandardid:
  3386. description: 品类id
  3387. type: integer
  3388. wrstandardname:
  3389. description: 品类名称
  3390. type: string
  3391. type: object
  3392. models.Ermcp3AreaStockReport:
  3393. properties:
  3394. brandname:
  3395. description: 品牌名称
  3396. type: string
  3397. curstock:
  3398. description: 期末库存量
  3399. type: number
  3400. deliverygoodscode:
  3401. description: 现货品种代码
  3402. type: string
  3403. deliverygoodsid:
  3404. description: 现货品种id
  3405. type: integer
  3406. deliverygoodsname:
  3407. description: 现货品种名称
  3408. type: string
  3409. enumdicname:
  3410. description: 单位名称
  3411. type: string
  3412. goodsunitid:
  3413. description: 现货单位id
  3414. type: integer
  3415. oristock:
  3416. description: 期初库存量
  3417. type: number
  3418. spotgoodsbrandid:
  3419. description: 现货品牌ID
  3420. type: integer
  3421. todaybuyinqty:
  3422. description: 今日采购入库量
  3423. type: number
  3424. todayproduceinqty:
  3425. description: 今日生产入库量
  3426. type: number
  3427. todayproduceoutqty:
  3428. description: 今日生产出库量
  3429. type: number
  3430. todayselloutqty:
  3431. description: 今日销售出库量
  3432. type: number
  3433. unitid:
  3434. description: 品类单位id
  3435. type: integer
  3436. updatetime:
  3437. description: 更新时间
  3438. type: string
  3439. userid:
  3440. description: 机构ID
  3441. type: integer
  3442. username:
  3443. description: 机构名称
  3444. type: string
  3445. warehousecode:
  3446. description: 仓库代码
  3447. type: string
  3448. warehouseinfoid:
  3449. description: 仓库ID
  3450. type: string
  3451. warehousename:
  3452. description: 仓库名称
  3453. type: string
  3454. warehousetype:
  3455. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3456. type: integer
  3457. wrstandardcode:
  3458. description: 品类代码
  3459. type: string
  3460. wrstandardid:
  3461. description: 品类ID
  3462. type: integer
  3463. wrstandardname:
  3464. description: 品类名称
  3465. type: string
  3466. type: object
  3467. models.Ermcp3Brand:
  3468. properties:
  3469. areauserid:
  3470. description: 用户id
  3471. type: integer
  3472. brandid:
  3473. description: 品牌id
  3474. type: integer
  3475. brandname:
  3476. description: 品牌名称
  3477. type: string
  3478. deliverygoodsid:
  3479. description: 品种ID
  3480. type: integer
  3481. type: object
  3482. models.Ermcp3Contract:
  3483. properties:
  3484. accountid:
  3485. description: 期货账户id
  3486. type: string
  3487. amount:
  3488. description: 金额 [1:一口价、3:暂定价]
  3489. type: number
  3490. attachment:
  3491. description: 附件
  3492. type: string
  3493. auditremark:
  3494. description: 审核意见
  3495. type: string
  3496. audittime:
  3497. description: 审核时间
  3498. type: string
  3499. biztype:
  3500. description: 业务类型 1-套保 2-套利
  3501. type: integer
  3502. brandname:
  3503. description: 品牌名称
  3504. type: string
  3505. buynickname:
  3506. description: 销售方昵称
  3507. type: string
  3508. buyuserid:
  3509. description: 采购方ID
  3510. type: integer
  3511. buyusername:
  3512. description: 采购方名称
  3513. type: string
  3514. contracctstatus:
  3515. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3516. type: integer
  3517. contractmargin:
  3518. description: 合同保证金
  3519. type: number
  3520. contractno:
  3521. description: 现货合同编号
  3522. type: string
  3523. contracttype:
  3524. description: 现货合同类型 - 1:采购 -1:销售
  3525. type: integer
  3526. convertfactor:
  3527. description: 标仓系数(品类)
  3528. type: number
  3529. createtime:
  3530. description: 创建时间
  3531. type: string
  3532. currencyid:
  3533. description: 币种id
  3534. type: integer
  3535. currencyname:
  3536. description: 币种名称
  3537. type: string
  3538. deliveryenddate:
  3539. description: 交收期(结束)
  3540. type: string
  3541. deliverygoodscode:
  3542. description: 现货品种代码
  3543. type: string
  3544. deliverygoodsid:
  3545. description: 现货品种ID
  3546. type: integer
  3547. deliverygoodsname:
  3548. description: 现货品种名称
  3549. type: string
  3550. deliverystartdate:
  3551. description: 交收期(开始)
  3552. type: string
  3553. enddate:
  3554. description: 点价结束日期 [2:点价 3:暂定价]
  3555. type: string
  3556. enumdicname:
  3557. description: 单位名称
  3558. type: string
  3559. goodscode:
  3560. description: 点价合约代码
  3561. type: string
  3562. goodsid:
  3563. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3564. type: integer
  3565. goodsname:
  3566. description: 点价商品名称
  3567. type: string
  3568. margin:
  3569. description: 当前保证金
  3570. type: number
  3571. meruserid:
  3572. description: 跟单员id
  3573. type: integer
  3574. meruserlogincode:
  3575. description: 跟单员登录代码
  3576. type: string
  3577. price:
  3578. description: 价格\暂定价 [1:一口价、3:暂定价]
  3579. type: number
  3580. pricemove:
  3581. description: 升贴水 [2:点价 3:暂定价]
  3582. type: number
  3583. pricetype:
  3584. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3585. type: integer
  3586. producttype:
  3587. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3588. type: integer
  3589. qty:
  3590. description: 数量
  3591. type: number
  3592. remark:
  3593. description: 备注
  3594. type: string
  3595. saleuserid:
  3596. description: 业务员id
  3597. type: integer
  3598. saleuserlogincode:
  3599. description: 业务员登录代码
  3600. type: string
  3601. sellnickname:
  3602. description: 采购方昵称
  3603. type: string
  3604. selluserid:
  3605. description: 销售方ID
  3606. type: integer
  3607. sellusername:
  3608. description: 销售方名称
  3609. type: string
  3610. spotcontractid:
  3611. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3612. type: string
  3613. spotgoodsbrandid:
  3614. description: 现货品牌ID(DGFactoryItem表的ID)
  3615. type: integer
  3616. spotgoodsdesc:
  3617. description: 商品型号
  3618. type: string
  3619. startdate:
  3620. description: 点价开始日期 [2:点价 3:暂定价]
  3621. type: string
  3622. tradeuserid:
  3623. description: 交易员id
  3624. type: integer
  3625. tradeuserlogincode:
  3626. description: 交易员登录代码
  3627. type: string
  3628. tradeusername:
  3629. description: 交易员名称
  3630. type: string
  3631. unitid:
  3632. description: 单位id(取品类上的单位id)
  3633. type: integer
  3634. updatetime:
  3635. description: 更新时间
  3636. type: string
  3637. userid:
  3638. description: 所属机构ID
  3639. type: integer
  3640. wrstandardcode:
  3641. description: 品类代码
  3642. type: string
  3643. wrstandardid:
  3644. description: 品类ID
  3645. type: integer
  3646. wrstandardname:
  3647. description: 品类名称
  3648. type: string
  3649. type: object
  3650. models.Ermcp3ExposureDetail:
  3651. properties:
  3652. areauserid:
  3653. description: 机构ID
  3654. type: integer
  3655. changeQty:
  3656. description: 套保变动量
  3657. type: number
  3658. contracttype:
  3659. description: 现货合同类型 - 1:采购 -1:销售
  3660. type: integer
  3661. convertfactor:
  3662. description: 标仓系数
  3663. type: number
  3664. convertratio:
  3665. description: 套保系数
  3666. type: number
  3667. createtime:
  3668. description: 时间
  3669. type: string
  3670. deliverygoodscode:
  3671. description: 现货品种代码
  3672. type: string
  3673. deliverygoodsid:
  3674. description: 现货品种id
  3675. type: integer
  3676. deliverygoodsname:
  3677. description: 现货品种名称
  3678. type: string
  3679. enumdicname:
  3680. description: 现货商品单位名称
  3681. type: string
  3682. logtype:
  3683. description: 类型 - 1:套保计划 2:现货合同
  3684. type: integer
  3685. middlegoodsId:
  3686. description: 套保商品id
  3687. type: integer
  3688. middlegoodscode:
  3689. description: 套保商品代码
  3690. type: string
  3691. middlegoodsname:
  3692. description: 套保商品名称
  3693. type: string
  3694. qty:
  3695. description: 数量
  3696. type: number
  3697. relateNo:
  3698. description: 现货合同/套保计划编号
  3699. type: string
  3700. type: object
  3701. models.Ermcp3Goods:
  3702. properties:
  3703. agreeunit:
  3704. description: 合约单位(合约乘数)
  3705. type: number
  3706. enumdicname:
  3707. description: 单位名称
  3708. type: string
  3709. exexchangecode:
  3710. description: 交易所代码
  3711. type: string
  3712. goodscode:
  3713. description: 期货商品代码
  3714. type: string
  3715. goodsid:
  3716. description: 期货商品id
  3717. type: integer
  3718. goodsname:
  3719. description: 期货商品名称
  3720. type: string
  3721. type: object
  3722. models.Ermcp3GoodsGroup:
  3723. properties:
  3724. agreeunit:
  3725. description: 合约单位
  3726. type: number
  3727. areauserid:
  3728. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  3729. type: integer
  3730. canshort:
  3731. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  3732. type: integer
  3733. closepricemode:
  3734. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  3735. type: integer
  3736. createtime:
  3737. description: 创建时间
  3738. type: string
  3739. creatorid:
  3740. description: 创建人
  3741. type: integer
  3742. currencyid:
  3743. description: 报价货币ID
  3744. type: integer
  3745. decimalplace:
  3746. description: 报价小数位
  3747. type: integer
  3748. enumdicname:
  3749. description: 单位名称
  3750. type: string
  3751. excludecfg:
  3752. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  3753. type: integer
  3754. exexchangeid:
  3755. description: 外部交易所ID[通道交易]
  3756. type: integer
  3757. goodsgroupid:
  3758. description: 商品组ID(自增ID)
  3759. type: integer
  3760. goodsgroupname:
  3761. description: 商品组名称
  3762. type: string
  3763. goodsgroupstatus:
  3764. description: 商品组状态 - 1:正常 2:注销
  3765. type: integer
  3766. goodunitid:
  3767. description: 报价单位ID
  3768. type: integer
  3769. groupcategroyid:
  3770. description: 品种分类ID
  3771. type: integer
  3772. innerdealmode:
  3773. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  3774. type: integer
  3775. marketid:
  3776. description: 所属市场ID
  3777. type: integer
  3778. modifierid:
  3779. description: 修改人
  3780. type: integer
  3781. modifytime:
  3782. description: 修改时间
  3783. type: string
  3784. outerdealmode:
  3785. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  3786. type: integer
  3787. outergroupcode:
  3788. description: 外部商品组代码[通道交易]
  3789. type: string
  3790. quoteminunit:
  3791. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3792. type: integer
  3793. quotesourcegroupid:
  3794. description: 所属行情源分组ID[参考行情市场用\通道交易]
  3795. type: integer
  3796. syncgoodsqty:
  3797. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  3798. type: integer
  3799. required:
  3800. - areauserid
  3801. type: object
  3802. models.Ermcp3GoodsGroupEx:
  3803. properties:
  3804. convertratio:
  3805. description: 折算系数(品种系数)
  3806. type: number
  3807. enumdicname:
  3808. description: 单位名称
  3809. type: string
  3810. exexchangecode:
  3811. description: 交易所代码
  3812. type: string
  3813. glist:
  3814. description: 合约列表
  3815. items:
  3816. $ref: '#/definitions/models.Ermcp3Goods'
  3817. type: array
  3818. goodsgroupid:
  3819. description: 商品组id
  3820. type: integer
  3821. goodsgroupname:
  3822. description: 商品组名称
  3823. type: string
  3824. goodsunitid:
  3825. description: 单位id
  3826. type: integer
  3827. middlegoodsid:
  3828. description: 套保商品id
  3829. type: integer
  3830. type: object
  3831. models.Ermcp3HedgePlan:
  3832. properties:
  3833. accountid:
  3834. description: 资金账号
  3835. type: integer
  3836. areauserid:
  3837. description: 用户ID
  3838. type: integer
  3839. audittime:
  3840. description: 审核时间
  3841. type: string
  3842. contracttype:
  3843. description: 计划类型 - 1:采购 -1:销售
  3844. type: integer
  3845. convertfactor:
  3846. description: 标仓系数
  3847. type: number
  3848. createtime:
  3849. description: 创建时间
  3850. type: string
  3851. currencyid:
  3852. description: 币种id
  3853. type: integer
  3854. currencyname:
  3855. description: 币种名称
  3856. type: string
  3857. deliverygoodscode:
  3858. description: 现货品种代码
  3859. type: string
  3860. deliverygoodsid:
  3861. description: 现货品种ID
  3862. type: integer
  3863. deliverygoodsname:
  3864. description: 现货品种名称
  3865. type: string
  3866. enumdicname:
  3867. description: 单位名称
  3868. type: string
  3869. hedgeplanid:
  3870. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  3871. type: string
  3872. hedgeplanno:
  3873. description: 套保计划编号(名称)
  3874. type: string
  3875. hedgeplanstatus:
  3876. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3877. type: integer
  3878. planqty:
  3879. description: 计划数量
  3880. type: number
  3881. plantime:
  3882. description: 计划时间
  3883. type: string
  3884. producttype:
  3885. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3886. type: integer
  3887. remark:
  3888. description: 备注
  3889. type: string
  3890. spotgoodsdesc:
  3891. description: 商品型号
  3892. type: string
  3893. taaccountname:
  3894. description: 资金账号名称
  3895. type: string
  3896. tradeuserid:
  3897. description: 交易用户id
  3898. type: integer
  3899. tradeusername:
  3900. description: 交易用户名称
  3901. type: string
  3902. unitid:
  3903. description: 单位id
  3904. type: integer
  3905. updatetime:
  3906. description: 更新时间
  3907. type: string
  3908. wrstandardcode:
  3909. description: 品类代码
  3910. type: string
  3911. wrstandardid:
  3912. description: 品类id
  3913. type: integer
  3914. wrstandardname:
  3915. description: 品类名称
  3916. type: string
  3917. type: object
  3918. models.Ermcp3MiddleGoodsDetail2:
  3919. properties:
  3920. convertratio:
  3921. description: 套保系数(折算系数)
  3922. type: number
  3923. gplist:
  3924. description: 关联商品组列表
  3925. items:
  3926. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  3927. type: array
  3928. mg:
  3929. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3930. description: 套保商品信息
  3931. type: object
  3932. type: object
  3933. models.Ermcp3MiddleGoodsDetailEx:
  3934. properties:
  3935. dglist:
  3936. description: 关联的现货品种列表
  3937. items:
  3938. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  3939. type: array
  3940. gplist:
  3941. description: 关联商品组列表
  3942. items:
  3943. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  3944. type: array
  3945. mg:
  3946. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3947. description: 套保商品信息
  3948. type: object
  3949. type: object
  3950. models.Ermcp3ReckonAreaSpotSub:
  3951. properties:
  3952. accountid:
  3953. description: 期货账户ID
  3954. type: integer
  3955. accountname:
  3956. description: 所属机构名称
  3957. type: string
  3958. areauserid:
  3959. description: 账户所属机构
  3960. type: integer
  3961. brandname:
  3962. description: 品牌名称
  3963. type: string
  3964. buycontractinqty:
  3965. description: 采购合同入库量
  3966. type: number
  3967. buypricedamount:
  3968. description: 采购合同已定价金额
  3969. type: number
  3970. buypricedqty:
  3971. description: 采购合同已定价数量
  3972. type: number
  3973. buyreckonqty:
  3974. description: 采购合同交收量
  3975. type: number
  3976. deliverygoodscode:
  3977. description: 现货商品代码
  3978. type: string
  3979. deliverygoodsid:
  3980. description: 现货品种ID
  3981. type: integer
  3982. deliverygoodsname:
  3983. description: 现货商品名称
  3984. type: string
  3985. enumdicname:
  3986. description: 现货商品单位名称
  3987. type: string
  3988. goodsunitid:
  3989. description: 现货商品单位id
  3990. type: integer
  3991. oribuycontractinqty:
  3992. description: 期初采购合同入库量
  3993. type: number
  3994. oribuypricedamount:
  3995. description: 期初采购合同已定价金额
  3996. type: number
  3997. oribuypricedqty:
  3998. description: 期初采购合同已定价数量
  3999. type: number
  4000. oribuyreckonqty:
  4001. description: 期初采购合同交收量
  4002. type: number
  4003. oriproduceinqty:
  4004. description: 期初生产入库量
  4005. type: number
  4006. oriproduceoutqty:
  4007. description: 期初生产出库量
  4008. type: number
  4009. orisellcontractoutqty:
  4010. description: 期初销售合同出库量
  4011. type: number
  4012. orisellpricedamount:
  4013. description: 期初销售合同已定价金额
  4014. type: number
  4015. orisellpricedqty:
  4016. description: 期初销售合同已定价数量
  4017. type: number
  4018. orisellreckonqty:
  4019. description: 期初销售合同交收量
  4020. type: number
  4021. produceinqty:
  4022. description: 生产入库量
  4023. type: number
  4024. produceoutqty:
  4025. description: 生产出库量
  4026. type: number
  4027. reckondate:
  4028. description: 日照时期(yyyyMMdd)
  4029. type: string
  4030. sellcontractoutqty:
  4031. description: 销售合同出库量
  4032. type: number
  4033. sellpricedamount:
  4034. description: 销售合同已定价金额
  4035. type: number
  4036. sellpricedqty:
  4037. description: 销售合同已定价数量
  4038. type: number
  4039. sellreckonqty:
  4040. description: 销售合同交收量
  4041. type: number
  4042. spotgoodsbrandid:
  4043. description: 现货品牌ID
  4044. type: integer
  4045. todaybuyreckonqty:
  4046. description: 今日采购合同已确定数量
  4047. type: number
  4048. todaysellreckonqty:
  4049. description: 今日销售合同已确定数量
  4050. type: number
  4051. totalbuypricedqty:
  4052. description: 采购定价量 = 期末 - 期初
  4053. type: number
  4054. totalsellpricedqty:
  4055. description: 销售定价量 = 期末 - 期初
  4056. type: number
  4057. totalspotqty:
  4058. description: 现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量
  4059. type: number
  4060. updatetime:
  4061. description: 更新时间
  4062. type: string
  4063. wrfactortypeid:
  4064. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4065. type: integer
  4066. wrstandardcode:
  4067. description: 品类代码
  4068. type: string
  4069. wrstandardid:
  4070. description: 现货品类ID
  4071. type: integer
  4072. wrstandardname:
  4073. description: 品类名称
  4074. type: string
  4075. required:
  4076. - areauserid
  4077. - reckondate
  4078. type: object
  4079. models.Ermcp3ReportAreaSpotPL:
  4080. properties:
  4081. actualpl:
  4082. description: 实际损益
  4083. type: number
  4084. areauserid:
  4085. description: 所属机构
  4086. type: integer
  4087. brandname:
  4088. description: 品牌名称
  4089. type: string
  4090. curamount:
  4091. description: 期末额
  4092. type: number
  4093. curaverageprice:
  4094. description: 期末均价
  4095. type: number
  4096. curbuyamount:
  4097. description: 期末采购总额(采购额)
  4098. type: number
  4099. curbuyqty:
  4100. description: 期末采购总量
  4101. type: number
  4102. curmarketvalue:
  4103. description: 参考市值
  4104. type: number
  4105. curqty:
  4106. description: 期末量
  4107. type: number
  4108. cursellamount:
  4109. description: 期末销售总额(销售额)
  4110. type: number
  4111. cursellqty:
  4112. description: 期末销售总量
  4113. type: number
  4114. curspotprice:
  4115. description: 参考市价
  4116. type: number
  4117. deliverygoodscode:
  4118. description: 现货品种代码
  4119. type: string
  4120. deliverygoodsid:
  4121. description: 现货品种id
  4122. type: integer
  4123. deliverygoodsname:
  4124. description: 现货品种名称
  4125. type: string
  4126. enumdicname:
  4127. description: 现货商品单位名称
  4128. type: string
  4129. floatpl:
  4130. description: 浮动损益
  4131. type: number
  4132. gbenumdicname:
  4133. description: 品类单位名称
  4134. type: string
  4135. gbunitid:
  4136. description: 现货单位id
  4137. type: integer
  4138. modelname:
  4139. description: 品类名称
  4140. type: string
  4141. oriamount:
  4142. description: 期初额
  4143. type: number
  4144. oriaverageprice:
  4145. description: 期初均价
  4146. type: number
  4147. oribuyamount:
  4148. description: 期初采购总额
  4149. type: number
  4150. oribuyqty:
  4151. description: 期初采购总量
  4152. type: number
  4153. oriqty:
  4154. description: 期初量
  4155. type: number
  4156. orisellamount:
  4157. description: 期初销售总额
  4158. type: number
  4159. orisellqty:
  4160. description: 期初销售总量
  4161. type: number
  4162. spotgoodsbrandid:
  4163. description: 现货品牌ID
  4164. type: integer
  4165. todaybuyamount:
  4166. description: 今日采购额
  4167. type: number
  4168. todaybuyaverageprice:
  4169. description: 今日采购均价(采购均价)
  4170. type: number
  4171. todaybuyqty:
  4172. description: 今日采购量(采购增量)
  4173. type: number
  4174. todaysellamount:
  4175. description: 今日销售额
  4176. type: number
  4177. todaysellaverageprice:
  4178. description: 今日销售均价(销售均价)
  4179. type: number
  4180. todaysellqty:
  4181. description: 今日销售量(销售增量)
  4182. type: number
  4183. unitid:
  4184. description: 品类单位id
  4185. type: integer
  4186. updatetime:
  4187. description: 更新时间
  4188. type: string
  4189. wrstandardcode:
  4190. description: 品类代码
  4191. type: string
  4192. wrstandardid:
  4193. description: 品类ID
  4194. type: integer
  4195. wrstandardname:
  4196. description: 品类名称
  4197. type: string
  4198. type: object
  4199. models.Ermcp3ReportAreaSpotSub:
  4200. properties:
  4201. accountid:
  4202. description: 期货账户ID
  4203. type: integer
  4204. accountname:
  4205. description: 所属机构名称
  4206. type: string
  4207. areauserid:
  4208. description: 账户所属机构
  4209. type: integer
  4210. brandname:
  4211. description: 品牌名称
  4212. type: string
  4213. buycontractinqty:
  4214. description: 采购合同入库量【期末】
  4215. type: number
  4216. buypricedamount:
  4217. description: 采购合同已定价金额【期末】
  4218. type: number
  4219. buypricedqty:
  4220. description: 采购合同已定价数量【期末】
  4221. type: number
  4222. buyreckonqty:
  4223. description: 采购合同交收量【期末】
  4224. type: number
  4225. cycletime:
  4226. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4227. type: string
  4228. cycletype:
  4229. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4230. type: integer
  4231. deliverygoodscode:
  4232. description: 现货商品代码
  4233. type: string
  4234. deliverygoodsid:
  4235. description: 现货品种ID
  4236. type: integer
  4237. deliverygoodsname:
  4238. description: 现货商品名称
  4239. type: string
  4240. enumdicname:
  4241. description: 现货商品单位名称
  4242. type: string
  4243. goodsunitid:
  4244. description: 现货商品单位id
  4245. type: integer
  4246. oribuycontractinqty:
  4247. description: 期初采购合同入库量【期初】
  4248. type: number
  4249. oribuypricedamount:
  4250. description: 期初采购合同已定价金额【期初】
  4251. type: number
  4252. oribuypricedqty:
  4253. description: 期初采购合同已定价数量【期初】
  4254. type: number
  4255. oribuyreckonqty:
  4256. description: 期初采购合同交收量【期初】
  4257. type: number
  4258. oriproduceinqty:
  4259. description: 期初生产入库量【期初】
  4260. type: number
  4261. oriproduceoutqty:
  4262. description: 期初生产出库量【期初】
  4263. type: number
  4264. orisellcontractoutqty:
  4265. description: 期初销售合同出库量【期初】
  4266. type: number
  4267. orisellpricedamount:
  4268. description: 期初销售合同已定价金额【期初】
  4269. type: number
  4270. orisellpricedqty:
  4271. description: 期初销售合同已定价数量【期初】
  4272. type: number
  4273. orisellreckonqty:
  4274. description: 期初销售合同交收量【期初】
  4275. type: number
  4276. produceinqty:
  4277. description: 生产入库量【期末】
  4278. type: number
  4279. produceoutqty:
  4280. description: 生产出库量【期末】
  4281. type: number
  4282. sellcontractoutqty:
  4283. description: 销售合同出库量【期末】
  4284. type: number
  4285. sellpricedamount:
  4286. description: 销售合同已定价金额【期末】
  4287. type: number
  4288. sellpricedqty:
  4289. description: 销售合同已定价数量【期末】
  4290. type: number
  4291. sellreckonqty:
  4292. description: 销售合同交收量【期末】
  4293. type: number
  4294. spotgoodsbrandid:
  4295. description: 现货品牌ID
  4296. type: integer
  4297. todaybuyreckonqty:
  4298. description: 今日采购合同已确定数量【汇总】
  4299. type: number
  4300. todaysellreckonqty:
  4301. description: 今日销售合同已确定数量【汇总】
  4302. type: number
  4303. totalbuypricedqty:
  4304. description: 采购定价量 = 期末 - 期初
  4305. type: number
  4306. totalsellpricedqty:
  4307. description: 销售定价量 = 期末 - 期初
  4308. type: number
  4309. totalspotqty:
  4310. description: 现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量【期末】
  4311. type: number
  4312. updatetime:
  4313. description: 更新时间
  4314. type: string
  4315. wrfactortypeid:
  4316. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4317. type: integer
  4318. wrstandardcode:
  4319. description: 品类代码
  4320. type: string
  4321. wrstandardid:
  4322. description: 品类ID
  4323. type: integer
  4324. wrstandardname:
  4325. description: 品类名称
  4326. type: string
  4327. required:
  4328. - areauserid
  4329. type: object
  4330. models.Ermcp3ReportOPLog:
  4331. properties:
  4332. applyid:
  4333. description: 操作人
  4334. type: integer
  4335. applyname:
  4336. description: 操作人名称
  4337. type: string
  4338. biztype:
  4339. description: 业务类型 - 1:套保计划 2:现货合同
  4340. type: integer
  4341. brandname:
  4342. description: 品牌名称
  4343. type: string
  4344. contracttype:
  4345. description: 现货合同类型 - 1:采购 -1:销售
  4346. type: integer
  4347. deliverygoodscode:
  4348. description: 现货品种代码
  4349. type: string
  4350. deliverygoodsid:
  4351. description: 现货品种id
  4352. type: integer
  4353. deliverygoodsname:
  4354. description: 现货品种名称
  4355. type: string
  4356. enumdicName:
  4357. description: 单位名称
  4358. type: string
  4359. logdatetime:
  4360. description: 流水日期(时间)
  4361. type: string
  4362. logid:
  4363. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4364. type: string
  4365. logtypename:
  4366. description: 合同类型(名称)
  4367. type: string
  4368. logvalue:
  4369. description: 数值
  4370. type: string
  4371. operatelogtype:
  4372. description: 操作流水类型 -
  4373. type: integer
  4374. optypename:
  4375. description: 流水类型名称
  4376. type: string
  4377. relatedid:
  4378. description: 现货合同ID\套保计划
  4379. type: string
  4380. relatedno:
  4381. description: 合同编号
  4382. type: string
  4383. spotgoodsbrandid:
  4384. description: 品牌id
  4385. type: integer
  4386. tradedate:
  4387. description: 交易日(yyyyMMdd)
  4388. type: string
  4389. userid:
  4390. description: 机构ID
  4391. type: integer
  4392. wrstandardcode:
  4393. description: 品类代码
  4394. type: string
  4395. wrstandardid:
  4396. description: 品类id
  4397. type: integer
  4398. wrstandardname:
  4399. description: 品类名称
  4400. type: string
  4401. type: object
  4402. models.Ermcp3SellBuyContract:
  4403. properties:
  4404. accountname:
  4405. description: 账户名称
  4406. type: string
  4407. attachment:
  4408. description: 附件
  4409. type: string
  4410. audittime:
  4411. description: 审核时间
  4412. type: string
  4413. brandname:
  4414. description: 品牌名称
  4415. type: string
  4416. contracctstatus:
  4417. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4418. type: integer
  4419. contractmargin:
  4420. description: 合同保证金
  4421. type: number
  4422. contractno:
  4423. description: 合同编号
  4424. type: string
  4425. contracttype:
  4426. description: 合同类型 1-采购, -1-销售
  4427. type: integer
  4428. convertfactor:
  4429. description: 标仓系数(品类)
  4430. type: number
  4431. createtime:
  4432. description: 创建时间
  4433. type: string
  4434. daikaiamount:
  4435. description: 应收(开)票额
  4436. type: number
  4437. deliveryenddate:
  4438. description: 交割结束日
  4439. type: string
  4440. deliverygoodscode:
  4441. description: 现货品种代码
  4442. type: string
  4443. deliverygoodsid:
  4444. description: 现货商品ID
  4445. type: integer
  4446. deliverygoodsname:
  4447. description: 现货品种名称
  4448. type: string
  4449. deliverystartdate:
  4450. description: 交割开始日
  4451. type: string
  4452. enddate:
  4453. description: 点价结束日
  4454. type: string
  4455. enumdicname:
  4456. description: 单位名称
  4457. type: string
  4458. goodscode:
  4459. description: 点价商品代码
  4460. type: string
  4461. goodsid:
  4462. description: 点价商品ID
  4463. type: integer
  4464. goodsname:
  4465. description: 点价商品名称
  4466. type: string
  4467. invoiceamount:
  4468. description: 已开票额
  4469. type: number
  4470. loanamount:
  4471. description: 贷款总额=已定价额+调整金额
  4472. type: number
  4473. margin:
  4474. description: 保证金
  4475. type: number
  4476. nickname:
  4477. description: 账户昵称
  4478. type: string
  4479. payamount:
  4480. description: 已收付额(收款或付款)
  4481. type: number
  4482. preinvoiceamount:
  4483. description: 预收(开)票额
  4484. type: number
  4485. prepayamount:
  4486. description: 预收付额
  4487. type: number
  4488. price:
  4489. description: 价格
  4490. type: number
  4491. pricedamount:
  4492. description: 已定价额
  4493. type: number
  4494. pricedavg:
  4495. description: 已点均价
  4496. type: number
  4497. pricedqty:
  4498. description: 已定价量
  4499. type: number
  4500. pricemove:
  4501. description: 升贴水
  4502. type: number
  4503. pricetype:
  4504. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4505. type: integer
  4506. producttype:
  4507. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4508. type: integer
  4509. qty:
  4510. description: 合同量
  4511. type: number
  4512. reckonadjustamount:
  4513. description: 调整金额
  4514. type: number
  4515. reckonedamount:
  4516. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4517. type: number
  4518. reckonotheramount:
  4519. description: 其它费用
  4520. type: number
  4521. reckonrealqty:
  4522. description: 已确定量
  4523. type: number
  4524. remark:
  4525. description: 备注
  4526. type: string
  4527. spotcontractid:
  4528. description: 合同ID
  4529. type: string
  4530. spotgoodsbrandid:
  4531. description: 现货品牌ID(DGFactoryItem表的ID)
  4532. type: integer
  4533. spotgoodsdesc:
  4534. description: 商品型号(商品规格)
  4535. type: string
  4536. startdate:
  4537. description: 点价开始日
  4538. type: string
  4539. totalamount:
  4540. description: 合计总额
  4541. type: number
  4542. unpayamount:
  4543. description: 应收付款额(应支付或应收款)
  4544. type: number
  4545. unpricedqty:
  4546. description: 未定价量
  4547. type: number
  4548. unsureqty:
  4549. description: 未确定量
  4550. type: number
  4551. userid:
  4552. description: 机构ID
  4553. type: integer
  4554. wrstandardcode:
  4555. description: 品类代码
  4556. type: string
  4557. wrstandardid:
  4558. description: 品类ID
  4559. type: integer
  4560. wrstandardname:
  4561. description: 品类名称
  4562. type: string
  4563. type: object
  4564. models.Ermcp3SpotGoodsPrice:
  4565. properties:
  4566. areauserid:
  4567. description: 所属机构id
  4568. type: integer
  4569. brandname:
  4570. description: 品牌名称
  4571. type: string
  4572. currencyid:
  4573. description: 报价货币ID
  4574. type: integer
  4575. deliverygoodscode:
  4576. description: 现货商品代码
  4577. type: string
  4578. deliverygoodsid:
  4579. description: 现货商品id
  4580. type: integer
  4581. deliverygoodsname:
  4582. description: 现货商品名称
  4583. type: string
  4584. enumdicname:
  4585. description: 现货商品单位名称
  4586. type: string
  4587. gbenumdicname:
  4588. description: 品类单位名称
  4589. type: string
  4590. gmunitid:
  4591. description: 品类单位id
  4592. type: integer
  4593. isvalid:
  4594. description: 是否有效 - 0:无效 1:有效
  4595. type: integer
  4596. operateid:
  4597. description: 最后操作人
  4598. type: integer
  4599. operatesrc:
  4600. description: 最后操作来源 - 1:管理端 2:终端
  4601. type: integer
  4602. operatetime:
  4603. description: 最后操作时间
  4604. type: string
  4605. operatorname:
  4606. description: 操作人名称
  4607. type: string
  4608. spotgoodsbrandid:
  4609. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4610. type: integer
  4611. spotgoodsprice:
  4612. description: 现货价格
  4613. type: number
  4614. tradedate:
  4615. description: 交易日(yyyyMMdd)
  4616. type: string
  4617. unitid:
  4618. description: 现货商品单位id
  4619. type: integer
  4620. wrstandardcode:
  4621. description: 品类代码
  4622. type: string
  4623. wrstandardid:
  4624. description: 现货品类ID(通用则为0)
  4625. type: integer
  4626. wrstandardname:
  4627. description: 品类名称
  4628. type: string
  4629. type: object
  4630. models.Ermcp3SpotGoodsPriceLog:
  4631. properties:
  4632. areauserid:
  4633. description: 所属机构id
  4634. type: integer
  4635. brandname:
  4636. description: 品牌名称
  4637. type: string
  4638. currencyid:
  4639. description: 报价货币ID
  4640. type: integer
  4641. deliverygoodscode:
  4642. description: 现货商品代码
  4643. type: string
  4644. deliverygoodsid:
  4645. description: 现货商品id
  4646. type: integer
  4647. deliverygoodsname:
  4648. description: 现货商品名称
  4649. type: string
  4650. enumdicname:
  4651. description: 现货商品单位名称
  4652. type: string
  4653. gbenumdicname:
  4654. description: 品类单位名称
  4655. type: string
  4656. gmunitid:
  4657. description: 品类单位id
  4658. type: integer
  4659. logid:
  4660. description: 日志id
  4661. type: integer
  4662. operateid:
  4663. description: 最后操作人
  4664. type: integer
  4665. operatesrc:
  4666. description: 最后操作来源 - 1:管理端 2:终端
  4667. type: integer
  4668. operatetime:
  4669. description: 最后操作时间
  4670. type: string
  4671. operatorname:
  4672. description: 操作人名称
  4673. type: string
  4674. spotgoodsbrandid:
  4675. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4676. type: integer
  4677. spotgoodsprice:
  4678. description: 现货价格
  4679. type: number
  4680. tradedate:
  4681. description: 交易日(yyyyMMdd)
  4682. type: string
  4683. unitid:
  4684. description: 现货商品单位id
  4685. type: integer
  4686. wrstandardcode:
  4687. description: 品类代码
  4688. type: string
  4689. wrstandardid:
  4690. description: 现货品类ID(通用则为0)
  4691. type: integer
  4692. wrstandardname:
  4693. description: 品类名称
  4694. type: string
  4695. type: object
  4696. models.Ermcp3Wrstandard:
  4697. properties:
  4698. areauserid:
  4699. description: 所属机构
  4700. type: integer
  4701. convertfactor:
  4702. description: 标仓系数
  4703. type: number
  4704. createtime:
  4705. description: 创建时间
  4706. type: string
  4707. creatorid:
  4708. description: 创建人
  4709. type: integer
  4710. deliverygoodsid:
  4711. description: 现货品种ID
  4712. type: integer
  4713. enumdicname:
  4714. description: 品类单位名称
  4715. type: string
  4716. isvalid:
  4717. description: 是否有效 0-无效(停用) 1-有效(正常)
  4718. type: integer
  4719. minivalue:
  4720. description: 最小变动值
  4721. type: integer
  4722. minivaluedp:
  4723. description: 最小变动值小数位
  4724. type: integer
  4725. realminivalue:
  4726. description: 实际最小变动值
  4727. type: integer
  4728. realminivaluedp:
  4729. description: 实际最小变动值小数位
  4730. type: integer
  4731. remark:
  4732. description: 备注
  4733. type: string
  4734. unitid:
  4735. description: 品类单位ID
  4736. type: integer
  4737. updatetime:
  4738. description: 更新时间
  4739. type: string
  4740. wrstandardcode:
  4741. description: 品类代码
  4742. type: string
  4743. wrstandardid:
  4744. description: 品类ID(SEQ_WRSTANDARD)
  4745. type: integer
  4746. wrstandardname:
  4747. description: 品类名称
  4748. type: string
  4749. type: object
  4750. models.ErmcpAreaSpotDetailModel:
  4751. properties:
  4752. contracttype:
  4753. description: 合同类型 1-采购 -1-销售
  4754. type: integer
  4755. createtime:
  4756. description: 创建时间
  4757. type: string
  4758. enumdicname:
  4759. description: 现货商品单位名称
  4760. type: string
  4761. logtype:
  4762. description: 记录类型 1-套保 2-现货合同
  4763. type: integer
  4764. qty:
  4765. description: 数量
  4766. type: number
  4767. recordname:
  4768. description: 类型名称
  4769. type: string
  4770. relatedid:
  4771. description: 套保计划ID/现货合同ID
  4772. type: string
  4773. relatedno:
  4774. description: 编号
  4775. type: string
  4776. strtime:
  4777. description: 时间
  4778. type: string
  4779. wrstandardcode:
  4780. description: 现货商品代码
  4781. type: string
  4782. wrstandardname:
  4783. description: 现货商品名称
  4784. type: string
  4785. type: object
  4786. models.ErmcpAreaStock:
  4787. properties:
  4788. brandname:
  4789. description: 品牌名称
  4790. type: string
  4791. curstock:
  4792. description: 期末库存量(今日量)
  4793. type: number
  4794. deliverygoodsid:
  4795. description: 现货品种ID
  4796. type: integer
  4797. enumdicname:
  4798. description: 单位名称
  4799. type: string
  4800. modelname:
  4801. description: 型号名称
  4802. type: string
  4803. oristock:
  4804. description: 期初库存量(昨日量)
  4805. type: number
  4806. spotgoodsbrandid:
  4807. description: 现货品牌ID
  4808. type: integer
  4809. spotgoodsmodelid:
  4810. description: 现货型号ID
  4811. type: integer
  4812. todaybuyinqty:
  4813. description: 今日采购入库量
  4814. type: number
  4815. todayproduceinqty:
  4816. description: 今日生产入库量
  4817. type: number
  4818. todayproduceoutqty:
  4819. description: 今日生产出库量
  4820. type: number
  4821. todayselloutqty:
  4822. description: 今日销售出库量
  4823. type: number
  4824. unitid:
  4825. description: 单位id
  4826. type: integer
  4827. updatetime:
  4828. description: 更新时间
  4829. type: string
  4830. userid:
  4831. description: 机构ID
  4832. type: integer
  4833. username:
  4834. description: 机构名称
  4835. type: string
  4836. warehousecode:
  4837. description: 仓库代码
  4838. type: string
  4839. warehouseinfoid:
  4840. description: 仓库ID
  4841. type: string
  4842. warehousename:
  4843. description: 仓库名称
  4844. type: string
  4845. warehousetype:
  4846. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4847. type: integer
  4848. wrstandardcode:
  4849. description: 现货商品代码
  4850. type: string
  4851. wrstandardid:
  4852. description: 现货商品ID
  4853. type: string
  4854. wrstandardname:
  4855. description: 现货商品名称
  4856. type: string
  4857. type: object
  4858. models.ErmcpAreaStockApply:
  4859. properties:
  4860. applyid:
  4861. description: 申请人
  4862. type: integer
  4863. applyname:
  4864. description: 申请人名称
  4865. type: string
  4866. applyremark:
  4867. description: 申请备注
  4868. type: string
  4869. applysrc:
  4870. description: 申请来源 - 1:管理端 2:终端
  4871. type: integer
  4872. applystatus:
  4873. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4874. type: integer
  4875. applytime:
  4876. description: 申请时间
  4877. type: string
  4878. auditid:
  4879. description: 审核人
  4880. type: integer
  4881. auditname:
  4882. description: 审核人名称
  4883. type: string
  4884. auditremark:
  4885. description: 审核备注
  4886. type: string
  4887. auditsrc:
  4888. description: 审核来源 - 1:管理端 2:终端
  4889. type: integer
  4890. audittime:
  4891. description: 审核时间
  4892. type: string
  4893. audittradedate:
  4894. description: 审核交易日(yyyyMMdd)
  4895. type: string
  4896. brandname:
  4897. description: 品牌名称
  4898. type: string
  4899. buyuserid:
  4900. description: 采购方userid
  4901. type: integer
  4902. buyusername:
  4903. description: 采购方名称
  4904. type: string
  4905. contractno:
  4906. description: 合同编号
  4907. type: string
  4908. contractqty:
  4909. description: 合同量
  4910. type: number
  4911. contracttype:
  4912. description: 现货合同类型 - 1:采购 -1:销售
  4913. type: integer
  4914. deliverygoodsid:
  4915. description: 现货品种ID
  4916. type: integer
  4917. enumdicname:
  4918. description: 现货商品单位名称
  4919. type: string
  4920. inoutapplyid:
  4921. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4922. type: string
  4923. inouttype:
  4924. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4925. type: integer
  4926. modelname:
  4927. description: 型号名称
  4928. type: string
  4929. pricetype:
  4930. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4931. type: integer
  4932. qty:
  4933. description: 数量
  4934. type: number
  4935. selluserid:
  4936. description: 销售方userid
  4937. type: integer
  4938. sellusername:
  4939. description: 销售方名称
  4940. type: string
  4941. spotcontractid:
  4942. description: 关联现货合同ID
  4943. type: string
  4944. spotgoodsbrandid:
  4945. description: 现货品牌ID
  4946. type: integer
  4947. spotgoodsmodelid:
  4948. description: 现货型号ID
  4949. type: integer
  4950. unitid:
  4951. description: 单位id
  4952. type: integer
  4953. userid:
  4954. description: 机构ID
  4955. type: integer
  4956. warehousecode:
  4957. description: 仓库代码
  4958. type: string
  4959. warehouseinfoid:
  4960. description: 现货仓库ID
  4961. type: string
  4962. warehousename:
  4963. description: 仓库名称
  4964. type: string
  4965. warehousetype:
  4966. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4967. type: integer
  4968. wrstandardcode:
  4969. description: 现货商品代码
  4970. type: string
  4971. wrstandardid:
  4972. description: 现货商品ID
  4973. type: string
  4974. wrstandardname:
  4975. description: 现货商品名称
  4976. type: string
  4977. type: object
  4978. models.ErmcpAreaStockApplySum:
  4979. properties:
  4980. brandname:
  4981. description: 品牌名称
  4982. type: string
  4983. inouttype:
  4984. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4985. type: integer
  4986. modelname:
  4987. description: 型号名称
  4988. type: string
  4989. spotcontractid:
  4990. description: 关联现货合同ID
  4991. type: string
  4992. spotgoodsbrandid:
  4993. description: 品牌id
  4994. type: integer
  4995. spotgoodsmodelid:
  4996. description: 型号id
  4997. type: integer
  4998. totalqty:
  4999. description: 总数量
  5000. type: number
  5001. type: object
  5002. models.ErmcpAreaStockReport:
  5003. properties:
  5004. brandname:
  5005. description: 品牌名称
  5006. type: string
  5007. curstock:
  5008. description: 期末库存量
  5009. type: number
  5010. deliverygoodsid:
  5011. description: 现货品种ID
  5012. type: integer
  5013. enumdicname:
  5014. description: 单位名称
  5015. type: string
  5016. modelname:
  5017. description: 型号名称
  5018. type: string
  5019. oristock:
  5020. description: 期初库存量
  5021. type: number
  5022. spotgoodsbrandid:
  5023. description: 现货品牌ID
  5024. type: integer
  5025. spotgoodsmodelid:
  5026. description: 现货型号ID
  5027. type: integer
  5028. todaybuyinqty:
  5029. description: 今日采购入库量
  5030. type: number
  5031. todayproduceinqty:
  5032. description: 今日生产入库量
  5033. type: number
  5034. todayproduceoutqty:
  5035. description: 今日生产出库量
  5036. type: number
  5037. todayselloutqty:
  5038. description: 今日销售出库量
  5039. type: number
  5040. unitid:
  5041. description: 单位id
  5042. type: integer
  5043. updatetime:
  5044. description: 更新时间
  5045. type: string
  5046. userid:
  5047. description: 机构ID
  5048. type: integer
  5049. username:
  5050. description: 机构名称
  5051. type: string
  5052. warehousecode:
  5053. description: 仓库代码
  5054. type: string
  5055. warehouseinfoid:
  5056. description: 仓库ID
  5057. type: string
  5058. warehousename:
  5059. description: 仓库名称
  5060. type: string
  5061. warehousetype:
  5062. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5063. type: integer
  5064. wrstandardcode:
  5065. description: 现货商品代码
  5066. type: string
  5067. wrstandardid:
  5068. description: 现货商品ID
  5069. type: string
  5070. wrstandardname:
  5071. description: 现货商品名称
  5072. type: string
  5073. type: object
  5074. models.ErmcpAvalidGoodsGroupModel:
  5075. properties:
  5076. goodsgroupid:
  5077. description: 期货品种id
  5078. type: integer
  5079. goodsgroupname:
  5080. description: 期货品种名称
  5081. type: string
  5082. goodunitid:
  5083. description: 品种单位id
  5084. type: integer
  5085. goodunitname:
  5086. description: 品种单位名称
  5087. type: string
  5088. outergroupcode:
  5089. description: 期货品种代码
  5090. type: string
  5091. type: object
  5092. models.ErmcpBizGroupEx:
  5093. properties:
  5094. acclist:
  5095. description: 账号列表
  5096. items:
  5097. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5098. type: array
  5099. bizgroupid:
  5100. description: 业务分组id
  5101. type: integer
  5102. biztype:
  5103. description: 业务类型 1-套保 2-套利
  5104. type: integer
  5105. wrlist:
  5106. description: 现货商品表
  5107. items:
  5108. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5109. type: array
  5110. type: object
  5111. models.ErmcpBizGroupSpotGoods:
  5112. properties:
  5113. areauserid:
  5114. description: 所属机构id
  5115. type: integer
  5116. bizgroupid:
  5117. description: 分组id
  5118. type: integer
  5119. biztype:
  5120. description: 业务类型 1-套保 2-套利
  5121. type: integer
  5122. deliverygoodscode:
  5123. description: 现货商品代码
  5124. type: string
  5125. deliverygoodsid:
  5126. description: 现货商品id
  5127. type: integer
  5128. deliverygoodsname:
  5129. description: 现货商品名称
  5130. type: string
  5131. unitid:
  5132. description: 现货商品单位id
  5133. type: integer
  5134. type: object
  5135. models.ErmcpBizGroupTaAccount:
  5136. properties:
  5137. accountid:
  5138. description: 账号id
  5139. type: integer
  5140. accountname:
  5141. description: 账号名称
  5142. type: string
  5143. areauserid:
  5144. description: 所属机构id
  5145. type: integer
  5146. bizgroupid:
  5147. description: 业务分组id
  5148. type: integer
  5149. ismain:
  5150. description: 是否主账号 1-是 0-否
  5151. type: integer
  5152. type: object
  5153. models.ErmcpDGFactoryItem:
  5154. properties:
  5155. areauserid:
  5156. description: 用户id
  5157. type: integer
  5158. deliverygoodsid:
  5159. description: 现货品种ID
  5160. type: integer
  5161. dgfactoryitemid:
  5162. description: 选择项ID(SEQ_DGFACTORYITEM)
  5163. type: integer
  5164. dgfactoryitemtypeid:
  5165. description: 要素项类型
  5166. type: integer
  5167. dgfactoryitemvalue:
  5168. description: 要素项值(类型为仓库时填写仓库名称)
  5169. type: string
  5170. isvalid:
  5171. description: 是否有效 - 0:无效 1:有效
  5172. type: integer
  5173. orderindex:
  5174. description: 顺序
  5175. type: integer
  5176. warehouseid:
  5177. description: 仓库ID(类型为仓库时填写)
  5178. type: integer
  5179. type: object
  5180. models.ErmcpDeliveryGoods:
  5181. properties:
  5182. agreeunit:
  5183. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5184. type: integer
  5185. areauserid:
  5186. description: 所属机构
  5187. type: integer
  5188. auditflag:
  5189. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5190. type: integer
  5191. categoryid:
  5192. description: 类别ID(SEQ_WRCATEGORY)
  5193. type: integer
  5194. deliverygoodscode:
  5195. description: 现货品种代码
  5196. type: string
  5197. deliverygoodsid:
  5198. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5199. type: integer
  5200. deliverygoodsname:
  5201. description: 现货品种名称
  5202. type: string
  5203. deliverygoodstype:
  5204. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5205. type: integer
  5206. dgstatus:
  5207. description: 品种状态 - 作废 - 0:未激活 1:正常
  5208. type: integer
  5209. enumdicname:
  5210. description: 现货品种单位名称
  5211. type: string
  5212. goodsunitid:
  5213. description: 现货品种单位ID
  5214. type: integer
  5215. isvalid:
  5216. description: 是否有效 - 0:无效 1:有效
  5217. type: integer
  5218. qtydecimalplace:
  5219. description: 成交量小数位
  5220. type: integer
  5221. remark:
  5222. description: 备注
  5223. type: string
  5224. standardqty:
  5225. description: 标准数量(库位数量) [标准品特有]
  5226. type: integer
  5227. standardqtyrange:
  5228. description: 标准数量偏差范围 [标准品特有]
  5229. type: integer
  5230. type: object
  5231. models.ErmcpDeliveryGoodsDetail2:
  5232. properties:
  5233. convertratio:
  5234. description: 套保系数(折算系数)
  5235. type: number
  5236. data:
  5237. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5238. description: 现货商品基本信息(交割品种)
  5239. type: object
  5240. gblist:
  5241. description: 品牌列表
  5242. items:
  5243. $ref: '#/definitions/models.Ermcp3Brand'
  5244. type: array
  5245. gmlist:
  5246. description: 品类列表(仓单标准)
  5247. items:
  5248. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5249. type: array
  5250. type: object
  5251. models.ErmcpDeliveryGoodsDetailEx:
  5252. properties:
  5253. data:
  5254. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5255. description: 现货商品基本信息(交割品种)
  5256. type: object
  5257. gblist:
  5258. description: 品牌列表
  5259. items:
  5260. $ref: '#/definitions/models.Ermcp3Brand'
  5261. type: array
  5262. gmlist:
  5263. description: 品类列表(仓单标准)
  5264. items:
  5265. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5266. type: array
  5267. mgList:
  5268. description: 套保列表
  5269. items:
  5270. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5271. type: array
  5272. type: object
  5273. models.ErmcpExposureDetailModel:
  5274. properties:
  5275. areauserid:
  5276. description: 机构ID
  5277. type: integer
  5278. changeQty:
  5279. description: 套保变动量
  5280. type: number
  5281. contracttype:
  5282. description: 现货合同类型 - 1:采购 -1:销售
  5283. type: integer
  5284. convertfactor:
  5285. description: 标仓系数
  5286. type: number
  5287. convertratio:
  5288. description: 套保系数
  5289. type: number
  5290. createtime:
  5291. description: 时间
  5292. type: string
  5293. enumdicname:
  5294. description: 现货商品单位名称
  5295. type: string
  5296. logtype:
  5297. description: 类型 - 1:套保计划 2:现货合同
  5298. type: integer
  5299. middlegoodsId:
  5300. description: 套保商品id
  5301. type: integer
  5302. middlegoodscode:
  5303. description: 套保商品代码
  5304. type: string
  5305. middlegoodsname:
  5306. description: 套保商品名称
  5307. type: string
  5308. qty:
  5309. description: 数量
  5310. type: number
  5311. relateNo:
  5312. description: 现货合同/套保计划编号
  5313. type: string
  5314. wrstandardcode:
  5315. description: 现货商品代码
  5316. type: string
  5317. wrstandardid:
  5318. description: 现货商品ID
  5319. type: integer
  5320. wrstandardname:
  5321. description: 现货商品名称
  5322. type: string
  5323. type: object
  5324. models.ErmcpExposurePostion:
  5325. properties:
  5326. agreeunit:
  5327. description: 合约单位
  5328. type: string
  5329. areauserid:
  5330. description: 所属机构id
  5331. type: integer
  5332. convertratio:
  5333. description: 期货品种系数(折算系数)
  5334. type: number
  5335. curqty:
  5336. description: 当前持仓
  5337. type: integer
  5338. diffhedgeqty:
  5339. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5340. type: number
  5341. diffqty:
  5342. description: 持仓变动量=当前持仓-昨日持仓
  5343. type: integer
  5344. goodscode:
  5345. description: 商品代码
  5346. type: string
  5347. goodsid:
  5348. description: 商品id
  5349. type: integer
  5350. goodsname:
  5351. description: 商品名称
  5352. type: string
  5353. middlegoodsid:
  5354. description: 套保商品id
  5355. type: integer
  5356. ydqty:
  5357. description: 昨日持仓
  5358. type: integer
  5359. type: object
  5360. models.ErmcpFuturesCompany:
  5361. properties:
  5362. brokerid:
  5363. description: 经纪公司代码
  5364. type: string
  5365. channeladdress:
  5366. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5367. type: string
  5368. channelid:
  5369. description: 对冲渠道ID
  5370. type: string
  5371. createtime:
  5372. description: 创建时间
  5373. type: string
  5374. creatorid:
  5375. description: 创建人
  5376. type: string
  5377. fcid:
  5378. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5379. type: integer
  5380. fcname:
  5381. description: 期货公司名称
  5382. type: string
  5383. isvalid:
  5384. description: 是否有效 - 0:无效 1:有效
  5385. type: integer
  5386. mhpaddress:
  5387. description: MHP服务地址(IP:Port)
  5388. type: string
  5389. riskrulegroupid:
  5390. description: 风控规则组ID
  5391. type: string
  5392. tradefeetmpid:
  5393. description: 手续费模板ID[TradeConfigTmpType为2]
  5394. type: string
  5395. trademargintmpid:
  5396. description: 保证金模板ID [TradeConfigTmpType为1]
  5397. type: string
  5398. traderatetmpid:
  5399. description: 汇率模板ID[TradeConfigTmpType为3]
  5400. type: string
  5401. updatetime:
  5402. description: 更新时间
  5403. type: string
  5404. updatorid:
  5405. description: 更新人
  5406. type: string
  5407. type: object
  5408. models.ErmcpGGConvertCfg:
  5409. properties:
  5410. convertratio:
  5411. description: 折算系数
  5412. type: number
  5413. destgoodsgroupid:
  5414. description: 目标品种ID
  5415. type: integer
  5416. dstcode:
  5417. description: 目录品种代码
  5418. type: string
  5419. dstexchangecode:
  5420. description: 目标期货交易所
  5421. type: string
  5422. dstname:
  5423. description: 目标品种名称
  5424. type: string
  5425. dstunitid:
  5426. description: 目标品种单位ID
  5427. type: integer
  5428. dstunitidname:
  5429. description: 目标品种单位名称
  5430. type: string
  5431. modifytime:
  5432. description: 修改时间
  5433. type: string
  5434. srccode:
  5435. description: 源品种代码
  5436. type: string
  5437. srcexchangecode:
  5438. description: 源期货交易所
  5439. type: string
  5440. srcgoodsgroupid:
  5441. description: 源品种ID
  5442. type: integer
  5443. srcname:
  5444. description: 源品种名称
  5445. type: string
  5446. srcunitid:
  5447. description: 源品种单位ID
  5448. type: integer
  5449. srcunitidname:
  5450. description: 源品种单位名称
  5451. type: string
  5452. type: object
  5453. models.ErmcpGoodsBrand:
  5454. properties:
  5455. areauserid:
  5456. description: 所属机构
  5457. type: integer
  5458. brandid:
  5459. description: BrandID(SEQ_SPOTGOODSBRAND)
  5460. type: integer
  5461. brandname:
  5462. description: 品牌名称
  5463. type: string
  5464. createtime:
  5465. description: 创建时间
  5466. type: string
  5467. creatorid:
  5468. description: 创建人
  5469. type: integer
  5470. creatorsrc:
  5471. description: 创建人来源 - 1:管理端 2:终端
  5472. type: integer
  5473. deliverygoodsid:
  5474. description: 现货品种ID
  5475. type: integer
  5476. isvalid:
  5477. description: 是否有效 - 0:无效 1:有效
  5478. type: integer
  5479. updatetime:
  5480. description: 更新时间
  5481. type: string
  5482. updatorid:
  5483. description: 更新人
  5484. type: integer
  5485. updatorsrc:
  5486. description: 更新人来源 - 1:管理端 2:终端
  5487. type: integer
  5488. wrstandardid:
  5489. description: 现货商品ID
  5490. type: integer
  5491. type: object
  5492. models.ErmcpGoodsModel:
  5493. properties:
  5494. areauserid:
  5495. description: 所属机构
  5496. type: integer
  5497. convertfactor:
  5498. description: 标仓系数
  5499. type: number
  5500. createtime:
  5501. description: 创建时间
  5502. type: string
  5503. creatorid:
  5504. description: 创建人
  5505. type: integer
  5506. creatorsrc:
  5507. description: 创建人来源 - 1:管理端 2:终端
  5508. type: integer
  5509. deliverygoodsid:
  5510. description: 现货品种ID
  5511. type: integer
  5512. isvalid:
  5513. description: 是否有效 - 0:无效 1:有效
  5514. type: integer
  5515. modelid:
  5516. description: ModelID(SEQ_SPOTGOODSMODEL)
  5517. type: integer
  5518. modelname:
  5519. description: 型号名称
  5520. type: string
  5521. updatetime:
  5522. description: 更新时间
  5523. type: string
  5524. updatorid:
  5525. description: 更新人
  5526. type: integer
  5527. updatorsrc:
  5528. description: 更新人来源 - 1:管理端 2:终端
  5529. type: integer
  5530. wrstandardid:
  5531. description: 现货商品ID
  5532. type: integer
  5533. type: object
  5534. models.ErmcpHedgePlan:
  5535. properties:
  5536. areauserid:
  5537. description: 用户ID
  5538. type: integer
  5539. audittime:
  5540. description: 审核时间
  5541. type: string
  5542. contracttype:
  5543. description: 计划类型 - 1:采购 -1:销售
  5544. type: integer
  5545. convertfactor:
  5546. description: 标仓系数
  5547. type: number
  5548. createtime:
  5549. description: 创建时间
  5550. type: string
  5551. deliverygoodsid:
  5552. description: 现货品种ID
  5553. type: integer
  5554. deliverygoodsname:
  5555. description: 现货品种名称
  5556. type: string
  5557. enumdicname:
  5558. description: 单位名称
  5559. type: string
  5560. hedgeplanid:
  5561. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5562. type: string
  5563. hedgeplanno:
  5564. description: 套保计划编号(名称)
  5565. type: string
  5566. hedgeplanstatus:
  5567. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5568. type: integer
  5569. planqty:
  5570. description: 计划数量
  5571. type: number
  5572. plantime:
  5573. description: 计划时间
  5574. type: string
  5575. producttype:
  5576. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5577. type: integer
  5578. remark:
  5579. description: 备注
  5580. type: string
  5581. spotgoodsdesc:
  5582. description: 商品型号
  5583. type: string
  5584. unitid:
  5585. description: 单位id
  5586. type: integer
  5587. updatetime:
  5588. description: 更新时间
  5589. type: string
  5590. wrstandardid:
  5591. description: 现货商品ID
  5592. type: integer
  5593. wrstandardname:
  5594. description: 现货商品名称
  5595. type: string
  5596. type: object
  5597. models.ErmcpHedgePosition:
  5598. properties:
  5599. accountid:
  5600. description: 资金账号[外部母账户]
  5601. type: integer
  5602. curbuyposition:
  5603. description: 期末买头寸
  5604. type: integer
  5605. cursellposition:
  5606. description: 期末卖头寸
  5607. type: integer
  5608. curtdbuyposition:
  5609. description: 期末今日买头寸
  5610. type: integer
  5611. curtdsellposition:
  5612. description: 期末今日卖头寸
  5613. type: integer
  5614. curydbuyposition:
  5615. description: 期末上日买头寸
  5616. type: integer
  5617. curydsellposition:
  5618. description: 期末上日卖头寸
  5619. type: integer
  5620. decreaseqty:
  5621. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5622. type: integer
  5623. fretdbuyposition:
  5624. description: 冻结今日买头寸
  5625. type: integer
  5626. fretdsellposition:
  5627. description: 冻结今日卖头寸
  5628. type: integer
  5629. freydbuyposition:
  5630. description: 冻结上日买头寸
  5631. type: integer
  5632. freydsellposition:
  5633. description: 冻结上日卖头寸
  5634. type: integer
  5635. goodscode:
  5636. description: 商品代码
  5637. type: string
  5638. goodsid:
  5639. description: 商品id
  5640. type: integer
  5641. goodsname:
  5642. description: 商品名称
  5643. type: string
  5644. hedgeaccountcode:
  5645. description: 对冲账号
  5646. type: string
  5647. hedgegoodsid:
  5648. description: 对冲合约ID
  5649. type: integer
  5650. increaseqty:
  5651. description: 增加数量 = 期末买头寸 - 期初买头寸
  5652. type: integer
  5653. marketid:
  5654. description: 市场ID
  5655. type: integer
  5656. relateduserid:
  5657. description: 关联用户id
  5658. type: integer
  5659. totalcurqty:
  5660. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5661. type: integer
  5662. totalydqty:
  5663. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5664. type: integer
  5665. tradedate:
  5666. description: 交易日(yyyyMMdd)
  5667. type: string
  5668. ydbuyposition:
  5669. description: 期初买头寸
  5670. type: integer
  5671. ydsellposition:
  5672. description: 期初卖头寸
  5673. type: integer
  5674. type: object
  5675. models.ErmcpHedgePositionDetail:
  5676. properties:
  5677. buyorsell:
  5678. description: 买卖方向 0-买 1-卖
  5679. type: integer
  5680. channelbuildtype:
  5681. description: 开平方向 1-建仓 2-平仓
  5682. type: integer
  5683. goodscode:
  5684. description: 商品代码
  5685. type: string
  5686. goodsname:
  5687. description: 商品名称
  5688. type: string
  5689. hedgegoodsid:
  5690. description: 商品id
  5691. type: integer
  5692. tradeqty:
  5693. description: 数量(成交数量)
  5694. type: integer
  5695. tradetime:
  5696. description: 时间(成交时间)
  5697. type: string
  5698. type: object
  5699. models.ErmcpHisExposure:
  5700. properties:
  5701. needhedgeexposoure:
  5702. description: 应套保敞口
  5703. type: number
  5704. reckondate:
  5705. description: 日照时期(yyyyMMdd)
  5706. type: string
  5707. totalexposure:
  5708. description: 总敞口
  5709. type: number
  5710. type: object
  5711. models.ErmcpHisExposureS:
  5712. properties:
  5713. data:
  5714. description: 历史敞口
  5715. items:
  5716. $ref: '#/definitions/models.ErmcpHisExposure'
  5717. type: array
  5718. enumdicname:
  5719. description: 单位名称
  5720. type: string
  5721. middlegoodscode:
  5722. description: 套保品种代码
  5723. type: string
  5724. middlegoodsid:
  5725. description: 套保品种ID
  5726. type: integer
  5727. middlegoodsname:
  5728. description: 套保品种名称
  5729. type: string
  5730. type: object
  5731. models.ErmcpLoginTaAccount:
  5732. properties:
  5733. accountid:
  5734. description: 账号id
  5735. type: integer
  5736. accountname:
  5737. description: 账号名称
  5738. type: string
  5739. type: object
  5740. models.ErmcpLoginUser:
  5741. properties:
  5742. acclist:
  5743. description: 关联资金账号
  5744. items:
  5745. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  5746. type: array
  5747. accountname:
  5748. description: 用户名称
  5749. type: string
  5750. clientroleid:
  5751. description: 角色id(usertype=2)
  5752. type: integer
  5753. createtime:
  5754. description: 创建时间
  5755. type: string
  5756. logincode:
  5757. description: 登录代码
  5758. type: string
  5759. loginid:
  5760. description: 登录id(LOGINID)
  5761. type: integer
  5762. loginname:
  5763. description: 登录名称(loginaccount表中的accountname字段)
  5764. type: string
  5765. loginstatus:
  5766. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5767. type: integer
  5768. memberuserid:
  5769. description: 所属会员id
  5770. type: integer
  5771. mobile:
  5772. description: 手机号
  5773. type: string
  5774. modifytime:
  5775. description: 修改时间
  5776. type: string
  5777. password:
  5778. description: 密码(不可解密)
  5779. type: string
  5780. rolename:
  5781. description: 角色名称
  5782. type: string
  5783. rolestatus:
  5784. description: 角色状态 1-启用 2-停用
  5785. type: integer
  5786. roletype:
  5787. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5788. type: string
  5789. userid:
  5790. description: 用户id
  5791. type: integer
  5792. usertype:
  5793. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5794. type: integer
  5795. type: object
  5796. models.ErmcpLoginUserEx:
  5797. properties:
  5798. accountstatus:
  5799. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  5800. type: integer
  5801. mobile:
  5802. description: 手机号
  5803. type: string
  5804. querytype:
  5805. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  5806. type: integer
  5807. roleid:
  5808. description: 角色id(交易账户->用户id)
  5809. type: integer
  5810. rolename:
  5811. description: 角色名称(交易账户->用户名称)
  5812. type: string
  5813. userlist:
  5814. description: 用户列表
  5815. items:
  5816. $ref: '#/definitions/models.ErmcpLoginUser'
  5817. type: array
  5818. usertype:
  5819. description: 用户类型 2-机构 7-企业成员(云平台)
  5820. type: integer
  5821. type: object
  5822. models.ErmcpMiddleGoodsChangeLog:
  5823. properties:
  5824. aftervalue:
  5825. description: 变更后
  5826. type: number
  5827. applyid:
  5828. description: 操作人
  5829. type: integer
  5830. applyname:
  5831. description: 操作人名称
  5832. type: string
  5833. applysrc:
  5834. description: 操作来源 - 1:管理端 2:终端
  5835. type: integer
  5836. beforevalue:
  5837. description: 变更前
  5838. type: number
  5839. changelogtype:
  5840. description: 变更流水类型 - 1:套保比率变更
  5841. type: integer
  5842. handlestatus:
  5843. description: 处理状态
  5844. type: integer
  5845. logdatetime:
  5846. description: 流水日期
  5847. type: string
  5848. logid:
  5849. description: 流水ID
  5850. type: integer
  5851. logremark:
  5852. description: 流水备注
  5853. type: string
  5854. middlegoodsid:
  5855. description: 套保品种ID
  5856. type: integer
  5857. tradedate:
  5858. description: 交易日(yyyyMMdd)
  5859. type: string
  5860. updatetime:
  5861. description: 更新时间
  5862. type: string
  5863. type: object
  5864. models.ErmcpMiddleGoodsDetail:
  5865. properties:
  5866. cvList:
  5867. description: 期货品种折算列表
  5868. items:
  5869. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5870. type: array
  5871. mg:
  5872. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5873. description: 套保品种基本信息
  5874. type: object
  5875. wrcList:
  5876. description: 现货品种列表(现货商品折算配置)
  5877. items:
  5878. $ref: '#/definitions/models.WRSConverTDetail'
  5879. type: array
  5880. type: object
  5881. models.ErmcpMiddleGoodsModel:
  5882. properties:
  5883. areauserid:
  5884. description: 机构用户ID
  5885. type: integer
  5886. createtime:
  5887. description: 修改时间
  5888. type: string
  5889. enumdicname:
  5890. description: 单位名称
  5891. type: string
  5892. evaluateratio:
  5893. description: 估价系数
  5894. type: number
  5895. goodsgroupid:
  5896. description: 关联期货品种ID
  5897. type: integer
  5898. goodsunitid:
  5899. description: 单位ID
  5900. type: integer
  5901. isvalid:
  5902. description: 状态 0-无效(停用) 1-有效(正常)
  5903. type: integer
  5904. middlegoodscode:
  5905. description: 套保品种代码
  5906. type: string
  5907. middlegoodsid:
  5908. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5909. type: integer
  5910. middlegoodsname:
  5911. description: 套保品种名称
  5912. type: string
  5913. modifytime:
  5914. description: 修改时间
  5915. type: string
  5916. needhedgeratio:
  5917. description: 套保比率
  5918. type: number
  5919. qtydecimalplace:
  5920. description: 数量小数位
  5921. type: integer
  5922. relatedgoodsid:
  5923. description: 关联交易商品ID
  5924. type: integer
  5925. relatedgoodstype:
  5926. description: 关联商品类型 - 1:期货合约 2:现货品种
  5927. type: integer
  5928. remark:
  5929. description: 备注
  5930. type: string
  5931. type: object
  5932. models.ErmcpModel:
  5933. properties:
  5934. accountname:
  5935. description: 账户名称
  5936. type: string
  5937. attachment:
  5938. description: 附件
  5939. type: string
  5940. audittime:
  5941. description: 审核时间
  5942. type: string
  5943. brandname:
  5944. description: 品牌名称
  5945. type: string
  5946. contracctstatus:
  5947. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5948. type: integer
  5949. contractmargin:
  5950. description: 合同保证金
  5951. type: number
  5952. contractno:
  5953. description: 合同编号
  5954. type: string
  5955. contracttype:
  5956. description: 合同类型 1-采购, -1-销售
  5957. type: integer
  5958. convertfactor:
  5959. description: 标仓系数
  5960. type: number
  5961. createtime:
  5962. description: 创建时间
  5963. type: string
  5964. daikaiamount:
  5965. description: 应收(开)票额
  5966. type: number
  5967. deliveryenddate:
  5968. description: 交割结束日
  5969. type: string
  5970. deliverygoodscode:
  5971. description: 现货品种代码
  5972. type: string
  5973. deliverygoodsid:
  5974. description: 现货商品ID
  5975. type: integer
  5976. deliverygoodsname:
  5977. description: 现货品种名称
  5978. type: string
  5979. deliverystartdate:
  5980. description: 交割开始日
  5981. type: string
  5982. enddate:
  5983. description: 点价结束日
  5984. type: string
  5985. enumdicname:
  5986. description: 单位名称
  5987. type: string
  5988. goodscode:
  5989. description: 点价商品代码
  5990. type: string
  5991. goodsid:
  5992. description: 点价商品ID
  5993. type: integer
  5994. goodsname:
  5995. description: 点价商品名称
  5996. type: string
  5997. invoiceamount:
  5998. description: 已开票额
  5999. type: number
  6000. loanamount:
  6001. description: 贷款总额=已定价额+调整金额
  6002. type: number
  6003. margin:
  6004. description: 保证金
  6005. type: number
  6006. modelname:
  6007. description: 型号名称
  6008. type: string
  6009. payamount:
  6010. description: 已收付额(收款或付款)
  6011. type: number
  6012. preinvoiceamount:
  6013. description: 预收(开)票额
  6014. type: number
  6015. prepayamount:
  6016. description: 预收付额
  6017. type: number
  6018. price:
  6019. description: 价格
  6020. type: number
  6021. pricedamount:
  6022. description: 已定价额
  6023. type: number
  6024. pricedavg:
  6025. description: 已点均价
  6026. type: number
  6027. pricedqty:
  6028. description: 已定价量
  6029. type: number
  6030. pricemove:
  6031. description: 升贴水
  6032. type: number
  6033. pricetype:
  6034. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6035. type: integer
  6036. producttype:
  6037. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6038. type: integer
  6039. qty:
  6040. description: 合同量
  6041. type: number
  6042. reckonadjustamount:
  6043. description: 调整金额
  6044. type: number
  6045. reckonedamount:
  6046. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6047. type: number
  6048. reckonotheramount:
  6049. description: 其它费用
  6050. type: number
  6051. reckonrealqty:
  6052. description: 已确定量
  6053. type: number
  6054. remark:
  6055. description: 备注
  6056. type: string
  6057. spotcontractid:
  6058. description: 合同ID
  6059. type: string
  6060. spotgoodsbrandid:
  6061. description: 现货品牌ID
  6062. type: integer
  6063. spotgoodsdesc:
  6064. description: 商品型号(商品规格)
  6065. type: string
  6066. spotgoodsmodelid:
  6067. description: 现货型号ID
  6068. type: integer
  6069. startdate:
  6070. description: 点价开始日
  6071. type: string
  6072. totalamount:
  6073. description: 合计总额
  6074. type: number
  6075. unpayamount:
  6076. description: 应收付款额(应支付或应收款)
  6077. type: number
  6078. unpricedqty:
  6079. description: 未定价量
  6080. type: number
  6081. unsureqty:
  6082. description: 未确定量
  6083. type: number
  6084. userid:
  6085. description: 用户ID
  6086. type: integer
  6087. wrstandardcode:
  6088. description: 现货商品代码
  6089. type: string
  6090. wrstandardid:
  6091. description: 现货商品ID
  6092. type: integer
  6093. wrstandardname:
  6094. description: 现货商品名称
  6095. type: string
  6096. type: object
  6097. models.ErmcpOPLogModel:
  6098. properties:
  6099. aftervalue:
  6100. description: 变更后
  6101. type: number
  6102. applyid:
  6103. description: 操作人ID
  6104. type: string
  6105. applyname:
  6106. description: 操作人名称
  6107. type: string
  6108. beforevalue:
  6109. description: 变更前
  6110. type: number
  6111. biztype:
  6112. description: 业务类型 - 1:套保计划 2:现货合同
  6113. type: integer
  6114. contracttype:
  6115. description: 现货合同类型 - 1:采购 -1:销售
  6116. type: integer
  6117. logvalue:
  6118. description: 数值
  6119. type: number
  6120. operatelogtype:
  6121. description: 操作流水类型
  6122. type: integer
  6123. operatelogtypedesc:
  6124. description: 操作流水类型名称
  6125. type: string
  6126. relatedid:
  6127. description: 现货合同ID\套保计划
  6128. type: string
  6129. updatetime:
  6130. description: 更新时间
  6131. type: string
  6132. type: object
  6133. models.ErmcpPendingAudit:
  6134. properties:
  6135. areastockqty:
  6136. description: '待审核数量: 库存申请'
  6137. type: integer
  6138. businessdjqty:
  6139. description: '待审核数量: 点价'
  6140. type: integer
  6141. businessfpqty:
  6142. description: '待审核数量: 发票'
  6143. type: integer
  6144. businessjsqty:
  6145. description: '待审核数量: 结算'
  6146. type: integer
  6147. businesskxqty:
  6148. description: '待审核数量: 款项'
  6149. type: integer
  6150. hedgeplanqty:
  6151. description: '待审核数量: 套保计划'
  6152. type: integer
  6153. spotcontractqty:
  6154. description: '待审核数量: 现货合同'
  6155. type: integer
  6156. userqty:
  6157. description: '待审核数量: 用户'
  6158. type: integer
  6159. type: object
  6160. models.ErmcpRealExposureModel:
  6161. properties:
  6162. AreaUserID:
  6163. description: 所属机构
  6164. type: integer
  6165. BuyFutureQty:
  6166. description: 买入期货数量
  6167. type: number
  6168. BuyPlanQty:
  6169. description: 采购计划数量
  6170. type: number
  6171. BuyPricedQty:
  6172. description: 采购合同已定价数量
  6173. type: number
  6174. MiddleGoodsCode:
  6175. description: 套保品种代码
  6176. type: string
  6177. MiddleGoodsHedgeRatio:
  6178. description: 应套保比例
  6179. type: number
  6180. MiddleGoodsID:
  6181. description: 套保品种
  6182. type: integer
  6183. MiddleGoodsName:
  6184. description: 套保品种名称
  6185. type: string
  6186. NeedHedgeExposoure:
  6187. description: 应套保敞口
  6188. type: number
  6189. NeedHedgeRatio:
  6190. description: 应套保敞口比例
  6191. type: number
  6192. OriBuyFutureQty:
  6193. description: 期初买入期货数量
  6194. type: number
  6195. OriBuyPlanQty:
  6196. description: 期初采购计划数量
  6197. type: number
  6198. OriBuyPricedQty:
  6199. description: 期初采购合同已定价数量
  6200. type: number
  6201. OriSellFutureQty:
  6202. description: 期初卖出期货数量
  6203. type: number
  6204. OriSellPlanQty:
  6205. description: 期初销售计划数量
  6206. type: number
  6207. OriSellPricedQty:
  6208. description: 期初销售合同已定价数量
  6209. type: number
  6210. SellFutureQty:
  6211. description: 卖出期货数量
  6212. type: number
  6213. SellPlanQty:
  6214. description: 销售计划数量
  6215. type: number
  6216. SellPricedQty:
  6217. description: 销售合同已定价数量
  6218. type: number
  6219. TotalExposure:
  6220. description: 总敞口
  6221. type: number
  6222. TotalFutureQty:
  6223. description: 期货数量
  6224. type: number
  6225. TotalHedgeRatio:
  6226. description: 敞口比例
  6227. type: number
  6228. TotalNeedHedgeQty:
  6229. description: 期货应套保量
  6230. type: number
  6231. TotalSpotQty:
  6232. description: 现货数量
  6233. type: number
  6234. diffFutuQty:
  6235. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  6236. type: number
  6237. diffSpotQty:
  6238. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  6239. type: number
  6240. enumdicname:
  6241. description: 单位名称
  6242. type: string
  6243. oriTotalFutuQty:
  6244. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6245. type: number
  6246. oriTotalSpotQty:
  6247. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6248. type: number
  6249. type: object
  6250. models.ErmcpReportAreaSpotPL:
  6251. properties:
  6252. actualpl:
  6253. description: 实际损益
  6254. type: number
  6255. areauserid:
  6256. description: 所属机构
  6257. type: integer
  6258. brandname:
  6259. description: 品牌名称
  6260. type: string
  6261. curamount:
  6262. description: 期末额
  6263. type: number
  6264. curaverageprice:
  6265. description: 期末均价
  6266. type: number
  6267. curbuyamount:
  6268. description: 期末采购总额(采购额)
  6269. type: number
  6270. curbuyqty:
  6271. description: 期末采购总量
  6272. type: number
  6273. curmarketvalue:
  6274. description: 参考市值
  6275. type: number
  6276. curqty:
  6277. description: 期末量
  6278. type: number
  6279. cursellamount:
  6280. description: 期末销售总额(销售额)
  6281. type: number
  6282. cursellqty:
  6283. description: 期末销售总量
  6284. type: number
  6285. curspotprice:
  6286. description: 参考市价
  6287. type: number
  6288. enumdicname:
  6289. description: 现货商品单位名称
  6290. type: string
  6291. floatpl:
  6292. description: 浮动损益
  6293. type: number
  6294. gbenumdicname:
  6295. description: 品类单位名称
  6296. type: string
  6297. gbunitid:
  6298. description: 品类单位id
  6299. type: integer
  6300. modelname:
  6301. description: 品类名称
  6302. type: string
  6303. oriamount:
  6304. description: 期初额
  6305. type: number
  6306. oriaverageprice:
  6307. description: 期初均价
  6308. type: number
  6309. oribuyamount:
  6310. description: 期初采购总额
  6311. type: number
  6312. oribuyqty:
  6313. description: 期初采购总量
  6314. type: number
  6315. oriqty:
  6316. description: 期初量
  6317. type: number
  6318. orisellamount:
  6319. description: 期初销售总额
  6320. type: number
  6321. orisellqty:
  6322. description: 期初销售总量
  6323. type: number
  6324. spotgoodsbrandid:
  6325. description: 现货品牌ID
  6326. type: integer
  6327. spotgoodsmodelid:
  6328. description: 现货品类ID
  6329. type: integer
  6330. todaybuyamount:
  6331. description: 今日采购额
  6332. type: number
  6333. todaybuyaverageprice:
  6334. description: 今日采购均价(采购均价)
  6335. type: number
  6336. todaybuyqty:
  6337. description: 今日采购量(采购增量)
  6338. type: number
  6339. todaysellamount:
  6340. description: 今日销售额
  6341. type: number
  6342. todaysellaverageprice:
  6343. description: 今日销售均价(销售均价)
  6344. type: number
  6345. todaysellqty:
  6346. description: 今日销售量(销售增量)
  6347. type: number
  6348. unitid:
  6349. description: 现货商品单位id
  6350. type: integer
  6351. updatetime:
  6352. description: 更新时间
  6353. type: string
  6354. wrstandardcode:
  6355. description: 现货商品代码
  6356. type: string
  6357. wrstandardid:
  6358. description: 现货商品ID
  6359. type: integer
  6360. wrstandardname:
  6361. description: 现货商品名称
  6362. type: string
  6363. type: object
  6364. models.ErmcpReportDayExposure:
  6365. properties:
  6366. areauserid:
  6367. description: 所属机构
  6368. type: integer
  6369. buyfutureqty:
  6370. description: 买入期货数量
  6371. type: number
  6372. buyplanqty:
  6373. description: 采购计划数量
  6374. type: number
  6375. buypricedqty:
  6376. description: 采购合同已定价数量
  6377. type: number
  6378. diffFutuQty:
  6379. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  6380. type: number
  6381. diffSpotQty:
  6382. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  6383. type: number
  6384. enumdicname:
  6385. description: 单位名称
  6386. type: string
  6387. middlegoodscode:
  6388. description: 套保品种代码
  6389. type: string
  6390. middlegoodshedgeratio:
  6391. description: 应套保比例
  6392. type: number
  6393. middlegoodsid:
  6394. description: 套保品种ID
  6395. type: integer
  6396. middlegoodsname:
  6397. description: 套保品种名称
  6398. type: string
  6399. needhedgeexposoure:
  6400. description: 应套保敞口
  6401. type: number
  6402. needhedgeratio:
  6403. description: 应套保敞口比例
  6404. type: number
  6405. oriTotalFutuQty:
  6406. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6407. type: number
  6408. oriTotalSpotQty:
  6409. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6410. type: number
  6411. oribuyfutureqty:
  6412. description: 期初买入期货数量
  6413. type: number
  6414. oribuyplanqty:
  6415. description: 期初采购计划数量
  6416. type: number
  6417. oribuypricedqty:
  6418. description: 期初采购合同已定价数量
  6419. type: number
  6420. orisellfutureqty:
  6421. description: 期初卖出期货数量
  6422. type: number
  6423. orisellplanqty:
  6424. description: 期初销售计划数量
  6425. type: number
  6426. orisellpricedqty:
  6427. description: 期初销售合同已定价数量
  6428. type: number
  6429. reckondate:
  6430. description: 日照时期(yyyyMMdd)
  6431. type: string
  6432. sellfutureqty:
  6433. description: 卖出期货数量
  6434. type: number
  6435. sellplanqty:
  6436. description: 销售计划数量
  6437. type: number
  6438. sellpricedqty:
  6439. description: 销售合同已定价数量
  6440. type: number
  6441. totalexposure:
  6442. description: 总敞口
  6443. type: number
  6444. totalfutureqty:
  6445. description: 期货数量
  6446. type: number
  6447. totalhedgeratio:
  6448. description: 敞口比例
  6449. type: number
  6450. totalneedhedgeqty:
  6451. description: 期货应套保量
  6452. type: number
  6453. totalspotqty:
  6454. description: 现货数量
  6455. type: number
  6456. type: object
  6457. models.ErmcpReportDayFR:
  6458. properties:
  6459. areauserid:
  6460. description: 所属机构
  6461. type: integer
  6462. collectinvoiceamount:
  6463. description: 今日开票金额
  6464. type: number
  6465. collectinvoicecount:
  6466. description: 今日开票笔数
  6467. type: integer
  6468. collectmoneyamount:
  6469. description: 今日收款金额
  6470. type: number
  6471. collectmoneycount:
  6472. description: 今日收款笔数
  6473. type: integer
  6474. payinvoiceamount:
  6475. description: 今日收票金额
  6476. type: number
  6477. payinvoicecount:
  6478. description: 今日收票笔数
  6479. type: integer
  6480. paymoneyamount:
  6481. description: 今日付款金额
  6482. type: number
  6483. paymoneycount:
  6484. description: 今日付款笔数
  6485. type: integer
  6486. reckondate:
  6487. description: 日照时期(yyyyMMdd)
  6488. type: string
  6489. updatetime:
  6490. description: 更新时间
  6491. type: string
  6492. type: object
  6493. models.ErmcpReportDaySpot:
  6494. properties:
  6495. areauserid:
  6496. description: 所属机构T
  6497. type: integer
  6498. buyinqty:
  6499. description: 采购入库量
  6500. type: number
  6501. enumdicname:
  6502. description: 现货商品单位名称
  6503. type: string
  6504. reckondate:
  6505. description: 日照时期(yyyyMMdd)
  6506. type: string
  6507. selloutqty:
  6508. description: 销售出库量
  6509. type: number
  6510. todaybuyreckonqty:
  6511. description: 采购确定量
  6512. type: number
  6513. todaysellreckonqty:
  6514. description: 销售确定量
  6515. type: number
  6516. totalbuypricedqty:
  6517. description: 采购定价量 = 期末 - 期初
  6518. type: number
  6519. totalsellpricedqty:
  6520. description: 销售定价量 = 期末 - 期初
  6521. type: number
  6522. wrstandardcode:
  6523. description: 现货商品代码
  6524. type: string
  6525. wrstandardid:
  6526. description: 现货商品ID
  6527. type: integer
  6528. wrstandardname:
  6529. description: 现货商品名称
  6530. type: string
  6531. type: object
  6532. models.ErmcpReportMonSpot:
  6533. properties:
  6534. areauserid:
  6535. description: 所属机构T
  6536. type: integer
  6537. buyinqty:
  6538. description: 采购入库量
  6539. type: number
  6540. cycletime:
  6541. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6542. type: string
  6543. cycletype:
  6544. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6545. type: integer
  6546. enumdicname:
  6547. description: 现货商品单位名称
  6548. type: string
  6549. selloutqty:
  6550. description: 销售出库量
  6551. type: number
  6552. todaybuyreckonqty:
  6553. description: 采购确定量
  6554. type: number
  6555. todaysellreckonqty:
  6556. description: 销售确定量
  6557. type: number
  6558. totalbuypricedqty:
  6559. description: 采购定价量 = 期末 - 期初
  6560. type: number
  6561. totalsellpricedqty:
  6562. description: 销售定价量 = 期末 - 期初
  6563. type: number
  6564. wrstandardcode:
  6565. description: 现货商品代码
  6566. type: string
  6567. wrstandardid:
  6568. description: 现货商品ID
  6569. type: integer
  6570. wrstandardname:
  6571. description: 现货商品名称
  6572. type: string
  6573. type: object
  6574. models.ErmcpReportMonthFR:
  6575. properties:
  6576. areauserid:
  6577. description: 所属机构【原值】
  6578. type: integer
  6579. collectinvoiceamount:
  6580. description: 今日开票金额【汇总】
  6581. type: number
  6582. collectinvoicecount:
  6583. description: 今日开票笔数【汇总】
  6584. type: integer
  6585. collectmoneyamount:
  6586. description: 今日收款金额【汇总】
  6587. type: number
  6588. collectmoneycount:
  6589. description: 今日收款笔数 【汇总】
  6590. type: integer
  6591. cycletime:
  6592. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6593. type: string
  6594. cycletype:
  6595. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6596. type: integer
  6597. dayFr:
  6598. description: 日报表明细
  6599. items:
  6600. $ref: '#/definitions/models.ErmcpReportDayFR'
  6601. type: array
  6602. payinvoiceamount:
  6603. description: 今日收票金额【汇总】
  6604. type: number
  6605. payinvoicecount:
  6606. description: 今日收票笔数【汇总】
  6607. type: integer
  6608. paymoneyamount:
  6609. description: 今日付款金额【汇总】
  6610. type: number
  6611. paymoneycount:
  6612. description: 今日付款笔数【汇总】
  6613. type: integer
  6614. updatetime:
  6615. description: 更新时间
  6616. type: string
  6617. type: object
  6618. models.ErmcpReportOPLog:
  6619. properties:
  6620. applyid:
  6621. description: 操作人
  6622. type: integer
  6623. applyname:
  6624. description: 操作人名称
  6625. type: string
  6626. biztype:
  6627. description: 业务类型 - 1:套保计划 2:现货合同
  6628. type: integer
  6629. brandname:
  6630. description: 品牌名称
  6631. type: string
  6632. contracttype:
  6633. description: 现货合同类型 - 1:采购 -1:销售
  6634. type: integer
  6635. enumdicName:
  6636. description: 单位名称
  6637. type: string
  6638. logdatetime:
  6639. description: 流水日期(时间)
  6640. type: string
  6641. logid:
  6642. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  6643. type: string
  6644. logtypename:
  6645. description: 合同类型(名称)
  6646. type: string
  6647. logvalue:
  6648. description: 数值
  6649. type: string
  6650. modelname:
  6651. description: 型号名称
  6652. type: string
  6653. operatelogtype:
  6654. description: 操作流水类型 -
  6655. type: integer
  6656. optypename:
  6657. description: 流水类型名称
  6658. type: string
  6659. relatedid:
  6660. description: 现货合同ID\套保计划
  6661. type: string
  6662. relatedno:
  6663. description: 合同编号
  6664. type: string
  6665. tradedate:
  6666. description: 交易日(yyyyMMdd)
  6667. type: string
  6668. userid:
  6669. description: 机构ID
  6670. type: integer
  6671. wrstandardcode:
  6672. description: 现货商品代码
  6673. type: string
  6674. wrstandardid:
  6675. description: 现货商品ID
  6676. type: integer
  6677. wrstandardname:
  6678. description: 现货商品名称
  6679. type: string
  6680. type: object
  6681. models.ErmcpRole:
  6682. properties:
  6683. areauserid:
  6684. description: 所属机构
  6685. type: integer
  6686. autoid:
  6687. description: 角色ID(自增ID)
  6688. type: integer
  6689. modifierid:
  6690. description: 修改人(创建人)
  6691. type: integer
  6692. modifiername:
  6693. description: 修改人名称
  6694. type: string
  6695. modifytime:
  6696. description: 修改时间(创建时间)
  6697. type: string
  6698. rolename:
  6699. description: 角色名称
  6700. type: string
  6701. rolestatus:
  6702. description: 角色状态 - 1:启用 2:停用
  6703. type: integer
  6704. roletype:
  6705. description: 角色类型 - 1- 管理端 2- 交易端
  6706. type: integer
  6707. type: object
  6708. models.ErmcpRoleMenu:
  6709. properties:
  6710. iconame:
  6711. description: 菜单图标
  6712. type: string
  6713. menutype:
  6714. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6715. type: integer
  6716. parentcode:
  6717. description: 上级资源代码
  6718. type: string
  6719. remark:
  6720. description: 菜单备注
  6721. type: string
  6722. resourcecode:
  6723. description: 菜单代码
  6724. type: string
  6725. resourcelevel:
  6726. description: 级别
  6727. type: integer
  6728. resourcename:
  6729. description: 菜单名称
  6730. type: string
  6731. roleid:
  6732. description: 角色id
  6733. type: integer
  6734. sort:
  6735. description: 排序
  6736. type: integer
  6737. url:
  6738. description: URL
  6739. type: string
  6740. userid:
  6741. description: 用户id
  6742. type: integer
  6743. type: object
  6744. models.ErmcpRoleMenuEx:
  6745. properties:
  6746. menu:
  6747. $ref: '#/definitions/models.ErmcpRoleMenu'
  6748. description: 父级菜单
  6749. type: object
  6750. subMenu:
  6751. description: 子级菜单
  6752. items:
  6753. $ref: '#/definitions/models.ErmcpRoleMenu'
  6754. type: array
  6755. type: object
  6756. models.ErmcpSpotContractModel:
  6757. properties:
  6758. amount:
  6759. description: 金额 [1:一口价、3:暂定价]
  6760. type: number
  6761. attachment:
  6762. description: 附件
  6763. type: string
  6764. auditremark:
  6765. description: 审核意见
  6766. type: string
  6767. audittime:
  6768. description: 审核时间
  6769. type: string
  6770. brandname:
  6771. description: 品牌名称
  6772. type: string
  6773. buyuserid:
  6774. description: 采购方ID
  6775. type: integer
  6776. buyusername:
  6777. description: 采购方名称
  6778. type: string
  6779. contracctstatus:
  6780. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6781. type: integer
  6782. contractmargin:
  6783. description: 合同保证金
  6784. type: number
  6785. contractno:
  6786. description: 现货合同编号
  6787. type: string
  6788. contracttype:
  6789. description: 现货合同类型 - 1:采购 -1:销售
  6790. type: integer
  6791. convertfactor:
  6792. description: 标仓系数
  6793. type: number
  6794. createtime:
  6795. description: 创建时间
  6796. type: string
  6797. deliveryenddate:
  6798. description: 交收期(结束)
  6799. type: string
  6800. deliverygoodscode:
  6801. description: 现货品种代码
  6802. type: string
  6803. deliverygoodsid:
  6804. description: 现货品种ID
  6805. type: integer
  6806. deliverygoodsname:
  6807. description: 现货品种名称
  6808. type: string
  6809. deliverystartdate:
  6810. description: 交收期(开始)
  6811. type: string
  6812. enddate:
  6813. description: 点价结束日期 [2:点价 3:暂定价]
  6814. type: string
  6815. enumdicname:
  6816. description: 单位名称
  6817. type: string
  6818. goodscode:
  6819. description: 点价合约代码
  6820. type: string
  6821. goodsid:
  6822. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  6823. type: integer
  6824. goodsname:
  6825. description: 点价商品名称
  6826. type: string
  6827. margin:
  6828. description: 当前保证金
  6829. type: number
  6830. modelname:
  6831. description: 型号名称
  6832. type: string
  6833. price:
  6834. description: 价格\暂定价 [1:一口价、3:暂定价]
  6835. type: number
  6836. pricemove:
  6837. description: 升贴水 [2:点价 3:暂定价]
  6838. type: number
  6839. pricetype:
  6840. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6841. type: integer
  6842. producttype:
  6843. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6844. type: integer
  6845. qty:
  6846. description: 数量
  6847. type: number
  6848. remark:
  6849. description: 备注
  6850. type: string
  6851. selluserid:
  6852. description: 销售方ID
  6853. type: integer
  6854. sellusername:
  6855. description: 销售方名称
  6856. type: string
  6857. spotcontractid:
  6858. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6859. type: string
  6860. spotgoodsbrandid:
  6861. description: 现货品牌ID
  6862. type: integer
  6863. spotgoodsdesc:
  6864. description: 商品型号
  6865. type: string
  6866. spotgoodsmodelid:
  6867. description: 现货型号ID
  6868. type: integer
  6869. startdate:
  6870. description: 点价开始日期 [2:点价 3:暂定价]
  6871. type: string
  6872. updatetime:
  6873. description: 更新时间
  6874. type: string
  6875. userid:
  6876. description: 机构ID
  6877. type: integer
  6878. wrstandardcode:
  6879. description: 现货商品代码
  6880. type: string
  6881. wrstandardid:
  6882. description: 现货商品ID
  6883. type: integer
  6884. wrstandardname:
  6885. description: 现货商品名称
  6886. type: string
  6887. type: object
  6888. models.ErmcpSpotGoodsPrice:
  6889. properties:
  6890. areauserid:
  6891. description: 所属机构id
  6892. type: integer
  6893. brandname:
  6894. description: 品牌名称
  6895. type: string
  6896. currencyid:
  6897. description: 报价货币ID
  6898. type: integer
  6899. enumdicname:
  6900. description: 现货商品单位名称
  6901. type: string
  6902. gbenumdicname:
  6903. description: 品类单位名称
  6904. type: string
  6905. gmunitid:
  6906. description: 品类单位id
  6907. type: integer
  6908. isvalid:
  6909. description: 是否有效 - 0:无效 1:有效
  6910. type: integer
  6911. modelname:
  6912. description: 品类名称
  6913. type: string
  6914. operateid:
  6915. description: 最后操作人
  6916. type: integer
  6917. operatesrc:
  6918. description: 最后操作来源 - 1:管理端 2:终端
  6919. type: integer
  6920. operatetime:
  6921. description: 最后操作时间
  6922. type: string
  6923. operatorname:
  6924. description: 操作人名称
  6925. type: string
  6926. spotgoodsbrandid:
  6927. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6928. type: integer
  6929. spotgoodsmodelid:
  6930. description: 现货品类ID(通用则为0)
  6931. type: integer
  6932. spotgoodsprice:
  6933. description: 现货价格
  6934. type: number
  6935. tradedate:
  6936. description: 交易日(yyyyMMdd)
  6937. type: string
  6938. unitid:
  6939. description: 现货商品单位id
  6940. type: integer
  6941. wrstandardcode:
  6942. description: 现货商品代码
  6943. type: string
  6944. wrstandardid:
  6945. description: 现货商品ID
  6946. type: integer
  6947. wrstandardname:
  6948. description: 现货商品名称
  6949. type: string
  6950. type: object
  6951. models.ErmcpSpotGoodsPriceLog:
  6952. properties:
  6953. areauserid:
  6954. description: 所属机构id
  6955. type: integer
  6956. brandname:
  6957. description: 品牌名称
  6958. type: string
  6959. currencyid:
  6960. description: 报价货币ID
  6961. type: integer
  6962. enumdicname:
  6963. description: 现货商品单位名称
  6964. type: string
  6965. gbenumdicname:
  6966. description: 品类单位名称
  6967. type: string
  6968. gmunitid:
  6969. description: 品类单位id
  6970. type: integer
  6971. logid:
  6972. description: 日志id
  6973. type: integer
  6974. modelname:
  6975. description: 品类名称
  6976. type: string
  6977. operateid:
  6978. description: 最后操作人
  6979. type: integer
  6980. operatesrc:
  6981. description: 最后操作来源 - 1:管理端 2:终端
  6982. type: integer
  6983. operatetime:
  6984. description: 最后操作时间
  6985. type: string
  6986. operatorname:
  6987. description: 操作人名称
  6988. type: string
  6989. spotgoodsbrandid:
  6990. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6991. type: integer
  6992. spotgoodsmodelid:
  6993. description: 现货品类ID(通用则为0)
  6994. type: integer
  6995. spotgoodsprice:
  6996. description: 现货价格
  6997. type: number
  6998. tradedate:
  6999. description: 交易日(yyyyMMdd)
  7000. type: string
  7001. unitid:
  7002. description: 现货商品单位id
  7003. type: integer
  7004. wrstandardcode:
  7005. description: 现货商品代码
  7006. type: string
  7007. wrstandardid:
  7008. description: 现货商品ID
  7009. type: integer
  7010. wrstandardname:
  7011. description: 现货商品名称
  7012. type: string
  7013. type: object
  7014. models.ErmcpTaAccount:
  7015. properties:
  7016. accountid:
  7017. description: 账户id
  7018. type: integer
  7019. accountname:
  7020. description: 账户名称
  7021. type: string
  7022. currencyid:
  7023. description: 币种id
  7024. type: integer
  7025. hedgeaccountcode:
  7026. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7027. type: string
  7028. ismain:
  7029. description: 是否主账户 0-否 1-是
  7030. type: integer
  7031. parentaccountid:
  7032. description: 父账户id
  7033. type: integer
  7034. relateduserid:
  7035. description: 关联userid
  7036. type: integer
  7037. tradestatus:
  7038. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7039. type: integer
  7040. userid:
  7041. description: 用户id
  7042. type: integer
  7043. type: object
  7044. models.ErmcpTaAccountEx:
  7045. properties:
  7046. mainAcc:
  7047. $ref: '#/definitions/models.ErmcpTaAccountM'
  7048. description: 主账号
  7049. type: object
  7050. subacclist:
  7051. description: 子账号列表
  7052. items:
  7053. $ref: '#/definitions/models.ErmcpTaAccount'
  7054. type: array
  7055. type: object
  7056. models.ErmcpTaAccountInfo:
  7057. properties:
  7058. accountid:
  7059. description: 资金账户ID
  7060. type: integer
  7061. accountname:
  7062. description: 账户名称
  7063. type: string
  7064. balance:
  7065. description: 期初余额
  7066. type: number
  7067. capitalbalance:
  7068. description: 本金余额[外部子账户实际出入金余额]
  7069. type: number
  7070. closepl:
  7071. description: 今日平仓盈亏
  7072. type: number
  7073. creditdecrease:
  7074. description: 今日授信减少
  7075. type: number
  7076. creditincrease:
  7077. description: 今日授信增加
  7078. type: number
  7079. curdebt:
  7080. description: 期末欠款
  7081. type: number
  7082. currencyid:
  7083. description: 货币ID
  7084. type: integer
  7085. currentbalance:
  7086. description: 期末余额
  7087. type: number
  7088. freezecharge:
  7089. description: 手续费冻结
  7090. type: number
  7091. freezemargin:
  7092. description: 冻结保证金
  7093. type: number
  7094. fromaccountid:
  7095. description: 所属上级账户
  7096. type: integer
  7097. inamount:
  7098. description: 今日入金金额(包括三方入金)
  7099. type: number
  7100. ismain:
  7101. description: 是否母账号 0:不是母账户 1:是母账户
  7102. type: integer
  7103. mortgagecredit:
  7104. description: 授信金额
  7105. type: number
  7106. oridebt:
  7107. description: 期初欠款
  7108. type: number
  7109. orifreezecharge:
  7110. description: 期初手续费冻结
  7111. type: number
  7112. orifreezemargin:
  7113. description: 期初冻结保证金
  7114. type: number
  7115. orimortgagecredit:
  7116. description: 期初授信金额
  7117. type: number
  7118. oriothercredit:
  7119. description: 期初其它授信金额
  7120. type: number
  7121. oriotherfreezemargin:
  7122. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7123. type: number
  7124. orioutamountfreeze:
  7125. description: 期初出金冻结
  7126. type: number
  7127. oriusedmargin:
  7128. description: 期初占用保证金
  7129. type: number
  7130. othercredit:
  7131. description: 其它授信金额
  7132. type: number
  7133. othercreditdecrease:
  7134. description: 今日其它授信减少
  7135. type: number
  7136. othercreditincrease:
  7137. description: 今日其它授信增加
  7138. type: number
  7139. otherfreezemargin:
  7140. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7141. type: number
  7142. outamount:
  7143. description: 今日出金金额(包括三方出金)
  7144. type: number
  7145. outamountfreeze:
  7146. description: 出金冻结
  7147. type: number
  7148. outthreshold:
  7149. description: 出金阈值
  7150. type: number
  7151. parentaccountid:
  7152. description: 所属根账号
  7153. type: integer
  7154. paycharge:
  7155. description: 今日手续费支出
  7156. type: number
  7157. relateduserid:
  7158. description: 关联用户
  7159. type: integer
  7160. signstatus:
  7161. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7162. type: integer
  7163. sublevelpath:
  7164. description: 账号层级路径(逗号分隔,首尾加逗号)
  7165. type: string
  7166. taaccounttype:
  7167. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7168. type: integer
  7169. thirdinamount:
  7170. description: 今日三方入金
  7171. type: number
  7172. thirdoutamount:
  7173. description: 今日三方出金
  7174. type: number
  7175. tradestatus:
  7176. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7177. type: integer
  7178. transferamount:
  7179. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7180. type: number
  7181. usedmargin:
  7182. description: 占用保证金
  7183. type: number
  7184. userid:
  7185. description: 用户ID
  7186. type: integer
  7187. type: object
  7188. models.ErmcpTaAccountM:
  7189. properties:
  7190. accountid:
  7191. description: 账户id
  7192. type: integer
  7193. accountname:
  7194. description: 账户名称
  7195. type: string
  7196. currencyid:
  7197. description: 币种id
  7198. type: integer
  7199. fcid:
  7200. description: 期货公司id
  7201. type: integer
  7202. fcname:
  7203. description: 期货公司代码
  7204. type: string
  7205. hedgeaccountcode:
  7206. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7207. type: string
  7208. ismain:
  7209. description: 是否主账户 0-否 1-是
  7210. type: integer
  7211. parentaccountid:
  7212. description: 父账户id
  7213. type: integer
  7214. relateduserid:
  7215. description: 关联userid
  7216. type: integer
  7217. tradestatus:
  7218. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7219. type: integer
  7220. userid:
  7221. description: 用户id
  7222. type: integer
  7223. type: object
  7224. models.ErmcpTradeConfigTMP:
  7225. properties:
  7226. areauserid:
  7227. description: 所属机构
  7228. type: integer
  7229. basiccurrencyid:
  7230. description: 基本币种ID[汇率] - 目标币种
  7231. type: integer
  7232. mainaccountid:
  7233. description: 主账户ID
  7234. type: integer
  7235. modifierid:
  7236. description: 修改人
  7237. type: integer
  7238. remark:
  7239. description: 备注
  7240. type: string
  7241. tradeconfigtmpid:
  7242. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7243. type: integer
  7244. tradeconfigtmpname:
  7245. description: 交易配置模板名称
  7246. type: string
  7247. tradeconfigtmptype:
  7248. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7249. type: integer
  7250. updatetime:
  7251. description: 更新时间
  7252. type: string
  7253. type: object
  7254. models.ErmcpUserModel:
  7255. properties:
  7256. address:
  7257. description: 通讯地址
  7258. type: string
  7259. attachment1:
  7260. description: 附件1
  7261. type: string
  7262. audittime:
  7263. description: 审核时间
  7264. type: string
  7265. cardbackphotourl:
  7266. description: 证件反面图片地址
  7267. type: string
  7268. cardfrontphotourl:
  7269. description: 证件正面图片地址
  7270. type: string
  7271. cardnum:
  7272. description: 证件号码
  7273. type: string
  7274. cardtype:
  7275. description: 证件类型
  7276. type: integer
  7277. cardtypename:
  7278. description: 证件类型名称
  7279. type: string
  7280. cityid:
  7281. description: 市
  7282. type: integer
  7283. contactname:
  7284. description: 联系人
  7285. type: string
  7286. countryid:
  7287. description: 国家
  7288. type: integer
  7289. createtime:
  7290. description: 创建时间
  7291. type: string
  7292. customername:
  7293. description: 企业名称
  7294. type: string
  7295. districtid:
  7296. description: 区域
  7297. type: integer
  7298. email:
  7299. description: 邮件
  7300. type: string
  7301. legalpersonname:
  7302. description: 法人姓名(企业)
  7303. type: string
  7304. memberuserid:
  7305. description: 所属机构ID
  7306. type: integer
  7307. mobile:
  7308. description: 手机号码
  7309. type: string
  7310. modifytime:
  7311. description: 修改时间
  7312. type: string
  7313. nickname:
  7314. description: 昵称
  7315. type: string
  7316. provinceid:
  7317. description: 省
  7318. type: integer
  7319. remark:
  7320. description: 备注
  7321. type: string
  7322. status:
  7323. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7324. type: integer
  7325. statusdesc:
  7326. description: 账户状态中文描述
  7327. type: string
  7328. taxpayernum:
  7329. description: 纳税人识别号
  7330. type: string
  7331. telphone:
  7332. description: 联系电话
  7333. type: string
  7334. userid:
  7335. description: 用户ID
  7336. type: integer
  7337. userinfotype:
  7338. description: 客户类型
  7339. type: string
  7340. type: object
  7341. models.ErmcpWareHouseInfo:
  7342. properties:
  7343. address:
  7344. description: 详细地址
  7345. type: string
  7346. areauserid:
  7347. description: 所属机构
  7348. type: integer
  7349. autoid:
  7350. description: 自增ID(仓库ID)
  7351. type: integer
  7352. cityid:
  7353. description: 市
  7354. type: integer
  7355. contactname:
  7356. description: 联系人
  7357. type: string
  7358. contactnum:
  7359. description: 联系电话
  7360. type: string
  7361. countryid:
  7362. description: 国家
  7363. type: integer
  7364. createtime:
  7365. description: 创建时间
  7366. type: string
  7367. districtid:
  7368. description: 区
  7369. type: integer
  7370. hasvideo:
  7371. description: 是否有视频 - 0:无 1:有
  7372. type: integer
  7373. provinceid:
  7374. description: 省
  7375. type: integer
  7376. remark:
  7377. description: 审核备注
  7378. type: string
  7379. videourl:
  7380. description: 视频地址
  7381. type: string
  7382. warehousecode:
  7383. description: 仓库代码
  7384. type: string
  7385. warehousename:
  7386. description: 仓库名称
  7387. type: string
  7388. warehousestatus:
  7389. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7390. type: integer
  7391. warehousetype:
  7392. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7393. type: integer
  7394. type: object
  7395. models.ErmcpWrstandDetail:
  7396. properties:
  7397. gbList:
  7398. description: 品牌列表
  7399. items:
  7400. $ref: '#/definitions/models.GoodsBrand'
  7401. type: array
  7402. goodsList:
  7403. description: 关联交易商品列表
  7404. items:
  7405. $ref: '#/definitions/models.RelatedGoodsEx'
  7406. type: array
  7407. gtList:
  7408. description: 型号列表
  7409. items:
  7410. $ref: '#/definitions/models.GoodsTypeModel'
  7411. type: array
  7412. wrd:
  7413. $ref: '#/definitions/models.ErmcpWrstandard'
  7414. description: 基本信息
  7415. type: object
  7416. wrsList:
  7417. description: 套保信息列表
  7418. items:
  7419. $ref: '#/definitions/models.WRSConverTDetail'
  7420. type: array
  7421. type: object
  7422. models.ErmcpWrstandard:
  7423. properties:
  7424. areauserid:
  7425. description: 所属机构
  7426. type: integer
  7427. createtime:
  7428. description: 创建时间
  7429. type: string
  7430. creatorid:
  7431. description: 创建人
  7432. type: integer
  7433. deliverygoodsid:
  7434. description: 品种ID
  7435. type: integer
  7436. enumdicname:
  7437. description: 单位名称
  7438. type: string
  7439. isvalid:
  7440. description: 是否有效 0-无效(停用) 1-有效(正常)
  7441. type: integer
  7442. minivalue:
  7443. description: 最小变动值
  7444. type: integer
  7445. minivaluedp:
  7446. description: 最小变动值小数位
  7447. type: integer
  7448. realminivalue:
  7449. description: 实际最小变动值
  7450. type: integer
  7451. realminivaluedp:
  7452. description: 实际最小变动值小数位
  7453. type: integer
  7454. remark:
  7455. description: 备注
  7456. type: string
  7457. unitid:
  7458. description: 单位ID
  7459. type: integer
  7460. updatetime:
  7461. description: 更新时间
  7462. type: string
  7463. wrstandardcode:
  7464. description: 现货商品代码
  7465. type: string
  7466. wrstandardid:
  7467. description: 现货商品ID(SEQ_WRSTANDARD)
  7468. type: integer
  7469. wrstandardname:
  7470. description: 现货商品名称
  7471. type: string
  7472. type: object
  7473. models.Externalexchange:
  7474. properties:
  7475. autoid:
  7476. description: AutoID - SEQ_EXTERNALEXCHANGE
  7477. type: integer
  7478. exchangefullname:
  7479. description: 外部交易所全称
  7480. type: string
  7481. exexchangecode:
  7482. description: 外部交易所代码
  7483. type: string
  7484. exexchangename:
  7485. description: 外部交易所名称(简称)
  7486. type: string
  7487. ismarketprice:
  7488. description: 是否支持市价 - 0:不支持 1:支持
  7489. type: integer
  7490. quotegear:
  7491. description: 行情档位(1-10)
  7492. type: integer
  7493. showbrokerflag:
  7494. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7495. type: integer
  7496. updatetime:
  7497. description: 更新时间
  7498. type: string
  7499. required:
  7500. - autoid
  7501. type: object
  7502. models.Funcmenulist:
  7503. properties:
  7504. iconame:
  7505. description: 菜单图标
  7506. type: string
  7507. menutype:
  7508. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7509. type: integer
  7510. parentcode:
  7511. description: 上级资源代码
  7512. type: string
  7513. remark:
  7514. description: 备注
  7515. type: string
  7516. resourcecode:
  7517. description: 资源代码
  7518. type: string
  7519. resourcelevel:
  7520. description: 级别 1-一级 2-二级 3-三级 4-四级
  7521. type: integer
  7522. resourcename:
  7523. description: 资源名
  7524. type: string
  7525. sort:
  7526. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7527. type: integer
  7528. url:
  7529. description: URL
  7530. type: string
  7531. required:
  7532. - resourcecode
  7533. type: object
  7534. models.Goods:
  7535. properties:
  7536. agreeunit:
  7537. description: 合约单位
  7538. type: number
  7539. auditaccountid:
  7540. description: 审核操作员账号
  7541. type: integer
  7542. audittime:
  7543. description: 审核时间
  7544. type: string
  7545. cancelaccountid:
  7546. description: 注销操作员账号
  7547. type: integer
  7548. canceltime:
  7549. description: 注销时间
  7550. type: string
  7551. closepricemode:
  7552. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7553. type: integer
  7554. closepriceparam:
  7555. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7556. type: number
  7557. createtime:
  7558. description: 创建时间
  7559. type: string
  7560. creatorid:
  7561. description: 创建人
  7562. type: integer
  7563. currencyid:
  7564. description: 报价货币ID
  7565. type: integer
  7566. cutmode:
  7567. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7568. type: integer
  7569. decimalplace:
  7570. description: 报价小数位
  7571. type: integer
  7572. delistingdate:
  7573. description: 商品退市时间(状态:退市) -- 已作废
  7574. type: string
  7575. delistingmode:
  7576. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7577. type: integer
  7578. deliveryflag:
  7579. description: 交割标志 - 0:不可交割 1:可交割
  7580. type: integer
  7581. forceclosemode:
  7582. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7583. type: integer
  7584. forceclosevalue:
  7585. description: 定期强平参数 [收益权]
  7586. type: integer
  7587. goodscode:
  7588. description: 商品代码(内部)
  7589. type: string
  7590. goodscurrencyid:
  7591. description: 合约货币ID
  7592. type: integer
  7593. goodsgroupid:
  7594. description: 所属商品组ID
  7595. type: integer
  7596. goodsid:
  7597. description: 商品ID(自增ID SEQ_GOODS)
  7598. type: integer
  7599. goodsname:
  7600. description: 商品名称
  7601. type: string
  7602. goodsquotetype:
  7603. description: '合约报价类型: 1-直接报价 2-间接报价'
  7604. type: integer
  7605. goodsstatus:
  7606. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7607. type: integer
  7608. goodstradetype:
  7609. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7610. type: integer
  7611. goodunitid:
  7612. description: 报价单位ID
  7613. type: integer
  7614. hasquoter:
  7615. description: 是否有报价商 - 0:无报价商 1:有报价商
  7616. type: integer
  7617. hqprotecttime:
  7618. description: 行情保护时间(秒)
  7619. type: integer
  7620. innerdealmode:
  7621. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7622. type: integer
  7623. isbuylimited:
  7624. description: 是否限制建仓量 - 0:不限制 1:限制
  7625. type: integer
  7626. lasttradedate:
  7627. description: 最后交易日期(状态:待退市)
  7628. type: string
  7629. listingdate:
  7630. description: 交易开始日期
  7631. type: string
  7632. marketid:
  7633. description: 所属市场ID
  7634. type: integer
  7635. modifierid:
  7636. description: 修改人
  7637. type: integer
  7638. modifystatus:
  7639. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7640. type: integer
  7641. modifytime:
  7642. description: 修改时间
  7643. type: string
  7644. outerdealmode:
  7645. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7646. type: integer
  7647. outgoodscode:
  7648. description: 商品代码(外部)
  7649. type: string
  7650. qtydecimalplace:
  7651. description: 成交量小数位
  7652. type: integer
  7653. quotegear:
  7654. description: 行情档位(1-10)
  7655. type: integer
  7656. quoteminunit:
  7657. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7658. type: integer
  7659. quoteshowtype:
  7660. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7661. type: integer
  7662. quoteshowtypeinterval:
  7663. description: 行情报价间隔时间(秒)(成交价时为0)
  7664. type: integer
  7665. remark:
  7666. description: 备注
  7667. type: string
  7668. required:
  7669. - goodscode
  7670. - goodsid
  7671. - goodsname
  7672. - marketid
  7673. type: object
  7674. models.GoodsBrand:
  7675. properties:
  7676. brandid:
  7677. description: 品牌ID
  7678. type: integer
  7679. brandname:
  7680. description: 品牌名称
  7681. type: string
  7682. isvalid:
  7683. description: 是否有效 - 0:无效 1:有效
  7684. type: integer
  7685. type: object
  7686. models.GoodsIDAndName:
  7687. properties:
  7688. goodscode:
  7689. description: 商品代码(内部)
  7690. type: string
  7691. goodsid:
  7692. description: 商品ID(自增ID SEQ_GOODS)
  7693. type: integer
  7694. goodsname:
  7695. description: 商品名称
  7696. type: string
  7697. marketid:
  7698. description: 所属市场ID
  7699. type: integer
  7700. required:
  7701. - goodscode
  7702. - goodsid
  7703. - goodsname
  7704. - marketid
  7705. type: object
  7706. models.GoodsTypeModel:
  7707. properties:
  7708. convertfactor:
  7709. description: 标仓系数
  7710. type: number
  7711. modelid:
  7712. description: 型号ID
  7713. type: integer
  7714. modelname:
  7715. description: 型号名称
  7716. type: string
  7717. updatetime:
  7718. description: 更新时间
  7719. type: string
  7720. type: object
  7721. models.Goodsgroup:
  7722. properties:
  7723. agreeunit:
  7724. description: 合约单位
  7725. type: number
  7726. canshort:
  7727. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7728. type: integer
  7729. closepricemode:
  7730. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7731. type: integer
  7732. closepriceparam:
  7733. description: 强平最新价浮动比例 - 方式为2时使用
  7734. type: number
  7735. createtime:
  7736. description: 创建时间
  7737. type: string
  7738. creatorid:
  7739. description: 创建人
  7740. type: integer
  7741. currencyid:
  7742. description: 报价货币ID
  7743. type: integer
  7744. decimalplace:
  7745. description: 报价小数位
  7746. type: integer
  7747. exercisetype:
  7748. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7749. type: integer
  7750. exexchangeid:
  7751. description: 外部交易所ID[通道交易]
  7752. type: integer
  7753. goodsgroupid:
  7754. description: 商品组ID(自增ID)
  7755. type: integer
  7756. goodsgroupname:
  7757. description: 商品组名称
  7758. type: string
  7759. goodsgroupstatus:
  7760. description: 商品组状态 - 1:正常 2:注销
  7761. type: integer
  7762. goodunitid:
  7763. description: 报价单位ID
  7764. type: integer
  7765. innerdealmode:
  7766. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7767. type: integer
  7768. isbuylimited:
  7769. description: 是否限制建仓量 - 0:不限制 1:限制
  7770. type: integer
  7771. marketid:
  7772. description: 所属市场ID
  7773. type: integer
  7774. modifierid:
  7775. description: 修改人
  7776. type: integer
  7777. modifytime:
  7778. description: 修改时间
  7779. type: string
  7780. outerdealmode:
  7781. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7782. type: integer
  7783. outergroupcode:
  7784. description: 外部商品组代码[通道交易]
  7785. type: string
  7786. premiumdecimalplace:
  7787. description: 权利金小数位[场外期权]
  7788. type: integer
  7789. premiumspreadalgorithm:
  7790. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7791. type: integer
  7792. premiumspreadvalue:
  7793. description: 权利金点差值[场外期权]
  7794. type: number
  7795. qtydecimalplace:
  7796. description: 成交量小数位
  7797. type: integer
  7798. quotegear:
  7799. description: 行情档位(1-10)
  7800. type: integer
  7801. quoteminunit:
  7802. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7803. type: integer
  7804. quoterid:
  7805. description: 报价商ID[场外期权]
  7806. type: integer
  7807. quotesourcegroupid:
  7808. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7809. type: integer
  7810. syncgoodsqty:
  7811. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7812. type: integer
  7813. required:
  7814. - goodsgroupid
  7815. - goodsgroupname
  7816. - goodsgroupstatus
  7817. - marketid
  7818. type: object
  7819. models.Goodssortbypreposition:
  7820. properties:
  7821. goodscode:
  7822. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7823. type: string
  7824. goodsgroupcode:
  7825. description: 品种代码
  7826. type: string
  7827. prepositionqty:
  7828. description: 昨持仓量
  7829. type: integer
  7830. sortindex:
  7831. description: 排序
  7832. type: integer
  7833. tradedate:
  7834. description: 交易日
  7835. type: string
  7836. updatetime:
  7837. description: 更新时间
  7838. type: string
  7839. required:
  7840. - goodscode
  7841. - tradedate
  7842. type: object
  7843. models.Hedgeinnerholderdetail:
  7844. properties:
  7845. accountid:
  7846. description: 账号ID
  7847. type: integer
  7848. buyorsell:
  7849. description: 方向 - 0:买 1:卖
  7850. type: integer
  7851. freezeqty:
  7852. description: 冻结数量 - 按单平使用
  7853. type: integer
  7854. goodsid:
  7855. description: 商品ID
  7856. type: integer
  7857. holderamount:
  7858. description: 持仓金额 [商品币种]
  7859. type: number
  7860. holderdays:
  7861. description: 剩余冻结天数
  7862. type: integer
  7863. holderprice:
  7864. description: 持仓价格
  7865. type: number
  7866. holderqty:
  7867. description: 持仓数量
  7868. type: integer
  7869. marketid:
  7870. description: 市场ID
  7871. type: integer
  7872. openprice:
  7873. description: 建仓价格
  7874. type: number
  7875. openqty:
  7876. description: 建仓数量
  7877. type: integer
  7878. parentaccountid:
  7879. description: 所属母账户
  7880. type: integer
  7881. releaseamount:
  7882. description: 释放持仓金额[商品币种]
  7883. type: number
  7884. tradeamount:
  7885. description: 成交金额[账户]
  7886. type: number
  7887. tradedate:
  7888. description: 交易日(yyyyMMdd)
  7889. type: string
  7890. tradeid:
  7891. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7892. type: string
  7893. tradetime:
  7894. description: 交易时间
  7895. type: string
  7896. required:
  7897. - buyorsell
  7898. - tradeid
  7899. type: object
  7900. models.Hedgemarketopenlog:
  7901. properties:
  7902. accountid:
  7903. description: 资金账号[外部母账户]
  7904. type: integer
  7905. fcname:
  7906. description: 期货公司名称
  7907. type: string
  7908. handlestatus:
  7909. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7910. type: integer
  7911. marketid:
  7912. description: 市场ID
  7913. type: integer
  7914. status:
  7915. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7916. type: integer
  7917. tradedate:
  7918. description: 交易日(yyyyMMdd)
  7919. type: string
  7920. updatetime:
  7921. description: 更新时间
  7922. type: string
  7923. required:
  7924. - accountid
  7925. type: object
  7926. models.HsbyBuyMyPayOrder:
  7927. properties:
  7928. agreeunit:
  7929. description: 合约单位
  7930. type: number
  7931. buyaccountid:
  7932. description: 买方账号ID[报价币种]
  7933. type: integer
  7934. buyorderid:
  7935. description: 买方委托单号
  7936. type: string
  7937. createtime:
  7938. description: 创建时间
  7939. type: string
  7940. currencysign:
  7941. description: 货币符号
  7942. type: string
  7943. decimalplace:
  7944. description: 报价小数位
  7945. type: integer
  7946. goodscode:
  7947. description: 商品代码(内部)
  7948. type: string
  7949. goodsid:
  7950. description: 商品ID
  7951. type: integer
  7952. goodsname:
  7953. description: 商品名称
  7954. type: string
  7955. marketid:
  7956. description: 市场ID
  7957. type: integer
  7958. offamount:
  7959. description: 优惠金额
  7960. type: number
  7961. originalamount:
  7962. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7963. type: number
  7964. payamount:
  7965. description: 支付金额 = TradeAmount + TradeCharge
  7966. type: number
  7967. payflag:
  7968. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7969. type: integer
  7970. paylimitedtime:
  7971. description: 支付期限
  7972. type: string
  7973. paytime:
  7974. description: 付款时间
  7975. type: string
  7976. picurls1:
  7977. description: 预售商品介绍图片[多张用逗号分隔]
  7978. type: string
  7979. picurls2:
  7980. description: 挂牌商品介绍图片[多张用逗号分隔]
  7981. type: string
  7982. sellaccountid:
  7983. description: 卖方账号ID[报价币种]
  7984. type: integer
  7985. sellorderid:
  7986. description: 卖方委托单号
  7987. type: string
  7988. tradeamount:
  7989. description: 成交金额
  7990. type: number
  7991. tradecharge:
  7992. description: 成交手续费(买方)
  7993. type: number
  7994. tradedate:
  7995. description: 交易日(yyyyMMdd)
  7996. type: string
  7997. tradeid:
  7998. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7999. type: string
  8000. trademode:
  8001. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8002. 21:竞拍-大宗式 22:受托竞价
  8003. type: integer
  8004. tradeprice:
  8005. description: 成交价格
  8006. type: number
  8007. tradeqty:
  8008. description: 成交数量
  8009. type: integer
  8010. vendorname1:
  8011. description: 预售商品供应商名称
  8012. type: string
  8013. vendorname2:
  8014. description: 挂牌商品供应商名称
  8015. type: string
  8016. required:
  8017. - goodscode
  8018. - goodsname
  8019. - tradeid
  8020. - trademode
  8021. type: object
  8022. models.HsbyBuyMyTradeDetail:
  8023. properties:
  8024. accountid:
  8025. description: 账户ID[报价币种]
  8026. type: integer
  8027. agreeunit:
  8028. description: 合约单位
  8029. type: number
  8030. amount:
  8031. description: 金额 = 价格 * 数量 * 合约单位
  8032. type: number
  8033. buyorsell:
  8034. description: 买卖 - 0:买 1:卖
  8035. type: integer
  8036. currencysign:
  8037. description: 货币符号
  8038. type: string
  8039. decimalplace:
  8040. description: 报价小数位
  8041. type: integer
  8042. goodscode:
  8043. description: 商品代码(内部)
  8044. type: string
  8045. goodsid:
  8046. description: 商品ID
  8047. type: integer
  8048. goodsname:
  8049. description: 商品名称
  8050. type: string
  8051. marketid:
  8052. description: 市场ID
  8053. type: integer
  8054. orderamount:
  8055. description: 委托金额
  8056. type: number
  8057. orderid:
  8058. description: 单号(成交单号)
  8059. type: string
  8060. picurls1:
  8061. description: 预售商品介绍图片[多张用逗号分隔]
  8062. type: string
  8063. picurls2:
  8064. description: 挂牌商品介绍图片[多张用逗号分隔]
  8065. type: string
  8066. price:
  8067. description: 价格
  8068. type: number
  8069. qty:
  8070. description: 数量
  8071. type: integer
  8072. time:
  8073. description: 时间
  8074. type: string
  8075. trademode:
  8076. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8077. 21:竞拍-大宗式 22:受托竞价
  8078. type: integer
  8079. vendorname1:
  8080. description: 预售商品供应商名称
  8081. type: string
  8082. vendorname2:
  8083. description: 挂牌商品供应商名称
  8084. type: string
  8085. required:
  8086. - accountid
  8087. - buyorsell
  8088. - goodscode
  8089. - goodsid
  8090. - goodsname
  8091. - marketid
  8092. - orderid
  8093. - qty
  8094. - time
  8095. - trademode
  8096. type: object
  8097. models.HsbyGoodsOrderDetail:
  8098. properties:
  8099. buyorsell:
  8100. description: 买卖 - 0:买 1:卖
  8101. type: integer
  8102. currencysign:
  8103. description: 货币符号
  8104. type: string
  8105. customername:
  8106. description: 客户名称(企业名称),已脱敏
  8107. type: string
  8108. enableqty:
  8109. description: 可用数量
  8110. type: integer
  8111. goodunit:
  8112. description: 报价单位
  8113. type: string
  8114. orderid:
  8115. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8116. type: string
  8117. orderprice:
  8118. description: 委托价格
  8119. type: number
  8120. ordertime:
  8121. description: 委托时间
  8122. type: string
  8123. required:
  8124. - buyorsell
  8125. - orderid
  8126. - ordertime
  8127. type: object
  8128. models.HsbyListingGoodsDetail:
  8129. properties:
  8130. agreeunit:
  8131. description: 合约单位
  8132. type: number
  8133. buymaxqty:
  8134. description: 购买上限 [71] - 0为不限
  8135. type: integer
  8136. currency:
  8137. description: 货币
  8138. type: string
  8139. currencysign:
  8140. description: 货币符号
  8141. type: string
  8142. decimalplace:
  8143. description: 报价小数位
  8144. type: integer
  8145. desccityid:
  8146. description: 目的地(市)ID
  8147. type: integer
  8148. descprovinceid:
  8149. description: 目的地(省)ID
  8150. type: integer
  8151. goodscode:
  8152. description: 商品代码(内部)
  8153. type: string
  8154. goodsdesc:
  8155. description: 商品详情
  8156. type: string
  8157. goodsid:
  8158. description: 商品ID(自增ID SEQ_GOODS)
  8159. type: integer
  8160. goodsname:
  8161. description: 商品名称
  8162. type: string
  8163. goodsprice:
  8164. description: 商品价格
  8165. type: number
  8166. hotindex:
  8167. description: 景点热度
  8168. type: integer
  8169. last:
  8170. description: 现价
  8171. type: number
  8172. limitdown:
  8173. description: 跌停价
  8174. type: number
  8175. limitup:
  8176. description: 涨停价
  8177. type: number
  8178. lotsize:
  8179. description: 手数最小变动单位
  8180. type: integer
  8181. marketid:
  8182. description: 所属市场ID
  8183. type: integer
  8184. picurls:
  8185. description: 介绍图片[多张用逗号分隔]
  8186. type: string
  8187. quoteminunit:
  8188. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8189. type: integer
  8190. stepvalue:
  8191. description: 价格最小变动单位
  8192. type: number
  8193. trademode:
  8194. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8195. 21:竞拍-大宗式 22:受托竞价
  8196. type: integer
  8197. vendorattr:
  8198. description: 供应商附件(多张,逗号分隔)
  8199. type: string
  8200. vendorname:
  8201. description: 供应商名称
  8202. type: string
  8203. vendorphone:
  8204. description: 供应商客服电话
  8205. type: string
  8206. videourls:
  8207. description: 介绍视频[多张用逗号分隔]
  8208. type: string
  8209. required:
  8210. - goodscode
  8211. - goodsid
  8212. - goodsname
  8213. - marketid
  8214. - trademode
  8215. type: object
  8216. models.HsbyMarketGoods:
  8217. properties:
  8218. accountid:
  8219. description: 账户ID[报价币种]
  8220. type: integer
  8221. agreeunit:
  8222. description: 合约单位
  8223. type: number
  8224. buyorsell:
  8225. description: 买卖 - 0:买 1:卖
  8226. type: integer
  8227. categoryid:
  8228. description: 类别ID(WRCATEGORY)
  8229. type: integer
  8230. currency:
  8231. description: 货币
  8232. type: string
  8233. currencysign:
  8234. description: 货币符号
  8235. type: string
  8236. customername:
  8237. description: 卖家名称
  8238. type: string
  8239. decimalplace:
  8240. description: 报价小数位
  8241. type: integer
  8242. goodscode:
  8243. description: 商品代码(内部)
  8244. type: string
  8245. goodsid:
  8246. description: 商品ID
  8247. type: integer
  8248. goodsname:
  8249. description: 商品名称
  8250. type: string
  8251. goodsprice:
  8252. description: 商品价格
  8253. type: number
  8254. hascoupon:
  8255. description: 是否可用优惠卷
  8256. type: boolean
  8257. hotindex:
  8258. description: 景点热度
  8259. type: integer
  8260. marketid:
  8261. description: 市场ID
  8262. type: integer
  8263. orderid:
  8264. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8265. type: string
  8266. orderprice:
  8267. description: 委托价格
  8268. type: number
  8269. orderstatus:
  8270. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8271. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8272. 16:成交失败违约(荷兰式竞拍专用)
  8273. type: integer
  8274. picurls:
  8275. description: 介绍图片[多张用逗号分隔]
  8276. type: string
  8277. quoteminunit:
  8278. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8279. type: integer
  8280. sellUserID:
  8281. description: 卖方UserID
  8282. type: integer
  8283. trademode:
  8284. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8285. 21:竞拍-大宗式 22:受托竞价
  8286. type: integer
  8287. videourls:
  8288. description: 介绍视频[多张用逗号分隔]
  8289. type: string
  8290. required:
  8291. - accountid
  8292. - buyorsell
  8293. - goodscode
  8294. - goodsid
  8295. - goodsname
  8296. - marketid
  8297. - orderid
  8298. - trademode
  8299. type: object
  8300. models.HsbyMarketGoodsDetail:
  8301. properties:
  8302. accountid:
  8303. description: 账户ID[报价币种]
  8304. type: integer
  8305. agreeunit:
  8306. description: 合约单位
  8307. type: number
  8308. buymaxqty:
  8309. description: 购买上限 [71] - 0为不限
  8310. type: integer
  8311. buyorsell:
  8312. description: 买卖 - 0:买 1:卖
  8313. type: integer
  8314. cancelqty:
  8315. description: 撤单数量
  8316. type: integer
  8317. categoryid:
  8318. description: 类别ID(WRCATEGORY)
  8319. type: integer
  8320. currency:
  8321. description: 货币
  8322. type: string
  8323. currencysign:
  8324. description: 货币符号
  8325. type: string
  8326. customername:
  8327. description: 卖家名称
  8328. type: string
  8329. decimalplace:
  8330. description: 报价小数位
  8331. type: integer
  8332. goodscode:
  8333. description: 商品代码(内部)
  8334. type: string
  8335. goodsdesc:
  8336. description: 商品详情
  8337. type: string
  8338. goodsid:
  8339. description: 商品ID
  8340. type: integer
  8341. goodsname:
  8342. description: 商品名称
  8343. type: string
  8344. goodsprice:
  8345. description: 商品价格
  8346. type: number
  8347. hotindex:
  8348. description: 景点热度
  8349. type: integer
  8350. lotsize:
  8351. description: 手数最小变动单位
  8352. type: integer
  8353. marketid:
  8354. description: 市场ID
  8355. type: integer
  8356. orderid:
  8357. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8358. type: string
  8359. orderprice:
  8360. description: 委托价格
  8361. type: number
  8362. orderqty:
  8363. description: 委托数量
  8364. type: integer
  8365. orderstatus:
  8366. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8367. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8368. 16:成交失败违约(荷兰式竞拍专用)
  8369. type: integer
  8370. picurls:
  8371. description: 介绍图片[多张用逗号分隔]
  8372. type: string
  8373. quoteminunit:
  8374. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8375. type: integer
  8376. sellUserID:
  8377. description: 卖方UserID
  8378. type: integer
  8379. trademode:
  8380. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8381. 21:竞拍-大宗式 22:受托竞价
  8382. type: integer
  8383. tradeqty:
  8384. description: 成交数量
  8385. type: integer
  8386. vendorattr:
  8387. description: 供应商附件(多张,逗号分隔)
  8388. type: string
  8389. vendorname:
  8390. description: 供应商名称
  8391. type: string
  8392. vendorphone:
  8393. description: 供应商客服电话
  8394. type: string
  8395. videourls:
  8396. description: 介绍视频[多张用逗号分隔]
  8397. type: string
  8398. required:
  8399. - accountid
  8400. - buyorsell
  8401. - goodscode
  8402. - goodsid
  8403. - goodsname
  8404. - marketid
  8405. - orderid
  8406. - orderqty
  8407. - trademode
  8408. type: object
  8409. models.HsbyMarketInfo:
  8410. properties:
  8411. marketid:
  8412. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8413. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8414. type: integer
  8415. marketname:
  8416. description: 市场名称
  8417. type: string
  8418. marketstatus:
  8419. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8420. type: integer
  8421. trademode:
  8422. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8423. 21:竞拍-大宗式 22:受托竞价
  8424. type: integer
  8425. required:
  8426. - marketid
  8427. - marketstatus
  8428. - trademode
  8429. type: object
  8430. models.HsbyMyGoods:
  8431. properties:
  8432. accountid:
  8433. description: 账号Id
  8434. type: integer
  8435. agreeunit:
  8436. description: 合约单位
  8437. type: number
  8438. buyaverageprice:
  8439. description: 持仓均价
  8440. type: number
  8441. buycurholderamount:
  8442. description: 买当前持仓总金额[商品币种]
  8443. type: number
  8444. buycurpositionqty:
  8445. description: 买当前持仓总数量
  8446. type: integer
  8447. buymaxqty:
  8448. description: 购买上限 [71] - 0为不限
  8449. type: integer
  8450. currencysign:
  8451. description: 货币符号
  8452. type: string
  8453. decimalplace:
  8454. description: 报价小数位
  8455. type: integer
  8456. enableqty:
  8457. description: 可用数量
  8458. type: integer
  8459. goodscode:
  8460. description: 商品代码(内部)
  8461. type: string
  8462. goodsid:
  8463. description: 商品Id
  8464. type: integer
  8465. goodsname:
  8466. description: 商品名称
  8467. type: string
  8468. goodsprice:
  8469. description: 商品价格
  8470. type: number
  8471. goodsstatus:
  8472. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8473. type: integer
  8474. last:
  8475. description: 现价(仅使用于挂牌点选)
  8476. type: number
  8477. limitdown:
  8478. description: 跌停价(仅使用于挂牌点选)
  8479. type: number
  8480. limitup:
  8481. description: 涨停价(仅使用于挂牌点选)
  8482. type: number
  8483. lotsize:
  8484. description: 手数最小变动单位
  8485. type: integer
  8486. marketid:
  8487. description: 所属市场ID
  8488. type: integer
  8489. picurls:
  8490. description: 介绍图片[多张用逗号分隔]
  8491. type: string
  8492. quoteminunit:
  8493. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8494. type: integer
  8495. stepvalue:
  8496. description: 价格最小变动单位
  8497. type: number
  8498. trademode:
  8499. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8500. 21:竞拍-大宗式 22:受托竞价
  8501. type: integer
  8502. required:
  8503. - accountid
  8504. - goodscode
  8505. - goodsid
  8506. - goodsname
  8507. - marketid
  8508. - trademode
  8509. type: object
  8510. models.HsbyMyPackage:
  8511. properties:
  8512. accountid:
  8513. description: 账户ID
  8514. type: integer
  8515. address:
  8516. description: 提货人详细地址
  8517. type: string
  8518. agreeunit:
  8519. description: 合约单位
  8520. type: number
  8521. amount:
  8522. description: 提货金额
  8523. type: number
  8524. auditer:
  8525. description: 审核人
  8526. type: integer
  8527. audittime:
  8528. description: 审核时间
  8529. type: string
  8530. averageprice:
  8531. description: 均价
  8532. type: number
  8533. cardnum:
  8534. description: 提货人证件号码
  8535. type: string
  8536. cardtypeid:
  8537. description: 提货人证件类型
  8538. type: integer
  8539. checkremark:
  8540. description: 审核备注
  8541. type: string
  8542. currencysign:
  8543. description: 货币符号
  8544. type: string
  8545. decimalplace:
  8546. description: 报价小数位
  8547. type: integer
  8548. goodscode:
  8549. description: 商品代码(内部)
  8550. type: string
  8551. goodsid:
  8552. description: 商品ID
  8553. type: integer
  8554. goodsname:
  8555. description: 商品名称
  8556. type: string
  8557. handlestatus:
  8558. description: 处理状态
  8559. type: integer
  8560. marketid:
  8561. description: 市场ID
  8562. type: integer
  8563. phonenum:
  8564. description: 提货人联系方式
  8565. type: string
  8566. picurls:
  8567. description: 介绍图片[多张用逗号分隔]
  8568. type: string
  8569. qty:
  8570. description: 提货数量
  8571. type: number
  8572. recivername:
  8573. description: 提货人姓名
  8574. type: string
  8575. reqtime:
  8576. description: 更新时间
  8577. type: string
  8578. takemode:
  8579. description: 提货方式 - 2:自提 3:配送
  8580. type: integer
  8581. takeorderid:
  8582. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8583. type: string
  8584. takeorderstatus:
  8585. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8586. type: integer
  8587. takeremark:
  8588. description: 提货备注
  8589. type: string
  8590. tradedate:
  8591. description: 交易日(yyyyMMdd)
  8592. type: string
  8593. trademode:
  8594. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8595. 21:竞拍-大宗式 22:受托竞价
  8596. type: integer
  8597. userid:
  8598. description: 用户ID
  8599. type: integer
  8600. vendorname:
  8601. description: 供应商名称
  8602. type: string
  8603. required:
  8604. - goodscode
  8605. - goodsname
  8606. - takeorderid
  8607. - trademode
  8608. type: object
  8609. models.HsbyPreGoods:
  8610. properties:
  8611. agreeunit:
  8612. description: 合约单位
  8613. type: number
  8614. currency:
  8615. description: 货币
  8616. type: string
  8617. currencysign:
  8618. description: 货币符号
  8619. type: string
  8620. decimalplace:
  8621. description: 报价小数位
  8622. type: integer
  8623. desccityid:
  8624. description: 目的地(市)
  8625. type: integer
  8626. descprovinceid:
  8627. description: 目的地(省)
  8628. type: integer
  8629. enableqty:
  8630. description: 剩余数量
  8631. type: integer
  8632. goodscode:
  8633. description: 商品代码(内部)
  8634. type: string
  8635. goodsid:
  8636. description: 商品ID(自增ID SEQ_GOODS)
  8637. type: integer
  8638. goodsname:
  8639. description: 商品名称
  8640. type: string
  8641. goodsstatus:
  8642. description: 商品状态- 2:未上市 3:上市
  8643. type: integer
  8644. lasttradedate:
  8645. description: 最后交易日期(状态:待退市)
  8646. type: string
  8647. listingdate:
  8648. description: 交易开始日期
  8649. type: string
  8650. marketid:
  8651. description: 所属市场ID
  8652. type: integer
  8653. picurls:
  8654. description: 介绍图片[多张用逗号分隔]
  8655. type: string
  8656. presaledqty:
  8657. description: 已预售量(预售结束时更新)
  8658. type: integer
  8659. presaleqty:
  8660. description: 预售数量
  8661. type: integer
  8662. quoteminunit:
  8663. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8664. type: integer
  8665. refprice:
  8666. description: 参考价格[一口价]
  8667. type: number
  8668. relatedgoodsid:
  8669. description: 关联交易合约ID
  8670. type: integer
  8671. trademode:
  8672. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8673. 21:竞拍-大宗式 22:受托竞价
  8674. type: integer
  8675. videourls:
  8676. description: 介绍视频[多张用逗号分隔]
  8677. type: string
  8678. required:
  8679. - goodscode
  8680. - goodsid
  8681. - goodsname
  8682. - marketid
  8683. - trademode
  8684. type: object
  8685. models.HsbyPreGoodsDetail:
  8686. properties:
  8687. agreeunit:
  8688. description: 合约单位
  8689. type: number
  8690. buymaxqty:
  8691. description: 购买上限 [71] - 0为不限
  8692. type: integer
  8693. currency:
  8694. description: 货币
  8695. type: string
  8696. currencysign:
  8697. description: 货币符号
  8698. type: string
  8699. customername:
  8700. description: 发行单位
  8701. type: string
  8702. decimalplace:
  8703. description: 报价小数位
  8704. type: integer
  8705. desccityid:
  8706. description: 目的地(市)ID
  8707. type: integer
  8708. descprovinceid:
  8709. description: 目的地(省)ID
  8710. type: integer
  8711. enableqty:
  8712. description: 剩余数量
  8713. type: integer
  8714. goodscode:
  8715. description: 商品代码(内部)
  8716. type: string
  8717. goodsdesc:
  8718. description: 商品详情
  8719. type: string
  8720. goodsid:
  8721. description: 商品ID(自增ID SEQ_GOODS)
  8722. type: integer
  8723. goodsname:
  8724. description: 商品名称
  8725. type: string
  8726. goodsstatus:
  8727. description: 商品状态- 2:未上市 3:上市
  8728. type: integer
  8729. goodunit:
  8730. description: 报价单位
  8731. type: string
  8732. lasttradedate:
  8733. description: 最后交易日期(状态:待退市)
  8734. type: string
  8735. listingdate:
  8736. description: 交易开始日期
  8737. type: string
  8738. lotsize:
  8739. description: 手数最小变动单位
  8740. type: integer
  8741. marketid:
  8742. description: 所属市场ID
  8743. type: integer
  8744. picurls:
  8745. description: 介绍图片[多张用逗号分隔]
  8746. type: string
  8747. presaledqty:
  8748. description: 已预售量(预售结束时更新)
  8749. type: integer
  8750. presaleqty:
  8751. description: 预售数量
  8752. type: integer
  8753. quoteminunit:
  8754. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8755. type: integer
  8756. refprice:
  8757. description: 参考价格[一口价]
  8758. type: number
  8759. relatedgoodsid:
  8760. description: 关联交易合约ID
  8761. type: integer
  8762. stepvalue:
  8763. description: 价格最小变动单位
  8764. type: number
  8765. trademode:
  8766. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8767. 21:竞拍-大宗式 22:受托竞价
  8768. type: integer
  8769. vendorattr:
  8770. description: 供应商附件(多张,逗号分隔)
  8771. type: string
  8772. vendorname:
  8773. description: 供应商名称
  8774. type: string
  8775. vendorphone:
  8776. description: 供应商客服电话
  8777. type: string
  8778. videourls:
  8779. description: 介绍视频[多张用逗号分隔]
  8780. type: string
  8781. required:
  8782. - goodscode
  8783. - goodsid
  8784. - goodsname
  8785. - marketid
  8786. - trademode
  8787. type: object
  8788. models.HsbySellCollectionOrder:
  8789. properties:
  8790. agreeunit:
  8791. description: 合约单位
  8792. type: number
  8793. buyaccountid:
  8794. description: 买方账号ID[报价币种]
  8795. type: integer
  8796. buyorderid:
  8797. description: 买方委托单号
  8798. type: string
  8799. createtime:
  8800. description: 创建时间
  8801. type: string
  8802. currencysign:
  8803. description: 货币符号
  8804. type: string
  8805. decimalplace:
  8806. description: 报价小数位
  8807. type: integer
  8808. goodscode:
  8809. description: 商品代码(内部)
  8810. type: string
  8811. goodsid:
  8812. description: 商品ID
  8813. type: integer
  8814. goodsname:
  8815. description: 商品名称
  8816. type: string
  8817. marketid:
  8818. description: 市场ID
  8819. type: integer
  8820. offamount:
  8821. description: 优惠金额
  8822. type: number
  8823. payamount:
  8824. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8825. type: number
  8826. payflag:
  8827. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8828. type: integer
  8829. paylimitedtime:
  8830. description: 支付期限
  8831. type: string
  8832. paytime:
  8833. description: 付款时间
  8834. type: string
  8835. picurls:
  8836. description: 商品介绍图片[多张用逗号分隔]
  8837. type: string
  8838. sellaccountid:
  8839. description: 卖方账号ID[报价币种]
  8840. type: integer
  8841. sellorderid:
  8842. description: 卖方委托单号
  8843. type: string
  8844. tradeamount:
  8845. description: 成交金额
  8846. type: number
  8847. tradecharge:
  8848. description: 成交手续费(买方)
  8849. type: number
  8850. tradedate:
  8851. description: 交易日(yyyyMMdd)
  8852. type: string
  8853. tradeid:
  8854. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8855. type: string
  8856. trademode:
  8857. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8858. 21:竞拍-大宗式 22:受托竞价
  8859. type: integer
  8860. tradeprice:
  8861. description: 成交价格
  8862. type: number
  8863. tradeqty:
  8864. description: 成交数量
  8865. type: integer
  8866. required:
  8867. - goodscode
  8868. - goodsname
  8869. - tradeid
  8870. - trademode
  8871. type: object
  8872. models.HsbySellMyDetail:
  8873. properties:
  8874. accountid:
  8875. description: 账户ID[报价币种]
  8876. type: integer
  8877. agreeunit:
  8878. description: 合约单位
  8879. type: number
  8880. buyorsell:
  8881. description: 买卖 - 0:买 1:卖
  8882. type: integer
  8883. currencysign:
  8884. description: 货币符号
  8885. type: string
  8886. decimalplace:
  8887. description: 报价小数位
  8888. type: integer
  8889. goodscode:
  8890. description: 商品代码(内部)
  8891. type: string
  8892. goodsid:
  8893. description: 商品ID
  8894. type: integer
  8895. goodsname:
  8896. description: 商品名称
  8897. type: string
  8898. marketid:
  8899. description: 市场ID
  8900. type: integer
  8901. orderid:
  8902. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8903. type: string
  8904. ordertype:
  8905. description: 单据类型:0 - 发布中, 1 - 已完成
  8906. type: integer
  8907. picurls:
  8908. description: 介绍图片[多张用逗号分隔]
  8909. type: string
  8910. price:
  8911. description: 价格
  8912. type: number
  8913. qty:
  8914. description: 数量
  8915. type: integer
  8916. time:
  8917. description: 时间
  8918. type: string
  8919. trademode:
  8920. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8921. 21:竞拍-大宗式 22:受托竞价
  8922. type: integer
  8923. vendorname:
  8924. description: 供应商名称
  8925. type: string
  8926. required:
  8927. - accountid
  8928. - buyorsell
  8929. - goodscode
  8930. - goodsid
  8931. - goodsname
  8932. - marketid
  8933. - orderid
  8934. - time
  8935. - trademode
  8936. type: object
  8937. models.HsbyTopGoods:
  8938. properties:
  8939. agreeunit:
  8940. description: 合约单位
  8941. type: number
  8942. currency:
  8943. description: 货币
  8944. type: string
  8945. currencysign:
  8946. description: 货币符号
  8947. type: string
  8948. decimalplace:
  8949. description: 报价小数位
  8950. type: integer
  8951. desccityid:
  8952. description: 目的地(市)
  8953. type: integer
  8954. descprovinceid:
  8955. description: 目的地(省)
  8956. type: integer
  8957. goodscode:
  8958. description: 商品代码(内部)
  8959. type: string
  8960. goodsid:
  8961. description: 商品ID(自增ID SEQ_GOODS)
  8962. type: integer
  8963. goodsname:
  8964. description: 商品名称
  8965. type: string
  8966. hotindex:
  8967. description: 景点热度
  8968. type: integer
  8969. last:
  8970. description: 现价
  8971. type: number
  8972. marketid:
  8973. description: 所属市场ID
  8974. type: integer
  8975. picurls:
  8976. description: 介绍图片[多张用逗号分隔]
  8977. type: string
  8978. quoteminunit:
  8979. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8980. type: integer
  8981. trademode:
  8982. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8983. 21:竞拍-大宗式 22:受托竞价
  8984. type: integer
  8985. videourls:
  8986. description: 介绍视频[多张用逗号分隔]
  8987. type: string
  8988. required:
  8989. - goodscode
  8990. - goodsid
  8991. - goodsname
  8992. - marketid
  8993. - trademode
  8994. type: object
  8995. models.HybsMyBuyOrderDetail:
  8996. properties:
  8997. accountid:
  8998. description: 账户ID[报价币种]
  8999. type: integer
  9000. agreeunit:
  9001. description: 合约单位
  9002. type: number
  9003. buyorsell:
  9004. description: 买卖 - 0:买 1:卖
  9005. type: integer
  9006. cancelqty:
  9007. description: 撤单数量
  9008. type: integer
  9009. currencysign:
  9010. description: 货币符号
  9011. type: string
  9012. decimalplace:
  9013. description: 报价小数位
  9014. type: integer
  9015. goodscode:
  9016. description: 商品代码(内部)
  9017. type: string
  9018. goodsid:
  9019. description: 商品ID
  9020. type: integer
  9021. goodsname:
  9022. description: 商品名称
  9023. type: string
  9024. listingselecttype:
  9025. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9026. type: integer
  9027. marketid:
  9028. description: 市场ID
  9029. type: integer
  9030. mybuystatus:
  9031. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9032. type: integer
  9033. orderamount:
  9034. description: 委托金额
  9035. type: number
  9036. orderid:
  9037. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9038. type: string
  9039. orderprice:
  9040. description: 委托价格
  9041. type: number
  9042. orderqty:
  9043. description: 委托数量
  9044. type: integer
  9045. orderstatus:
  9046. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9047. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9048. 16:成交失败违约(荷兰式竞拍专用)
  9049. type: integer
  9050. ordertime:
  9051. description: 委托时间
  9052. type: string
  9053. picurls1:
  9054. description: 预售商品介绍图片[多张用逗号分隔]
  9055. type: string
  9056. picurls2:
  9057. description: 挂牌商品介绍图片[多张用逗号分隔]
  9058. type: string
  9059. trademode:
  9060. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9061. 21:竞拍-大宗式 22:受托竞价
  9062. type: integer
  9063. tradeqty:
  9064. description: 成交数量
  9065. type: integer
  9066. vendorname1:
  9067. description: 预售商品供应商名称
  9068. type: string
  9069. vendorname2:
  9070. description: 挂牌商品供应商名称
  9071. type: string
  9072. required:
  9073. - accountid
  9074. - buyorsell
  9075. - goodscode
  9076. - goodsid
  9077. - goodsname
  9078. - marketid
  9079. - orderid
  9080. - orderqty
  9081. - ordertime
  9082. - trademode
  9083. type: object
  9084. models.Loginaccount:
  9085. properties:
  9086. canoutin:
  9087. description: 是否可出入金 - 0:不可 1:可
  9088. type: integer
  9089. clientroleid:
  9090. description: 终端角色ID
  9091. type: integer
  9092. haslogined:
  9093. description: 是否已登录 - 0:未登录 1:已登录
  9094. type: integer
  9095. hasupdatedpwd:
  9096. description: 是否已更改密码 - 0:未修改 1:已修改
  9097. type: integer
  9098. lastloginip:
  9099. description: 最新登录地址
  9100. type: string
  9101. lastloginmode:
  9102. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9103. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9104. type: integer
  9105. lastloginremark:
  9106. description: 最新登录描述
  9107. type: string
  9108. lastlogintime:
  9109. description: 最新登录时间
  9110. type: string
  9111. logincode:
  9112. description: 登录代码
  9113. type: string
  9114. loginfailnum:
  9115. description: 连续登录失败次数(登录成功时清零)
  9116. type: integer
  9117. loginid:
  9118. description: 登陆账号
  9119. type: integer
  9120. loginport:
  9121. description: 最新登录端口
  9122. type: integer
  9123. loginstatus:
  9124. description: 登录账号状态 1:正常 2:冻结 3:无效
  9125. type: integer
  9126. loginusertype:
  9127. description: 登录账号类型 - 1:投资者 2:机构交易员
  9128. type: integer
  9129. modifierid:
  9130. description: 修改人
  9131. type: integer
  9132. modifytime:
  9133. description: 修改时间
  9134. type: string
  9135. pwdwrongcount:
  9136. description: 密码错误次数
  9137. type: integer
  9138. taaccountrighttype:
  9139. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9140. type: integer
  9141. unfreezetime:
  9142. description: 账户解冻时间
  9143. type: string
  9144. userid:
  9145. description: 用户ID
  9146. type: integer
  9147. required:
  9148. - loginid
  9149. type: object
  9150. models.MainAccountInfo:
  9151. properties:
  9152. accountid:
  9153. description: 账号id
  9154. type: integer
  9155. accountname:
  9156. description: 账号名称(taaccount表中的名称)
  9157. type: string
  9158. appid:
  9159. description: AppID
  9160. type: string
  9161. authcode:
  9162. description: 授权码
  9163. type: string
  9164. brokerid:
  9165. description: 经纪商id
  9166. type: string
  9167. fcid:
  9168. description: 期货公司id
  9169. type: integer
  9170. fcname:
  9171. description: 期货公司代码
  9172. type: string
  9173. hedgeaccountcode:
  9174. description: 外部账号代码(主账号登录代码)
  9175. type: string
  9176. hedgeaccountpwd:
  9177. description: 密码
  9178. type: string
  9179. ismain:
  9180. description: 是否主账号
  9181. type: integer
  9182. relateduserid:
  9183. description: 关联用户id
  9184. type: integer
  9185. userid:
  9186. description: 关联用户id
  9187. type: integer
  9188. type: object
  9189. models.Market:
  9190. properties:
  9191. auctionwrtype:
  9192. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9193. type: integer
  9194. canacceptquote:
  9195. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9196. type: integer
  9197. cangoodsexercise:
  9198. description: '[期权]是否可现货行权- 0:否 1:是'
  9199. type: integer
  9200. cangoodsexercisetype:
  9201. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9202. type: integer
  9203. canmanualquotestrike:
  9204. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9205. type: integer
  9206. canmutistage:
  9207. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9208. type: integer
  9209. canpreexercise:
  9210. description: '[期权]是否可预申报- 0:否 1:是'
  9211. type: integer
  9212. clearinterval:
  9213. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9214. type: integer
  9215. contracttmp:
  9216. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9217. type: string
  9218. exchareaid:
  9219. description: 所属交易所,可以没有
  9220. type: integer
  9221. goodstype:
  9222. description: 商品类型 - 1:交易商品 2:仓单商品
  9223. type: integer
  9224. hasrebate:
  9225. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9226. type: integer
  9227. hastradecredit:
  9228. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9229. type: integer
  9230. haswr:
  9231. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9232. type: integer
  9233. isdeductmargin:
  9234. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9235. type: integer
  9236. isrecordsource:
  9237. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9238. type: integer
  9239. isreleasemargin:
  9240. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9241. type: integer
  9242. marginformula:
  9243. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9244. type: integer
  9245. marginformula2:
  9246. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9247. type: integer
  9248. marketid:
  9249. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9250. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9251. type: integer
  9252. marketname:
  9253. description: 市场名称
  9254. type: string
  9255. marketserviceid:
  9256. description: 市场服务ID
  9257. type: integer
  9258. marketstatus:
  9259. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9260. type: integer
  9261. markettype:
  9262. description: 市场类型- 1:非交易服务 2:交易服务
  9263. type: integer
  9264. matchermode:
  9265. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9266. type: integer
  9267. openmethod:
  9268. description: 开盘模式 - 0 自动 1手动
  9269. type: integer
  9270. otcuserid:
  9271. description: 场外期权做市商[场外期权]
  9272. type: integer
  9273. outersynctime:
  9274. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9275. type: string
  9276. pendingflag:
  9277. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9278. type: integer
  9279. pendingtime:
  9280. description: 待开市时间[通道交易-对冲](HH:mm)
  9281. type: string
  9282. performancetempid:
  9283. description: 履约计划模板ID - 作废
  9284. type: integer
  9285. premiumquotemode:
  9286. description: 权利金报价方式 - 1:自动 2:手动
  9287. type: integer
  9288. rebateratio:
  9289. description: 返利比率[竞价式]
  9290. type: number
  9291. reckonorder:
  9292. description: 结算顺序
  9293. type: integer
  9294. reckonpricealgorithm:
  9295. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9296. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9297. type: integer
  9298. reckonpriceparam:
  9299. description: 结算价参数
  9300. type: integer
  9301. reckontime:
  9302. description: 结算时间[通道交易-对冲](HH:mm)
  9303. type: string
  9304. roleprioritytype:
  9305. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9306. type: integer
  9307. selllistingauditflag:
  9308. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9309. type: integer
  9310. trademarkettype:
  9311. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9312. type: integer
  9313. trademode:
  9314. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9315. 21:竞拍-大宗式 22:受托竞价
  9316. type: integer
  9317. tradeproperty:
  9318. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9319. 8:场外期权
  9320. type: integer
  9321. tradetype:
  9322. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9323. type: integer
  9324. required:
  9325. - marketid
  9326. - marketstatus
  9327. - openmethod
  9328. - reckonpricealgorithm
  9329. - trademode
  9330. - tradeproperty
  9331. type: object
  9332. models.Marketrun:
  9333. properties:
  9334. afternexttradedate:
  9335. description: 下下交易日
  9336. type: string
  9337. clearquoteflag:
  9338. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9339. type: integer
  9340. lastreckondate:
  9341. description: 最新交易日(结算成功)
  9342. type: string
  9343. machinedate:
  9344. description: 机器时间
  9345. type: string
  9346. manualflag:
  9347. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9348. type: integer
  9349. marketid:
  9350. description: 市场ID
  9351. type: integer
  9352. nexttradedate:
  9353. description: 下一交易日
  9354. type: string
  9355. pretradedate:
  9356. description: 上一交易日
  9357. type: string
  9358. reckonflag:
  9359. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9360. type: integer
  9361. runstatus:
  9362. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9363. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9364. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9365. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9366. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9367. 62.今日免清算
  9368. type: integer
  9369. sectionid:
  9370. description: 时间段号[多时段时用]
  9371. type: integer
  9372. tradedate:
  9373. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9374. type: string
  9375. tradedate2:
  9376. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9377. type: string
  9378. updatetime:
  9379. description: 更新时间
  9380. type: string
  9381. required:
  9382. - marketid
  9383. - nexttradedate
  9384. - reckonflag
  9385. - runstatus
  9386. - tradedate
  9387. - tradedate2
  9388. type: object
  9389. models.Messageboard:
  9390. properties:
  9391. contactnum:
  9392. description: 联系电话
  9393. type: string
  9394. createtime:
  9395. description: 创建时间
  9396. type: string
  9397. message:
  9398. description: 留言信息
  9399. type: string
  9400. messageboardid:
  9401. description: 留言簿ID(SEQ_MessageBoard)
  9402. type: integer
  9403. userid:
  9404. description: 用户ID
  9405. type: integer
  9406. required:
  9407. - messageboardid
  9408. type: object
  9409. models.MyCoupon:
  9410. properties:
  9411. accountid:
  9412. description: 资金账户ID
  9413. type: integer
  9414. areauserid:
  9415. description: 所属机构
  9416. type: integer
  9417. conditionvalue:
  9418. description: 条件阈值(可为0)
  9419. type: number
  9420. couponcategroy:
  9421. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9422. type: integer
  9423. couponname:
  9424. description: 优惠券名称
  9425. type: string
  9426. coupontypeid:
  9427. description: 优惠券类型ID
  9428. type: string
  9429. couponvalue:
  9430. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9431. type: number
  9432. curfreezeqty:
  9433. description: 期末冻结数量
  9434. type: integer
  9435. curqty:
  9436. description: 期末数量
  9437. type: integer
  9438. isgeneral:
  9439. description: 是否通用券 - 0:否 1:是
  9440. type: integer
  9441. isunusable:
  9442. description: 是否不可用
  9443. type: boolean
  9444. limitedflag:
  9445. description: 是否指定商品 - 0:不限 1:限制
  9446. type: integer
  9447. limitedgoodsids:
  9448. description: 指定商品IDs[逗号分隔,前后加逗号]
  9449. type: string
  9450. orifreezeqty:
  9451. description: 期初冻结数量
  9452. type: integer
  9453. oriqty:
  9454. description: 期初数量
  9455. type: integer
  9456. reasontype:
  9457. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9458. type: integer
  9459. todaydecrease:
  9460. description: 今日减少
  9461. type: integer
  9462. todayincrease:
  9463. description: 今日增加
  9464. type: integer
  9465. userid:
  9466. description: 用户ID
  9467. type: integer
  9468. userscope:
  9469. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9470. type: string
  9471. required:
  9472. - accountid
  9473. - coupontypeid
  9474. type: object
  9475. models.MyCouponHold:
  9476. properties:
  9477. accountid:
  9478. description: 资金账户ID
  9479. type: integer
  9480. conditionvalue:
  9481. description: 条件阈值(可为0)
  9482. type: number
  9483. couponcategroy:
  9484. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9485. type: integer
  9486. couponholdid:
  9487. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9488. type: string
  9489. couponname:
  9490. description: 优惠券名称
  9491. type: string
  9492. coupontypeid:
  9493. description: 优惠券类型ID - SEQ_COUPONTYPE
  9494. type: string
  9495. couponvalue:
  9496. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9497. type: number
  9498. createtime:
  9499. description: 创建时间
  9500. type: string
  9501. enddate:
  9502. description: 结束日期
  9503. type: string
  9504. giveapplyid:
  9505. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9506. type: integer
  9507. holdstatus:
  9508. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9509. type: integer
  9510. isgeneral:
  9511. description: 是否通用券 - 0:否 1:是
  9512. type: integer
  9513. limitedflag:
  9514. description: 是否指定商品 - 0:不限 1:限制
  9515. type: integer
  9516. limitedgoodsids:
  9517. description: 指定商品IDs[逗号分隔]
  9518. type: string
  9519. qty:
  9520. description: 数量(按1平铺)
  9521. type: integer
  9522. startdate:
  9523. description: 开始日期
  9524. type: string
  9525. userid:
  9526. description: 用户ID
  9527. type: integer
  9528. userscope:
  9529. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9530. type: string
  9531. required:
  9532. - couponholdid
  9533. type: object
  9534. models.MyUsedCoupon:
  9535. properties:
  9536. accountid:
  9537. description: 资金账户ID(买方)
  9538. type: integer
  9539. conditionvalue:
  9540. description: 条件阈值(可为0)
  9541. type: number
  9542. couponcategroy:
  9543. description: 种类 - 1:现金券 2:折扣券
  9544. type: integer
  9545. couponname:
  9546. description: 优惠券名称
  9547. type: string
  9548. coupontypeid:
  9549. description: 优惠券类型ID(买方)
  9550. type: string
  9551. couponvalue:
  9552. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9553. type: number
  9554. createtime:
  9555. description: 创建时间
  9556. type: string
  9557. goodsid:
  9558. description: 商品ID
  9559. type: integer
  9560. handlestatus:
  9561. description: 处理状态
  9562. type: integer
  9563. marketid:
  9564. description: 市场ID
  9565. type: integer
  9566. offamount:
  9567. description: 优惠金额
  9568. type: number
  9569. orderid:
  9570. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9571. type: string
  9572. sellaccountid:
  9573. description: 资金账户ID(卖方)
  9574. type: integer
  9575. tradeamount:
  9576. description: 成交金额
  9577. type: number
  9578. tradeid:
  9579. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9580. type: string
  9581. usedqty:
  9582. description: 使用数量
  9583. type: integer
  9584. required:
  9585. - coupontypeid
  9586. - orderid
  9587. type: object
  9588. models.OperationPrimaryMenu:
  9589. properties:
  9590. Children:
  9591. description: 二级功能菜单
  9592. items:
  9593. $ref: '#/definitions/models.OperationSecondaryMenu'
  9594. type: array
  9595. Key:
  9596. description: 菜单KEY
  9597. type: string
  9598. Label:
  9599. description: 菜单标题
  9600. type: string
  9601. type: object
  9602. models.OperationSecondaryMenu:
  9603. properties:
  9604. Key:
  9605. description: 菜单KEY
  9606. type: string
  9607. Label:
  9608. description: 菜单标题
  9609. type: string
  9610. TabList:
  9611. description: 三级功能菜单
  9612. items:
  9613. $ref: '#/definitions/models.OperationTabMenu'
  9614. type: array
  9615. type: object
  9616. models.OperationTabMenu:
  9617. properties:
  9618. Key:
  9619. description: 菜单KEY
  9620. type: string
  9621. Label:
  9622. description: 菜单标题
  9623. type: string
  9624. type: object
  9625. models.PendingAuditBizModel:
  9626. properties:
  9627. accountid:
  9628. description: 现货账户
  9629. type: string
  9630. areaname:
  9631. description: 所属部门
  9632. type: string
  9633. bizid:
  9634. description: 业务ID
  9635. type: string
  9636. bizname:
  9637. description: 业务名称
  9638. type: string
  9639. status:
  9640. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9641. type: integer
  9642. type:
  9643. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9644. type: integer
  9645. type: object
  9646. models.QueryErrorInfosRsp:
  9647. properties:
  9648. description:
  9649. description: 异常描述
  9650. type: string
  9651. errorcode:
  9652. description: 异常代码
  9653. type: string
  9654. errorid:
  9655. description: 异常ID
  9656. type: integer
  9657. modulecode:
  9658. description: 所属模块
  9659. type: string
  9660. operatecode:
  9661. description: 所属操作
  9662. type: string
  9663. rownumber:
  9664. description: 行号
  9665. type: string
  9666. required:
  9667. - errorid
  9668. type: object
  9669. models.QueryHedgeOrderDetailRsp:
  9670. properties:
  9671. accountid:
  9672. description: 账户ID
  9673. type: integer
  9674. buyorsell:
  9675. description: 买卖 - 0:买 1:卖
  9676. type: integer
  9677. cancellogincode:
  9678. description: 撤单人
  9679. type: string
  9680. channelbuildtype:
  9681. description: 开平标志 - 0:无 1:建仓 2:平仓
  9682. type: integer
  9683. channelinnerorderstatus:
  9684. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  9685. 9:全部成交
  9686. type: integer
  9687. channeloperatetype:
  9688. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  9689. type: integer
  9690. closetype:
  9691. description: 平仓方式 - 0:无 1:平今 2:平昨
  9692. type: integer
  9693. curexchangerate:
  9694. description: 当前汇率
  9695. type: number
  9696. exchangefullname:
  9697. description: 外部交易所全称
  9698. type: string
  9699. goodscode:
  9700. description: 商品代码(内部)
  9701. type: string
  9702. goodsid:
  9703. description: 商品ID
  9704. type: integer
  9705. goodsname:
  9706. description: 商品名称
  9707. type: string
  9708. marketid:
  9709. description: 市场ID
  9710. type: integer
  9711. openfreezemargin:
  9712. description: 冻结保证金(冻结交易金额)
  9713. type: number
  9714. orderid:
  9715. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9716. type: string
  9717. orderlogincode:
  9718. description: 委托人
  9719. type: string
  9720. orderprice:
  9721. description: 委托价格(账户)
  9722. type: number
  9723. orderqty:
  9724. description: 委托数量
  9725. type: integer
  9726. ordertime:
  9727. description: 委托时间
  9728. type: string
  9729. pricemode:
  9730. description: '取价方式 - 1:市价 2: 限价'
  9731. type: integer
  9732. tradedate:
  9733. description: 交易日(yyyyMMdd)
  9734. type: string
  9735. tradeqty:
  9736. description: 成交数量
  9737. type: integer
  9738. type: object
  9739. models.QueryHedgeTradeDetailRsp:
  9740. properties:
  9741. accountid:
  9742. description: 账号ID
  9743. type: integer
  9744. buyorsell:
  9745. description: 方向 - 0:买 1:卖
  9746. type: integer
  9747. channelbuildtype:
  9748. description: 委托单据类型 0:无 1:建仓 2:平仓
  9749. type: integer
  9750. closecharge:
  9751. description: 平仓手续费(账户)
  9752. type: number
  9753. closecharge2:
  9754. description: 平仓手续费(商品)
  9755. type: number
  9756. closepl:
  9757. description: 平仓盈亏(账户)
  9758. type: number
  9759. closepl2:
  9760. description: 平仓盈亏(商品)
  9761. type: number
  9762. closepl3:
  9763. description: 平仓盈亏(账户)(逐笔)
  9764. type: number
  9765. closepl4:
  9766. description: 平仓盈亏(商品)(逐笔)
  9767. type: number
  9768. closetype:
  9769. description: 平仓方式 - 0:无 1:平今 2:平昨
  9770. type: integer
  9771. curexchangerate:
  9772. description: 当前汇率
  9773. type: number
  9774. exchangefullname:
  9775. description: 外部交易所全称
  9776. type: string
  9777. goodscode:
  9778. description: 商品代码(内部)
  9779. type: string
  9780. goodsid:
  9781. description: 商品ID
  9782. type: integer
  9783. goodsname:
  9784. description: 商品名称
  9785. type: string
  9786. marketid:
  9787. description: 市场ID
  9788. type: integer
  9789. opencharge:
  9790. description: 建仓手续费(账户)
  9791. type: number
  9792. opencharge2:
  9793. description: 建仓手续费(商品)
  9794. type: number
  9795. orderid:
  9796. description: 委托单号
  9797. type: string
  9798. orderlogincode:
  9799. description: 委托人
  9800. type: string
  9801. tradeamount:
  9802. description: 成交金额(账户)
  9803. type: number
  9804. tradedate:
  9805. description: 交易日(yyyyMMdd)
  9806. type: string
  9807. tradeid:
  9808. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9809. type: string
  9810. tradeprice:
  9811. description: 成交价格
  9812. type: number
  9813. tradeqty:
  9814. description: 成交数量
  9815. type: integer
  9816. tradetime:
  9817. description: 成交时间
  9818. type: string
  9819. tradetype:
  9820. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9821. type: integer
  9822. type: object
  9823. models.QuotePrimaryMenu:
  9824. properties:
  9825. Index:
  9826. description: 序号
  9827. type: integer
  9828. Key:
  9829. description: 键名
  9830. type: string
  9831. Name:
  9832. description: 菜单名称
  9833. type: string
  9834. SubMenus:
  9835. description: 子菜单
  9836. items:
  9837. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9838. type: array
  9839. SubTitleType:
  9840. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9841. type: integer
  9842. TradeModes:
  9843. description: 包含市场交易类型
  9844. type: string
  9845. type: object
  9846. models.QuoteSecondaryMenu:
  9847. properties:
  9848. ExExchangeCode:
  9849. description: 外部交易所代码
  9850. type: string
  9851. ExExchangeID:
  9852. description: 外部交易所ID
  9853. type: integer
  9854. GoodsGroupIDs:
  9855. description: 商品组ID列表
  9856. items:
  9857. type: integer
  9858. type: array
  9859. Index:
  9860. description: 序号
  9861. type: integer
  9862. MarketID:
  9863. description: 市场ID
  9864. type: integer
  9865. MenuTitle:
  9866. description: 菜单标题(市场名称或外部交易所名称)
  9867. type: string
  9868. TradeMode:
  9869. description: 交易模式
  9870. type: integer
  9871. type: object
  9872. models.RelatedGoodsEx:
  9873. properties:
  9874. goodscode:
  9875. description: 商品代码
  9876. type: string
  9877. goodsid:
  9878. description: 商品id
  9879. type: integer
  9880. goodsname:
  9881. description: 商品名称
  9882. type: string
  9883. type: object
  9884. models.SearchGoods:
  9885. properties:
  9886. goodscode:
  9887. description: 商品代码(内部)
  9888. type: string
  9889. goodsid:
  9890. description: 商品ID(自增ID SEQ_GOODS)
  9891. type: integer
  9892. goodsname:
  9893. description: 商品名称
  9894. type: string
  9895. marketid:
  9896. description: 所属市场ID
  9897. type: integer
  9898. marketname:
  9899. description: 市场名称
  9900. type: string
  9901. trademode:
  9902. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9903. 21:竞拍-大宗式 22:受托竞价
  9904. type: integer
  9905. required:
  9906. - goodscode
  9907. - goodsid
  9908. - goodsname
  9909. - marketid
  9910. - trademode
  9911. type: object
  9912. models.Systemparam:
  9913. properties:
  9914. loginid:
  9915. description: 更新用户账号,登录账号
  9916. type: string
  9917. modifyflag:
  9918. description: 修改标志0 不允许修改 1 允许修改
  9919. type: integer
  9920. paramcode:
  9921. description: 参数代码
  9922. type: string
  9923. paramname:
  9924. description: 参数名
  9925. type: string
  9926. paramtype:
  9927. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9928. type: integer
  9929. paramvalue:
  9930. description: 参数值
  9931. type: string
  9932. paramvalue2:
  9933. description: 参数值(CLOB)
  9934. type: string
  9935. regexpress:
  9936. description: 正则表达式
  9937. type: string
  9938. remark:
  9939. description: 备注
  9940. type: string
  9941. serverip:
  9942. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9943. type: string
  9944. showflag:
  9945. description: 是否显示0 不显示 1 显示
  9946. type: integer
  9947. updatetime:
  9948. description: 更新时间
  9949. type: string
  9950. userid:
  9951. description: 更新用户ID
  9952. type: integer
  9953. required:
  9954. - paramcode
  9955. type: object
  9956. models.Szdz3convertconfig:
  9957. properties:
  9958. canin:
  9959. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9960. type: integer
  9961. canout:
  9962. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9963. type: integer
  9964. converttype:
  9965. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9966. 6:交易转花生米(不设置)
  9967. type: integer
  9968. createtime:
  9969. description: 创建时间
  9970. type: string
  9971. creatorid:
  9972. description: 创建人
  9973. type: integer
  9974. daymaxvalue:
  9975. description: 当日最大转入限制
  9976. type: number
  9977. freezedays:
  9978. description: 冻结天数 [5:花生米转交易]
  9979. type: integer
  9980. innergoodsid:
  9981. description: 内部商品ID[交易]
  9982. type: integer
  9983. inratio:
  9984. description: 目标值
  9985. type: integer
  9986. modifierid:
  9987. description: 修改人
  9988. type: integer
  9989. modifytime:
  9990. description: 修改时间
  9991. type: string
  9992. outergoodscode:
  9993. description: 外部商品代码[JD\PD]
  9994. type: string
  9995. outratio:
  9996. description: 源值
  9997. type: integer
  9998. pddecimalplace:
  9999. description: PD小数位
  10000. type: integer
  10001. timemaxvalue:
  10002. description: 单次最大转入限制
  10003. type: number
  10004. timeminvalue:
  10005. description: 单次最小转入限制
  10006. type: number
  10007. required:
  10008. - converttype
  10009. - innergoodsid
  10010. - outergoodscode
  10011. type: object
  10012. models.Szdz3searchwhitelist:
  10013. properties:
  10014. createtime:
  10015. description: 创建时间
  10016. type: string
  10017. creatorid:
  10018. description: 创建人
  10019. type: integer
  10020. modifierid:
  10021. description: 修改人
  10022. type: integer
  10023. modifytime:
  10024. description: 修改时间
  10025. type: string
  10026. userid:
  10027. description: 用户ID
  10028. type: integer
  10029. required:
  10030. - userid
  10031. type: object
  10032. models.Taaccount:
  10033. properties:
  10034. accountflag:
  10035. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  10036. type: integer
  10037. accountid:
  10038. description: 资金账户ID
  10039. type: integer
  10040. accountname:
  10041. description: 账户名称
  10042. type: string
  10043. balance:
  10044. description: 期初余额
  10045. type: number
  10046. capitalbalance:
  10047. description: 本金余额[外部子账户实际出入金余额]
  10048. type: number
  10049. changeflag:
  10050. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  10051. type: integer
  10052. changetime:
  10053. description: 账户状态变更时间
  10054. type: string
  10055. closepl:
  10056. description: 今日平仓盈亏
  10057. type: number
  10058. creditdecrease:
  10059. description: 今日授信减少
  10060. type: number
  10061. creditincrease:
  10062. description: 今日授信增加
  10063. type: number
  10064. currencyid:
  10065. description: 货币ID
  10066. type: integer
  10067. currentbalance:
  10068. description: 期末余额
  10069. type: number
  10070. freezecharge:
  10071. description: 手续费冻结
  10072. type: number
  10073. freezemargin:
  10074. description: 冻结保证金
  10075. type: number
  10076. fromaccountid:
  10077. description: 所属上级账户
  10078. type: integer
  10079. inamount:
  10080. description: 今日入金金额(包括三方入金)
  10081. type: number
  10082. ismain:
  10083. description: 是否母账号 0:不是母账户 1:是母账户
  10084. type: integer
  10085. ismarketaccount:
  10086. description: 是否机构接单账号 0:不是 1:是
  10087. type: integer
  10088. isreckonaccount:
  10089. description: 是否机构分润账号 0:不是 1:是
  10090. type: integer
  10091. mortgagecredit:
  10092. description: 授信金额
  10093. type: number
  10094. orifreezecharge:
  10095. description: 期初手续费冻结
  10096. type: number
  10097. orifreezemargin:
  10098. description: 期初冻结保证金
  10099. type: number
  10100. orimortgagecredit:
  10101. description: 期初授信金额
  10102. type: number
  10103. oriothercredit:
  10104. description: 期初其它授信金额
  10105. type: number
  10106. oriotherfreezemargin:
  10107. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  10108. type: number
  10109. orioutamountfreeze:
  10110. description: 期初出金冻结
  10111. type: number
  10112. oriusedmargin:
  10113. description: 期初占用保证金
  10114. type: number
  10115. othercredit:
  10116. description: 其它授信金额
  10117. type: number
  10118. othercreditdecrease:
  10119. description: 今日其它授信减少
  10120. type: number
  10121. othercreditincrease:
  10122. description: 今日其它授信增加
  10123. type: number
  10124. otherfreezemargin:
  10125. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  10126. type: number
  10127. otherincome:
  10128. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  10129. type: number
  10130. otherpay:
  10131. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  10132. type: number
  10133. outamount:
  10134. description: 今日出金金额(包括三方出金)
  10135. type: number
  10136. outamountfreeze:
  10137. description: 出金冻结
  10138. type: number
  10139. outthreshold:
  10140. description: 出金阈值
  10141. type: number
  10142. parentaccountid:
  10143. description: 所属根账号
  10144. type: integer
  10145. paycharge:
  10146. description: 今日手续费支出
  10147. type: number
  10148. relatedaccountstatus:
  10149. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  10150. type: integer
  10151. relateduserid:
  10152. description: 关联用户
  10153. type: integer
  10154. serivcegroup:
  10155. description: 服务分组
  10156. type: integer
  10157. signstatus:
  10158. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10159. type: integer
  10160. sublevelpath:
  10161. description: 账号层级路径(逗号分隔,首尾加逗号)
  10162. type: string
  10163. taaccounttype:
  10164. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  10165. type: integer
  10166. thirdinamount:
  10167. description: 今日三方入金
  10168. type: number
  10169. thirdoutamount:
  10170. description: 今日三方出金
  10171. type: number
  10172. tradestatus:
  10173. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  10174. type: integer
  10175. tradestatuschangetime:
  10176. description: 激活时间
  10177. type: string
  10178. transferamount:
  10179. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  10180. type: number
  10181. usedmargin:
  10182. description: 占用保证金
  10183. type: number
  10184. userid:
  10185. description: 用户ID
  10186. type: integer
  10187. required:
  10188. - accountid
  10189. - userid
  10190. type: object
  10191. models.Tablecolumnconfig:
  10192. properties:
  10193. aligntype:
  10194. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  10195. type: integer
  10196. autoid:
  10197. description: AutoID
  10198. type: integer
  10199. columnfield:
  10200. description: 列字段
  10201. type: string
  10202. columntitle:
  10203. description: 列Title
  10204. type: string
  10205. columnwidth:
  10206. description: 列宽
  10207. type: string
  10208. formatterstring:
  10209. description: 格式化字符
  10210. type: string
  10211. formattertype:
  10212. description: 格式化类型
  10213. type: string
  10214. groupname:
  10215. description: 表头分组名称
  10216. type: string
  10217. isshow:
  10218. description: 是否显示 - 0:不显示 1:显示
  10219. type: integer
  10220. needsummary:
  10221. description: 是否需要汇总 - 0:不需要 1:需要
  10222. type: integer
  10223. orderindex:
  10224. description: 顺序
  10225. type: integer
  10226. remark:
  10227. description: 备注
  10228. type: string
  10229. summarytype:
  10230. description: 汇总类型 - 1:加总 2:最后一个
  10231. type: integer
  10232. tablekey:
  10233. description: 列表Key
  10234. type: string
  10235. required:
  10236. - autoid
  10237. type: object
  10238. models.Useraccount:
  10239. properties:
  10240. accountname:
  10241. description: 账户名称(机构名称)
  10242. type: string
  10243. accountstatus:
  10244. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10245. type: integer
  10246. auditremark:
  10247. description: 审核备注
  10248. type: string
  10249. audittime:
  10250. description: 审核时间
  10251. type: string
  10252. audituserid:
  10253. description: 审核人
  10254. type: integer
  10255. broker:
  10256. description: 所属经纪人ID
  10257. type: integer
  10258. canceltime:
  10259. description: 销户时间
  10260. type: string
  10261. canceluserid:
  10262. description: 销户人
  10263. type: integer
  10264. createtime:
  10265. description: 创建时间
  10266. type: string
  10267. creatorid:
  10268. description: 创建人
  10269. type: integer
  10270. hasauth:
  10271. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  10272. type: integer
  10273. isanonymous:
  10274. description: 是否匿名下单 - 0:否 1:是
  10275. type: integer
  10276. maxinvestornum:
  10277. description: 最大用户数(经纪会员下投资者个数)
  10278. type: integer
  10279. memberuserid:
  10280. description: 所属会员ID
  10281. type: integer
  10282. modifierid:
  10283. description: 修改人
  10284. type: integer
  10285. modifyremark:
  10286. description: 变更备注
  10287. type: string
  10288. modifystatus:
  10289. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  10290. type: integer
  10291. modifytime:
  10292. description: 修改时间
  10293. type: string
  10294. parentuserid:
  10295. description: 所属机构ID
  10296. type: integer
  10297. reckonaccountid:
  10298. description: 默认结算资金账号ID(机构分润使用) 作废
  10299. type: integer
  10300. refercount:
  10301. description: 推荐总人数
  10302. type: integer
  10303. refereeuserid:
  10304. description: 推荐人ID
  10305. type: integer
  10306. refernum:
  10307. description: 推荐码
  10308. type: string
  10309. subarealevelpath:
  10310. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10311. type: string
  10312. userid:
  10313. description: 用户ID
  10314. type: integer
  10315. usertype:
  10316. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10317. type: integer
  10318. required:
  10319. - userid
  10320. type: object
  10321. models.Userfavoritegoods:
  10322. properties:
  10323. goodsid:
  10324. description: 商品ID
  10325. type: integer
  10326. required:
  10327. - goodsid
  10328. type: object
  10329. models.Userinfo:
  10330. properties:
  10331. address:
  10332. description: 地址
  10333. type: string
  10334. attachment1:
  10335. description: 附件1
  10336. type: string
  10337. attachment2:
  10338. description: 附件2
  10339. type: string
  10340. bankaccount:
  10341. description: 银行帐号 (加密存储)
  10342. type: string
  10343. bankaccountname:
  10344. description: 收款人名称
  10345. type: string
  10346. bankcardfrontphotourl:
  10347. description: 银行卡正面照地址
  10348. type: string
  10349. bankid:
  10350. description: 银行编码
  10351. type: string
  10352. bankname:
  10353. description: 银行名称
  10354. type: string
  10355. biznature:
  10356. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  10357. type: integer
  10358. bizscope:
  10359. description: 企业经营范围(企业)
  10360. type: string
  10361. cardbackphotourl:
  10362. description: 证件背面图片地址
  10363. type: string
  10364. cardfrontphotourl:
  10365. description: 证件正面图片地址
  10366. type: string
  10367. cardnum:
  10368. description: 证件号码(加密存储)
  10369. type: string
  10370. cardtypeid:
  10371. description: 证件类型ID
  10372. type: integer
  10373. cityid:
  10374. description: 市
  10375. type: integer
  10376. company:
  10377. description: 公司(个人)
  10378. type: string
  10379. contactname:
  10380. description: 联系人
  10381. type: string
  10382. countryid:
  10383. description: 国家
  10384. type: integer
  10385. createtime:
  10386. description: 创建时间
  10387. type: string
  10388. creatorid:
  10389. description: 创建人
  10390. type: integer
  10391. customername:
  10392. description: 客户名称(企业名称)
  10393. type: string
  10394. districtid:
  10395. description: 地区
  10396. type: integer
  10397. email:
  10398. description: 邮件(加密存储)
  10399. type: string
  10400. fax:
  10401. description: 传真(加密存储)
  10402. type: string
  10403. halfbodyphotourl:
  10404. description: 半身照地址
  10405. type: string
  10406. hasencrypt:
  10407. description: 数据是否已加密 - 0:未加密 1:已加密
  10408. type: integer
  10409. headurl:
  10410. description: 头像地址
  10411. type: string
  10412. legalcardbackphotourl:
  10413. description: 法人身份证背面照地址
  10414. type: string
  10415. legalcardfrontphotourl:
  10416. description: 法人身份证正面照地址
  10417. type: string
  10418. legalpersonname:
  10419. description: 法人姓名(企业)
  10420. type: string
  10421. mobile:
  10422. description: 手机号码(加密存储)
  10423. type: string
  10424. mobile2:
  10425. description: 手机号码[明文-尚志]
  10426. type: string
  10427. modifierid:
  10428. description: 修改人
  10429. type: integer
  10430. modifiertime:
  10431. description: 修改时间
  10432. type: string
  10433. needinvoice:
  10434. description: 是否需要发票 - 0:不需要 1:需要
  10435. type: integer
  10436. nickname:
  10437. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  10438. type: string
  10439. openmode:
  10440. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  10441. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  10442. type: integer
  10443. otherurl:
  10444. description: 其它图片地址[使用分号分隔]
  10445. type: string
  10446. postalcode:
  10447. description: 邮政编码
  10448. type: string
  10449. provinceid:
  10450. description: 省
  10451. type: integer
  10452. qq:
  10453. description: QQ(加密存储
  10454. type: string
  10455. remark:
  10456. description: 备注
  10457. type: string
  10458. sex:
  10459. description: '用户性别 0: 女 1: 男'
  10460. type: integer
  10461. signpdfurl:
  10462. description: 签约pdf文件
  10463. type: string
  10464. telphone:
  10465. description: 联系电话(加密存储)
  10466. type: string
  10467. userid:
  10468. description: 用户ID
  10469. type: integer
  10470. userinfotype:
  10471. description: 用户信息类型 - 1:个人 2:企业
  10472. type: integer
  10473. userstatus:
  10474. description: 用户状态 - 1:正常 2:注销
  10475. type: integer
  10476. usertype:
  10477. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10478. type: integer
  10479. wechat:
  10480. description: 微信(加密存储)
  10481. type: string
  10482. wskhinfo:
  10483. description: 开户申请信息(JSON)
  10484. type: string
  10485. required:
  10486. - userid
  10487. type: object
  10488. models.WRSConverTDetail:
  10489. properties:
  10490. convertratio:
  10491. description: 套保系数
  10492. type: number
  10493. deliverygoodscode:
  10494. description: 现货商品代码
  10495. type: string
  10496. deliverygoodsid:
  10497. description: 现货品种ID
  10498. type: integer
  10499. deliverygoodsname:
  10500. description: 现货商品名称
  10501. type: string
  10502. enumdicname:
  10503. description: 单位名称
  10504. type: string
  10505. goodsunitid:
  10506. description: 套保品种单位id
  10507. type: integer
  10508. middlegoodscode:
  10509. description: 套保品种代码
  10510. type: string
  10511. middlegoodsid:
  10512. description: 套保品种ID
  10513. type: integer
  10514. middlegoodsname:
  10515. description: 套保品种名称
  10516. type: string
  10517. modifytime:
  10518. description: 修改时间
  10519. type: string
  10520. wrstandardid:
  10521. description: 品类ID
  10522. type: integer
  10523. type: object
  10524. models.WRStandardInfo:
  10525. properties:
  10526. areauserid:
  10527. description: 所属机构
  10528. type: integer
  10529. convertfactor:
  10530. description: 标仓系数
  10531. type: number
  10532. createtime:
  10533. description: 创建时间
  10534. type: string
  10535. creatorid:
  10536. description: 创建人
  10537. type: integer
  10538. deliverygoodsid:
  10539. description: 品种ID
  10540. type: integer
  10541. deliverygoodsname:
  10542. description: 交割商品名称
  10543. type: string
  10544. factoryitemjson:
  10545. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  10546. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  10547. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  10548. 逗号分隔'
  10549. type: string
  10550. isvalid:
  10551. description: 是否有效 - 0:无效 1:有效
  10552. type: integer
  10553. minivalue:
  10554. description: 最小变动值
  10555. type: integer
  10556. minivaluedp:
  10557. description: 最小变动值小数位
  10558. type: integer
  10559. realminivalue:
  10560. description: 实际最小变动值
  10561. type: integer
  10562. realminivaluedp:
  10563. description: 实际最小变动值小数位
  10564. type: integer
  10565. remark:
  10566. description: 备注
  10567. type: string
  10568. unitid:
  10569. description: 单位ID
  10570. type: integer
  10571. unitname:
  10572. description: 单位
  10573. type: string
  10574. updatetime:
  10575. description: 更新时间
  10576. type: string
  10577. updatorid:
  10578. description: 更新人
  10579. type: integer
  10580. wrsstatus:
  10581. description: 状态 - 作废 - 0:未激活 1:正常
  10582. type: integer
  10583. wrstandardcode:
  10584. description: 现货品类代码
  10585. type: string
  10586. wrstandardid:
  10587. description: 现货品类ID(SEQ_WRSTANDARD)
  10588. type: integer
  10589. wrstandardname:
  10590. description: 现货品类名称
  10591. type: string
  10592. required:
  10593. - wrstandardid
  10594. type: object
  10595. models.Warehouseinfo:
  10596. properties:
  10597. address:
  10598. description: 详细地址
  10599. type: string
  10600. areauserid:
  10601. description: 所属机构
  10602. type: integer
  10603. autoid:
  10604. description: 自增ID
  10605. type: integer
  10606. cityid:
  10607. description: 市
  10608. type: integer
  10609. contactname:
  10610. description: 联系人
  10611. type: string
  10612. contactnum:
  10613. description: 联系电话
  10614. type: string
  10615. countryid:
  10616. description: 国家
  10617. type: integer
  10618. createtime:
  10619. description: 创建时间
  10620. type: string
  10621. districtid:
  10622. description: 区
  10623. type: integer
  10624. hasvideo:
  10625. description: 是否有视频 - 0:无 1:有
  10626. type: integer
  10627. provinceid:
  10628. description: 省
  10629. type: integer
  10630. remark:
  10631. description: 审核备注
  10632. type: string
  10633. videourl:
  10634. description: 视频地址
  10635. type: string
  10636. warehousecode:
  10637. description: 仓库代码
  10638. type: string
  10639. warehousename:
  10640. description: 仓库名称
  10641. type: string
  10642. warehousestatus:
  10643. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10644. type: integer
  10645. warehousetype:
  10646. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10647. type: integer
  10648. required:
  10649. - autoid
  10650. - warehousecode
  10651. type: object
  10652. order.QueryHisTradeDetailRsp:
  10653. properties:
  10654. accountid:
  10655. description: 账户ID[报价币种]
  10656. type: integer
  10657. buildtype:
  10658. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10659. type: integer
  10660. buyorsell:
  10661. description: 方向 - 0:买 1:卖
  10662. type: integer
  10663. charge:
  10664. description: 手续费
  10665. type: number
  10666. closecharge:
  10667. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10668. type: number
  10669. closeexchagechargevalue:
  10670. description: 平仓交易所手续费设置值
  10671. type: number
  10672. closefeealgorithm:
  10673. description: 平仓手续费收取方式 1:比率 2:固定
  10674. type: integer
  10675. closememberchargevalue:
  10676. description: 平仓会员手续费设置值
  10677. type: number
  10678. closepl:
  10679. description: 平仓盈亏
  10680. type: number
  10681. closepl2:
  10682. description: 平仓盈亏[逐笔]
  10683. type: number
  10684. closeqty:
  10685. description: 平仓数量(先建后平操作 需要记录)
  10686. type: integer
  10687. creditamount:
  10688. description: 授信金额
  10689. type: number
  10690. gcaccountid:
  10691. description: 账户ID[合约币种]
  10692. type: integer
  10693. goodscode:
  10694. description: 商品代码
  10695. type: string
  10696. goodsid:
  10697. description: 商品ID
  10698. type: integer
  10699. goodsname:
  10700. description: 商品名称
  10701. type: string
  10702. histradedate:
  10703. description: 历史交易日
  10704. type: string
  10705. intclosepl:
  10706. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10707. type: integer
  10708. isconfirmexercise:
  10709. description: 是否确认行权- 0:否 1:是
  10710. type: integer
  10711. ismain:
  10712. description: 是否主单 - 0:不是 1:是
  10713. type: integer
  10714. ispreexercise:
  10715. description: 是否预申报- 0:否 1:是
  10716. type: integer
  10717. isreckoned:
  10718. description: 是否结算 - 0:未结算 1:已结算
  10719. type: integer
  10720. isvaliddata:
  10721. description: 是否有效 - 0:无效 1:有效
  10722. type: integer
  10723. listingselecttype:
  10724. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10725. type: integer
  10726. marketid:
  10727. description: 市场ID
  10728. type: integer
  10729. marketname:
  10730. description: 市场名称
  10731. type: string
  10732. matchaccountid:
  10733. description: 对手账号id
  10734. type: integer
  10735. memberuserid:
  10736. description: 会员id 个人投资者 需要填写
  10737. type: integer
  10738. opencharge:
  10739. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10740. type: number
  10741. openexchagechargevalue:
  10742. description: 建仓交易所手续费设置值
  10743. type: number
  10744. openfeealgorithm:
  10745. description: 建仓手续费收取方式 1:比率 2:固定
  10746. type: integer
  10747. openmemberchargevalue:
  10748. description: 建仓会员手续费设置值
  10749. type: number
  10750. openqty:
  10751. description: 开仓数量(先建后平操作 需要记录)
  10752. type: integer
  10753. optiontype:
  10754. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10755. type: integer
  10756. orderid:
  10757. description: 委托单号
  10758. type: string
  10759. performanceplanid:
  10760. description: 履约计划ID[期权]
  10761. type: integer
  10762. performancestatus:
  10763. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10764. type: integer
  10765. preexerciseprice:
  10766. description: 预申报价格
  10767. type: number
  10768. premium:
  10769. description: 权利金 - [持仓单的权利金]
  10770. type: number
  10771. relatedouttradeid:
  10772. description: 关联外部成交单ID
  10773. type: integer
  10774. status:
  10775. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10776. type: integer
  10777. tradeamount:
  10778. description: 成交金额[账户币种,用于所有权]
  10779. type: number
  10780. tradedate:
  10781. description: 交易日(yyyyMMdd)
  10782. type: string
  10783. tradeid:
  10784. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10785. type: string
  10786. trademode:
  10787. description: 交易模式
  10788. type: integer
  10789. tradeprice:
  10790. description: 成交价格
  10791. type: number
  10792. tradeproperty:
  10793. description: 交易属性
  10794. type: integer
  10795. tradeqty:
  10796. description: 成交数量
  10797. type: integer
  10798. tradetime:
  10799. description: 成交时间
  10800. type: string
  10801. tradetype:
  10802. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10803. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10804. type: integer
  10805. required:
  10806. - accountid
  10807. - buyorsell
  10808. - goodsid
  10809. - histradedate
  10810. - marketid
  10811. - memberuserid
  10812. - orderid
  10813. - tradeamount
  10814. - tradedate
  10815. - tradeid
  10816. - tradeprice
  10817. - tradeqty
  10818. - tradetime
  10819. type: object
  10820. order.QueryHisTradeOrderDetailRsp:
  10821. properties:
  10822. accountid:
  10823. description: 账户ID[报价币种]
  10824. type: integer
  10825. buildtype:
  10826. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10827. type: integer
  10828. buyorsell:
  10829. description: 买卖 - 0:买 1:卖
  10830. type: integer
  10831. cancelorderid:
  10832. description: 撤单单号(撤单时填写)
  10833. type: string
  10834. cancelqty:
  10835. description: 撤单数量
  10836. type: integer
  10837. clientordertime:
  10838. description: 客户端委托时间
  10839. type: string
  10840. clientticket:
  10841. description: 客户端流水号
  10842. type: string
  10843. clienttype:
  10844. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10845. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10846. type: integer
  10847. closeexchagechargevalue:
  10848. description: 平仓交易所手续费设置值
  10849. type: number
  10850. closefeealgorithm:
  10851. description: 平仓手续费收取方式 1:比率 2:固定
  10852. type: integer
  10853. closefreezecharge:
  10854. description: 平仓冻结手续费(先建后平操作,需要记录)
  10855. type: number
  10856. closememberchargevalue:
  10857. description: 平仓会员手续费设置值
  10858. type: number
  10859. closeqty:
  10860. description: 平仓数量(先建后平操作 需要记录)
  10861. type: integer
  10862. closetradeqty:
  10863. description: 平仓成交数量(先建后平操作,需要记录)
  10864. type: integer
  10865. closeunfreezecharge:
  10866. description: 平仓解冻手续费(先建后平操作,需要记录)
  10867. type: number
  10868. delistingtype:
  10869. description: 摘牌类型 - 1:价格最优 2:点选成交
  10870. type: integer
  10871. freezecharge:
  10872. description: 冻结手续费
  10873. type: number
  10874. freezemargin:
  10875. description: 冻结保证金(冻结交易金额)
  10876. type: number
  10877. gcaccountid:
  10878. description: 账户ID[合约币种]
  10879. type: integer
  10880. goodscode:
  10881. description: 商品代码
  10882. type: string
  10883. goodsid:
  10884. description: 商品ID
  10885. type: integer
  10886. goodsname:
  10887. description: 商品名称
  10888. type: string
  10889. histradedate:
  10890. description: 历史交易日
  10891. type: string
  10892. isconfirmexercise:
  10893. description: 是否确认行权- 0:否 1:是
  10894. type: integer
  10895. ispreexercise:
  10896. description: 是否预申报- 0:否 1:是
  10897. type: integer
  10898. isvaliddata:
  10899. description: 是否有效 - 0:无效 1:有效
  10900. type: integer
  10901. listingselecttype:
  10902. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10903. type: integer
  10904. marginalgorithm:
  10905. description: 保证金收取方式 1:比率 2:固定
  10906. type: integer
  10907. marginvalue:
  10908. description: 即市保证金设置值
  10909. type: number
  10910. marketid:
  10911. description: 市场ID
  10912. type: integer
  10913. marketmaxsub:
  10914. description: 市价最大偏移范围
  10915. type: number
  10916. marketname:
  10917. description: 市场名称
  10918. type: string
  10919. memberuserid:
  10920. description: 所属会员UserID
  10921. type: integer
  10922. openexchagechargevalue:
  10923. description: 建仓交易所手续费设置值
  10924. type: number
  10925. openfeealgorithm:
  10926. description: 建仓手续费收取方式 1:比率 2:固定
  10927. type: integer
  10928. openfreezecharge:
  10929. description: 开仓冻结手续费(先建后平操作,需要记录)
  10930. type: number
  10931. openmemberchargevalue:
  10932. description: 建仓会员手续费设置值
  10933. type: number
  10934. openqty:
  10935. description: 开仓数量(先建后平操作,需要记录)
  10936. type: integer
  10937. opentradeqty:
  10938. description: 开仓成交数量(先建后平操作,需要记录)
  10939. type: integer
  10940. openunfreezecharge:
  10941. description: 开仓解冻手续费(先建后平操作,需要记录)
  10942. type: number
  10943. operatetype:
  10944. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10945. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10946. 15:管理端协议转让
  10947. type: integer
  10948. operatorid:
  10949. description: 登录账号(LoginID)
  10950. type: integer
  10951. optiontype:
  10952. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10953. type: integer
  10954. orderid:
  10955. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10956. type: string
  10957. orderprice:
  10958. description: 委托价格
  10959. type: number
  10960. orderqty:
  10961. description: 委托数量
  10962. type: integer
  10963. ordersrc:
  10964. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10965. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10966. type: integer
  10967. orderstatus:
  10968. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10969. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10970. 16:成交失败违约(荷兰式竞拍专用)
  10971. type: integer
  10972. ordertime:
  10973. description: 委托时间
  10974. type: string
  10975. preexerciseprice:
  10976. description: 预申报价格
  10977. type: number
  10978. premium:
  10979. description: 权利金
  10980. type: number
  10981. preorderid:
  10982. description: 关联预埋单号(止盈止损单时填写)
  10983. type: string
  10984. pricemode:
  10985. description: '取价方式 - 1:市价 2: 限价'
  10986. type: integer
  10987. quoteid:
  10988. description: 报价单ID
  10989. type: integer
  10990. relatedid:
  10991. description: 关联单号(交割单)
  10992. type: string
  10993. retcode:
  10994. description: 错误代码
  10995. type: integer
  10996. sessionid:
  10997. description: 会话ID
  10998. type: integer
  10999. tradedate:
  11000. description: 交易日(yyyyMMdd)
  11001. type: string
  11002. trademode:
  11003. description: 交易模式
  11004. type: integer
  11005. tradeproperty:
  11006. description: 交易属性
  11007. type: integer
  11008. tradeqty:
  11009. description: 成交数量
  11010. type: integer
  11011. unfreezecharge:
  11012. description: 解冻手续费
  11013. type: number
  11014. unfreezemargin:
  11015. description: 解冻保证金
  11016. type: number
  11017. updatetime:
  11018. description: 更新时间
  11019. type: string
  11020. uuid:
  11021. description: 发起端唯一id
  11022. type: string
  11023. validtime:
  11024. description: 有效期限
  11025. type: string
  11026. validtype:
  11027. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11028. type: integer
  11029. volumetype:
  11030. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11031. type: integer
  11032. required:
  11033. - accountid
  11034. - buildtype
  11035. - buyorsell
  11036. - goodsid
  11037. - histradedate
  11038. - marketid
  11039. - memberuserid
  11040. - operatetype
  11041. - orderid
  11042. - orderqty
  11043. - ordertime
  11044. - pricemode
  11045. - tradedate
  11046. - validtype
  11047. type: object
  11048. order.QueryTradeDetailRsp:
  11049. properties:
  11050. accountid:
  11051. description: 账户ID[报价币种]
  11052. type: integer
  11053. buildtype:
  11054. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11055. type: integer
  11056. buyorsell:
  11057. description: 方向 - 0:买 1:卖
  11058. type: integer
  11059. charge:
  11060. description: 手续费
  11061. type: number
  11062. closecharge:
  11063. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11064. type: number
  11065. closeexchagechargevalue:
  11066. description: 平仓交易所手续费设置值
  11067. type: number
  11068. closefeealgorithm:
  11069. description: 平仓手续费收取方式 1:比率 2:固定
  11070. type: integer
  11071. closememberchargevalue:
  11072. description: 平仓会员手续费设置值
  11073. type: number
  11074. closepl:
  11075. description: 平仓盈亏
  11076. type: number
  11077. closepl2:
  11078. description: 平仓盈亏[逐笔]
  11079. type: number
  11080. closeqty:
  11081. description: 平仓数量(先建后平操作 需要记录)
  11082. type: integer
  11083. creditamount:
  11084. description: 授信金额
  11085. type: number
  11086. gcaccountid:
  11087. description: 账户ID[合约币种]
  11088. type: integer
  11089. goodscode:
  11090. description: 商品代码
  11091. type: string
  11092. goodsid:
  11093. description: 商品ID
  11094. type: integer
  11095. goodsname:
  11096. description: 商品名称
  11097. type: string
  11098. intclosepl:
  11099. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11100. type: integer
  11101. isconfirmexercise:
  11102. description: 是否确认行权- 0:否 1:是
  11103. type: integer
  11104. ismain:
  11105. description: 是否主单 - 0:不是 1:是
  11106. type: integer
  11107. ispreexercise:
  11108. description: 是否预申报- 0:否 1:是
  11109. type: integer
  11110. isreckoned:
  11111. description: 是否结算 - 0:未结算 1:已结算
  11112. type: integer
  11113. listingselecttype:
  11114. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11115. type: integer
  11116. marketid:
  11117. description: 市场ID
  11118. type: integer
  11119. marketname:
  11120. description: 市场名称
  11121. type: string
  11122. matchaccountid:
  11123. description: 对手账号id
  11124. type: integer
  11125. memberuserid:
  11126. description: 会员id 个人投资者 需要填写
  11127. type: integer
  11128. opencharge:
  11129. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11130. type: number
  11131. openexchagechargevalue:
  11132. description: 建仓交易所手续费设置值
  11133. type: number
  11134. openfeealgorithm:
  11135. description: 建仓手续费收取方式 1:比率 2:固定
  11136. type: integer
  11137. openmemberchargevalue:
  11138. description: 建仓会员手续费设置值
  11139. type: number
  11140. openqty:
  11141. description: 开仓数量(先建后平操作 需要记录)
  11142. type: integer
  11143. optiontype:
  11144. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11145. type: integer
  11146. orderid:
  11147. description: 委托单号
  11148. type: string
  11149. performanceplanid:
  11150. description: 履约计划ID[期权]
  11151. type: integer
  11152. performancestatus:
  11153. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11154. type: integer
  11155. preexerciseprice:
  11156. description: 预申报价格
  11157. type: number
  11158. premium:
  11159. description: 权利金 - [持仓单的权利金]
  11160. type: number
  11161. relatedouttradeid:
  11162. description: 关联外部成交单ID
  11163. type: integer
  11164. status:
  11165. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11166. type: integer
  11167. tradeamount:
  11168. description: 成交金额[账户币种,用于所有权]
  11169. type: number
  11170. tradedate:
  11171. description: 交易日(yyyyMMdd)
  11172. type: string
  11173. tradeid:
  11174. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11175. type: string
  11176. trademode:
  11177. description: 交易模式
  11178. type: integer
  11179. tradeprice:
  11180. description: 成交价格
  11181. type: number
  11182. tradeproperty:
  11183. description: 交易属性
  11184. type: integer
  11185. tradeqty:
  11186. description: 成交数量
  11187. type: integer
  11188. tradetime:
  11189. description: 成交时间
  11190. type: string
  11191. tradetype:
  11192. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11193. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11194. type: integer
  11195. required:
  11196. - accountid
  11197. - buyorsell
  11198. - goodsid
  11199. - marketid
  11200. - memberuserid
  11201. - orderid
  11202. - tradeamount
  11203. - tradedate
  11204. - tradeid
  11205. - tradeprice
  11206. - tradeqty
  11207. - tradetime
  11208. type: object
  11209. order.QueryTradeOrderDetailRsp:
  11210. properties:
  11211. accountid:
  11212. description: 账户ID[报价币种]
  11213. type: integer
  11214. buildtype:
  11215. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11216. type: integer
  11217. buyorsell:
  11218. description: 买卖 - 0:买 1:卖
  11219. type: integer
  11220. cancelorderid:
  11221. description: 撤单单号(撤单时填写)
  11222. type: string
  11223. cancelqty:
  11224. description: 撤单数量
  11225. type: integer
  11226. clienttype:
  11227. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11228. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11229. type: integer
  11230. closefreezecharge:
  11231. description: 平仓冻结手续费(先建后平操作,需要记录)
  11232. type: number
  11233. closeqty:
  11234. description: 平仓数量(先建后平操作 需要记录)
  11235. type: integer
  11236. closetradeqty:
  11237. description: 平仓成交数量(先建后平操作,需要记录)
  11238. type: integer
  11239. closeunfreezecharge:
  11240. description: 平仓解冻手续费(先建后平操作,需要记录)
  11241. type: number
  11242. delistingtype:
  11243. description: 摘牌类型 - 1:价格最优 2:点选成交
  11244. type: integer
  11245. enableqty:
  11246. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  11247. type: integer
  11248. freezecharge:
  11249. description: 冻结手续费
  11250. type: number
  11251. freezemargin:
  11252. description: 冻结保证金(冻结交易金额)
  11253. type: number
  11254. goodscode:
  11255. description: 商品代码
  11256. type: string
  11257. goodsid:
  11258. description: 商品ID
  11259. type: integer
  11260. goodsname:
  11261. description: 商品名称
  11262. type: string
  11263. listingselecttype:
  11264. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11265. type: integer
  11266. marketid:
  11267. description: 市场ID
  11268. type: integer
  11269. marketname:
  11270. description: 市场名称
  11271. type: string
  11272. openfreezecharge:
  11273. description: 开仓冻结手续费(先建后平操作,需要记录)
  11274. type: number
  11275. openqty:
  11276. description: 开仓数量(先建后平操作,需要记录)
  11277. type: integer
  11278. opentradeqty:
  11279. description: 开仓成交数量(先建后平操作,需要记录)
  11280. type: integer
  11281. openunfreezecharge:
  11282. description: 开仓解冻手续费(先建后平操作,需要记录)
  11283. type: number
  11284. operatetype:
  11285. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11286. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11287. 15:管理端协议转让
  11288. type: integer
  11289. operatorid:
  11290. description: 登录账号(LoginID)
  11291. type: integer
  11292. orderid:
  11293. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11294. type: string
  11295. orderprice:
  11296. description: 委托价格
  11297. type: number
  11298. orderqty:
  11299. description: 委托数量
  11300. type: integer
  11301. ordersrc:
  11302. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11303. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11304. type: integer
  11305. orderstatus:
  11306. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11307. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11308. 16:成交失败违约(荷兰式竞拍专用)
  11309. type: integer
  11310. ordertime:
  11311. description: 委托时间
  11312. type: string
  11313. preorderid:
  11314. description: 关联预埋单号(止盈止损单时填写)
  11315. type: string
  11316. pricemode:
  11317. description: '取价方式 - 1:市价 2: 限价'
  11318. type: integer
  11319. relatedid:
  11320. description: 关联单号(交割单)
  11321. type: string
  11322. tradedate:
  11323. description: 交易日(yyyyMMdd)
  11324. type: string
  11325. trademode:
  11326. description: 交易模式
  11327. type: integer
  11328. tradeqty:
  11329. description: 成交数量
  11330. type: integer
  11331. unfreezecharge:
  11332. description: 解冻手续费
  11333. type: number
  11334. unfreezemargin:
  11335. description: 解冻保证金
  11336. type: number
  11337. validtime:
  11338. description: 有效期限
  11339. type: string
  11340. validtype:
  11341. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11342. type: integer
  11343. volumetype:
  11344. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11345. type: integer
  11346. required:
  11347. - accountid
  11348. - buildtype
  11349. - buyorsell
  11350. - goodsid
  11351. - marketid
  11352. - operatetype
  11353. - orderqty
  11354. - ordertime
  11355. - pricemode
  11356. - tradedate
  11357. - validtype
  11358. type: object
  11359. order.QueryTradePositionRsp:
  11360. properties:
  11361. accountid:
  11362. description: 资金账户
  11363. type: integer
  11364. agreeunit:
  11365. description: 合约单位
  11366. type: number
  11367. averageprice:
  11368. description: 持仓均价
  11369. type: number
  11370. buyorsell:
  11371. description: 方向 - 0:买 1:卖
  11372. type: integer
  11373. closetotalqty:
  11374. description: 平仓总数量
  11375. type: integer
  11376. curholderamount:
  11377. description: 当前持仓总金额[商品币种]
  11378. type: number
  11379. curpositionqty:
  11380. description: 当前持仓总数量
  11381. type: integer
  11382. currencyid:
  11383. description: 报价货币ID
  11384. type: integer
  11385. curtdposition:
  11386. description: 期末今日头寸
  11387. type: integer
  11388. decimalplace:
  11389. description: 报价小数位
  11390. type: integer
  11391. enableqty:
  11392. description: 可用量
  11393. type: integer
  11394. fretdposition:
  11395. description: 冻结今日头寸
  11396. type: integer
  11397. frozenqty:
  11398. description: 持仓冻结数量
  11399. type: integer
  11400. goodscode:
  11401. description: 商品代码
  11402. type: string
  11403. goodsid:
  11404. description: 商品Id
  11405. type: integer
  11406. goodsname:
  11407. description: 商品名称
  11408. type: string
  11409. goodunit:
  11410. description: 报价单位
  11411. type: string
  11412. goodunitid:
  11413. description: 报价单位ID
  11414. type: integer
  11415. holderamount:
  11416. description: 期初持仓总金额[商品币种]
  11417. type: number
  11418. marketid:
  11419. description: 所属市场ID
  11420. type: integer
  11421. openreqqty:
  11422. description: 开仓申请数量(用于比较最大持仓数量)
  11423. type: integer
  11424. opentotalqty:
  11425. description: 开仓总数量
  11426. type: integer
  11427. otherfrozenqty:
  11428. description: 持仓其他冻结数量(交割冻结)
  11429. type: integer
  11430. positionqty:
  11431. description: 期初持仓数量
  11432. type: integer
  11433. tnqty:
  11434. description: T+N冻结总量
  11435. type: integer
  11436. tnusedqty:
  11437. description: T+N使用量(可以使用T+N的冻结数量)
  11438. type: integer
  11439. trademode:
  11440. description: 交易模式
  11441. type: integer
  11442. usedmargin:
  11443. description: 占用保证金[商品币种]
  11444. type: number
  11445. required:
  11446. - goodsid
  11447. type: object
  11448. quote.HistoryData:
  11449. properties:
  11450. c:
  11451. description: 收盘价
  11452. type: number
  11453. f:
  11454. description: 是否补充数据
  11455. type: boolean
  11456. h:
  11457. description: 最高价
  11458. type: number
  11459. hv:
  11460. description: 持仓量
  11461. type: integer
  11462. l:
  11463. description: 最低价
  11464. type: number
  11465. o:
  11466. description: 开盘价
  11467. type: number
  11468. s:
  11469. description: 结算价,日线周期(包括)以上才有
  11470. type: number
  11471. ts:
  11472. description: 时间
  11473. type: string
  11474. tt:
  11475. description: 总金额
  11476. type: number
  11477. tv:
  11478. description: 总量
  11479. type: integer
  11480. type: object
  11481. quote.HistoryTikData:
  11482. properties:
  11483. AV:
  11484. description: 卖量
  11485. type: integer
  11486. Ask:
  11487. description: 卖价
  11488. type: number
  11489. BV:
  11490. description: 买量
  11491. type: integer
  11492. Bid:
  11493. description: 买价
  11494. type: number
  11495. HI:
  11496. description: 单笔持仓
  11497. type: integer
  11498. HV:
  11499. description: 持仓量
  11500. type: integer
  11501. PE:
  11502. description: 现价
  11503. type: number
  11504. TDR:
  11505. description: 交易方向,0:买 1:卖
  11506. type: integer
  11507. TK:
  11508. description: 交易类型
  11509. type: integer
  11510. TS:
  11511. description: 行情时间文本
  11512. type: string
  11513. TT:
  11514. description: 现金额
  11515. type: number
  11516. Vol:
  11517. description: 现量
  11518. type: integer
  11519. type: object
  11520. quote.QueryQuoteDayRsp:
  11521. properties:
  11522. ask:
  11523. description: 卖1
  11524. type: number
  11525. ask2:
  11526. description: 卖2
  11527. type: number
  11528. ask3:
  11529. description: 卖3
  11530. type: number
  11531. ask4:
  11532. description: 卖4
  11533. type: number
  11534. ask5:
  11535. description: 卖5
  11536. type: number
  11537. ask6:
  11538. description: 卖6
  11539. type: number
  11540. ask7:
  11541. description: 卖7
  11542. type: number
  11543. ask8:
  11544. description: 卖8
  11545. type: number
  11546. ask9:
  11547. description: 卖9
  11548. type: number
  11549. ask10:
  11550. description: 卖10
  11551. type: number
  11552. askorderid:
  11553. description: 卖单号1
  11554. type: integer
  11555. askorderid2:
  11556. description: 卖单号2
  11557. type: integer
  11558. askorderid3:
  11559. description: 卖单号3
  11560. type: integer
  11561. askorderid4:
  11562. description: 卖单号4
  11563. type: integer
  11564. askorderid5:
  11565. description: 卖单号5
  11566. type: integer
  11567. askordervolume:
  11568. description: 卖单量1
  11569. type: integer
  11570. askordervolume2:
  11571. description: 卖单量2
  11572. type: integer
  11573. askordervolume3:
  11574. description: 卖单量3
  11575. type: integer
  11576. askordervolume4:
  11577. description: 卖单量4
  11578. type: integer
  11579. askordervolume5:
  11580. description: 卖单量5
  11581. type: integer
  11582. askordervolume6:
  11583. description: 卖单量6
  11584. type: integer
  11585. askordervolume7:
  11586. description: 卖单量7
  11587. type: integer
  11588. askordervolume8:
  11589. description: 卖单量8
  11590. type: integer
  11591. askordervolume9:
  11592. description: 卖单量9
  11593. type: integer
  11594. askordervolume10:
  11595. description: 卖单量10
  11596. type: integer
  11597. askqueueinfo:
  11598. description: 大利市卖港股用
  11599. type: string
  11600. askvolume:
  11601. description: 卖量1
  11602. type: integer
  11603. askvolume2:
  11604. description: 卖量2
  11605. type: integer
  11606. askvolume3:
  11607. description: 卖量3
  11608. type: integer
  11609. askvolume4:
  11610. description: 卖量4
  11611. type: integer
  11612. askvolume5:
  11613. description: 卖量5
  11614. type: integer
  11615. askvolume6:
  11616. description: 卖量6
  11617. type: integer
  11618. askvolume7:
  11619. description: 卖量7
  11620. type: integer
  11621. askvolume8:
  11622. description: 卖量8
  11623. type: integer
  11624. askvolume9:
  11625. description: 卖量9
  11626. type: integer
  11627. askvolume10:
  11628. description: 卖量10
  11629. type: integer
  11630. averageprice:
  11631. description: 均价
  11632. type: number
  11633. bid:
  11634. description: 买1
  11635. type: number
  11636. bid2:
  11637. description: 买2
  11638. type: number
  11639. bid3:
  11640. description: 买3
  11641. type: number
  11642. bid4:
  11643. description: 买4
  11644. type: number
  11645. bid5:
  11646. description: 买5
  11647. type: number
  11648. bid6:
  11649. description: 买6
  11650. type: number
  11651. bid7:
  11652. description: 买7
  11653. type: number
  11654. bid8:
  11655. description: 买8
  11656. type: number
  11657. bid9:
  11658. description: 买9
  11659. type: number
  11660. bid10:
  11661. description: 买10
  11662. type: number
  11663. bidorderid:
  11664. description: 买单号1
  11665. type: integer
  11666. bidorderid2:
  11667. description: 买单号2
  11668. type: integer
  11669. bidorderid3:
  11670. description: 买单号3
  11671. type: integer
  11672. bidorderid4:
  11673. description: 买单号4
  11674. type: integer
  11675. bidorderid5:
  11676. description: 买单号5
  11677. type: integer
  11678. bidordervolume:
  11679. description: 买单量1
  11680. type: integer
  11681. bidordervolume2:
  11682. description: 买单量2
  11683. type: integer
  11684. bidordervolume3:
  11685. description: 买单量3
  11686. type: integer
  11687. bidordervolume4:
  11688. description: 买单量4
  11689. type: integer
  11690. bidordervolume5:
  11691. description: 买单量5
  11692. type: integer
  11693. bidordervolume6:
  11694. description: 买单量6
  11695. type: integer
  11696. bidordervolume7:
  11697. description: 买单量7
  11698. type: integer
  11699. bidordervolume8:
  11700. description: 买单量8
  11701. type: integer
  11702. bidordervolume9:
  11703. description: 买单量9
  11704. type: integer
  11705. bidordervolume10:
  11706. description: 买单量10
  11707. type: integer
  11708. bidqueueinfo:
  11709. description: 大利市买港股用
  11710. type: string
  11711. bidvolume:
  11712. description: 买量1
  11713. type: integer
  11714. bidvolume2:
  11715. description: 买量2
  11716. type: integer
  11717. bidvolume3:
  11718. description: 买量3
  11719. type: integer
  11720. bidvolume4:
  11721. description: 买量4
  11722. type: integer
  11723. bidvolume5:
  11724. description: 买量5
  11725. type: integer
  11726. bidvolume6:
  11727. description: 买量6
  11728. type: integer
  11729. bidvolume7:
  11730. description: 买量7
  11731. type: integer
  11732. bidvolume8:
  11733. description: 买量8
  11734. type: integer
  11735. bidvolume9:
  11736. description: 买量9
  11737. type: integer
  11738. bidvolume10:
  11739. description: 买量10
  11740. type: integer
  11741. calloptionpremiums:
  11742. description: 认购期权1
  11743. type: integer
  11744. calloptionpremiums2:
  11745. description: 认购期权2
  11746. type: integer
  11747. calloptionpremiums3:
  11748. description: 认购期权3
  11749. type: integer
  11750. calloptionpremiums4:
  11751. description: 认购期权4
  11752. type: integer
  11753. calloptionpremiums5:
  11754. description: 认购期权5
  11755. type: integer
  11756. cleartime:
  11757. description: 清盘时间
  11758. type: integer
  11759. exchangecode:
  11760. description: 交易所代码
  11761. type: integer
  11762. exchangedate:
  11763. description: 交易日
  11764. type: integer
  11765. goodscode:
  11766. description: 商品代码
  11767. type: string
  11768. grepmarketprice:
  11769. description: 暗盘价 港股专用
  11770. type: number
  11771. highest:
  11772. description: 最高价
  11773. type: number
  11774. holdincrement:
  11775. description: 单笔持仓
  11776. type: integer
  11777. holdvolume:
  11778. description: 持仓
  11779. type: integer
  11780. iep:
  11781. description: 平衡价 港股专用
  11782. type: number
  11783. iev:
  11784. description: 平衡量 港股专用
  11785. type: number
  11786. inventory:
  11787. description: 库存
  11788. type: integer
  11789. iscleared:
  11790. description: 是否清盘标志
  11791. type: integer
  11792. issettled:
  11793. description: 是否结算标志
  11794. type: integer
  11795. last:
  11796. description: 最新价
  11797. type: number
  11798. lastlot:
  11799. description: 最新成交手数
  11800. type: integer
  11801. lasttime:
  11802. description: 行情时间(只有现价变化行情时间才变化)
  11803. type: string
  11804. lastturnover:
  11805. description: 最新成交金额
  11806. type: number
  11807. lastvolume:
  11808. description: 最新成交量
  11809. type: integer
  11810. limitdown:
  11811. description: 跌停价
  11812. type: number
  11813. limitup:
  11814. description: 涨停价
  11815. type: number
  11816. lowest:
  11817. description: 最低价
  11818. type: number
  11819. nontotalholdervolume:
  11820. description: 非交易持仓量
  11821. type: integer
  11822. nontotallot:
  11823. description: 非交易总手数
  11824. type: integer
  11825. nontotalturnover:
  11826. description: 非交易总金额
  11827. type: integer
  11828. nontotalvolume:
  11829. description: 非交易总量
  11830. type: integer
  11831. opened:
  11832. description: 开盘价
  11833. type: number
  11834. opentime:
  11835. description: 开盘时间
  11836. type: string
  11837. orderid:
  11838. description: 序号
  11839. type: integer
  11840. preclose:
  11841. description: 昨收
  11842. type: number
  11843. preholdvolume:
  11844. description: 昨持仓
  11845. type: integer
  11846. presettle:
  11847. description: 昨结价
  11848. type: number
  11849. publictradetype:
  11850. description: 公共交易标志类型 港股专用
  11851. type: string
  11852. putoptionpremiums:
  11853. description: 认沽期权1
  11854. type: integer
  11855. putoptionpremiums2:
  11856. description: 认沽期权2
  11857. type: integer
  11858. putoptionpremiums3:
  11859. description: 认沽期权3
  11860. type: integer
  11861. putoptionpremiums4:
  11862. description: 认沽期权4
  11863. type: integer
  11864. putoptionpremiums5:
  11865. description: 认沽期权5
  11866. type: integer
  11867. settle:
  11868. description: 结算价
  11869. type: number
  11870. strikeprice:
  11871. description: 发行价
  11872. type: number
  11873. totalaskvolume:
  11874. description: 内盘
  11875. type: integer
  11876. totalbidvolume:
  11877. description: 外盘
  11878. type: integer
  11879. totallot:
  11880. description: 总手数
  11881. type: integer
  11882. totalturnover:
  11883. description: 总金额
  11884. type: number
  11885. totalvolume:
  11886. description: 总量
  11887. type: integer
  11888. utclasttime:
  11889. description: utc的行情时间
  11890. type: string
  11891. type: object
  11892. quote.QueryTSDataRsp:
  11893. properties:
  11894. Count:
  11895. description: 交易日应有数据个数
  11896. type: integer
  11897. decimalPlace:
  11898. description: 小数位
  11899. type: integer
  11900. endTime:
  11901. description: 结束时间
  11902. type: string
  11903. goodsCode:
  11904. description: 商品代码
  11905. type: string
  11906. historyDatas:
  11907. description: 历史数据
  11908. items:
  11909. $ref: '#/definitions/quote.HistoryData'
  11910. type: array
  11911. outGoodsCode:
  11912. description: 外部商品代码
  11913. type: string
  11914. preSettle:
  11915. description: 昨结价
  11916. type: number
  11917. runSteps:
  11918. description: 交易日开休市计划
  11919. items:
  11920. $ref: '#/definitions/quote.TSDataRunStep'
  11921. type: array
  11922. startTime:
  11923. description: 开始时间
  11924. type: string
  11925. tradeDate:
  11926. description: 交易日
  11927. type: string
  11928. type: object
  11929. quote.TSDataRunStep:
  11930. properties:
  11931. end:
  11932. description: 真实结束时间
  11933. type: string
  11934. endflag:
  11935. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11936. type: integer
  11937. endtime:
  11938. description: 结束时间(HH:mm)
  11939. type: string
  11940. endweekday:
  11941. description: 结束周几
  11942. type: integer
  11943. groupid:
  11944. description: 分组ID
  11945. type: integer
  11946. runstep:
  11947. description: 运行阶段 - 2:连续交易
  11948. type: integer
  11949. sectionid:
  11950. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11951. 结束时间=结算时间 结束周几=结算周几
  11952. type: integer
  11953. start:
  11954. description: 真实开始时间
  11955. type: string
  11956. startflag:
  11957. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11958. type: integer
  11959. starttime:
  11960. description: 起始时间(HH:mm)
  11961. type: string
  11962. startweekday:
  11963. description: 起始周几
  11964. type: integer
  11965. tradeweekday:
  11966. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11967. type: integer
  11968. type: object
  11969. szdz.QueryConvertLogRsp:
  11970. properties:
  11971. accountid:
  11972. description: 资金账户ID
  11973. type: integer
  11974. clientticket:
  11975. description: 客户端流水号
  11976. type: string
  11977. converttype:
  11978. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11979. type: integer
  11980. createtime:
  11981. description: 记账时间
  11982. type: string
  11983. daymaxvalue:
  11984. description: 配置当日最大转入限制
  11985. type: number
  11986. daymaxvalue2:
  11987. description: 配置当日最大转入限制(转入)
  11988. type: number
  11989. goodscode:
  11990. description: 商品代码
  11991. type: string
  11992. goodsname:
  11993. description: 商品名称
  11994. type: string
  11995. handlestatus:
  11996. description: 处理状态
  11997. type: integer
  11998. innergoodsid:
  11999. description: 内部商品ID
  12000. type: integer
  12001. inratio:
  12002. description: 配置转入比值
  12003. type: integer
  12004. invalue:
  12005. description: 目标值
  12006. type: number
  12007. logid:
  12008. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12009. type: integer
  12010. mobile:
  12011. description: 手机号码(加密存储)
  12012. type: string
  12013. outergoodscode:
  12014. description: 外部商品代码[JD\PD]
  12015. type: string
  12016. outratio:
  12017. description: 配置转出比值
  12018. type: integer
  12019. outvalue:
  12020. description: 源值
  12021. type: number
  12022. pddecimalplace:
  12023. description: PD小数位
  12024. type: integer
  12025. qty:
  12026. description: 数量
  12027. type: string
  12028. remark:
  12029. description: 备注
  12030. type: string
  12031. sessionid:
  12032. description: 会话ID
  12033. type: integer
  12034. timemaxvalue:
  12035. description: 配置单次最大转入限制
  12036. type: number
  12037. timemaxvalue2:
  12038. description: 配置单次最大转入限制(转入)
  12039. type: number
  12040. timeminvalue:
  12041. description: 配置单次最小数量限制
  12042. type: number
  12043. timeminvalue2:
  12044. description: 配置单次最小数量限制(转入)
  12045. type: number
  12046. tradedate:
  12047. description: 交易日(yyyyMMdd)
  12048. type: string
  12049. userid:
  12050. description: 用户ID
  12051. type: integer
  12052. required:
  12053. - logid
  12054. type: object
  12055. szdz.QueryGoodsPickupRsp:
  12056. properties:
  12057. accountid:
  12058. description: 账户ID
  12059. type: integer
  12060. address:
  12061. description: 提货人详细地址
  12062. type: string
  12063. auditer:
  12064. description: 审核人
  12065. type: integer
  12066. audittime:
  12067. description: 审核时间
  12068. type: string
  12069. cardnum:
  12070. description: 提货人证件号码
  12071. type: string
  12072. cardtypeid:
  12073. description: 提货人证件类型
  12074. type: integer
  12075. checkremark:
  12076. description: 审核备注
  12077. type: string
  12078. goodscode:
  12079. description: 商品代码
  12080. type: string
  12081. goodsid:
  12082. description: 商品ID
  12083. type: integer
  12084. goodsname:
  12085. description: 商品名称
  12086. type: string
  12087. handlestatus:
  12088. description: 处理状态
  12089. type: integer
  12090. marketid:
  12091. description: 市场ID
  12092. type: integer
  12093. phonenum:
  12094. description: 提货人联系方式
  12095. type: string
  12096. qty:
  12097. description: 提货数量
  12098. type: number
  12099. recivername:
  12100. description: 提货人姓名
  12101. type: string
  12102. reqtime:
  12103. description: 更新时间
  12104. type: string
  12105. takemode:
  12106. description: 提货方式 - 2:自提 3:配送
  12107. type: integer
  12108. takeorderid:
  12109. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12110. type: string
  12111. takeorderstatus:
  12112. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12113. type: integer
  12114. takeremark:
  12115. description: 提货备注
  12116. type: string
  12117. tradedate:
  12118. description: 交易日(yyyyMMdd)
  12119. type: string
  12120. userid:
  12121. description: 用户ID
  12122. type: integer
  12123. required:
  12124. - takeorderid
  12125. type: object
  12126. szdz.QueryRecieptOrderRsp:
  12127. properties:
  12128. accountName:
  12129. description: 所属账号名称(已脱敏)
  12130. type: string
  12131. accountid:
  12132. description: 资金账号
  12133. type: integer
  12134. buyorsell:
  12135. description: 方向 - 0:买 1:卖
  12136. type: integer
  12137. enableqty:
  12138. description: 可摘数量
  12139. type: integer
  12140. goodscode:
  12141. description: 商品代码
  12142. type: string
  12143. goodsid:
  12144. description: 商品ID
  12145. type: integer
  12146. goodsname:
  12147. description: 商品名称
  12148. type: string
  12149. orderid:
  12150. description: 委托单号
  12151. type: string
  12152. orderprice:
  12153. description: 委托价格
  12154. type: number
  12155. ordertime:
  12156. description: 委托时间
  12157. type: string
  12158. tradedate:
  12159. description: 交易日(yyyyMMdd)
  12160. type: string
  12161. required:
  12162. - ordertime
  12163. type: object
  12164. szdz.QuerySZDZTradePositionRsp:
  12165. properties:
  12166. accountid:
  12167. description: 账号Id
  12168. type: integer
  12169. agreeunit:
  12170. description: 合约单位
  12171. type: number
  12172. averageprice:
  12173. description: 持仓均价
  12174. type: number
  12175. buyorsell:
  12176. description: 方向 - 0:买 1:卖
  12177. type: integer
  12178. closetotalqty:
  12179. description: 平仓总数量
  12180. type: integer
  12181. curholderamount:
  12182. description: 当前持仓总金额
  12183. type: number
  12184. curpositionqty:
  12185. description: 当前持仓总数量
  12186. type: integer
  12187. currencyid:
  12188. description: 报价货币ID
  12189. type: integer
  12190. curtdposition:
  12191. description: 期末今日头寸
  12192. type: integer
  12193. decimalplace:
  12194. description: 报价小数位
  12195. type: integer
  12196. enableqty:
  12197. description: 可用量
  12198. type: integer
  12199. fretdposition:
  12200. description: 冻结今日头寸
  12201. type: integer
  12202. frozenqty:
  12203. description: 持仓冻结数量
  12204. type: integer
  12205. goodscode:
  12206. description: 商品代码(内部)
  12207. type: string
  12208. goodsid:
  12209. description: 商品Id
  12210. type: integer
  12211. goodsname:
  12212. description: 商品名称
  12213. type: string
  12214. goodunit:
  12215. description: 报价单位
  12216. type: string
  12217. goodunitid:
  12218. description: 报价单位ID
  12219. type: integer
  12220. holderamount:
  12221. description: 期初持仓总金额
  12222. type: number
  12223. marketid:
  12224. description: 市场ID
  12225. type: integer
  12226. openreqqty:
  12227. description: 开仓申请数量
  12228. type: integer
  12229. opentotalqty:
  12230. description: 开仓总数量
  12231. type: integer
  12232. otherfrozenqty:
  12233. description: 持仓其他冻结数量(交割冻结)
  12234. type: integer
  12235. positionqty:
  12236. description: 期初持仓数量
  12237. type: integer
  12238. szdz3freezqty:
  12239. description: 尚志大宗转换冻结总数量
  12240. type: integer
  12241. tnqty:
  12242. description: T+N冻结总量
  12243. type: integer
  12244. tnusedqty:
  12245. description: T+N使用量
  12246. type: integer
  12247. trademode:
  12248. description: 交易模式
  12249. type: integer
  12250. usedmargin:
  12251. description: 占用保证金
  12252. type: number
  12253. type: object
  12254. taaccount.QueryAmountLogRsp:
  12255. properties:
  12256. OPERATETYPENAME:
  12257. description: 资金操作类型名称
  12258. type: string
  12259. accountid:
  12260. description: 资金账户ID
  12261. type: integer
  12262. agoodscode:
  12263. description: 竞拍商品代码
  12264. type: string
  12265. agoodsname:
  12266. description: 竞拍商品名称
  12267. type: string
  12268. amount:
  12269. description: 资金金额
  12270. type: number
  12271. amountadjusttype:
  12272. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12273. type: integer
  12274. autoid:
  12275. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12276. type: integer
  12277. balance:
  12278. description: 期初余额
  12279. type: number
  12280. businesscode:
  12281. description: 业务编号
  12282. type: integer
  12283. createtime:
  12284. description: 发生时间
  12285. type: string
  12286. currencyid:
  12287. description: 币种ID
  12288. type: integer
  12289. currentbalance:
  12290. description: 期末余额(变动后金额)
  12291. type: number
  12292. dgoodscode:
  12293. description: 交割商品代码
  12294. type: string
  12295. dgoodsname:
  12296. description: 交割商品名称
  12297. type: string
  12298. goodscode:
  12299. description: 商品代码
  12300. type: string
  12301. goodsid:
  12302. description: 商品ID
  12303. type: integer
  12304. goodsname:
  12305. description: 商品名称
  12306. type: string
  12307. marketid:
  12308. description: 市场ID
  12309. type: integer
  12310. marketname:
  12311. description: 市场名称
  12312. type: string
  12313. moneyticket:
  12314. description: 资金流水号:银行端流水号
  12315. type: integer
  12316. operatetype:
  12317. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12318. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12319. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12320. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12321. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12322. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12323. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12324. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12325. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12326. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12327. type: integer
  12328. relationorderid:
  12329. description: 关联单号
  12330. type: string
  12331. remark:
  12332. description: 备注
  12333. type: string
  12334. trademode:
  12335. description: 交易模式
  12336. type: integer
  12337. required:
  12338. - accountid
  12339. - amount
  12340. - amountadjusttype
  12341. - autoid
  12342. - balance
  12343. - createtime
  12344. - currentbalance
  12345. - operatetype
  12346. type: object
  12347. taaccount.QueryHisAmountLogRsp:
  12348. properties:
  12349. OPERATETYPENAME:
  12350. description: 资金操作类型名称
  12351. type: string
  12352. accountid:
  12353. description: 资金账户ID
  12354. type: integer
  12355. agoodscode:
  12356. description: 竞拍商品代码
  12357. type: string
  12358. agoodsname:
  12359. description: 竞拍商品名称
  12360. type: string
  12361. amount:
  12362. description: 资金金额
  12363. type: number
  12364. amountadjusttype:
  12365. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12366. type: integer
  12367. autoid:
  12368. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12369. type: integer
  12370. balance:
  12371. description: 期初余额
  12372. type: number
  12373. businesscode:
  12374. description: 业务编号
  12375. type: integer
  12376. createtime:
  12377. description: 发生时间
  12378. type: string
  12379. currencyid:
  12380. description: 币种ID
  12381. type: integer
  12382. currentbalance:
  12383. description: 期末余额(变动后金额)
  12384. type: number
  12385. dgoodscode:
  12386. description: 交割商品代码
  12387. type: string
  12388. dgoodsname:
  12389. description: 交割商品名称
  12390. type: string
  12391. goodscode:
  12392. description: 商品代码
  12393. type: string
  12394. goodsid:
  12395. description: 商品ID
  12396. type: integer
  12397. goodsname:
  12398. description: 商品名称
  12399. type: string
  12400. histradedate:
  12401. description: 历史交易日
  12402. type: string
  12403. isvaliddata:
  12404. description: 是否有效 - 0:无效 1:有效
  12405. type: integer
  12406. marketid:
  12407. description: 市场ID
  12408. type: integer
  12409. marketname:
  12410. description: 市场名称
  12411. type: string
  12412. moneyticket:
  12413. description: 资金流水号:银行端流水号
  12414. type: integer
  12415. operatetype:
  12416. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12417. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12418. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12419. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12420. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12421. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12422. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12423. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12424. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12425. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12426. type: integer
  12427. relationorderid:
  12428. description: 关联单号
  12429. type: string
  12430. remark:
  12431. description: 备注
  12432. type: string
  12433. trademode:
  12434. description: 交易模式
  12435. type: integer
  12436. required:
  12437. - accountid
  12438. - amount
  12439. - amountadjusttype
  12440. - autoid
  12441. - balance
  12442. - createtime
  12443. - currentbalance
  12444. - histradedate
  12445. - operatetype
  12446. type: object
  12447. trade.QueryRecieptOrderRsp:
  12448. properties:
  12449. accountName:
  12450. description: 所属账号名称(已脱敏)
  12451. type: string
  12452. accountid:
  12453. description: 资金账号
  12454. type: integer
  12455. buyorsell:
  12456. description: 方向 - 0:买 1:卖
  12457. type: integer
  12458. enableqty:
  12459. description: 可摘数量
  12460. type: integer
  12461. goodscode:
  12462. description: 商品代码
  12463. type: string
  12464. goodsid:
  12465. description: 商品ID
  12466. type: integer
  12467. goodsname:
  12468. description: 商品名称
  12469. type: string
  12470. orderid:
  12471. description: 委托单号
  12472. type: string
  12473. orderprice:
  12474. description: 委托价格
  12475. type: number
  12476. ordertime:
  12477. description: 委托时间
  12478. type: string
  12479. tradedate:
  12480. description: 交易日(yyyyMMdd)
  12481. type: string
  12482. required:
  12483. - ordertime
  12484. type: object
  12485. user.LoginQueryRsp:
  12486. properties:
  12487. externalExchanges:
  12488. description: 外部交易所
  12489. items:
  12490. $ref: '#/definitions/models.Externalexchange'
  12491. type: array
  12492. goodsgroups:
  12493. description: 商品组
  12494. items:
  12495. $ref: '#/definitions/models.Goodsgroup'
  12496. type: array
  12497. loginAccount:
  12498. $ref: '#/definitions/models.Loginaccount'
  12499. description: 登录账号
  12500. type: object
  12501. markets:
  12502. description: 市场
  12503. items:
  12504. $ref: '#/definitions/models.Market'
  12505. type: array
  12506. systemParams:
  12507. description: 系统参数
  12508. items:
  12509. $ref: '#/definitions/models.Systemparam'
  12510. type: array
  12511. userAccount:
  12512. $ref: '#/definitions/models.Useraccount'
  12513. description: 用户账号
  12514. type: object
  12515. userInfo:
  12516. $ref: '#/definitions/models.Userinfo'
  12517. description: 用户信息
  12518. type: object
  12519. username:
  12520. description: 用户姓名
  12521. type: string
  12522. type: object
  12523. info:
  12524. contact: {}
  12525. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  12526. license: {}
  12527. termsOfService: http://muchinfo.cn
  12528. title: MTP2.0 查询服务 API
  12529. version: "1.0"
  12530. paths:
  12531. /CPTrade/QueryCPTradeMyBidInfos:
  12532. get:
  12533. parameters:
  12534. - description: 资金账户
  12535. in: query
  12536. name: accountid
  12537. required: true
  12538. type: integer
  12539. - description: 预售市场ID
  12540. in: query
  12541. name: marketid
  12542. type: integer
  12543. - description: 预售商品ID
  12544. in: query
  12545. name: goodsid
  12546. type: integer
  12547. produces:
  12548. - application/json
  12549. responses:
  12550. "200":
  12551. description: OK
  12552. schema:
  12553. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  12554. "500":
  12555. description: Internal Server Error
  12556. schema:
  12557. $ref: '#/definitions/app.Response'
  12558. security:
  12559. - ApiKeyAuth: []
  12560. summary: 查询产能预售我的出价信息
  12561. tags:
  12562. - 产能预售
  12563. /CPTrade/QueryCPTradeOrderDetail:
  12564. get:
  12565. parameters:
  12566. - description: 预售商品ID
  12567. in: query
  12568. name: goodsid
  12569. type: integer
  12570. - description: 预售市场ID
  12571. in: query
  12572. name: marketid
  12573. type: integer
  12574. - description: 预售商品ID列表 - 格式:1,2,3
  12575. in: query
  12576. name: goodsids
  12577. type: string
  12578. produces:
  12579. - application/json
  12580. responses:
  12581. "200":
  12582. description: OK
  12583. schema:
  12584. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  12585. "500":
  12586. description: Internal Server Error
  12587. schema:
  12588. $ref: '#/definitions/app.Response'
  12589. security:
  12590. - ApiKeyAuth: []
  12591. summary: 查询产能预售委托单信息
  12592. tags:
  12593. - 产能预售
  12594. /CPTrade/QueryMyCPTradeGoods:
  12595. get:
  12596. parameters:
  12597. - description: 资金账户
  12598. in: query
  12599. name: accountid
  12600. required: true
  12601. type: integer
  12602. produces:
  12603. - application/json
  12604. responses:
  12605. "200":
  12606. description: OK
  12607. schema:
  12608. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  12609. "500":
  12610. description: Internal Server Error
  12611. schema:
  12612. $ref: '#/definitions/app.Response'
  12613. security:
  12614. - ApiKeyAuth: []
  12615. summary: 查询我的预售信息
  12616. tags:
  12617. - 产能预售
  12618. /CPTrade/QueryPositionCancel:
  12619. get:
  12620. parameters:
  12621. - description: 账户ID
  12622. in: query
  12623. name: userid
  12624. required: true
  12625. type: integer
  12626. - description: 注销ID
  12627. in: query
  12628. name: cancelid
  12629. type: integer
  12630. - description: 资金账户ID
  12631. in: query
  12632. name: accountid
  12633. type: integer
  12634. produces:
  12635. - application/json
  12636. responses:
  12637. "200":
  12638. description: OK
  12639. schema:
  12640. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  12641. "500":
  12642. description: Internal Server Error
  12643. schema:
  12644. $ref: '#/definitions/app.Response'
  12645. security:
  12646. - ApiKeyAuth: []
  12647. summary: 查询远期订单注销申请信息
  12648. tags:
  12649. - 产能预售
  12650. /CPTrade/QueryPreasleApply:
  12651. get:
  12652. parameters:
  12653. - description: 账户ID
  12654. in: query
  12655. name: userid
  12656. required: true
  12657. type: integer
  12658. - description: 申请ID
  12659. in: query
  12660. name: applyid
  12661. type: integer
  12662. - description: 资金账户ID
  12663. in: query
  12664. name: accountid
  12665. type: integer
  12666. produces:
  12667. - application/json
  12668. responses:
  12669. "200":
  12670. description: OK
  12671. schema:
  12672. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  12673. "500":
  12674. description: Internal Server Error
  12675. schema:
  12676. $ref: '#/definitions/app.Response'
  12677. security:
  12678. - ApiKeyAuth: []
  12679. summary: 查询产能预售申请信息
  12680. tags:
  12681. - 产能预售
  12682. /CPTrade/QueryPresaleGoodsEx:
  12683. get:
  12684. parameters:
  12685. - description: 预售商品ID
  12686. in: query
  12687. name: goodsid
  12688. type: integer
  12689. - description: 预售市场ID
  12690. in: query
  12691. name: marketid
  12692. type: integer
  12693. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  12694. in: query
  12695. name: presalemode
  12696. type: integer
  12697. - description: 预售商品ID列表 - 格式:1,2,3
  12698. in: query
  12699. name: goodsids
  12700. type: string
  12701. - description: 预售商品代码
  12702. in: query
  12703. name: goodscode
  12704. type: string
  12705. produces:
  12706. - application/json
  12707. responses:
  12708. "200":
  12709. description: OK
  12710. schema:
  12711. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  12712. "500":
  12713. description: Internal Server Error
  12714. schema:
  12715. $ref: '#/definitions/app.Response'
  12716. security:
  12717. - ApiKeyAuth: []
  12718. summary: 查询产能预售商品扩展信息
  12719. tags:
  12720. - 产能预售
  12721. /CPTrade/QueryUserGoodsData:
  12722. get:
  12723. parameters:
  12724. - description: 资金账户ID
  12725. in: query
  12726. name: accountid
  12727. required: true
  12728. type: integer
  12729. produces:
  12730. - application/json
  12731. responses:
  12732. "200":
  12733. description: OK
  12734. schema:
  12735. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  12736. "500":
  12737. description: Internal Server Error
  12738. schema:
  12739. $ref: '#/definitions/app.Response'
  12740. security:
  12741. - ApiKeyAuth: []
  12742. summary: 查询远期订单信息
  12743. tags:
  12744. - 产能预售
  12745. /Common/GetAllEnums:
  12746. get:
  12747. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  12748. parameters:
  12749. - description: 起始自增ID
  12750. in: query
  12751. name: autoid
  12752. type: integer
  12753. produces:
  12754. - application/json
  12755. responses:
  12756. "200":
  12757. description: OK
  12758. schema:
  12759. $ref: '#/definitions/models.Enumdicitem'
  12760. "500":
  12761. description: Internal Server Error
  12762. schema:
  12763. $ref: '#/definitions/app.Response'
  12764. summary: 获取所有枚举信息
  12765. tags:
  12766. - 通用服务
  12767. /Common/GetClientMenus:
  12768. get:
  12769. parameters:
  12770. - description: 登录账号
  12771. in: query
  12772. name: loginID
  12773. required: true
  12774. type: integer
  12775. - description: 终端类型,0:PC 1:Mobile
  12776. in: query
  12777. name: clientType
  12778. type: integer
  12779. produces:
  12780. - application/json
  12781. responses:
  12782. "200":
  12783. description: OK
  12784. schema:
  12785. items:
  12786. $ref: '#/definitions/common.ClientMenu'
  12787. type: array
  12788. "500":
  12789. description: Internal Server Error
  12790. schema:
  12791. $ref: '#/definitions/app.Response'
  12792. security:
  12793. - ApiKeyAuth: []
  12794. summary: 获取交易端菜单
  12795. tags:
  12796. - 通用服务
  12797. /Common/GetDivisions:
  12798. get:
  12799. produces:
  12800. - application/json
  12801. responses:
  12802. "200":
  12803. description: OK
  12804. schema:
  12805. $ref: '#/definitions/models.Division'
  12806. "500":
  12807. description: Internal Server Error
  12808. schema:
  12809. $ref: '#/definitions/app.Response'
  12810. summary: 查询区域信息
  12811. tags:
  12812. - 通用服务
  12813. /Common/GetServerTime:
  12814. get:
  12815. produces:
  12816. - application/json
  12817. responses:
  12818. "200":
  12819. description: OK
  12820. schema:
  12821. $ref: '#/definitions/app.Response'
  12822. "500":
  12823. description: Internal Server Error
  12824. schema:
  12825. $ref: '#/definitions/app.Response'
  12826. summary: 获取服务器时间
  12827. tags:
  12828. - 通用服务
  12829. /Common/NoticeReaded:
  12830. post:
  12831. parameters:
  12832. - description: 登录账号
  12833. in: query
  12834. name: loginID
  12835. required: true
  12836. type: integer
  12837. - description: 通知公告ID
  12838. in: query
  12839. name: noticeID
  12840. required: true
  12841. type: integer
  12842. produces:
  12843. - application/json
  12844. responses:
  12845. "200":
  12846. description: OK
  12847. schema:
  12848. $ref: '#/definitions/app.Response'
  12849. "500":
  12850. description: Internal Server Error
  12851. schema:
  12852. $ref: '#/definitions/app.Response'
  12853. security:
  12854. - ApiKeyAuth: []
  12855. summary: 通知公告设置已读请求
  12856. tags:
  12857. - 通用服务
  12858. /Common/QueryErrorInfos:
  12859. get:
  12860. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12861. parameters:
  12862. - description: 起始行号前索引
  12863. in: query
  12864. name: rowNumber
  12865. type: string
  12866. produces:
  12867. - application/json
  12868. responses:
  12869. "200":
  12870. description: OK
  12871. schema:
  12872. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12873. "500":
  12874. description: Internal Server Error
  12875. schema:
  12876. $ref: '#/definitions/app.Response'
  12877. summary: 获取数据库错误信息
  12878. tags:
  12879. - 通用服务
  12880. /Common/QueryImageConfigs:
  12881. get:
  12882. parameters:
  12883. - description: 类型 - 1:App首页轮播 2:我的
  12884. in: query
  12885. name: imageType
  12886. type: integer
  12887. produces:
  12888. - application/json
  12889. responses:
  12890. "200":
  12891. description: OK
  12892. schema:
  12893. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12894. "500":
  12895. description: Internal Server Error
  12896. schema:
  12897. $ref: '#/definitions/app.Response'
  12898. summary: 查询轮播图配置信息
  12899. tags:
  12900. - 通用服务
  12901. /Common/QueryNotice:
  12902. get:
  12903. parameters:
  12904. - description: 页码
  12905. in: query
  12906. name: page
  12907. type: integer
  12908. - description: 每页条数
  12909. in: query
  12910. name: pagesize
  12911. type: integer
  12912. - description: 登录账号
  12913. in: query
  12914. name: loginID
  12915. required: true
  12916. type: integer
  12917. - description: 消息类型 - 1:公告通知 2:系统消息
  12918. in: query
  12919. name: msgType
  12920. type: integer
  12921. - description: 是否只获取未读信息
  12922. in: query
  12923. name: onlyUnRead
  12924. type: boolean
  12925. - description: 自增ID,传入后会返回这个ID后面的记录
  12926. in: query
  12927. name: lastID
  12928. type: integer
  12929. produces:
  12930. - application/json
  12931. responses:
  12932. "200":
  12933. description: OK
  12934. schema:
  12935. $ref: '#/definitions/common.QueryNoticeRsp'
  12936. "500":
  12937. description: Internal Server Error
  12938. schema:
  12939. $ref: '#/definitions/app.Response'
  12940. security:
  12941. - ApiKeyAuth: []
  12942. summary: 通知公告系统消息查询
  12943. tags:
  12944. - 通用服务
  12945. /Common/QueryProvincesAndCities:
  12946. get:
  12947. parameters:
  12948. - description: 省ID
  12949. in: query
  12950. name: provinceID
  12951. type: integer
  12952. produces:
  12953. - application/json
  12954. responses:
  12955. "200":
  12956. description: OK
  12957. schema:
  12958. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12959. "500":
  12960. description: Internal Server Error
  12961. schema:
  12962. $ref: '#/definitions/app.Response'
  12963. summary: 查询省市信息(不包括区)
  12964. tags:
  12965. - 通用服务
  12966. /Common/QueryTableDefine:
  12967. get:
  12968. parameters:
  12969. - description: 表key
  12970. in: query
  12971. name: tableKey
  12972. type: string
  12973. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12974. in: query
  12975. name: tableType
  12976. type: integer
  12977. produces:
  12978. - application/json
  12979. responses:
  12980. "200":
  12981. description: OK
  12982. schema:
  12983. $ref: '#/definitions/common.QueryTableDefineRsp'
  12984. "500":
  12985. description: Internal Server Error
  12986. schema:
  12987. $ref: '#/definitions/app.Response'
  12988. summary: 查询交易端列表头信息
  12989. tags:
  12990. - 通用服务
  12991. /Common/QueryTraderMenu:
  12992. get:
  12993. parameters:
  12994. - description: 登录账号
  12995. in: query
  12996. name: loginid
  12997. required: true
  12998. type: integer
  12999. produces:
  13000. - application/json
  13001. responses:
  13002. "200":
  13003. description: OK
  13004. schema:
  13005. $ref: '#/definitions/common.QueryTraderMenuRsp'
  13006. "500":
  13007. description: Internal Server Error
  13008. schema:
  13009. $ref: '#/definitions/app.Response'
  13010. summary: 查询交易端菜单
  13011. tags:
  13012. - 通用服务
  13013. /Delivery/QueryDeliveryRelation:
  13014. get:
  13015. parameters:
  13016. - description: 商品ID
  13017. in: query
  13018. name: goodsid
  13019. type: integer
  13020. - description: 品种ID
  13021. in: query
  13022. name: deliverygoodsid
  13023. type: integer
  13024. - description: 市场ID
  13025. in: query
  13026. name: marketid
  13027. type: integer
  13028. produces:
  13029. - application/json
  13030. responses:
  13031. "200":
  13032. description: OK
  13033. schema:
  13034. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  13035. "500":
  13036. description: Internal Server Error
  13037. schema:
  13038. $ref: '#/definitions/app.Response'
  13039. security:
  13040. - ApiKeyAuth: []
  13041. summary: 查询商品交割关系表
  13042. tags:
  13043. - 交割服务
  13044. /Ermcp/GetErmcpGoods:
  13045. get:
  13046. parameters:
  13047. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13048. in: query
  13049. name: lastUpdateTime
  13050. type: string
  13051. produces:
  13052. - application/json
  13053. responses:
  13054. "200":
  13055. description: OK
  13056. schema:
  13057. $ref: '#/definitions/models.Goods'
  13058. "500":
  13059. description: Internal Server Error
  13060. schema:
  13061. $ref: '#/definitions/app.Response'
  13062. security:
  13063. - ApiKeyAuth: []
  13064. summary: 查询企业风管期货商品信息
  13065. tags:
  13066. - 企业风险管理(app)
  13067. /Ermcp/GetErmcpGoodsSortByPosition:
  13068. get:
  13069. parameters:
  13070. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  13071. in: query
  13072. name: sortIndex
  13073. type: string
  13074. produces:
  13075. - application/json
  13076. responses:
  13077. "200":
  13078. description: OK
  13079. schema:
  13080. $ref: '#/definitions/models.Goodssortbypreposition'
  13081. "500":
  13082. description: Internal Server Error
  13083. schema:
  13084. $ref: '#/definitions/app.Response'
  13085. security:
  13086. - ApiKeyAuth: []
  13087. summary: 查询企业风管期货主力、次主力商品信息
  13088. tags:
  13089. - 企业风险管理(app)
  13090. /Ermcp/GetErmcpOutAccountStatus:
  13091. get:
  13092. parameters:
  13093. - description: 登录账号
  13094. in: query
  13095. name: loginID
  13096. required: true
  13097. type: integer
  13098. produces:
  13099. - application/json
  13100. responses:
  13101. "200":
  13102. description: OK
  13103. schema:
  13104. $ref: '#/definitions/models.Hedgemarketopenlog'
  13105. "500":
  13106. description: Internal Server Error
  13107. schema:
  13108. $ref: '#/definitions/app.Response'
  13109. security:
  13110. - ApiKeyAuth: []
  13111. summary: 获取目标登录账号当前对冲账号在线状态
  13112. tags:
  13113. - 企业风险管理(app)
  13114. /Ermcp/GetErmcpRoleFuncMenuLists:
  13115. get:
  13116. parameters:
  13117. - description: 登录账号
  13118. in: query
  13119. name: loginID
  13120. required: true
  13121. type: integer
  13122. produces:
  13123. - application/json
  13124. responses:
  13125. "200":
  13126. description: OK
  13127. schema:
  13128. $ref: '#/definitions/models.Funcmenulist'
  13129. "500":
  13130. description: Internal Server Error
  13131. schema:
  13132. $ref: '#/definitions/app.Response'
  13133. security:
  13134. - ApiKeyAuth: []
  13135. summary: 获取企业风管终端权限
  13136. tags:
  13137. - 企业风险管理(app)
  13138. /Ermcp/QryReportAreaSpotPL:
  13139. get:
  13140. parameters:
  13141. - description: 用户ID
  13142. in: query
  13143. name: userid
  13144. required: true
  13145. type: integer
  13146. - description: 查询类型 1-日报表 2-月报表
  13147. in: query
  13148. name: querytype
  13149. required: true
  13150. type: integer
  13151. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13152. in: query
  13153. name: querydate
  13154. required: true
  13155. type: string
  13156. - description: 现货商品ID
  13157. in: query
  13158. name: wrstandardid
  13159. type: integer
  13160. - description: 品牌ID
  13161. in: query
  13162. name: spotgoodsbrandid
  13163. type: integer
  13164. - description: 型号ID
  13165. in: query
  13166. name: spotgoodsmodelid
  13167. type: integer
  13168. produces:
  13169. - application/json
  13170. responses:
  13171. "200":
  13172. description: OK
  13173. schema:
  13174. items:
  13175. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  13176. type: array
  13177. "500":
  13178. description: Internal Server Error
  13179. schema:
  13180. $ref: '#/definitions/app.Response'
  13181. security:
  13182. - ApiKeyAuth: []
  13183. summary: 查询现货损益报表(现货损益报表)
  13184. tags:
  13185. - 企业风险管理(app)
  13186. /Ermcp/QryReportDayExposure:
  13187. get:
  13188. parameters:
  13189. - description: 用户ID
  13190. in: query
  13191. name: userid
  13192. required: true
  13193. type: integer
  13194. - description: 交易日(格式:yyyyMMdd)
  13195. in: query
  13196. name: tradedate
  13197. required: true
  13198. type: string
  13199. produces:
  13200. - application/json
  13201. responses:
  13202. "200":
  13203. description: OK
  13204. schema:
  13205. items:
  13206. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  13207. type: array
  13208. "500":
  13209. description: Internal Server Error
  13210. schema:
  13211. $ref: '#/definitions/app.Response'
  13212. security:
  13213. - ApiKeyAuth: []
  13214. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  13215. tags:
  13216. - 企业风险管理(app)
  13217. /Ermcp/QryReportDayFinance:
  13218. get:
  13219. parameters:
  13220. - description: 用户ID
  13221. in: query
  13222. name: userid
  13223. required: true
  13224. type: integer
  13225. - description: 交易日(格式:yyyyMMdd)
  13226. in: query
  13227. name: tradedate
  13228. required: true
  13229. type: string
  13230. produces:
  13231. - application/json
  13232. responses:
  13233. "200":
  13234. description: OK
  13235. schema:
  13236. items:
  13237. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  13238. type: array
  13239. "500":
  13240. description: Internal Server Error
  13241. schema:
  13242. $ref: '#/definitions/app.Response'
  13243. security:
  13244. - ApiKeyAuth: []
  13245. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  13246. tags:
  13247. - 企业风险管理(app)
  13248. /Ermcp/QryReportDayFinanceFp:
  13249. get:
  13250. parameters:
  13251. - description: 用户ID
  13252. in: query
  13253. name: userid
  13254. required: true
  13255. type: integer
  13256. - description: 交易日(格式:yyyyMMdd)
  13257. in: query
  13258. name: tradedate
  13259. required: true
  13260. type: string
  13261. produces:
  13262. - application/json
  13263. responses:
  13264. "200":
  13265. description: OK
  13266. schema:
  13267. items:
  13268. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  13269. type: array
  13270. "500":
  13271. description: Internal Server Error
  13272. schema:
  13273. $ref: '#/definitions/app.Response'
  13274. security:
  13275. - ApiKeyAuth: []
  13276. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  13277. tags:
  13278. - 企业风险管理(app)
  13279. /Ermcp/QryReportDayFinanceKx:
  13280. get:
  13281. parameters:
  13282. - description: 用户ID
  13283. in: query
  13284. name: userid
  13285. required: true
  13286. type: integer
  13287. - description: 交易日(格式:yyyyMMdd)
  13288. in: query
  13289. name: tradedate
  13290. required: true
  13291. type: string
  13292. produces:
  13293. - application/json
  13294. responses:
  13295. "200":
  13296. description: OK
  13297. schema:
  13298. items:
  13299. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  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/QryReportDaySpot:
  13311. get:
  13312. parameters:
  13313. - description: 用户ID
  13314. in: query
  13315. name: userid
  13316. required: true
  13317. type: integer
  13318. - description: 交易日(格式:yyyyMMdd)
  13319. in: query
  13320. name: tradedate
  13321. required: true
  13322. type: string
  13323. produces:
  13324. - application/json
  13325. responses:
  13326. "200":
  13327. description: OK
  13328. schema:
  13329. items:
  13330. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  13331. type: array
  13332. "500":
  13333. description: Internal Server Error
  13334. schema:
  13335. $ref: '#/definitions/app.Response'
  13336. security:
  13337. - ApiKeyAuth: []
  13338. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  13339. tags:
  13340. - 企业风险管理(app)
  13341. /Ermcp/QryReportDaySpotDetail:
  13342. get:
  13343. parameters:
  13344. - description: 用户ID
  13345. in: query
  13346. name: userid
  13347. required: true
  13348. type: integer
  13349. - description: 现货商品id
  13350. in: query
  13351. name: wrstandardid
  13352. required: true
  13353. type: integer
  13354. - description: 交易日(格式:yyyyMMdd)
  13355. in: query
  13356. name: tradedate
  13357. required: true
  13358. type: string
  13359. produces:
  13360. - application/json
  13361. responses:
  13362. "200":
  13363. description: OK
  13364. schema:
  13365. items:
  13366. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  13367. type: array
  13368. "500":
  13369. description: Internal Server Error
  13370. schema:
  13371. $ref: '#/definitions/app.Response'
  13372. security:
  13373. - ApiKeyAuth: []
  13374. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  13375. tags:
  13376. - 企业风险管理(app)
  13377. /Ermcp/QryReportMonthFinance:
  13378. get:
  13379. parameters:
  13380. - description: 用户ID
  13381. in: query
  13382. name: userid
  13383. required: true
  13384. type: integer
  13385. - description: 周期时间:月(格式:yyyyMM)
  13386. in: query
  13387. name: cycletime
  13388. required: true
  13389. type: string
  13390. produces:
  13391. - application/json
  13392. responses:
  13393. "200":
  13394. description: OK
  13395. schema:
  13396. items:
  13397. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  13398. type: array
  13399. "500":
  13400. description: Internal Server Error
  13401. schema:
  13402. $ref: '#/definitions/app.Response'
  13403. security:
  13404. - ApiKeyAuth: []
  13405. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  13406. tags:
  13407. - 企业风险管理(app)
  13408. /Ermcp/QryReportMonthSpot:
  13409. get:
  13410. parameters:
  13411. - description: 用户ID
  13412. in: query
  13413. name: userid
  13414. required: true
  13415. type: integer
  13416. - description: 周期时间:月(格式:yyyyMM)
  13417. in: query
  13418. name: cycletime
  13419. required: true
  13420. type: string
  13421. produces:
  13422. - application/json
  13423. responses:
  13424. "200":
  13425. description: OK
  13426. schema:
  13427. items:
  13428. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  13429. type: array
  13430. "500":
  13431. description: Internal Server Error
  13432. schema:
  13433. $ref: '#/definitions/app.Response'
  13434. security:
  13435. - ApiKeyAuth: []
  13436. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  13437. tags:
  13438. - 企业风险管理(app)
  13439. /Ermcp/QryReportMonthSpotDetail:
  13440. get:
  13441. parameters:
  13442. - description: 用户ID
  13443. in: query
  13444. name: userid
  13445. required: true
  13446. type: integer
  13447. - description: 现货商品id
  13448. in: query
  13449. name: wrstandardid
  13450. required: true
  13451. type: integer
  13452. - description: 周期时间:月(格式:yyyyMM)
  13453. in: query
  13454. name: cycletime
  13455. required: true
  13456. type: string
  13457. produces:
  13458. - application/json
  13459. responses:
  13460. "200":
  13461. description: OK
  13462. schema:
  13463. items:
  13464. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  13465. type: array
  13466. "500":
  13467. description: Internal Server Error
  13468. schema:
  13469. $ref: '#/definitions/app.Response'
  13470. security:
  13471. - ApiKeyAuth: []
  13472. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  13473. tags:
  13474. - 企业风险管理(app)
  13475. /Ermcp/QueryAccMgrBizGroupSet:
  13476. get:
  13477. parameters:
  13478. - description: 用户ID
  13479. in: query
  13480. name: userid
  13481. required: true
  13482. type: integer
  13483. - description: 现货商品id
  13484. in: query
  13485. name: deliverygoodsid
  13486. type: integer
  13487. produces:
  13488. - application/json
  13489. responses:
  13490. "200":
  13491. description: OK
  13492. schema:
  13493. items:
  13494. $ref: '#/definitions/models.ErmcpBizGroupEx'
  13495. type: array
  13496. "500":
  13497. description: Internal Server Error
  13498. schema:
  13499. $ref: '#/definitions/app.Response'
  13500. security:
  13501. - ApiKeyAuth: []
  13502. summary: 查询业务类型分组(账户管理/账户设置)
  13503. tags:
  13504. - 企业风险管理(app)
  13505. /Ermcp/QueryAccMgrLoginUser:
  13506. get:
  13507. parameters:
  13508. - description: 用户ID
  13509. in: query
  13510. name: userid
  13511. required: true
  13512. type: integer
  13513. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  13514. in: query
  13515. name: querytype
  13516. required: true
  13517. type: integer
  13518. produces:
  13519. - application/json
  13520. responses:
  13521. "200":
  13522. description: OK
  13523. schema:
  13524. items:
  13525. $ref: '#/definitions/models.ErmcpLoginUserEx'
  13526. type: array
  13527. "500":
  13528. description: Internal Server Error
  13529. schema:
  13530. $ref: '#/definitions/app.Response'
  13531. security:
  13532. - ApiKeyAuth: []
  13533. summary: 查询账户管理登录账号(账户管理/登录账号)
  13534. tags:
  13535. - 企业风险管理(app)
  13536. /Ermcp/QueryAccMgrMainAccountInfo:
  13537. get:
  13538. parameters:
  13539. - description: 用户ID
  13540. in: query
  13541. name: userid
  13542. type: integer
  13543. - description: 主账号id
  13544. in: query
  13545. name: accountid
  13546. type: integer
  13547. produces:
  13548. - application/json
  13549. responses:
  13550. "200":
  13551. description: OK
  13552. schema:
  13553. items:
  13554. $ref: '#/definitions/models.MainAccountInfo'
  13555. type: array
  13556. "500":
  13557. description: Internal Server Error
  13558. schema:
  13559. $ref: '#/definitions/app.Response'
  13560. security:
  13561. - ApiKeyAuth: []
  13562. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  13563. tags:
  13564. - 企业风险管理(app)
  13565. /Ermcp/QueryAccMgrRole:
  13566. get:
  13567. parameters:
  13568. - description: 用户ID
  13569. in: query
  13570. name: userid
  13571. required: true
  13572. type: integer
  13573. produces:
  13574. - application/json
  13575. responses:
  13576. "200":
  13577. description: OK
  13578. schema:
  13579. items:
  13580. $ref: '#/definitions/models.ErmcpRole'
  13581. type: array
  13582. "500":
  13583. description: Internal Server Error
  13584. schema:
  13585. $ref: '#/definitions/app.Response'
  13586. security:
  13587. - ApiKeyAuth: []
  13588. summary: 查询账户管理角色设置(账户管理/角色设置)
  13589. tags:
  13590. - 企业风险管理(app)
  13591. /Ermcp/QueryAccMgrRoleMenu:
  13592. get:
  13593. parameters:
  13594. - description: 用户ID
  13595. in: query
  13596. name: userid
  13597. required: true
  13598. type: integer
  13599. - description: 角色id(可多个,逗号隔开)
  13600. in: query
  13601. name: roleid
  13602. type: string
  13603. produces:
  13604. - application/json
  13605. responses:
  13606. "200":
  13607. description: OK
  13608. schema:
  13609. items:
  13610. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  13611. type: array
  13612. "500":
  13613. description: Internal Server Error
  13614. schema:
  13615. $ref: '#/definitions/app.Response'
  13616. security:
  13617. - ApiKeyAuth: []
  13618. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  13619. tags:
  13620. - 企业风险管理(app)
  13621. /Ermcp/QueryAccMgrTaAccountInfo:
  13622. get:
  13623. parameters:
  13624. - description: 用户ID
  13625. in: query
  13626. name: userid
  13627. required: true
  13628. type: integer
  13629. - description: 账号id
  13630. in: query
  13631. name: accountid
  13632. type: integer
  13633. produces:
  13634. - application/json
  13635. responses:
  13636. "200":
  13637. description: OK
  13638. schema:
  13639. items:
  13640. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  13641. type: array
  13642. "500":
  13643. description: Internal Server Error
  13644. schema:
  13645. $ref: '#/definitions/app.Response'
  13646. security:
  13647. - ApiKeyAuth: []
  13648. summary: 查询账户管理授信(账户管理/账户设置/授信)
  13649. tags:
  13650. - 企业风险管理(app)
  13651. /Ermcp/QueryAccMgrTaaccount:
  13652. get:
  13653. parameters:
  13654. - description: 用户ID
  13655. in: query
  13656. name: userid
  13657. required: true
  13658. type: integer
  13659. produces:
  13660. - application/json
  13661. responses:
  13662. "200":
  13663. description: OK
  13664. schema:
  13665. items:
  13666. $ref: '#/definitions/models.ErmcpTaAccountEx'
  13667. type: array
  13668. "500":
  13669. description: Internal Server Error
  13670. schema:
  13671. $ref: '#/definitions/app.Response'
  13672. security:
  13673. - ApiKeyAuth: []
  13674. summary: 查询账户管理期货账号(账户管理/期货账号)
  13675. tags:
  13676. - 企业风险管理(app)
  13677. /Ermcp/QueryAreaStock:
  13678. get:
  13679. parameters:
  13680. - description: 用户ID
  13681. in: query
  13682. name: userid
  13683. required: true
  13684. type: integer
  13685. produces:
  13686. - application/json
  13687. responses:
  13688. "200":
  13689. description: OK
  13690. schema:
  13691. items:
  13692. $ref: '#/definitions/models.ErmcpAreaStock'
  13693. type: array
  13694. "500":
  13695. description: Internal Server Error
  13696. schema:
  13697. $ref: '#/definitions/app.Response'
  13698. security:
  13699. - ApiKeyAuth: []
  13700. summary: 查询机构库存(库存管理/当前库存)
  13701. tags:
  13702. - 企业风险管理(app)
  13703. /Ermcp/QueryAreaStockApply:
  13704. get:
  13705. parameters:
  13706. - description: 用户ID
  13707. in: query
  13708. name: userid
  13709. required: true
  13710. type: integer
  13711. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  13712. in: query
  13713. name: inouttype
  13714. type: string
  13715. - description: 合同ID
  13716. in: query
  13717. name: spotcontractid
  13718. type: integer
  13719. - description: 现货商品ID
  13720. in: query
  13721. name: wrstandardid
  13722. type: integer
  13723. - description: 品牌ID
  13724. in: query
  13725. name: spotgoodsbrandid
  13726. type: integer
  13727. - description: 型号ID
  13728. in: query
  13729. name: spotgoodsmodelid
  13730. type: integer
  13731. - description: 仓库ID
  13732. in: query
  13733. name: warehouseinfoid
  13734. type: integer
  13735. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13736. in: query
  13737. name: applystatus
  13738. type: string
  13739. produces:
  13740. - application/json
  13741. responses:
  13742. "200":
  13743. description: OK
  13744. schema:
  13745. items:
  13746. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  13747. type: array
  13748. "500":
  13749. description: Internal Server Error
  13750. schema:
  13751. $ref: '#/definitions/app.Response'
  13752. security:
  13753. - ApiKeyAuth: []
  13754. summary: 查询库存申请(出入库记录|库存审核)
  13755. tags:
  13756. - 企业风险管理(app)
  13757. /Ermcp/QueryAreaStockApplySum:
  13758. get:
  13759. parameters:
  13760. - description: 合同ID
  13761. in: query
  13762. name: spotcontractid
  13763. type: integer
  13764. produces:
  13765. - application/json
  13766. responses:
  13767. "200":
  13768. description: OK
  13769. schema:
  13770. items:
  13771. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  13772. type: array
  13773. "500":
  13774. description: Internal Server Error
  13775. schema:
  13776. $ref: '#/definitions/app.Response'
  13777. security:
  13778. - ApiKeyAuth: []
  13779. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13780. tags:
  13781. - 企业风险管理(app)
  13782. /Ermcp/QueryAreaStockReport:
  13783. get:
  13784. parameters:
  13785. - description: 用户ID
  13786. in: query
  13787. name: userid
  13788. required: true
  13789. type: integer
  13790. - description: 查询类型 1-日报表 2-月报表
  13791. in: query
  13792. name: querytype
  13793. required: true
  13794. type: integer
  13795. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13796. in: query
  13797. name: querydate
  13798. required: true
  13799. type: string
  13800. - description: 现货商品ID
  13801. in: query
  13802. name: wrstandardid
  13803. type: integer
  13804. - description: 品牌ID
  13805. in: query
  13806. name: spotgoodsbrandid
  13807. type: integer
  13808. - description: 型号ID
  13809. in: query
  13810. name: spotgoodsmodelid
  13811. type: integer
  13812. - description: 仓库ID
  13813. in: query
  13814. name: warehouseinfoid
  13815. type: integer
  13816. produces:
  13817. - application/json
  13818. responses:
  13819. "200":
  13820. description: OK
  13821. schema:
  13822. items:
  13823. $ref: '#/definitions/models.ErmcpAreaStockReport'
  13824. type: array
  13825. "500":
  13826. description: Internal Server Error
  13827. schema:
  13828. $ref: '#/definitions/app.Response'
  13829. security:
  13830. - ApiKeyAuth: []
  13831. summary: 查询库存报表
  13832. tags:
  13833. - 企业风险管理(app)
  13834. /Ermcp/QueryAreaStockReportDetail:
  13835. get:
  13836. parameters:
  13837. - description: 用户ID
  13838. in: query
  13839. name: userid
  13840. required: true
  13841. type: integer
  13842. - description: 查询类型 1-日报表明细 2-月报表明细
  13843. in: query
  13844. name: querytype
  13845. required: true
  13846. type: integer
  13847. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  13848. in: query
  13849. name: detailtype
  13850. required: true
  13851. type: integer
  13852. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13853. in: query
  13854. name: querydate
  13855. required: true
  13856. type: string
  13857. - description: 现货商品ID
  13858. in: query
  13859. name: wrstandardid
  13860. type: integer
  13861. - description: 品牌ID
  13862. in: query
  13863. name: spotgoodsbrandid
  13864. type: integer
  13865. - description: 型号ID
  13866. in: query
  13867. name: spotgoodsmodelid
  13868. type: integer
  13869. - description: 仓库ID
  13870. in: query
  13871. name: warehouseinfoid
  13872. type: integer
  13873. produces:
  13874. - application/json
  13875. responses:
  13876. "200":
  13877. description: OK
  13878. schema:
  13879. items:
  13880. $ref: '#/definitions/models.ErmcpAreaStockApply'
  13881. type: array
  13882. "500":
  13883. description: Internal Server Error
  13884. schema:
  13885. $ref: '#/definitions/app.Response'
  13886. security:
  13887. - ApiKeyAuth: []
  13888. summary: 查询库存报表明细
  13889. tags:
  13890. - 企业风险管理(app)
  13891. /Ermcp/QueryAvaildGoodsGroup:
  13892. get:
  13893. parameters:
  13894. - description: 所属机构ID
  13895. in: query
  13896. name: userid
  13897. required: true
  13898. type: integer
  13899. produces:
  13900. - application/json
  13901. responses:
  13902. "200":
  13903. description: OK
  13904. schema:
  13905. items:
  13906. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  13907. type: array
  13908. "500":
  13909. description: Internal Server Error
  13910. schema:
  13911. $ref: '#/definitions/app.Response'
  13912. security:
  13913. - ApiKeyAuth: []
  13914. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13915. tags:
  13916. - 企业风险管理(app)
  13917. /Ermcp/QueryBusinessDj:
  13918. get:
  13919. parameters:
  13920. - description: 用户ID
  13921. in: query
  13922. name: UserId
  13923. required: true
  13924. type: integer
  13925. - description: 现货合同ID, 不填则查所有
  13926. in: query
  13927. name: relatedid
  13928. type: string
  13929. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13930. in: query
  13931. name: applystatus
  13932. type: string
  13933. produces:
  13934. - application/json
  13935. responses:
  13936. "200":
  13937. description: OK
  13938. schema:
  13939. items:
  13940. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13941. type: array
  13942. "500":
  13943. description: Internal Server Error
  13944. schema:
  13945. $ref: '#/definitions/app.Response'
  13946. security:
  13947. - ApiKeyAuth: []
  13948. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  13949. tags:
  13950. - 企业风险管理(app)
  13951. /Ermcp/QueryBusinessFp:
  13952. get:
  13953. parameters:
  13954. - description: 用户ID
  13955. in: query
  13956. name: UserId
  13957. required: true
  13958. type: integer
  13959. - description: 现货合同ID, 不填则查所有
  13960. in: query
  13961. name: relatedid
  13962. type: string
  13963. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13964. in: query
  13965. name: applystatus
  13966. type: string
  13967. produces:
  13968. - application/json
  13969. responses:
  13970. "200":
  13971. description: OK
  13972. schema:
  13973. items:
  13974. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  13975. type: array
  13976. "500":
  13977. description: Internal Server Error
  13978. schema:
  13979. $ref: '#/definitions/app.Response'
  13980. security:
  13981. - ApiKeyAuth: []
  13982. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  13983. tags:
  13984. - 企业风险管理(app)
  13985. /Ermcp/QueryBusinessJs:
  13986. get:
  13987. parameters:
  13988. - description: 用户ID
  13989. in: query
  13990. name: UserId
  13991. required: true
  13992. type: integer
  13993. - description: 现货合同ID, 不填则查所有
  13994. in: query
  13995. name: relatedid
  13996. type: string
  13997. - description: 操作申请id
  13998. in: query
  13999. name: operateapplyid
  14000. type: string
  14001. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14002. in: query
  14003. name: applystatus
  14004. type: string
  14005. produces:
  14006. - application/json
  14007. responses:
  14008. "200":
  14009. description: OK
  14010. schema:
  14011. items:
  14012. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  14013. type: array
  14014. "500":
  14015. description: Internal Server Error
  14016. schema:
  14017. $ref: '#/definitions/app.Response'
  14018. security:
  14019. - ApiKeyAuth: []
  14020. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  14021. tags:
  14022. - 企业风险管理(app)
  14023. /Ermcp/QueryBusinessJsEx:
  14024. get:
  14025. parameters:
  14026. - description: 用户ID
  14027. in: query
  14028. name: UserId
  14029. required: true
  14030. type: integer
  14031. - description: 现货合同ID, 不填则查所有
  14032. in: query
  14033. name: relatedid
  14034. type: string
  14035. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14036. in: query
  14037. name: applystatus
  14038. type: string
  14039. produces:
  14040. - application/json
  14041. responses:
  14042. "200":
  14043. description: OK
  14044. schema:
  14045. items:
  14046. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  14047. type: array
  14048. "500":
  14049. description: Internal Server Error
  14050. schema:
  14051. $ref: '#/definitions/app.Response'
  14052. security:
  14053. - ApiKeyAuth: []
  14054. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  14055. tags:
  14056. - 企业风险管理(app)
  14057. /Ermcp/QueryBusinessKx:
  14058. get:
  14059. parameters:
  14060. - description: 用户ID
  14061. in: query
  14062. name: UserId
  14063. required: true
  14064. type: integer
  14065. - description: 现货合同ID, 不填则查所有
  14066. in: query
  14067. name: relatedid
  14068. type: string
  14069. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14070. in: query
  14071. name: applystatus
  14072. type: string
  14073. produces:
  14074. - application/json
  14075. responses:
  14076. "200":
  14077. description: OK
  14078. schema:
  14079. items:
  14080. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  14081. type: array
  14082. "500":
  14083. description: Internal Server Error
  14084. schema:
  14085. $ref: '#/definitions/app.Response'
  14086. security:
  14087. - ApiKeyAuth: []
  14088. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  14089. tags:
  14090. - 企业风险管理(app)
  14091. /Ermcp/QueryChangeLog:
  14092. get:
  14093. parameters:
  14094. - description: 合同ID
  14095. in: query
  14096. name: RelatedId
  14097. required: true
  14098. type: string
  14099. produces:
  14100. - application/json
  14101. responses:
  14102. "200":
  14103. description: OK
  14104. schema:
  14105. items:
  14106. $ref: '#/definitions/ermcp.QryOPLogRsp'
  14107. type: array
  14108. "500":
  14109. description: Internal Server Error
  14110. schema:
  14111. $ref: '#/definitions/app.Response'
  14112. security:
  14113. - ApiKeyAuth: []
  14114. summary: 查询变更记录
  14115. tags:
  14116. - 企业风险管理(app)
  14117. /Ermcp/QueryContract:
  14118. get:
  14119. parameters:
  14120. - description: 用户ID
  14121. in: query
  14122. name: userId
  14123. required: true
  14124. type: integer
  14125. - description: 合同类型 1-采购, -1-销售
  14126. in: query
  14127. name: contracttype
  14128. required: true
  14129. type: integer
  14130. - description: 查询类型 1-全部 2-待点价 3-履约结算
  14131. in: query
  14132. name: querytype
  14133. required: true
  14134. type: integer
  14135. - description: 合同ID(SpotContractId)
  14136. in: query
  14137. name: contractid
  14138. type: string
  14139. produces:
  14140. - application/json
  14141. responses:
  14142. "200":
  14143. description: OK
  14144. schema:
  14145. items:
  14146. $ref: '#/definitions/ermcp.QryErmcpRsp'
  14147. type: array
  14148. "500":
  14149. description: Internal Server Error
  14150. schema:
  14151. $ref: '#/definitions/app.Response'
  14152. security:
  14153. - ApiKeyAuth: []
  14154. summary: 查询合同(采购和销售)
  14155. tags:
  14156. - 企业风险管理(app)
  14157. /Ermcp/QueryErmcpHisOrderDetails:
  14158. get:
  14159. parameters:
  14160. - description: 资金账户ID
  14161. in: query
  14162. name: accountID
  14163. required: true
  14164. type: integer
  14165. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14166. in: query
  14167. name: startDate
  14168. type: string
  14169. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14170. in: query
  14171. name: endDate
  14172. type: string
  14173. produces:
  14174. - application/json
  14175. responses:
  14176. "200":
  14177. description: OK
  14178. schema:
  14179. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14180. "500":
  14181. description: Internal Server Error
  14182. schema:
  14183. $ref: '#/definitions/app.Response'
  14184. security:
  14185. - ApiKeyAuth: []
  14186. summary: 获取企业风管期货历史委托单信息
  14187. tags:
  14188. - 企业风险管理(app)
  14189. /Ermcp/QueryErmcpHisTradeDetails:
  14190. get:
  14191. parameters:
  14192. - description: 资金账户ID
  14193. in: query
  14194. name: accountID
  14195. required: true
  14196. type: integer
  14197. - description: 商品ID
  14198. in: query
  14199. name: goodsID
  14200. type: integer
  14201. - description: 买卖方向,0:买 1:卖
  14202. in: query
  14203. name: buyOrSell
  14204. type: integer
  14205. - description: 关联委托单号
  14206. in: query
  14207. name: orderID
  14208. type: integer
  14209. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14210. in: query
  14211. name: startDate
  14212. type: string
  14213. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14214. in: query
  14215. name: endDate
  14216. type: string
  14217. produces:
  14218. - application/json
  14219. responses:
  14220. "200":
  14221. description: OK
  14222. schema:
  14223. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14224. "500":
  14225. description: Internal Server Error
  14226. schema:
  14227. $ref: '#/definitions/app.Response'
  14228. security:
  14229. - ApiKeyAuth: []
  14230. summary: 获取企业风管期货历史成交单信息
  14231. tags:
  14232. - 企业风险管理(app)
  14233. /Ermcp/QueryErmcpInnerHolderDetails:
  14234. get:
  14235. parameters:
  14236. - description: 资金账户ID
  14237. in: query
  14238. name: accountID
  14239. required: true
  14240. type: integer
  14241. - description: 商品ID
  14242. in: query
  14243. name: goodsID
  14244. type: integer
  14245. - description: 买卖方向,0:买 1:卖
  14246. in: query
  14247. name: buyOrSell
  14248. type: integer
  14249. produces:
  14250. - application/json
  14251. responses:
  14252. "200":
  14253. description: OK
  14254. schema:
  14255. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  14256. "500":
  14257. description: Internal Server Error
  14258. schema:
  14259. $ref: '#/definitions/app.Response'
  14260. security:
  14261. - ApiKeyAuth: []
  14262. summary: 获取企业风管期货内部持仓单信息
  14263. tags:
  14264. - 企业风险管理(app)
  14265. /Ermcp/QueryErmcpOrderDetails:
  14266. get:
  14267. parameters:
  14268. - description: 资金账户ID
  14269. in: query
  14270. name: accountID
  14271. required: true
  14272. type: integer
  14273. produces:
  14274. - application/json
  14275. responses:
  14276. "200":
  14277. description: OK
  14278. schema:
  14279. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14280. "500":
  14281. description: Internal Server Error
  14282. schema:
  14283. $ref: '#/definitions/app.Response'
  14284. security:
  14285. - ApiKeyAuth: []
  14286. summary: 获取企业风管期货委托单信息
  14287. tags:
  14288. - 企业风险管理(app)
  14289. /Ermcp/QueryErmcpTradeDetails:
  14290. get:
  14291. parameters:
  14292. - description: 资金账户ID
  14293. in: query
  14294. name: accountID
  14295. required: true
  14296. type: integer
  14297. - description: 商品ID
  14298. in: query
  14299. name: goodsID
  14300. type: integer
  14301. - description: 买卖方向,0:买 1:卖
  14302. in: query
  14303. name: buyOrSell
  14304. type: integer
  14305. - description: 关联委托单号
  14306. in: query
  14307. name: orderID
  14308. type: integer
  14309. produces:
  14310. - application/json
  14311. responses:
  14312. "200":
  14313. description: OK
  14314. schema:
  14315. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14316. "500":
  14317. description: Internal Server Error
  14318. schema:
  14319. $ref: '#/definitions/app.Response'
  14320. security:
  14321. - ApiKeyAuth: []
  14322. summary: 获取企业风管期货成交单信息
  14323. tags:
  14324. - 企业风险管理(app)
  14325. /Ermcp/QueryErmcpTradePosition:
  14326. get:
  14327. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  14328. parameters:
  14329. - description: 资金账户ID
  14330. in: query
  14331. name: accountID
  14332. required: true
  14333. type: integer
  14334. - description: 所属市场ID
  14335. in: query
  14336. name: marketID
  14337. type: integer
  14338. produces:
  14339. - application/json
  14340. responses:
  14341. "200":
  14342. description: OK
  14343. schema:
  14344. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  14345. "500":
  14346. description: Internal Server Error
  14347. schema:
  14348. $ref: '#/definitions/app.Response'
  14349. security:
  14350. - ApiKeyAuth: []
  14351. summary: 获取企业风管期货持仓头寸信息
  14352. tags:
  14353. - 企业风险管理(app)
  14354. /Ermcp/QueryExposureDetail:
  14355. get:
  14356. parameters:
  14357. - description: 所属机构ID
  14358. in: query
  14359. name: areaUserId
  14360. required: true
  14361. type: integer
  14362. - description: 套保商品
  14363. in: query
  14364. name: middleGoodsId
  14365. required: true
  14366. type: integer
  14367. produces:
  14368. - application/json
  14369. responses:
  14370. "200":
  14371. description: OK
  14372. schema:
  14373. items:
  14374. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  14375. type: array
  14376. "500":
  14377. description: Internal Server Error
  14378. schema:
  14379. $ref: '#/definitions/app.Response'
  14380. security:
  14381. - ApiKeyAuth: []
  14382. summary: 查询敞口现货明细
  14383. tags:
  14384. - 企业风险管理(app)
  14385. /Ermcp/QueryExposureHedgePosition:
  14386. get:
  14387. parameters:
  14388. - description: 所属机构ID
  14389. in: query
  14390. name: areaUserId
  14391. required: true
  14392. type: integer
  14393. produces:
  14394. - application/json
  14395. responses:
  14396. "200":
  14397. description: OK
  14398. schema:
  14399. items:
  14400. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  14401. type: array
  14402. "500":
  14403. description: Internal Server Error
  14404. schema:
  14405. $ref: '#/definitions/app.Response'
  14406. security:
  14407. - ApiKeyAuth: []
  14408. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  14409. tags:
  14410. - 企业风险管理(app)
  14411. /Ermcp/QueryExposureHedgePositionDetail:
  14412. get:
  14413. parameters:
  14414. - description: 所属机构ID
  14415. in: query
  14416. name: areaUserId
  14417. required: true
  14418. type: integer
  14419. - description: 商品id
  14420. in: query
  14421. name: goodsId
  14422. required: true
  14423. type: integer
  14424. produces:
  14425. - application/json
  14426. responses:
  14427. "200":
  14428. description: OK
  14429. schema:
  14430. items:
  14431. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  14432. type: array
  14433. "500":
  14434. description: Internal Server Error
  14435. schema:
  14436. $ref: '#/definitions/app.Response'
  14437. security:
  14438. - ApiKeyAuth: []
  14439. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  14440. tags:
  14441. - 企业风险管理(app)
  14442. /Ermcp/QueryExposureSpot:
  14443. get:
  14444. parameters:
  14445. - description: 所属机构ID
  14446. in: query
  14447. name: areaUserId
  14448. required: true
  14449. type: integer
  14450. produces:
  14451. - application/json
  14452. responses:
  14453. "200":
  14454. description: OK
  14455. schema:
  14456. items:
  14457. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  14458. type: array
  14459. "500":
  14460. description: Internal Server Error
  14461. schema:
  14462. $ref: '#/definitions/app.Response'
  14463. security:
  14464. - ApiKeyAuth: []
  14465. summary: 查询敞口现货头寸(敞口/现货头寸)
  14466. tags:
  14467. - 企业风险管理(app)
  14468. /Ermcp/QueryExposureSpotDetail:
  14469. get:
  14470. parameters:
  14471. - description: 所属机构ID
  14472. in: query
  14473. name: areaUserId
  14474. required: true
  14475. type: integer
  14476. - description: 现货品种ID
  14477. in: query
  14478. name: wrstandardId
  14479. required: true
  14480. type: integer
  14481. produces:
  14482. - application/json
  14483. responses:
  14484. "200":
  14485. description: OK
  14486. schema:
  14487. items:
  14488. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  14489. type: array
  14490. "500":
  14491. description: Internal Server Error
  14492. schema:
  14493. $ref: '#/definitions/app.Response'
  14494. security:
  14495. - ApiKeyAuth: []
  14496. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14497. tags:
  14498. - 企业风险管理(app)
  14499. /Ermcp/QueryFuturesCompany:
  14500. get:
  14501. produces:
  14502. - application/json
  14503. responses:
  14504. "200":
  14505. description: OK
  14506. schema:
  14507. items:
  14508. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14509. type: array
  14510. "500":
  14511. description: Internal Server Error
  14512. schema:
  14513. $ref: '#/definitions/app.Response'
  14514. security:
  14515. - ApiKeyAuth: []
  14516. summary: 查询期货公司
  14517. tags:
  14518. - 企业风险管理(app)
  14519. /Ermcp/QueryGGConvertConfig:
  14520. get:
  14521. parameters:
  14522. - description: 品种id(不填则查所有)
  14523. in: query
  14524. name: goodsgroupid
  14525. type: integer
  14526. produces:
  14527. - application/json
  14528. responses:
  14529. "200":
  14530. description: OK
  14531. schema:
  14532. items:
  14533. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  14534. type: array
  14535. "500":
  14536. description: Internal Server Error
  14537. schema:
  14538. $ref: '#/definitions/app.Response'
  14539. security:
  14540. - ApiKeyAuth: []
  14541. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  14542. tags:
  14543. - 企业风险管理(app)
  14544. /Ermcp/QueryGoodsBrand:
  14545. get:
  14546. parameters:
  14547. - description: 用户ID
  14548. in: query
  14549. name: userid
  14550. required: true
  14551. type: integer
  14552. - description: 现货商品ID
  14553. in: query
  14554. name: wrstandardid
  14555. type: integer
  14556. produces:
  14557. - application/json
  14558. responses:
  14559. "200":
  14560. description: OK
  14561. schema:
  14562. items:
  14563. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14564. type: array
  14565. "500":
  14566. description: Internal Server Error
  14567. schema:
  14568. $ref: '#/definitions/app.Response'
  14569. security:
  14570. - ApiKeyAuth: []
  14571. summary: 查询商品品牌
  14572. tags:
  14573. - 企业风险管理(app)
  14574. /Ermcp/QueryGoodsModel:
  14575. get:
  14576. parameters:
  14577. - description: 用户ID
  14578. in: query
  14579. name: userid
  14580. required: true
  14581. type: integer
  14582. produces:
  14583. - application/json
  14584. responses:
  14585. "200":
  14586. description: OK
  14587. schema:
  14588. items:
  14589. $ref: '#/definitions/models.ErmcpGoodsModel'
  14590. type: array
  14591. "500":
  14592. description: Internal Server Error
  14593. schema:
  14594. $ref: '#/definitions/app.Response'
  14595. security:
  14596. - ApiKeyAuth: []
  14597. summary: 查询商品型号
  14598. tags:
  14599. - 企业风险管理(app)
  14600. /Ermcp/QueryHedgePlan:
  14601. get:
  14602. parameters:
  14603. - description: 用户ID
  14604. in: query
  14605. name: userId
  14606. required: true
  14607. type: integer
  14608. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14609. in: query
  14610. name: HedgePlanStatus
  14611. required: true
  14612. type: string
  14613. produces:
  14614. - application/json
  14615. responses:
  14616. "200":
  14617. description: OK
  14618. schema:
  14619. items:
  14620. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  14621. type: array
  14622. "500":
  14623. description: Internal Server Error
  14624. schema:
  14625. $ref: '#/definitions/app.Response'
  14626. security:
  14627. - ApiKeyAuth: []
  14628. summary: 查询套保计划
  14629. tags:
  14630. - 企业风险管理(app)
  14631. /Ermcp/QueryHisExposure:
  14632. get:
  14633. parameters:
  14634. - description: 所属机构ID
  14635. in: query
  14636. name: areaUserId
  14637. required: true
  14638. type: integer
  14639. - description: 每个品种记录数
  14640. in: query
  14641. name: lastNum
  14642. required: true
  14643. type: integer
  14644. produces:
  14645. - application/json
  14646. responses:
  14647. "200":
  14648. description: OK
  14649. schema:
  14650. items:
  14651. $ref: '#/definitions/ermcp.HisExposureRsp'
  14652. type: array
  14653. "500":
  14654. description: Internal Server Error
  14655. schema:
  14656. $ref: '#/definitions/app.Response'
  14657. security:
  14658. - ApiKeyAuth: []
  14659. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14660. tags:
  14661. - 企业风险管理(app)
  14662. /Ermcp/QueryMiddleGoods:
  14663. get:
  14664. parameters:
  14665. - description: 所属机构ID
  14666. in: query
  14667. name: userid
  14668. required: true
  14669. type: integer
  14670. - description: 状态 0-停用 1-正常
  14671. in: query
  14672. name: status
  14673. required: true
  14674. type: integer
  14675. produces:
  14676. - application/json
  14677. responses:
  14678. "200":
  14679. description: OK
  14680. schema:
  14681. items:
  14682. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14683. type: array
  14684. "500":
  14685. description: Internal Server Error
  14686. schema:
  14687. $ref: '#/definitions/app.Response'
  14688. security:
  14689. - ApiKeyAuth: []
  14690. summary: 查询套保品种(菜单:套保品种)
  14691. tags:
  14692. - 企业风险管理(app)
  14693. /Ermcp/QueryMiddleGoodsChangeLog:
  14694. get:
  14695. parameters:
  14696. - description: 所属机构ID
  14697. in: query
  14698. name: userid
  14699. required: true
  14700. type: integer
  14701. - description: 套保品种id
  14702. in: query
  14703. name: middlegoodsid
  14704. required: true
  14705. type: integer
  14706. produces:
  14707. - application/json
  14708. responses:
  14709. "200":
  14710. description: OK
  14711. schema:
  14712. items:
  14713. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  14714. type: array
  14715. "500":
  14716. description: Internal Server Error
  14717. schema:
  14718. $ref: '#/definitions/app.Response'
  14719. security:
  14720. - ApiKeyAuth: []
  14721. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  14722. tags:
  14723. - 企业风险管理(app)
  14724. /Ermcp/QueryMiddleGoodsDetail:
  14725. get:
  14726. parameters:
  14727. - description: 所属机构ID
  14728. in: query
  14729. name: userid
  14730. required: true
  14731. type: integer
  14732. - description: 套保品种id
  14733. in: query
  14734. name: middlegoodsid
  14735. type: integer
  14736. produces:
  14737. - application/json
  14738. responses:
  14739. "200":
  14740. description: OK
  14741. schema:
  14742. items:
  14743. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  14744. type: array
  14745. "500":
  14746. description: Internal Server Error
  14747. schema:
  14748. $ref: '#/definitions/app.Response'
  14749. security:
  14750. - ApiKeyAuth: []
  14751. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  14752. tags:
  14753. - 企业风险管理(app)
  14754. /Ermcp/QueryPendingAuditInfo:
  14755. get:
  14756. parameters:
  14757. - description: 用户ID
  14758. in: query
  14759. name: UserId
  14760. required: true
  14761. type: integer
  14762. produces:
  14763. - application/json
  14764. responses:
  14765. "200":
  14766. description: OK
  14767. schema:
  14768. items:
  14769. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  14770. type: array
  14771. "500":
  14772. description: Internal Server Error
  14773. schema:
  14774. $ref: '#/definitions/app.Response'
  14775. security:
  14776. - ApiKeyAuth: []
  14777. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  14778. tags:
  14779. - 企业风险管理(app)
  14780. /Ermcp/QueryRealtimeExposure:
  14781. get:
  14782. parameters:
  14783. - description: 所属机构ID
  14784. in: query
  14785. name: AreaUserID
  14786. required: true
  14787. type: integer
  14788. produces:
  14789. - application/json
  14790. responses:
  14791. "200":
  14792. description: OK
  14793. schema:
  14794. items:
  14795. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14796. type: array
  14797. "500":
  14798. description: Internal Server Error
  14799. schema:
  14800. $ref: '#/definitions/app.Response'
  14801. security:
  14802. - ApiKeyAuth: []
  14803. summary: 查询实时敞口
  14804. tags:
  14805. - 企业风险管理(app)
  14806. /Ermcp/QueryRealtimeExposurePosition:
  14807. get:
  14808. parameters:
  14809. - description: 所属机构ID
  14810. in: query
  14811. name: areaUserId
  14812. required: true
  14813. type: integer
  14814. - description: 套保商品ID
  14815. in: query
  14816. name: middleGoodsId
  14817. required: true
  14818. type: integer
  14819. produces:
  14820. - application/json
  14821. responses:
  14822. "200":
  14823. description: OK
  14824. schema:
  14825. items:
  14826. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14827. type: array
  14828. "500":
  14829. description: Internal Server Error
  14830. schema:
  14831. $ref: '#/definitions/app.Response'
  14832. security:
  14833. - ApiKeyAuth: []
  14834. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14835. tags:
  14836. - 企业风险管理(app)
  14837. /Ermcp/QuerySpotContract:
  14838. get:
  14839. parameters:
  14840. - description: 用户ID
  14841. in: query
  14842. name: userId
  14843. required: true
  14844. type: integer
  14845. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14846. in: query
  14847. name: QueryType
  14848. required: true
  14849. type: integer
  14850. produces:
  14851. - application/json
  14852. responses:
  14853. "200":
  14854. description: OK
  14855. schema:
  14856. items:
  14857. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  14858. type: array
  14859. "500":
  14860. description: Internal Server Error
  14861. schema:
  14862. $ref: '#/definitions/app.Response'
  14863. security:
  14864. - ApiKeyAuth: []
  14865. summary: 查询现货合同(对应现货合同菜单)
  14866. tags:
  14867. - 企业风险管理(app)
  14868. /Ermcp/QuerySpotGoodsPrice:
  14869. get:
  14870. parameters:
  14871. - description: 用户ID
  14872. in: query
  14873. name: userid
  14874. required: true
  14875. type: integer
  14876. produces:
  14877. - application/json
  14878. responses:
  14879. "200":
  14880. description: OK
  14881. schema:
  14882. items:
  14883. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  14884. type: array
  14885. "500":
  14886. description: Internal Server Error
  14887. schema:
  14888. $ref: '#/definitions/app.Response'
  14889. security:
  14890. - ApiKeyAuth: []
  14891. summary: 查询现货市价(现货市价)
  14892. tags:
  14893. - 企业风险管理(app)
  14894. /Ermcp/QuerySpotGoodsPriceLog:
  14895. get:
  14896. parameters:
  14897. - description: 用户ID
  14898. in: query
  14899. name: userid
  14900. required: true
  14901. type: integer
  14902. - description: 现货商品ID
  14903. in: query
  14904. name: wrstandardid
  14905. required: true
  14906. type: integer
  14907. produces:
  14908. - application/json
  14909. responses:
  14910. "200":
  14911. description: OK
  14912. schema:
  14913. items:
  14914. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  14915. type: array
  14916. "500":
  14917. description: Internal Server Error
  14918. schema:
  14919. $ref: '#/definitions/app.Response'
  14920. security:
  14921. - ApiKeyAuth: []
  14922. summary: 查询现货市价详情(现货市价/详情)
  14923. tags:
  14924. - 企业风险管理(app)
  14925. /Ermcp/QueryTradeConfigTMP:
  14926. get:
  14927. parameters:
  14928. - description: 所属机构id
  14929. in: query
  14930. name: areauserid
  14931. type: integer
  14932. produces:
  14933. - application/json
  14934. responses:
  14935. "200":
  14936. description: OK
  14937. schema:
  14938. items:
  14939. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14940. type: array
  14941. "500":
  14942. description: Internal Server Error
  14943. schema:
  14944. $ref: '#/definitions/app.Response'
  14945. security:
  14946. - ApiKeyAuth: []
  14947. summary: 查询交易模板配置
  14948. tags:
  14949. - 企业风险管理(app)
  14950. /Ermcp/QueryUserInfo:
  14951. get:
  14952. parameters:
  14953. - description: 所属机构用户ID
  14954. in: query
  14955. name: MemberUserID
  14956. required: true
  14957. type: integer
  14958. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14959. in: query
  14960. name: queryType
  14961. required: true
  14962. type: integer
  14963. produces:
  14964. - application/json
  14965. responses:
  14966. "200":
  14967. description: OK
  14968. schema:
  14969. items:
  14970. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  14971. type: array
  14972. "500":
  14973. description: Internal Server Error
  14974. schema:
  14975. $ref: '#/definitions/app.Response'
  14976. security:
  14977. - ApiKeyAuth: []
  14978. summary: 查询客户资料
  14979. tags:
  14980. - 企业风险管理(app)
  14981. /Ermcp/QueryWarehouseInfo:
  14982. get:
  14983. parameters:
  14984. - description: 用户ID
  14985. in: query
  14986. name: userid
  14987. required: true
  14988. type: integer
  14989. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  14990. in: query
  14991. name: status
  14992. type: string
  14993. produces:
  14994. - application/json
  14995. responses:
  14996. "200":
  14997. description: OK
  14998. schema:
  14999. items:
  15000. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  15001. type: array
  15002. "500":
  15003. description: Internal Server Error
  15004. schema:
  15005. $ref: '#/definitions/app.Response'
  15006. security:
  15007. - ApiKeyAuth: []
  15008. summary: 查询仓库信息
  15009. tags:
  15010. - 企业风险管理(app)
  15011. /Ermcp/QueryWrStandard:
  15012. get:
  15013. parameters:
  15014. - description: 所属机构ID
  15015. in: query
  15016. name: userid
  15017. required: true
  15018. type: integer
  15019. - description: 状态 0-停用 1-正常
  15020. in: query
  15021. name: status
  15022. required: true
  15023. type: integer
  15024. produces:
  15025. - application/json
  15026. responses:
  15027. "200":
  15028. description: OK
  15029. schema:
  15030. items:
  15031. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  15032. type: array
  15033. "500":
  15034. description: Internal Server Error
  15035. schema:
  15036. $ref: '#/definitions/app.Response'
  15037. security:
  15038. - ApiKeyAuth: []
  15039. summary: 查询现货商品
  15040. tags:
  15041. - 企业风险管理(app)
  15042. /Ermcp/QueryWrStandardDetail:
  15043. get:
  15044. parameters:
  15045. - description: 所属机构ID
  15046. in: query
  15047. name: userid
  15048. required: true
  15049. type: integer
  15050. - description: 现货商品ID
  15051. in: query
  15052. name: wrstandardid
  15053. type: integer
  15054. - description: 可不填, 1-查询关联交易商品
  15055. in: query
  15056. name: goods
  15057. type: integer
  15058. produces:
  15059. - application/json
  15060. responses:
  15061. "200":
  15062. description: OK
  15063. schema:
  15064. items:
  15065. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  15066. type: array
  15067. "500":
  15068. description: Internal Server Error
  15069. schema:
  15070. $ref: '#/definitions/app.Response'
  15071. security:
  15072. - ApiKeyAuth: []
  15073. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  15074. tags:
  15075. - 企业风险管理(app)
  15076. /Ermcp3/QryReportAreaSpotPL:
  15077. get:
  15078. parameters:
  15079. - description: 用户ID
  15080. in: query
  15081. name: userid
  15082. required: true
  15083. type: integer
  15084. - description: 查询类型 1-日报表 2-月报表
  15085. in: query
  15086. name: querytype
  15087. required: true
  15088. type: integer
  15089. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15090. in: query
  15091. name: querydate
  15092. required: true
  15093. type: string
  15094. - description: 现货商品ID
  15095. in: query
  15096. name: deliverygoodsid
  15097. type: integer
  15098. - description: 品牌ID
  15099. in: query
  15100. name: spotgoodsbrandid
  15101. type: integer
  15102. - description: 品类ID
  15103. in: query
  15104. name: wrstandardid
  15105. type: integer
  15106. produces:
  15107. - application/json
  15108. responses:
  15109. "200":
  15110. description: OK
  15111. schema:
  15112. items:
  15113. $ref: '#/definitions/models.Ermcp3ReportAreaSpotPL'
  15114. type: array
  15115. "500":
  15116. description: Internal Server Error
  15117. schema:
  15118. $ref: '#/definitions/app.Response'
  15119. security:
  15120. - ApiKeyAuth: []
  15121. summary: 查询现货损益报表(现货损益报表)
  15122. tags:
  15123. - 企业风险管理v3(app)
  15124. /Ermcp3/QryReportDayFinanceFp:
  15125. get:
  15126. parameters:
  15127. - description: 用户ID
  15128. in: query
  15129. name: userid
  15130. required: true
  15131. type: integer
  15132. - description: 交易日(格式:yyyyMMdd)
  15133. in: query
  15134. name: tradedate
  15135. required: true
  15136. type: string
  15137. produces:
  15138. - application/json
  15139. responses:
  15140. "200":
  15141. description: OK
  15142. schema:
  15143. items:
  15144. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  15145. type: array
  15146. "500":
  15147. description: Internal Server Error
  15148. schema:
  15149. $ref: '#/definitions/app.Response'
  15150. security:
  15151. - ApiKeyAuth: []
  15152. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  15153. tags:
  15154. - 企业风险管理v3(app)
  15155. /Ermcp3/QryReportDayFinanceKx:
  15156. get:
  15157. parameters:
  15158. - description: 用户ID
  15159. in: query
  15160. name: userid
  15161. required: true
  15162. type: integer
  15163. - description: 交易日(格式:yyyyMMdd)
  15164. in: query
  15165. name: tradedate
  15166. required: true
  15167. type: string
  15168. produces:
  15169. - application/json
  15170. responses:
  15171. "200":
  15172. description: OK
  15173. schema:
  15174. items:
  15175. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  15176. type: array
  15177. "500":
  15178. description: Internal Server Error
  15179. schema:
  15180. $ref: '#/definitions/app.Response'
  15181. security:
  15182. - ApiKeyAuth: []
  15183. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  15184. tags:
  15185. - 企业风险管理v3(app)
  15186. /Ermcp3/QryReportDaySpot:
  15187. get:
  15188. parameters:
  15189. - description: 所属机构id
  15190. in: query
  15191. name: areauserid
  15192. required: true
  15193. type: integer
  15194. - description: 交易日(格式:yyyyMMdd)
  15195. in: query
  15196. name: reckondate
  15197. required: true
  15198. type: string
  15199. - description: 期货账户ID
  15200. in: query
  15201. name: accountid
  15202. type: integer
  15203. - description: 现货品种ID
  15204. in: query
  15205. name: deliverygoodsid
  15206. type: integer
  15207. - description: 品类ID
  15208. in: query
  15209. name: wrstandardid
  15210. type: integer
  15211. - description: 现货品牌ID
  15212. in: query
  15213. name: spotgoodsbrandid
  15214. type: integer
  15215. produces:
  15216. - application/json
  15217. responses:
  15218. "200":
  15219. description: OK
  15220. schema:
  15221. items:
  15222. $ref: '#/definitions/models.Ermcp3ReckonAreaSpotSub'
  15223. type: array
  15224. "500":
  15225. description: Internal Server Error
  15226. schema:
  15227. $ref: '#/definitions/app.Response'
  15228. security:
  15229. - ApiKeyAuth: []
  15230. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  15231. tags:
  15232. - 企业风险管理v3(app)
  15233. /Ermcp3/QryReportDaySpotDetail:
  15234. get:
  15235. parameters:
  15236. - description: 用户ID
  15237. in: query
  15238. name: userid
  15239. required: true
  15240. type: integer
  15241. - description: 现货商品id
  15242. in: query
  15243. name: deliverygoodsid
  15244. required: true
  15245. type: integer
  15246. - description: 交易日(格式:yyyyMMdd)
  15247. in: query
  15248. name: tradedate
  15249. required: true
  15250. type: string
  15251. - description: 品类ID
  15252. in: query
  15253. name: wrstandardid
  15254. type: integer
  15255. - description: 现货品牌ID
  15256. in: query
  15257. name: spotgoodsbrandid
  15258. type: integer
  15259. produces:
  15260. - application/json
  15261. responses:
  15262. "200":
  15263. description: OK
  15264. schema:
  15265. items:
  15266. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  15267. type: array
  15268. "500":
  15269. description: Internal Server Error
  15270. schema:
  15271. $ref: '#/definitions/app.Response'
  15272. security:
  15273. - ApiKeyAuth: []
  15274. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  15275. tags:
  15276. - 企业风险管理v3(app)
  15277. /Ermcp3/QryReportMonthSpot:
  15278. get:
  15279. parameters:
  15280. - description: 所属机构id
  15281. in: query
  15282. name: areauserid
  15283. required: true
  15284. type: integer
  15285. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  15286. in: query
  15287. name: cycletype
  15288. required: true
  15289. type: integer
  15290. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  15291. in: query
  15292. name: cycletime
  15293. required: true
  15294. type: string
  15295. - description: 期货账户ID
  15296. in: query
  15297. name: accountid
  15298. type: integer
  15299. - description: 现货品种ID
  15300. in: query
  15301. name: deliverygoodsid
  15302. type: integer
  15303. - description: 品类ID
  15304. in: query
  15305. name: wrstandardid
  15306. type: integer
  15307. - description: 现货品牌ID
  15308. in: query
  15309. name: spotgoodsbrandid
  15310. type: integer
  15311. produces:
  15312. - application/json
  15313. responses:
  15314. "200":
  15315. description: OK
  15316. schema:
  15317. items:
  15318. $ref: '#/definitions/models.Ermcp3ReportAreaSpotSub'
  15319. type: array
  15320. "500":
  15321. description: Internal Server Error
  15322. schema:
  15323. $ref: '#/definitions/app.Response'
  15324. security:
  15325. - ApiKeyAuth: []
  15326. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  15327. tags:
  15328. - 企业风险管理v3(app)
  15329. /Ermcp3/QryReportMonthSpotDetail:
  15330. get:
  15331. parameters:
  15332. - description: 所属机构id
  15333. in: query
  15334. name: areauserid
  15335. required: true
  15336. type: integer
  15337. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  15338. in: query
  15339. name: cycletype
  15340. required: true
  15341. type: integer
  15342. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  15343. in: query
  15344. name: cycletime
  15345. required: true
  15346. type: string
  15347. - description: 期货账户ID
  15348. in: query
  15349. name: accountid
  15350. type: integer
  15351. - description: 现货品种ID
  15352. in: query
  15353. name: deliverygoodsid
  15354. type: integer
  15355. - description: 品类ID
  15356. in: query
  15357. name: wrstandardid
  15358. type: integer
  15359. - description: 现货品牌ID
  15360. in: query
  15361. name: spotgoodsbrandid
  15362. type: integer
  15363. produces:
  15364. - application/json
  15365. responses:
  15366. "200":
  15367. description: OK
  15368. schema:
  15369. items:
  15370. $ref: '#/definitions/models.Ermcp3ReportAreaSpotSub'
  15371. type: array
  15372. "500":
  15373. description: Internal Server Error
  15374. schema:
  15375. $ref: '#/definitions/app.Response'
  15376. security:
  15377. - ApiKeyAuth: []
  15378. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  15379. tags:
  15380. - 企业风险管理v3(app)
  15381. /Ermcp3/QueryAreaStock:
  15382. get:
  15383. parameters:
  15384. - description: 用户ID
  15385. in: query
  15386. name: userid
  15387. required: true
  15388. type: integer
  15389. produces:
  15390. - application/json
  15391. responses:
  15392. "200":
  15393. description: OK
  15394. schema:
  15395. items:
  15396. $ref: '#/definitions/models.Ermcp3AreaStock'
  15397. type: array
  15398. "500":
  15399. description: Internal Server Error
  15400. schema:
  15401. $ref: '#/definitions/app.Response'
  15402. security:
  15403. - ApiKeyAuth: []
  15404. summary: 查询机构库存(库存管理/当前库存)
  15405. tags:
  15406. - 企业风险管理v3(app)
  15407. /Ermcp3/QueryAreaStockApply:
  15408. get:
  15409. parameters:
  15410. - description: 用户ID
  15411. in: query
  15412. name: userid
  15413. required: true
  15414. type: integer
  15415. - description: 现货商品ID
  15416. in: query
  15417. name: deliverygoodsid
  15418. type: integer
  15419. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  15420. in: query
  15421. name: inouttype
  15422. type: string
  15423. - description: 合同ID
  15424. in: query
  15425. name: spotcontractid
  15426. type: integer
  15427. - description: 品类ID
  15428. in: query
  15429. name: wrstandardid
  15430. type: integer
  15431. - description: 品牌ID
  15432. in: query
  15433. name: spotgoodsbrandid
  15434. type: integer
  15435. - description: 仓库ID
  15436. in: query
  15437. name: warehouseinfoid
  15438. type: integer
  15439. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15440. in: query
  15441. name: applystatus
  15442. type: string
  15443. produces:
  15444. - application/json
  15445. responses:
  15446. "200":
  15447. description: OK
  15448. schema:
  15449. items:
  15450. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15451. type: array
  15452. "500":
  15453. description: Internal Server Error
  15454. schema:
  15455. $ref: '#/definitions/app.Response'
  15456. security:
  15457. - ApiKeyAuth: []
  15458. summary: 查询库存申请(出入库记录|库存审核)
  15459. tags:
  15460. - 企业风险管理v3(app)
  15461. /Ermcp3/QueryAreaStockApplySum:
  15462. get:
  15463. parameters:
  15464. - description: 合同ID
  15465. in: query
  15466. name: spotcontractid
  15467. type: integer
  15468. produces:
  15469. - application/json
  15470. responses:
  15471. "200":
  15472. description: OK
  15473. schema:
  15474. items:
  15475. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  15476. type: array
  15477. "500":
  15478. description: Internal Server Error
  15479. schema:
  15480. $ref: '#/definitions/app.Response'
  15481. security:
  15482. - ApiKeyAuth: []
  15483. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  15484. tags:
  15485. - 企业风险管理v3(app)
  15486. /Ermcp3/QueryAreaStockReport:
  15487. get:
  15488. parameters:
  15489. - description: 用户ID
  15490. in: query
  15491. name: userid
  15492. required: true
  15493. type: integer
  15494. - description: 查询类型 1-日报表 2-月报表
  15495. in: query
  15496. name: querytype
  15497. required: true
  15498. type: integer
  15499. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15500. in: query
  15501. name: querydate
  15502. required: true
  15503. type: string
  15504. - description: 现货商品ID
  15505. in: query
  15506. name: deliverygoodsid
  15507. type: integer
  15508. - description: 品类ID
  15509. in: query
  15510. name: wrstandardid
  15511. type: integer
  15512. - description: 品牌ID
  15513. in: query
  15514. name: spotgoodsbrandid
  15515. type: integer
  15516. - description: 仓库ID
  15517. in: query
  15518. name: warehouseinfoid
  15519. type: integer
  15520. produces:
  15521. - application/json
  15522. responses:
  15523. "200":
  15524. description: OK
  15525. schema:
  15526. items:
  15527. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  15528. type: array
  15529. "500":
  15530. description: Internal Server Error
  15531. schema:
  15532. $ref: '#/definitions/app.Response'
  15533. security:
  15534. - ApiKeyAuth: []
  15535. summary: 查询库存报表
  15536. tags:
  15537. - 企业风险管理v3(app)
  15538. /Ermcp3/QueryAreaStockReportDetail:
  15539. get:
  15540. parameters:
  15541. - description: 用户ID
  15542. in: query
  15543. name: userid
  15544. required: true
  15545. type: integer
  15546. - description: 查询类型 1-日报表明细 2-月报表明细
  15547. in: query
  15548. name: querytype
  15549. required: true
  15550. type: integer
  15551. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  15552. in: query
  15553. name: detailtype
  15554. required: true
  15555. type: integer
  15556. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15557. in: query
  15558. name: querydate
  15559. required: true
  15560. type: string
  15561. - description: 现货商品ID
  15562. in: query
  15563. name: deliverygoodsid
  15564. type: integer
  15565. - description: 品类ID
  15566. in: query
  15567. name: wrstandardid
  15568. type: integer
  15569. - description: 品牌ID
  15570. in: query
  15571. name: spotgoodsbrandid
  15572. type: integer
  15573. - description: 仓库ID
  15574. in: query
  15575. name: warehouseinfoid
  15576. type: integer
  15577. produces:
  15578. - application/json
  15579. responses:
  15580. "200":
  15581. description: OK
  15582. schema:
  15583. items:
  15584. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15585. type: array
  15586. "500":
  15587. description: Internal Server Error
  15588. schema:
  15589. $ref: '#/definitions/app.Response'
  15590. security:
  15591. - ApiKeyAuth: []
  15592. summary: 查询库存报表明细
  15593. tags:
  15594. - 企业风险管理v3(app)
  15595. /Ermcp3/QueryDGFactoryItem:
  15596. get:
  15597. parameters:
  15598. - description: 所属机构ID
  15599. in: query
  15600. name: areauserid
  15601. type: integer
  15602. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15603. in: query
  15604. name: dgfactoryitemid
  15605. type: integer
  15606. - description: 现货品种ID
  15607. in: query
  15608. name: deliverygoodsid
  15609. type: integer
  15610. - description: 要素项类型
  15611. in: query
  15612. name: dgfactoryitemtypeid
  15613. type: integer
  15614. - description: 顺序
  15615. in: query
  15616. name: orderindex
  15617. type: integer
  15618. produces:
  15619. - application/json
  15620. responses:
  15621. "200":
  15622. description: OK
  15623. schema:
  15624. items:
  15625. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  15626. type: array
  15627. "500":
  15628. description: Internal Server Error
  15629. schema:
  15630. $ref: '#/definitions/app.Response'
  15631. security:
  15632. - ApiKeyAuth: []
  15633. summary: 查询品种要素定义项
  15634. tags:
  15635. - 企业风险管理v3(app)
  15636. /Ermcp3/QueryDeliveryGoods:
  15637. get:
  15638. parameters:
  15639. - description: 所属机构id
  15640. in: query
  15641. name: areauserid
  15642. required: true
  15643. type: integer
  15644. - description: 排除已配置的业务类型商品 1-套保 2-套利
  15645. in: query
  15646. name: excludecfg
  15647. type: integer
  15648. produces:
  15649. - application/json
  15650. responses:
  15651. "200":
  15652. description: OK
  15653. schema:
  15654. items:
  15655. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15656. type: array
  15657. "500":
  15658. description: Internal Server Error
  15659. schema:
  15660. $ref: '#/definitions/app.Response'
  15661. security:
  15662. - ApiKeyAuth: []
  15663. summary: 查询现货商品
  15664. tags:
  15665. - 企业风险管理v3(app)
  15666. /Ermcp3/QueryDeliveryGoodsDetail:
  15667. get:
  15668. parameters:
  15669. - description: 所属机构id
  15670. in: query
  15671. name: areauserid
  15672. required: true
  15673. type: integer
  15674. - description: 现货商品id
  15675. in: query
  15676. name: deliverygoodsid
  15677. type: integer
  15678. produces:
  15679. - application/json
  15680. responses:
  15681. "200":
  15682. description: OK
  15683. schema:
  15684. items:
  15685. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  15686. type: array
  15687. "500":
  15688. description: Internal Server Error
  15689. schema:
  15690. $ref: '#/definitions/app.Response'
  15691. security:
  15692. - ApiKeyAuth: []
  15693. summary: 查询现货商品详情
  15694. tags:
  15695. - 企业风险管理v3(app)
  15696. /Ermcp3/QueryExposureDetail:
  15697. get:
  15698. parameters:
  15699. - description: 所属机构ID
  15700. in: query
  15701. name: areauserid
  15702. required: true
  15703. type: integer
  15704. - description: 套保商品
  15705. in: query
  15706. name: middlegoodsid
  15707. required: true
  15708. type: integer
  15709. produces:
  15710. - application/json
  15711. responses:
  15712. "200":
  15713. description: OK
  15714. schema:
  15715. items:
  15716. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15717. type: array
  15718. "500":
  15719. description: Internal Server Error
  15720. schema:
  15721. $ref: '#/definitions/app.Response'
  15722. security:
  15723. - ApiKeyAuth: []
  15724. summary: 查询敞口现货明细
  15725. tags:
  15726. - 企业风险管理v3(app)
  15727. /Ermcp3/QueryExposureSpot:
  15728. get:
  15729. parameters:
  15730. - description: 所属机构ID
  15731. in: query
  15732. name: areauserid
  15733. required: true
  15734. type: integer
  15735. produces:
  15736. - application/json
  15737. responses:
  15738. "200":
  15739. description: OK
  15740. schema:
  15741. items:
  15742. $ref: '#/definitions/models.Ermcp3AreaSpot'
  15743. type: array
  15744. "500":
  15745. description: Internal Server Error
  15746. schema:
  15747. $ref: '#/definitions/app.Response'
  15748. security:
  15749. - ApiKeyAuth: []
  15750. summary: 查询敞口现货头寸(敞口/现货头寸)
  15751. tags:
  15752. - 企业风险管理v3(app)
  15753. /Ermcp3/QueryExposureSpotDetail:
  15754. get:
  15755. parameters:
  15756. - description: 所属机构ID
  15757. in: query
  15758. name: areauserid
  15759. required: true
  15760. type: integer
  15761. - description: 现货品种ID
  15762. in: query
  15763. name: deliverygoodsid
  15764. required: true
  15765. type: integer
  15766. produces:
  15767. - application/json
  15768. responses:
  15769. "200":
  15770. description: OK
  15771. schema:
  15772. items:
  15773. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  15774. type: array
  15775. "500":
  15776. description: Internal Server Error
  15777. schema:
  15778. $ref: '#/definitions/app.Response'
  15779. security:
  15780. - ApiKeyAuth: []
  15781. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  15782. tags:
  15783. - 企业风险管理v3(app)
  15784. /Ermcp3/QueryGoodsGroup:
  15785. get:
  15786. parameters:
  15787. - description: 所属机构id
  15788. in: query
  15789. name: areauserid
  15790. required: true
  15791. type: integer
  15792. - description: 排除套保品中已关联的商品组 1-排除
  15793. in: query
  15794. name: excludecfg
  15795. type: integer
  15796. produces:
  15797. - application/json
  15798. responses:
  15799. "200":
  15800. description: OK
  15801. schema:
  15802. items:
  15803. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  15804. type: array
  15805. "500":
  15806. description: Internal Server Error
  15807. schema:
  15808. $ref: '#/definitions/app.Response'
  15809. security:
  15810. - ApiKeyAuth: []
  15811. summary: 查询期货商品组
  15812. tags:
  15813. - 企业风险管理v3(app)
  15814. /Ermcp3/QueryGoodsWrstandard:
  15815. get:
  15816. parameters:
  15817. - description: 所属机构ID
  15818. in: query
  15819. name: areauserid
  15820. required: true
  15821. type: integer
  15822. - description: 现货商品id
  15823. in: query
  15824. name: deliverygoodsid
  15825. type: integer
  15826. produces:
  15827. - application/json
  15828. responses:
  15829. "200":
  15830. description: OK
  15831. schema:
  15832. items:
  15833. $ref: '#/definitions/models.Ermcp3Wrstandard'
  15834. type: array
  15835. "500":
  15836. description: Internal Server Error
  15837. schema:
  15838. $ref: '#/definitions/app.Response'
  15839. security:
  15840. - ApiKeyAuth: []
  15841. summary: 查询商品品类
  15842. tags:
  15843. - 企业风险管理v3(app)
  15844. /Ermcp3/QueryGoodsbrand:
  15845. get:
  15846. parameters:
  15847. - description: 所属机构ID
  15848. in: query
  15849. name: areauserid
  15850. required: true
  15851. type: integer
  15852. produces:
  15853. - application/json
  15854. responses:
  15855. "200":
  15856. description: OK
  15857. schema:
  15858. items:
  15859. $ref: '#/definitions/models.Ermcp3Brand'
  15860. type: array
  15861. "500":
  15862. description: Internal Server Error
  15863. schema:
  15864. $ref: '#/definitions/app.Response'
  15865. security:
  15866. - ApiKeyAuth: []
  15867. summary: 查询商品品牌
  15868. tags:
  15869. - 企业风险管理v3(app)
  15870. /Ermcp3/QueryHedgePlan:
  15871. get:
  15872. parameters:
  15873. - description: 用户ID
  15874. in: query
  15875. name: userid
  15876. required: true
  15877. type: integer
  15878. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  15879. in: query
  15880. name: hedgeplanstatus
  15881. required: true
  15882. type: string
  15883. produces:
  15884. - application/json
  15885. responses:
  15886. "200":
  15887. description: OK
  15888. schema:
  15889. items:
  15890. $ref: '#/definitions/models.Ermcp3HedgePlan'
  15891. type: array
  15892. "500":
  15893. description: Internal Server Error
  15894. schema:
  15895. $ref: '#/definitions/app.Response'
  15896. security:
  15897. - ApiKeyAuth: []
  15898. summary: 查询套保计划
  15899. tags:
  15900. - 企业风险管理v3(app)
  15901. /Ermcp3/QueryMiddleGoodsDetail:
  15902. get:
  15903. parameters:
  15904. - description: 所属机构ID
  15905. in: query
  15906. name: areauserid
  15907. required: true
  15908. type: integer
  15909. - description: 套保品种id
  15910. in: query
  15911. name: middlegoodsid
  15912. type: integer
  15913. produces:
  15914. - application/json
  15915. responses:
  15916. "200":
  15917. description: OK
  15918. schema:
  15919. items:
  15920. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  15921. type: array
  15922. "500":
  15923. description: Internal Server Error
  15924. schema:
  15925. $ref: '#/definitions/app.Response'
  15926. security:
  15927. - ApiKeyAuth: []
  15928. summary: 查询套保品种详情(套保品种/商品详情)
  15929. tags:
  15930. - 企业风险管理v3(app)
  15931. /Ermcp3/QuerySpotContract:
  15932. get:
  15933. parameters:
  15934. - description: 所属机构ID
  15935. in: query
  15936. name: areauserid
  15937. required: true
  15938. type: integer
  15939. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  15940. in: query
  15941. name: querytype
  15942. required: true
  15943. type: integer
  15944. - description: 用户ID
  15945. in: query
  15946. name: userid
  15947. type: integer
  15948. - description: 用户类型 2-机构 7-企业成员
  15949. in: query
  15950. name: usertype
  15951. type: integer
  15952. - description: 合同ID(SpotContractId)
  15953. in: query
  15954. name: contractid
  15955. type: string
  15956. produces:
  15957. - application/json
  15958. responses:
  15959. "200":
  15960. description: OK
  15961. schema:
  15962. items:
  15963. $ref: '#/definitions/models.Ermcp3Contract'
  15964. type: array
  15965. "500":
  15966. description: Internal Server Error
  15967. schema:
  15968. $ref: '#/definitions/app.Response'
  15969. security:
  15970. - ApiKeyAuth: []
  15971. summary: 查询现货合同
  15972. tags:
  15973. - 企业风险管理v3(app)
  15974. /Ermcp3/QuerySpotContractBS:
  15975. get:
  15976. parameters:
  15977. - description: 所属机构ID
  15978. in: query
  15979. name: areauserid
  15980. required: true
  15981. type: integer
  15982. - description: 合同类型 1-采购, -1-销售
  15983. in: query
  15984. name: contracttype
  15985. required: true
  15986. type: integer
  15987. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15988. in: query
  15989. name: querytype
  15990. required: true
  15991. type: integer
  15992. - description: 用户ID
  15993. in: query
  15994. name: userid
  15995. type: integer
  15996. - description: 用户类型 2-机构 7-企业成员
  15997. in: query
  15998. name: usertype
  15999. type: integer
  16000. - description: 合同ID(SpotContractId)
  16001. in: query
  16002. name: contractid
  16003. type: string
  16004. produces:
  16005. - application/json
  16006. responses:
  16007. "200":
  16008. description: OK
  16009. schema:
  16010. items:
  16011. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  16012. type: array
  16013. "500":
  16014. description: Internal Server Error
  16015. schema:
  16016. $ref: '#/definitions/app.Response'
  16017. security:
  16018. - ApiKeyAuth: []
  16019. summary: 查询合同(采购/销售)
  16020. tags:
  16021. - 企业风险管理v3(app)
  16022. /Ermcp3/QuerySpotGoodsPrice:
  16023. get:
  16024. parameters:
  16025. - description: 用户ID
  16026. in: query
  16027. name: userid
  16028. required: true
  16029. type: integer
  16030. produces:
  16031. - application/json
  16032. responses:
  16033. "200":
  16034. description: OK
  16035. schema:
  16036. items:
  16037. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  16038. type: array
  16039. "500":
  16040. description: Internal Server Error
  16041. schema:
  16042. $ref: '#/definitions/app.Response'
  16043. security:
  16044. - ApiKeyAuth: []
  16045. summary: 查询现货市价(现货市价)
  16046. tags:
  16047. - 企业风险管理v3(app)
  16048. /Ermcp3/QuerySpotGoodsPriceLog:
  16049. get:
  16050. parameters:
  16051. - description: 用户ID
  16052. in: query
  16053. name: userid
  16054. required: true
  16055. type: integer
  16056. - description: 现货商品ID
  16057. in: query
  16058. name: deliverygoodsid
  16059. required: true
  16060. type: integer
  16061. - description: 品牌ID
  16062. in: query
  16063. name: brandid
  16064. type: integer
  16065. - description: 品类ID
  16066. in: query
  16067. name: wrstandardid
  16068. type: integer
  16069. produces:
  16070. - application/json
  16071. responses:
  16072. "200":
  16073. description: OK
  16074. schema:
  16075. items:
  16076. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  16077. type: array
  16078. "500":
  16079. description: Internal Server Error
  16080. schema:
  16081. $ref: '#/definitions/app.Response'
  16082. security:
  16083. - ApiKeyAuth: []
  16084. summary: 查询现货市价详情(现货市价/详情)
  16085. tags:
  16086. - 企业风险管理v3(app)
  16087. /Erms2/QueryArbitrageStrategy:
  16088. get:
  16089. parameters:
  16090. - description: 账户ID
  16091. in: query
  16092. name: userid
  16093. required: true
  16094. type: integer
  16095. - description: 商品组ID(品种ID)
  16096. in: query
  16097. name: goodsgroupid
  16098. type: string
  16099. produces:
  16100. - application/json
  16101. responses:
  16102. "200":
  16103. description: OK
  16104. schema:
  16105. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  16106. "500":
  16107. description: Internal Server Error
  16108. schema:
  16109. $ref: '#/definitions/app.Response'
  16110. security:
  16111. - ApiKeyAuth: []
  16112. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  16113. tags:
  16114. - 风险管理
  16115. /Erms2/QueryInnerTradeDetail:
  16116. get:
  16117. parameters:
  16118. - description: 资金账户
  16119. in: query
  16120. name: accountid
  16121. required: true
  16122. type: integer
  16123. produces:
  16124. - application/json
  16125. responses:
  16126. "200":
  16127. description: OK
  16128. schema:
  16129. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  16130. "500":
  16131. description: Internal Server Error
  16132. schema:
  16133. $ref: '#/definitions/app.Response'
  16134. security:
  16135. - ApiKeyAuth: []
  16136. summary: 查询内部成交单信息
  16137. tags:
  16138. - 风险管理
  16139. /Erms2/QuerySpotContract:
  16140. get:
  16141. parameters:
  16142. - description: 策略申请ID
  16143. in: query
  16144. name: asapplyid
  16145. required: true
  16146. type: integer
  16147. - description: 现货合同ID
  16148. in: query
  16149. name: spotcontractid
  16150. type: integer
  16151. produces:
  16152. - application/json
  16153. responses:
  16154. "200":
  16155. description: OK
  16156. schema:
  16157. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  16158. "500":
  16159. description: Internal Server Error
  16160. schema:
  16161. $ref: '#/definitions/app.Response'
  16162. security:
  16163. - ApiKeyAuth: []
  16164. summary: 查询现货合同表信息(指定策略ID、未结束的)
  16165. tags:
  16166. - 风险管理
  16167. /Erms3/AddErms2ASApply:
  16168. post:
  16169. parameters:
  16170. - description: 申请参数
  16171. in: body
  16172. name: jsonBody
  16173. required: true
  16174. schema:
  16175. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  16176. produces:
  16177. - application/json
  16178. responses:
  16179. "200":
  16180. description: OK
  16181. schema:
  16182. $ref: '#/definitions/app.Response'
  16183. "500":
  16184. description: Internal Server Error
  16185. schema:
  16186. $ref: '#/definitions/app.Response'
  16187. security:
  16188. - ApiKeyAuth: []
  16189. summary: 新增期现套利业务申请
  16190. tags:
  16191. - 风险管理v3
  16192. /Erms3/AddErms2SpotTradeApply:
  16193. post:
  16194. parameters:
  16195. - description: 申请参数
  16196. in: body
  16197. name: jsonBody
  16198. required: true
  16199. schema:
  16200. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  16201. produces:
  16202. - application/json
  16203. responses:
  16204. "200":
  16205. description: OK
  16206. schema:
  16207. $ref: '#/definitions/app.Response'
  16208. "500":
  16209. description: Internal Server Error
  16210. schema:
  16211. $ref: '#/definitions/app.Response'
  16212. security:
  16213. - ApiKeyAuth: []
  16214. summary: 新增现货贸易业务申请
  16215. tags:
  16216. - 风险管理v3
  16217. /Erms3/AddSpotContractApply:
  16218. post:
  16219. parameters:
  16220. - description: 申请参数
  16221. in: body
  16222. name: jsonBody
  16223. required: true
  16224. schema:
  16225. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  16226. produces:
  16227. - application/json
  16228. responses:
  16229. "200":
  16230. description: OK
  16231. schema:
  16232. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  16233. "500":
  16234. description: Internal Server Error
  16235. schema:
  16236. $ref: '#/definitions/app.Response'
  16237. security:
  16238. - ApiKeyAuth: []
  16239. summary: 新增现货合同申请
  16240. tags:
  16241. - 风险管理v3
  16242. /Erms3/AddUserInfoApply:
  16243. post:
  16244. parameters:
  16245. - description: 用户信息
  16246. in: body
  16247. name: jsonBody
  16248. required: true
  16249. schema:
  16250. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  16251. produces:
  16252. - application/json
  16253. responses:
  16254. "200":
  16255. description: OK
  16256. schema:
  16257. $ref: '#/definitions/app.Response'
  16258. "500":
  16259. description: Internal Server Error
  16260. schema:
  16261. $ref: '#/definitions/app.Response'
  16262. security:
  16263. - ApiKeyAuth: []
  16264. summary: 新增客户申请
  16265. tags:
  16266. - 风险管理v3
  16267. /Erms3/DeleteUserInfoApply:
  16268. get:
  16269. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  16270. parameters:
  16271. - description: 用户ID
  16272. in: query
  16273. name: userID
  16274. required: true
  16275. type: integer
  16276. produces:
  16277. - application/json
  16278. responses:
  16279. "200":
  16280. description: OK
  16281. schema:
  16282. $ref: '#/definitions/app.Response'
  16283. "500":
  16284. description: Internal Server Error
  16285. schema:
  16286. $ref: '#/definitions/app.Response'
  16287. security:
  16288. - ApiKeyAuth: []
  16289. summary: 删除客户申请
  16290. tags:
  16291. - 风险管理v3
  16292. /Erms3/ModifyUserInfoApply:
  16293. post:
  16294. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  16295. int, "userstate": 2 }'
  16296. parameters:
  16297. - description: 用户信息
  16298. in: body
  16299. name: jsonBody
  16300. required: true
  16301. schema:
  16302. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  16303. produces:
  16304. - application/json
  16305. responses:
  16306. "200":
  16307. description: OK
  16308. schema:
  16309. $ref: '#/definitions/app.Response'
  16310. "500":
  16311. description: Internal Server Error
  16312. schema:
  16313. $ref: '#/definitions/app.Response'
  16314. security:
  16315. - ApiKeyAuth: []
  16316. summary: 修改客户申请
  16317. tags:
  16318. - 风险管理v3
  16319. /Erms3/QueryBusinessInfo:
  16320. get:
  16321. parameters:
  16322. - description: 资金账号ID列表,用逗号分隔
  16323. in: query
  16324. name: accountids
  16325. required: true
  16326. type: string
  16327. - description: 状态,0为未结束 1为已结束
  16328. in: query
  16329. name: status
  16330. required: true
  16331. type: integer
  16332. produces:
  16333. - application/json
  16334. responses:
  16335. "200":
  16336. description: OK
  16337. schema:
  16338. items:
  16339. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  16340. type: array
  16341. "500":
  16342. description: Internal Server Error
  16343. schema:
  16344. $ref: '#/definitions/app.Response'
  16345. security:
  16346. - ApiKeyAuth: []
  16347. summary: 查询业务表单数据
  16348. tags:
  16349. - 风险管理v3
  16350. /Erms3/QueryPendingAuditContract:
  16351. get:
  16352. parameters:
  16353. - description: 资金账号ID列表,逗号隔开
  16354. in: query
  16355. name: accountids
  16356. required: true
  16357. type: string
  16358. - description: 合同类型 1-采购 -1-销售
  16359. in: query
  16360. name: contracttype
  16361. required: true
  16362. type: integer
  16363. - description: 合同模式 1-普通 2-回购
  16364. in: query
  16365. name: contractmode
  16366. required: true
  16367. type: integer
  16368. produces:
  16369. - application/json
  16370. responses:
  16371. "200":
  16372. description: OK
  16373. schema:
  16374. items:
  16375. $ref: '#/definitions/erms3.QryAuditContractRsp'
  16376. type: array
  16377. "500":
  16378. description: Internal Server Error
  16379. schema:
  16380. $ref: '#/definitions/app.Response'
  16381. security:
  16382. - ApiKeyAuth: []
  16383. summary: 查询待审核合同
  16384. tags:
  16385. - 风险管理v3
  16386. /Erms3/QueryPendingBusiness:
  16387. get:
  16388. parameters:
  16389. - description: 资金账号ID列表,逗号隔开
  16390. in: query
  16391. name: accountids
  16392. required: true
  16393. type: string
  16394. produces:
  16395. - application/json
  16396. responses:
  16397. "200":
  16398. description: OK
  16399. schema:
  16400. items:
  16401. $ref: '#/definitions/erms3.QryPendingBizRsp'
  16402. type: array
  16403. "500":
  16404. description: Internal Server Error
  16405. schema:
  16406. $ref: '#/definitions/app.Response'
  16407. security:
  16408. - ApiKeyAuth: []
  16409. summary: 查询待审核基差贸易业务
  16410. tags:
  16411. - 风险管理v3
  16412. /Erms3/QuerySpotContractAppleForm:
  16413. get:
  16414. parameters:
  16415. - description: 登录账号
  16416. in: query
  16417. name: loginID
  16418. required: true
  16419. type: integer
  16420. produces:
  16421. - application/json
  16422. responses:
  16423. "200":
  16424. description: OK
  16425. schema:
  16426. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  16427. "500":
  16428. description: Internal Server Error
  16429. schema:
  16430. $ref: '#/definitions/app.Response'
  16431. security:
  16432. - ApiKeyAuth: []
  16433. summary: 查询合同申请表单数据
  16434. tags:
  16435. - 风险管理v3
  16436. /Erms3/QuerySpotContractDetail:
  16437. get:
  16438. parameters:
  16439. - description: 资金账号ID列表,用逗号分隔
  16440. in: query
  16441. name: accountids
  16442. required: true
  16443. type: string
  16444. - description: 合同类型,1为采购合同 -1为销售合同
  16445. in: query
  16446. name: contracttype
  16447. required: true
  16448. type: integer
  16449. - description: 合同模式,1为普通合同 2为回购销售合同
  16450. in: query
  16451. name: contractmode
  16452. required: true
  16453. type: integer
  16454. - description: 状态,0为履约中 1为已完成
  16455. in: query
  16456. name: status
  16457. required: true
  16458. type: integer
  16459. produces:
  16460. - application/json
  16461. responses:
  16462. "200":
  16463. description: OK
  16464. schema:
  16465. items:
  16466. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  16467. type: array
  16468. "500":
  16469. description: Internal Server Error
  16470. schema:
  16471. $ref: '#/definitions/app.Response'
  16472. security:
  16473. - ApiKeyAuth: []
  16474. summary: 查询合同详细信息
  16475. tags:
  16476. - 风险管理v3
  16477. /Erms3/QueryUserInfoApplies:
  16478. get:
  16479. parameters:
  16480. - description: 页码
  16481. in: query
  16482. name: page
  16483. type: integer
  16484. - description: 每页条数
  16485. in: query
  16486. name: pagesize
  16487. type: integer
  16488. - description: 客户名称,支持模糊查询
  16489. in: query
  16490. name: userName
  16491. type: string
  16492. produces:
  16493. - application/json
  16494. responses:
  16495. "200":
  16496. description: OK
  16497. schema:
  16498. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  16499. "500":
  16500. description: Internal Server Error
  16501. schema:
  16502. $ref: '#/definitions/app.Response'
  16503. security:
  16504. - ApiKeyAuth: []
  16505. summary: 客户申请信息查询
  16506. tags:
  16507. - 风险管理v3
  16508. /Erms3/QueryUserInfos:
  16509. get:
  16510. parameters:
  16511. - description: 页码
  16512. in: query
  16513. name: page
  16514. type: integer
  16515. - description: 每页条数
  16516. in: query
  16517. name: pagesize
  16518. type: integer
  16519. - description: 客户名称,支持模糊查询
  16520. in: query
  16521. name: userName
  16522. type: string
  16523. produces:
  16524. - application/json
  16525. responses:
  16526. "200":
  16527. description: OK
  16528. schema:
  16529. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  16530. "500":
  16531. description: Internal Server Error
  16532. schema:
  16533. $ref: '#/definitions/app.Response'
  16534. security:
  16535. - ApiKeyAuth: []
  16536. summary: 客户信息查询
  16537. tags:
  16538. - 风险管理v3
  16539. /HSBY/GetHsbyMyCount:
  16540. get:
  16541. description: 说明: 不包括已完成的数量。
  16542. parameters:
  16543. - description: 资金账户列表,格式:1,2,3
  16544. in: query
  16545. name: accountIDs
  16546. required: true
  16547. type: string
  16548. produces:
  16549. - application/json
  16550. responses:
  16551. "200":
  16552. description: OK
  16553. schema:
  16554. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  16555. "500":
  16556. description: Internal Server Error
  16557. schema:
  16558. $ref: '#/definitions/app.Response'
  16559. security:
  16560. - ApiKeyAuth: []
  16561. summary: 获取我的订单与包裹数量
  16562. tags:
  16563. - 定制【海商报业】
  16564. /HSBY/QueryClientFixedADConfigs:
  16565. get:
  16566. produces:
  16567. - application/json
  16568. responses:
  16569. "200":
  16570. description: OK
  16571. schema:
  16572. $ref: '#/definitions/models.Clientfixedadconfig'
  16573. "500":
  16574. description: Internal Server Error
  16575. schema:
  16576. $ref: '#/definitions/app.Response'
  16577. security:
  16578. - ApiKeyAuth: []
  16579. summary: 获取终端固定广告配置
  16580. tags:
  16581. - 定制【海商报业】
  16582. /HSBY/QueryHsbyBuyMyTradeDetail:
  16583. get:
  16584. parameters:
  16585. - description: 页码
  16586. in: query
  16587. name: page
  16588. type: integer
  16589. - description: 每页条数
  16590. in: query
  16591. name: pagesize
  16592. type: integer
  16593. - description: 资金账户列表,格式:1,2,3
  16594. in: query
  16595. name: accountIDs
  16596. required: true
  16597. type: string
  16598. produces:
  16599. - application/json
  16600. responses:
  16601. "200":
  16602. description: OK
  16603. schema:
  16604. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  16605. "500":
  16606. description: Internal Server Error
  16607. schema:
  16608. $ref: '#/definitions/app.Response'
  16609. security:
  16610. - ApiKeyAuth: []
  16611. summary: 查询"我的订单 - 已完成"单据信息
  16612. tags:
  16613. - 定制【海商报业】
  16614. /HSBY/QueryHsbyGoodsOrderDetails:
  16615. get:
  16616. description: 说明:查询结果已按委托价格和委托时间排序
  16617. parameters:
  16618. - description: 商品ID
  16619. in: query
  16620. name: goodsID
  16621. required: true
  16622. type: integer
  16623. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  16624. in: query
  16625. name: accountIDs
  16626. type: string
  16627. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  16628. in: query
  16629. name: buyOrSell
  16630. type: integer
  16631. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  16632. in: query
  16633. name: price
  16634. type: number
  16635. - description: 档位,不传则默认为3档
  16636. in: query
  16637. name: speed
  16638. type: integer
  16639. produces:
  16640. - application/json
  16641. responses:
  16642. "200":
  16643. description: OK
  16644. schema:
  16645. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  16646. "500":
  16647. description: Internal Server Error
  16648. schema:
  16649. $ref: '#/definitions/app.Response'
  16650. security:
  16651. - ApiKeyAuth: []
  16652. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  16653. tags:
  16654. - 定制【海商报业】
  16655. /HSBY/QueryHsbyListingGoodsDetail:
  16656. get:
  16657. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  16658. parameters:
  16659. - description: 商品ID
  16660. in: query
  16661. name: goodsID
  16662. required: true
  16663. type: integer
  16664. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  16665. in: query
  16666. name: accountID
  16667. type: integer
  16668. produces:
  16669. - application/json
  16670. responses:
  16671. "200":
  16672. description: OK
  16673. schema:
  16674. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  16675. "500":
  16676. description: Internal Server Error
  16677. schema:
  16678. $ref: '#/definitions/app.Response'
  16679. security:
  16680. - ApiKeyAuth: []
  16681. summary: 查询二级市场(挂牌点选)商品信息详情
  16682. tags:
  16683. - 定制【海商报业】
  16684. /HSBY/QueryHsbyMarketGoodsDetail:
  16685. get:
  16686. parameters:
  16687. - description: 委托单号
  16688. in: query
  16689. name: orderID
  16690. required: true
  16691. type: integer
  16692. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  16693. in: query
  16694. name: accountID
  16695. type: integer
  16696. produces:
  16697. - application/json
  16698. responses:
  16699. "200":
  16700. description: OK
  16701. schema:
  16702. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16703. "500":
  16704. description: Internal Server Error
  16705. schema:
  16706. $ref: '#/definitions/app.Response'
  16707. security:
  16708. - ApiKeyAuth: []
  16709. summary: 查询三级市场(商城)商品信息详情
  16710. tags:
  16711. - 定制【海商报业】
  16712. /HSBY/QueryHsbyMarketGoodses:
  16713. get:
  16714. parameters:
  16715. - description: 页码
  16716. in: query
  16717. name: page
  16718. type: integer
  16719. - description: 每页条数
  16720. in: query
  16721. name: pagesize
  16722. type: integer
  16723. - description: 市场ID列表,格式:1,2,3
  16724. in: query
  16725. name: marketIDs
  16726. required: true
  16727. type: string
  16728. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  16729. in: query
  16730. name: accountID
  16731. required: true
  16732. type: integer
  16733. - description: 类别ID
  16734. in: query
  16735. name: categoryID
  16736. type: integer
  16737. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16738. in: query
  16739. name: goodsIDs
  16740. type: string
  16741. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  16742. in: query
  16743. name: couponTypeID
  16744. type: integer
  16745. produces:
  16746. - application/json
  16747. responses:
  16748. "200":
  16749. description: OK
  16750. schema:
  16751. $ref: '#/definitions/models.HsbyMarketGoods'
  16752. "500":
  16753. description: Internal Server Error
  16754. schema:
  16755. $ref: '#/definitions/app.Response'
  16756. security:
  16757. - ApiKeyAuth: []
  16758. summary: 查询特卖商品列表(三级商城)
  16759. tags:
  16760. - 定制【海商报业】
  16761. /HSBY/QueryHsbyMarkets:
  16762. get:
  16763. produces:
  16764. - application/json
  16765. responses:
  16766. "200":
  16767. description: OK
  16768. schema:
  16769. $ref: '#/definitions/models.HsbyMarketInfo'
  16770. "500":
  16771. description: Internal Server Error
  16772. schema:
  16773. $ref: '#/definitions/app.Response'
  16774. security:
  16775. - ApiKeyAuth: []
  16776. summary: 查询海商报业相关市场信息
  16777. tags:
  16778. - 定制【海商报业】
  16779. /HSBY/QueryHsbyMyBuyOrderDetails:
  16780. get:
  16781. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  16782. parameters:
  16783. - description: 资金账户列表,格式:1,2,3
  16784. in: query
  16785. name: accountIDs
  16786. required: true
  16787. type: string
  16788. produces:
  16789. - application/json
  16790. responses:
  16791. "200":
  16792. description: OK
  16793. schema:
  16794. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  16795. "500":
  16796. description: Internal Server Error
  16797. schema:
  16798. $ref: '#/definitions/app.Response'
  16799. security:
  16800. - ApiKeyAuth: []
  16801. summary: 查询“我的订单”信息
  16802. tags:
  16803. - 定制【海商报业】
  16804. /HSBY/QueryHsbyMyGoods:
  16805. get:
  16806. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  16807. parameters:
  16808. - description: 资金账户列表,格式:1,2,3
  16809. in: query
  16810. name: accountIDs
  16811. required: true
  16812. type: string
  16813. produces:
  16814. - application/json
  16815. responses:
  16816. "200":
  16817. description: OK
  16818. schema:
  16819. $ref: '#/definitions/models.HsbyMyGoods'
  16820. "500":
  16821. description: Internal Server Error
  16822. schema:
  16823. $ref: '#/definitions/app.Response'
  16824. security:
  16825. - ApiKeyAuth: []
  16826. summary: 查询“我的商品”信息
  16827. tags:
  16828. - 定制【海商报业】
  16829. /HSBY/QueryHsbyMyPackages:
  16830. get:
  16831. parameters:
  16832. - description: 资金账户列表,格式:1,2,3
  16833. in: query
  16834. name: accountIDs
  16835. required: true
  16836. type: string
  16837. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16838. in: query
  16839. name: takeOrderStatus
  16840. type: integer
  16841. produces:
  16842. - application/json
  16843. responses:
  16844. "200":
  16845. description: OK
  16846. schema:
  16847. $ref: '#/definitions/models.HsbyMyPackage'
  16848. "500":
  16849. description: Internal Server Error
  16850. schema:
  16851. $ref: '#/definitions/app.Response'
  16852. security:
  16853. - ApiKeyAuth: []
  16854. summary: 查询我的包裹信息
  16855. tags:
  16856. - 定制【海商报业】
  16857. /HSBY/QueryHsbyPreGoodsDetail:
  16858. get:
  16859. parameters:
  16860. - description: 商品ID
  16861. in: query
  16862. name: goodsID
  16863. required: true
  16864. type: integer
  16865. - description: 资金账户,主要用于获取预售商品购买上限
  16866. in: query
  16867. name: accountID
  16868. type: integer
  16869. produces:
  16870. - application/json
  16871. responses:
  16872. "200":
  16873. description: OK
  16874. schema:
  16875. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  16876. "500":
  16877. description: Internal Server Error
  16878. schema:
  16879. $ref: '#/definitions/app.Response'
  16880. security:
  16881. - ApiKeyAuth: []
  16882. summary: 查询一级市场(预售)商品信息详情
  16883. tags:
  16884. - 定制【海商报业】
  16885. /HSBY/QueryHsbyPreGoodses:
  16886. get:
  16887. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  16888. parameters:
  16889. - description: 页码
  16890. in: query
  16891. name: page
  16892. type: integer
  16893. - description: 每页条数
  16894. in: query
  16895. name: pagesize
  16896. type: integer
  16897. - description: 市场ID列表,格式:1,2,3
  16898. in: query
  16899. name: marketIDs
  16900. required: true
  16901. type: string
  16902. - description: 目的地(省)ID
  16903. in: query
  16904. name: descProvinceID
  16905. type: integer
  16906. - description: 目的地(市)ID
  16907. in: query
  16908. name: descCityID
  16909. type: integer
  16910. produces:
  16911. - application/json
  16912. responses:
  16913. "200":
  16914. description: OK
  16915. schema:
  16916. $ref: '#/definitions/models.HsbyPreGoods'
  16917. "500":
  16918. description: Internal Server Error
  16919. schema:
  16920. $ref: '#/definitions/app.Response'
  16921. security:
  16922. - ApiKeyAuth: []
  16923. summary: 查询新品上市商品列表(一级市场预售)
  16924. tags:
  16925. - 定制【海商报业】
  16926. /HSBY/QueryHsbySellMyDetails:
  16927. get:
  16928. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  16929. parameters:
  16930. - description: 页码
  16931. in: query
  16932. name: page
  16933. type: integer
  16934. - description: 每页条数
  16935. in: query
  16936. name: pagesize
  16937. type: integer
  16938. - description: 资金账户列表,格式:1,2,3
  16939. in: query
  16940. name: accountIDs
  16941. required: true
  16942. type: string
  16943. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  16944. in: query
  16945. name: orderType
  16946. type: integer
  16947. produces:
  16948. - application/json
  16949. responses:
  16950. "200":
  16951. description: OK
  16952. schema:
  16953. $ref: '#/definitions/models.HsbySellMyDetail'
  16954. "500":
  16955. description: Internal Server Error
  16956. schema:
  16957. $ref: '#/definitions/app.Response'
  16958. security:
  16959. - ApiKeyAuth: []
  16960. summary: 查询"我的闲置"单据信息
  16961. tags:
  16962. - 定制【海商报业】
  16963. /HSBY/QueryHsbyTopGoodses:
  16964. get:
  16965. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  16966. parameters:
  16967. - description: 页码
  16968. in: query
  16969. name: page
  16970. type: integer
  16971. - description: 每页条数
  16972. in: query
  16973. name: pagesize
  16974. type: integer
  16975. - description: 市场ID列表,格式:1,2,3
  16976. in: query
  16977. name: marketIDs
  16978. required: true
  16979. type: string
  16980. - description: 目的地(省)ID
  16981. in: query
  16982. name: descProvinceID
  16983. type: integer
  16984. - description: 目的地(市)ID
  16985. in: query
  16986. name: descCityID
  16987. type: integer
  16988. produces:
  16989. - application/json
  16990. responses:
  16991. "200":
  16992. description: OK
  16993. schema:
  16994. $ref: '#/definitions/models.HsbyTopGoods'
  16995. "500":
  16996. description: Internal Server Error
  16997. schema:
  16998. $ref: '#/definitions/app.Response'
  16999. security:
  17000. - ApiKeyAuth: []
  17001. summary: 查询热卖商品列表(二级市场挂牌点选)
  17002. tags:
  17003. - 定制【海商报业】
  17004. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  17005. get:
  17006. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  17007. parameters:
  17008. - description: 商品ID
  17009. in: query
  17010. name: goodsID
  17011. required: true
  17012. type: integer
  17013. produces:
  17014. - application/json
  17015. responses:
  17016. "200":
  17017. description: OK
  17018. schema:
  17019. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  17020. "500":
  17021. description: Internal Server Error
  17022. schema:
  17023. $ref: '#/definitions/app.Response'
  17024. security:
  17025. - ApiKeyAuth: []
  17026. summary: 查询游客三级市场(商城)商品信息详情
  17027. tags:
  17028. - 定制【海商报业】
  17029. /HSBY/QueryHsbyVisitorMarketGoodses:
  17030. get:
  17031. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  17032. parameters:
  17033. - description: 页码
  17034. in: query
  17035. name: page
  17036. type: integer
  17037. - description: 每页条数
  17038. in: query
  17039. name: pagesize
  17040. type: integer
  17041. - description: 市场ID列表,格式:1,2,3
  17042. in: query
  17043. name: marketIDs
  17044. required: true
  17045. type: string
  17046. - description: 类别ID
  17047. in: query
  17048. name: categoryID
  17049. type: integer
  17050. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  17051. in: query
  17052. name: goodsIDs
  17053. type: string
  17054. produces:
  17055. - application/json
  17056. responses:
  17057. "200":
  17058. description: OK
  17059. schema:
  17060. $ref: '#/definitions/models.HsbyMarketGoods'
  17061. "500":
  17062. description: Internal Server Error
  17063. schema:
  17064. $ref: '#/definitions/app.Response'
  17065. security:
  17066. - ApiKeyAuth: []
  17067. summary: 查询游客特卖商品列表(三级商城)
  17068. tags:
  17069. - 定制【海商报业】
  17070. /HSBY/QueryMyCollectionOrders:
  17071. get:
  17072. parameters:
  17073. - description: 页码
  17074. in: query
  17075. name: page
  17076. type: integer
  17077. - description: 每页条数
  17078. in: query
  17079. name: pagesize
  17080. type: integer
  17081. - description: 资金账户,格式:1,2,3
  17082. in: query
  17083. name: accountIDs
  17084. required: true
  17085. type: string
  17086. produces:
  17087. - application/json
  17088. responses:
  17089. "200":
  17090. description: OK
  17091. schema:
  17092. $ref: '#/definitions/models.HsbySellCollectionOrder'
  17093. "500":
  17094. description: Internal Server Error
  17095. schema:
  17096. $ref: '#/definitions/app.Response'
  17097. security:
  17098. - ApiKeyAuth: []
  17099. summary: 我的闲置中收款信息查询
  17100. tags:
  17101. - 定制【海商报业】
  17102. /HSBY/QueryMyCouponHolds:
  17103. get:
  17104. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  17105. parameters:
  17106. - description: 资金账户列表,格式:1,2,3
  17107. in: query
  17108. name: accountIDs
  17109. required: true
  17110. type: string
  17111. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  17112. in: query
  17113. name: holdStatus
  17114. type: string
  17115. produces:
  17116. - application/json
  17117. responses:
  17118. "200":
  17119. description: OK
  17120. schema:
  17121. $ref: '#/definitions/models.MyCouponHold'
  17122. "500":
  17123. description: Internal Server Error
  17124. schema:
  17125. $ref: '#/definitions/app.Response'
  17126. security:
  17127. - ApiKeyAuth: []
  17128. summary: 我的优惠卷持仓查询
  17129. tags:
  17130. - 定制【海商报业】
  17131. /HSBY/QueryMyCoupons:
  17132. get:
  17133. parameters:
  17134. - description: 资金账户列表,格式:1,2,3
  17135. in: query
  17136. name: accountIDs
  17137. required: true
  17138. type: string
  17139. - description: 商品ID, 一般与sellUserID配套传入
  17140. in: query
  17141. name: goodsID
  17142. type: integer
  17143. - description: 卖方UserID
  17144. in: query
  17145. name: sellUserID
  17146. type: integer
  17147. produces:
  17148. - application/json
  17149. responses:
  17150. "200":
  17151. description: OK
  17152. schema:
  17153. $ref: '#/definitions/models.MyCoupon'
  17154. "500":
  17155. description: Internal Server Error
  17156. schema:
  17157. $ref: '#/definitions/app.Response'
  17158. security:
  17159. - ApiKeyAuth: []
  17160. summary: 我的优惠卷查询
  17161. tags:
  17162. - 定制【海商报业】
  17163. /HSBY/QueryMyPayOrders:
  17164. get:
  17165. parameters:
  17166. - description: 页码
  17167. in: query
  17168. name: page
  17169. type: integer
  17170. - description: 每页条数
  17171. in: query
  17172. name: pagesize
  17173. type: integer
  17174. - description: 资金账户列表,格式:1,2,3
  17175. in: query
  17176. name: accountIDs
  17177. required: true
  17178. type: string
  17179. - description: 买方委托单号
  17180. in: query
  17181. name: buyOrderID
  17182. type: integer
  17183. - description: 卖方委托单号
  17184. in: query
  17185. name: sellOrderID
  17186. type: integer
  17187. produces:
  17188. - application/json
  17189. responses:
  17190. "200":
  17191. description: OK
  17192. schema:
  17193. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  17194. "500":
  17195. description: Internal Server Error
  17196. schema:
  17197. $ref: '#/definitions/app.Response'
  17198. security:
  17199. - ApiKeyAuth: []
  17200. summary: 获取我的订单中待付款信息
  17201. tags:
  17202. - 定制【海商报业】
  17203. /HSBY/QueryMyUsedCoupon:
  17204. get:
  17205. parameters:
  17206. - description: 资金账户列表,格式:1,2,3
  17207. in: query
  17208. name: accountIDs
  17209. required: true
  17210. type: string
  17211. produces:
  17212. - application/json
  17213. responses:
  17214. "200":
  17215. description: OK
  17216. schema:
  17217. $ref: '#/definitions/models.MyUsedCoupon'
  17218. "500":
  17219. description: Internal Server Error
  17220. schema:
  17221. $ref: '#/definitions/app.Response'
  17222. security:
  17223. - ApiKeyAuth: []
  17224. summary: 已使用优惠卷查询
  17225. tags:
  17226. - 定制【海商报业】
  17227. /HSBY/QueryProvincesAndCities:
  17228. get:
  17229. description: 查询结果只包括二级市场商品已关连的省市信息。
  17230. parameters:
  17231. - description: 省ID
  17232. in: query
  17233. name: provinceID
  17234. type: integer
  17235. produces:
  17236. - application/json
  17237. responses:
  17238. "200":
  17239. description: OK
  17240. schema:
  17241. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  17242. "500":
  17243. description: Internal Server Error
  17244. schema:
  17245. $ref: '#/definitions/app.Response'
  17246. security:
  17247. - ApiKeyAuth: []
  17248. summary: 查询省市信息(不包括区)
  17249. tags:
  17250. - 定制【海商报业】
  17251. /HSBY/SetHsbyMyPackagesStatus:
  17252. post:
  17253. parameters:
  17254. - description: 提货单号
  17255. in: query
  17256. name: takeOrderID
  17257. required: true
  17258. type: string
  17259. - description: 资金账号
  17260. in: query
  17261. name: accountID
  17262. required: true
  17263. type: integer
  17264. produces:
  17265. - application/json
  17266. responses:
  17267. "200":
  17268. description: OK
  17269. schema:
  17270. $ref: '#/definitions/app.Response'
  17271. "500":
  17272. description: Internal Server Error
  17273. schema:
  17274. $ref: '#/definitions/app.Response'
  17275. security:
  17276. - ApiKeyAuth: []
  17277. summary: 设置我的包裹已收货状态
  17278. tags:
  17279. - 定制【海商报业】
  17280. /Market/QueryGoodsesByLoginID:
  17281. get:
  17282. parameters:
  17283. - description: 登录账号
  17284. in: query
  17285. name: loginID
  17286. required: true
  17287. type: integer
  17288. - description: 市场ID列表,格式:1,2,3
  17289. in: query
  17290. name: marketIDs
  17291. type: string
  17292. produces:
  17293. - application/json
  17294. responses:
  17295. "200":
  17296. description: OK
  17297. schema:
  17298. $ref: '#/definitions/models.Goods'
  17299. "500":
  17300. description: Internal Server Error
  17301. schema:
  17302. $ref: '#/definitions/app.Response'
  17303. security:
  17304. - ApiKeyAuth: []
  17305. summary: 获取登录账号有权限的商品信息
  17306. tags:
  17307. - 通用市场
  17308. /Market/QueryMarketRun:
  17309. get:
  17310. parameters:
  17311. - description: 市场ID,不传返回所有
  17312. in: query
  17313. name: marketID
  17314. type: integer
  17315. produces:
  17316. - application/json
  17317. responses:
  17318. "200":
  17319. description: OK
  17320. schema:
  17321. $ref: '#/definitions/models.Marketrun'
  17322. "500":
  17323. description: Internal Server Error
  17324. schema:
  17325. $ref: '#/definitions/app.Response'
  17326. security:
  17327. - ApiKeyAuth: []
  17328. summary: 查询市场运行信息
  17329. tags:
  17330. - 通用市场
  17331. /Market/QueryMarketsByLoginID:
  17332. get:
  17333. parameters:
  17334. - description: 登录账号
  17335. in: query
  17336. name: loginID
  17337. required: true
  17338. type: integer
  17339. produces:
  17340. - application/json
  17341. responses:
  17342. "200":
  17343. description: OK
  17344. schema:
  17345. $ref: '#/definitions/models.Market'
  17346. "500":
  17347. description: Internal Server Error
  17348. schema:
  17349. $ref: '#/definitions/app.Response'
  17350. security:
  17351. - ApiKeyAuth: []
  17352. summary: 获取登录账号有权限的市场信息
  17353. tags:
  17354. - 通用市场
  17355. /Order/QueryHisTradeDetail:
  17356. get:
  17357. parameters:
  17358. - description: 资金账户 - 格式:1,2,3
  17359. in: query
  17360. name: accountID
  17361. required: true
  17362. type: string
  17363. - description: 成交单号
  17364. in: query
  17365. name: tradeID
  17366. type: integer
  17367. - description: 委托单号
  17368. in: query
  17369. name: orderID
  17370. type: integer
  17371. - description: 交易模式 - 格式:1,2,3
  17372. in: query
  17373. name: tradeMode
  17374. type: string
  17375. - description: 委托单据类型
  17376. in: query
  17377. name: buildType
  17378. type: integer
  17379. - description: 成交类别 - 格式:1,2,3
  17380. in: query
  17381. name: tradeType
  17382. type: string
  17383. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17384. in: query
  17385. name: startDate
  17386. type: string
  17387. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17388. in: query
  17389. name: endDate
  17390. type: string
  17391. produces:
  17392. - application/json
  17393. responses:
  17394. "200":
  17395. description: OK
  17396. schema:
  17397. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  17398. "500":
  17399. description: Internal Server Error
  17400. schema:
  17401. $ref: '#/definitions/app.Response'
  17402. security:
  17403. - ApiKeyAuth: []
  17404. summary: 历史成交单查询(合约市场)
  17405. tags:
  17406. - 通用单据
  17407. /Order/QueryHisTradeOrderDetail:
  17408. get:
  17409. parameters:
  17410. - description: 资金账户 - 格式:1,2,3
  17411. in: query
  17412. name: accountID
  17413. required: true
  17414. type: string
  17415. - description: 交易模式 - 格式:1,2,3
  17416. in: query
  17417. name: tradeMode
  17418. type: string
  17419. - description: 委托状态 - 格式:1,2,3
  17420. in: query
  17421. name: orderStatus
  17422. type: string
  17423. - description: 委托单号
  17424. in: query
  17425. name: orderID
  17426. type: integer
  17427. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17428. in: query
  17429. name: startDate
  17430. type: string
  17431. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17432. in: query
  17433. name: endDate
  17434. type: string
  17435. produces:
  17436. - application/json
  17437. responses:
  17438. "200":
  17439. description: OK
  17440. schema:
  17441. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  17442. "500":
  17443. description: Internal Server Error
  17444. schema:
  17445. $ref: '#/definitions/app.Response'
  17446. security:
  17447. - ApiKeyAuth: []
  17448. summary: 历史委托单查询请求(合约市场)
  17449. tags:
  17450. - 通用单据
  17451. /Order/QueryTradeDetail:
  17452. get:
  17453. parameters:
  17454. - description: 资金账户 - 格式:1,2,3
  17455. in: query
  17456. name: accountID
  17457. required: true
  17458. type: string
  17459. - description: 成交单号
  17460. in: query
  17461. name: tradeID
  17462. type: integer
  17463. - description: 委托单号
  17464. in: query
  17465. name: orderID
  17466. type: integer
  17467. - description: 交易模式 - 格式:1,2,3
  17468. in: query
  17469. name: tradeMode
  17470. type: string
  17471. - description: 委托单据类型
  17472. in: query
  17473. name: buildType
  17474. type: integer
  17475. - description: 成交类别 - 格式:1,2,3
  17476. in: query
  17477. name: tradeType
  17478. type: string
  17479. produces:
  17480. - application/json
  17481. responses:
  17482. "200":
  17483. description: OK
  17484. schema:
  17485. $ref: '#/definitions/order.QueryTradeDetailRsp'
  17486. "500":
  17487. description: Internal Server Error
  17488. schema:
  17489. $ref: '#/definitions/app.Response'
  17490. security:
  17491. - ApiKeyAuth: []
  17492. summary: 成交单查询(合约市场)
  17493. tags:
  17494. - 通用单据
  17495. /Order/QueryTradeOrderDetail:
  17496. get:
  17497. parameters:
  17498. - description: 资金账户 - 格式:1,2,3
  17499. in: query
  17500. name: accountID
  17501. required: true
  17502. type: string
  17503. - description: 交易模式 - 格式:1,2,3
  17504. in: query
  17505. name: tradeMode
  17506. type: string
  17507. - description: 委托状态 - 格式:1,2,3
  17508. in: query
  17509. name: orderStatus
  17510. type: string
  17511. - description: 委托单号
  17512. in: query
  17513. name: orderID
  17514. type: integer
  17515. produces:
  17516. - application/json
  17517. responses:
  17518. "200":
  17519. description: OK
  17520. schema:
  17521. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  17522. "500":
  17523. description: Internal Server Error
  17524. schema:
  17525. $ref: '#/definitions/app.Response'
  17526. security:
  17527. - ApiKeyAuth: []
  17528. summary: 委托单查询请求(合约市场)
  17529. tags:
  17530. - 通用单据
  17531. /Order/QueryTradePosition:
  17532. get:
  17533. parameters:
  17534. - description: 资金账户 - 格式:1,2,3
  17535. in: query
  17536. name: accountID
  17537. required: true
  17538. type: string
  17539. - description: 交易模式 - 格式:1,2,3
  17540. in: query
  17541. name: tradeMode
  17542. type: string
  17543. produces:
  17544. - application/json
  17545. responses:
  17546. "200":
  17547. description: OK
  17548. schema:
  17549. $ref: '#/definitions/order.QueryTradePositionRsp'
  17550. "500":
  17551. description: Internal Server Error
  17552. schema:
  17553. $ref: '#/definitions/app.Response'
  17554. security:
  17555. - ApiKeyAuth: []
  17556. summary: 持仓汇总查询(合约市场)
  17557. tags:
  17558. - 通用单据
  17559. /Quote/QueryHistoryDatas:
  17560. get:
  17561. parameters:
  17562. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  17563. 日线'
  17564. in: query
  17565. name: cycleType
  17566. required: true
  17567. type: integer
  17568. - description: 商品代码
  17569. in: query
  17570. name: goodsCode
  17571. required: true
  17572. type: string
  17573. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17574. in: query
  17575. name: startTime
  17576. type: string
  17577. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17578. in: query
  17579. name: endTime
  17580. type: string
  17581. - description: 条数
  17582. in: query
  17583. name: count
  17584. type: integer
  17585. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17586. in: query
  17587. name: isAsc
  17588. type: boolean
  17589. produces:
  17590. - application/json
  17591. responses:
  17592. "200":
  17593. description: OK
  17594. schema:
  17595. $ref: '#/definitions/quote.HistoryData'
  17596. "500":
  17597. description: Internal Server Error
  17598. schema:
  17599. $ref: '#/definitions/app.Response'
  17600. security:
  17601. - ApiKeyAuth: []
  17602. summary: 查询行情历史数据
  17603. tags:
  17604. - 行情服务
  17605. /Quote/QueryHistoryTikDatas:
  17606. get:
  17607. parameters:
  17608. - description: 商品代码
  17609. in: query
  17610. name: goodsCode
  17611. required: true
  17612. type: string
  17613. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17614. in: query
  17615. name: startTime
  17616. type: string
  17617. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17618. in: query
  17619. name: endTime
  17620. type: string
  17621. - description: 条数
  17622. in: query
  17623. name: count
  17624. type: integer
  17625. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17626. in: query
  17627. name: isAsc
  17628. type: boolean
  17629. produces:
  17630. - application/json
  17631. responses:
  17632. "200":
  17633. description: OK
  17634. schema:
  17635. $ref: '#/definitions/quote.HistoryTikData'
  17636. "500":
  17637. description: Internal Server Error
  17638. schema:
  17639. $ref: '#/definitions/app.Response'
  17640. security:
  17641. - ApiKeyAuth: []
  17642. summary: 查询行情Tik数据
  17643. tags:
  17644. - 行情服务
  17645. /Quote/QueryQuoteDay:
  17646. get:
  17647. parameters:
  17648. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  17649. in: query
  17650. name: goodsCodes
  17651. required: true
  17652. type: string
  17653. produces:
  17654. - application/json
  17655. responses:
  17656. "200":
  17657. description: OK
  17658. schema:
  17659. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  17660. "500":
  17661. description: Internal Server Error
  17662. schema:
  17663. $ref: '#/definitions/app.Response'
  17664. security:
  17665. - ApiKeyAuth: []
  17666. summary: 获取商品盘面信息
  17667. tags:
  17668. - 行情服务
  17669. /Quote/QueryTSData:
  17670. get:
  17671. parameters:
  17672. - description: 商品代码
  17673. in: query
  17674. name: goodsCode
  17675. required: true
  17676. type: string
  17677. produces:
  17678. - application/json
  17679. responses:
  17680. "200":
  17681. description: OK
  17682. schema:
  17683. $ref: '#/definitions/quote.QueryTSDataRsp'
  17684. "500":
  17685. description: Internal Server Error
  17686. schema:
  17687. $ref: '#/definitions/app.Response'
  17688. security:
  17689. - ApiKeyAuth: []
  17690. summary: 分时图数据查询
  17691. tags:
  17692. - 行情服务
  17693. /SZDZ/QueryConvertConfig:
  17694. get:
  17695. parameters:
  17696. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  17697. 6:交易转花生米(不设置)
  17698. in: query
  17699. name: convertType
  17700. type: integer
  17701. - description: 外部商品代码[JD\PD]
  17702. in: query
  17703. name: outerGoodsCode
  17704. type: string
  17705. - description: 内部商品ID列表[交易],格式:1,2,3
  17706. in: query
  17707. name: innerGoodsIDs
  17708. type: string
  17709. produces:
  17710. - application/json
  17711. responses:
  17712. "200":
  17713. description: OK
  17714. schema:
  17715. $ref: '#/definitions/models.Szdz3convertconfig'
  17716. "500":
  17717. description: Internal Server Error
  17718. schema:
  17719. $ref: '#/definitions/app.Response'
  17720. security:
  17721. - ApiKeyAuth: []
  17722. summary: 查询交易系统转换设置
  17723. tags:
  17724. - 定制【尚志大宗】
  17725. /SZDZ/QueryConvertLog:
  17726. get:
  17727. parameters:
  17728. - description: 资金账户 - 格式:1,2,3
  17729. in: query
  17730. name: accountID
  17731. required: true
  17732. type: string
  17733. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17734. in: query
  17735. name: startDate
  17736. type: string
  17737. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17738. in: query
  17739. name: endDate
  17740. type: string
  17741. produces:
  17742. - application/json
  17743. responses:
  17744. "200":
  17745. description: OK
  17746. schema:
  17747. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  17748. "500":
  17749. description: Internal Server Error
  17750. schema:
  17751. $ref: '#/definitions/app.Response'
  17752. security:
  17753. - ApiKeyAuth: []
  17754. summary: 交易系统转换流水查询
  17755. tags:
  17756. - 定制【尚志大宗】
  17757. /SZDZ/QueryGoodsPickup:
  17758. get:
  17759. parameters:
  17760. - description: 资金账户 - 格式:1,2,3
  17761. in: query
  17762. name: accountID
  17763. required: true
  17764. type: string
  17765. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17766. in: query
  17767. name: takeOrderStatus
  17768. type: integer
  17769. produces:
  17770. - application/json
  17771. responses:
  17772. "200":
  17773. description: OK
  17774. schema:
  17775. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  17776. "500":
  17777. description: Internal Server Error
  17778. schema:
  17779. $ref: '#/definitions/app.Response'
  17780. security:
  17781. - ApiKeyAuth: []
  17782. summary: 商品提货单查询
  17783. tags:
  17784. - 定制【尚志大宗】
  17785. /SZDZ/QueryRecieptOrder:
  17786. get:
  17787. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17788. parameters:
  17789. - description: 页码
  17790. in: query
  17791. name: page
  17792. type: integer
  17793. - description: 每页条数
  17794. in: query
  17795. name: pagesize
  17796. type: integer
  17797. - description: 商品ID
  17798. in: query
  17799. name: goodsID
  17800. required: true
  17801. type: integer
  17802. - description: 所属账户名称
  17803. in: query
  17804. name: accountName
  17805. type: string
  17806. - description: 市场ID
  17807. in: query
  17808. name: marketID
  17809. type: integer
  17810. - description: 方向 - 0:买 1:卖
  17811. in: query
  17812. name: buyorsell
  17813. required: true
  17814. type: integer
  17815. produces:
  17816. - application/json
  17817. responses:
  17818. "200":
  17819. description: OK
  17820. schema:
  17821. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  17822. "500":
  17823. description: Internal Server Error
  17824. schema:
  17825. $ref: '#/definitions/app.Response'
  17826. security:
  17827. - ApiKeyAuth: []
  17828. summary: 点选挂牌委托单据查询(摘牌大厅)
  17829. tags:
  17830. - 定制【尚志大宗】
  17831. /SZDZ/QuerySZDZTradePosition:
  17832. get:
  17833. parameters:
  17834. - description: 资金账户
  17835. in: query
  17836. name: accountID
  17837. required: true
  17838. type: integer
  17839. produces:
  17840. - application/json
  17841. responses:
  17842. "200":
  17843. description: OK
  17844. schema:
  17845. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  17846. "500":
  17847. description: Internal Server Error
  17848. schema:
  17849. $ref: '#/definitions/app.Response'
  17850. security:
  17851. - ApiKeyAuth: []
  17852. summary: 持仓汇总查询(尚志大宗)
  17853. tags:
  17854. - 定制【尚志大宗】
  17855. /SZDZ/SearchWhite:
  17856. get:
  17857. parameters:
  17858. - description: 用户ID
  17859. in: query
  17860. name: userID
  17861. required: true
  17862. type: integer
  17863. produces:
  17864. - application/json
  17865. responses:
  17866. "200":
  17867. description: OK
  17868. schema:
  17869. $ref: '#/definitions/models.Szdz3searchwhitelist'
  17870. "500":
  17871. description: Internal Server Error
  17872. schema:
  17873. $ref: '#/definitions/app.Response'
  17874. security:
  17875. - ApiKeyAuth: []
  17876. summary: 搜索白名单
  17877. tags:
  17878. - 定制【尚志大宗】
  17879. /Search/SearchGoodses:
  17880. get:
  17881. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  17882. parameters:
  17883. - description: 检索内容
  17884. in: query
  17885. name: content
  17886. required: true
  17887. type: string
  17888. - description: 交易模式,格式:1,2,3
  17889. in: query
  17890. name: tradeModes
  17891. type: string
  17892. produces:
  17893. - application/json
  17894. responses:
  17895. "200":
  17896. description: OK
  17897. schema:
  17898. $ref: '#/definitions/models.SearchGoods'
  17899. "500":
  17900. description: Internal Server Error
  17901. schema:
  17902. $ref: '#/definitions/app.Response'
  17903. summary: 检索商品信息
  17904. tags:
  17905. - 检索服务
  17906. /TaAccount/GetTaAccounts:
  17907. get:
  17908. parameters:
  17909. - description: 登录账户
  17910. in: query
  17911. name: loginID
  17912. required: true
  17913. type: integer
  17914. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17915. in: query
  17916. name: taAccountType
  17917. type: integer
  17918. produces:
  17919. - application/json
  17920. responses:
  17921. "200":
  17922. description: OK
  17923. schema:
  17924. $ref: '#/definitions/models.Taaccount'
  17925. "500":
  17926. description: Internal Server Error
  17927. schema:
  17928. $ref: '#/definitions/app.Response'
  17929. security:
  17930. - ApiKeyAuth: []
  17931. summary: 获取资金账户信息
  17932. tags:
  17933. - 资金账户
  17934. /TaAccount/QueryAmountLog:
  17935. get:
  17936. parameters:
  17937. - description: 页码
  17938. in: query
  17939. name: page
  17940. type: integer
  17941. - description: 每页条数
  17942. in: query
  17943. name: pagesize
  17944. type: integer
  17945. - description: 资金账户 - 格式:1,2,3
  17946. in: query
  17947. name: accountID
  17948. required: true
  17949. type: string
  17950. - description: 资金操作类型 - 格式:1,2,3
  17951. in: query
  17952. name: OperateType
  17953. type: string
  17954. produces:
  17955. - application/json
  17956. responses:
  17957. "200":
  17958. description: OK
  17959. schema:
  17960. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  17961. "500":
  17962. description: Internal Server Error
  17963. schema:
  17964. $ref: '#/definitions/app.Response'
  17965. security:
  17966. - ApiKeyAuth: []
  17967. summary: 资金流水查询(当前)
  17968. tags:
  17969. - 资金账户
  17970. /TaAccount/QueryHisAmountLog:
  17971. get:
  17972. parameters:
  17973. - description: 页码
  17974. in: query
  17975. name: page
  17976. type: integer
  17977. - description: 每页条数
  17978. in: query
  17979. name: pagesize
  17980. type: integer
  17981. - description: 资金账户 - 格式:1,2,3
  17982. in: query
  17983. name: accountID
  17984. required: true
  17985. type: string
  17986. - description: 资金操作类型 - 格式:1,2,3
  17987. in: query
  17988. name: OperateType
  17989. type: string
  17990. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17991. in: query
  17992. name: startDate
  17993. type: string
  17994. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17995. in: query
  17996. name: endDate
  17997. type: string
  17998. produces:
  17999. - application/json
  18000. responses:
  18001. "200":
  18002. description: OK
  18003. schema:
  18004. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  18005. "500":
  18006. description: Internal Server Error
  18007. schema:
  18008. $ref: '#/definitions/app.Response'
  18009. security:
  18010. - ApiKeyAuth: []
  18011. summary: 资金流水查询(历史)
  18012. tags:
  18013. - 资金账户
  18014. /Trade/QueryRecieptOrder:
  18015. get:
  18016. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  18017. parameters:
  18018. - description: 页码
  18019. in: query
  18020. name: page
  18021. type: integer
  18022. - description: 每页条数
  18023. in: query
  18024. name: pagesize
  18025. type: integer
  18026. - description: 商品ID
  18027. in: query
  18028. name: goodsID
  18029. required: true
  18030. type: integer
  18031. - description: 所属账户名称
  18032. in: query
  18033. name: accountName
  18034. type: string
  18035. - description: 市场ID
  18036. in: query
  18037. name: marketID
  18038. type: integer
  18039. - description: 方向 - 0:买 1:卖
  18040. in: query
  18041. name: buyorsell
  18042. required: true
  18043. type: integer
  18044. produces:
  18045. - application/json
  18046. responses:
  18047. "200":
  18048. description: OK
  18049. schema:
  18050. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  18051. "500":
  18052. description: Internal Server Error
  18053. schema:
  18054. $ref: '#/definitions/app.Response'
  18055. security:
  18056. - ApiKeyAuth: []
  18057. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  18058. tags:
  18059. - 通用交易
  18060. /User/AddMessageBoard:
  18061. post:
  18062. parameters:
  18063. - description: 用户ID
  18064. in: query
  18065. name: userID
  18066. required: true
  18067. type: integer
  18068. - description: 留言信息
  18069. in: query
  18070. name: message
  18071. required: true
  18072. type: string
  18073. - description: 联系电话
  18074. in: query
  18075. name: contactNum
  18076. required: true
  18077. type: string
  18078. produces:
  18079. - application/json
  18080. responses:
  18081. "200":
  18082. description: OK
  18083. schema:
  18084. $ref: '#/definitions/app.Response'
  18085. "500":
  18086. description: Internal Server Error
  18087. schema:
  18088. $ref: '#/definitions/app.Response'
  18089. security:
  18090. - ApiKeyAuth: []
  18091. summary: 添加用户留言板信息
  18092. tags:
  18093. - 用户信息
  18094. /User/AddUserFavoriteGoods:
  18095. post:
  18096. parameters:
  18097. - description: 用户ID
  18098. in: query
  18099. name: userID
  18100. required: true
  18101. type: integer
  18102. - description: 商品ID
  18103. in: query
  18104. name: goodsID
  18105. required: true
  18106. type: integer
  18107. produces:
  18108. - application/json
  18109. responses:
  18110. "200":
  18111. description: OK
  18112. schema:
  18113. $ref: '#/definitions/app.Response'
  18114. "500":
  18115. description: Internal Server Error
  18116. schema:
  18117. $ref: '#/definitions/app.Response'
  18118. security:
  18119. - ApiKeyAuth: []
  18120. summary: 添加用户商品收藏信息
  18121. tags:
  18122. - 用户信息
  18123. /User/GetLoginID:
  18124. get:
  18125. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  18126. parameters:
  18127. - description: 登录代码
  18128. in: query
  18129. name: username
  18130. required: true
  18131. type: string
  18132. produces:
  18133. - application/json
  18134. responses:
  18135. "200":
  18136. description: OK
  18137. schema:
  18138. $ref: '#/definitions/app.Response'
  18139. "500":
  18140. description: Internal Server Error
  18141. schema:
  18142. $ref: '#/definitions/app.Response'
  18143. summary: 获取登录ID
  18144. tags:
  18145. - 用户信息
  18146. /User/GetUserAccount:
  18147. get:
  18148. parameters:
  18149. - description: 用户ID
  18150. in: query
  18151. name: userID
  18152. required: true
  18153. type: integer
  18154. produces:
  18155. - application/json
  18156. responses:
  18157. "200":
  18158. description: OK
  18159. schema:
  18160. $ref: '#/definitions/models.Useraccount'
  18161. "500":
  18162. description: Internal Server Error
  18163. schema:
  18164. $ref: '#/definitions/app.Response'
  18165. security:
  18166. - ApiKeyAuth: []
  18167. summary: 获取用户账号信息
  18168. tags:
  18169. - 用户信息
  18170. /User/GetUserAuthStatus:
  18171. get:
  18172. parameters:
  18173. - description: 用户ID
  18174. in: query
  18175. name: userID
  18176. required: true
  18177. type: integer
  18178. produces:
  18179. - application/json
  18180. responses:
  18181. "200":
  18182. description: OK
  18183. schema:
  18184. $ref: '#/definitions/app.Response'
  18185. "500":
  18186. description: Internal Server Error
  18187. schema:
  18188. $ref: '#/definitions/app.Response'
  18189. security:
  18190. - ApiKeyAuth: []
  18191. summary: 获取用户实名认证状态
  18192. tags:
  18193. - 用户信息
  18194. /User/LoginQuery:
  18195. get:
  18196. parameters:
  18197. - description: 登录账号
  18198. in: query
  18199. name: loginID
  18200. required: true
  18201. type: integer
  18202. produces:
  18203. - application/json
  18204. responses:
  18205. "200":
  18206. description: OK
  18207. schema:
  18208. $ref: '#/definitions/user.LoginQueryRsp'
  18209. "500":
  18210. description: Internal Server Error
  18211. schema:
  18212. $ref: '#/definitions/app.Response'
  18213. security:
  18214. - ApiKeyAuth: []
  18215. summary: 账户登录后信息查询
  18216. tags:
  18217. - 用户信息
  18218. /User/QueryMessageBoard:
  18219. get:
  18220. parameters:
  18221. - description: 用户ID
  18222. in: query
  18223. name: userID
  18224. required: true
  18225. type: integer
  18226. produces:
  18227. - application/json
  18228. responses:
  18229. "200":
  18230. description: OK
  18231. schema:
  18232. $ref: '#/definitions/models.Messageboard'
  18233. "500":
  18234. description: Internal Server Error
  18235. schema:
  18236. $ref: '#/definitions/app.Response'
  18237. security:
  18238. - ApiKeyAuth: []
  18239. summary: 获取用户留言板信息
  18240. tags:
  18241. - 用户信息
  18242. /User/QueryUserFavoriteGoodses:
  18243. get:
  18244. parameters:
  18245. - description: 用户ID
  18246. in: query
  18247. name: userID
  18248. required: true
  18249. type: integer
  18250. produces:
  18251. - application/json
  18252. responses:
  18253. "200":
  18254. description: OK
  18255. schema:
  18256. $ref: '#/definitions/models.Userfavoritegoods'
  18257. "500":
  18258. description: Internal Server Error
  18259. schema:
  18260. $ref: '#/definitions/app.Response'
  18261. security:
  18262. - ApiKeyAuth: []
  18263. summary: 获取用户商品收藏信息
  18264. tags:
  18265. - 用户信息
  18266. /User/QueryUserInfo:
  18267. get:
  18268. parameters:
  18269. - description: 用户ID
  18270. in: query
  18271. name: userID
  18272. required: true
  18273. type: integer
  18274. - description: 是否解密
  18275. in: query
  18276. name: isDecrypt
  18277. type: boolean
  18278. produces:
  18279. - application/json
  18280. responses:
  18281. "200":
  18282. description: OK
  18283. schema:
  18284. $ref: '#/definitions/models.Userinfo'
  18285. "500":
  18286. description: Internal Server Error
  18287. schema:
  18288. $ref: '#/definitions/app.Response'
  18289. security:
  18290. - ApiKeyAuth: []
  18291. summary: 获取用户信息
  18292. tags:
  18293. - 用户信息
  18294. /User/QueryUserReferNum:
  18295. get:
  18296. parameters:
  18297. - description: 用户ID
  18298. in: query
  18299. name: userID
  18300. required: true
  18301. type: integer
  18302. produces:
  18303. - application/json
  18304. responses:
  18305. "200":
  18306. description: OK
  18307. schema:
  18308. $ref: '#/definitions/app.Response'
  18309. "500":
  18310. description: Internal Server Error
  18311. schema:
  18312. $ref: '#/definitions/app.Response'
  18313. summary: 获取用户邀请码
  18314. tags:
  18315. - 用户信息
  18316. /User/RemoveUserFavoriteGoods:
  18317. post:
  18318. parameters:
  18319. - description: 用户ID
  18320. in: query
  18321. name: userID
  18322. required: true
  18323. type: integer
  18324. - description: 商品ID
  18325. in: query
  18326. name: goodsID
  18327. required: true
  18328. type: integer
  18329. produces:
  18330. - application/json
  18331. responses:
  18332. "200":
  18333. description: OK
  18334. schema:
  18335. $ref: '#/definitions/app.Response'
  18336. "500":
  18337. description: Internal Server Error
  18338. schema:
  18339. $ref: '#/definitions/app.Response'
  18340. security:
  18341. - ApiKeyAuth: []
  18342. summary: 移除用户商品收藏信息
  18343. tags:
  18344. - 用户信息
  18345. /User/UpdateUserAccountStatus:
  18346. post:
  18347. parameters:
  18348. - description: 用户ID
  18349. in: query
  18350. name: userID
  18351. required: true
  18352. type: integer
  18353. - description: 账户状态 - 4:正常 6:注销(停用)
  18354. in: query
  18355. name: accountStatus
  18356. required: true
  18357. type: integer
  18358. produces:
  18359. - application/json
  18360. responses:
  18361. "200":
  18362. description: OK
  18363. schema:
  18364. $ref: '#/definitions/app.Response'
  18365. "500":
  18366. description: Internal Server Error
  18367. schema:
  18368. $ref: '#/definitions/app.Response'
  18369. security:
  18370. - ApiKeyAuth: []
  18371. summary: 更新用户状态
  18372. tags:
  18373. - 用户信息
  18374. /WRTrade/GetAllDeliveryGoods:
  18375. get:
  18376. produces:
  18377. - application/json
  18378. - application/json
  18379. responses:
  18380. "200":
  18381. description: OK
  18382. schema:
  18383. $ref: '#/definitions/app.Response'
  18384. "500":
  18385. description: Internal Server Error
  18386. schema:
  18387. $ref: '#/definitions/app.Response'
  18388. security:
  18389. - ApiKeyAuth: []
  18390. - ApiKeyAuth: []
  18391. summary: 获取带仓单分类的种类信息
  18392. tags:
  18393. - 仓单贸易
  18394. - 仓单贸易
  18395. securityDefinitions:
  18396. ApiKeyAuth:
  18397. in: header
  18398. name: Authorization
  18399. type: apiKey
  18400. swagger: "2.0"