swagger.yaml 497 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. common.QueryTableDefineRsp:
  168. properties:
  169. columns:
  170. description: 列头信息数组
  171. items:
  172. $ref: '#/definitions/models.Tablecolumnconfig'
  173. type: array
  174. remark:
  175. description: Remark
  176. type: string
  177. tabelmenu:
  178. description: 列表菜单
  179. type: string
  180. tablekey:
  181. description: 列表Key
  182. type: string
  183. tablename:
  184. description: 列表名称
  185. type: string
  186. tabletype:
  187. description: 列表类型 - 1:管理端 2:终端
  188. type: integer
  189. required:
  190. - tablekey
  191. type: object
  192. common.QueryTraderMenuRsp:
  193. properties:
  194. OperationMenu:
  195. description: 功能菜单
  196. items:
  197. $ref: '#/definitions/models.OperationPrimaryMenu'
  198. type: array
  199. QuoteMenu:
  200. description: 报价牌分类菜单
  201. items:
  202. $ref: '#/definitions/models.QuotePrimaryMenu'
  203. type: array
  204. type: object
  205. cptrade.Cptradepositioncancel:
  206. properties:
  207. accountid:
  208. description: 申请人账户ID
  209. type: integer
  210. applystatus:
  211. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  212. type: integer
  213. applytime:
  214. description: 申请时间
  215. type: string
  216. cancelid:
  217. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  218. type: integer
  219. cancelqty:
  220. description: 注销数量
  221. type: integer
  222. createtime:
  223. description: 创建时间
  224. type: string
  225. creatorid:
  226. description: 创建人ID
  227. type: integer
  228. creatorname:
  229. description: 创建人
  230. type: string
  231. goodscode:
  232. description: 订单商品代码
  233. type: string
  234. goodsid:
  235. description: 商品ID
  236. type: integer
  237. goodsname:
  238. description: 订单商品名称
  239. type: string
  240. goodunit:
  241. description: 报价单位
  242. type: string
  243. handlestatus:
  244. description: 处理状态
  245. type: integer
  246. marketid:
  247. description: 市场ID
  248. type: integer
  249. marketname:
  250. description: 市场名称
  251. type: string
  252. tradedate:
  253. description: 交易日(yyyyMMdd)
  254. type: string
  255. userid:
  256. description: 申请人ID
  257. type: integer
  258. required:
  259. - cancelid
  260. type: object
  261. cptrade.Cptradepresaleapply:
  262. properties:
  263. accountid:
  264. description: 申请人账户ID
  265. type: integer
  266. applyid:
  267. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  268. type: integer
  269. applyremark:
  270. description: 申请备注
  271. type: string
  272. applystatus:
  273. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  274. type: integer
  275. applytime:
  276. description: 申请时间
  277. type: string
  278. attachmenturl:
  279. description: 附件地址
  280. type: string
  281. endtime:
  282. description: 预售结束时间
  283. type: string
  284. goodscode:
  285. description: 商品代码
  286. type: string
  287. goodsid:
  288. description: 商品ID
  289. type: integer
  290. goodsname:
  291. description: 商品名称
  292. type: string
  293. goodunit:
  294. description: 报价单位
  295. type: string
  296. handlestatus:
  297. description: 处理状态
  298. type: integer
  299. marketid:
  300. description: 预售市场ID
  301. type: integer
  302. marketname:
  303. description: 预售市场名称
  304. type: string
  305. presaleqty:
  306. description: 预售数量
  307. type: integer
  308. relatedgoodscode:
  309. description: 关联交易合约代码
  310. type: string
  311. relatedgoodsid:
  312. description: 关联交易合约ID
  313. type: integer
  314. relatedgoodsname:
  315. description: 关联交易合约名称
  316. type: string
  317. starttime:
  318. description: 预售开始时间
  319. type: string
  320. tradedate:
  321. description: 交易日(yyyyMMdd)
  322. type: string
  323. trademode:
  324. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  325. type: integer
  326. userid:
  327. description: 申请人ID
  328. type: integer
  329. required:
  330. - applyid
  331. type: object
  332. cptrade.Cptradeusergoodsdata:
  333. properties:
  334. EnabledQty:
  335. description: 可用量
  336. type: integer
  337. GoodsCode:
  338. description: 订单商品代码
  339. type: string
  340. GoodsName:
  341. description: 订单商品名称
  342. type: string
  343. WRStandardCode:
  344. description: 仓单标准代码
  345. type: string
  346. WRStandardName:
  347. description: 仓单标准名称
  348. type: string
  349. accountid:
  350. description: 账户ID
  351. type: integer
  352. cancelqty:
  353. description: 注销量
  354. type: integer
  355. curpresaleqty:
  356. description: 当前预售量
  357. type: integer
  358. deliveryqty:
  359. description: 交割量
  360. type: integer
  361. freezeamount:
  362. description: 冻结金额
  363. type: number
  364. goodsid:
  365. description: 商品ID
  366. type: integer
  367. goodunit:
  368. description: 报价单位
  369. type: string
  370. hasspotfreeze:
  371. description: 是否有现货冻结 - 0:否 1:有
  372. type: integer
  373. inqty:
  374. description: 转入量(总数量)
  375. type: integer
  376. marketid:
  377. description: 市场ID
  378. type: integer
  379. presaledamount:
  380. description: 已预售总金额
  381. type: integer
  382. presaledqty:
  383. description: 已预售量
  384. type: integer
  385. userid:
  386. description: 用户ID
  387. type: integer
  388. wrstandardid:
  389. description: 仓单标准ID
  390. type: integer
  391. required:
  392. - accountid
  393. - goodsid
  394. type: object
  395. cptrade.QueryCPTradeMyBidRsp:
  396. properties:
  397. accountid:
  398. description: 账户ID[报价币种]
  399. type: integer
  400. goodsid:
  401. description: 商品ID
  402. type: integer
  403. goodunit:
  404. description: 报价单位
  405. type: string
  406. marketid:
  407. description: 市场ID
  408. type: integer
  409. orderid:
  410. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  411. type: integer
  412. orderprice:
  413. description: 委托价格
  414. type: number
  415. orderqty:
  416. description: 委托数量
  417. type: integer
  418. ordertime:
  419. description: 委托时间
  420. type: string
  421. ordertotalprice:
  422. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  423. type: number
  424. ordertotalweight:
  425. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  426. type: integer
  427. totaltotalprice:
  428. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  429. type: number
  430. tradeprice:
  431. description: 成交价格
  432. type: number
  433. tradeqty:
  434. description: 成交数量
  435. type: integer
  436. required:
  437. - accountid
  438. - goodsid
  439. - marketid
  440. - orderid
  441. - orderqty
  442. - ordertime
  443. - tradeprice
  444. - tradeqty
  445. type: object
  446. cptrade.QueryCPTradeOrderDetailRsq:
  447. properties:
  448. accountid:
  449. description: 账户ID[报价币种]
  450. type: integer
  451. buildtype:
  452. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  453. type: integer
  454. buyorsell:
  455. description: 买卖 - 0:买 1:卖
  456. type: integer
  457. cancelorderid:
  458. description: 撤单单号(撤单时填写)
  459. type: integer
  460. cancelqty:
  461. description: 撤单数量
  462. type: integer
  463. clientordertime:
  464. description: 客户端委托时间
  465. type: string
  466. clientticket:
  467. description: 客户端流水号
  468. type: string
  469. clienttype:
  470. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  471. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  472. type: integer
  473. closeexchagechargevalue:
  474. description: 平仓交易所手续费设置值
  475. type: number
  476. closefeealgorithm:
  477. description: 平仓手续费收取方式 1:比率 2:固定
  478. type: integer
  479. closefreezecharge:
  480. description: 平仓冻结手续费(先建后平操作,需要记录)
  481. type: number
  482. closememberchargevalue:
  483. description: 平仓会员手续费设置值
  484. type: number
  485. closeqty:
  486. description: 平仓数量(先建后平操作 需要记录)
  487. type: integer
  488. closetradeqty:
  489. description: 平仓成交数量(先建后平操作,需要记录)
  490. type: integer
  491. closeunfreezecharge:
  492. description: 平仓解冻手续费(先建后平操作,需要记录)
  493. type: number
  494. delistingtype:
  495. description: 摘牌类型 - 1:价格最优 2:点选成交
  496. type: integer
  497. freezecharge:
  498. description: 冻结手续费
  499. type: number
  500. freezemargin:
  501. description: 冻结保证金(冻结交易金额)
  502. type: number
  503. gcaccountid:
  504. description: 账户ID[合约币种]
  505. type: integer
  506. goodsid:
  507. description: 商品ID
  508. type: integer
  509. isconfirmexercise:
  510. description: 是否确认行权- 0:否 1:是
  511. type: integer
  512. ispreexercise:
  513. description: 是否预申报- 0:否 1:是
  514. type: integer
  515. listingselecttype:
  516. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  517. type: integer
  518. marginalgorithm:
  519. description: 保证金收取方式 1:比率 2:固定
  520. type: integer
  521. marginvalue:
  522. description: 即市保证金设置值
  523. type: number
  524. marketid:
  525. description: 市场ID
  526. type: integer
  527. marketmaxsub:
  528. description: 市价最大偏移范围
  529. type: number
  530. memberuserid:
  531. description: 所属会员UserID
  532. type: integer
  533. openexchagechargevalue:
  534. description: 建仓交易所手续费设置值
  535. type: number
  536. openfeealgorithm:
  537. description: 建仓手续费收取方式 1:比率 2:固定
  538. type: integer
  539. openfreezecharge:
  540. description: 开仓冻结手续费(先建后平操作,需要记录)
  541. type: number
  542. openmemberchargevalue:
  543. description: 建仓会员手续费设置值
  544. type: number
  545. openqty:
  546. description: 开仓数量(先建后平操作,需要记录)
  547. type: integer
  548. opentradeqty:
  549. description: 开仓成交数量(先建后平操作,需要记录)
  550. type: integer
  551. openunfreezecharge:
  552. description: 开仓解冻手续费(先建后平操作,需要记录)
  553. type: number
  554. operatetype:
  555. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  556. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  557. 15:管理端协议转让
  558. type: integer
  559. operatorid:
  560. description: 登录账号(LoginID)
  561. type: integer
  562. optiontype:
  563. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  564. type: integer
  565. orderprice:
  566. description: 委托价格
  567. type: number
  568. orderqty:
  569. description: 委托数量
  570. type: integer
  571. ordersrc:
  572. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  573. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  574. type: integer
  575. orderstatus:
  576. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  577. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  578. 16:成交失败违约(荷兰式竞拍专用)
  579. type: integer
  580. ordertime:
  581. description: 委托时间
  582. type: string
  583. preexerciseprice:
  584. description: 预申报价格
  585. type: number
  586. premium:
  587. description: 权利金
  588. type: number
  589. preorderid:
  590. description: 关联预埋单号(止盈止损单时填写)
  591. type: integer
  592. pricemode:
  593. description: '取价方式 - 1:市价 2: 限价'
  594. type: integer
  595. quoteid:
  596. description: 报价单ID
  597. type: integer
  598. relatedid:
  599. description: 关联单号(交割单)
  600. type: integer
  601. retcode:
  602. description: 错误代码
  603. type: integer
  604. sessionid:
  605. description: 会话ID
  606. type: integer
  607. strorderid:
  608. description: 委托单号
  609. type: string
  610. tradedate:
  611. description: 交易日(yyyyMMdd)
  612. type: string
  613. tradeproperty:
  614. description: 交易属性
  615. type: integer
  616. tradeqty:
  617. description: 成交数量
  618. type: integer
  619. unfreezecharge:
  620. description: 解冻手续费
  621. type: number
  622. unfreezemargin:
  623. description: 解冻保证金
  624. type: number
  625. updatetime:
  626. description: 更新时间
  627. type: string
  628. uuid:
  629. description: 发起端唯一id
  630. type: string
  631. validtime:
  632. description: 有效期限
  633. type: string
  634. validtype:
  635. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  636. type: integer
  637. volumetype:
  638. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  639. type: integer
  640. required:
  641. - accountid
  642. - buildtype
  643. - buyorsell
  644. - goodsid
  645. - marketid
  646. - memberuserid
  647. - operatetype
  648. - orderqty
  649. - ordertime
  650. - pricemode
  651. - strorderid
  652. - tradedate
  653. - validtype
  654. type: object
  655. cptrade.QueryMyCPTradeGoodsRsp:
  656. properties:
  657. accountid:
  658. description: 卖方账户ID
  659. type: integer
  660. agreeunit:
  661. description: 合约单位
  662. type: number
  663. applyid:
  664. description: 关联申请ID
  665. type: integer
  666. attachmenturl:
  667. description: 附件地址
  668. type: string
  669. createtime:
  670. description: 创建时间
  671. type: string
  672. currencyid:
  673. description: 报价货币ID
  674. type: integer
  675. decimalplace:
  676. description: 报价小数位
  677. type: integer
  678. endtime:
  679. description: 预售结束时间
  680. type: string
  681. floorprice:
  682. description: 底价[大宗式竞拍]
  683. type: number
  684. goodscode:
  685. description: 商品代码(预售)
  686. type: string
  687. goodsdetail:
  688. description: 详情[大宗]
  689. type: string
  690. goodsid:
  691. description: 商品ID(自增ID SEQ_GOODS)
  692. type: integer
  693. goodsname:
  694. description: 商品名称(预售)
  695. type: string
  696. goodunit:
  697. description: 报价单位
  698. type: string
  699. goodunitid:
  700. description: 报价单位ID
  701. type: integer
  702. marketid:
  703. description: 所属市场ID
  704. type: integer
  705. marketname:
  706. description: 预售市场名称
  707. type: string
  708. presaledamount:
  709. description: 已预售总金额(预售结束时更新)
  710. type: number
  711. presaledqty:
  712. description: 已预售量(预售结束时更新)
  713. type: integer
  714. presalemode:
  715. description: 预售模式 - 1:一口价 2:大宗式竞拍
  716. type: integer
  717. presaleqty:
  718. description: 预售数量
  719. type: integer
  720. refprice:
  721. description: 参考价格[一口价]
  722. type: number
  723. relatedgoodscode:
  724. description: 商品代码(订单)
  725. type: string
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedgoodsname:
  730. description: 商品名称(订单)
  731. type: string
  732. relatedmarketid:
  733. description: 关联交易合约市场ID
  734. type: integer
  735. sellstatus:
  736. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  737. type: integer
  738. startprice:
  739. description: 起拍价[大宗式竞拍]
  740. type: number
  741. starttime:
  742. description: 预售开始时间
  743. type: string
  744. tradedate:
  745. description: 交易日(yyyyMMdd)
  746. type: string
  747. tradeprice:
  748. description: 成交价[大宗]
  749. type: number
  750. userid:
  751. description: 卖方用户ID
  752. type: integer
  753. required:
  754. - goodscode
  755. - goodsid
  756. - goodsname
  757. - marketid
  758. - relatedgoodscode
  759. - relatedgoodsname
  760. type: object
  761. cptrade.QueryPresaleGoodsExRsp:
  762. properties:
  763. attachmenturl:
  764. description: 附件地址
  765. type: string
  766. createtime:
  767. description: 创建时间
  768. type: string
  769. endtime:
  770. description: 预售结束时间
  771. type: string
  772. floorprice:
  773. description: 底价[大宗式竞拍]
  774. type: number
  775. goodsdetail:
  776. description: 详情[大宗]
  777. type: string
  778. goodsid:
  779. description: 商品ID(预售)
  780. type: integer
  781. goodunit:
  782. description: 报价单位
  783. type: string
  784. marketid:
  785. description: 预售市场ID - 根据预售模式选择市场
  786. type: integer
  787. presaledamount:
  788. description: 已预售总金额(预售结束时更新)
  789. type: number
  790. presaledqty:
  791. description: 已预售量(预售结束时更新)
  792. type: integer
  793. presalemode:
  794. description: 预售模式 - 1:一口价 2:大宗式竞拍
  795. type: integer
  796. presaleqty:
  797. description: 预售数量
  798. type: integer
  799. refprice:
  800. description: 参考价格[一口价]
  801. type: number
  802. relatedgoodsid:
  803. description: 关联交易合约ID
  804. type: integer
  805. relatedmarketid:
  806. description: 关联交易合约市场ID
  807. type: integer
  808. sellstatus:
  809. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  810. type: integer
  811. startprice:
  812. description: 起拍价[大宗式竞拍]
  813. type: number
  814. starttime:
  815. description: 预售开始时间
  816. type: string
  817. tradedate:
  818. description: 交易日(yyyyMMdd)
  819. type: string
  820. tradeprice:
  821. description: 成交价[大宗]
  822. type: number
  823. required:
  824. - goodsid
  825. type: object
  826. delivery.QueryDeliveryRelationRsp:
  827. properties:
  828. begindate:
  829. description: 起始日期(yyyyMMdd)
  830. type: string
  831. buytemplateid:
  832. description: 买履约计划模板ID
  833. type: integer
  834. deliverygoodscode:
  835. description: 品种代码
  836. type: string
  837. deliverygoodsid:
  838. description: 交割商品
  839. type: integer
  840. deliverygoodsname:
  841. description: 品种名称
  842. type: string
  843. deliverymode:
  844. description: 交割方式 - 1:点选式 2:申报式
  845. type: integer
  846. deliverypricerule:
  847. description: 交割价规则- 1:行情价 2:建仓价
  848. type: integer
  849. deliverytype:
  850. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  851. type: integer
  852. enddate:
  853. description: 结束日期(yyyyMMdd)
  854. type: string
  855. goodscode:
  856. description: 商品代码
  857. type: string
  858. goodsid:
  859. description: 交易合约ID
  860. type: integer
  861. goodsname:
  862. description: 商品名称
  863. type: string
  864. marketid:
  865. description: 市场ID
  866. type: integer
  867. mindeliveryqty:
  868. description: 最小交割系数(K)
  869. type: integer
  870. p2deliveryprice:
  871. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  872. type: number
  873. p2deliveryratio:
  874. description: P2合约系数(p)
  875. type: integer
  876. p2goodsid:
  877. description: P2合约ID
  878. type: integer
  879. p2pricemode:
  880. description: P2合约价格方式 - 1:商品价 2:固定值
  881. type: integer
  882. pdeliveryprice:
  883. description: P合约价格(商品价时填写0,固定值时填写固定值)
  884. type: number
  885. pdeliveryratio:
  886. description: P合约系数(n)
  887. type: integer
  888. pgoodsid:
  889. description: P合约ID
  890. type: integer
  891. ppricemode:
  892. description: P合约价格方式 - 1:商品价 2:固定值
  893. type: integer
  894. rratio:
  895. description: 兑换系数(R)
  896. type: integer
  897. rratio1:
  898. description: 兑换系数(交易合约)(R1)
  899. type: integer
  900. rratio2:
  901. description: 兑换系数(仓单标准)(R2)
  902. type: integer
  903. selltemplateid:
  904. description: 卖履约计划模板ID
  905. type: integer
  906. wrstandardid:
  907. description: 仓单标准ID
  908. type: integer
  909. xdeliveryratio:
  910. description: 交易合约系数(m)
  911. type: integer
  912. required:
  913. - begindate
  914. - enddate
  915. - goodsid
  916. - mindeliveryqty
  917. - xdeliveryratio
  918. type: object
  919. ermcp.ExposureDetailRsp:
  920. properties:
  921. areauserid:
  922. description: 机构ID
  923. type: integer
  924. changeQty:
  925. description: 套保变动量
  926. type: number
  927. contracttype:
  928. description: 现货合同类型 - 1:采购 -1:销售
  929. type: integer
  930. convertfactor:
  931. description: 标仓系数
  932. type: number
  933. convertratio:
  934. description: 套保系数
  935. type: number
  936. createtime:
  937. description: 时间
  938. type: string
  939. enumdicname:
  940. description: 现货商品单位名称
  941. type: string
  942. logtype:
  943. description: 类型 - 1:套保计划 2:现货合同
  944. type: integer
  945. middlegoodsId:
  946. description: 套保商品id
  947. type: integer
  948. middlegoodscode:
  949. description: 套保商品代码
  950. type: string
  951. middlegoodsname:
  952. description: 套保商品名称
  953. type: string
  954. qty:
  955. description: 数量
  956. type: number
  957. relateNo:
  958. description: 现货合同/套保计划编号
  959. type: string
  960. wrstandardcode:
  961. description: 现货商品代码
  962. type: string
  963. wrstandardid:
  964. description: 现货商品ID
  965. type: integer
  966. wrstandardname:
  967. description: 现货商品名称
  968. type: string
  969. type: object
  970. ermcp.ExposureHedgePosDetailRsp:
  971. properties:
  972. buyorsell:
  973. description: 买卖方向 0-买 1-卖
  974. type: integer
  975. channelbuildtype:
  976. description: 开平方向 1-建仓 2-平仓
  977. type: integer
  978. goodscode:
  979. description: 商品代码
  980. type: string
  981. goodsname:
  982. description: 商品名称
  983. type: string
  984. hedgegoodsid:
  985. description: 商品id
  986. type: integer
  987. tradeqty:
  988. description: 数量(成交数量)
  989. type: integer
  990. tradetime:
  991. description: 时间(成交时间)
  992. type: string
  993. type: object
  994. ermcp.ExposureHedgePositionRsp:
  995. properties:
  996. accountid:
  997. description: 资金账号[外部母账户]
  998. type: integer
  999. curbuyposition:
  1000. description: 期末买头寸
  1001. type: integer
  1002. cursellposition:
  1003. description: 期末卖头寸
  1004. type: integer
  1005. curtdbuyposition:
  1006. description: 期末今日买头寸
  1007. type: integer
  1008. curtdsellposition:
  1009. description: 期末今日卖头寸
  1010. type: integer
  1011. curydbuyposition:
  1012. description: 期末上日买头寸
  1013. type: integer
  1014. curydsellposition:
  1015. description: 期末上日卖头寸
  1016. type: integer
  1017. decreaseqty:
  1018. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1019. type: integer
  1020. fretdbuyposition:
  1021. description: 冻结今日买头寸
  1022. type: integer
  1023. fretdsellposition:
  1024. description: 冻结今日卖头寸
  1025. type: integer
  1026. freydbuyposition:
  1027. description: 冻结上日买头寸
  1028. type: integer
  1029. freydsellposition:
  1030. description: 冻结上日卖头寸
  1031. type: integer
  1032. goodscode:
  1033. description: 商品代码
  1034. type: string
  1035. goodsid:
  1036. description: 商品id
  1037. type: integer
  1038. goodsname:
  1039. description: 商品名称
  1040. type: string
  1041. hedgeaccountcode:
  1042. description: 对冲账号
  1043. type: string
  1044. hedgegoodsid:
  1045. description: 对冲合约ID
  1046. type: integer
  1047. increaseqty:
  1048. description: 增加数量 = 期末买头寸 - 期初买头寸
  1049. type: integer
  1050. marketid:
  1051. description: 市场ID
  1052. type: integer
  1053. relateduserid:
  1054. description: 关联用户id
  1055. type: integer
  1056. totalcurqty:
  1057. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1058. type: integer
  1059. totalydqty:
  1060. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1061. type: integer
  1062. tradedate:
  1063. description: 交易日(yyyyMMdd)
  1064. type: string
  1065. ydbuyposition:
  1066. description: 期初买头寸
  1067. type: integer
  1068. ydsellposition:
  1069. description: 期初卖头寸
  1070. type: integer
  1071. type: object
  1072. ermcp.ExposureSpotDetailRsp:
  1073. properties:
  1074. contracttype:
  1075. description: 合同类型 1-采购 -1-销售
  1076. type: integer
  1077. createtime:
  1078. description: 创建时间
  1079. type: string
  1080. enumdicname:
  1081. description: 现货商品单位名称
  1082. type: string
  1083. logtype:
  1084. description: 记录类型 1-套保 2-现货合同
  1085. type: integer
  1086. qty:
  1087. description: 数量
  1088. type: number
  1089. recordname:
  1090. description: 类型名称
  1091. type: string
  1092. relatedid:
  1093. description: 套保计划ID/现货合同ID
  1094. type: string
  1095. relatedno:
  1096. description: 编号
  1097. type: string
  1098. strtime:
  1099. description: 时间
  1100. type: string
  1101. wrstandardcode:
  1102. description: 现货商品代码
  1103. type: string
  1104. wrstandardname:
  1105. description: 现货商品名称
  1106. type: string
  1107. type: object
  1108. ermcp.ExposureSpotRsp:
  1109. properties:
  1110. areauserid:
  1111. description: 所属机构
  1112. type: integer
  1113. decreaseqty:
  1114. description: 减少数量=-(销售已定价数量+采购计划数量)
  1115. type: number
  1116. increaseqty:
  1117. description: 增加数量=销售计划数量+采购已定价数量
  1118. type: number
  1119. oritoalspotqty:
  1120. description: 昨日数量
  1121. type: number
  1122. totalspotqty:
  1123. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1124. type: number
  1125. updatetime:
  1126. description: 更新时间
  1127. type: string
  1128. wrstandardcode:
  1129. description: 现货品种代码
  1130. type: string
  1131. wrstandardid:
  1132. description: 现货商品ID
  1133. type: integer
  1134. wrstandardname:
  1135. description: 现货品种
  1136. type: string
  1137. type: object
  1138. ermcp.HisExposureRsp:
  1139. properties:
  1140. data:
  1141. description: 历史敞口
  1142. items:
  1143. $ref: '#/definitions/models.ErmcpHisExposure'
  1144. type: array
  1145. enumdicname:
  1146. description: 单位名称
  1147. type: string
  1148. middlegoodscode:
  1149. description: 套保品种代码
  1150. type: string
  1151. middlegoodsid:
  1152. description: 套保品种ID
  1153. type: integer
  1154. middlegoodsname:
  1155. description: 套保品种名称
  1156. type: string
  1157. type: object
  1158. ermcp.PendingAuditCntRsp:
  1159. properties:
  1160. areastockqty:
  1161. description: '待审核数量: 库存申请'
  1162. type: integer
  1163. businessdjqty:
  1164. description: '待审核数量: 点价'
  1165. type: integer
  1166. businessfpqty:
  1167. description: '待审核数量: 发票'
  1168. type: integer
  1169. businessjsqty:
  1170. description: '待审核数量: 结算'
  1171. type: integer
  1172. businesskxqty:
  1173. description: '待审核数量: 款项'
  1174. type: integer
  1175. hedgeplanqty:
  1176. description: '待审核数量: 套保计划'
  1177. type: integer
  1178. spotcontractqty:
  1179. description: '待审核数量: 现货合同'
  1180. type: integer
  1181. userqty:
  1182. description: '待审核数量: 用户'
  1183. type: integer
  1184. type: object
  1185. ermcp.QryAreaStockApplyRsp:
  1186. properties:
  1187. applyid:
  1188. description: 申请人
  1189. type: integer
  1190. applyname:
  1191. description: 申请人名称
  1192. type: string
  1193. applyremark:
  1194. description: 申请备注
  1195. type: string
  1196. applysrc:
  1197. description: 申请来源 - 1:管理端 2:终端
  1198. type: integer
  1199. applystatus:
  1200. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1201. type: integer
  1202. applytime:
  1203. description: 申请时间
  1204. type: string
  1205. auditid:
  1206. description: 审核人
  1207. type: integer
  1208. auditname:
  1209. description: 审核人名称
  1210. type: string
  1211. auditremark:
  1212. description: 审核备注
  1213. type: string
  1214. auditsrc:
  1215. description: 审核来源 - 1:管理端 2:终端
  1216. type: integer
  1217. audittime:
  1218. description: 审核时间
  1219. type: string
  1220. audittradedate:
  1221. description: 审核交易日(yyyyMMdd)
  1222. type: string
  1223. brandname:
  1224. description: 品牌名称
  1225. type: string
  1226. buyuserid:
  1227. description: 采购方userid
  1228. type: integer
  1229. buyusername:
  1230. description: 采购方名称
  1231. type: string
  1232. contractno:
  1233. description: 合同编号
  1234. type: string
  1235. contractqty:
  1236. description: 合同量
  1237. type: number
  1238. contracttype:
  1239. description: 现货合同类型 - 1:采购 -1:销售
  1240. type: integer
  1241. deliverygoodsid:
  1242. description: 现货品种ID
  1243. type: integer
  1244. enumdicname:
  1245. description: 现货商品单位名称
  1246. type: string
  1247. inoutapplyid:
  1248. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  1249. type: string
  1250. inouttype:
  1251. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  1252. type: integer
  1253. modelname:
  1254. description: 型号名称
  1255. type: string
  1256. pricetype:
  1257. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1258. type: integer
  1259. qty:
  1260. description: 数量
  1261. type: number
  1262. selluserid:
  1263. description: 销售方userid
  1264. type: integer
  1265. sellusername:
  1266. description: 销售方名称
  1267. type: string
  1268. spotcontractid:
  1269. description: 关联现货合同ID
  1270. type: string
  1271. spotgoodsbrandid:
  1272. description: 现货品牌ID
  1273. type: integer
  1274. spotgoodsmodelid:
  1275. description: 现货型号ID
  1276. type: integer
  1277. unitid:
  1278. description: 单位id
  1279. type: integer
  1280. userid:
  1281. description: 机构ID
  1282. type: integer
  1283. warehousecode:
  1284. description: 仓库代码
  1285. type: string
  1286. warehouseinfoid:
  1287. description: 现货仓库ID
  1288. type: string
  1289. warehousename:
  1290. description: 仓库名称
  1291. type: string
  1292. warehousetype:
  1293. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  1294. type: integer
  1295. wrstandardcode:
  1296. description: 现货商品代码
  1297. type: string
  1298. wrstandardid:
  1299. description: 现货商品ID
  1300. type: string
  1301. wrstandardname:
  1302. description: 现货商品名称
  1303. type: string
  1304. type: object
  1305. ermcp.QryAvalidGPRsp:
  1306. properties:
  1307. goodsgroupid:
  1308. description: 期货品种id
  1309. type: integer
  1310. goodsgroupname:
  1311. description: 期货品种名称
  1312. type: string
  1313. goodunitid:
  1314. description: 品种单位id
  1315. type: integer
  1316. goodunitname:
  1317. description: 品种单位名称
  1318. type: string
  1319. outergroupcode:
  1320. description: 期货品种代码
  1321. type: string
  1322. type: object
  1323. ermcp.QryBusinessDjRsp:
  1324. properties:
  1325. amount:
  1326. description: 点价金额=(点价价格+升贴水)*点价数量
  1327. type: number
  1328. applyid:
  1329. description: 申请人
  1330. type: string
  1331. applyname:
  1332. description: 申请人名称
  1333. type: string
  1334. applystatus:
  1335. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1336. type: integer
  1337. applytime:
  1338. description: 申请时间
  1339. type: string
  1340. attachurl:
  1341. description: 附件
  1342. type: string
  1343. auditid:
  1344. description: 审核人ID
  1345. type: string
  1346. auditname:
  1347. description: 审核人名称
  1348. type: string
  1349. audittime:
  1350. description: 审核时间
  1351. type: string
  1352. buyusername:
  1353. description: 采购方名称
  1354. type: string
  1355. contractno:
  1356. description: 合同编号
  1357. type: string
  1358. contractstatus:
  1359. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1360. type: integer
  1361. contracttype:
  1362. description: 现货合同类型 - 1:采购 -1:销售
  1363. type: integer
  1364. deliverygoodscode:
  1365. description: 现货品种代码
  1366. type: string
  1367. deliverygoodsid:
  1368. description: 现货商品ID
  1369. type: integer
  1370. deliverygoodsname:
  1371. description: 现货品种名称
  1372. type: string
  1373. enumdicname:
  1374. description: 单位名称
  1375. type: string
  1376. goodscode:
  1377. description: 点价合约
  1378. type: string
  1379. goodsname:
  1380. description: 商品名称
  1381. type: string
  1382. operateapplyid:
  1383. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1384. type: string
  1385. operateapplytype:
  1386. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1387. type: integer
  1388. pricedPrice:
  1389. description: 点价价格(非必填)
  1390. type: number
  1391. pricedQty:
  1392. description: 点价数量(非必填)
  1393. type: number
  1394. pricemove:
  1395. description: 升贴水
  1396. type: number
  1397. pricetype:
  1398. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1399. type: integer
  1400. relatedid:
  1401. description: 现货合同ID
  1402. type: string
  1403. sellusername:
  1404. description: 销售方名字
  1405. type: string
  1406. userid:
  1407. description: 用户ID
  1408. type: integer
  1409. wrstandardcode:
  1410. description: 品类代码
  1411. type: string
  1412. wrstandardid:
  1413. description: 品类id
  1414. type: integer
  1415. wrstandardname:
  1416. description: 品类名称
  1417. type: string
  1418. type: object
  1419. ermcp.QryBussinessFpRsp:
  1420. properties:
  1421. applyid:
  1422. description: 申请人
  1423. type: string
  1424. applyname:
  1425. description: 申请人名称
  1426. type: string
  1427. applystatus:
  1428. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1429. type: integer
  1430. applytime:
  1431. description: 申请时间
  1432. type: string
  1433. attachurl:
  1434. description: 附件
  1435. type: string
  1436. auditid:
  1437. description: 审核人ID
  1438. type: string
  1439. auditname:
  1440. description: 审核人名称
  1441. type: string
  1442. audittime:
  1443. description: 审核时间
  1444. type: string
  1445. buyusername:
  1446. description: 采购方名称
  1447. type: string
  1448. contractno:
  1449. description: 合同编号
  1450. type: string
  1451. contractstatus:
  1452. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1453. type: integer
  1454. contracttype:
  1455. description: 现货合同类型 - 1:采购 -1:销售
  1456. type: integer
  1457. deliverygoodscode:
  1458. description: 现货品种代码
  1459. type: string
  1460. deliverygoodsid:
  1461. description: 现货商品ID
  1462. type: integer
  1463. deliverygoodsname:
  1464. description: 现货品种名称
  1465. type: string
  1466. enumdicname:
  1467. description: 单位名称
  1468. type: string
  1469. goodscode:
  1470. description: 点价合约
  1471. type: string
  1472. goodsname:
  1473. description: 商品名称
  1474. type: string
  1475. invoiceAmount:
  1476. description: 已开收票金额(销售为开票,采购为收票)
  1477. type: number
  1478. operateapplyid:
  1479. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1480. type: string
  1481. operateapplytype:
  1482. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1483. type: integer
  1484. pricemove:
  1485. description: 升贴水
  1486. type: number
  1487. pricetype:
  1488. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1489. type: integer
  1490. relatedid:
  1491. description: 现货合同ID
  1492. type: string
  1493. sellusername:
  1494. description: 销售方名字
  1495. type: string
  1496. userid:
  1497. description: 用户ID
  1498. type: integer
  1499. wrstandardcode:
  1500. description: 品类代码
  1501. type: string
  1502. wrstandardid:
  1503. description: 品类id
  1504. type: integer
  1505. wrstandardname:
  1506. description: 品类名称
  1507. type: string
  1508. type: object
  1509. ermcp.QryBussinessJsExRsp:
  1510. properties:
  1511. applyid:
  1512. description: 申请人
  1513. type: string
  1514. applyname:
  1515. description: 申请人名称
  1516. type: string
  1517. applystatus:
  1518. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1519. type: integer
  1520. applytime:
  1521. description: 申请时间
  1522. type: string
  1523. attachurl:
  1524. description: 附件
  1525. type: string
  1526. auditid:
  1527. description: 审核人ID
  1528. type: string
  1529. auditname:
  1530. description: 审核人名称
  1531. type: string
  1532. audittime:
  1533. description: 审核时间
  1534. type: string
  1535. buyusername:
  1536. description: 采购方名称
  1537. type: string
  1538. contractno:
  1539. description: 合同编号
  1540. type: string
  1541. contractstatus:
  1542. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1543. type: integer
  1544. contracttype:
  1545. description: 现货合同类型 - 1:采购 -1:销售
  1546. type: integer
  1547. deliverygoodscode:
  1548. description: 现货品种代码
  1549. type: string
  1550. deliverygoodsid:
  1551. description: 现货商品ID
  1552. type: integer
  1553. deliverygoodsname:
  1554. description: 现货品种名称
  1555. type: string
  1556. enumdicname:
  1557. description: 单位名称
  1558. type: string
  1559. goodscode:
  1560. description: 点价合约
  1561. type: string
  1562. goodsname:
  1563. description: 商品名称
  1564. type: string
  1565. operateapplyid:
  1566. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1567. type: string
  1568. operateapplytype:
  1569. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1570. type: integer
  1571. pricemove:
  1572. description: 升贴水
  1573. type: number
  1574. pricetype:
  1575. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1576. type: integer
  1577. reckontype:
  1578. description: 结算类型
  1579. type: string
  1580. reckonvalue:
  1581. description: 值
  1582. type: number
  1583. relatedid:
  1584. description: 现货合同ID
  1585. type: string
  1586. sellusername:
  1587. description: 销售方名字
  1588. type: string
  1589. userid:
  1590. description: 用户ID
  1591. type: integer
  1592. wrstandardcode:
  1593. description: 品类代码
  1594. type: string
  1595. wrstandardid:
  1596. description: 品类id
  1597. type: integer
  1598. wrstandardname:
  1599. description: 品类名称
  1600. type: string
  1601. type: object
  1602. ermcp.QryBussinessJsRsp:
  1603. properties:
  1604. addmargin:
  1605. description: 追加保证金(非必填)
  1606. type: number
  1607. applyid:
  1608. description: 申请人
  1609. type: string
  1610. applyname:
  1611. description: 申请人名称
  1612. type: string
  1613. applystatus:
  1614. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1615. type: integer
  1616. applytime:
  1617. description: 申请时间
  1618. type: string
  1619. attachurl:
  1620. description: 附件
  1621. type: string
  1622. auditid:
  1623. description: 审核人ID
  1624. type: string
  1625. auditname:
  1626. description: 审核人名称
  1627. type: string
  1628. audittime:
  1629. description: 审核时间
  1630. type: string
  1631. buyusername:
  1632. description: 采购方名称
  1633. type: string
  1634. contractno:
  1635. description: 合同编号
  1636. type: string
  1637. contractstatus:
  1638. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1639. type: integer
  1640. contracttype:
  1641. description: 现货合同类型 - 1:采购 -1:销售
  1642. type: integer
  1643. decmargin:
  1644. description: 减少保证金(非必填)
  1645. type: number
  1646. deliverygoodscode:
  1647. description: 现货品种代码
  1648. type: string
  1649. deliverygoodsid:
  1650. description: 现货商品ID
  1651. type: integer
  1652. deliverygoodsname:
  1653. description: 现货品种名称
  1654. type: string
  1655. enumdicname:
  1656. description: 单位名称
  1657. type: string
  1658. goodscode:
  1659. description: 点价合约
  1660. type: string
  1661. goodsname:
  1662. description: 商品名称
  1663. type: string
  1664. operateapplyid:
  1665. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1666. type: string
  1667. operateapplytype:
  1668. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1669. type: integer
  1670. pricemove:
  1671. description: 升贴水
  1672. type: number
  1673. pricetype:
  1674. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1675. type: integer
  1676. reckonadjustamount:
  1677. description: 结算调整金额(非必填)
  1678. type: number
  1679. reckonosamount:
  1680. description: 结算溢短金额(非必填)
  1681. type: number
  1682. reckonotheramount:
  1683. description: 结算其他费用(非必填)
  1684. type: number
  1685. reckonrealqty:
  1686. description: 结算实际数量(非必填)
  1687. type: number
  1688. relatedid:
  1689. description: 现货合同ID
  1690. type: string
  1691. sellusername:
  1692. description: 销售方名字
  1693. type: string
  1694. userid:
  1695. description: 用户ID
  1696. type: integer
  1697. wrstandardcode:
  1698. description: 品类代码
  1699. type: string
  1700. wrstandardid:
  1701. description: 品类id
  1702. type: integer
  1703. wrstandardname:
  1704. description: 品类名称
  1705. type: string
  1706. type: object
  1707. ermcp.QryBussinessKxRsp:
  1708. properties:
  1709. applyid:
  1710. description: 申请人
  1711. type: string
  1712. applyname:
  1713. description: 申请人名称
  1714. type: string
  1715. applystatus:
  1716. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1717. type: integer
  1718. applytime:
  1719. description: 申请时间
  1720. type: string
  1721. attachurl:
  1722. description: 附件
  1723. type: string
  1724. auditid:
  1725. description: 审核人ID
  1726. type: string
  1727. auditname:
  1728. description: 审核人名称
  1729. type: string
  1730. audittime:
  1731. description: 审核时间
  1732. type: string
  1733. buyusername:
  1734. description: 采购方名称
  1735. type: string
  1736. contractno:
  1737. description: 合同编号
  1738. type: string
  1739. contractstatus:
  1740. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1741. type: integer
  1742. contracttype:
  1743. description: 现货合同类型 - 1:采购 -1:销售
  1744. type: integer
  1745. deductamount:
  1746. description: 退款(非必填)
  1747. type: number
  1748. deliverygoodscode:
  1749. description: 现货品种代码
  1750. type: string
  1751. deliverygoodsid:
  1752. description: 现货商品ID
  1753. type: integer
  1754. deliverygoodsname:
  1755. description: 现货品种名称
  1756. type: string
  1757. enumdicname:
  1758. description: 单位名称
  1759. type: string
  1760. goodscode:
  1761. description: 点价合约
  1762. type: string
  1763. goodsname:
  1764. description: 商品名称
  1765. type: string
  1766. kxtype:
  1767. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1768. type: integer
  1769. operateapplyid:
  1770. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1771. type: string
  1772. operateapplytype:
  1773. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1774. type: integer
  1775. payamount:
  1776. description: 收付款(非必填)
  1777. type: number
  1778. pricemove:
  1779. description: 升贴水
  1780. type: number
  1781. pricetype:
  1782. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1783. type: integer
  1784. relatedid:
  1785. description: 现货合同ID
  1786. type: string
  1787. sellusername:
  1788. description: 销售方名字
  1789. type: string
  1790. userid:
  1791. description: 用户ID
  1792. type: integer
  1793. wrstandardcode:
  1794. description: 品类代码
  1795. type: string
  1796. wrstandardid:
  1797. description: 品类id
  1798. type: integer
  1799. wrstandardname:
  1800. description: 品类名称
  1801. type: string
  1802. type: object
  1803. ermcp.QryErmcpRsp:
  1804. properties:
  1805. accountname:
  1806. description: 账户名称
  1807. type: string
  1808. attachment:
  1809. description: 附件
  1810. type: string
  1811. audittime:
  1812. description: 审核时间
  1813. type: string
  1814. brandname:
  1815. description: 品牌名称
  1816. type: string
  1817. contracctstatus:
  1818. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1819. type: integer
  1820. contractmargin:
  1821. description: 合同保证金
  1822. type: number
  1823. contractno:
  1824. description: 合同编号
  1825. type: string
  1826. contracttype:
  1827. description: 合同类型 1-采购, -1-销售
  1828. type: integer
  1829. convertfactor:
  1830. description: 标仓系数
  1831. type: number
  1832. createtime:
  1833. description: 创建时间
  1834. type: string
  1835. daikaiamount:
  1836. description: 应收(开)票额
  1837. type: number
  1838. deliveryenddate:
  1839. description: 交割结束日
  1840. type: string
  1841. deliverygoodscode:
  1842. description: 现货品种代码
  1843. type: string
  1844. deliverygoodsid:
  1845. description: 现货商品ID
  1846. type: integer
  1847. deliverygoodsname:
  1848. description: 现货品种名称
  1849. type: string
  1850. deliverystartdate:
  1851. description: 交割开始日
  1852. type: string
  1853. enddate:
  1854. description: 点价结束日
  1855. type: string
  1856. enumdicname:
  1857. description: 单位名称
  1858. type: string
  1859. goodscode:
  1860. description: 点价商品代码
  1861. type: string
  1862. goodsid:
  1863. description: 点价商品ID
  1864. type: integer
  1865. goodsname:
  1866. description: 点价商品名称
  1867. type: string
  1868. invoiceamount:
  1869. description: 已开票额
  1870. type: number
  1871. loanamount:
  1872. description: 贷款总额=已定价额+调整金额
  1873. type: number
  1874. margin:
  1875. description: 保证金
  1876. type: number
  1877. modelname:
  1878. description: 型号名称
  1879. type: string
  1880. payamount:
  1881. description: 已收付额(收款或付款)
  1882. type: number
  1883. preinvoiceamount:
  1884. description: 预收(开)票额
  1885. type: number
  1886. prepayamount:
  1887. description: 预收付额
  1888. type: number
  1889. price:
  1890. description: 价格
  1891. type: number
  1892. pricedamount:
  1893. description: 已定价额
  1894. type: number
  1895. pricedavg:
  1896. description: 已点均价
  1897. type: number
  1898. pricedqty:
  1899. description: 已定价量
  1900. type: number
  1901. pricemove:
  1902. description: 升贴水
  1903. type: number
  1904. pricetype:
  1905. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1906. type: integer
  1907. producttype:
  1908. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1909. type: integer
  1910. qty:
  1911. description: 合同量
  1912. type: number
  1913. reckonadjustamount:
  1914. description: 调整金额
  1915. type: number
  1916. reckonedamount:
  1917. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  1918. type: number
  1919. reckonotheramount:
  1920. description: 其它费用
  1921. type: number
  1922. reckonrealqty:
  1923. description: 已确定量
  1924. type: number
  1925. remark:
  1926. description: 备注
  1927. type: string
  1928. spotcontractid:
  1929. description: 合同ID
  1930. type: string
  1931. spotgoodsbrandid:
  1932. description: 现货品牌ID
  1933. type: integer
  1934. spotgoodsdesc:
  1935. description: 商品型号(商品规格)
  1936. type: string
  1937. spotgoodsmodelid:
  1938. description: 现货型号ID
  1939. type: integer
  1940. startdate:
  1941. description: 点价开始日
  1942. type: string
  1943. totalamount:
  1944. description: 合计总额
  1945. type: number
  1946. unpayamount:
  1947. description: 应收付款额(应支付或应收款)
  1948. type: number
  1949. unpricedqty:
  1950. description: 未定价量
  1951. type: number
  1952. unsureqty:
  1953. description: 未确定量
  1954. type: number
  1955. userid:
  1956. description: 用户ID
  1957. type: integer
  1958. wrstandardcode:
  1959. description: 现货商品代码
  1960. type: string
  1961. wrstandardid:
  1962. description: 现货商品ID
  1963. type: integer
  1964. wrstandardname:
  1965. description: 现货商品名称
  1966. type: string
  1967. type: object
  1968. ermcp.QryGGCovertCfgRsp:
  1969. properties:
  1970. convertratio:
  1971. description: 折算系数
  1972. type: number
  1973. destgoodsgroupid:
  1974. description: 目标品种ID
  1975. type: integer
  1976. dstcode:
  1977. description: 目录品种代码
  1978. type: string
  1979. dstexchangecode:
  1980. description: 目标期货交易所
  1981. type: string
  1982. dstname:
  1983. description: 目标品种名称
  1984. type: string
  1985. dstunitid:
  1986. description: 目标品种单位ID
  1987. type: integer
  1988. dstunitidname:
  1989. description: 目标品种单位名称
  1990. type: string
  1991. modifytime:
  1992. description: 修改时间
  1993. type: string
  1994. srccode:
  1995. description: 源品种代码
  1996. type: string
  1997. srcexchangecode:
  1998. description: 源期货交易所
  1999. type: string
  2000. srcgoodsgroupid:
  2001. description: 源品种ID
  2002. type: integer
  2003. srcname:
  2004. description: 源品种名称
  2005. type: string
  2006. srcunitid:
  2007. description: 源品种单位ID
  2008. type: integer
  2009. srcunitidname:
  2010. description: 源品种单位名称
  2011. type: string
  2012. type: object
  2013. ermcp.QryHedgePlanRsp:
  2014. properties:
  2015. areauserid:
  2016. description: 用户ID
  2017. type: integer
  2018. audittime:
  2019. description: 审核时间
  2020. type: string
  2021. contracttype:
  2022. description: 计划类型 - 1:采购 -1:销售
  2023. type: integer
  2024. convertfactor:
  2025. description: 标仓系数
  2026. type: number
  2027. createtime:
  2028. description: 创建时间
  2029. type: string
  2030. deliverygoodsid:
  2031. description: 现货品种ID
  2032. type: integer
  2033. deliverygoodsname:
  2034. description: 现货品种名称
  2035. type: string
  2036. enumdicname:
  2037. description: 单位名称
  2038. type: string
  2039. hedgeplanid:
  2040. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  2041. type: string
  2042. hedgeplanno:
  2043. description: 套保计划编号(名称)
  2044. type: string
  2045. hedgeplanstatus:
  2046. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2047. type: integer
  2048. planqty:
  2049. description: 计划数量
  2050. type: number
  2051. plantime:
  2052. description: 计划时间
  2053. type: string
  2054. producttype:
  2055. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2056. type: integer
  2057. remark:
  2058. description: 备注
  2059. type: string
  2060. spotgoodsdesc:
  2061. description: 商品型号
  2062. type: string
  2063. unitid:
  2064. description: 单位id
  2065. type: integer
  2066. updatetime:
  2067. description: 更新时间
  2068. type: string
  2069. wrstandardid:
  2070. description: 现货商品ID
  2071. type: integer
  2072. wrstandardname:
  2073. description: 现货商品名称
  2074. type: string
  2075. type: object
  2076. ermcp.QryMGChangeLogRsp:
  2077. properties:
  2078. aftervalue:
  2079. description: 变更后
  2080. type: number
  2081. applyid:
  2082. description: 操作人
  2083. type: integer
  2084. applyname:
  2085. description: 操作人名称
  2086. type: string
  2087. applysrc:
  2088. description: 操作来源 - 1:管理端 2:终端
  2089. type: integer
  2090. beforevalue:
  2091. description: 变更前
  2092. type: number
  2093. changelogtype:
  2094. description: 变更流水类型 - 1:套保比率变更
  2095. type: integer
  2096. handlestatus:
  2097. description: 处理状态
  2098. type: integer
  2099. logdatetime:
  2100. description: 流水日期
  2101. type: string
  2102. logid:
  2103. description: 流水ID
  2104. type: integer
  2105. logremark:
  2106. description: 流水备注
  2107. type: string
  2108. middlegoodsid:
  2109. description: 套保品种ID
  2110. type: integer
  2111. tradedate:
  2112. description: 交易日(yyyyMMdd)
  2113. type: string
  2114. updatetime:
  2115. description: 更新时间
  2116. type: string
  2117. type: object
  2118. ermcp.QryMiddleGoodsDetailRsp:
  2119. properties:
  2120. cvList:
  2121. description: 期货品种折算列表
  2122. items:
  2123. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  2124. type: array
  2125. mg:
  2126. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  2127. description: 套保品种基本信息
  2128. wrcList:
  2129. description: 现货品种列表(现货商品折算配置)
  2130. items:
  2131. $ref: '#/definitions/models.WRSConverTDetail'
  2132. type: array
  2133. type: object
  2134. ermcp.QryMiddleGoodsRsp:
  2135. properties:
  2136. areauserid:
  2137. description: 机构用户ID
  2138. type: integer
  2139. createtime:
  2140. description: 修改时间
  2141. type: string
  2142. enumdicname:
  2143. description: 单位名称
  2144. type: string
  2145. evaluateratio:
  2146. description: 估价系数
  2147. type: number
  2148. goodsgroupid:
  2149. description: 关联期货品种ID
  2150. type: integer
  2151. isvalid:
  2152. description: 状态 0-无效(停用) 1-有效(正常)
  2153. type: integer
  2154. middlegoodscode:
  2155. description: 套保品种代码
  2156. type: string
  2157. middlegoodsid:
  2158. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  2159. type: integer
  2160. middlegoodsname:
  2161. description: 套保品种名称
  2162. type: string
  2163. modifytime:
  2164. description: 修改时间
  2165. type: string
  2166. needhedgeratio:
  2167. description: 套保比率
  2168. type: number
  2169. qtydecimalplace:
  2170. description: 数量小数位
  2171. type: integer
  2172. relatedgoodsid:
  2173. description: 关联交易商品ID
  2174. type: integer
  2175. relatedgoodstype:
  2176. description: 关联商品类型 - 1:期货合约 2:现货品种
  2177. type: integer
  2178. remark:
  2179. description: 备注
  2180. type: string
  2181. type: object
  2182. ermcp.QryOPLogRsp:
  2183. properties:
  2184. aftervalue:
  2185. description: 变更后
  2186. type: number
  2187. applyid:
  2188. description: 操作人ID
  2189. type: string
  2190. applyname:
  2191. description: 操作人名称
  2192. type: string
  2193. beforevalue:
  2194. description: 变更前
  2195. type: number
  2196. biztype:
  2197. description: 业务类型 - 1:套保计划 2:现货合同
  2198. type: integer
  2199. contracttype:
  2200. description: 现货合同类型 - 1:采购 -1:销售
  2201. type: integer
  2202. logvalue:
  2203. description: 数值
  2204. type: number
  2205. operatelogtype:
  2206. description: 操作流水类型
  2207. type: integer
  2208. operatelogtypedesc:
  2209. description: 操作流水类型名称
  2210. type: string
  2211. relatedid:
  2212. description: 现货合同ID\套保计划
  2213. type: string
  2214. updatetime:
  2215. description: 更新时间
  2216. type: string
  2217. type: object
  2218. ermcp.QryReportDaySpotDetailRsp:
  2219. properties:
  2220. applyid:
  2221. description: 操作人
  2222. type: integer
  2223. applyname:
  2224. description: 操作人名称
  2225. type: string
  2226. biztype:
  2227. description: 业务类型 - 1:套保计划 2:现货合同
  2228. type: integer
  2229. brandname:
  2230. description: 品牌名称
  2231. type: string
  2232. contracttype:
  2233. description: 现货合同类型 - 1:采购 -1:销售
  2234. type: integer
  2235. enumdicName:
  2236. description: 单位名称
  2237. type: string
  2238. logdatetime:
  2239. description: 流水日期(时间)
  2240. type: string
  2241. logid:
  2242. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2243. type: string
  2244. logtypename:
  2245. description: 合同类型(名称)
  2246. type: string
  2247. logvalue:
  2248. description: 数值
  2249. type: string
  2250. modelname:
  2251. description: 型号名称
  2252. type: string
  2253. operatelogtype:
  2254. description: 操作流水类型 -
  2255. type: integer
  2256. optypename:
  2257. description: 流水类型名称
  2258. type: string
  2259. relatedid:
  2260. description: 现货合同ID\套保计划
  2261. type: string
  2262. relatedno:
  2263. description: 合同编号
  2264. type: string
  2265. tradedate:
  2266. description: 交易日(yyyyMMdd)
  2267. type: string
  2268. userid:
  2269. description: 机构ID
  2270. type: integer
  2271. wrstandardcode:
  2272. description: 现货商品代码
  2273. type: string
  2274. wrstandardid:
  2275. description: 现货商品ID
  2276. type: integer
  2277. wrstandardname:
  2278. description: 现货商品名称
  2279. type: string
  2280. type: object
  2281. ermcp.QryReportExposureDayRsp:
  2282. properties:
  2283. areauserid:
  2284. description: 所属机构
  2285. type: integer
  2286. buyfutureqty:
  2287. description: 买入期货数量
  2288. type: number
  2289. buyplanqty:
  2290. description: 采购计划数量
  2291. type: number
  2292. buypricedqty:
  2293. description: 采购合同已定价数量
  2294. type: number
  2295. diffFutuQty:
  2296. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  2297. type: number
  2298. diffSpotQty:
  2299. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  2300. type: number
  2301. enumdicname:
  2302. description: 单位名称
  2303. type: string
  2304. middlegoodscode:
  2305. description: 套保品种代码
  2306. type: string
  2307. middlegoodshedgeratio:
  2308. description: 应套保比例
  2309. type: number
  2310. middlegoodsid:
  2311. description: 套保品种ID
  2312. type: integer
  2313. middlegoodsname:
  2314. description: 套保品种名称
  2315. type: string
  2316. needhedgeexposoure:
  2317. description: 应套保敞口
  2318. type: number
  2319. needhedgeratio:
  2320. description: 应套保敞口比例
  2321. type: number
  2322. oriTotalFutuQty:
  2323. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2324. type: number
  2325. oriTotalSpotQty:
  2326. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2327. type: number
  2328. oribuyfutureqty:
  2329. description: 期初买入期货数量
  2330. type: number
  2331. oribuyplanqty:
  2332. description: 期初采购计划数量
  2333. type: number
  2334. oribuypricedqty:
  2335. description: 期初采购合同已定价数量
  2336. type: number
  2337. orisellfutureqty:
  2338. description: 期初卖出期货数量
  2339. type: number
  2340. orisellplanqty:
  2341. description: 期初销售计划数量
  2342. type: number
  2343. orisellpricedqty:
  2344. description: 期初销售合同已定价数量
  2345. type: number
  2346. reckondate:
  2347. description: 日照时期(yyyyMMdd)
  2348. type: string
  2349. sellfutureqty:
  2350. description: 卖出期货数量
  2351. type: number
  2352. sellplanqty:
  2353. description: 销售计划数量
  2354. type: number
  2355. sellpricedqty:
  2356. description: 销售合同已定价数量
  2357. type: number
  2358. totalexposure:
  2359. description: 总敞口
  2360. type: number
  2361. totalfutureqty:
  2362. description: 期货数量
  2363. type: number
  2364. totalhedgeratio:
  2365. description: 敞口比例
  2366. type: number
  2367. totalneedhedgeqty:
  2368. description: 期货应套保量
  2369. type: number
  2370. totalspotqty:
  2371. description: 现货数量
  2372. type: number
  2373. type: object
  2374. ermcp.QryReportFinanceDayRsp:
  2375. properties:
  2376. areauserid:
  2377. description: 所属机构
  2378. type: integer
  2379. collectinvoiceamount:
  2380. description: 今日开票金额
  2381. type: number
  2382. collectinvoicecount:
  2383. description: 今日开票笔数
  2384. type: integer
  2385. collectmoneyamount:
  2386. description: 今日收款金额
  2387. type: number
  2388. collectmoneycount:
  2389. description: 今日收款笔数
  2390. type: integer
  2391. payinvoiceamount:
  2392. description: 今日收票金额
  2393. type: number
  2394. payinvoicecount:
  2395. description: 今日收票笔数
  2396. type: integer
  2397. paymoneyamount:
  2398. description: 今日付款金额
  2399. type: number
  2400. paymoneycount:
  2401. description: 今日付款笔数
  2402. type: integer
  2403. reckondate:
  2404. description: 日照时期(yyyyMMdd)
  2405. type: string
  2406. updatetime:
  2407. description: 更新时间
  2408. type: string
  2409. type: object
  2410. ermcp.QryReportFinanceKxRsp:
  2411. properties:
  2412. applyid:
  2413. description: 操作人
  2414. type: integer
  2415. applyname:
  2416. description: 操作人名称
  2417. type: string
  2418. biztype:
  2419. description: 业务类型 - 1:套保计划 2:现货合同
  2420. type: integer
  2421. brandname:
  2422. description: 品牌名称
  2423. type: string
  2424. contracttype:
  2425. description: 现货合同类型 - 1:采购 -1:销售
  2426. type: integer
  2427. enumdicName:
  2428. description: 单位名称
  2429. type: string
  2430. logdatetime:
  2431. description: 流水日期(时间)
  2432. type: string
  2433. logid:
  2434. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2435. type: string
  2436. logtypename:
  2437. description: 合同类型(名称)
  2438. type: string
  2439. logvalue:
  2440. description: 数值
  2441. type: string
  2442. modelname:
  2443. description: 型号名称
  2444. type: string
  2445. operatelogtype:
  2446. description: 操作流水类型 -
  2447. type: integer
  2448. optypename:
  2449. description: 流水类型名称
  2450. type: string
  2451. relatedid:
  2452. description: 现货合同ID\套保计划
  2453. type: string
  2454. relatedno:
  2455. description: 合同编号
  2456. type: string
  2457. tradedate:
  2458. description: 交易日(yyyyMMdd)
  2459. type: string
  2460. userid:
  2461. description: 机构ID
  2462. type: integer
  2463. wrstandardcode:
  2464. description: 现货商品代码
  2465. type: string
  2466. wrstandardid:
  2467. description: 现货商品ID
  2468. type: integer
  2469. wrstandardname:
  2470. description: 现货商品名称
  2471. type: string
  2472. type: object
  2473. ermcp.QryReportFinanceMonRsp:
  2474. properties:
  2475. areauserid:
  2476. description: 所属机构【原值】
  2477. type: integer
  2478. collectinvoiceamount:
  2479. description: 今日开票金额【汇总】
  2480. type: number
  2481. collectinvoicecount:
  2482. description: 今日开票笔数【汇总】
  2483. type: integer
  2484. collectmoneyamount:
  2485. description: 今日收款金额【汇总】
  2486. type: number
  2487. collectmoneycount:
  2488. description: 今日收款笔数 【汇总】
  2489. type: integer
  2490. cycletime:
  2491. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2492. type: string
  2493. cycletype:
  2494. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2495. type: integer
  2496. dayFr:
  2497. description: 日报表明细
  2498. items:
  2499. $ref: '#/definitions/models.ErmcpReportDayFR'
  2500. type: array
  2501. payinvoiceamount:
  2502. description: 今日收票金额【汇总】
  2503. type: number
  2504. payinvoicecount:
  2505. description: 今日收票笔数【汇总】
  2506. type: integer
  2507. paymoneyamount:
  2508. description: 今日付款金额【汇总】
  2509. type: number
  2510. paymoneycount:
  2511. description: 今日付款笔数【汇总】
  2512. type: integer
  2513. updatetime:
  2514. description: 更新时间
  2515. type: string
  2516. type: object
  2517. ermcp.QryReportSpotDayRsp:
  2518. properties:
  2519. areauserid:
  2520. description: 所属机构T
  2521. type: integer
  2522. buyinqty:
  2523. description: 采购入库量
  2524. type: number
  2525. enumdicname:
  2526. description: 现货商品单位名称
  2527. type: string
  2528. reckondate:
  2529. description: 日照时期(yyyyMMdd)
  2530. type: string
  2531. selloutqty:
  2532. description: 销售出库量
  2533. type: number
  2534. todaybuyreckonqty:
  2535. description: 采购确定量
  2536. type: number
  2537. todaysellreckonqty:
  2538. description: 销售确定量
  2539. type: number
  2540. totalbuypricedqty:
  2541. description: 采购定价量 = 期末 - 期初
  2542. type: number
  2543. totalsellpricedqty:
  2544. description: 销售定价量 = 期末 - 期初
  2545. type: number
  2546. wrstandardcode:
  2547. description: 现货商品代码
  2548. type: string
  2549. wrstandardid:
  2550. description: 现货商品ID
  2551. type: integer
  2552. wrstandardname:
  2553. description: 现货商品名称
  2554. type: string
  2555. type: object
  2556. ermcp.QryReportSpotMonRsp:
  2557. properties:
  2558. areauserid:
  2559. description: 所属机构T
  2560. type: integer
  2561. buyinqty:
  2562. description: 采购入库量
  2563. type: number
  2564. cycletime:
  2565. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2566. type: string
  2567. cycletype:
  2568. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2569. type: integer
  2570. enumdicname:
  2571. description: 现货商品单位名称
  2572. type: string
  2573. selloutqty:
  2574. description: 销售出库量
  2575. type: number
  2576. todaybuyreckonqty:
  2577. description: 采购确定量
  2578. type: number
  2579. todaysellreckonqty:
  2580. description: 销售确定量
  2581. type: number
  2582. totalbuypricedqty:
  2583. description: 采购定价量 = 期末 - 期初
  2584. type: number
  2585. totalsellpricedqty:
  2586. description: 销售定价量 = 期末 - 期初
  2587. type: number
  2588. wrstandardcode:
  2589. description: 现货商品代码
  2590. type: string
  2591. wrstandardid:
  2592. description: 现货商品ID
  2593. type: integer
  2594. wrstandardname:
  2595. description: 现货商品名称
  2596. type: string
  2597. type: object
  2598. ermcp.QryReportSpotMonthDetailRsp:
  2599. properties:
  2600. areauserid:
  2601. description: 所属机构T
  2602. type: integer
  2603. buyinqty:
  2604. description: 采购入库量
  2605. type: number
  2606. enumdicname:
  2607. description: 现货商品单位名称
  2608. type: string
  2609. reckondate:
  2610. description: 日照时期(yyyyMMdd)
  2611. type: string
  2612. selloutqty:
  2613. description: 销售出库量
  2614. type: number
  2615. todaybuyreckonqty:
  2616. description: 采购确定量
  2617. type: number
  2618. todaysellreckonqty:
  2619. description: 销售确定量
  2620. type: number
  2621. totalbuypricedqty:
  2622. description: 采购定价量 = 期末 - 期初
  2623. type: number
  2624. totalsellpricedqty:
  2625. description: 销售定价量 = 期末 - 期初
  2626. type: number
  2627. wrstandardcode:
  2628. description: 现货商品代码
  2629. type: string
  2630. wrstandardid:
  2631. description: 现货商品ID
  2632. type: integer
  2633. wrstandardname:
  2634. description: 现货商品名称
  2635. type: string
  2636. type: object
  2637. ermcp.QrySpotContractRsp:
  2638. properties:
  2639. amount:
  2640. description: 金额 [1:一口价、3:暂定价]
  2641. type: number
  2642. attachment:
  2643. description: 附件
  2644. type: string
  2645. auditremark:
  2646. description: 审核意见
  2647. type: string
  2648. audittime:
  2649. description: 审核时间
  2650. type: string
  2651. brandname:
  2652. description: 品牌名称
  2653. type: string
  2654. buyuserid:
  2655. description: 采购方ID
  2656. type: integer
  2657. buyusername:
  2658. description: 采购方名称
  2659. type: string
  2660. contracctstatus:
  2661. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2662. type: integer
  2663. contractmargin:
  2664. description: 合同保证金
  2665. type: number
  2666. contractno:
  2667. description: 现货合同编号
  2668. type: string
  2669. contracttype:
  2670. description: 现货合同类型 - 1:采购 -1:销售
  2671. type: integer
  2672. convertfactor:
  2673. description: 标仓系数
  2674. type: number
  2675. createtime:
  2676. description: 创建时间
  2677. type: string
  2678. deliveryenddate:
  2679. description: 交收期(结束)
  2680. type: string
  2681. deliverygoodscode:
  2682. description: 现货品种代码
  2683. type: string
  2684. deliverygoodsid:
  2685. description: 现货品种ID
  2686. type: integer
  2687. deliverygoodsname:
  2688. description: 现货品种名称
  2689. type: string
  2690. deliverystartdate:
  2691. description: 交收期(开始)
  2692. type: string
  2693. enddate:
  2694. description: 点价结束日期 [2:点价 3:暂定价]
  2695. type: string
  2696. enumdicname:
  2697. description: 单位名称
  2698. type: string
  2699. goodscode:
  2700. description: 点价合约代码
  2701. type: string
  2702. goodsid:
  2703. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  2704. type: integer
  2705. goodsname:
  2706. description: 点价商品名称
  2707. type: string
  2708. margin:
  2709. description: 当前保证金
  2710. type: number
  2711. modelname:
  2712. description: 型号名称
  2713. type: string
  2714. price:
  2715. description: 价格\暂定价 [1:一口价、3:暂定价]
  2716. type: number
  2717. pricemove:
  2718. description: 升贴水 [2:点价 3:暂定价]
  2719. type: number
  2720. pricetype:
  2721. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2722. type: integer
  2723. producttype:
  2724. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2725. type: integer
  2726. qty:
  2727. description: 数量
  2728. type: number
  2729. remark:
  2730. description: 备注
  2731. type: string
  2732. selluserid:
  2733. description: 销售方ID
  2734. type: integer
  2735. sellusername:
  2736. description: 销售方名称
  2737. type: string
  2738. spotcontractid:
  2739. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  2740. type: string
  2741. spotgoodsbrandid:
  2742. description: 现货品牌ID
  2743. type: integer
  2744. spotgoodsdesc:
  2745. description: 商品型号
  2746. type: string
  2747. spotgoodsmodelid:
  2748. description: 现货型号ID
  2749. type: integer
  2750. startdate:
  2751. description: 点价开始日期 [2:点价 3:暂定价]
  2752. type: string
  2753. updatetime:
  2754. description: 更新时间
  2755. type: string
  2756. userid:
  2757. description: 机构ID
  2758. type: integer
  2759. wrstandardcode:
  2760. description: 现货商品代码
  2761. type: string
  2762. wrstandardid:
  2763. description: 现货商品ID
  2764. type: integer
  2765. wrstandardname:
  2766. description: 现货商品名称
  2767. type: string
  2768. type: object
  2769. ermcp.QryUserInfoRsp:
  2770. properties:
  2771. address:
  2772. description: 通讯地址
  2773. type: string
  2774. attachment1:
  2775. description: 附件1
  2776. type: string
  2777. audittime:
  2778. description: 审核时间
  2779. type: string
  2780. cardbackphotourl:
  2781. description: 证件反面图片地址
  2782. type: string
  2783. cardfrontphotourl:
  2784. description: 证件正面图片地址
  2785. type: string
  2786. cardnum:
  2787. description: 证件号码
  2788. type: string
  2789. cardtype:
  2790. description: 证件类型
  2791. type: integer
  2792. cardtypename:
  2793. description: 证件类型名称
  2794. type: string
  2795. cityid:
  2796. description: 市
  2797. type: integer
  2798. contactname:
  2799. description: 联系人
  2800. type: string
  2801. countryid:
  2802. description: 国家
  2803. type: integer
  2804. createtime:
  2805. description: 创建时间
  2806. type: string
  2807. customername:
  2808. description: 企业名称
  2809. type: string
  2810. districtid:
  2811. description: 区域
  2812. type: integer
  2813. email:
  2814. description: 邮件
  2815. type: string
  2816. legalpersonname:
  2817. description: 法人姓名(企业)
  2818. type: string
  2819. memberuserid:
  2820. description: 所属机构ID
  2821. type: integer
  2822. mobile:
  2823. description: 手机号码
  2824. type: string
  2825. modifytime:
  2826. description: 修改时间
  2827. type: string
  2828. nickname:
  2829. description: 昵称
  2830. type: string
  2831. provinceid:
  2832. description: 省
  2833. type: integer
  2834. remark:
  2835. description: 备注
  2836. type: string
  2837. status:
  2838. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2839. type: integer
  2840. statusdesc:
  2841. description: 账户状态中文描述
  2842. type: string
  2843. taxpayernum:
  2844. description: 纳税人识别号
  2845. type: string
  2846. telphone:
  2847. description: 联系电话
  2848. type: string
  2849. userid:
  2850. description: 用户ID
  2851. type: integer
  2852. userinfotype:
  2853. description: 客户类型
  2854. type: string
  2855. type: object
  2856. ermcp.QryWarehouseRsp:
  2857. properties:
  2858. address:
  2859. description: 详细地址
  2860. type: string
  2861. areauserid:
  2862. description: 所属机构
  2863. type: integer
  2864. autoid:
  2865. description: 自增ID(仓库ID)
  2866. type: integer
  2867. cityid:
  2868. description: 市
  2869. type: integer
  2870. contactname:
  2871. description: 联系人
  2872. type: string
  2873. contactnum:
  2874. description: 联系电话
  2875. type: string
  2876. countryid:
  2877. description: 国家
  2878. type: integer
  2879. createtime:
  2880. description: 创建时间
  2881. type: string
  2882. districtid:
  2883. description: 区
  2884. type: integer
  2885. hasvideo:
  2886. description: 是否有视频 - 0:无 1:有
  2887. type: integer
  2888. provinceid:
  2889. description: 省
  2890. type: integer
  2891. remark:
  2892. description: 审核备注
  2893. type: string
  2894. videourl:
  2895. description: 视频地址
  2896. type: string
  2897. warehousecode:
  2898. description: 仓库代码
  2899. type: string
  2900. warehousename:
  2901. description: 仓库名称
  2902. type: string
  2903. warehousestatus:
  2904. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2905. type: integer
  2906. warehousetype:
  2907. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2908. type: integer
  2909. type: object
  2910. ermcp.QryWrStandardDetailRsp:
  2911. properties:
  2912. gbList:
  2913. description: 品牌列表
  2914. items:
  2915. $ref: '#/definitions/models.GoodsBrand'
  2916. type: array
  2917. goodsList:
  2918. description: 关联交易商品列表
  2919. items:
  2920. $ref: '#/definitions/models.RelatedGoodsEx'
  2921. type: array
  2922. gtList:
  2923. description: 型号列表
  2924. items:
  2925. $ref: '#/definitions/models.GoodsTypeModel'
  2926. type: array
  2927. wrd:
  2928. $ref: '#/definitions/models.ErmcpWrstandard'
  2929. description: 基本信息
  2930. wrsList:
  2931. description: 套保信息列表
  2932. items:
  2933. $ref: '#/definitions/models.WRSConverTDetail'
  2934. type: array
  2935. type: object
  2936. ermcp.QryWrStandardRsp:
  2937. properties:
  2938. areauserid:
  2939. description: 所属机构
  2940. type: integer
  2941. createtime:
  2942. description: 创建时间
  2943. type: string
  2944. creatorid:
  2945. description: 创建人
  2946. type: integer
  2947. deliverygoodsid:
  2948. description: 品种ID
  2949. type: integer
  2950. enumdicname:
  2951. description: 单位名称
  2952. type: string
  2953. isvalid:
  2954. description: 是否有效 0-无效(停用) 1-有效(正常)
  2955. type: integer
  2956. minivalue:
  2957. description: 最小变动值
  2958. type: integer
  2959. minivaluedp:
  2960. description: 最小变动值小数位
  2961. type: integer
  2962. realminivalue:
  2963. description: 实际最小变动值
  2964. type: integer
  2965. realminivaluedp:
  2966. description: 实际最小变动值小数位
  2967. type: integer
  2968. remark:
  2969. description: 备注
  2970. type: string
  2971. unitid:
  2972. description: 单位ID
  2973. type: integer
  2974. updatetime:
  2975. description: 更新时间
  2976. type: string
  2977. wrstandardcode:
  2978. description: 现货商品代码
  2979. type: string
  2980. wrstandardid:
  2981. description: 现货商品ID(SEQ_WRSTANDARD)
  2982. type: integer
  2983. wrstandardname:
  2984. description: 现货商品名称
  2985. type: string
  2986. type: object
  2987. ermcp.QueryAreaStockApplySumRsp:
  2988. properties:
  2989. brandname:
  2990. description: 品牌名称
  2991. type: string
  2992. inouttype:
  2993. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  2994. type: integer
  2995. modelname:
  2996. description: 型号名称
  2997. type: string
  2998. spotcontractid:
  2999. description: 关联现货合同ID
  3000. type: string
  3001. spotgoodsbrandid:
  3002. description: 品牌id
  3003. type: integer
  3004. spotgoodsmodelid:
  3005. description: 型号id
  3006. type: integer
  3007. totalqty:
  3008. description: 总数量
  3009. type: number
  3010. type: object
  3011. ermcp.QueryErmcpTradePositionRsp:
  3012. properties:
  3013. agreeunit:
  3014. description: 合约单位
  3015. type: number
  3016. buyorsell:
  3017. description: 方向 - 0:买 1:卖
  3018. type: integer
  3019. curpositionqty:
  3020. description: 持仓(总仓数量, 期末头寸)
  3021. type: integer
  3022. curtdposition:
  3023. description: 今仓数量(期末今日头寸)
  3024. type: integer
  3025. curtdpositionenabled:
  3026. description: 今仓可用
  3027. type: integer
  3028. decimalplace:
  3029. description: 报价小数位
  3030. type: integer
  3031. enableqty:
  3032. description: 可用(总仓可用)
  3033. type: integer
  3034. exexchangename:
  3035. description: 外部交易所名称
  3036. type: string
  3037. goodscode:
  3038. description: 商品代码(内部)
  3039. type: string
  3040. goodsid:
  3041. description: 商品ID(自增ID SEQ_GOODS)
  3042. type: integer
  3043. goodsname:
  3044. description: 商品名称
  3045. type: string
  3046. last:
  3047. description: 现价
  3048. type: number
  3049. marketid:
  3050. description: 所属市场ID
  3051. type: integer
  3052. openaverageprice:
  3053. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  3054. type: number
  3055. opencost:
  3056. description: 开仓成本
  3057. type: number
  3058. openpl:
  3059. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  3060. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  3061. type: number
  3062. outgoodscode:
  3063. description: 商品代码(外部)
  3064. type: string
  3065. positionaverageprice:
  3066. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  3067. type: number
  3068. positioncost:
  3069. description: 持仓成本
  3070. type: number
  3071. positionpl:
  3072. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  3073. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  3074. type: number
  3075. positionplrate:
  3076. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  3077. type: number
  3078. usedmargin:
  3079. description: 占用保证金
  3080. type: number
  3081. type: object
  3082. ermcp.RealtimeExposurePositionRsp:
  3083. properties:
  3084. agreeunit:
  3085. description: 合约单位
  3086. type: string
  3087. areauserid:
  3088. description: 所属机构id
  3089. type: integer
  3090. convertratio:
  3091. description: 期货品种系数(折算系数)
  3092. type: number
  3093. curqty:
  3094. description: 当前持仓
  3095. type: integer
  3096. diffhedgeqty:
  3097. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  3098. type: number
  3099. diffqty:
  3100. description: 持仓变动量=当前持仓-昨日持仓
  3101. type: integer
  3102. goodscode:
  3103. description: 商品代码
  3104. type: string
  3105. goodsid:
  3106. description: 商品id
  3107. type: integer
  3108. goodsname:
  3109. description: 商品名称
  3110. type: string
  3111. middlegoodsid:
  3112. description: 套保商品id
  3113. type: integer
  3114. ydqty:
  3115. description: 昨日持仓
  3116. type: integer
  3117. type: object
  3118. ermcp.RealtimeExposureRsp:
  3119. properties:
  3120. AreaUserID:
  3121. description: 所属机构
  3122. type: integer
  3123. BuyFutureQty:
  3124. description: 买入期货数量
  3125. type: number
  3126. BuyPlanQty:
  3127. description: 采购计划数量
  3128. type: number
  3129. BuyPricedQty:
  3130. description: 采购合同已定价数量
  3131. type: number
  3132. MiddleGoodsCode:
  3133. description: 套保品种代码
  3134. type: string
  3135. MiddleGoodsHedgeRatio:
  3136. description: 应套保比例
  3137. type: number
  3138. MiddleGoodsID:
  3139. description: 套保品种
  3140. type: integer
  3141. MiddleGoodsName:
  3142. description: 套保品种名称
  3143. type: string
  3144. NeedHedgeExposoure:
  3145. description: 应套保敞口
  3146. type: number
  3147. NeedHedgeRatio:
  3148. description: 应套保敞口比例
  3149. type: number
  3150. OriBuyFutureQty:
  3151. description: 期初买入期货数量
  3152. type: number
  3153. OriBuyPlanQty:
  3154. description: 期初采购计划数量
  3155. type: number
  3156. OriBuyPricedQty:
  3157. description: 期初采购合同已定价数量
  3158. type: number
  3159. OriSellFutureQty:
  3160. description: 期初卖出期货数量
  3161. type: number
  3162. OriSellPlanQty:
  3163. description: 期初销售计划数量
  3164. type: number
  3165. OriSellPricedQty:
  3166. description: 期初销售合同已定价数量
  3167. type: number
  3168. SellFutureQty:
  3169. description: 卖出期货数量
  3170. type: number
  3171. SellPlanQty:
  3172. description: 销售计划数量
  3173. type: number
  3174. SellPricedQty:
  3175. description: 销售合同已定价数量
  3176. type: number
  3177. TotalExposure:
  3178. description: 总敞口
  3179. type: number
  3180. TotalFutureQty:
  3181. description: 期货数量
  3182. type: number
  3183. TotalHedgeRatio:
  3184. description: 敞口比例
  3185. type: number
  3186. TotalNeedHedgeQty:
  3187. description: 期货应套保量
  3188. type: number
  3189. TotalSpotQty:
  3190. description: 现货数量
  3191. type: number
  3192. diffFutuQty:
  3193. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  3194. type: number
  3195. diffSpotQty:
  3196. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  3197. type: number
  3198. enumdicname:
  3199. description: 单位名称
  3200. type: string
  3201. oriTotalFutuQty:
  3202. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  3203. type: number
  3204. oriTotalSpotQty:
  3205. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  3206. type: number
  3207. type: object
  3208. erms2.QueryArbitrageStrategyRsp:
  3209. properties:
  3210. applybasis:
  3211. description: 申请基差
  3212. type: number
  3213. asapplyid:
  3214. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  3215. type: string
  3216. asname:
  3217. description: 策略名称
  3218. type: string
  3219. asno:
  3220. description: 策略编号
  3221. type: string
  3222. basischangepl:
  3223. description: 基差变动损益[结算更新]
  3224. type: number
  3225. biztype:
  3226. description: 业务类型 - 1:正向套利 -1:反向套利
  3227. type: integer
  3228. closetradedate:
  3229. description: 完结交易日(yyyyMMdd)
  3230. type: string
  3231. curbasis:
  3232. description: 当前基差[结算更新]
  3233. type: number
  3234. deliverygoodsid:
  3235. description: 现货品种ID
  3236. type: integer
  3237. futureavgprice:
  3238. description: 期货建仓均价
  3239. type: number
  3240. futurecloseamount:
  3241. description: 期货平仓金额
  3242. type: number
  3243. futurecloseqty:
  3244. description: 期货平仓数量
  3245. type: number
  3246. futureopenamount:
  3247. description: 期货开仓金额
  3248. type: number
  3249. futureopenqty:
  3250. description: 期货开仓数量
  3251. type: number
  3252. futurepl:
  3253. description: 期货总盈亏[结算更新]
  3254. type: number
  3255. futureqty:
  3256. description: 期货持仓数量
  3257. type: number
  3258. futurequote:
  3259. description: 期货额度
  3260. type: number
  3261. goodsgroupid:
  3262. description: 期货品种ID
  3263. type: integer
  3264. marketid:
  3265. description: 市场ID
  3266. type: integer
  3267. netexposure:
  3268. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  3269. type: number
  3270. netexposurepl:
  3271. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  3272. type: number
  3273. netexposurerate:
  3274. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  3275. type: number
  3276. openbasis:
  3277. description: 建仓基差
  3278. type: number
  3279. pricedspotqty:
  3280. description: 已定价现货数量
  3281. type: number
  3282. pricedspotqtynotax:
  3283. description: 已定价现货不含税数量
  3284. type: number
  3285. remark:
  3286. description: 备注
  3287. type: string
  3288. spotavgprice:
  3289. description: 现货均价
  3290. type: number
  3291. spotbuyamount:
  3292. description: 现货采购金额
  3293. type: number
  3294. spotbuyqty:
  3295. description: 现货采购数量
  3296. type: number
  3297. spotpl:
  3298. description: 现货总盈亏[结算更新]
  3299. type: number
  3300. spotquota:
  3301. description: 现货额度
  3302. type: number
  3303. spotsellamount:
  3304. description: 现货销售金额
  3305. type: number
  3306. spotsellqty:
  3307. description: 现货销售数量
  3308. type: number
  3309. spotusedquota:
  3310. description: 现货占用资金
  3311. type: number
  3312. strategystatus:
  3313. description: 策略状态 - 0:未结束 1:已结束
  3314. type: integer
  3315. totalpl:
  3316. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  3317. type: number
  3318. tradedate:
  3319. description: 交易日(yyyyMMdd)
  3320. type: string
  3321. updatetime:
  3322. description: 更新时间
  3323. type: string
  3324. usedquota:
  3325. description: 已占用资金
  3326. type: number
  3327. userid:
  3328. description: 所属机构
  3329. type: integer
  3330. required:
  3331. - asapplyid
  3332. type: object
  3333. erms2.QueryInnerTradeDetailRsp:
  3334. properties:
  3335. accountid:
  3336. description: 账号ID
  3337. type: integer
  3338. agreeunit:
  3339. description: 合约单位
  3340. type: number
  3341. asapplyid:
  3342. description: 策略申请ID
  3343. type: integer
  3344. asname:
  3345. description: 策略名称
  3346. type: string
  3347. asno:
  3348. description: 策略编号
  3349. type: string
  3350. buyorsell:
  3351. description: 方向 - 0:买 1:卖
  3352. type: integer
  3353. channelbuildtype:
  3354. description: 委托单据类型 0:无 1:建仓 2:平仓
  3355. type: integer
  3356. closetype:
  3357. description: 平仓方式 - 0:无 1:平今 2:平昨
  3358. type: integer
  3359. decimalplace:
  3360. description: 报价小数位
  3361. type: integer
  3362. detailtype:
  3363. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  3364. type: integer
  3365. exexchangecode:
  3366. description: 外部交易所代码
  3367. type: string
  3368. exexchangename:
  3369. description: 外部交易所名称
  3370. type: string
  3371. goodscode:
  3372. description: 商品代码(合约)
  3373. type: string
  3374. goodsgroupid:
  3375. description: 商品组ID(品种ID)
  3376. type: integer
  3377. goodsgroupname:
  3378. description: 商品组名称(品种)
  3379. type: string
  3380. goodsid:
  3381. description: 商品ID
  3382. type: integer
  3383. goodsname:
  3384. description: 商品名称(合约)
  3385. type: string
  3386. goodunit:
  3387. description: 报价单位
  3388. type: string
  3389. marketid:
  3390. description: 市场ID
  3391. type: integer
  3392. orderid:
  3393. description: 委托单号
  3394. type: string
  3395. outgoodscode:
  3396. description: 商品代码(外部)
  3397. type: string
  3398. relatedouttradeid:
  3399. description: 关联外部成交单ID
  3400. type: string
  3401. remark:
  3402. description: 备注
  3403. type: string
  3404. spotcontractid:
  3405. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  3406. type: integer
  3407. spotcontractno:
  3408. description: 现货合同编号
  3409. type: string
  3410. tradeid:
  3411. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3412. type: string
  3413. tradeprice:
  3414. description: 成交价格
  3415. type: number
  3416. tradeqty:
  3417. description: 成交数量
  3418. type: integer
  3419. tradetime:
  3420. description: 成交时间
  3421. type: string
  3422. updatetime:
  3423. description: 更新时间
  3424. type: string
  3425. required:
  3426. - asapplyid
  3427. - buyorsell
  3428. - goodscode
  3429. - goodsgroupid
  3430. - goodsgroupname
  3431. - goodsname
  3432. - tradeid
  3433. type: object
  3434. erms2.QuerySpotContractRsp:
  3435. properties:
  3436. accountid:
  3437. description: 资金账户ID
  3438. type: integer
  3439. areauserid:
  3440. description: 所属机构
  3441. type: integer
  3442. closedate:
  3443. description: 终止日期
  3444. type: string
  3445. closeremark:
  3446. description: 结束备注
  3447. type: string
  3448. closetradedate:
  3449. description: 完结交易日(yyyyMMdd)
  3450. type: string
  3451. closetype:
  3452. description: 终止类型 - 1:违约 2:提前终止
  3453. type: integer
  3454. contractamount:
  3455. description: 合同金额
  3456. type: number
  3457. contractattachment:
  3458. description: 合同附件
  3459. type: string
  3460. contractno:
  3461. description: 现货合同编号
  3462. type: string
  3463. contractqty:
  3464. description: 合同数量(数值) (用于计算)
  3465. type: number
  3466. contractqtychar:
  3467. description: 合同数量\已订价数量 (用于显示)
  3468. type: string
  3469. contractstatus:
  3470. description: 合同状态 - 0:未结束 1:已结束
  3471. type: integer
  3472. contracttype:
  3473. description: 现货合同类型 - 1:采购合同 -1:销售合同
  3474. type: integer
  3475. customeraccountid:
  3476. description: 客户资金账户ID
  3477. type: integer
  3478. customeruserid:
  3479. description: 客户ID
  3480. type: integer
  3481. deliverygoodsdesc:
  3482. description: 品种说明
  3483. type: string
  3484. deliverygoodsid:
  3485. description: 现货品种ID
  3486. type: integer
  3487. handlestatus:
  3488. description: 处理状态
  3489. type: integer
  3490. invoiceatt:
  3491. description: 发票附件
  3492. type: string
  3493. invoicedatetime:
  3494. description: 开收票更新时间
  3495. type: string
  3496. invoiceopentime:
  3497. description: 开票时间
  3498. type: string
  3499. invoiceremark:
  3500. description: 发票备注
  3501. type: string
  3502. invoicestatus:
  3503. description: 开收票状态 - 0:未开票 1:已开票
  3504. type: integer
  3505. lastdate:
  3506. description: 交货时间
  3507. type: string
  3508. marketid:
  3509. description: 市场ID
  3510. type: integer
  3511. paydatetime:
  3512. description: 收付款更新时间
  3513. type: string
  3514. payremark:
  3515. description: 收付款备注
  3516. type: string
  3517. paystatus:
  3518. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  3519. type: integer
  3520. positionqty:
  3521. description: 头寸数量 - 合同数量去小数部分
  3522. type: integer
  3523. producttype:
  3524. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3525. type: integer
  3526. relatedqty:
  3527. description: 已关联数量
  3528. type: number
  3529. relatedstatus:
  3530. description: 关联完结状态 - 0:未结束 1:已结束
  3531. type: integer
  3532. remark:
  3533. description: 备注
  3534. type: string
  3535. signdate:
  3536. description: 签订日期
  3537. type: string
  3538. spotcontractid:
  3539. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  3540. type: string
  3541. spotdatetime:
  3542. description: 收发货更新时间
  3543. type: string
  3544. spotprice:
  3545. description: 价格
  3546. type: number
  3547. spotremark:
  3548. description: 收发货备注
  3549. type: string
  3550. spotstatus:
  3551. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  3552. type: integer
  3553. tradedate:
  3554. description: 交易日(yyyyMMdd)
  3555. type: string
  3556. userid:
  3557. description: 业务员用户ID
  3558. type: integer
  3559. warehouseid:
  3560. description: 仓库ID
  3561. type: integer
  3562. wrfactortypeid:
  3563. description: 仓单要素类型ID
  3564. type: integer
  3565. wrstandardid:
  3566. description: 仓单标准ID(SEQ_WRSTANDARD)
  3567. type: integer
  3568. required:
  3569. - spotcontractid
  3570. type: object
  3571. erms3.AddErms2ASApplyReq:
  3572. properties:
  3573. applybasis:
  3574. description: 申请基差
  3575. type: number
  3576. applystatus:
  3577. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3578. type: integer
  3579. asapplyid:
  3580. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  3581. type: integer
  3582. asname:
  3583. description: 策略名称
  3584. type: string
  3585. asno:
  3586. description: 策略编号
  3587. type: string
  3588. auditid:
  3589. description: 审核人
  3590. type: integer
  3591. auditremark:
  3592. description: 审核备注
  3593. type: string
  3594. audittime:
  3595. description: 审核时间
  3596. type: string
  3597. biztype:
  3598. description: 业务类型 - 1:正向套利 2:反向套利
  3599. type: integer
  3600. createtime:
  3601. description: 创建时间
  3602. type: string
  3603. creatorid:
  3604. description: 创建人
  3605. type: integer
  3606. deliverygoodsid:
  3607. description: 现货品种ID
  3608. type: integer
  3609. futurequote:
  3610. description: 期货额度
  3611. type: number
  3612. goodsgroupid:
  3613. description: 期货品种ID
  3614. type: integer
  3615. marketid:
  3616. description: 市场ID
  3617. type: integer
  3618. remark:
  3619. description: 备注
  3620. type: string
  3621. spotquota:
  3622. description: 现货额度
  3623. type: number
  3624. tradedate:
  3625. description: 交易日(yyyyMMdd)
  3626. type: string
  3627. userid:
  3628. description: 所属机构
  3629. type: integer
  3630. required:
  3631. - asapplyid
  3632. type: object
  3633. erms3.AddErms2SpotTradeApplyReq:
  3634. properties:
  3635. applyjsondetail:
  3636. description: 申请明细(JSON)
  3637. type: string
  3638. applystatus:
  3639. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3640. type: integer
  3641. areauserid:
  3642. description: 所属机构
  3643. type: integer
  3644. auditid:
  3645. description: 审核人
  3646. type: integer
  3647. auditremark:
  3648. description: 审核备注
  3649. type: string
  3650. audittime:
  3651. description: 审核时间
  3652. type: string
  3653. createtime:
  3654. description: 创建时间
  3655. type: string
  3656. creatorid:
  3657. description: 创建人
  3658. type: integer
  3659. deliverygoodsid:
  3660. description: 现货品种ID
  3661. type: integer
  3662. futureaccountid:
  3663. description: 期货资金账户
  3664. type: integer
  3665. goodsgroupid:
  3666. description: 期货品种
  3667. type: integer
  3668. marketid:
  3669. description: 市场ID
  3670. type: integer
  3671. remark:
  3672. description: 备注
  3673. type: string
  3674. spotaccountid:
  3675. description: 现货资金账户
  3676. type: integer
  3677. spottradeid:
  3678. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  3679. type: integer
  3680. spottradename:
  3681. description: 业务名称
  3682. type: string
  3683. spottradeno:
  3684. description: 业务编号
  3685. type: string
  3686. tradedate:
  3687. description: 交易日(yyyyMMdd)
  3688. type: string
  3689. wrstandardid:
  3690. description: 仓单标准ID
  3691. type: integer
  3692. required:
  3693. - spottradeid
  3694. type: object
  3695. erms3.AddSpotContractApplyReq:
  3696. properties:
  3697. accountid:
  3698. description: 资金账户ID
  3699. type: integer
  3700. areauserid:
  3701. description: 所属机构
  3702. type: integer
  3703. contractattachment:
  3704. description: 合同附件
  3705. type: string
  3706. contractno:
  3707. description: 现货合同编号
  3708. type: string
  3709. contracttype:
  3710. description: 现货合同类型 - 1:采购 -1:销售
  3711. type: integer
  3712. creatorid:
  3713. description: 申请人
  3714. type: integer
  3715. customeraccountid:
  3716. description: 客户资金账户ID
  3717. type: integer
  3718. customeruserid:
  3719. description: 客户ID
  3720. type: integer
  3721. details:
  3722. description: 明细
  3723. items:
  3724. $ref: '#/definitions/erms3.SoptContractDetail'
  3725. type: array
  3726. orimargin:
  3727. description: 初始保证金
  3728. type: number
  3729. remark:
  3730. description: 备注
  3731. type: string
  3732. signdate:
  3733. description: 签订日期
  3734. type: string
  3735. required:
  3736. - accountid
  3737. - areauserid
  3738. - contractno
  3739. - contracttype
  3740. - customeraccountid
  3741. - customeruserid
  3742. - details
  3743. - orimargin
  3744. - signdate
  3745. type: object
  3746. erms3.AddSpotContractApplyRsp:
  3747. properties:
  3748. contractno:
  3749. description: 现货合同编号
  3750. type: string
  3751. spotcontractid:
  3752. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  3753. type: integer
  3754. required:
  3755. - contractno
  3756. type: object
  3757. erms3.AddUserInfoApplyReq:
  3758. properties:
  3759. accountid:
  3760. description: 交易系统帐号Id (加密存储)
  3761. type: integer
  3762. areacode:
  3763. description: 机构代码
  3764. type: string
  3765. areaid:
  3766. description: 机构Id
  3767. type: integer
  3768. attachment1:
  3769. description: 附件1
  3770. type: string
  3771. attachment2:
  3772. description: 附件2
  3773. type: string
  3774. attachment3:
  3775. description: 附件3
  3776. type: string
  3777. attachment4:
  3778. description: 附件4
  3779. type: string
  3780. attachment5:
  3781. description: 附件5
  3782. type: string
  3783. auditedby:
  3784. description: 审核人
  3785. type: string
  3786. auditime:
  3787. description: 审核时间
  3788. type: string
  3789. bankaccount:
  3790. description: 银行帐号 (加密存储)
  3791. type: string
  3792. bankaccountname:
  3793. description: 收款人名称
  3794. type: string
  3795. bankcardbackphotourl:
  3796. description: 银行卡背面照地址
  3797. type: string
  3798. bankcardfrontphotourl:
  3799. description: 银行卡正面照地址
  3800. type: string
  3801. bankid:
  3802. description: 银行编码
  3803. type: string
  3804. bankname:
  3805. description: 银行名称
  3806. type: string
  3807. bankpictureurl:
  3808. description: 银行卡正面地址
  3809. type: string
  3810. biznature:
  3811. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3812. type: integer
  3813. bizscope:
  3814. description: 企业经营范围(企业)
  3815. type: string
  3816. biztype:
  3817. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3818. type: integer
  3819. brokerid:
  3820. description: 经纪人ID(加密存储)
  3821. type: string
  3822. cardaddress:
  3823. description: 证件地址 (加密存储)
  3824. type: string
  3825. cardbackphotourl:
  3826. description: 背面证件照地址
  3827. type: string
  3828. cardfrontphotourl:
  3829. description: 正面证件照地址
  3830. type: string
  3831. cardnum:
  3832. description: 证件号码 (加密存储)
  3833. type: string
  3834. cardtype:
  3835. description: 证件类型
  3836. type: integer
  3837. cityid:
  3838. description: 市
  3839. type: integer
  3840. company:
  3841. description: 公司(个人)
  3842. type: string
  3843. contactcardbackphotourl:
  3844. description: 联系人证件背面图片地址
  3845. type: string
  3846. contactcardfrontphotourl:
  3847. description: 联系人证件正面图片地址
  3848. type: string
  3849. contactname:
  3850. description: 联系人
  3851. type: string
  3852. countryid:
  3853. description: 国家
  3854. type: integer
  3855. createtime:
  3856. description: 开户申请时间
  3857. type: string
  3858. cusbankid:
  3859. description: 签约类型
  3860. type: string
  3861. cusbankname:
  3862. description: 签约类型名称
  3863. type: string
  3864. customername:
  3865. description: 客户名称(企业名称)
  3866. type: string
  3867. districtid:
  3868. description: 地区
  3869. type: integer
  3870. email:
  3871. description: Email地址(加密存储)
  3872. type: string
  3873. halfbodyphotourl:
  3874. description: 半身照地址
  3875. type: string
  3876. headurl:
  3877. description: 头像地址
  3878. type: string
  3879. ipaddress:
  3880. description: IP地址
  3881. type: string
  3882. isvalidate:
  3883. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3884. type: string
  3885. legalcardbackphotourl:
  3886. description: 法人身份证背面照地址
  3887. type: string
  3888. legalcardfrontphotourl:
  3889. description: 法人身份证正面照地址
  3890. type: string
  3891. legalpersonname:
  3892. description: 法人姓名(企业)
  3893. type: string
  3894. logincode:
  3895. description: 登录帐号 (加密存储)
  3896. type: string
  3897. memberareaid:
  3898. description: 所属会员ID
  3899. type: integer
  3900. mobile2:
  3901. description: 手机号码[明文-尚志]
  3902. type: string
  3903. mobilephone:
  3904. description: 手机号码 (加密存储)
  3905. type: string
  3906. modifiedby:
  3907. description: 修改人帐号
  3908. type: integer
  3909. modifiedtime:
  3910. description: 修改时间
  3911. type: string
  3912. nickname:
  3913. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3914. type: string
  3915. openmode:
  3916. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3917. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3918. type: integer
  3919. otherurl:
  3920. description: 其它图片地址[使用分号分隔]
  3921. type: string
  3922. postalcode:
  3923. description: 邮政编码
  3924. type: string
  3925. provinceid:
  3926. description: 省
  3927. type: integer
  3928. proxystatementurl:
  3929. description: 授权委托书
  3930. type: string
  3931. qq:
  3932. description: QQ(加密存储
  3933. type: string
  3934. referral:
  3935. description: 推荐人编码
  3936. type: string
  3937. remark:
  3938. description: 备注
  3939. type: string
  3940. removebeforestatus:
  3941. description: REMOVEBEFORESTATUS
  3942. type: integer
  3943. sex:
  3944. description: 性别 - 0:女 1:男
  3945. type: integer
  3946. signedstatus:
  3947. description: 账户一号签签约状态
  3948. type: integer
  3949. signpdfurl:
  3950. description: 签约pdf文件
  3951. type: string
  3952. subbranch:
  3953. description: 开户支行
  3954. type: string
  3955. telphone:
  3956. description: 联系电话(加密存储)
  3957. type: string
  3958. userid:
  3959. description: 用户ID(自增ID)
  3960. type: integer
  3961. userinfotype:
  3962. description: 用户信息类型 - 1:个人 2:企业
  3963. type: integer
  3964. username:
  3965. description: 用户姓名
  3966. type: string
  3967. userstate:
  3968. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3969. type: integer
  3970. usertype:
  3971. description: 用户类型 - 1:投资者 2:机构
  3972. type: integer
  3973. videourl:
  3974. description: 视频地址
  3975. type: string
  3976. wechat:
  3977. description: 微信号 (加密存储)
  3978. type: string
  3979. required:
  3980. - userid
  3981. type: object
  3982. erms3.CustomerInfo:
  3983. properties:
  3984. accountids:
  3985. description: 资金账户ID列表
  3986. items:
  3987. type: integer
  3988. type: array
  3989. customername:
  3990. description: 名称(企业名称)
  3991. type: string
  3992. mobile:
  3993. description: 手机号码
  3994. type: string
  3995. userid:
  3996. description: 用户ID
  3997. type: integer
  3998. required:
  3999. - userid
  4000. type: object
  4001. erms3.ModifyUserInfoApplyReq:
  4002. properties:
  4003. accountid:
  4004. description: 交易系统帐号Id (加密存储)
  4005. type: integer
  4006. areacode:
  4007. description: 机构代码
  4008. type: string
  4009. areaid:
  4010. description: 机构Id
  4011. type: integer
  4012. attachment1:
  4013. description: 附件1
  4014. type: string
  4015. attachment2:
  4016. description: 附件2
  4017. type: string
  4018. attachment3:
  4019. description: 附件3
  4020. type: string
  4021. attachment4:
  4022. description: 附件4
  4023. type: string
  4024. attachment5:
  4025. description: 附件5
  4026. type: string
  4027. auditedby:
  4028. description: 审核人
  4029. type: string
  4030. auditime:
  4031. description: 审核时间
  4032. type: string
  4033. bankaccount:
  4034. description: 银行帐号 (加密存储)
  4035. type: string
  4036. bankaccountname:
  4037. description: 收款人名称
  4038. type: string
  4039. bankcardbackphotourl:
  4040. description: 银行卡背面照地址
  4041. type: string
  4042. bankcardfrontphotourl:
  4043. description: 银行卡正面照地址
  4044. type: string
  4045. bankid:
  4046. description: 银行编码
  4047. type: string
  4048. bankname:
  4049. description: 银行名称
  4050. type: string
  4051. bankpictureurl:
  4052. description: 银行卡正面地址
  4053. type: string
  4054. biznature:
  4055. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4056. type: integer
  4057. bizscope:
  4058. description: 企业经营范围(企业)
  4059. type: string
  4060. biztype:
  4061. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  4062. type: integer
  4063. brokerid:
  4064. description: 经纪人ID(加密存储)
  4065. type: string
  4066. cardaddress:
  4067. description: 证件地址 (加密存储)
  4068. type: string
  4069. cardbackphotourl:
  4070. description: 背面证件照地址
  4071. type: string
  4072. cardfrontphotourl:
  4073. description: 正面证件照地址
  4074. type: string
  4075. cardnum:
  4076. description: 证件号码 (加密存储)
  4077. type: string
  4078. cardtype:
  4079. description: 证件类型
  4080. type: integer
  4081. cityid:
  4082. description: 市
  4083. type: integer
  4084. company:
  4085. description: 公司(个人)
  4086. type: string
  4087. contactcardbackphotourl:
  4088. description: 联系人证件背面图片地址
  4089. type: string
  4090. contactcardfrontphotourl:
  4091. description: 联系人证件正面图片地址
  4092. type: string
  4093. contactname:
  4094. description: 联系人
  4095. type: string
  4096. countryid:
  4097. description: 国家
  4098. type: integer
  4099. createtime:
  4100. description: 开户申请时间
  4101. type: string
  4102. cusbankid:
  4103. description: 签约类型
  4104. type: string
  4105. cusbankname:
  4106. description: 签约类型名称
  4107. type: string
  4108. customername:
  4109. description: 客户名称(企业名称)
  4110. type: string
  4111. districtid:
  4112. description: 地区
  4113. type: integer
  4114. email:
  4115. description: Email地址(加密存储)
  4116. type: string
  4117. halfbodyphotourl:
  4118. description: 半身照地址
  4119. type: string
  4120. headurl:
  4121. description: 头像地址
  4122. type: string
  4123. ipaddress:
  4124. description: IP地址
  4125. type: string
  4126. isvalidate:
  4127. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  4128. type: string
  4129. legalcardbackphotourl:
  4130. description: 法人身份证背面照地址
  4131. type: string
  4132. legalcardfrontphotourl:
  4133. description: 法人身份证正面照地址
  4134. type: string
  4135. legalpersonname:
  4136. description: 法人姓名(企业)
  4137. type: string
  4138. logincode:
  4139. description: 登录帐号 (加密存储)
  4140. type: string
  4141. memberareaid:
  4142. description: 所属会员ID
  4143. type: integer
  4144. mobile2:
  4145. description: 手机号码[明文-尚志]
  4146. type: string
  4147. mobilephone:
  4148. description: 手机号码 (加密存储)
  4149. type: string
  4150. modifiedby:
  4151. description: 修改人帐号
  4152. type: integer
  4153. modifiedtime:
  4154. description: 修改时间
  4155. type: string
  4156. nickname:
  4157. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  4158. type: string
  4159. openmode:
  4160. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  4161. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  4162. type: integer
  4163. otherurl:
  4164. description: 其它图片地址[使用分号分隔]
  4165. type: string
  4166. postalcode:
  4167. description: 邮政编码
  4168. type: string
  4169. provinceid:
  4170. description: 省
  4171. type: integer
  4172. proxystatementurl:
  4173. description: 授权委托书
  4174. type: string
  4175. qq:
  4176. description: QQ(加密存储
  4177. type: string
  4178. referral:
  4179. description: 推荐人编码
  4180. type: string
  4181. remark:
  4182. description: 备注
  4183. type: string
  4184. removebeforestatus:
  4185. description: REMOVEBEFORESTATUS
  4186. type: integer
  4187. sex:
  4188. description: 性别 - 0:女 1:男
  4189. type: integer
  4190. signedstatus:
  4191. description: 账户一号签签约状态
  4192. type: integer
  4193. signpdfurl:
  4194. description: 签约pdf文件
  4195. type: string
  4196. subbranch:
  4197. description: 开户支行
  4198. type: string
  4199. telphone:
  4200. description: 联系电话(加密存储)
  4201. type: string
  4202. userid:
  4203. description: 用户ID(自增ID)
  4204. type: integer
  4205. userinfotype:
  4206. description: 用户信息类型 - 1:个人 2:企业
  4207. type: integer
  4208. username:
  4209. description: 用户姓名
  4210. type: string
  4211. userstate:
  4212. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  4213. type: integer
  4214. usertype:
  4215. description: 用户类型 - 1:投资者 2:机构
  4216. type: integer
  4217. videourl:
  4218. description: 视频地址
  4219. type: string
  4220. wechat:
  4221. description: 微信号 (加密存储)
  4222. type: string
  4223. required:
  4224. - userid
  4225. type: object
  4226. erms3.QryAuditContractRsp:
  4227. properties:
  4228. accountid:
  4229. description: 交易员ID
  4230. type: string
  4231. applystatus:
  4232. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  4233. type: integer
  4234. curdeliveryqty:
  4235. description: 未交收量
  4236. type: integer
  4237. customername:
  4238. description: 采购方ID
  4239. type: string
  4240. deliverygoodsid:
  4241. description: 品种ID
  4242. type: string
  4243. deliveryqty:
  4244. description: 交收量
  4245. type: integer
  4246. enumdicname:
  4247. description: 单位名称
  4248. type: string
  4249. matchaccountid:
  4250. description: 业务员ID
  4251. type: string
  4252. matchcustomername:
  4253. description: 销售方ID
  4254. type: string
  4255. pricedqty:
  4256. description: 定价量
  4257. type: number
  4258. signdate:
  4259. description: 签订日期
  4260. type: string
  4261. spotcontractid:
  4262. description: 合同ID
  4263. type: string
  4264. totaldqty:
  4265. description: 合同量
  4266. type: number
  4267. unpricedqty:
  4268. description: 未定价量
  4269. type: number
  4270. wrstandardname:
  4271. description: 商品名称
  4272. type: string
  4273. required:
  4274. - matchcustomername
  4275. - spotcontractid
  4276. type: object
  4277. erms3.QryPendingBizRsp:
  4278. properties:
  4279. accountid:
  4280. description: 现货账户
  4281. type: string
  4282. areaname:
  4283. description: 所属部门
  4284. type: string
  4285. bizid:
  4286. description: 业务ID
  4287. type: string
  4288. bizname:
  4289. description: 业务名称
  4290. type: string
  4291. status:
  4292. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  4293. type: integer
  4294. type:
  4295. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  4296. type: integer
  4297. type: object
  4298. erms3.QueryBusinessInfoRsp:
  4299. properties:
  4300. businessid:
  4301. description: 业务ID.
  4302. type: integer
  4303. buyamount:
  4304. description: 采购额.
  4305. type: number
  4306. buyqty:
  4307. description: 采购量.
  4308. type: string
  4309. futurepl:
  4310. description: 期货盈亏.
  4311. type: number
  4312. futureqty:
  4313. description: 期货敞口.
  4314. type: string
  4315. goodsid:
  4316. description: 商品名称/商品代码.
  4317. type: string
  4318. hedgingqty:
  4319. description: 套保量.
  4320. type: string
  4321. sellamount:
  4322. description: 销售额.
  4323. type: number
  4324. sellqty:
  4325. description: 销售量.
  4326. type: string
  4327. spotmarketvalue:
  4328. description: 现货市值.
  4329. type: number
  4330. spotpl:
  4331. description: 浮动权益.
  4332. type: number
  4333. spotqty:
  4334. description: 现货量.
  4335. type: string
  4336. statu:
  4337. description: 状态,0-未结束 1-已结束.
  4338. type: integer
  4339. totalpl:
  4340. description: 总盈亏.
  4341. type: number
  4342. totalqty:
  4343. description: 总敞口.
  4344. type: string
  4345. type:
  4346. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  4347. type: integer
  4348. type: object
  4349. erms3.QuerySpotContractAppleFormRsp:
  4350. properties:
  4351. goodses:
  4352. description: 合约列表
  4353. items:
  4354. $ref: '#/definitions/models.GoodsIDAndName'
  4355. type: array
  4356. oppositeusers:
  4357. description: 对方账号列表
  4358. items:
  4359. $ref: '#/definitions/erms3.CustomerInfo'
  4360. type: array
  4361. ouruser:
  4362. $ref: '#/definitions/erms3.CustomerInfo'
  4363. description: 我方账号
  4364. warehouseinfos:
  4365. description: 仓库信息列表
  4366. items:
  4367. $ref: '#/definitions/models.Warehouseinfo'
  4368. type: array
  4369. wrstandards:
  4370. description: 仓单标准列表
  4371. items:
  4372. $ref: '#/definitions/models.WRStandardInfo'
  4373. type: array
  4374. type: object
  4375. erms3.QuerySpotContractInfoRsp:
  4376. properties:
  4377. accountid:
  4378. description: 表示交易员ID.
  4379. type: integer
  4380. curdeliveryqty:
  4381. description: 表示未交收量.
  4382. type: number
  4383. customername:
  4384. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  4385. type: string
  4386. deliverygoodsid:
  4387. description: 表示品种ID.
  4388. type: string
  4389. deliveryqty:
  4390. description: 表示交收量.
  4391. type: number
  4392. matchaccountid:
  4393. description: 表示业务员ID.
  4394. type: integer
  4395. matchcustomername:
  4396. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  4397. type: string
  4398. priceqty:
  4399. description: 表示定价量.
  4400. type: number
  4401. relatedbizid:
  4402. description: 表示业务ID.
  4403. type: string
  4404. signdate:
  4405. description: 表示签订日期.
  4406. type: string
  4407. spotcontractid:
  4408. description: 合同ID
  4409. type: string
  4410. status:
  4411. description: 表示状态,0-履约中 1-已完成.
  4412. type: integer
  4413. totalqty:
  4414. description: 表示合同量.
  4415. type: number
  4416. unpricedqty:
  4417. description: 表示未定价量.
  4418. type: number
  4419. wrstandardname:
  4420. description: 表示商品ID.
  4421. type: string
  4422. type: object
  4423. erms3.QueryUserInfoAppliesRsp:
  4424. properties:
  4425. biznature:
  4426. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4427. type: integer
  4428. contactname:
  4429. description: 联系人
  4430. type: string
  4431. createtime:
  4432. description: 开户申请时间
  4433. type: string
  4434. userid:
  4435. description: 用户ID(自增ID)
  4436. type: integer
  4437. userinfotype:
  4438. description: 用户信息类型 - 1:个人 2:企业
  4439. type: integer
  4440. username:
  4441. description: 用户姓名
  4442. type: string
  4443. userstate:
  4444. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  4445. type: integer
  4446. required:
  4447. - userid
  4448. type: object
  4449. erms3.QueryUserInfosRsp:
  4450. properties:
  4451. biznature:
  4452. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4453. type: integer
  4454. contactname:
  4455. description: 联系人
  4456. type: string
  4457. customername:
  4458. description: 客户名称(企业名称)
  4459. type: string
  4460. userid:
  4461. description: 用户ID
  4462. type: integer
  4463. userinfotype:
  4464. description: 用户信息类型 - 1:个人 2:企业
  4465. type: integer
  4466. userstatus:
  4467. description: 用户状态 - 1:正常 2:注销
  4468. type: integer
  4469. required:
  4470. - userid
  4471. type: object
  4472. erms3.SoptContractDetail:
  4473. properties:
  4474. deliverygoodsdesc:
  4475. description: 现货品种说明
  4476. type: string
  4477. deliverygoodsid:
  4478. description: 现货品种ID
  4479. type: integer
  4480. deliverygoodsname:
  4481. description: 现货品种名称
  4482. type: string
  4483. pointdesc:
  4484. description: 点价描述
  4485. type: string
  4486. producttype:
  4487. description: 产品类型 1:标准仓单 2:等标 3:非标
  4488. type: integer
  4489. producttypename:
  4490. description: 产品类型名称
  4491. type: string
  4492. spotPointOrderVoList:
  4493. description: 点价列表
  4494. items:
  4495. $ref: '#/definitions/erms3.SpotPointOrder'
  4496. type: array
  4497. spotPriceOrderList:
  4498. description: 定价列表
  4499. items:
  4500. $ref: '#/definitions/erms3.SpotPriceOrder'
  4501. type: array
  4502. unitname:
  4503. description: 单位名称
  4504. type: string
  4505. warehouseid:
  4506. description: 仓库ID
  4507. type: integer
  4508. warehousename:
  4509. description: 仓库名称
  4510. type: string
  4511. wrstandardid:
  4512. description: 交易标的ID
  4513. type: integer
  4514. wrstandardname:
  4515. description: 交易标的名称
  4516. type: string
  4517. required:
  4518. - deliverygoodsid
  4519. - producttype
  4520. - unitname
  4521. - warehouseid
  4522. - wrstandardid
  4523. - wrstandardname
  4524. type: object
  4525. erms3.SpotPointOrder:
  4526. properties:
  4527. basic:
  4528. description: 基差
  4529. type: number
  4530. deliveryenddate:
  4531. description: 交收结束日期
  4532. type: string
  4533. deliverystartdate:
  4534. description: 交收开始日期
  4535. type: string
  4536. enddate:
  4537. description: 点价结束日期
  4538. type: string
  4539. goodsid:
  4540. description: 商品ID
  4541. type: integer
  4542. goodsname:
  4543. description: 商品名称
  4544. type: string
  4545. qty:
  4546. description: 数量
  4547. type: number
  4548. startdate:
  4549. description: 点价开始日期
  4550. type: string
  4551. required:
  4552. - basic
  4553. - goodsid
  4554. - qty
  4555. type: object
  4556. erms3.SpotPriceOrder:
  4557. properties:
  4558. amount:
  4559. description: 金额
  4560. type: number
  4561. deliveryenddate:
  4562. description: 交收结束日期
  4563. type: string
  4564. deliverystartdate:
  4565. description: 交收开始日期
  4566. type: string
  4567. price:
  4568. description: 价格
  4569. type: number
  4570. qty:
  4571. description: 数量
  4572. type: number
  4573. required:
  4574. - amount
  4575. - price
  4576. - qty
  4577. type: object
  4578. hsby.GetHsbyMyCountRsp:
  4579. properties:
  4580. myCouponCount:
  4581. description: 我的优惠卷数量
  4582. type: integer
  4583. myOrderDetailListingCount:
  4584. description: 我的订单求购中数量
  4585. type: integer
  4586. myOrderDetailPreCount:
  4587. description: 我的订单抢购中数量
  4588. type: integer
  4589. myPackageUnReceiveCount:
  4590. description: 我的包裹待收货数量
  4591. type: integer
  4592. myPackageUnSendCount:
  4593. description: 我的包裹待发货数量
  4594. type: integer
  4595. myPayOrderCount:
  4596. description: 我的订单待付款数量
  4597. type: integer
  4598. type: object
  4599. hsby.QueryProvincesAndCitiesRsp:
  4600. properties:
  4601. cities:
  4602. description: 市
  4603. items:
  4604. $ref: '#/definitions/models.Division'
  4605. type: array
  4606. province:
  4607. $ref: '#/definitions/models.Division'
  4608. description: 省
  4609. type: object
  4610. models.Clientfixedadconfig:
  4611. properties:
  4612. adsort:
  4613. description: 排序
  4614. type: integer
  4615. adtype:
  4616. description: 广告位类型 - 1:新品抢购(HSBY)
  4617. type: integer
  4618. areauserid:
  4619. description: 所属机构ID
  4620. type: integer
  4621. createdate:
  4622. description: 创建时间
  4623. type: string
  4624. creatorid:
  4625. description: 创建人
  4626. type: integer
  4627. imagepath:
  4628. description: 图片
  4629. type: string
  4630. isshow:
  4631. description: 是否展示 - 0:不展示 1:展示
  4632. type: integer
  4633. modifierid:
  4634. description: 操作人
  4635. type: integer
  4636. recsize:
  4637. description: 推荐尺寸
  4638. type: string
  4639. title:
  4640. description: 标题
  4641. type: string
  4642. updatedate:
  4643. description: 更新时间
  4644. type: string
  4645. urlcontent:
  4646. description: 链接(地址或商品ID)
  4647. type: string
  4648. urltype:
  4649. description: 链接类型 - 1:直接地址 2:商品ID
  4650. type: integer
  4651. required:
  4652. - adsort
  4653. - adtype
  4654. type: object
  4655. models.Division:
  4656. properties:
  4657. autoid:
  4658. description: 自增ID
  4659. type: integer
  4660. divisioncode:
  4661. description: 行政代码
  4662. type: string
  4663. divisionlevel:
  4664. description: 行政级别
  4665. type: string
  4666. divisionname:
  4667. description: 行政名称
  4668. type: string
  4669. modifierid:
  4670. description: 修改人
  4671. type: integer
  4672. modifytime:
  4673. description: 修改时间
  4674. type: string
  4675. parentcode:
  4676. description: 上级行政代码
  4677. type: string
  4678. pathname:
  4679. description: 路径名称
  4680. type: string
  4681. postcode:
  4682. description: 邮政编码
  4683. type: string
  4684. separablename:
  4685. description: 可拆分的全称
  4686. type: string
  4687. shortcode:
  4688. description: 地区简码
  4689. type: string
  4690. required:
  4691. - autoid
  4692. - divisioncode
  4693. type: object
  4694. models.Enumdicitem:
  4695. properties:
  4696. autoid:
  4697. description: 自增ID
  4698. type: integer
  4699. bankmappedvalue:
  4700. description: 银行服务对应值
  4701. type: string
  4702. enumdiccode:
  4703. description: 所属枚举代码
  4704. type: string
  4705. enumdicid:
  4706. description: 所属枚举ID
  4707. type: integer
  4708. enumdicname:
  4709. description: 枚举项名称
  4710. type: string
  4711. enumitemname:
  4712. description: 枚举项值
  4713. type: integer
  4714. enumitemstatus:
  4715. description: 枚举项状态 - 1.启用 2.不启用
  4716. type: integer
  4717. enumitemvalue:
  4718. description: 通用值 - [币种通用简写]
  4719. type: string
  4720. param1:
  4721. description: 参数1[币种:币种小数位]
  4722. type: string
  4723. param2:
  4724. description: 参数1[币种:币种显示单位]
  4725. type: string
  4726. remark:
  4727. description: 备注
  4728. type: string
  4729. required:
  4730. - autoid
  4731. - enumdiccode
  4732. - enumdicid
  4733. - enumitemname
  4734. type: object
  4735. models.Ermcp3AreaSpot:
  4736. properties:
  4737. areauserid:
  4738. description: 所属机构
  4739. type: integer
  4740. decreaseqty:
  4741. description: 减少数量=-(销售已定价数量+采购计划数量)
  4742. type: number
  4743. deliverygoodscode:
  4744. description: 现货品种代码
  4745. type: string
  4746. deliverygoodsid:
  4747. description: 现货品种id
  4748. type: integer
  4749. deliverygoodsname:
  4750. description: 现货品种名称
  4751. type: string
  4752. increaseqty:
  4753. description: 增加数量=销售计划数量+采购已定价数量
  4754. type: number
  4755. oritoalspotqty:
  4756. description: 昨日数量
  4757. type: number
  4758. totalspotqty:
  4759. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4760. type: number
  4761. updatetime:
  4762. description: 更新时间
  4763. type: string
  4764. type: object
  4765. models.Ermcp3AreaSpotDetail:
  4766. properties:
  4767. contracttype:
  4768. description: 合同类型 1-采购 -1-销售
  4769. type: integer
  4770. createtime:
  4771. description: 创建时间
  4772. type: string
  4773. deliverygoodscode:
  4774. description: 现货品种代码
  4775. type: string
  4776. deliverygoodsid:
  4777. description: 现货品种id
  4778. type: integer
  4779. deliverygoodsname:
  4780. description: 现货品种名称
  4781. type: string
  4782. enumdicname:
  4783. description: 现货商品单位名称
  4784. type: string
  4785. logtype:
  4786. description: 记录类型 1-套保 2-现货合同
  4787. type: integer
  4788. qty:
  4789. description: 数量
  4790. type: number
  4791. recordname:
  4792. description: 类型名称
  4793. type: string
  4794. relatedid:
  4795. description: 套保计划ID/现货合同ID
  4796. type: string
  4797. relatedno:
  4798. description: 编号
  4799. type: string
  4800. strtime:
  4801. description: 时间
  4802. type: string
  4803. type: object
  4804. models.Ermcp3AreaStock:
  4805. properties:
  4806. brandname:
  4807. description: 品牌名称
  4808. type: string
  4809. curstock:
  4810. description: 期末库存量(今日量)
  4811. type: number
  4812. deliverygoodscode:
  4813. description: 现货品种代码
  4814. type: string
  4815. deliverygoodsid:
  4816. description: 现货品种id
  4817. type: integer
  4818. deliverygoodsname:
  4819. description: 现货品种名称
  4820. type: string
  4821. enumdicname:
  4822. description: 单位名称
  4823. type: string
  4824. goodsunitid:
  4825. description: 现货商品单位id
  4826. type: integer
  4827. oristock:
  4828. description: 期初库存量(昨日量)
  4829. type: number
  4830. spotgoodsbrandid:
  4831. description: 现货品牌ID
  4832. type: integer
  4833. todaybuyinqty:
  4834. description: 今日采购入库量
  4835. type: number
  4836. todayproduceinqty:
  4837. description: 今日生产入库量
  4838. type: number
  4839. todayproduceoutqty:
  4840. description: 今日生产出库量
  4841. type: number
  4842. todayselloutqty:
  4843. description: 今日销售出库量
  4844. type: number
  4845. unitid:
  4846. description: 单位id
  4847. type: integer
  4848. updatetime:
  4849. description: 更新时间
  4850. type: string
  4851. userid:
  4852. description: 机构ID
  4853. type: integer
  4854. username:
  4855. description: 机构名称
  4856. type: string
  4857. warehousecode:
  4858. description: 仓库代码
  4859. type: string
  4860. warehouseinfoid:
  4861. description: 仓库ID
  4862. type: string
  4863. warehousename:
  4864. description: 仓库名称
  4865. type: string
  4866. warehousetype:
  4867. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4868. type: integer
  4869. wrstandardcode:
  4870. description: 品类代码
  4871. type: string
  4872. wrstandardid:
  4873. description: 品类ID
  4874. type: string
  4875. wrstandardname:
  4876. description: 品类名称
  4877. type: string
  4878. required:
  4879. - userid
  4880. type: object
  4881. models.Ermcp3AreaStockApply:
  4882. properties:
  4883. applyid:
  4884. description: 申请人
  4885. type: integer
  4886. applyname:
  4887. description: 申请人名称
  4888. type: string
  4889. applyremark:
  4890. description: 申请备注
  4891. type: string
  4892. applysrc:
  4893. description: 申请来源 - 1:管理端 2:终端
  4894. type: integer
  4895. applystatus:
  4896. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4897. type: integer
  4898. applytime:
  4899. description: 申请时间
  4900. type: string
  4901. auditid:
  4902. description: 审核人
  4903. type: integer
  4904. auditname:
  4905. description: 审核人名称
  4906. type: string
  4907. auditremark:
  4908. description: 审核备注
  4909. type: string
  4910. auditsrc:
  4911. description: 审核来源 - 1:管理端 2:终端
  4912. type: integer
  4913. audittime:
  4914. description: 审核时间
  4915. type: string
  4916. audittradedate:
  4917. description: 审核交易日(yyyyMMdd)
  4918. type: string
  4919. brandname:
  4920. description: 品牌名称
  4921. type: string
  4922. buynickname:
  4923. description: 采购方昵称
  4924. type: string
  4925. buyuserid:
  4926. description: 采购方userid
  4927. type: integer
  4928. buyusername:
  4929. description: 采购方名称
  4930. type: string
  4931. contractno:
  4932. description: 合同编号
  4933. type: string
  4934. contractqty:
  4935. description: 合同量
  4936. type: number
  4937. contracttype:
  4938. description: 现货合同类型 - 1:采购 -1:销售
  4939. type: integer
  4940. deliverygoodscode:
  4941. description: 现货品种代码
  4942. type: string
  4943. deliverygoodsid:
  4944. description: 现货品种id
  4945. type: integer
  4946. deliverygoodsname:
  4947. description: 现货品种名称
  4948. type: string
  4949. enumdicname:
  4950. description: 现货商品单位名称
  4951. type: string
  4952. inoutapplyid:
  4953. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4954. type: string
  4955. inouttype:
  4956. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4957. type: integer
  4958. pricetype:
  4959. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4960. type: integer
  4961. qty:
  4962. description: 数量
  4963. type: number
  4964. sellnickname:
  4965. description: 销售方昵称
  4966. type: string
  4967. selluserid:
  4968. description: 销售方userid
  4969. type: integer
  4970. sellusername:
  4971. description: 销售方名称
  4972. type: string
  4973. spotcontractid:
  4974. description: 关联现货合同ID
  4975. type: string
  4976. spotgoodsbrandid:
  4977. description: 现货品牌ID
  4978. type: integer
  4979. unitid:
  4980. description: 单位id
  4981. type: integer
  4982. userid:
  4983. description: 机构ID
  4984. type: integer
  4985. warehousecode:
  4986. description: 仓库代码
  4987. type: string
  4988. warehouseinfoid:
  4989. description: 现货仓库ID
  4990. type: string
  4991. warehousename:
  4992. description: 仓库名称
  4993. type: string
  4994. warehousetype:
  4995. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4996. type: integer
  4997. wrstandardcode:
  4998. description: 品类代码
  4999. type: string
  5000. wrstandardid:
  5001. description: 品类ID
  5002. type: integer
  5003. wrstandardname:
  5004. description: 品类名称
  5005. type: string
  5006. type: object
  5007. models.Ermcp3AreaStockApplySum:
  5008. properties:
  5009. brandname:
  5010. description: 品牌名称
  5011. type: string
  5012. inouttype:
  5013. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  5014. type: integer
  5015. spotcontractid:
  5016. description: 关联现货合同ID
  5017. type: string
  5018. spotgoodsbrandid:
  5019. description: 品牌id
  5020. type: integer
  5021. totalqty:
  5022. description: 总数量
  5023. type: number
  5024. wrstandardid:
  5025. description: 品类id
  5026. type: integer
  5027. wrstandardname:
  5028. description: 品类名称
  5029. type: string
  5030. type: object
  5031. models.Ermcp3AreaStockReport:
  5032. properties:
  5033. brandname:
  5034. description: 品牌名称
  5035. type: string
  5036. curstock:
  5037. description: 期末库存量
  5038. type: number
  5039. deliverygoodscode:
  5040. description: 现货品种代码
  5041. type: string
  5042. deliverygoodsid:
  5043. description: 现货品种id
  5044. type: integer
  5045. deliverygoodsname:
  5046. description: 现货品种名称
  5047. type: string
  5048. enumdicname:
  5049. description: 单位名称
  5050. type: string
  5051. goodsunitid:
  5052. description: 现货单位id
  5053. type: integer
  5054. oristock:
  5055. description: 期初库存量
  5056. type: number
  5057. spotgoodsbrandid:
  5058. description: 现货品牌ID
  5059. type: integer
  5060. todaybuyinqty:
  5061. description: 今日采购入库量
  5062. type: number
  5063. todayproduceinqty:
  5064. description: 今日生产入库量
  5065. type: number
  5066. todayproduceoutqty:
  5067. description: 今日生产出库量
  5068. type: number
  5069. todayselloutqty:
  5070. description: 今日销售出库量
  5071. type: number
  5072. unitid:
  5073. description: 品类单位id
  5074. type: integer
  5075. updatetime:
  5076. description: 更新时间
  5077. type: string
  5078. userid:
  5079. description: 机构ID
  5080. type: integer
  5081. username:
  5082. description: 机构名称
  5083. type: string
  5084. warehousecode:
  5085. description: 仓库代码
  5086. type: string
  5087. warehouseinfoid:
  5088. description: 仓库ID
  5089. type: string
  5090. warehousename:
  5091. description: 仓库名称
  5092. type: string
  5093. warehousetype:
  5094. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5095. type: integer
  5096. wrstandardcode:
  5097. description: 品类代码
  5098. type: string
  5099. wrstandardid:
  5100. description: 品类ID
  5101. type: integer
  5102. wrstandardname:
  5103. description: 品类名称
  5104. type: string
  5105. type: object
  5106. models.Ermcp3Brand:
  5107. properties:
  5108. areauserid:
  5109. description: 用户id
  5110. type: integer
  5111. brandid:
  5112. description: 品牌id
  5113. type: integer
  5114. brandname:
  5115. description: 品牌名称
  5116. type: string
  5117. deliverygoodsid:
  5118. description: 品种ID
  5119. type: integer
  5120. type: object
  5121. models.Ermcp3Contract:
  5122. properties:
  5123. accountid:
  5124. description: 期货账户id
  5125. type: string
  5126. amount:
  5127. description: 金额 [1:一口价、3:暂定价]
  5128. type: number
  5129. attachment:
  5130. description: 附件
  5131. type: string
  5132. auditremark:
  5133. description: 审核意见
  5134. type: string
  5135. audittime:
  5136. description: 审核时间
  5137. type: string
  5138. biztype:
  5139. description: 业务类型 1-套保 2-套利
  5140. type: integer
  5141. brandname:
  5142. description: 品牌名称
  5143. type: string
  5144. buynickname:
  5145. description: 销售方昵称
  5146. type: string
  5147. buyuserid:
  5148. description: 采购方ID
  5149. type: integer
  5150. buyusername:
  5151. description: 采购方名称
  5152. type: string
  5153. contracctstatus:
  5154. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5155. type: integer
  5156. contractmargin:
  5157. description: 合同保证金
  5158. type: number
  5159. contractno:
  5160. description: 现货合同编号
  5161. type: string
  5162. contracttype:
  5163. description: 现货合同类型 - 1:采购 -1:销售
  5164. type: integer
  5165. convertfactor:
  5166. description: 标仓系数(品类)
  5167. type: number
  5168. createtime:
  5169. description: 创建时间
  5170. type: string
  5171. deliveryenddate:
  5172. description: 交收期(结束)
  5173. type: string
  5174. deliverygoodscode:
  5175. description: 现货品种代码
  5176. type: string
  5177. deliverygoodsid:
  5178. description: 现货品种ID
  5179. type: integer
  5180. deliverygoodsname:
  5181. description: 现货品种名称
  5182. type: string
  5183. deliverystartdate:
  5184. description: 交收期(开始)
  5185. type: string
  5186. enddate:
  5187. description: 点价结束日期 [2:点价 3:暂定价]
  5188. type: string
  5189. enumdicname:
  5190. description: 单位名称
  5191. type: string
  5192. goodscode:
  5193. description: 点价合约代码
  5194. type: string
  5195. goodsid:
  5196. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5197. type: integer
  5198. goodsname:
  5199. description: 点价商品名称
  5200. type: string
  5201. margin:
  5202. description: 当前保证金
  5203. type: number
  5204. meruserid:
  5205. description: 跟单员id
  5206. type: integer
  5207. meruserlogincode:
  5208. description: 跟单员登录代码
  5209. type: string
  5210. price:
  5211. description: 价格\暂定价 [1:一口价、3:暂定价]
  5212. type: number
  5213. pricemove:
  5214. description: 升贴水 [2:点价 3:暂定价]
  5215. type: number
  5216. pricetype:
  5217. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5218. type: integer
  5219. producttype:
  5220. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5221. type: integer
  5222. qty:
  5223. description: 数量
  5224. type: number
  5225. remark:
  5226. description: 备注
  5227. type: string
  5228. saleuserid:
  5229. description: 业务员id
  5230. type: integer
  5231. saleuserlogincode:
  5232. description: 业务员登录代码
  5233. type: string
  5234. sellnickname:
  5235. description: 采购方昵称
  5236. type: string
  5237. selluserid:
  5238. description: 销售方ID
  5239. type: integer
  5240. sellusername:
  5241. description: 销售方名称
  5242. type: string
  5243. spotcontractid:
  5244. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5245. type: string
  5246. spotgoodsbrandid:
  5247. description: 现货品牌ID(DGFactoryItem表的ID)
  5248. type: integer
  5249. spotgoodsdesc:
  5250. description: 商品型号
  5251. type: string
  5252. startdate:
  5253. description: 点价开始日期 [2:点价 3:暂定价]
  5254. type: string
  5255. tradeuserid:
  5256. description: 交易员id
  5257. type: integer
  5258. tradeuserlogincode:
  5259. description: 交易员登录代码
  5260. type: string
  5261. unitid:
  5262. description: 单位id(取品类上的单位id)
  5263. type: integer
  5264. updatetime:
  5265. description: 更新时间
  5266. type: string
  5267. userid:
  5268. description: 所属机构ID
  5269. type: integer
  5270. wrstandardcode:
  5271. description: 品类代码
  5272. type: string
  5273. wrstandardid:
  5274. description: 品类ID
  5275. type: integer
  5276. wrstandardname:
  5277. description: 品类名称
  5278. type: string
  5279. type: object
  5280. models.Ermcp3ExposureDetail:
  5281. properties:
  5282. areauserid:
  5283. description: 机构ID
  5284. type: integer
  5285. changeQty:
  5286. description: 套保变动量
  5287. type: number
  5288. contracttype:
  5289. description: 现货合同类型 - 1:采购 -1:销售
  5290. type: integer
  5291. convertfactor:
  5292. description: 标仓系数
  5293. type: number
  5294. convertratio:
  5295. description: 套保系数
  5296. type: number
  5297. createtime:
  5298. description: 时间
  5299. type: string
  5300. deliverygoodscode:
  5301. description: 现货品种代码
  5302. type: string
  5303. deliverygoodsid:
  5304. description: 现货品种id
  5305. type: integer
  5306. deliverygoodsname:
  5307. description: 现货品种名称
  5308. type: string
  5309. enumdicname:
  5310. description: 现货商品单位名称
  5311. type: string
  5312. logtype:
  5313. description: 类型 - 1:套保计划 2:现货合同
  5314. type: integer
  5315. middlegoodsId:
  5316. description: 套保商品id
  5317. type: integer
  5318. middlegoodscode:
  5319. description: 套保商品代码
  5320. type: string
  5321. middlegoodsname:
  5322. description: 套保商品名称
  5323. type: string
  5324. qty:
  5325. description: 数量
  5326. type: number
  5327. relateNo:
  5328. description: 现货合同/套保计划编号
  5329. type: string
  5330. type: object
  5331. models.Ermcp3GoodsGroup:
  5332. properties:
  5333. agreeunit:
  5334. description: 合约单位
  5335. type: number
  5336. areauserid:
  5337. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5338. type: integer
  5339. canshort:
  5340. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5341. type: integer
  5342. closepricemode:
  5343. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5344. type: integer
  5345. createtime:
  5346. description: 创建时间
  5347. type: string
  5348. creatorid:
  5349. description: 创建人
  5350. type: integer
  5351. currencyid:
  5352. description: 报价货币ID
  5353. type: integer
  5354. decimalplace:
  5355. description: 报价小数位
  5356. type: integer
  5357. excludecfg:
  5358. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5359. type: integer
  5360. exexchangeid:
  5361. description: 外部交易所ID[通道交易]
  5362. type: integer
  5363. goodsgroupid:
  5364. description: 商品组ID(自增ID)
  5365. type: integer
  5366. goodsgroupname:
  5367. description: 商品组名称
  5368. type: string
  5369. goodsgroupstatus:
  5370. description: 商品组状态 - 1:正常 2:注销
  5371. type: integer
  5372. goodunitid:
  5373. description: 报价单位ID
  5374. type: integer
  5375. groupcategroyid:
  5376. description: 品种分类ID
  5377. type: integer
  5378. innerdealmode:
  5379. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5380. type: integer
  5381. marketid:
  5382. description: 所属市场ID
  5383. type: integer
  5384. modifierid:
  5385. description: 修改人
  5386. type: integer
  5387. modifytime:
  5388. description: 修改时间
  5389. type: string
  5390. outerdealmode:
  5391. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5392. type: integer
  5393. outergroupcode:
  5394. description: 外部商品组代码[通道交易]
  5395. type: string
  5396. quoteminunit:
  5397. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5398. type: integer
  5399. quotesourcegroupid:
  5400. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5401. type: integer
  5402. syncgoodsqty:
  5403. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5404. type: integer
  5405. required:
  5406. - areauserid
  5407. type: object
  5408. models.Ermcp3HedgePlan:
  5409. properties:
  5410. areauserid:
  5411. description: 用户ID
  5412. type: integer
  5413. audittime:
  5414. description: 审核时间
  5415. type: string
  5416. contracttype:
  5417. description: 计划类型 - 1:采购 -1:销售
  5418. type: integer
  5419. convertfactor:
  5420. description: 标仓系数
  5421. type: number
  5422. createtime:
  5423. description: 创建时间
  5424. type: string
  5425. deliverygoodscode:
  5426. description: 现货品种代码
  5427. type: string
  5428. deliverygoodsid:
  5429. description: 现货品种ID
  5430. type: integer
  5431. deliverygoodsname:
  5432. description: 现货品种名称
  5433. type: string
  5434. enumdicname:
  5435. description: 单位名称
  5436. type: string
  5437. hedgeplanid:
  5438. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5439. type: string
  5440. hedgeplanno:
  5441. description: 套保计划编号(名称)
  5442. type: string
  5443. hedgeplanstatus:
  5444. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5445. type: integer
  5446. planqty:
  5447. description: 计划数量
  5448. type: number
  5449. plantime:
  5450. description: 计划时间
  5451. type: string
  5452. producttype:
  5453. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5454. type: integer
  5455. remark:
  5456. description: 备注
  5457. type: string
  5458. spotgoodsdesc:
  5459. description: 商品型号
  5460. type: string
  5461. unitid:
  5462. description: 单位id
  5463. type: integer
  5464. updatetime:
  5465. description: 更新时间
  5466. type: string
  5467. type: object
  5468. models.Ermcp3ReportAreaSpotPL:
  5469. properties:
  5470. actualpl:
  5471. description: 实际损益
  5472. type: number
  5473. areauserid:
  5474. description: 所属机构
  5475. type: integer
  5476. brandname:
  5477. description: 品牌名称
  5478. type: string
  5479. curamount:
  5480. description: 期末额
  5481. type: number
  5482. curaverageprice:
  5483. description: 期末均价
  5484. type: number
  5485. curbuyamount:
  5486. description: 期末采购总额(采购额)
  5487. type: number
  5488. curbuyqty:
  5489. description: 期末采购总量
  5490. type: number
  5491. curmarketvalue:
  5492. description: 参考市值
  5493. type: number
  5494. curqty:
  5495. description: 期末量
  5496. type: number
  5497. cursellamount:
  5498. description: 期末销售总额(销售额)
  5499. type: number
  5500. cursellqty:
  5501. description: 期末销售总量
  5502. type: number
  5503. curspotprice:
  5504. description: 参考市价
  5505. type: number
  5506. deliverygoodscode:
  5507. description: 现货品种代码
  5508. type: string
  5509. deliverygoodsid:
  5510. description: 现货品种id
  5511. type: integer
  5512. deliverygoodsname:
  5513. description: 现货品种名称
  5514. type: string
  5515. enumdicname:
  5516. description: 现货商品单位名称
  5517. type: string
  5518. floatpl:
  5519. description: 浮动损益
  5520. type: number
  5521. gbenumdicname:
  5522. description: 品类单位名称
  5523. type: string
  5524. gbunitid:
  5525. description: 现货单位id
  5526. type: integer
  5527. modelname:
  5528. description: 品类名称
  5529. type: string
  5530. oriamount:
  5531. description: 期初额
  5532. type: number
  5533. oriaverageprice:
  5534. description: 期初均价
  5535. type: number
  5536. oribuyamount:
  5537. description: 期初采购总额
  5538. type: number
  5539. oribuyqty:
  5540. description: 期初采购总量
  5541. type: number
  5542. oriqty:
  5543. description: 期初量
  5544. type: number
  5545. orisellamount:
  5546. description: 期初销售总额
  5547. type: number
  5548. orisellqty:
  5549. description: 期初销售总量
  5550. type: number
  5551. spotgoodsbrandid:
  5552. description: 现货品牌ID
  5553. type: integer
  5554. todaybuyamount:
  5555. description: 今日采购额
  5556. type: number
  5557. todaybuyaverageprice:
  5558. description: 今日采购均价(采购均价)
  5559. type: number
  5560. todaybuyqty:
  5561. description: 今日采购量(采购增量)
  5562. type: number
  5563. todaysellamount:
  5564. description: 今日销售额
  5565. type: number
  5566. todaysellaverageprice:
  5567. description: 今日销售均价(销售均价)
  5568. type: number
  5569. todaysellqty:
  5570. description: 今日销售量(销售增量)
  5571. type: number
  5572. unitid:
  5573. description: 品类单位id
  5574. type: integer
  5575. updatetime:
  5576. description: 更新时间
  5577. type: string
  5578. wrstandardcode:
  5579. description: 品类代码
  5580. type: string
  5581. wrstandardid:
  5582. description: 品类ID
  5583. type: integer
  5584. wrstandardname:
  5585. description: 品类名称
  5586. type: string
  5587. type: object
  5588. models.Ermcp3ReportDaySpot:
  5589. properties:
  5590. areauserid:
  5591. description: 所属机构T
  5592. type: integer
  5593. buyinqty:
  5594. description: 采购入库量
  5595. type: number
  5596. deliverygoodscode:
  5597. description: 现货品种代码
  5598. type: string
  5599. deliverygoodsid:
  5600. description: 现货品种id
  5601. type: integer
  5602. deliverygoodsname:
  5603. description: 现货品种名称
  5604. type: string
  5605. enumdicname:
  5606. description: 现货商品单位名称
  5607. type: string
  5608. reckondate:
  5609. description: 日照时期(yyyyMMdd)
  5610. type: string
  5611. selloutqty:
  5612. description: 销售出库量
  5613. type: number
  5614. todaybuyreckonqty:
  5615. description: 采购确定量
  5616. type: number
  5617. todaysellreckonqty:
  5618. description: 销售确定量
  5619. type: number
  5620. totalbuypricedqty:
  5621. description: 采购定价量 = 期末 - 期初
  5622. type: number
  5623. totalsellpricedqty:
  5624. description: 销售定价量 = 期末 - 期初
  5625. type: number
  5626. type: object
  5627. models.Ermcp3ReportMonSpot:
  5628. properties:
  5629. areauserid:
  5630. description: 所属机构id
  5631. type: integer
  5632. buyinqty:
  5633. description: 采购入库量
  5634. type: number
  5635. cycletime:
  5636. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5637. type: string
  5638. cycletype:
  5639. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5640. type: integer
  5641. deliverygoodscode:
  5642. description: 现货品种代码
  5643. type: string
  5644. deliverygoodsid:
  5645. description: 现货品种id
  5646. type: integer
  5647. deliverygoodsname:
  5648. description: 现货品种名称
  5649. type: string
  5650. enumdicname:
  5651. description: 现货商品单位名称
  5652. type: string
  5653. selloutqty:
  5654. description: 销售出库量
  5655. type: number
  5656. todaybuyreckonqty:
  5657. description: 采购确定量
  5658. type: number
  5659. todaysellreckonqty:
  5660. description: 销售确定量
  5661. type: number
  5662. totalbuypricedqty:
  5663. description: 采购定价量 = 期末 - 期初
  5664. type: number
  5665. totalsellpricedqty:
  5666. description: 销售定价量 = 期末 - 期初
  5667. type: number
  5668. type: object
  5669. models.Ermcp3ReportOPLog:
  5670. properties:
  5671. applyid:
  5672. description: 操作人
  5673. type: integer
  5674. applyname:
  5675. description: 操作人名称
  5676. type: string
  5677. biztype:
  5678. description: 业务类型 - 1:套保计划 2:现货合同
  5679. type: integer
  5680. brandname:
  5681. description: 品牌名称
  5682. type: string
  5683. contracttype:
  5684. description: 现货合同类型 - 1:采购 -1:销售
  5685. type: integer
  5686. deliverygoodscode:
  5687. description: 现货品种代码
  5688. type: string
  5689. deliverygoodsid:
  5690. description: 现货品种id
  5691. type: integer
  5692. deliverygoodsname:
  5693. description: 现货品种名称
  5694. type: string
  5695. enumdicName:
  5696. description: 单位名称
  5697. type: string
  5698. logdatetime:
  5699. description: 流水日期(时间)
  5700. type: string
  5701. logid:
  5702. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  5703. type: string
  5704. logtypename:
  5705. description: 合同类型(名称)
  5706. type: string
  5707. logvalue:
  5708. description: 数值
  5709. type: string
  5710. operatelogtype:
  5711. description: 操作流水类型 -
  5712. type: integer
  5713. optypename:
  5714. description: 流水类型名称
  5715. type: string
  5716. relatedid:
  5717. description: 现货合同ID\套保计划
  5718. type: string
  5719. relatedno:
  5720. description: 合同编号
  5721. type: string
  5722. tradedate:
  5723. description: 交易日(yyyyMMdd)
  5724. type: string
  5725. userid:
  5726. description: 机构ID
  5727. type: integer
  5728. type: object
  5729. models.Ermcp3SellBuyContract:
  5730. properties:
  5731. accountname:
  5732. description: 账户名称
  5733. type: string
  5734. attachment:
  5735. description: 附件
  5736. type: string
  5737. audittime:
  5738. description: 审核时间
  5739. type: string
  5740. brandname:
  5741. description: 品牌名称
  5742. type: string
  5743. contracctstatus:
  5744. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5745. type: integer
  5746. contractmargin:
  5747. description: 合同保证金
  5748. type: number
  5749. contractno:
  5750. description: 合同编号
  5751. type: string
  5752. contracttype:
  5753. description: 合同类型 1-采购, -1-销售
  5754. type: integer
  5755. convertfactor:
  5756. description: 标仓系数(品类)
  5757. type: number
  5758. createtime:
  5759. description: 创建时间
  5760. type: string
  5761. daikaiamount:
  5762. description: 应收(开)票额
  5763. type: number
  5764. deliveryenddate:
  5765. description: 交割结束日
  5766. type: string
  5767. deliverygoodscode:
  5768. description: 现货品种代码
  5769. type: string
  5770. deliverygoodsid:
  5771. description: 现货商品ID
  5772. type: integer
  5773. deliverygoodsname:
  5774. description: 现货品种名称
  5775. type: string
  5776. deliverystartdate:
  5777. description: 交割开始日
  5778. type: string
  5779. enddate:
  5780. description: 点价结束日
  5781. type: string
  5782. enumdicname:
  5783. description: 单位名称
  5784. type: string
  5785. goodscode:
  5786. description: 点价商品代码
  5787. type: string
  5788. goodsid:
  5789. description: 点价商品ID
  5790. type: integer
  5791. goodsname:
  5792. description: 点价商品名称
  5793. type: string
  5794. invoiceamount:
  5795. description: 已开票额
  5796. type: number
  5797. loanamount:
  5798. description: 贷款总额=已定价额+调整金额
  5799. type: number
  5800. margin:
  5801. description: 保证金
  5802. type: number
  5803. nickname:
  5804. description: 账户昵称
  5805. type: string
  5806. payamount:
  5807. description: 已收付额(收款或付款)
  5808. type: number
  5809. preinvoiceamount:
  5810. description: 预收(开)票额
  5811. type: number
  5812. prepayamount:
  5813. description: 预收付额
  5814. type: number
  5815. price:
  5816. description: 价格
  5817. type: number
  5818. pricedamount:
  5819. description: 已定价额
  5820. type: number
  5821. pricedavg:
  5822. description: 已点均价
  5823. type: number
  5824. pricedqty:
  5825. description: 已定价量
  5826. type: number
  5827. pricemove:
  5828. description: 升贴水
  5829. type: number
  5830. pricetype:
  5831. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5832. type: integer
  5833. producttype:
  5834. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5835. type: integer
  5836. qty:
  5837. description: 合同量
  5838. type: number
  5839. reckonadjustamount:
  5840. description: 调整金额
  5841. type: number
  5842. reckonedamount:
  5843. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5844. type: number
  5845. reckonotheramount:
  5846. description: 其它费用
  5847. type: number
  5848. reckonrealqty:
  5849. description: 已确定量
  5850. type: number
  5851. remark:
  5852. description: 备注
  5853. type: string
  5854. spotcontractid:
  5855. description: 合同ID
  5856. type: string
  5857. spotgoodsbrandid:
  5858. description: 现货品牌ID(DGFactoryItem表的ID)
  5859. type: integer
  5860. spotgoodsdesc:
  5861. description: 商品型号(商品规格)
  5862. type: string
  5863. startdate:
  5864. description: 点价开始日
  5865. type: string
  5866. totalamount:
  5867. description: 合计总额
  5868. type: number
  5869. unpayamount:
  5870. description: 应收付款额(应支付或应收款)
  5871. type: number
  5872. unpricedqty:
  5873. description: 未定价量
  5874. type: number
  5875. unsureqty:
  5876. description: 未确定量
  5877. type: number
  5878. userid:
  5879. description: 机构ID
  5880. type: integer
  5881. wrstandardcode:
  5882. description: 品类代码
  5883. type: string
  5884. wrstandardid:
  5885. description: 品类ID
  5886. type: integer
  5887. wrstandardname:
  5888. description: 品类名称
  5889. type: string
  5890. type: object
  5891. models.Ermcp3SpotGoodsPrice:
  5892. properties:
  5893. areauserid:
  5894. description: 所属机构id
  5895. type: integer
  5896. brandname:
  5897. description: 品牌名称
  5898. type: string
  5899. currencyid:
  5900. description: 报价货币ID
  5901. type: integer
  5902. deliverygoodscode:
  5903. description: 现货商品代码
  5904. type: string
  5905. deliverygoodsid:
  5906. description: 现货商品id
  5907. type: integer
  5908. deliverygoodsname:
  5909. description: 现货商品名称
  5910. type: string
  5911. enumdicname:
  5912. description: 现货商品单位名称
  5913. type: string
  5914. gbenumdicname:
  5915. description: 品类单位名称
  5916. type: string
  5917. gmunitid:
  5918. description: 品类单位id
  5919. type: integer
  5920. isvalid:
  5921. description: 是否有效 - 0:无效 1:有效
  5922. type: integer
  5923. operateid:
  5924. description: 最后操作人
  5925. type: integer
  5926. operatesrc:
  5927. description: 最后操作来源 - 1:管理端 2:终端
  5928. type: integer
  5929. operatetime:
  5930. description: 最后操作时间
  5931. type: string
  5932. operatorname:
  5933. description: 操作人名称
  5934. type: string
  5935. spotgoodsbrandid:
  5936. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5937. type: integer
  5938. spotgoodsprice:
  5939. description: 现货价格
  5940. type: number
  5941. tradedate:
  5942. description: 交易日(yyyyMMdd)
  5943. type: string
  5944. unitid:
  5945. description: 现货商品单位id
  5946. type: integer
  5947. wrstandardcode:
  5948. description: 品类代码
  5949. type: string
  5950. wrstandardid:
  5951. description: 现货品类ID(通用则为0)
  5952. type: integer
  5953. wrstandardname:
  5954. description: 品类名称
  5955. type: string
  5956. type: object
  5957. models.Ermcp3SpotGoodsPriceLog:
  5958. properties:
  5959. areauserid:
  5960. description: 所属机构id
  5961. type: integer
  5962. brandname:
  5963. description: 品牌名称
  5964. type: string
  5965. currencyid:
  5966. description: 报价货币ID
  5967. type: integer
  5968. deliverygoodscode:
  5969. description: 现货商品代码
  5970. type: string
  5971. deliverygoodsid:
  5972. description: 现货商品id
  5973. type: integer
  5974. deliverygoodsname:
  5975. description: 现货商品名称
  5976. type: string
  5977. enumdicname:
  5978. description: 现货商品单位名称
  5979. type: string
  5980. gbenumdicname:
  5981. description: 品类单位名称
  5982. type: string
  5983. gmunitid:
  5984. description: 品类单位id
  5985. type: integer
  5986. logid:
  5987. description: 日志id
  5988. type: integer
  5989. operateid:
  5990. description: 最后操作人
  5991. type: integer
  5992. operatesrc:
  5993. description: 最后操作来源 - 1:管理端 2:终端
  5994. type: integer
  5995. operatetime:
  5996. description: 最后操作时间
  5997. type: string
  5998. operatorname:
  5999. description: 操作人名称
  6000. type: string
  6001. spotgoodsbrandid:
  6002. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6003. type: integer
  6004. spotgoodsprice:
  6005. description: 现货价格
  6006. type: number
  6007. tradedate:
  6008. description: 交易日(yyyyMMdd)
  6009. type: string
  6010. unitid:
  6011. description: 现货商品单位id
  6012. type: integer
  6013. wrstandardcode:
  6014. description: 品类代码
  6015. type: string
  6016. wrstandardid:
  6017. description: 现货品类ID(通用则为0)
  6018. type: integer
  6019. wrstandardname:
  6020. description: 品类名称
  6021. type: string
  6022. type: object
  6023. models.Ermcp3Wrstandard:
  6024. properties:
  6025. areauserid:
  6026. description: 所属机构
  6027. type: integer
  6028. convertfactor:
  6029. description: 标仓系数
  6030. type: number
  6031. createtime:
  6032. description: 创建时间
  6033. type: string
  6034. creatorid:
  6035. description: 创建人
  6036. type: integer
  6037. deliverygoodsid:
  6038. description: 现货品种ID
  6039. type: integer
  6040. enumdicname:
  6041. description: 品类单位名称
  6042. type: string
  6043. isvalid:
  6044. description: 是否有效 0-无效(停用) 1-有效(正常)
  6045. type: integer
  6046. minivalue:
  6047. description: 最小变动值
  6048. type: integer
  6049. minivaluedp:
  6050. description: 最小变动值小数位
  6051. type: integer
  6052. realminivalue:
  6053. description: 实际最小变动值
  6054. type: integer
  6055. realminivaluedp:
  6056. description: 实际最小变动值小数位
  6057. type: integer
  6058. remark:
  6059. description: 备注
  6060. type: string
  6061. unitid:
  6062. description: 品类单位ID
  6063. type: integer
  6064. updatetime:
  6065. description: 更新时间
  6066. type: string
  6067. wrstandardcode:
  6068. description: 品类代码
  6069. type: string
  6070. wrstandardid:
  6071. description: 品类ID(SEQ_WRSTANDARD)
  6072. type: integer
  6073. wrstandardname:
  6074. description: 品类名称
  6075. type: string
  6076. type: object
  6077. models.ErmcpAreaStock:
  6078. properties:
  6079. brandname:
  6080. description: 品牌名称
  6081. type: string
  6082. curstock:
  6083. description: 期末库存量(今日量)
  6084. type: number
  6085. deliverygoodsid:
  6086. description: 现货品种ID
  6087. type: integer
  6088. enumdicname:
  6089. description: 单位名称
  6090. type: string
  6091. modelname:
  6092. description: 型号名称
  6093. type: string
  6094. oristock:
  6095. description: 期初库存量(昨日量)
  6096. type: number
  6097. spotgoodsbrandid:
  6098. description: 现货品牌ID
  6099. type: integer
  6100. spotgoodsmodelid:
  6101. description: 现货型号ID
  6102. type: integer
  6103. todaybuyinqty:
  6104. description: 今日采购入库量
  6105. type: number
  6106. todayproduceinqty:
  6107. description: 今日生产入库量
  6108. type: number
  6109. todayproduceoutqty:
  6110. description: 今日生产出库量
  6111. type: number
  6112. todayselloutqty:
  6113. description: 今日销售出库量
  6114. type: number
  6115. unitid:
  6116. description: 单位id
  6117. type: integer
  6118. updatetime:
  6119. description: 更新时间
  6120. type: string
  6121. userid:
  6122. description: 机构ID
  6123. type: integer
  6124. username:
  6125. description: 机构名称
  6126. type: string
  6127. warehousecode:
  6128. description: 仓库代码
  6129. type: string
  6130. warehouseinfoid:
  6131. description: 仓库ID
  6132. type: string
  6133. warehousename:
  6134. description: 仓库名称
  6135. type: string
  6136. warehousetype:
  6137. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6138. type: integer
  6139. wrstandardcode:
  6140. description: 现货商品代码
  6141. type: string
  6142. wrstandardid:
  6143. description: 现货商品ID
  6144. type: string
  6145. wrstandardname:
  6146. description: 现货商品名称
  6147. type: string
  6148. type: object
  6149. models.ErmcpAreaStockApply:
  6150. properties:
  6151. applyid:
  6152. description: 申请人
  6153. type: integer
  6154. applyname:
  6155. description: 申请人名称
  6156. type: string
  6157. applyremark:
  6158. description: 申请备注
  6159. type: string
  6160. applysrc:
  6161. description: 申请来源 - 1:管理端 2:终端
  6162. type: integer
  6163. applystatus:
  6164. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6165. type: integer
  6166. applytime:
  6167. description: 申请时间
  6168. type: string
  6169. auditid:
  6170. description: 审核人
  6171. type: integer
  6172. auditname:
  6173. description: 审核人名称
  6174. type: string
  6175. auditremark:
  6176. description: 审核备注
  6177. type: string
  6178. auditsrc:
  6179. description: 审核来源 - 1:管理端 2:终端
  6180. type: integer
  6181. audittime:
  6182. description: 审核时间
  6183. type: string
  6184. audittradedate:
  6185. description: 审核交易日(yyyyMMdd)
  6186. type: string
  6187. brandname:
  6188. description: 品牌名称
  6189. type: string
  6190. buyuserid:
  6191. description: 采购方userid
  6192. type: integer
  6193. buyusername:
  6194. description: 采购方名称
  6195. type: string
  6196. contractno:
  6197. description: 合同编号
  6198. type: string
  6199. contractqty:
  6200. description: 合同量
  6201. type: number
  6202. contracttype:
  6203. description: 现货合同类型 - 1:采购 -1:销售
  6204. type: integer
  6205. deliverygoodsid:
  6206. description: 现货品种ID
  6207. type: integer
  6208. enumdicname:
  6209. description: 现货商品单位名称
  6210. type: string
  6211. inoutapplyid:
  6212. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  6213. type: string
  6214. inouttype:
  6215. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  6216. type: integer
  6217. modelname:
  6218. description: 型号名称
  6219. type: string
  6220. pricetype:
  6221. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6222. type: integer
  6223. qty:
  6224. description: 数量
  6225. type: number
  6226. selluserid:
  6227. description: 销售方userid
  6228. type: integer
  6229. sellusername:
  6230. description: 销售方名称
  6231. type: string
  6232. spotcontractid:
  6233. description: 关联现货合同ID
  6234. type: string
  6235. spotgoodsbrandid:
  6236. description: 现货品牌ID
  6237. type: integer
  6238. spotgoodsmodelid:
  6239. description: 现货型号ID
  6240. type: integer
  6241. unitid:
  6242. description: 单位id
  6243. type: integer
  6244. userid:
  6245. description: 机构ID
  6246. type: integer
  6247. warehousecode:
  6248. description: 仓库代码
  6249. type: string
  6250. warehouseinfoid:
  6251. description: 现货仓库ID
  6252. type: string
  6253. warehousename:
  6254. description: 仓库名称
  6255. type: string
  6256. warehousetype:
  6257. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6258. type: integer
  6259. wrstandardcode:
  6260. description: 现货商品代码
  6261. type: string
  6262. wrstandardid:
  6263. description: 现货商品ID
  6264. type: string
  6265. wrstandardname:
  6266. description: 现货商品名称
  6267. type: string
  6268. type: object
  6269. models.ErmcpAreaStockReport:
  6270. properties:
  6271. brandname:
  6272. description: 品牌名称
  6273. type: string
  6274. curstock:
  6275. description: 期末库存量
  6276. type: number
  6277. deliverygoodsid:
  6278. description: 现货品种ID
  6279. type: integer
  6280. enumdicname:
  6281. description: 单位名称
  6282. type: string
  6283. modelname:
  6284. description: 型号名称
  6285. type: string
  6286. oristock:
  6287. description: 期初库存量
  6288. type: number
  6289. spotgoodsbrandid:
  6290. description: 现货品牌ID
  6291. type: integer
  6292. spotgoodsmodelid:
  6293. description: 现货型号ID
  6294. type: integer
  6295. todaybuyinqty:
  6296. description: 今日采购入库量
  6297. type: number
  6298. todayproduceinqty:
  6299. description: 今日生产入库量
  6300. type: number
  6301. todayproduceoutqty:
  6302. description: 今日生产出库量
  6303. type: number
  6304. todayselloutqty:
  6305. description: 今日销售出库量
  6306. type: number
  6307. unitid:
  6308. description: 单位id
  6309. type: integer
  6310. updatetime:
  6311. description: 更新时间
  6312. type: string
  6313. userid:
  6314. description: 机构ID
  6315. type: integer
  6316. username:
  6317. description: 机构名称
  6318. type: string
  6319. warehousecode:
  6320. description: 仓库代码
  6321. type: string
  6322. warehouseinfoid:
  6323. description: 仓库ID
  6324. type: string
  6325. warehousename:
  6326. description: 仓库名称
  6327. type: string
  6328. warehousetype:
  6329. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6330. type: integer
  6331. wrstandardcode:
  6332. description: 现货商品代码
  6333. type: string
  6334. wrstandardid:
  6335. description: 现货商品ID
  6336. type: string
  6337. wrstandardname:
  6338. description: 现货商品名称
  6339. type: string
  6340. type: object
  6341. models.ErmcpBizGroupEx:
  6342. properties:
  6343. acclist:
  6344. description: 账号列表
  6345. items:
  6346. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  6347. type: array
  6348. bizgroupid:
  6349. description: 业务分组id
  6350. type: integer
  6351. biztype:
  6352. description: 业务类型 1-套保 2-套利
  6353. type: integer
  6354. wrlist:
  6355. description: 现货商品表
  6356. items:
  6357. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  6358. type: array
  6359. type: object
  6360. models.ErmcpBizGroupSpotGoods:
  6361. properties:
  6362. areauserid:
  6363. description: 所属机构id
  6364. type: integer
  6365. bizgroupid:
  6366. description: 分组id
  6367. type: integer
  6368. biztype:
  6369. description: 业务类型 1-套保 2-套利
  6370. type: integer
  6371. deliverygoodscode:
  6372. description: 现货商品代码
  6373. type: string
  6374. deliverygoodsid:
  6375. description: 现货商品id
  6376. type: integer
  6377. deliverygoodsname:
  6378. description: 现货商品名称
  6379. type: string
  6380. unitid:
  6381. description: 现货商品单位id
  6382. type: integer
  6383. type: object
  6384. models.ErmcpBizGroupTaAccount:
  6385. properties:
  6386. accountid:
  6387. description: 账号id
  6388. type: string
  6389. accountname:
  6390. description: 账号名称
  6391. type: string
  6392. areauserid:
  6393. description: 所属机构id
  6394. type: integer
  6395. bizgroupid:
  6396. description: 业务分组id
  6397. type: integer
  6398. ismain:
  6399. description: 是否主账号 1-是 0-否
  6400. type: integer
  6401. type: object
  6402. models.ErmcpDGFactoryItem:
  6403. properties:
  6404. areauserid:
  6405. description: 用户id
  6406. type: integer
  6407. deliverygoodsid:
  6408. description: 现货品种ID
  6409. type: integer
  6410. dgfactoryitemid:
  6411. description: 选择项ID(SEQ_DGFACTORYITEM)
  6412. type: integer
  6413. dgfactoryitemtypeid:
  6414. description: 要素项类型
  6415. type: integer
  6416. dgfactoryitemvalue:
  6417. description: 要素项值(类型为仓库时填写仓库名称)
  6418. type: string
  6419. isvalid:
  6420. description: 是否有效 - 0:无效 1:有效
  6421. type: integer
  6422. orderindex:
  6423. description: 顺序
  6424. type: integer
  6425. warehouseid:
  6426. description: 仓库ID(类型为仓库时填写)
  6427. type: integer
  6428. type: object
  6429. models.ErmcpDeliveryGoods:
  6430. properties:
  6431. agreeunit:
  6432. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  6433. type: integer
  6434. areauserid:
  6435. description: 所属机构
  6436. type: integer
  6437. auditflag:
  6438. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  6439. type: integer
  6440. categoryid:
  6441. description: 类别ID(SEQ_WRCATEGORY)
  6442. type: integer
  6443. deliverygoodscode:
  6444. description: 现货品种代码
  6445. type: string
  6446. deliverygoodsid:
  6447. description: 现货品种ID(SEQ_DELIVERYGOODS)
  6448. type: integer
  6449. deliverygoodsname:
  6450. description: 现货品种名称
  6451. type: string
  6452. deliverygoodstype:
  6453. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  6454. type: integer
  6455. dgstatus:
  6456. description: 品种状态 - 作废 - 0:未激活 1:正常
  6457. type: integer
  6458. enumdicname:
  6459. description: 现货品种单位名称
  6460. type: string
  6461. goodsunitid:
  6462. description: 现货品种单位ID
  6463. type: integer
  6464. isvalid:
  6465. description: 是否有效 - 0:无效 1:有效
  6466. type: integer
  6467. qtydecimalplace:
  6468. description: 成交量小数位
  6469. type: integer
  6470. remark:
  6471. description: 备注
  6472. type: string
  6473. standardqty:
  6474. description: 标准数量(库位数量) [标准品特有]
  6475. type: integer
  6476. standardqtyrange:
  6477. description: 标准数量偏差范围 [标准品特有]
  6478. type: integer
  6479. type: object
  6480. models.ErmcpDeliveryGoodsDetail:
  6481. properties:
  6482. data:
  6483. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  6484. description: 现货商品基本信息(交割品种)
  6485. gblist:
  6486. description: 品牌列表
  6487. items:
  6488. $ref: '#/definitions/models.Ermcp3Brand'
  6489. type: array
  6490. gmlist:
  6491. description: 品类列表(仓单标准)
  6492. items:
  6493. $ref: '#/definitions/models.Ermcp3Wrstandard'
  6494. type: array
  6495. goodslist:
  6496. description: 关联交易商品列表
  6497. items:
  6498. $ref: '#/definitions/models.ErmcpRelatedGoods'
  6499. type: array
  6500. wrslist:
  6501. description: 套保信息列表
  6502. items:
  6503. $ref: '#/definitions/models.WRSConverTDetail'
  6504. type: array
  6505. type: object
  6506. models.ErmcpFuturesCompany:
  6507. properties:
  6508. brokerid:
  6509. description: 经纪公司代码
  6510. type: string
  6511. channeladdress:
  6512. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  6513. type: string
  6514. channelid:
  6515. description: 对冲渠道ID
  6516. type: string
  6517. createtime:
  6518. description: 创建时间
  6519. type: string
  6520. creatorid:
  6521. description: 创建人
  6522. type: string
  6523. fcid:
  6524. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  6525. type: integer
  6526. fcname:
  6527. description: 期货公司名称
  6528. type: string
  6529. isvalid:
  6530. description: 是否有效 - 0:无效 1:有效
  6531. type: integer
  6532. mhpaddress:
  6533. description: MHP服务地址(IP:Port)
  6534. type: string
  6535. riskrulegroupid:
  6536. description: 风控规则组ID
  6537. type: string
  6538. tradefeetmpid:
  6539. description: 手续费模板ID[TradeConfigTmpType为2]
  6540. type: string
  6541. trademargintmpid:
  6542. description: 保证金模板ID [TradeConfigTmpType为1]
  6543. type: string
  6544. traderatetmpid:
  6545. description: 汇率模板ID[TradeConfigTmpType为3]
  6546. type: string
  6547. updatetime:
  6548. description: 更新时间
  6549. type: string
  6550. updatorid:
  6551. description: 更新人
  6552. type: string
  6553. type: object
  6554. models.ErmcpGGConvertCfg:
  6555. properties:
  6556. convertratio:
  6557. description: 折算系数
  6558. type: number
  6559. destgoodsgroupid:
  6560. description: 目标品种ID
  6561. type: integer
  6562. dstcode:
  6563. description: 目录品种代码
  6564. type: string
  6565. dstexchangecode:
  6566. description: 目标期货交易所
  6567. type: string
  6568. dstname:
  6569. description: 目标品种名称
  6570. type: string
  6571. dstunitid:
  6572. description: 目标品种单位ID
  6573. type: integer
  6574. dstunitidname:
  6575. description: 目标品种单位名称
  6576. type: string
  6577. modifytime:
  6578. description: 修改时间
  6579. type: string
  6580. srccode:
  6581. description: 源品种代码
  6582. type: string
  6583. srcexchangecode:
  6584. description: 源期货交易所
  6585. type: string
  6586. srcgoodsgroupid:
  6587. description: 源品种ID
  6588. type: integer
  6589. srcname:
  6590. description: 源品种名称
  6591. type: string
  6592. srcunitid:
  6593. description: 源品种单位ID
  6594. type: integer
  6595. srcunitidname:
  6596. description: 源品种单位名称
  6597. type: string
  6598. type: object
  6599. models.ErmcpGoodsBrand:
  6600. properties:
  6601. areauserid:
  6602. description: 所属机构
  6603. type: integer
  6604. brandid:
  6605. description: BrandID(SEQ_SPOTGOODSBRAND)
  6606. type: integer
  6607. brandname:
  6608. description: 品牌名称
  6609. type: string
  6610. createtime:
  6611. description: 创建时间
  6612. type: string
  6613. creatorid:
  6614. description: 创建人
  6615. type: integer
  6616. creatorsrc:
  6617. description: 创建人来源 - 1:管理端 2:终端
  6618. type: integer
  6619. deliverygoodsid:
  6620. description: 现货品种ID
  6621. type: integer
  6622. isvalid:
  6623. description: 是否有效 - 0:无效 1:有效
  6624. type: integer
  6625. updatetime:
  6626. description: 更新时间
  6627. type: string
  6628. updatorid:
  6629. description: 更新人
  6630. type: integer
  6631. updatorsrc:
  6632. description: 更新人来源 - 1:管理端 2:终端
  6633. type: integer
  6634. wrstandardid:
  6635. description: 现货商品ID
  6636. type: integer
  6637. type: object
  6638. models.ErmcpGoodsModel:
  6639. properties:
  6640. areauserid:
  6641. description: 所属机构
  6642. type: integer
  6643. convertfactor:
  6644. description: 标仓系数
  6645. type: number
  6646. createtime:
  6647. description: 创建时间
  6648. type: string
  6649. creatorid:
  6650. description: 创建人
  6651. type: integer
  6652. creatorsrc:
  6653. description: 创建人来源 - 1:管理端 2:终端
  6654. type: integer
  6655. deliverygoodsid:
  6656. description: 现货品种ID
  6657. type: integer
  6658. isvalid:
  6659. description: 是否有效 - 0:无效 1:有效
  6660. type: integer
  6661. modelid:
  6662. description: ModelID(SEQ_SPOTGOODSMODEL)
  6663. type: integer
  6664. modelname:
  6665. description: 型号名称
  6666. type: string
  6667. updatetime:
  6668. description: 更新时间
  6669. type: string
  6670. updatorid:
  6671. description: 更新人
  6672. type: integer
  6673. updatorsrc:
  6674. description: 更新人来源 - 1:管理端 2:终端
  6675. type: integer
  6676. wrstandardid:
  6677. description: 现货商品ID
  6678. type: integer
  6679. type: object
  6680. models.ErmcpHisExposure:
  6681. properties:
  6682. needhedgeexposoure:
  6683. description: 应套保敞口
  6684. type: number
  6685. reckondate:
  6686. description: 日照时期(yyyyMMdd)
  6687. type: string
  6688. totalexposure:
  6689. description: 总敞口
  6690. type: number
  6691. type: object
  6692. models.ErmcpLoginUser:
  6693. properties:
  6694. accountname:
  6695. description: 用户名称
  6696. type: string
  6697. clientroleid:
  6698. description: 角色id(usertype=2)
  6699. type: integer
  6700. createtime:
  6701. description: 创建时间
  6702. type: string
  6703. logincode:
  6704. description: 登录代码
  6705. type: string
  6706. loginid:
  6707. description: 登录id(LOGINID)
  6708. type: integer
  6709. loginstatus:
  6710. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6711. type: integer
  6712. memberuserid:
  6713. description: 所属会员id
  6714. type: integer
  6715. mobile:
  6716. description: 手机号
  6717. type: string
  6718. modifytime:
  6719. description: 修改时间
  6720. type: string
  6721. password:
  6722. description: 密码(不可解密)
  6723. type: string
  6724. rolename:
  6725. description: 角色名称
  6726. type: string
  6727. rolestatus:
  6728. description: 角色状态 1-启用 2-停用
  6729. type: integer
  6730. roletype:
  6731. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6732. type: string
  6733. userid:
  6734. description: 用户id
  6735. type: integer
  6736. usertype:
  6737. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6738. type: integer
  6739. type: object
  6740. models.ErmcpLoginUserEx:
  6741. properties:
  6742. roleid:
  6743. description: 角色id
  6744. type: integer
  6745. rolename:
  6746. description: 角色名称
  6747. type: string
  6748. userlist:
  6749. description: 用户列表
  6750. items:
  6751. $ref: '#/definitions/models.ErmcpLoginUser'
  6752. type: array
  6753. usertype:
  6754. description: 用户类型 2-机构 7-企业成员(云平台)
  6755. type: integer
  6756. type: object
  6757. models.ErmcpMiddleGoodsModel:
  6758. properties:
  6759. areauserid:
  6760. description: 机构用户ID
  6761. type: integer
  6762. createtime:
  6763. description: 修改时间
  6764. type: string
  6765. enumdicname:
  6766. description: 单位名称
  6767. type: string
  6768. evaluateratio:
  6769. description: 估价系数
  6770. type: number
  6771. goodsgroupid:
  6772. description: 关联期货品种ID
  6773. type: integer
  6774. isvalid:
  6775. description: 状态 0-无效(停用) 1-有效(正常)
  6776. type: integer
  6777. middlegoodscode:
  6778. description: 套保品种代码
  6779. type: string
  6780. middlegoodsid:
  6781. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6782. type: integer
  6783. middlegoodsname:
  6784. description: 套保品种名称
  6785. type: string
  6786. modifytime:
  6787. description: 修改时间
  6788. type: string
  6789. needhedgeratio:
  6790. description: 套保比率
  6791. type: number
  6792. qtydecimalplace:
  6793. description: 数量小数位
  6794. type: integer
  6795. relatedgoodsid:
  6796. description: 关联交易商品ID
  6797. type: integer
  6798. relatedgoodstype:
  6799. description: 关联商品类型 - 1:期货合约 2:现货品种
  6800. type: integer
  6801. remark:
  6802. description: 备注
  6803. type: string
  6804. type: object
  6805. models.ErmcpRelatedGoods:
  6806. properties:
  6807. deliverygoodsid:
  6808. description: 品种ID
  6809. type: integer
  6810. goodscode:
  6811. description: 商品代码
  6812. type: string
  6813. goodsid:
  6814. description: 商品id
  6815. type: integer
  6816. goodsname:
  6817. description: 商品名称
  6818. type: string
  6819. type: object
  6820. models.ErmcpReportAreaSpotPL:
  6821. properties:
  6822. actualpl:
  6823. description: 实际损益
  6824. type: number
  6825. areauserid:
  6826. description: 所属机构
  6827. type: integer
  6828. brandname:
  6829. description: 品牌名称
  6830. type: string
  6831. curamount:
  6832. description: 期末额
  6833. type: number
  6834. curaverageprice:
  6835. description: 期末均价
  6836. type: number
  6837. curbuyamount:
  6838. description: 期末采购总额(采购额)
  6839. type: number
  6840. curbuyqty:
  6841. description: 期末采购总量
  6842. type: number
  6843. curmarketvalue:
  6844. description: 参考市值
  6845. type: number
  6846. curqty:
  6847. description: 期末量
  6848. type: number
  6849. cursellamount:
  6850. description: 期末销售总额(销售额)
  6851. type: number
  6852. cursellqty:
  6853. description: 期末销售总量
  6854. type: number
  6855. curspotprice:
  6856. description: 参考市价
  6857. type: number
  6858. enumdicname:
  6859. description: 现货商品单位名称
  6860. type: string
  6861. floatpl:
  6862. description: 浮动损益
  6863. type: number
  6864. gbenumdicname:
  6865. description: 品类单位名称
  6866. type: string
  6867. gbunitid:
  6868. description: 品类单位id
  6869. type: integer
  6870. modelname:
  6871. description: 品类名称
  6872. type: string
  6873. oriamount:
  6874. description: 期初额
  6875. type: number
  6876. oriaverageprice:
  6877. description: 期初均价
  6878. type: number
  6879. oribuyamount:
  6880. description: 期初采购总额
  6881. type: number
  6882. oribuyqty:
  6883. description: 期初采购总量
  6884. type: number
  6885. oriqty:
  6886. description: 期初量
  6887. type: number
  6888. orisellamount:
  6889. description: 期初销售总额
  6890. type: number
  6891. orisellqty:
  6892. description: 期初销售总量
  6893. type: number
  6894. spotgoodsbrandid:
  6895. description: 现货品牌ID
  6896. type: integer
  6897. spotgoodsmodelid:
  6898. description: 现货品类ID
  6899. type: integer
  6900. todaybuyamount:
  6901. description: 今日采购额
  6902. type: number
  6903. todaybuyaverageprice:
  6904. description: 今日采购均价(采购均价)
  6905. type: number
  6906. todaybuyqty:
  6907. description: 今日采购量(采购增量)
  6908. type: number
  6909. todaysellamount:
  6910. description: 今日销售额
  6911. type: number
  6912. todaysellaverageprice:
  6913. description: 今日销售均价(销售均价)
  6914. type: number
  6915. todaysellqty:
  6916. description: 今日销售量(销售增量)
  6917. type: number
  6918. unitid:
  6919. description: 现货商品单位id
  6920. type: integer
  6921. updatetime:
  6922. description: 更新时间
  6923. type: string
  6924. wrstandardcode:
  6925. description: 现货商品代码
  6926. type: string
  6927. wrstandardid:
  6928. description: 现货商品ID
  6929. type: integer
  6930. wrstandardname:
  6931. description: 现货商品名称
  6932. type: string
  6933. type: object
  6934. models.ErmcpReportDayFR:
  6935. properties:
  6936. areauserid:
  6937. description: 所属机构
  6938. type: integer
  6939. collectinvoiceamount:
  6940. description: 今日开票金额
  6941. type: number
  6942. collectinvoicecount:
  6943. description: 今日开票笔数
  6944. type: integer
  6945. collectmoneyamount:
  6946. description: 今日收款金额
  6947. type: number
  6948. collectmoneycount:
  6949. description: 今日收款笔数
  6950. type: integer
  6951. payinvoiceamount:
  6952. description: 今日收票金额
  6953. type: number
  6954. payinvoicecount:
  6955. description: 今日收票笔数
  6956. type: integer
  6957. paymoneyamount:
  6958. description: 今日付款金额
  6959. type: number
  6960. paymoneycount:
  6961. description: 今日付款笔数
  6962. type: integer
  6963. reckondate:
  6964. description: 日照时期(yyyyMMdd)
  6965. type: string
  6966. updatetime:
  6967. description: 更新时间
  6968. type: string
  6969. type: object
  6970. models.ErmcpRole:
  6971. properties:
  6972. areauserid:
  6973. description: 所属机构
  6974. type: integer
  6975. autoid:
  6976. description: 角色ID(自增ID)
  6977. type: integer
  6978. modifierid:
  6979. description: 修改人(创建人)
  6980. type: integer
  6981. modifiername:
  6982. description: 修改人名称
  6983. type: string
  6984. modifytime:
  6985. description: 修改时间(创建时间)
  6986. type: string
  6987. rolename:
  6988. description: 角色名称
  6989. type: string
  6990. rolestatus:
  6991. description: 角色状态 - 1:启用 2:停用
  6992. type: integer
  6993. roletype:
  6994. description: 角色类型 - 1- 管理端 2- 交易端
  6995. type: integer
  6996. type: object
  6997. models.ErmcpRoleMenu:
  6998. properties:
  6999. iconame:
  7000. description: 菜单图标
  7001. type: string
  7002. menutype:
  7003. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  7004. type: integer
  7005. parentcode:
  7006. description: 上级资源代码
  7007. type: string
  7008. remark:
  7009. description: 菜单备注
  7010. type: string
  7011. resourcecode:
  7012. description: 菜单代码
  7013. type: string
  7014. resourcelevel:
  7015. description: 级别
  7016. type: integer
  7017. resourcename:
  7018. description: 菜单名称
  7019. type: string
  7020. roleid:
  7021. description: 角色id
  7022. type: integer
  7023. sort:
  7024. description: 排序
  7025. type: integer
  7026. url:
  7027. description: URL
  7028. type: string
  7029. userid:
  7030. description: 用户id
  7031. type: integer
  7032. type: object
  7033. models.ErmcpRoleMenuEx:
  7034. properties:
  7035. menu:
  7036. $ref: '#/definitions/models.ErmcpRoleMenu'
  7037. description: 父级菜单
  7038. subMenu:
  7039. description: 子级菜单
  7040. items:
  7041. $ref: '#/definitions/models.ErmcpRoleMenu'
  7042. type: array
  7043. type: object
  7044. models.ErmcpSpotGoodsPrice:
  7045. properties:
  7046. areauserid:
  7047. description: 所属机构id
  7048. type: integer
  7049. brandname:
  7050. description: 品牌名称
  7051. type: string
  7052. currencyid:
  7053. description: 报价货币ID
  7054. type: integer
  7055. enumdicname:
  7056. description: 现货商品单位名称
  7057. type: string
  7058. gbenumdicname:
  7059. description: 品类单位名称
  7060. type: string
  7061. gmunitid:
  7062. description: 品类单位id
  7063. type: integer
  7064. isvalid:
  7065. description: 是否有效 - 0:无效 1:有效
  7066. type: integer
  7067. modelname:
  7068. description: 品类名称
  7069. type: string
  7070. operateid:
  7071. description: 最后操作人
  7072. type: integer
  7073. operatesrc:
  7074. description: 最后操作来源 - 1:管理端 2:终端
  7075. type: integer
  7076. operatetime:
  7077. description: 最后操作时间
  7078. type: string
  7079. operatorname:
  7080. description: 操作人名称
  7081. type: string
  7082. spotgoodsbrandid:
  7083. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7084. type: integer
  7085. spotgoodsmodelid:
  7086. description: 现货品类ID(通用则为0)
  7087. type: integer
  7088. spotgoodsprice:
  7089. description: 现货价格
  7090. type: number
  7091. tradedate:
  7092. description: 交易日(yyyyMMdd)
  7093. type: string
  7094. unitid:
  7095. description: 现货商品单位id
  7096. type: integer
  7097. wrstandardcode:
  7098. description: 现货商品代码
  7099. type: string
  7100. wrstandardid:
  7101. description: 现货商品ID
  7102. type: integer
  7103. wrstandardname:
  7104. description: 现货商品名称
  7105. type: string
  7106. type: object
  7107. models.ErmcpSpotGoodsPriceLog:
  7108. properties:
  7109. areauserid:
  7110. description: 所属机构id
  7111. type: integer
  7112. brandname:
  7113. description: 品牌名称
  7114. type: string
  7115. currencyid:
  7116. description: 报价货币ID
  7117. type: integer
  7118. enumdicname:
  7119. description: 现货商品单位名称
  7120. type: string
  7121. gbenumdicname:
  7122. description: 品类单位名称
  7123. type: string
  7124. gmunitid:
  7125. description: 品类单位id
  7126. type: integer
  7127. logid:
  7128. description: 日志id
  7129. type: integer
  7130. modelname:
  7131. description: 品类名称
  7132. type: string
  7133. operateid:
  7134. description: 最后操作人
  7135. type: integer
  7136. operatesrc:
  7137. description: 最后操作来源 - 1:管理端 2:终端
  7138. type: integer
  7139. operatetime:
  7140. description: 最后操作时间
  7141. type: string
  7142. operatorname:
  7143. description: 操作人名称
  7144. type: string
  7145. spotgoodsbrandid:
  7146. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7147. type: integer
  7148. spotgoodsmodelid:
  7149. description: 现货品类ID(通用则为0)
  7150. type: integer
  7151. spotgoodsprice:
  7152. description: 现货价格
  7153. type: number
  7154. tradedate:
  7155. description: 交易日(yyyyMMdd)
  7156. type: string
  7157. unitid:
  7158. description: 现货商品单位id
  7159. type: integer
  7160. wrstandardcode:
  7161. description: 现货商品代码
  7162. type: string
  7163. wrstandardid:
  7164. description: 现货商品ID
  7165. type: integer
  7166. wrstandardname:
  7167. description: 现货商品名称
  7168. type: string
  7169. type: object
  7170. models.ErmcpTaAccount:
  7171. properties:
  7172. accountid:
  7173. description: 账户id
  7174. type: integer
  7175. accountname:
  7176. description: 账户名称
  7177. type: string
  7178. currencyid:
  7179. description: 币种id
  7180. type: integer
  7181. hedgeaccountcode:
  7182. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7183. type: string
  7184. ismain:
  7185. description: 是否主账户 0-否 1-是
  7186. type: integer
  7187. parentaccountid:
  7188. description: 父账户id
  7189. type: integer
  7190. relateduserid:
  7191. description: 关联userid
  7192. type: integer
  7193. tradestatus:
  7194. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7195. type: integer
  7196. type: object
  7197. models.ErmcpTaAccountEx:
  7198. properties:
  7199. mainAcc:
  7200. $ref: '#/definitions/models.ErmcpTaAccount'
  7201. description: 主账号
  7202. subacclist:
  7203. description: 子账号列表
  7204. items:
  7205. $ref: '#/definitions/models.ErmcpTaAccount'
  7206. type: array
  7207. type: object
  7208. models.ErmcpTaAccountInfo:
  7209. properties:
  7210. accountid:
  7211. description: 资金账户ID
  7212. type: integer
  7213. accountname:
  7214. description: 账户名称
  7215. type: string
  7216. balance:
  7217. description: 期初余额
  7218. type: number
  7219. capitalbalance:
  7220. description: 本金余额[外部子账户实际出入金余额]
  7221. type: number
  7222. closepl:
  7223. description: 今日平仓盈亏
  7224. type: number
  7225. creditdecrease:
  7226. description: 今日授信减少
  7227. type: number
  7228. creditincrease:
  7229. description: 今日授信增加
  7230. type: number
  7231. curdebt:
  7232. description: 期末欠款
  7233. type: number
  7234. currencyid:
  7235. description: 货币ID
  7236. type: integer
  7237. currentbalance:
  7238. description: 期末余额
  7239. type: number
  7240. freezecharge:
  7241. description: 手续费冻结
  7242. type: number
  7243. freezemargin:
  7244. description: 冻结保证金
  7245. type: number
  7246. fromaccountid:
  7247. description: 所属上级账户
  7248. type: integer
  7249. inamount:
  7250. description: 今日入金金额(包括三方入金)
  7251. type: number
  7252. ismain:
  7253. description: 是否母账号 0:不是母账户 1:是母账户
  7254. type: integer
  7255. mortgagecredit:
  7256. description: 授信金额
  7257. type: number
  7258. oridebt:
  7259. description: 期初欠款
  7260. type: number
  7261. orifreezecharge:
  7262. description: 期初手续费冻结
  7263. type: number
  7264. orifreezemargin:
  7265. description: 期初冻结保证金
  7266. type: number
  7267. orimortgagecredit:
  7268. description: 期初授信金额
  7269. type: number
  7270. oriothercredit:
  7271. description: 期初其它授信金额
  7272. type: number
  7273. oriotherfreezemargin:
  7274. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7275. type: number
  7276. orioutamountfreeze:
  7277. description: 期初出金冻结
  7278. type: number
  7279. oriusedmargin:
  7280. description: 期初占用保证金
  7281. type: number
  7282. othercredit:
  7283. description: 其它授信金额
  7284. type: number
  7285. othercreditdecrease:
  7286. description: 今日其它授信减少
  7287. type: number
  7288. othercreditincrease:
  7289. description: 今日其它授信增加
  7290. type: number
  7291. otherfreezemargin:
  7292. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7293. type: number
  7294. outamount:
  7295. description: 今日出金金额(包括三方出金)
  7296. type: number
  7297. outamountfreeze:
  7298. description: 出金冻结
  7299. type: number
  7300. outthreshold:
  7301. description: 出金阈值
  7302. type: number
  7303. parentaccountid:
  7304. description: 所属根账号
  7305. type: integer
  7306. paycharge:
  7307. description: 今日手续费支出
  7308. type: number
  7309. relateduserid:
  7310. description: 关联用户
  7311. type: integer
  7312. signstatus:
  7313. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7314. type: integer
  7315. sublevelpath:
  7316. description: 账号层级路径(逗号分隔,首尾加逗号)
  7317. type: string
  7318. taaccounttype:
  7319. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7320. type: integer
  7321. thirdinamount:
  7322. description: 今日三方入金
  7323. type: number
  7324. thirdoutamount:
  7325. description: 今日三方出金
  7326. type: number
  7327. tradestatus:
  7328. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7329. type: integer
  7330. transferamount:
  7331. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7332. type: number
  7333. usedmargin:
  7334. description: 占用保证金
  7335. type: number
  7336. userid:
  7337. description: 用户ID
  7338. type: integer
  7339. type: object
  7340. models.ErmcpTradeConfigTMP:
  7341. properties:
  7342. areauserid:
  7343. description: 所属机构
  7344. type: integer
  7345. basiccurrencyid:
  7346. description: 基本币种ID[汇率] - 目标币种
  7347. type: integer
  7348. mainaccountid:
  7349. description: 主账户ID
  7350. type: integer
  7351. modifierid:
  7352. description: 修改人
  7353. type: integer
  7354. remark:
  7355. description: 备注
  7356. type: string
  7357. tradeconfigtmpid:
  7358. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7359. type: integer
  7360. tradeconfigtmpname:
  7361. description: 交易配置模板名称
  7362. type: string
  7363. tradeconfigtmptype:
  7364. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7365. type: integer
  7366. updatetime:
  7367. description: 更新时间
  7368. type: string
  7369. type: object
  7370. models.ErmcpWrstandard:
  7371. properties:
  7372. areauserid:
  7373. description: 所属机构
  7374. type: integer
  7375. createtime:
  7376. description: 创建时间
  7377. type: string
  7378. creatorid:
  7379. description: 创建人
  7380. type: integer
  7381. deliverygoodsid:
  7382. description: 品种ID
  7383. type: integer
  7384. enumdicname:
  7385. description: 单位名称
  7386. type: string
  7387. isvalid:
  7388. description: 是否有效 0-无效(停用) 1-有效(正常)
  7389. type: integer
  7390. minivalue:
  7391. description: 最小变动值
  7392. type: integer
  7393. minivaluedp:
  7394. description: 最小变动值小数位
  7395. type: integer
  7396. realminivalue:
  7397. description: 实际最小变动值
  7398. type: integer
  7399. realminivaluedp:
  7400. description: 实际最小变动值小数位
  7401. type: integer
  7402. remark:
  7403. description: 备注
  7404. type: string
  7405. unitid:
  7406. description: 单位ID
  7407. type: integer
  7408. updatetime:
  7409. description: 更新时间
  7410. type: string
  7411. wrstandardcode:
  7412. description: 现货商品代码
  7413. type: string
  7414. wrstandardid:
  7415. description: 现货商品ID(SEQ_WRSTANDARD)
  7416. type: integer
  7417. wrstandardname:
  7418. description: 现货商品名称
  7419. type: string
  7420. type: object
  7421. models.Externalexchange:
  7422. properties:
  7423. autoid:
  7424. description: AutoID - SEQ_EXTERNALEXCHANGE
  7425. type: integer
  7426. exchangefullname:
  7427. description: 外部交易所全称
  7428. type: string
  7429. exexchangecode:
  7430. description: 外部交易所代码
  7431. type: string
  7432. exexchangename:
  7433. description: 外部交易所名称(简称)
  7434. type: string
  7435. ismarketprice:
  7436. description: 是否支持市价 - 0:不支持 1:支持
  7437. type: integer
  7438. quotegear:
  7439. description: 行情档位(1-10)
  7440. type: integer
  7441. showbrokerflag:
  7442. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7443. type: integer
  7444. updatetime:
  7445. description: 更新时间
  7446. type: string
  7447. required:
  7448. - autoid
  7449. type: object
  7450. models.Funcmenulist:
  7451. properties:
  7452. iconame:
  7453. description: 菜单图标
  7454. type: string
  7455. menutype:
  7456. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7457. type: integer
  7458. parentcode:
  7459. description: 上级资源代码
  7460. type: string
  7461. remark:
  7462. description: 备注
  7463. type: string
  7464. resourcecode:
  7465. description: 资源代码
  7466. type: string
  7467. resourcelevel:
  7468. description: 级别 1-一级 2-二级 3-三级 4-四级
  7469. type: integer
  7470. resourcename:
  7471. description: 资源名
  7472. type: string
  7473. sort:
  7474. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7475. type: integer
  7476. url:
  7477. description: URL
  7478. type: string
  7479. required:
  7480. - resourcecode
  7481. type: object
  7482. models.Goods:
  7483. properties:
  7484. agreeunit:
  7485. description: 合约单位
  7486. type: number
  7487. auditaccountid:
  7488. description: 审核操作员账号
  7489. type: integer
  7490. audittime:
  7491. description: 审核时间
  7492. type: string
  7493. cancelaccountid:
  7494. description: 注销操作员账号
  7495. type: integer
  7496. canceltime:
  7497. description: 注销时间
  7498. type: string
  7499. closepricemode:
  7500. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7501. type: integer
  7502. closepriceparam:
  7503. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7504. type: number
  7505. createtime:
  7506. description: 创建时间
  7507. type: string
  7508. creatorid:
  7509. description: 创建人
  7510. type: integer
  7511. currencyid:
  7512. description: 报价货币ID
  7513. type: integer
  7514. cutmode:
  7515. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7516. type: integer
  7517. decimalplace:
  7518. description: 报价小数位
  7519. type: integer
  7520. delistingdate:
  7521. description: 商品退市时间(状态:退市) -- 已作废
  7522. type: string
  7523. delistingmode:
  7524. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7525. type: integer
  7526. deliveryflag:
  7527. description: 交割标志 - 0:不可交割 1:可交割
  7528. type: integer
  7529. forceclosemode:
  7530. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7531. type: integer
  7532. forceclosevalue:
  7533. description: 定期强平参数 [收益权]
  7534. type: integer
  7535. goodscode:
  7536. description: 商品代码(内部)
  7537. type: string
  7538. goodscurrencyid:
  7539. description: 合约货币ID
  7540. type: integer
  7541. goodsgroupid:
  7542. description: 所属商品组ID
  7543. type: integer
  7544. goodsid:
  7545. description: 商品ID(自增ID SEQ_GOODS)
  7546. type: integer
  7547. goodsname:
  7548. description: 商品名称
  7549. type: string
  7550. goodsquotetype:
  7551. description: '合约报价类型: 1-直接报价 2-间接报价'
  7552. type: integer
  7553. goodsstatus:
  7554. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7555. type: integer
  7556. goodstradetype:
  7557. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7558. type: integer
  7559. goodunitid:
  7560. description: 报价单位ID
  7561. type: integer
  7562. hasquoter:
  7563. description: 是否有报价商 - 0:无报价商 1:有报价商
  7564. type: integer
  7565. hqprotecttime:
  7566. description: 行情保护时间(秒)
  7567. type: integer
  7568. innerdealmode:
  7569. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7570. type: integer
  7571. isbuylimited:
  7572. description: 是否限制建仓量 - 0:不限制 1:限制
  7573. type: integer
  7574. lasttradedate:
  7575. description: 最后交易日期(状态:待退市)
  7576. type: string
  7577. listingdate:
  7578. description: 交易开始日期
  7579. type: string
  7580. marketid:
  7581. description: 所属市场ID
  7582. type: integer
  7583. modifierid:
  7584. description: 修改人
  7585. type: integer
  7586. modifystatus:
  7587. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7588. type: integer
  7589. modifytime:
  7590. description: 修改时间
  7591. type: string
  7592. outerdealmode:
  7593. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7594. type: integer
  7595. outgoodscode:
  7596. description: 商品代码(外部)
  7597. type: string
  7598. qtydecimalplace:
  7599. description: 成交量小数位
  7600. type: integer
  7601. quotegear:
  7602. description: 行情档位(1-10)
  7603. type: integer
  7604. quoteminunit:
  7605. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7606. type: integer
  7607. quoteshowtype:
  7608. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7609. type: integer
  7610. quoteshowtypeinterval:
  7611. description: 行情报价间隔时间(秒)(成交价时为0)
  7612. type: integer
  7613. remark:
  7614. description: 备注
  7615. type: string
  7616. required:
  7617. - goodscode
  7618. - goodsid
  7619. - goodsname
  7620. - marketid
  7621. type: object
  7622. models.GoodsBrand:
  7623. properties:
  7624. brandid:
  7625. description: 品牌ID
  7626. type: integer
  7627. brandname:
  7628. description: 品牌名称
  7629. type: string
  7630. isvalid:
  7631. description: 是否有效 - 0:无效 1:有效
  7632. type: integer
  7633. type: object
  7634. models.GoodsIDAndName:
  7635. properties:
  7636. goodscode:
  7637. description: 商品代码(内部)
  7638. type: string
  7639. goodsid:
  7640. description: 商品ID(自增ID SEQ_GOODS)
  7641. type: integer
  7642. goodsname:
  7643. description: 商品名称
  7644. type: string
  7645. marketid:
  7646. description: 所属市场ID
  7647. type: integer
  7648. required:
  7649. - goodscode
  7650. - goodsid
  7651. - goodsname
  7652. - marketid
  7653. type: object
  7654. models.GoodsTypeModel:
  7655. properties:
  7656. convertfactor:
  7657. description: 标仓系数
  7658. type: number
  7659. modelid:
  7660. description: 型号ID
  7661. type: integer
  7662. modelname:
  7663. description: 型号名称
  7664. type: string
  7665. updatetime:
  7666. description: 更新时间
  7667. type: string
  7668. type: object
  7669. models.Goodsgroup:
  7670. properties:
  7671. agreeunit:
  7672. description: 合约单位
  7673. type: number
  7674. canshort:
  7675. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7676. type: integer
  7677. closepricemode:
  7678. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7679. type: integer
  7680. closepriceparam:
  7681. description: 强平最新价浮动比例 - 方式为2时使用
  7682. type: number
  7683. createtime:
  7684. description: 创建时间
  7685. type: string
  7686. creatorid:
  7687. description: 创建人
  7688. type: integer
  7689. currencyid:
  7690. description: 报价货币ID
  7691. type: integer
  7692. decimalplace:
  7693. description: 报价小数位
  7694. type: integer
  7695. exercisetype:
  7696. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7697. type: integer
  7698. exexchangeid:
  7699. description: 外部交易所ID[通道交易]
  7700. type: integer
  7701. goodsgroupid:
  7702. description: 商品组ID(自增ID)
  7703. type: integer
  7704. goodsgroupname:
  7705. description: 商品组名称
  7706. type: string
  7707. goodsgroupstatus:
  7708. description: 商品组状态 - 1:正常 2:注销
  7709. type: integer
  7710. goodunitid:
  7711. description: 报价单位ID
  7712. type: integer
  7713. innerdealmode:
  7714. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7715. type: integer
  7716. isbuylimited:
  7717. description: 是否限制建仓量 - 0:不限制 1:限制
  7718. type: integer
  7719. marketid:
  7720. description: 所属市场ID
  7721. type: integer
  7722. modifierid:
  7723. description: 修改人
  7724. type: integer
  7725. modifytime:
  7726. description: 修改时间
  7727. type: string
  7728. outerdealmode:
  7729. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7730. type: integer
  7731. outergroupcode:
  7732. description: 外部商品组代码[通道交易]
  7733. type: string
  7734. premiumdecimalplace:
  7735. description: 权利金小数位[场外期权]
  7736. type: integer
  7737. premiumspreadalgorithm:
  7738. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7739. type: integer
  7740. premiumspreadvalue:
  7741. description: 权利金点差值[场外期权]
  7742. type: number
  7743. qtydecimalplace:
  7744. description: 成交量小数位
  7745. type: integer
  7746. quotegear:
  7747. description: 行情档位(1-10)
  7748. type: integer
  7749. quoteminunit:
  7750. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7751. type: integer
  7752. quoterid:
  7753. description: 报价商ID[场外期权]
  7754. type: integer
  7755. quotesourcegroupid:
  7756. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7757. type: integer
  7758. syncgoodsqty:
  7759. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7760. type: integer
  7761. required:
  7762. - goodsgroupid
  7763. - goodsgroupname
  7764. - goodsgroupstatus
  7765. - marketid
  7766. type: object
  7767. models.Goodssortbypreposition:
  7768. properties:
  7769. goodscode:
  7770. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7771. type: string
  7772. goodsgroupcode:
  7773. description: 品种代码
  7774. type: string
  7775. prepositionqty:
  7776. description: 昨持仓量
  7777. type: integer
  7778. sortindex:
  7779. description: 排序
  7780. type: integer
  7781. tradedate:
  7782. description: 交易日
  7783. type: string
  7784. updatetime:
  7785. description: 更新时间
  7786. type: string
  7787. required:
  7788. - goodscode
  7789. - tradedate
  7790. type: object
  7791. models.Hedgeinnerholderdetail:
  7792. properties:
  7793. accountid:
  7794. description: 账号ID
  7795. type: integer
  7796. buyorsell:
  7797. description: 方向 - 0:买 1:卖
  7798. type: integer
  7799. freezeqty:
  7800. description: 冻结数量 - 按单平使用
  7801. type: integer
  7802. goodsid:
  7803. description: 商品ID
  7804. type: integer
  7805. holderamount:
  7806. description: 持仓金额 [商品币种]
  7807. type: number
  7808. holderdays:
  7809. description: 剩余冻结天数
  7810. type: integer
  7811. holderprice:
  7812. description: 持仓价格
  7813. type: number
  7814. holderqty:
  7815. description: 持仓数量
  7816. type: integer
  7817. marketid:
  7818. description: 市场ID
  7819. type: integer
  7820. openprice:
  7821. description: 建仓价格
  7822. type: number
  7823. openqty:
  7824. description: 建仓数量
  7825. type: integer
  7826. parentaccountid:
  7827. description: 所属母账户
  7828. type: integer
  7829. releaseamount:
  7830. description: 释放持仓金额[商品币种]
  7831. type: number
  7832. tradeamount:
  7833. description: 成交金额[账户]
  7834. type: number
  7835. tradedate:
  7836. description: 交易日(yyyyMMdd)
  7837. type: string
  7838. tradeid:
  7839. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7840. type: string
  7841. tradetime:
  7842. description: 交易时间
  7843. type: string
  7844. required:
  7845. - buyorsell
  7846. - tradeid
  7847. type: object
  7848. models.Hedgemarketopenlog:
  7849. properties:
  7850. accountid:
  7851. description: 资金账号[外部母账户]
  7852. type: integer
  7853. fcname:
  7854. description: 期货公司名称
  7855. type: string
  7856. handlestatus:
  7857. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7858. type: integer
  7859. marketid:
  7860. description: 市场ID
  7861. type: integer
  7862. status:
  7863. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7864. type: integer
  7865. tradedate:
  7866. description: 交易日(yyyyMMdd)
  7867. type: string
  7868. updatetime:
  7869. description: 更新时间
  7870. type: string
  7871. required:
  7872. - accountid
  7873. type: object
  7874. models.HsbyBuyMyPayOrder:
  7875. properties:
  7876. agreeunit:
  7877. description: 合约单位
  7878. type: number
  7879. buyaccountid:
  7880. description: 买方账号ID[报价币种]
  7881. type: integer
  7882. buyorderid:
  7883. description: 买方委托单号
  7884. type: string
  7885. createtime:
  7886. description: 创建时间
  7887. type: string
  7888. currencysign:
  7889. description: 货币符号
  7890. type: string
  7891. decimalplace:
  7892. description: 报价小数位
  7893. type: integer
  7894. goodscode:
  7895. description: 商品代码(内部)
  7896. type: string
  7897. goodsid:
  7898. description: 商品ID
  7899. type: integer
  7900. goodsname:
  7901. description: 商品名称
  7902. type: string
  7903. marketid:
  7904. description: 市场ID
  7905. type: integer
  7906. offamount:
  7907. description: 优惠金额
  7908. type: number
  7909. originalamount:
  7910. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7911. type: number
  7912. payamount:
  7913. description: 支付金额 = TradeAmount + TradeCharge
  7914. type: number
  7915. payflag:
  7916. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7917. type: integer
  7918. paylimitedtime:
  7919. description: 支付期限
  7920. type: string
  7921. paytime:
  7922. description: 付款时间
  7923. type: string
  7924. picurls1:
  7925. description: 预售商品介绍图片[多张用逗号分隔]
  7926. type: string
  7927. picurls2:
  7928. description: 挂牌商品介绍图片[多张用逗号分隔]
  7929. type: string
  7930. sellaccountid:
  7931. description: 卖方账号ID[报价币种]
  7932. type: integer
  7933. sellorderid:
  7934. description: 卖方委托单号
  7935. type: string
  7936. tradeamount:
  7937. description: 成交金额
  7938. type: number
  7939. tradecharge:
  7940. description: 成交手续费(买方)
  7941. type: number
  7942. tradedate:
  7943. description: 交易日(yyyyMMdd)
  7944. type: string
  7945. tradeid:
  7946. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7947. type: string
  7948. trademode:
  7949. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7950. 21:竞拍-大宗式 22:受托竞价
  7951. type: integer
  7952. tradeprice:
  7953. description: 成交价格
  7954. type: number
  7955. tradeqty:
  7956. description: 成交数量
  7957. type: integer
  7958. vendorname1:
  7959. description: 预售商品供应商名称
  7960. type: string
  7961. vendorname2:
  7962. description: 挂牌商品供应商名称
  7963. type: string
  7964. required:
  7965. - goodscode
  7966. - goodsname
  7967. - tradeid
  7968. - trademode
  7969. type: object
  7970. models.HsbyBuyMyTradeDetail:
  7971. properties:
  7972. accountid:
  7973. description: 账户ID[报价币种]
  7974. type: integer
  7975. agreeunit:
  7976. description: 合约单位
  7977. type: number
  7978. amount:
  7979. description: 金额 = 价格 * 数量 * 合约单位
  7980. type: number
  7981. buyorsell:
  7982. description: 买卖 - 0:买 1:卖
  7983. type: integer
  7984. currencysign:
  7985. description: 货币符号
  7986. type: string
  7987. decimalplace:
  7988. description: 报价小数位
  7989. type: integer
  7990. goodscode:
  7991. description: 商品代码(内部)
  7992. type: string
  7993. goodsid:
  7994. description: 商品ID
  7995. type: integer
  7996. goodsname:
  7997. description: 商品名称
  7998. type: string
  7999. marketid:
  8000. description: 市场ID
  8001. type: integer
  8002. orderamount:
  8003. description: 委托金额
  8004. type: number
  8005. orderid:
  8006. description: 单号(成交单号)
  8007. type: string
  8008. picurls1:
  8009. description: 预售商品介绍图片[多张用逗号分隔]
  8010. type: string
  8011. picurls2:
  8012. description: 挂牌商品介绍图片[多张用逗号分隔]
  8013. type: string
  8014. price:
  8015. description: 价格
  8016. type: number
  8017. qty:
  8018. description: 数量
  8019. type: integer
  8020. time:
  8021. description: 时间
  8022. type: string
  8023. trademode:
  8024. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8025. 21:竞拍-大宗式 22:受托竞价
  8026. type: integer
  8027. vendorname1:
  8028. description: 预售商品供应商名称
  8029. type: string
  8030. vendorname2:
  8031. description: 挂牌商品供应商名称
  8032. type: string
  8033. required:
  8034. - accountid
  8035. - buyorsell
  8036. - goodscode
  8037. - goodsid
  8038. - goodsname
  8039. - marketid
  8040. - orderid
  8041. - qty
  8042. - time
  8043. - trademode
  8044. type: object
  8045. models.HsbyGoodsOrderDetail:
  8046. properties:
  8047. buyorsell:
  8048. description: 买卖 - 0:买 1:卖
  8049. type: integer
  8050. currencysign:
  8051. description: 货币符号
  8052. type: string
  8053. customername:
  8054. description: 客户名称(企业名称),已脱敏
  8055. type: string
  8056. enableqty:
  8057. description: 可用数量
  8058. type: integer
  8059. goodunit:
  8060. description: 报价单位
  8061. type: string
  8062. orderid:
  8063. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8064. type: string
  8065. orderprice:
  8066. description: 委托价格
  8067. type: number
  8068. ordertime:
  8069. description: 委托时间
  8070. type: string
  8071. required:
  8072. - buyorsell
  8073. - orderid
  8074. - ordertime
  8075. type: object
  8076. models.HsbyListingGoodsDetail:
  8077. properties:
  8078. agreeunit:
  8079. description: 合约单位
  8080. type: number
  8081. buymaxqty:
  8082. description: 购买上限 [71] - 0为不限
  8083. type: integer
  8084. currency:
  8085. description: 货币
  8086. type: string
  8087. currencysign:
  8088. description: 货币符号
  8089. type: string
  8090. decimalplace:
  8091. description: 报价小数位
  8092. type: integer
  8093. desccityid:
  8094. description: 目的地(市)ID
  8095. type: integer
  8096. descprovinceid:
  8097. description: 目的地(省)ID
  8098. type: integer
  8099. goodscode:
  8100. description: 商品代码(内部)
  8101. type: string
  8102. goodsdesc:
  8103. description: 商品详情
  8104. type: string
  8105. goodsid:
  8106. description: 商品ID(自增ID SEQ_GOODS)
  8107. type: integer
  8108. goodsname:
  8109. description: 商品名称
  8110. type: string
  8111. goodsprice:
  8112. description: 商品价格
  8113. type: number
  8114. hotindex:
  8115. description: 景点热度
  8116. type: integer
  8117. last:
  8118. description: 现价
  8119. type: number
  8120. limitdown:
  8121. description: 跌停价
  8122. type: number
  8123. limitup:
  8124. description: 涨停价
  8125. type: number
  8126. lotsize:
  8127. description: 手数最小变动单位
  8128. type: integer
  8129. marketid:
  8130. description: 所属市场ID
  8131. type: integer
  8132. picurls:
  8133. description: 介绍图片[多张用逗号分隔]
  8134. type: string
  8135. quoteminunit:
  8136. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8137. type: integer
  8138. stepvalue:
  8139. description: 价格最小变动单位
  8140. type: number
  8141. trademode:
  8142. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8143. 21:竞拍-大宗式 22:受托竞价
  8144. type: integer
  8145. vendorattr:
  8146. description: 供应商附件(多张,逗号分隔)
  8147. type: string
  8148. vendorname:
  8149. description: 供应商名称
  8150. type: string
  8151. vendorphone:
  8152. description: 供应商客服电话
  8153. type: string
  8154. videourls:
  8155. description: 介绍视频[多张用逗号分隔]
  8156. type: string
  8157. required:
  8158. - goodscode
  8159. - goodsid
  8160. - goodsname
  8161. - marketid
  8162. - trademode
  8163. type: object
  8164. models.HsbyMarketGoods:
  8165. properties:
  8166. accountid:
  8167. description: 账户ID[报价币种]
  8168. type: integer
  8169. agreeunit:
  8170. description: 合约单位
  8171. type: number
  8172. buyorsell:
  8173. description: 买卖 - 0:买 1:卖
  8174. type: integer
  8175. categoryid:
  8176. description: 类别ID(WRCATEGORY)
  8177. type: integer
  8178. currency:
  8179. description: 货币
  8180. type: string
  8181. currencysign:
  8182. description: 货币符号
  8183. type: string
  8184. customername:
  8185. description: 卖家名称
  8186. type: string
  8187. decimalplace:
  8188. description: 报价小数位
  8189. type: integer
  8190. goodscode:
  8191. description: 商品代码(内部)
  8192. type: string
  8193. goodsid:
  8194. description: 商品ID
  8195. type: integer
  8196. goodsname:
  8197. description: 商品名称
  8198. type: string
  8199. goodsprice:
  8200. description: 商品价格
  8201. type: number
  8202. hascoupon:
  8203. description: 是否可用优惠卷
  8204. type: boolean
  8205. hotindex:
  8206. description: 景点热度
  8207. type: integer
  8208. marketid:
  8209. description: 市场ID
  8210. type: integer
  8211. orderid:
  8212. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8213. type: string
  8214. orderprice:
  8215. description: 委托价格
  8216. type: number
  8217. orderstatus:
  8218. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8219. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8220. 16:成交失败违约(荷兰式竞拍专用)
  8221. type: integer
  8222. picurls:
  8223. description: 介绍图片[多张用逗号分隔]
  8224. type: string
  8225. quoteminunit:
  8226. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8227. type: integer
  8228. sellUserID:
  8229. description: 卖方UserID
  8230. type: integer
  8231. trademode:
  8232. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8233. 21:竞拍-大宗式 22:受托竞价
  8234. type: integer
  8235. videourls:
  8236. description: 介绍视频[多张用逗号分隔]
  8237. type: string
  8238. required:
  8239. - accountid
  8240. - buyorsell
  8241. - goodscode
  8242. - goodsid
  8243. - goodsname
  8244. - marketid
  8245. - orderid
  8246. - trademode
  8247. type: object
  8248. models.HsbyMarketGoodsDetail:
  8249. properties:
  8250. accountid:
  8251. description: 账户ID[报价币种]
  8252. type: integer
  8253. agreeunit:
  8254. description: 合约单位
  8255. type: number
  8256. buymaxqty:
  8257. description: 购买上限 [71] - 0为不限
  8258. type: integer
  8259. buyorsell:
  8260. description: 买卖 - 0:买 1:卖
  8261. type: integer
  8262. cancelqty:
  8263. description: 撤单数量
  8264. type: integer
  8265. categoryid:
  8266. description: 类别ID(WRCATEGORY)
  8267. type: integer
  8268. currency:
  8269. description: 货币
  8270. type: string
  8271. currencysign:
  8272. description: 货币符号
  8273. type: string
  8274. customername:
  8275. description: 卖家名称
  8276. type: string
  8277. decimalplace:
  8278. description: 报价小数位
  8279. type: integer
  8280. goodscode:
  8281. description: 商品代码(内部)
  8282. type: string
  8283. goodsdesc:
  8284. description: 商品详情
  8285. type: string
  8286. goodsid:
  8287. description: 商品ID
  8288. type: integer
  8289. goodsname:
  8290. description: 商品名称
  8291. type: string
  8292. goodsprice:
  8293. description: 商品价格
  8294. type: number
  8295. hotindex:
  8296. description: 景点热度
  8297. type: integer
  8298. lotsize:
  8299. description: 手数最小变动单位
  8300. type: integer
  8301. marketid:
  8302. description: 市场ID
  8303. type: integer
  8304. orderid:
  8305. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8306. type: string
  8307. orderprice:
  8308. description: 委托价格
  8309. type: number
  8310. orderqty:
  8311. description: 委托数量
  8312. type: integer
  8313. orderstatus:
  8314. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8315. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8316. 16:成交失败违约(荷兰式竞拍专用)
  8317. type: integer
  8318. picurls:
  8319. description: 介绍图片[多张用逗号分隔]
  8320. type: string
  8321. quoteminunit:
  8322. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8323. type: integer
  8324. sellUserID:
  8325. description: 卖方UserID
  8326. type: integer
  8327. trademode:
  8328. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8329. 21:竞拍-大宗式 22:受托竞价
  8330. type: integer
  8331. tradeqty:
  8332. description: 成交数量
  8333. type: integer
  8334. vendorattr:
  8335. description: 供应商附件(多张,逗号分隔)
  8336. type: string
  8337. vendorname:
  8338. description: 供应商名称
  8339. type: string
  8340. vendorphone:
  8341. description: 供应商客服电话
  8342. type: string
  8343. videourls:
  8344. description: 介绍视频[多张用逗号分隔]
  8345. type: string
  8346. required:
  8347. - accountid
  8348. - buyorsell
  8349. - goodscode
  8350. - goodsid
  8351. - goodsname
  8352. - marketid
  8353. - orderid
  8354. - orderqty
  8355. - trademode
  8356. type: object
  8357. models.HsbyMarketInfo:
  8358. properties:
  8359. marketid:
  8360. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8361. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8362. type: integer
  8363. marketname:
  8364. description: 市场名称
  8365. type: string
  8366. marketstatus:
  8367. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8368. type: integer
  8369. trademode:
  8370. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8371. 21:竞拍-大宗式 22:受托竞价
  8372. type: integer
  8373. required:
  8374. - marketid
  8375. - marketstatus
  8376. - trademode
  8377. type: object
  8378. models.HsbyMyGoods:
  8379. properties:
  8380. accountid:
  8381. description: 账号Id
  8382. type: integer
  8383. agreeunit:
  8384. description: 合约单位
  8385. type: number
  8386. buyaverageprice:
  8387. description: 持仓均价
  8388. type: number
  8389. buycurholderamount:
  8390. description: 买当前持仓总金额[商品币种]
  8391. type: number
  8392. buycurpositionqty:
  8393. description: 买当前持仓总数量
  8394. type: integer
  8395. buymaxqty:
  8396. description: 购买上限 [71] - 0为不限
  8397. type: integer
  8398. currencysign:
  8399. description: 货币符号
  8400. type: string
  8401. decimalplace:
  8402. description: 报价小数位
  8403. type: integer
  8404. enableqty:
  8405. description: 可用数量
  8406. type: integer
  8407. goodscode:
  8408. description: 商品代码(内部)
  8409. type: string
  8410. goodsid:
  8411. description: 商品Id
  8412. type: integer
  8413. goodsname:
  8414. description: 商品名称
  8415. type: string
  8416. goodsprice:
  8417. description: 商品价格
  8418. type: number
  8419. goodsstatus:
  8420. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8421. type: integer
  8422. last:
  8423. description: 现价(仅使用于挂牌点选)
  8424. type: number
  8425. limitdown:
  8426. description: 跌停价(仅使用于挂牌点选)
  8427. type: number
  8428. limitup:
  8429. description: 涨停价(仅使用于挂牌点选)
  8430. type: number
  8431. lotsize:
  8432. description: 手数最小变动单位
  8433. type: integer
  8434. marketid:
  8435. description: 所属市场ID
  8436. type: integer
  8437. picurls:
  8438. description: 介绍图片[多张用逗号分隔]
  8439. type: string
  8440. quoteminunit:
  8441. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8442. type: integer
  8443. stepvalue:
  8444. description: 价格最小变动单位
  8445. type: number
  8446. trademode:
  8447. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8448. 21:竞拍-大宗式 22:受托竞价
  8449. type: integer
  8450. required:
  8451. - accountid
  8452. - goodscode
  8453. - goodsid
  8454. - goodsname
  8455. - marketid
  8456. - trademode
  8457. type: object
  8458. models.HsbyMyPackage:
  8459. properties:
  8460. accountid:
  8461. description: 账户ID
  8462. type: integer
  8463. address:
  8464. description: 提货人详细地址
  8465. type: string
  8466. agreeunit:
  8467. description: 合约单位
  8468. type: number
  8469. amount:
  8470. description: 提货金额
  8471. type: number
  8472. auditer:
  8473. description: 审核人
  8474. type: integer
  8475. audittime:
  8476. description: 审核时间
  8477. type: string
  8478. averageprice:
  8479. description: 均价
  8480. type: number
  8481. cardnum:
  8482. description: 提货人证件号码
  8483. type: string
  8484. cardtypeid:
  8485. description: 提货人证件类型
  8486. type: integer
  8487. checkremark:
  8488. description: 审核备注
  8489. type: string
  8490. currencysign:
  8491. description: 货币符号
  8492. type: string
  8493. decimalplace:
  8494. description: 报价小数位
  8495. type: integer
  8496. goodscode:
  8497. description: 商品代码(内部)
  8498. type: string
  8499. goodsid:
  8500. description: 商品ID
  8501. type: integer
  8502. goodsname:
  8503. description: 商品名称
  8504. type: string
  8505. handlestatus:
  8506. description: 处理状态
  8507. type: integer
  8508. marketid:
  8509. description: 市场ID
  8510. type: integer
  8511. phonenum:
  8512. description: 提货人联系方式
  8513. type: string
  8514. picurls:
  8515. description: 介绍图片[多张用逗号分隔]
  8516. type: string
  8517. qty:
  8518. description: 提货数量
  8519. type: number
  8520. recivername:
  8521. description: 提货人姓名
  8522. type: string
  8523. reqtime:
  8524. description: 更新时间
  8525. type: string
  8526. takemode:
  8527. description: 提货方式 - 2:自提 3:配送
  8528. type: integer
  8529. takeorderid:
  8530. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8531. type: string
  8532. takeorderstatus:
  8533. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8534. type: integer
  8535. takeremark:
  8536. description: 提货备注
  8537. type: string
  8538. tradedate:
  8539. description: 交易日(yyyyMMdd)
  8540. type: string
  8541. trademode:
  8542. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8543. 21:竞拍-大宗式 22:受托竞价
  8544. type: integer
  8545. userid:
  8546. description: 用户ID
  8547. type: integer
  8548. vendorname:
  8549. description: 供应商名称
  8550. type: string
  8551. required:
  8552. - goodscode
  8553. - goodsname
  8554. - takeorderid
  8555. - trademode
  8556. type: object
  8557. models.HsbyPreGoods:
  8558. properties:
  8559. agreeunit:
  8560. description: 合约单位
  8561. type: number
  8562. currency:
  8563. description: 货币
  8564. type: string
  8565. currencysign:
  8566. description: 货币符号
  8567. type: string
  8568. decimalplace:
  8569. description: 报价小数位
  8570. type: integer
  8571. desccityid:
  8572. description: 目的地(市)
  8573. type: integer
  8574. descprovinceid:
  8575. description: 目的地(省)
  8576. type: integer
  8577. enableqty:
  8578. description: 剩余数量
  8579. type: integer
  8580. goodscode:
  8581. description: 商品代码(内部)
  8582. type: string
  8583. goodsid:
  8584. description: 商品ID(自增ID SEQ_GOODS)
  8585. type: integer
  8586. goodsname:
  8587. description: 商品名称
  8588. type: string
  8589. goodsstatus:
  8590. description: 商品状态- 2:未上市 3:上市
  8591. type: integer
  8592. lasttradedate:
  8593. description: 最后交易日期(状态:待退市)
  8594. type: string
  8595. listingdate:
  8596. description: 交易开始日期
  8597. type: string
  8598. marketid:
  8599. description: 所属市场ID
  8600. type: integer
  8601. picurls:
  8602. description: 介绍图片[多张用逗号分隔]
  8603. type: string
  8604. presaledqty:
  8605. description: 已预售量(预售结束时更新)
  8606. type: integer
  8607. presaleqty:
  8608. description: 预售数量
  8609. type: integer
  8610. quoteminunit:
  8611. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8612. type: integer
  8613. refprice:
  8614. description: 参考价格[一口价]
  8615. type: number
  8616. relatedgoodsid:
  8617. description: 关联交易合约ID
  8618. type: integer
  8619. trademode:
  8620. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8621. 21:竞拍-大宗式 22:受托竞价
  8622. type: integer
  8623. videourls:
  8624. description: 介绍视频[多张用逗号分隔]
  8625. type: string
  8626. required:
  8627. - goodscode
  8628. - goodsid
  8629. - goodsname
  8630. - marketid
  8631. - trademode
  8632. type: object
  8633. models.HsbyPreGoodsDetail:
  8634. properties:
  8635. agreeunit:
  8636. description: 合约单位
  8637. type: number
  8638. buymaxqty:
  8639. description: 购买上限 [71] - 0为不限
  8640. type: integer
  8641. currency:
  8642. description: 货币
  8643. type: string
  8644. currencysign:
  8645. description: 货币符号
  8646. type: string
  8647. customername:
  8648. description: 发行单位
  8649. type: string
  8650. decimalplace:
  8651. description: 报价小数位
  8652. type: integer
  8653. desccityid:
  8654. description: 目的地(市)ID
  8655. type: integer
  8656. descprovinceid:
  8657. description: 目的地(省)ID
  8658. type: integer
  8659. enableqty:
  8660. description: 剩余数量
  8661. type: integer
  8662. goodscode:
  8663. description: 商品代码(内部)
  8664. type: string
  8665. goodsdesc:
  8666. description: 商品详情
  8667. type: string
  8668. goodsid:
  8669. description: 商品ID(自增ID SEQ_GOODS)
  8670. type: integer
  8671. goodsname:
  8672. description: 商品名称
  8673. type: string
  8674. goodsstatus:
  8675. description: 商品状态- 2:未上市 3:上市
  8676. type: integer
  8677. goodunit:
  8678. description: 报价单位
  8679. type: string
  8680. lasttradedate:
  8681. description: 最后交易日期(状态:待退市)
  8682. type: string
  8683. listingdate:
  8684. description: 交易开始日期
  8685. type: string
  8686. lotsize:
  8687. description: 手数最小变动单位
  8688. type: integer
  8689. marketid:
  8690. description: 所属市场ID
  8691. type: integer
  8692. picurls:
  8693. description: 介绍图片[多张用逗号分隔]
  8694. type: string
  8695. presaledqty:
  8696. description: 已预售量(预售结束时更新)
  8697. type: integer
  8698. presaleqty:
  8699. description: 预售数量
  8700. type: integer
  8701. quoteminunit:
  8702. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8703. type: integer
  8704. refprice:
  8705. description: 参考价格[一口价]
  8706. type: number
  8707. relatedgoodsid:
  8708. description: 关联交易合约ID
  8709. type: integer
  8710. stepvalue:
  8711. description: 价格最小变动单位
  8712. type: number
  8713. trademode:
  8714. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8715. 21:竞拍-大宗式 22:受托竞价
  8716. type: integer
  8717. vendorattr:
  8718. description: 供应商附件(多张,逗号分隔)
  8719. type: string
  8720. vendorname:
  8721. description: 供应商名称
  8722. type: string
  8723. vendorphone:
  8724. description: 供应商客服电话
  8725. type: string
  8726. videourls:
  8727. description: 介绍视频[多张用逗号分隔]
  8728. type: string
  8729. required:
  8730. - goodscode
  8731. - goodsid
  8732. - goodsname
  8733. - marketid
  8734. - trademode
  8735. type: object
  8736. models.HsbySellCollectionOrder:
  8737. properties:
  8738. agreeunit:
  8739. description: 合约单位
  8740. type: number
  8741. buyaccountid:
  8742. description: 买方账号ID[报价币种]
  8743. type: integer
  8744. buyorderid:
  8745. description: 买方委托单号
  8746. type: string
  8747. createtime:
  8748. description: 创建时间
  8749. type: string
  8750. currencysign:
  8751. description: 货币符号
  8752. type: string
  8753. decimalplace:
  8754. description: 报价小数位
  8755. type: integer
  8756. goodscode:
  8757. description: 商品代码(内部)
  8758. type: string
  8759. goodsid:
  8760. description: 商品ID
  8761. type: integer
  8762. goodsname:
  8763. description: 商品名称
  8764. type: string
  8765. marketid:
  8766. description: 市场ID
  8767. type: integer
  8768. offamount:
  8769. description: 优惠金额
  8770. type: number
  8771. payamount:
  8772. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8773. type: number
  8774. payflag:
  8775. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8776. type: integer
  8777. paylimitedtime:
  8778. description: 支付期限
  8779. type: string
  8780. paytime:
  8781. description: 付款时间
  8782. type: string
  8783. picurls:
  8784. description: 商品介绍图片[多张用逗号分隔]
  8785. type: string
  8786. sellaccountid:
  8787. description: 卖方账号ID[报价币种]
  8788. type: integer
  8789. sellorderid:
  8790. description: 卖方委托单号
  8791. type: string
  8792. tradeamount:
  8793. description: 成交金额
  8794. type: number
  8795. tradecharge:
  8796. description: 成交手续费(买方)
  8797. type: number
  8798. tradedate:
  8799. description: 交易日(yyyyMMdd)
  8800. type: string
  8801. tradeid:
  8802. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8803. type: string
  8804. trademode:
  8805. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8806. 21:竞拍-大宗式 22:受托竞价
  8807. type: integer
  8808. tradeprice:
  8809. description: 成交价格
  8810. type: number
  8811. tradeqty:
  8812. description: 成交数量
  8813. type: integer
  8814. required:
  8815. - goodscode
  8816. - goodsname
  8817. - tradeid
  8818. - trademode
  8819. type: object
  8820. models.HsbySellMyDetail:
  8821. properties:
  8822. accountid:
  8823. description: 账户ID[报价币种]
  8824. type: integer
  8825. agreeunit:
  8826. description: 合约单位
  8827. type: number
  8828. buyorsell:
  8829. description: 买卖 - 0:买 1:卖
  8830. type: integer
  8831. currencysign:
  8832. description: 货币符号
  8833. type: string
  8834. decimalplace:
  8835. description: 报价小数位
  8836. type: integer
  8837. goodscode:
  8838. description: 商品代码(内部)
  8839. type: string
  8840. goodsid:
  8841. description: 商品ID
  8842. type: integer
  8843. goodsname:
  8844. description: 商品名称
  8845. type: string
  8846. marketid:
  8847. description: 市场ID
  8848. type: integer
  8849. orderid:
  8850. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8851. type: string
  8852. ordertype:
  8853. description: 单据类型:0 - 发布中, 1 - 已完成
  8854. type: integer
  8855. picurls:
  8856. description: 介绍图片[多张用逗号分隔]
  8857. type: string
  8858. price:
  8859. description: 价格
  8860. type: number
  8861. qty:
  8862. description: 数量
  8863. type: integer
  8864. time:
  8865. description: 时间
  8866. type: string
  8867. trademode:
  8868. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8869. 21:竞拍-大宗式 22:受托竞价
  8870. type: integer
  8871. vendorname:
  8872. description: 供应商名称
  8873. type: string
  8874. required:
  8875. - accountid
  8876. - buyorsell
  8877. - goodscode
  8878. - goodsid
  8879. - goodsname
  8880. - marketid
  8881. - orderid
  8882. - time
  8883. - trademode
  8884. type: object
  8885. models.HsbyTopGoods:
  8886. properties:
  8887. agreeunit:
  8888. description: 合约单位
  8889. type: number
  8890. currency:
  8891. description: 货币
  8892. type: string
  8893. currencysign:
  8894. description: 货币符号
  8895. type: string
  8896. decimalplace:
  8897. description: 报价小数位
  8898. type: integer
  8899. desccityid:
  8900. description: 目的地(市)
  8901. type: integer
  8902. descprovinceid:
  8903. description: 目的地(省)
  8904. type: integer
  8905. goodscode:
  8906. description: 商品代码(内部)
  8907. type: string
  8908. goodsid:
  8909. description: 商品ID(自增ID SEQ_GOODS)
  8910. type: integer
  8911. goodsname:
  8912. description: 商品名称
  8913. type: string
  8914. hotindex:
  8915. description: 景点热度
  8916. type: integer
  8917. last:
  8918. description: 现价
  8919. type: number
  8920. marketid:
  8921. description: 所属市场ID
  8922. type: integer
  8923. picurls:
  8924. description: 介绍图片[多张用逗号分隔]
  8925. type: string
  8926. quoteminunit:
  8927. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8928. type: integer
  8929. trademode:
  8930. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8931. 21:竞拍-大宗式 22:受托竞价
  8932. type: integer
  8933. videourls:
  8934. description: 介绍视频[多张用逗号分隔]
  8935. type: string
  8936. required:
  8937. - goodscode
  8938. - goodsid
  8939. - goodsname
  8940. - marketid
  8941. - trademode
  8942. type: object
  8943. models.HybsMyBuyOrderDetail:
  8944. properties:
  8945. accountid:
  8946. description: 账户ID[报价币种]
  8947. type: integer
  8948. agreeunit:
  8949. description: 合约单位
  8950. type: number
  8951. buyorsell:
  8952. description: 买卖 - 0:买 1:卖
  8953. type: integer
  8954. cancelqty:
  8955. description: 撤单数量
  8956. type: integer
  8957. currencysign:
  8958. description: 货币符号
  8959. type: string
  8960. decimalplace:
  8961. description: 报价小数位
  8962. type: integer
  8963. goodscode:
  8964. description: 商品代码(内部)
  8965. type: string
  8966. goodsid:
  8967. description: 商品ID
  8968. type: integer
  8969. goodsname:
  8970. description: 商品名称
  8971. type: string
  8972. listingselecttype:
  8973. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8974. type: integer
  8975. marketid:
  8976. description: 市场ID
  8977. type: integer
  8978. mybuystatus:
  8979. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8980. type: integer
  8981. orderamount:
  8982. description: 委托金额
  8983. type: number
  8984. orderid:
  8985. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8986. type: string
  8987. orderprice:
  8988. description: 委托价格
  8989. type: number
  8990. orderqty:
  8991. description: 委托数量
  8992. type: integer
  8993. orderstatus:
  8994. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8995. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8996. 16:成交失败违约(荷兰式竞拍专用)
  8997. type: integer
  8998. ordertime:
  8999. description: 委托时间
  9000. type: string
  9001. picurls1:
  9002. description: 预售商品介绍图片[多张用逗号分隔]
  9003. type: string
  9004. picurls2:
  9005. description: 挂牌商品介绍图片[多张用逗号分隔]
  9006. type: string
  9007. trademode:
  9008. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9009. 21:竞拍-大宗式 22:受托竞价
  9010. type: integer
  9011. tradeqty:
  9012. description: 成交数量
  9013. type: integer
  9014. vendorname1:
  9015. description: 预售商品供应商名称
  9016. type: string
  9017. vendorname2:
  9018. description: 挂牌商品供应商名称
  9019. type: string
  9020. required:
  9021. - accountid
  9022. - buyorsell
  9023. - goodscode
  9024. - goodsid
  9025. - goodsname
  9026. - marketid
  9027. - orderid
  9028. - orderqty
  9029. - ordertime
  9030. - trademode
  9031. type: object
  9032. models.Loginaccount:
  9033. properties:
  9034. canoutin:
  9035. description: 是否可出入金 - 0:不可 1:可
  9036. type: integer
  9037. clientroleid:
  9038. description: 终端角色ID
  9039. type: integer
  9040. haslogined:
  9041. description: 是否已登录 - 0:未登录 1:已登录
  9042. type: integer
  9043. hasupdatedpwd:
  9044. description: 是否已更改密码 - 0:未修改 1:已修改
  9045. type: integer
  9046. lastloginip:
  9047. description: 最新登录地址
  9048. type: string
  9049. lastloginmode:
  9050. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9051. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9052. type: integer
  9053. lastloginremark:
  9054. description: 最新登录描述
  9055. type: string
  9056. lastlogintime:
  9057. description: 最新登录时间
  9058. type: string
  9059. logincode:
  9060. description: 登录代码
  9061. type: string
  9062. loginfailnum:
  9063. description: 连续登录失败次数(登录成功时清零)
  9064. type: integer
  9065. loginid:
  9066. description: 登陆账号
  9067. type: integer
  9068. loginport:
  9069. description: 最新登录端口
  9070. type: integer
  9071. loginstatus:
  9072. description: 登录账号状态 1:正常 2:冻结 3:无效
  9073. type: integer
  9074. loginusertype:
  9075. description: 登录账号类型 - 1:投资者 2:机构交易员
  9076. type: integer
  9077. modifierid:
  9078. description: 修改人
  9079. type: integer
  9080. modifytime:
  9081. description: 修改时间
  9082. type: string
  9083. pwdwrongcount:
  9084. description: 密码错误次数
  9085. type: integer
  9086. taaccountrighttype:
  9087. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9088. type: integer
  9089. unfreezetime:
  9090. description: 账户解冻时间
  9091. type: string
  9092. userid:
  9093. description: 用户ID
  9094. type: integer
  9095. required:
  9096. - loginid
  9097. type: object
  9098. models.MainAccountInfo:
  9099. properties:
  9100. accountid:
  9101. description: 账号id
  9102. type: string
  9103. accountname:
  9104. description: 账号名称(taaccount表中的名称)
  9105. type: string
  9106. appid:
  9107. description: AppID
  9108. type: string
  9109. authcode:
  9110. description: 授权码
  9111. type: string
  9112. brokerid:
  9113. description: 经纪商id
  9114. type: string
  9115. fcid:
  9116. description: 期货公司id
  9117. type: integer
  9118. fcname:
  9119. description: 期货公司代码
  9120. type: string
  9121. hedgeaccountcode:
  9122. description: 外部账号代码(主账号登录代码)
  9123. type: string
  9124. hedgeaccountpwd:
  9125. description: 密码
  9126. type: string
  9127. ismain:
  9128. description: 是否主账号
  9129. type: integer
  9130. relateduserid:
  9131. description: 关联用户id
  9132. type: integer
  9133. type: object
  9134. models.Market:
  9135. properties:
  9136. auctionwrtype:
  9137. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9138. type: integer
  9139. canacceptquote:
  9140. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9141. type: integer
  9142. cangoodsexercise:
  9143. description: '[期权]是否可现货行权- 0:否 1:是'
  9144. type: integer
  9145. cangoodsexercisetype:
  9146. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9147. type: integer
  9148. canmanualquotestrike:
  9149. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9150. type: integer
  9151. canmutistage:
  9152. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9153. type: integer
  9154. canpreexercise:
  9155. description: '[期权]是否可预申报- 0:否 1:是'
  9156. type: integer
  9157. clearinterval:
  9158. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9159. type: integer
  9160. contracttmp:
  9161. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9162. type: string
  9163. exchareaid:
  9164. description: 所属交易所,可以没有
  9165. type: integer
  9166. goodstype:
  9167. description: 商品类型 - 1:交易商品 2:仓单商品
  9168. type: integer
  9169. hasrebate:
  9170. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9171. type: integer
  9172. hastradecredit:
  9173. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9174. type: integer
  9175. haswr:
  9176. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9177. type: integer
  9178. isdeductmargin:
  9179. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9180. type: integer
  9181. isrecordsource:
  9182. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9183. type: integer
  9184. isreleasemargin:
  9185. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9186. type: integer
  9187. marginformula:
  9188. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9189. type: integer
  9190. marginformula2:
  9191. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9192. type: integer
  9193. marketid:
  9194. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9195. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9196. type: integer
  9197. marketname:
  9198. description: 市场名称
  9199. type: string
  9200. marketserviceid:
  9201. description: 市场服务ID
  9202. type: integer
  9203. marketstatus:
  9204. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9205. type: integer
  9206. markettype:
  9207. description: 市场类型- 1:非交易服务 2:交易服务
  9208. type: integer
  9209. matchermode:
  9210. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9211. type: integer
  9212. openmethod:
  9213. description: 开盘模式 - 0 自动 1手动
  9214. type: integer
  9215. otcuserid:
  9216. description: 场外期权做市商[场外期权]
  9217. type: integer
  9218. outersynctime:
  9219. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9220. type: string
  9221. pendingflag:
  9222. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9223. type: integer
  9224. pendingtime:
  9225. description: 待开市时间[通道交易-对冲](HH:mm)
  9226. type: string
  9227. performancetempid:
  9228. description: 履约计划模板ID - 作废
  9229. type: integer
  9230. premiumquotemode:
  9231. description: 权利金报价方式 - 1:自动 2:手动
  9232. type: integer
  9233. rebateratio:
  9234. description: 返利比率[竞价式]
  9235. type: number
  9236. reckonorder:
  9237. description: 结算顺序
  9238. type: integer
  9239. reckonpricealgorithm:
  9240. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9241. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9242. type: integer
  9243. reckonpriceparam:
  9244. description: 结算价参数
  9245. type: integer
  9246. reckontime:
  9247. description: 结算时间[通道交易-对冲](HH:mm)
  9248. type: string
  9249. roleprioritytype:
  9250. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9251. type: integer
  9252. selllistingauditflag:
  9253. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9254. type: integer
  9255. trademarkettype:
  9256. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9257. type: integer
  9258. trademode:
  9259. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9260. 21:竞拍-大宗式 22:受托竞价
  9261. type: integer
  9262. tradeproperty:
  9263. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9264. 8:场外期权
  9265. type: integer
  9266. tradetype:
  9267. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9268. type: integer
  9269. required:
  9270. - marketid
  9271. - marketstatus
  9272. - openmethod
  9273. - reckonpricealgorithm
  9274. - trademode
  9275. - tradeproperty
  9276. type: object
  9277. models.Marketrun:
  9278. properties:
  9279. afternexttradedate:
  9280. description: 下下交易日
  9281. type: string
  9282. clearquoteflag:
  9283. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9284. type: integer
  9285. lastreckondate:
  9286. description: 最新交易日(结算成功)
  9287. type: string
  9288. machinedate:
  9289. description: 机器时间
  9290. type: string
  9291. manualflag:
  9292. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9293. type: integer
  9294. marketid:
  9295. description: 市场ID
  9296. type: integer
  9297. nexttradedate:
  9298. description: 下一交易日
  9299. type: string
  9300. pretradedate:
  9301. description: 上一交易日
  9302. type: string
  9303. reckonflag:
  9304. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9305. type: integer
  9306. runstatus:
  9307. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9308. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9309. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9310. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9311. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9312. 62.今日免清算
  9313. type: integer
  9314. sectionid:
  9315. description: 时间段号[多时段时用]
  9316. type: integer
  9317. tradedate:
  9318. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9319. type: string
  9320. tradedate2:
  9321. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9322. type: string
  9323. updatetime:
  9324. description: 更新时间
  9325. type: string
  9326. required:
  9327. - marketid
  9328. - nexttradedate
  9329. - reckonflag
  9330. - runstatus
  9331. - tradedate
  9332. - tradedate2
  9333. type: object
  9334. models.Messageboard:
  9335. properties:
  9336. contactnum:
  9337. description: 联系电话
  9338. type: string
  9339. createtime:
  9340. description: 创建时间
  9341. type: string
  9342. message:
  9343. description: 留言信息
  9344. type: string
  9345. messageboardid:
  9346. description: 留言簿ID(SEQ_MessageBoard)
  9347. type: integer
  9348. userid:
  9349. description: 用户ID
  9350. type: integer
  9351. required:
  9352. - messageboardid
  9353. type: object
  9354. models.MyCoupon:
  9355. properties:
  9356. accountid:
  9357. description: 资金账户ID
  9358. type: integer
  9359. areauserid:
  9360. description: 所属机构
  9361. type: integer
  9362. conditionvalue:
  9363. description: 条件阈值(可为0)
  9364. type: number
  9365. couponcategroy:
  9366. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9367. type: integer
  9368. couponname:
  9369. description: 优惠券名称
  9370. type: string
  9371. coupontypeid:
  9372. description: 优惠券类型ID
  9373. type: string
  9374. couponvalue:
  9375. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9376. type: number
  9377. curfreezeqty:
  9378. description: 期末冻结数量
  9379. type: integer
  9380. curqty:
  9381. description: 期末数量
  9382. type: integer
  9383. isgeneral:
  9384. description: 是否通用券 - 0:否 1:是
  9385. type: integer
  9386. isunusable:
  9387. description: 是否不可用
  9388. type: boolean
  9389. limitedflag:
  9390. description: 是否指定商品 - 0:不限 1:限制
  9391. type: integer
  9392. limitedgoodsids:
  9393. description: 指定商品IDs[逗号分隔,前后加逗号]
  9394. type: string
  9395. orifreezeqty:
  9396. description: 期初冻结数量
  9397. type: integer
  9398. oriqty:
  9399. description: 期初数量
  9400. type: integer
  9401. reasontype:
  9402. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9403. type: integer
  9404. todaydecrease:
  9405. description: 今日减少
  9406. type: integer
  9407. todayincrease:
  9408. description: 今日增加
  9409. type: integer
  9410. userid:
  9411. description: 用户ID
  9412. type: integer
  9413. userscope:
  9414. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9415. type: string
  9416. required:
  9417. - accountid
  9418. - coupontypeid
  9419. type: object
  9420. models.MyCouponHold:
  9421. properties:
  9422. accountid:
  9423. description: 资金账户ID
  9424. type: integer
  9425. conditionvalue:
  9426. description: 条件阈值(可为0)
  9427. type: number
  9428. couponcategroy:
  9429. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9430. type: integer
  9431. couponholdid:
  9432. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9433. type: string
  9434. couponname:
  9435. description: 优惠券名称
  9436. type: string
  9437. coupontypeid:
  9438. description: 优惠券类型ID - SEQ_COUPONTYPE
  9439. type: string
  9440. couponvalue:
  9441. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9442. type: number
  9443. createtime:
  9444. description: 创建时间
  9445. type: string
  9446. enddate:
  9447. description: 结束日期
  9448. type: string
  9449. giveapplyid:
  9450. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9451. type: integer
  9452. holdstatus:
  9453. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9454. type: integer
  9455. isgeneral:
  9456. description: 是否通用券 - 0:否 1:是
  9457. type: integer
  9458. limitedflag:
  9459. description: 是否指定商品 - 0:不限 1:限制
  9460. type: integer
  9461. limitedgoodsids:
  9462. description: 指定商品IDs[逗号分隔]
  9463. type: string
  9464. qty:
  9465. description: 数量(按1平铺)
  9466. type: integer
  9467. startdate:
  9468. description: 开始日期
  9469. type: string
  9470. userid:
  9471. description: 用户ID
  9472. type: integer
  9473. userscope:
  9474. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9475. type: string
  9476. required:
  9477. - couponholdid
  9478. type: object
  9479. models.MyUsedCoupon:
  9480. properties:
  9481. accountid:
  9482. description: 资金账户ID(买方)
  9483. type: integer
  9484. conditionvalue:
  9485. description: 条件阈值(可为0)
  9486. type: number
  9487. couponcategroy:
  9488. description: 种类 - 1:现金券 2:折扣券
  9489. type: integer
  9490. couponname:
  9491. description: 优惠券名称
  9492. type: string
  9493. coupontypeid:
  9494. description: 优惠券类型ID(买方)
  9495. type: string
  9496. couponvalue:
  9497. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9498. type: number
  9499. createtime:
  9500. description: 创建时间
  9501. type: string
  9502. goodsid:
  9503. description: 商品ID
  9504. type: integer
  9505. handlestatus:
  9506. description: 处理状态
  9507. type: integer
  9508. marketid:
  9509. description: 市场ID
  9510. type: integer
  9511. offamount:
  9512. description: 优惠金额
  9513. type: number
  9514. orderid:
  9515. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9516. type: string
  9517. sellaccountid:
  9518. description: 资金账户ID(卖方)
  9519. type: integer
  9520. tradeamount:
  9521. description: 成交金额
  9522. type: number
  9523. tradeid:
  9524. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9525. type: string
  9526. usedqty:
  9527. description: 使用数量
  9528. type: integer
  9529. required:
  9530. - coupontypeid
  9531. - orderid
  9532. type: object
  9533. models.OperationPrimaryMenu:
  9534. properties:
  9535. Children:
  9536. description: 二级功能菜单
  9537. items:
  9538. $ref: '#/definitions/models.OperationSecondaryMenu'
  9539. type: array
  9540. Key:
  9541. description: 菜单KEY
  9542. type: string
  9543. Label:
  9544. description: 菜单标题
  9545. type: string
  9546. type: object
  9547. models.OperationSecondaryMenu:
  9548. properties:
  9549. Key:
  9550. description: 菜单KEY
  9551. type: string
  9552. Label:
  9553. description: 菜单标题
  9554. type: string
  9555. TabList:
  9556. description: 三级功能菜单
  9557. items:
  9558. $ref: '#/definitions/models.OperationTabMenu'
  9559. type: array
  9560. type: object
  9561. models.OperationTabMenu:
  9562. properties:
  9563. Key:
  9564. description: 菜单KEY
  9565. type: string
  9566. Label:
  9567. description: 菜单标题
  9568. type: string
  9569. type: object
  9570. models.QueryErrorInfosRsp:
  9571. properties:
  9572. description:
  9573. description: 异常描述
  9574. type: string
  9575. errorcode:
  9576. description: 异常代码
  9577. type: string
  9578. errorid:
  9579. description: 异常ID
  9580. type: integer
  9581. modulecode:
  9582. description: 所属模块
  9583. type: string
  9584. operatecode:
  9585. description: 所属操作
  9586. type: string
  9587. rownumber:
  9588. description: 行号
  9589. type: string
  9590. required:
  9591. - errorid
  9592. type: object
  9593. models.QueryHedgeOrderDetailRsp:
  9594. properties:
  9595. accountid:
  9596. description: 账户ID
  9597. type: integer
  9598. buyorsell:
  9599. description: 买卖 - 0:买 1:卖
  9600. type: integer
  9601. cancellogincode:
  9602. description: 撤单人
  9603. type: string
  9604. channelbuildtype:
  9605. description: 开平标志 - 0:无 1:建仓 2:平仓
  9606. type: integer
  9607. channelinnerorderstatus:
  9608. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  9609. 9:全部成交
  9610. type: integer
  9611. channeloperatetype:
  9612. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  9613. type: integer
  9614. closetype:
  9615. description: 平仓方式 - 0:无 1:平今 2:平昨
  9616. type: integer
  9617. curexchangerate:
  9618. description: 当前汇率
  9619. type: number
  9620. exchangefullname:
  9621. description: 外部交易所全称
  9622. type: string
  9623. goodscode:
  9624. description: 商品代码(内部)
  9625. type: string
  9626. goodsid:
  9627. description: 商品ID
  9628. type: integer
  9629. goodsname:
  9630. description: 商品名称
  9631. type: string
  9632. marketid:
  9633. description: 市场ID
  9634. type: integer
  9635. openfreezemargin:
  9636. description: 冻结保证金(冻结交易金额)
  9637. type: number
  9638. orderid:
  9639. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9640. type: string
  9641. orderlogincode:
  9642. description: 委托人
  9643. type: string
  9644. orderprice:
  9645. description: 委托价格(账户)
  9646. type: number
  9647. orderqty:
  9648. description: 委托数量
  9649. type: integer
  9650. ordertime:
  9651. description: 委托时间
  9652. type: string
  9653. pricemode:
  9654. description: '取价方式 - 1:市价 2: 限价'
  9655. type: integer
  9656. tradedate:
  9657. description: 交易日(yyyyMMdd)
  9658. type: string
  9659. tradeqty:
  9660. description: 成交数量
  9661. type: integer
  9662. type: object
  9663. models.QueryHedgeTradeDetailRsp:
  9664. properties:
  9665. accountid:
  9666. description: 账号ID
  9667. type: integer
  9668. buyorsell:
  9669. description: 方向 - 0:买 1:卖
  9670. type: integer
  9671. channelbuildtype:
  9672. description: 委托单据类型 0:无 1:建仓 2:平仓
  9673. type: integer
  9674. closecharge:
  9675. description: 平仓手续费(账户)
  9676. type: number
  9677. closecharge2:
  9678. description: 平仓手续费(商品)
  9679. type: number
  9680. closepl:
  9681. description: 平仓盈亏(账户)
  9682. type: number
  9683. closepl2:
  9684. description: 平仓盈亏(商品)
  9685. type: number
  9686. closepl3:
  9687. description: 平仓盈亏(账户)(逐笔)
  9688. type: number
  9689. closepl4:
  9690. description: 平仓盈亏(商品)(逐笔)
  9691. type: number
  9692. closetype:
  9693. description: 平仓方式 - 0:无 1:平今 2:平昨
  9694. type: integer
  9695. curexchangerate:
  9696. description: 当前汇率
  9697. type: number
  9698. exchangefullname:
  9699. description: 外部交易所全称
  9700. type: string
  9701. goodscode:
  9702. description: 商品代码(内部)
  9703. type: string
  9704. goodsid:
  9705. description: 商品ID
  9706. type: integer
  9707. goodsname:
  9708. description: 商品名称
  9709. type: string
  9710. marketid:
  9711. description: 市场ID
  9712. type: integer
  9713. opencharge:
  9714. description: 建仓手续费(账户)
  9715. type: number
  9716. opencharge2:
  9717. description: 建仓手续费(商品)
  9718. type: number
  9719. orderid:
  9720. description: 委托单号
  9721. type: string
  9722. orderlogincode:
  9723. description: 委托人
  9724. type: string
  9725. tradeamount:
  9726. description: 成交金额(账户)
  9727. type: number
  9728. tradedate:
  9729. description: 交易日(yyyyMMdd)
  9730. type: string
  9731. tradeid:
  9732. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9733. type: string
  9734. tradeprice:
  9735. description: 成交价格
  9736. type: number
  9737. tradeqty:
  9738. description: 成交数量
  9739. type: integer
  9740. tradetime:
  9741. description: 成交时间
  9742. type: string
  9743. tradetype:
  9744. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9745. type: integer
  9746. type: object
  9747. models.QuotePrimaryMenu:
  9748. properties:
  9749. Index:
  9750. description: 序号
  9751. type: integer
  9752. Key:
  9753. description: 键名
  9754. type: string
  9755. Name:
  9756. description: 菜单名称
  9757. type: string
  9758. SubMenus:
  9759. description: 子菜单
  9760. items:
  9761. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9762. type: array
  9763. SubTitleType:
  9764. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9765. type: integer
  9766. TradeModes:
  9767. description: 包含市场交易类型
  9768. type: string
  9769. type: object
  9770. models.QuoteSecondaryMenu:
  9771. properties:
  9772. ExExchangeCode:
  9773. description: 外部交易所代码
  9774. type: string
  9775. ExExchangeID:
  9776. description: 外部交易所ID
  9777. type: integer
  9778. GoodsGroupIDs:
  9779. description: 商品组ID列表
  9780. items:
  9781. type: integer
  9782. type: array
  9783. Index:
  9784. description: 序号
  9785. type: integer
  9786. MarketID:
  9787. description: 市场ID
  9788. type: integer
  9789. MenuTitle:
  9790. description: 菜单标题(市场名称或外部交易所名称)
  9791. type: string
  9792. TradeMode:
  9793. description: 交易模式
  9794. type: integer
  9795. type: object
  9796. models.RelatedGoodsEx:
  9797. properties:
  9798. goodscode:
  9799. description: 商品代码
  9800. type: string
  9801. goodsid:
  9802. description: 商品id
  9803. type: integer
  9804. goodsname:
  9805. description: 商品名称
  9806. type: string
  9807. type: object
  9808. models.SearchGoods:
  9809. properties:
  9810. goodscode:
  9811. description: 商品代码(内部)
  9812. type: string
  9813. goodsid:
  9814. description: 商品ID(自增ID SEQ_GOODS)
  9815. type: integer
  9816. goodsname:
  9817. description: 商品名称
  9818. type: string
  9819. marketid:
  9820. description: 所属市场ID
  9821. type: integer
  9822. marketname:
  9823. description: 市场名称
  9824. type: string
  9825. trademode:
  9826. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9827. 21:竞拍-大宗式 22:受托竞价
  9828. type: integer
  9829. required:
  9830. - goodscode
  9831. - goodsid
  9832. - goodsname
  9833. - marketid
  9834. - trademode
  9835. type: object
  9836. models.Systemparam:
  9837. properties:
  9838. loginid:
  9839. description: 更新用户账号,登录账号
  9840. type: string
  9841. modifyflag:
  9842. description: 修改标志0 不允许修改 1 允许修改
  9843. type: integer
  9844. paramcode:
  9845. description: 参数代码
  9846. type: string
  9847. paramname:
  9848. description: 参数名
  9849. type: string
  9850. paramtype:
  9851. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9852. type: integer
  9853. paramvalue:
  9854. description: 参数值
  9855. type: string
  9856. paramvalue2:
  9857. description: 参数值(CLOB)
  9858. type: string
  9859. regexpress:
  9860. description: 正则表达式
  9861. type: string
  9862. remark:
  9863. description: 备注
  9864. type: string
  9865. serverip:
  9866. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9867. type: string
  9868. showflag:
  9869. description: 是否显示0 不显示 1 显示
  9870. type: integer
  9871. updatetime:
  9872. description: 更新时间
  9873. type: string
  9874. userid:
  9875. description: 更新用户ID
  9876. type: integer
  9877. required:
  9878. - paramcode
  9879. type: object
  9880. models.Szdz3convertconfig:
  9881. properties:
  9882. canin:
  9883. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9884. type: integer
  9885. canout:
  9886. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9887. type: integer
  9888. converttype:
  9889. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9890. 6:交易转花生米(不设置)
  9891. type: integer
  9892. createtime:
  9893. description: 创建时间
  9894. type: string
  9895. creatorid:
  9896. description: 创建人
  9897. type: integer
  9898. daymaxvalue:
  9899. description: 当日最大转入限制
  9900. type: number
  9901. freezedays:
  9902. description: 冻结天数 [5:花生米转交易]
  9903. type: integer
  9904. innergoodsid:
  9905. description: 内部商品ID[交易]
  9906. type: integer
  9907. inratio:
  9908. description: 目标值
  9909. type: integer
  9910. modifierid:
  9911. description: 修改人
  9912. type: integer
  9913. modifytime:
  9914. description: 修改时间
  9915. type: string
  9916. outergoodscode:
  9917. description: 外部商品代码[JD\PD]
  9918. type: string
  9919. outratio:
  9920. description: 源值
  9921. type: integer
  9922. pddecimalplace:
  9923. description: PD小数位
  9924. type: integer
  9925. timemaxvalue:
  9926. description: 单次最大转入限制
  9927. type: number
  9928. timeminvalue:
  9929. description: 单次最小转入限制
  9930. type: number
  9931. required:
  9932. - converttype
  9933. - innergoodsid
  9934. - outergoodscode
  9935. type: object
  9936. models.Szdz3searchwhitelist:
  9937. properties:
  9938. createtime:
  9939. description: 创建时间
  9940. type: string
  9941. creatorid:
  9942. description: 创建人
  9943. type: integer
  9944. modifierid:
  9945. description: 修改人
  9946. type: integer
  9947. modifytime:
  9948. description: 修改时间
  9949. type: string
  9950. userid:
  9951. description: 用户ID
  9952. type: integer
  9953. required:
  9954. - userid
  9955. type: object
  9956. models.Taaccount:
  9957. properties:
  9958. accountflag:
  9959. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9960. type: integer
  9961. accountid:
  9962. description: 资金账户ID
  9963. type: integer
  9964. accountname:
  9965. description: 账户名称
  9966. type: string
  9967. balance:
  9968. description: 期初余额
  9969. type: number
  9970. capitalbalance:
  9971. description: 本金余额[外部子账户实际出入金余额]
  9972. type: number
  9973. changeflag:
  9974. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9975. type: integer
  9976. changetime:
  9977. description: 账户状态变更时间
  9978. type: string
  9979. closepl:
  9980. description: 今日平仓盈亏
  9981. type: number
  9982. creditdecrease:
  9983. description: 今日授信减少
  9984. type: number
  9985. creditincrease:
  9986. description: 今日授信增加
  9987. type: number
  9988. currencyid:
  9989. description: 货币ID
  9990. type: integer
  9991. currentbalance:
  9992. description: 期末余额
  9993. type: number
  9994. freezecharge:
  9995. description: 手续费冻结
  9996. type: number
  9997. freezemargin:
  9998. description: 冻结保证金
  9999. type: number
  10000. fromaccountid:
  10001. description: 所属上级账户
  10002. type: integer
  10003. inamount:
  10004. description: 今日入金金额(包括三方入金)
  10005. type: number
  10006. ismain:
  10007. description: 是否母账号 0:不是母账户 1:是母账户
  10008. type: integer
  10009. ismarketaccount:
  10010. description: 是否机构接单账号 0:不是 1:是
  10011. type: integer
  10012. isreckonaccount:
  10013. description: 是否机构分润账号 0:不是 1:是
  10014. type: integer
  10015. mortgagecredit:
  10016. description: 授信金额
  10017. type: number
  10018. orifreezecharge:
  10019. description: 期初手续费冻结
  10020. type: number
  10021. orifreezemargin:
  10022. description: 期初冻结保证金
  10023. type: number
  10024. orimortgagecredit:
  10025. description: 期初授信金额
  10026. type: number
  10027. oriothercredit:
  10028. description: 期初其它授信金额
  10029. type: number
  10030. oriotherfreezemargin:
  10031. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  10032. type: number
  10033. orioutamountfreeze:
  10034. description: 期初出金冻结
  10035. type: number
  10036. oriusedmargin:
  10037. description: 期初占用保证金
  10038. type: number
  10039. othercredit:
  10040. description: 其它授信金额
  10041. type: number
  10042. othercreditdecrease:
  10043. description: 今日其它授信减少
  10044. type: number
  10045. othercreditincrease:
  10046. description: 今日其它授信增加
  10047. type: number
  10048. otherfreezemargin:
  10049. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  10050. type: number
  10051. otherincome:
  10052. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  10053. type: number
  10054. otherpay:
  10055. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  10056. type: number
  10057. outamount:
  10058. description: 今日出金金额(包括三方出金)
  10059. type: number
  10060. outamountfreeze:
  10061. description: 出金冻结
  10062. type: number
  10063. outthreshold:
  10064. description: 出金阈值
  10065. type: number
  10066. parentaccountid:
  10067. description: 所属根账号
  10068. type: integer
  10069. paycharge:
  10070. description: 今日手续费支出
  10071. type: number
  10072. relatedaccountstatus:
  10073. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  10074. type: integer
  10075. relateduserid:
  10076. description: 关联用户
  10077. type: integer
  10078. serivcegroup:
  10079. description: 服务分组
  10080. type: integer
  10081. signstatus:
  10082. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10083. type: integer
  10084. sublevelpath:
  10085. description: 账号层级路径(逗号分隔,首尾加逗号)
  10086. type: string
  10087. taaccounttype:
  10088. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  10089. type: integer
  10090. thirdinamount:
  10091. description: 今日三方入金
  10092. type: number
  10093. thirdoutamount:
  10094. description: 今日三方出金
  10095. type: number
  10096. tradestatus:
  10097. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  10098. type: integer
  10099. tradestatuschangetime:
  10100. description: 激活时间
  10101. type: string
  10102. transferamount:
  10103. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  10104. type: number
  10105. usedmargin:
  10106. description: 占用保证金
  10107. type: number
  10108. userid:
  10109. description: 用户ID
  10110. type: integer
  10111. required:
  10112. - accountid
  10113. - userid
  10114. type: object
  10115. models.Tablecolumnconfig:
  10116. properties:
  10117. aligntype:
  10118. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  10119. type: integer
  10120. autoid:
  10121. description: AutoID
  10122. type: integer
  10123. columnfield:
  10124. description: 列字段
  10125. type: string
  10126. columntitle:
  10127. description: 列Title
  10128. type: string
  10129. columnwidth:
  10130. description: 列宽
  10131. type: string
  10132. formatterstring:
  10133. description: 格式化字符
  10134. type: string
  10135. formattertype:
  10136. description: 格式化类型
  10137. type: string
  10138. groupname:
  10139. description: 表头分组名称
  10140. type: string
  10141. isshow:
  10142. description: 是否显示 - 0:不显示 1:显示
  10143. type: integer
  10144. needsummary:
  10145. description: 是否需要汇总 - 0:不需要 1:需要
  10146. type: integer
  10147. orderindex:
  10148. description: 顺序
  10149. type: integer
  10150. remark:
  10151. description: 备注
  10152. type: string
  10153. summarytype:
  10154. description: 汇总类型 - 1:加总 2:最后一个
  10155. type: integer
  10156. tablekey:
  10157. description: 列表Key
  10158. type: string
  10159. required:
  10160. - autoid
  10161. type: object
  10162. models.Useraccount:
  10163. properties:
  10164. accountname:
  10165. description: 账户名称(机构名称)
  10166. type: string
  10167. accountstatus:
  10168. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10169. type: integer
  10170. auditremark:
  10171. description: 审核备注
  10172. type: string
  10173. audittime:
  10174. description: 审核时间
  10175. type: string
  10176. audituserid:
  10177. description: 审核人
  10178. type: integer
  10179. broker:
  10180. description: 所属经纪人ID
  10181. type: integer
  10182. canceltime:
  10183. description: 销户时间
  10184. type: string
  10185. canceluserid:
  10186. description: 销户人
  10187. type: integer
  10188. createtime:
  10189. description: 创建时间
  10190. type: string
  10191. creatorid:
  10192. description: 创建人
  10193. type: integer
  10194. hasauth:
  10195. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  10196. type: integer
  10197. isanonymous:
  10198. description: 是否匿名下单 - 0:否 1:是
  10199. type: integer
  10200. maxinvestornum:
  10201. description: 最大用户数(经纪会员下投资者个数)
  10202. type: integer
  10203. memberuserid:
  10204. description: 所属会员ID
  10205. type: integer
  10206. modifierid:
  10207. description: 修改人
  10208. type: integer
  10209. modifyremark:
  10210. description: 变更备注
  10211. type: string
  10212. modifystatus:
  10213. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  10214. type: integer
  10215. modifytime:
  10216. description: 修改时间
  10217. type: string
  10218. parentuserid:
  10219. description: 所属机构ID
  10220. type: integer
  10221. reckonaccountid:
  10222. description: 默认结算资金账号ID(机构分润使用) 作废
  10223. type: integer
  10224. refercount:
  10225. description: 推荐总人数
  10226. type: integer
  10227. refereeuserid:
  10228. description: 推荐人ID
  10229. type: integer
  10230. refernum:
  10231. description: 推荐码
  10232. type: string
  10233. subarealevelpath:
  10234. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10235. type: string
  10236. userid:
  10237. description: 用户ID
  10238. type: integer
  10239. usertype:
  10240. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10241. type: integer
  10242. required:
  10243. - userid
  10244. type: object
  10245. models.Userfavoritegoods:
  10246. properties:
  10247. goodsid:
  10248. description: 商品ID
  10249. type: integer
  10250. required:
  10251. - goodsid
  10252. type: object
  10253. models.Userinfo:
  10254. properties:
  10255. address:
  10256. description: 地址
  10257. type: string
  10258. attachment1:
  10259. description: 附件1
  10260. type: string
  10261. attachment2:
  10262. description: 附件2
  10263. type: string
  10264. bankaccount:
  10265. description: 银行帐号 (加密存储)
  10266. type: string
  10267. bankaccountname:
  10268. description: 收款人名称
  10269. type: string
  10270. bankcardfrontphotourl:
  10271. description: 银行卡正面照地址
  10272. type: string
  10273. bankid:
  10274. description: 银行编码
  10275. type: string
  10276. bankname:
  10277. description: 银行名称
  10278. type: string
  10279. biznature:
  10280. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  10281. type: integer
  10282. bizscope:
  10283. description: 企业经营范围(企业)
  10284. type: string
  10285. cardbackphotourl:
  10286. description: 证件背面图片地址
  10287. type: string
  10288. cardfrontphotourl:
  10289. description: 证件正面图片地址
  10290. type: string
  10291. cardnum:
  10292. description: 证件号码(加密存储)
  10293. type: string
  10294. cardtypeid:
  10295. description: 证件类型ID
  10296. type: integer
  10297. cityid:
  10298. description: 市
  10299. type: integer
  10300. company:
  10301. description: 公司(个人)
  10302. type: string
  10303. contactname:
  10304. description: 联系人
  10305. type: string
  10306. countryid:
  10307. description: 国家
  10308. type: integer
  10309. createtime:
  10310. description: 创建时间
  10311. type: string
  10312. creatorid:
  10313. description: 创建人
  10314. type: integer
  10315. customername:
  10316. description: 客户名称(企业名称)
  10317. type: string
  10318. districtid:
  10319. description: 地区
  10320. type: integer
  10321. email:
  10322. description: 邮件(加密存储)
  10323. type: string
  10324. fax:
  10325. description: 传真(加密存储)
  10326. type: string
  10327. halfbodyphotourl:
  10328. description: 半身照地址
  10329. type: string
  10330. hasencrypt:
  10331. description: 数据是否已加密 - 0:未加密 1:已加密
  10332. type: integer
  10333. headurl:
  10334. description: 头像地址
  10335. type: string
  10336. legalcardbackphotourl:
  10337. description: 法人身份证背面照地址
  10338. type: string
  10339. legalcardfrontphotourl:
  10340. description: 法人身份证正面照地址
  10341. type: string
  10342. legalpersonname:
  10343. description: 法人姓名(企业)
  10344. type: string
  10345. mobile:
  10346. description: 手机号码(加密存储)
  10347. type: string
  10348. mobile2:
  10349. description: 手机号码[明文-尚志]
  10350. type: string
  10351. modifierid:
  10352. description: 修改人
  10353. type: integer
  10354. modifiertime:
  10355. description: 修改时间
  10356. type: string
  10357. needinvoice:
  10358. description: 是否需要发票 - 0:不需要 1:需要
  10359. type: integer
  10360. nickname:
  10361. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  10362. type: string
  10363. openmode:
  10364. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  10365. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  10366. type: integer
  10367. otherurl:
  10368. description: 其它图片地址[使用分号分隔]
  10369. type: string
  10370. postalcode:
  10371. description: 邮政编码
  10372. type: string
  10373. provinceid:
  10374. description: 省
  10375. type: integer
  10376. qq:
  10377. description: QQ(加密存储
  10378. type: string
  10379. remark:
  10380. description: 备注
  10381. type: string
  10382. sex:
  10383. description: '用户性别 0: 女 1: 男'
  10384. type: integer
  10385. signpdfurl:
  10386. description: 签约pdf文件
  10387. type: string
  10388. telphone:
  10389. description: 联系电话(加密存储)
  10390. type: string
  10391. userid:
  10392. description: 用户ID
  10393. type: integer
  10394. userinfotype:
  10395. description: 用户信息类型 - 1:个人 2:企业
  10396. type: integer
  10397. userstatus:
  10398. description: 用户状态 - 1:正常 2:注销
  10399. type: integer
  10400. usertype:
  10401. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10402. type: integer
  10403. wechat:
  10404. description: 微信(加密存储)
  10405. type: string
  10406. wskhinfo:
  10407. description: 开户申请信息(JSON)
  10408. type: string
  10409. required:
  10410. - userid
  10411. type: object
  10412. models.WRSConverTDetail:
  10413. properties:
  10414. convertratio:
  10415. description: 套保系数
  10416. type: number
  10417. deliverygoodscode:
  10418. description: 现货商品代码
  10419. type: string
  10420. deliverygoodsid:
  10421. description: 现货品种ID
  10422. type: integer
  10423. deliverygoodsname:
  10424. description: 现货商品名称
  10425. type: string
  10426. enumdicname:
  10427. description: 单位名称
  10428. type: string
  10429. goodsunitid:
  10430. description: 套保品种单位id
  10431. type: integer
  10432. middlegoodscode:
  10433. description: 套保品种代码
  10434. type: string
  10435. middlegoodsid:
  10436. description: 套保品种ID
  10437. type: integer
  10438. middlegoodsname:
  10439. description: 套保品种名称
  10440. type: string
  10441. modifytime:
  10442. description: 修改时间
  10443. type: string
  10444. wrstandardid:
  10445. description: 品类ID
  10446. type: integer
  10447. type: object
  10448. models.WRStandardInfo:
  10449. properties:
  10450. areauserid:
  10451. description: 所属机构
  10452. type: integer
  10453. convertfactor:
  10454. description: 标仓系数
  10455. type: number
  10456. createtime:
  10457. description: 创建时间
  10458. type: string
  10459. creatorid:
  10460. description: 创建人
  10461. type: integer
  10462. deliverygoodsid:
  10463. description: 品种ID
  10464. type: integer
  10465. deliverygoodsname:
  10466. description: 交割商品名称
  10467. type: string
  10468. factoryitemjson:
  10469. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  10470. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  10471. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  10472. 逗号分隔'
  10473. type: string
  10474. isvalid:
  10475. description: 是否有效 - 0:无效 1:有效
  10476. type: integer
  10477. minivalue:
  10478. description: 最小变动值
  10479. type: integer
  10480. minivaluedp:
  10481. description: 最小变动值小数位
  10482. type: integer
  10483. realminivalue:
  10484. description: 实际最小变动值
  10485. type: integer
  10486. realminivaluedp:
  10487. description: 实际最小变动值小数位
  10488. type: integer
  10489. remark:
  10490. description: 备注
  10491. type: string
  10492. unitid:
  10493. description: 单位ID
  10494. type: integer
  10495. unitname:
  10496. description: 单位
  10497. type: string
  10498. updatetime:
  10499. description: 更新时间
  10500. type: string
  10501. updatorid:
  10502. description: 更新人
  10503. type: integer
  10504. wrsstatus:
  10505. description: 状态 - 作废 - 0:未激活 1:正常
  10506. type: integer
  10507. wrstandardcode:
  10508. description: 现货品类代码
  10509. type: string
  10510. wrstandardid:
  10511. description: 现货品类ID(SEQ_WRSTANDARD)
  10512. type: integer
  10513. wrstandardname:
  10514. description: 现货品类名称
  10515. type: string
  10516. required:
  10517. - wrstandardid
  10518. type: object
  10519. models.Warehouseinfo:
  10520. properties:
  10521. address:
  10522. description: 详细地址
  10523. type: string
  10524. areauserid:
  10525. description: 所属机构
  10526. type: integer
  10527. autoid:
  10528. description: 自增ID
  10529. type: integer
  10530. cityid:
  10531. description: 市
  10532. type: integer
  10533. contactname:
  10534. description: 联系人
  10535. type: string
  10536. contactnum:
  10537. description: 联系电话
  10538. type: string
  10539. countryid:
  10540. description: 国家
  10541. type: integer
  10542. createtime:
  10543. description: 创建时间
  10544. type: string
  10545. districtid:
  10546. description: 区
  10547. type: integer
  10548. hasvideo:
  10549. description: 是否有视频 - 0:无 1:有
  10550. type: integer
  10551. provinceid:
  10552. description: 省
  10553. type: integer
  10554. remark:
  10555. description: 审核备注
  10556. type: string
  10557. videourl:
  10558. description: 视频地址
  10559. type: string
  10560. warehousecode:
  10561. description: 仓库代码
  10562. type: string
  10563. warehousename:
  10564. description: 仓库名称
  10565. type: string
  10566. warehousestatus:
  10567. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10568. type: integer
  10569. warehousetype:
  10570. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10571. type: integer
  10572. required:
  10573. - autoid
  10574. - warehousecode
  10575. type: object
  10576. order.QueryHisTradeDetailRsp:
  10577. properties:
  10578. accountid:
  10579. description: 账户ID[报价币种]
  10580. type: integer
  10581. buildtype:
  10582. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10583. type: integer
  10584. buyorsell:
  10585. description: 方向 - 0:买 1:卖
  10586. type: integer
  10587. charge:
  10588. description: 手续费
  10589. type: number
  10590. closecharge:
  10591. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10592. type: number
  10593. closeexchagechargevalue:
  10594. description: 平仓交易所手续费设置值
  10595. type: number
  10596. closefeealgorithm:
  10597. description: 平仓手续费收取方式 1:比率 2:固定
  10598. type: integer
  10599. closememberchargevalue:
  10600. description: 平仓会员手续费设置值
  10601. type: number
  10602. closepl:
  10603. description: 平仓盈亏
  10604. type: number
  10605. closepl2:
  10606. description: 平仓盈亏[逐笔]
  10607. type: number
  10608. closeqty:
  10609. description: 平仓数量(先建后平操作 需要记录)
  10610. type: integer
  10611. creditamount:
  10612. description: 授信金额
  10613. type: number
  10614. gcaccountid:
  10615. description: 账户ID[合约币种]
  10616. type: integer
  10617. goodscode:
  10618. description: 商品代码
  10619. type: string
  10620. goodsid:
  10621. description: 商品ID
  10622. type: integer
  10623. goodsname:
  10624. description: 商品名称
  10625. type: string
  10626. histradedate:
  10627. description: 历史交易日
  10628. type: string
  10629. intclosepl:
  10630. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10631. type: integer
  10632. isconfirmexercise:
  10633. description: 是否确认行权- 0:否 1:是
  10634. type: integer
  10635. ismain:
  10636. description: 是否主单 - 0:不是 1:是
  10637. type: integer
  10638. ispreexercise:
  10639. description: 是否预申报- 0:否 1:是
  10640. type: integer
  10641. isreckoned:
  10642. description: 是否结算 - 0:未结算 1:已结算
  10643. type: integer
  10644. isvaliddata:
  10645. description: 是否有效 - 0:无效 1:有效
  10646. type: integer
  10647. listingselecttype:
  10648. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10649. type: integer
  10650. marketid:
  10651. description: 市场ID
  10652. type: integer
  10653. marketname:
  10654. description: 市场名称
  10655. type: string
  10656. matchaccountid:
  10657. description: 对手账号id
  10658. type: integer
  10659. memberuserid:
  10660. description: 会员id 个人投资者 需要填写
  10661. type: integer
  10662. opencharge:
  10663. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10664. type: number
  10665. openexchagechargevalue:
  10666. description: 建仓交易所手续费设置值
  10667. type: number
  10668. openfeealgorithm:
  10669. description: 建仓手续费收取方式 1:比率 2:固定
  10670. type: integer
  10671. openmemberchargevalue:
  10672. description: 建仓会员手续费设置值
  10673. type: number
  10674. openqty:
  10675. description: 开仓数量(先建后平操作 需要记录)
  10676. type: integer
  10677. optiontype:
  10678. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10679. type: integer
  10680. orderid:
  10681. description: 委托单号
  10682. type: string
  10683. performanceplanid:
  10684. description: 履约计划ID[期权]
  10685. type: integer
  10686. performancestatus:
  10687. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10688. type: integer
  10689. preexerciseprice:
  10690. description: 预申报价格
  10691. type: number
  10692. premium:
  10693. description: 权利金 - [持仓单的权利金]
  10694. type: number
  10695. relatedouttradeid:
  10696. description: 关联外部成交单ID
  10697. type: integer
  10698. status:
  10699. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10700. type: integer
  10701. tradeamount:
  10702. description: 成交金额[账户币种,用于所有权]
  10703. type: number
  10704. tradedate:
  10705. description: 交易日(yyyyMMdd)
  10706. type: string
  10707. tradeid:
  10708. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10709. type: string
  10710. trademode:
  10711. description: 交易模式
  10712. type: integer
  10713. tradeprice:
  10714. description: 成交价格
  10715. type: number
  10716. tradeproperty:
  10717. description: 交易属性
  10718. type: integer
  10719. tradeqty:
  10720. description: 成交数量
  10721. type: integer
  10722. tradetime:
  10723. description: 成交时间
  10724. type: string
  10725. tradetype:
  10726. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10727. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10728. type: integer
  10729. required:
  10730. - accountid
  10731. - buyorsell
  10732. - goodsid
  10733. - histradedate
  10734. - marketid
  10735. - memberuserid
  10736. - orderid
  10737. - tradeamount
  10738. - tradedate
  10739. - tradeid
  10740. - tradeprice
  10741. - tradeqty
  10742. - tradetime
  10743. type: object
  10744. order.QueryHisTradeOrderDetailRsp:
  10745. properties:
  10746. accountid:
  10747. description: 账户ID[报价币种]
  10748. type: integer
  10749. buildtype:
  10750. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10751. type: integer
  10752. buyorsell:
  10753. description: 买卖 - 0:买 1:卖
  10754. type: integer
  10755. cancelorderid:
  10756. description: 撤单单号(撤单时填写)
  10757. type: string
  10758. cancelqty:
  10759. description: 撤单数量
  10760. type: integer
  10761. clientordertime:
  10762. description: 客户端委托时间
  10763. type: string
  10764. clientticket:
  10765. description: 客户端流水号
  10766. type: string
  10767. clienttype:
  10768. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10769. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10770. type: integer
  10771. closeexchagechargevalue:
  10772. description: 平仓交易所手续费设置值
  10773. type: number
  10774. closefeealgorithm:
  10775. description: 平仓手续费收取方式 1:比率 2:固定
  10776. type: integer
  10777. closefreezecharge:
  10778. description: 平仓冻结手续费(先建后平操作,需要记录)
  10779. type: number
  10780. closememberchargevalue:
  10781. description: 平仓会员手续费设置值
  10782. type: number
  10783. closeqty:
  10784. description: 平仓数量(先建后平操作 需要记录)
  10785. type: integer
  10786. closetradeqty:
  10787. description: 平仓成交数量(先建后平操作,需要记录)
  10788. type: integer
  10789. closeunfreezecharge:
  10790. description: 平仓解冻手续费(先建后平操作,需要记录)
  10791. type: number
  10792. delistingtype:
  10793. description: 摘牌类型 - 1:价格最优 2:点选成交
  10794. type: integer
  10795. freezecharge:
  10796. description: 冻结手续费
  10797. type: number
  10798. freezemargin:
  10799. description: 冻结保证金(冻结交易金额)
  10800. type: number
  10801. gcaccountid:
  10802. description: 账户ID[合约币种]
  10803. type: integer
  10804. goodscode:
  10805. description: 商品代码
  10806. type: string
  10807. goodsid:
  10808. description: 商品ID
  10809. type: integer
  10810. goodsname:
  10811. description: 商品名称
  10812. type: string
  10813. histradedate:
  10814. description: 历史交易日
  10815. type: string
  10816. isconfirmexercise:
  10817. description: 是否确认行权- 0:否 1:是
  10818. type: integer
  10819. ispreexercise:
  10820. description: 是否预申报- 0:否 1:是
  10821. type: integer
  10822. isvaliddata:
  10823. description: 是否有效 - 0:无效 1:有效
  10824. type: integer
  10825. listingselecttype:
  10826. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10827. type: integer
  10828. marginalgorithm:
  10829. description: 保证金收取方式 1:比率 2:固定
  10830. type: integer
  10831. marginvalue:
  10832. description: 即市保证金设置值
  10833. type: number
  10834. marketid:
  10835. description: 市场ID
  10836. type: integer
  10837. marketmaxsub:
  10838. description: 市价最大偏移范围
  10839. type: number
  10840. marketname:
  10841. description: 市场名称
  10842. type: string
  10843. memberuserid:
  10844. description: 所属会员UserID
  10845. type: integer
  10846. openexchagechargevalue:
  10847. description: 建仓交易所手续费设置值
  10848. type: number
  10849. openfeealgorithm:
  10850. description: 建仓手续费收取方式 1:比率 2:固定
  10851. type: integer
  10852. openfreezecharge:
  10853. description: 开仓冻结手续费(先建后平操作,需要记录)
  10854. type: number
  10855. openmemberchargevalue:
  10856. description: 建仓会员手续费设置值
  10857. type: number
  10858. openqty:
  10859. description: 开仓数量(先建后平操作,需要记录)
  10860. type: integer
  10861. opentradeqty:
  10862. description: 开仓成交数量(先建后平操作,需要记录)
  10863. type: integer
  10864. openunfreezecharge:
  10865. description: 开仓解冻手续费(先建后平操作,需要记录)
  10866. type: number
  10867. operatetype:
  10868. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10869. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10870. 15:管理端协议转让
  10871. type: integer
  10872. operatorid:
  10873. description: 登录账号(LoginID)
  10874. type: integer
  10875. optiontype:
  10876. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10877. type: integer
  10878. orderid:
  10879. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10880. type: string
  10881. orderprice:
  10882. description: 委托价格
  10883. type: number
  10884. orderqty:
  10885. description: 委托数量
  10886. type: integer
  10887. ordersrc:
  10888. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10889. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10890. type: integer
  10891. orderstatus:
  10892. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10893. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10894. 16:成交失败违约(荷兰式竞拍专用)
  10895. type: integer
  10896. ordertime:
  10897. description: 委托时间
  10898. type: string
  10899. preexerciseprice:
  10900. description: 预申报价格
  10901. type: number
  10902. premium:
  10903. description: 权利金
  10904. type: number
  10905. preorderid:
  10906. description: 关联预埋单号(止盈止损单时填写)
  10907. type: string
  10908. pricemode:
  10909. description: '取价方式 - 1:市价 2: 限价'
  10910. type: integer
  10911. quoteid:
  10912. description: 报价单ID
  10913. type: integer
  10914. relatedid:
  10915. description: 关联单号(交割单)
  10916. type: string
  10917. retcode:
  10918. description: 错误代码
  10919. type: integer
  10920. sessionid:
  10921. description: 会话ID
  10922. type: integer
  10923. tradedate:
  10924. description: 交易日(yyyyMMdd)
  10925. type: string
  10926. trademode:
  10927. description: 交易模式
  10928. type: integer
  10929. tradeproperty:
  10930. description: 交易属性
  10931. type: integer
  10932. tradeqty:
  10933. description: 成交数量
  10934. type: integer
  10935. unfreezecharge:
  10936. description: 解冻手续费
  10937. type: number
  10938. unfreezemargin:
  10939. description: 解冻保证金
  10940. type: number
  10941. updatetime:
  10942. description: 更新时间
  10943. type: string
  10944. uuid:
  10945. description: 发起端唯一id
  10946. type: string
  10947. validtime:
  10948. description: 有效期限
  10949. type: string
  10950. validtype:
  10951. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10952. type: integer
  10953. volumetype:
  10954. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10955. type: integer
  10956. required:
  10957. - accountid
  10958. - buildtype
  10959. - buyorsell
  10960. - goodsid
  10961. - histradedate
  10962. - marketid
  10963. - memberuserid
  10964. - operatetype
  10965. - orderid
  10966. - orderqty
  10967. - ordertime
  10968. - pricemode
  10969. - tradedate
  10970. - validtype
  10971. type: object
  10972. order.QueryTradeDetailRsp:
  10973. properties:
  10974. accountid:
  10975. description: 账户ID[报价币种]
  10976. type: integer
  10977. buildtype:
  10978. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10979. type: integer
  10980. buyorsell:
  10981. description: 方向 - 0:买 1:卖
  10982. type: integer
  10983. charge:
  10984. description: 手续费
  10985. type: number
  10986. closecharge:
  10987. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10988. type: number
  10989. closeexchagechargevalue:
  10990. description: 平仓交易所手续费设置值
  10991. type: number
  10992. closefeealgorithm:
  10993. description: 平仓手续费收取方式 1:比率 2:固定
  10994. type: integer
  10995. closememberchargevalue:
  10996. description: 平仓会员手续费设置值
  10997. type: number
  10998. closepl:
  10999. description: 平仓盈亏
  11000. type: number
  11001. closepl2:
  11002. description: 平仓盈亏[逐笔]
  11003. type: number
  11004. closeqty:
  11005. description: 平仓数量(先建后平操作 需要记录)
  11006. type: integer
  11007. creditamount:
  11008. description: 授信金额
  11009. type: number
  11010. gcaccountid:
  11011. description: 账户ID[合约币种]
  11012. type: integer
  11013. goodscode:
  11014. description: 商品代码
  11015. type: string
  11016. goodsid:
  11017. description: 商品ID
  11018. type: integer
  11019. goodsname:
  11020. description: 商品名称
  11021. type: string
  11022. intclosepl:
  11023. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11024. type: integer
  11025. isconfirmexercise:
  11026. description: 是否确认行权- 0:否 1:是
  11027. type: integer
  11028. ismain:
  11029. description: 是否主单 - 0:不是 1:是
  11030. type: integer
  11031. ispreexercise:
  11032. description: 是否预申报- 0:否 1:是
  11033. type: integer
  11034. isreckoned:
  11035. description: 是否结算 - 0:未结算 1:已结算
  11036. type: integer
  11037. listingselecttype:
  11038. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11039. type: integer
  11040. marketid:
  11041. description: 市场ID
  11042. type: integer
  11043. marketname:
  11044. description: 市场名称
  11045. type: string
  11046. matchaccountid:
  11047. description: 对手账号id
  11048. type: integer
  11049. memberuserid:
  11050. description: 会员id 个人投资者 需要填写
  11051. type: integer
  11052. opencharge:
  11053. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11054. type: number
  11055. openexchagechargevalue:
  11056. description: 建仓交易所手续费设置值
  11057. type: number
  11058. openfeealgorithm:
  11059. description: 建仓手续费收取方式 1:比率 2:固定
  11060. type: integer
  11061. openmemberchargevalue:
  11062. description: 建仓会员手续费设置值
  11063. type: number
  11064. openqty:
  11065. description: 开仓数量(先建后平操作 需要记录)
  11066. type: integer
  11067. optiontype:
  11068. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11069. type: integer
  11070. orderid:
  11071. description: 委托单号
  11072. type: string
  11073. performanceplanid:
  11074. description: 履约计划ID[期权]
  11075. type: integer
  11076. performancestatus:
  11077. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11078. type: integer
  11079. preexerciseprice:
  11080. description: 预申报价格
  11081. type: number
  11082. premium:
  11083. description: 权利金 - [持仓单的权利金]
  11084. type: number
  11085. relatedouttradeid:
  11086. description: 关联外部成交单ID
  11087. type: integer
  11088. status:
  11089. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11090. type: integer
  11091. tradeamount:
  11092. description: 成交金额[账户币种,用于所有权]
  11093. type: number
  11094. tradedate:
  11095. description: 交易日(yyyyMMdd)
  11096. type: string
  11097. tradeid:
  11098. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11099. type: string
  11100. trademode:
  11101. description: 交易模式
  11102. type: integer
  11103. tradeprice:
  11104. description: 成交价格
  11105. type: number
  11106. tradeproperty:
  11107. description: 交易属性
  11108. type: integer
  11109. tradeqty:
  11110. description: 成交数量
  11111. type: integer
  11112. tradetime:
  11113. description: 成交时间
  11114. type: string
  11115. tradetype:
  11116. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11117. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11118. type: integer
  11119. required:
  11120. - accountid
  11121. - buyorsell
  11122. - goodsid
  11123. - marketid
  11124. - memberuserid
  11125. - orderid
  11126. - tradeamount
  11127. - tradedate
  11128. - tradeid
  11129. - tradeprice
  11130. - tradeqty
  11131. - tradetime
  11132. type: object
  11133. order.QueryTradeOrderDetailRsp:
  11134. properties:
  11135. accountid:
  11136. description: 账户ID[报价币种]
  11137. type: integer
  11138. buildtype:
  11139. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11140. type: integer
  11141. buyorsell:
  11142. description: 买卖 - 0:买 1:卖
  11143. type: integer
  11144. cancelorderid:
  11145. description: 撤单单号(撤单时填写)
  11146. type: string
  11147. cancelqty:
  11148. description: 撤单数量
  11149. type: integer
  11150. clienttype:
  11151. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11152. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11153. type: integer
  11154. closefreezecharge:
  11155. description: 平仓冻结手续费(先建后平操作,需要记录)
  11156. type: number
  11157. closeqty:
  11158. description: 平仓数量(先建后平操作 需要记录)
  11159. type: integer
  11160. closetradeqty:
  11161. description: 平仓成交数量(先建后平操作,需要记录)
  11162. type: integer
  11163. closeunfreezecharge:
  11164. description: 平仓解冻手续费(先建后平操作,需要记录)
  11165. type: number
  11166. delistingtype:
  11167. description: 摘牌类型 - 1:价格最优 2:点选成交
  11168. type: integer
  11169. enableqty:
  11170. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  11171. type: integer
  11172. freezecharge:
  11173. description: 冻结手续费
  11174. type: number
  11175. freezemargin:
  11176. description: 冻结保证金(冻结交易金额)
  11177. type: number
  11178. goodscode:
  11179. description: 商品代码
  11180. type: string
  11181. goodsid:
  11182. description: 商品ID
  11183. type: integer
  11184. goodsname:
  11185. description: 商品名称
  11186. type: string
  11187. listingselecttype:
  11188. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11189. type: integer
  11190. marketid:
  11191. description: 市场ID
  11192. type: integer
  11193. marketname:
  11194. description: 市场名称
  11195. type: string
  11196. openfreezecharge:
  11197. description: 开仓冻结手续费(先建后平操作,需要记录)
  11198. type: number
  11199. openqty:
  11200. description: 开仓数量(先建后平操作,需要记录)
  11201. type: integer
  11202. opentradeqty:
  11203. description: 开仓成交数量(先建后平操作,需要记录)
  11204. type: integer
  11205. openunfreezecharge:
  11206. description: 开仓解冻手续费(先建后平操作,需要记录)
  11207. type: number
  11208. operatetype:
  11209. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11210. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11211. 15:管理端协议转让
  11212. type: integer
  11213. operatorid:
  11214. description: 登录账号(LoginID)
  11215. type: integer
  11216. orderid:
  11217. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11218. type: string
  11219. orderprice:
  11220. description: 委托价格
  11221. type: number
  11222. orderqty:
  11223. description: 委托数量
  11224. type: integer
  11225. ordersrc:
  11226. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11227. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11228. type: integer
  11229. orderstatus:
  11230. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11231. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11232. 16:成交失败违约(荷兰式竞拍专用)
  11233. type: integer
  11234. ordertime:
  11235. description: 委托时间
  11236. type: string
  11237. preorderid:
  11238. description: 关联预埋单号(止盈止损单时填写)
  11239. type: string
  11240. pricemode:
  11241. description: '取价方式 - 1:市价 2: 限价'
  11242. type: integer
  11243. relatedid:
  11244. description: 关联单号(交割单)
  11245. type: string
  11246. tradedate:
  11247. description: 交易日(yyyyMMdd)
  11248. type: string
  11249. trademode:
  11250. description: 交易模式
  11251. type: integer
  11252. tradeqty:
  11253. description: 成交数量
  11254. type: integer
  11255. unfreezecharge:
  11256. description: 解冻手续费
  11257. type: number
  11258. unfreezemargin:
  11259. description: 解冻保证金
  11260. type: number
  11261. validtime:
  11262. description: 有效期限
  11263. type: string
  11264. validtype:
  11265. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11266. type: integer
  11267. volumetype:
  11268. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11269. type: integer
  11270. required:
  11271. - accountid
  11272. - buildtype
  11273. - buyorsell
  11274. - goodsid
  11275. - marketid
  11276. - operatetype
  11277. - orderqty
  11278. - ordertime
  11279. - pricemode
  11280. - tradedate
  11281. - validtype
  11282. type: object
  11283. order.QueryTradePositionRsp:
  11284. properties:
  11285. accountid:
  11286. description: 资金账户
  11287. type: integer
  11288. agreeunit:
  11289. description: 合约单位
  11290. type: number
  11291. averageprice:
  11292. description: 持仓均价
  11293. type: number
  11294. buyorsell:
  11295. description: 方向 - 0:买 1:卖
  11296. type: integer
  11297. closetotalqty:
  11298. description: 平仓总数量
  11299. type: integer
  11300. curholderamount:
  11301. description: 当前持仓总金额[商品币种]
  11302. type: number
  11303. curpositionqty:
  11304. description: 当前持仓总数量
  11305. type: integer
  11306. currencyid:
  11307. description: 报价货币ID
  11308. type: integer
  11309. curtdposition:
  11310. description: 期末今日头寸
  11311. type: integer
  11312. decimalplace:
  11313. description: 报价小数位
  11314. type: integer
  11315. enableqty:
  11316. description: 可用量
  11317. type: integer
  11318. fretdposition:
  11319. description: 冻结今日头寸
  11320. type: integer
  11321. frozenqty:
  11322. description: 持仓冻结数量
  11323. type: integer
  11324. goodscode:
  11325. description: 商品代码
  11326. type: string
  11327. goodsid:
  11328. description: 商品Id
  11329. type: integer
  11330. goodsname:
  11331. description: 商品名称
  11332. type: string
  11333. goodunit:
  11334. description: 报价单位
  11335. type: string
  11336. goodunitid:
  11337. description: 报价单位ID
  11338. type: integer
  11339. holderamount:
  11340. description: 期初持仓总金额[商品币种]
  11341. type: number
  11342. marketid:
  11343. description: 所属市场ID
  11344. type: integer
  11345. openreqqty:
  11346. description: 开仓申请数量(用于比较最大持仓数量)
  11347. type: integer
  11348. opentotalqty:
  11349. description: 开仓总数量
  11350. type: integer
  11351. otherfrozenqty:
  11352. description: 持仓其他冻结数量(交割冻结)
  11353. type: integer
  11354. positionqty:
  11355. description: 期初持仓数量
  11356. type: integer
  11357. tnqty:
  11358. description: T+N冻结总量
  11359. type: integer
  11360. tnusedqty:
  11361. description: T+N使用量(可以使用T+N的冻结数量)
  11362. type: integer
  11363. trademode:
  11364. description: 交易模式
  11365. type: integer
  11366. usedmargin:
  11367. description: 占用保证金[商品币种]
  11368. type: number
  11369. required:
  11370. - goodsid
  11371. type: object
  11372. quote.HistoryData:
  11373. properties:
  11374. c:
  11375. description: 收盘价
  11376. type: number
  11377. f:
  11378. description: 是否补充数据
  11379. type: boolean
  11380. h:
  11381. description: 最高价
  11382. type: number
  11383. hv:
  11384. description: 持仓量
  11385. type: integer
  11386. l:
  11387. description: 最低价
  11388. type: number
  11389. o:
  11390. description: 开盘价
  11391. type: number
  11392. s:
  11393. description: 结算价,日线周期(包括)以上才有
  11394. type: number
  11395. ts:
  11396. description: 时间
  11397. type: string
  11398. tt:
  11399. description: 总金额
  11400. type: number
  11401. tv:
  11402. description: 总量
  11403. type: integer
  11404. type: object
  11405. quote.HistoryTikData:
  11406. properties:
  11407. AV:
  11408. description: 卖量
  11409. type: integer
  11410. Ask:
  11411. description: 卖价
  11412. type: number
  11413. BV:
  11414. description: 买量
  11415. type: integer
  11416. Bid:
  11417. description: 买价
  11418. type: number
  11419. HI:
  11420. description: 单笔持仓
  11421. type: integer
  11422. HV:
  11423. description: 持仓量
  11424. type: integer
  11425. PE:
  11426. description: 现价
  11427. type: number
  11428. TDR:
  11429. description: 交易方向,0:买 1:卖
  11430. type: integer
  11431. TK:
  11432. description: 交易类型
  11433. type: integer
  11434. TS:
  11435. description: 行情时间文本
  11436. type: string
  11437. TT:
  11438. description: 现金额
  11439. type: number
  11440. Vol:
  11441. description: 现量
  11442. type: integer
  11443. type: object
  11444. quote.QueryQuoteDayRsp:
  11445. properties:
  11446. ask:
  11447. description: 卖1
  11448. type: number
  11449. ask2:
  11450. description: 卖2
  11451. type: number
  11452. ask3:
  11453. description: 卖3
  11454. type: number
  11455. ask4:
  11456. description: 卖4
  11457. type: number
  11458. ask5:
  11459. description: 卖5
  11460. type: number
  11461. ask6:
  11462. description: 卖6
  11463. type: number
  11464. ask7:
  11465. description: 卖7
  11466. type: number
  11467. ask8:
  11468. description: 卖8
  11469. type: number
  11470. ask9:
  11471. description: 卖9
  11472. type: number
  11473. ask10:
  11474. description: 卖10
  11475. type: number
  11476. askorderid:
  11477. description: 卖单号1
  11478. type: integer
  11479. askorderid2:
  11480. description: 卖单号2
  11481. type: integer
  11482. askorderid3:
  11483. description: 卖单号3
  11484. type: integer
  11485. askorderid4:
  11486. description: 卖单号4
  11487. type: integer
  11488. askorderid5:
  11489. description: 卖单号5
  11490. type: integer
  11491. askordervolume:
  11492. description: 卖单量1
  11493. type: integer
  11494. askordervolume2:
  11495. description: 卖单量2
  11496. type: integer
  11497. askordervolume3:
  11498. description: 卖单量3
  11499. type: integer
  11500. askordervolume4:
  11501. description: 卖单量4
  11502. type: integer
  11503. askordervolume5:
  11504. description: 卖单量5
  11505. type: integer
  11506. askordervolume6:
  11507. description: 卖单量6
  11508. type: integer
  11509. askordervolume7:
  11510. description: 卖单量7
  11511. type: integer
  11512. askordervolume8:
  11513. description: 卖单量8
  11514. type: integer
  11515. askordervolume9:
  11516. description: 卖单量9
  11517. type: integer
  11518. askordervolume10:
  11519. description: 卖单量10
  11520. type: integer
  11521. askqueueinfo:
  11522. description: 大利市卖港股用
  11523. type: string
  11524. askvolume:
  11525. description: 卖量1
  11526. type: integer
  11527. askvolume2:
  11528. description: 卖量2
  11529. type: integer
  11530. askvolume3:
  11531. description: 卖量3
  11532. type: integer
  11533. askvolume4:
  11534. description: 卖量4
  11535. type: integer
  11536. askvolume5:
  11537. description: 卖量5
  11538. type: integer
  11539. askvolume6:
  11540. description: 卖量6
  11541. type: integer
  11542. askvolume7:
  11543. description: 卖量7
  11544. type: integer
  11545. askvolume8:
  11546. description: 卖量8
  11547. type: integer
  11548. askvolume9:
  11549. description: 卖量9
  11550. type: integer
  11551. askvolume10:
  11552. description: 卖量10
  11553. type: integer
  11554. averageprice:
  11555. description: 均价
  11556. type: number
  11557. bid:
  11558. description: 买1
  11559. type: number
  11560. bid2:
  11561. description: 买2
  11562. type: number
  11563. bid3:
  11564. description: 买3
  11565. type: number
  11566. bid4:
  11567. description: 买4
  11568. type: number
  11569. bid5:
  11570. description: 买5
  11571. type: number
  11572. bid6:
  11573. description: 买6
  11574. type: number
  11575. bid7:
  11576. description: 买7
  11577. type: number
  11578. bid8:
  11579. description: 买8
  11580. type: number
  11581. bid9:
  11582. description: 买9
  11583. type: number
  11584. bid10:
  11585. description: 买10
  11586. type: number
  11587. bidorderid:
  11588. description: 买单号1
  11589. type: integer
  11590. bidorderid2:
  11591. description: 买单号2
  11592. type: integer
  11593. bidorderid3:
  11594. description: 买单号3
  11595. type: integer
  11596. bidorderid4:
  11597. description: 买单号4
  11598. type: integer
  11599. bidorderid5:
  11600. description: 买单号5
  11601. type: integer
  11602. bidordervolume:
  11603. description: 买单量1
  11604. type: integer
  11605. bidordervolume2:
  11606. description: 买单量2
  11607. type: integer
  11608. bidordervolume3:
  11609. description: 买单量3
  11610. type: integer
  11611. bidordervolume4:
  11612. description: 买单量4
  11613. type: integer
  11614. bidordervolume5:
  11615. description: 买单量5
  11616. type: integer
  11617. bidordervolume6:
  11618. description: 买单量6
  11619. type: integer
  11620. bidordervolume7:
  11621. description: 买单量7
  11622. type: integer
  11623. bidordervolume8:
  11624. description: 买单量8
  11625. type: integer
  11626. bidordervolume9:
  11627. description: 买单量9
  11628. type: integer
  11629. bidordervolume10:
  11630. description: 买单量10
  11631. type: integer
  11632. bidqueueinfo:
  11633. description: 大利市买港股用
  11634. type: string
  11635. bidvolume:
  11636. description: 买量1
  11637. type: integer
  11638. bidvolume2:
  11639. description: 买量2
  11640. type: integer
  11641. bidvolume3:
  11642. description: 买量3
  11643. type: integer
  11644. bidvolume4:
  11645. description: 买量4
  11646. type: integer
  11647. bidvolume5:
  11648. description: 买量5
  11649. type: integer
  11650. bidvolume6:
  11651. description: 买量6
  11652. type: integer
  11653. bidvolume7:
  11654. description: 买量7
  11655. type: integer
  11656. bidvolume8:
  11657. description: 买量8
  11658. type: integer
  11659. bidvolume9:
  11660. description: 买量9
  11661. type: integer
  11662. bidvolume10:
  11663. description: 买量10
  11664. type: integer
  11665. calloptionpremiums:
  11666. description: 认购期权1
  11667. type: integer
  11668. calloptionpremiums2:
  11669. description: 认购期权2
  11670. type: integer
  11671. calloptionpremiums3:
  11672. description: 认购期权3
  11673. type: integer
  11674. calloptionpremiums4:
  11675. description: 认购期权4
  11676. type: integer
  11677. calloptionpremiums5:
  11678. description: 认购期权5
  11679. type: integer
  11680. cleartime:
  11681. description: 清盘时间
  11682. type: integer
  11683. exchangecode:
  11684. description: 交易所代码
  11685. type: integer
  11686. exchangedate:
  11687. description: 交易日
  11688. type: integer
  11689. goodscode:
  11690. description: 商品代码
  11691. type: string
  11692. grepmarketprice:
  11693. description: 暗盘价 港股专用
  11694. type: number
  11695. highest:
  11696. description: 最高价
  11697. type: number
  11698. holdincrement:
  11699. description: 单笔持仓
  11700. type: integer
  11701. holdvolume:
  11702. description: 持仓
  11703. type: integer
  11704. iep:
  11705. description: 平衡价 港股专用
  11706. type: number
  11707. iev:
  11708. description: 平衡量 港股专用
  11709. type: number
  11710. inventory:
  11711. description: 库存
  11712. type: integer
  11713. iscleared:
  11714. description: 是否清盘标志
  11715. type: integer
  11716. issettled:
  11717. description: 是否结算标志
  11718. type: integer
  11719. last:
  11720. description: 最新价
  11721. type: number
  11722. lastlot:
  11723. description: 最新成交手数
  11724. type: integer
  11725. lasttime:
  11726. description: 行情时间(只有现价变化行情时间才变化)
  11727. type: string
  11728. lastturnover:
  11729. description: 最新成交金额
  11730. type: number
  11731. lastvolume:
  11732. description: 最新成交量
  11733. type: integer
  11734. limitdown:
  11735. description: 跌停价
  11736. type: number
  11737. limitup:
  11738. description: 涨停价
  11739. type: number
  11740. lowest:
  11741. description: 最低价
  11742. type: number
  11743. nontotalholdervolume:
  11744. description: 非交易持仓量
  11745. type: integer
  11746. nontotallot:
  11747. description: 非交易总手数
  11748. type: integer
  11749. nontotalturnover:
  11750. description: 非交易总金额
  11751. type: integer
  11752. nontotalvolume:
  11753. description: 非交易总量
  11754. type: integer
  11755. opened:
  11756. description: 开盘价
  11757. type: number
  11758. opentime:
  11759. description: 开盘时间
  11760. type: string
  11761. orderid:
  11762. description: 序号
  11763. type: integer
  11764. preclose:
  11765. description: 昨收
  11766. type: number
  11767. preholdvolume:
  11768. description: 昨持仓
  11769. type: integer
  11770. presettle:
  11771. description: 昨结价
  11772. type: number
  11773. publictradetype:
  11774. description: 公共交易标志类型 港股专用
  11775. type: string
  11776. putoptionpremiums:
  11777. description: 认沽期权1
  11778. type: integer
  11779. putoptionpremiums2:
  11780. description: 认沽期权2
  11781. type: integer
  11782. putoptionpremiums3:
  11783. description: 认沽期权3
  11784. type: integer
  11785. putoptionpremiums4:
  11786. description: 认沽期权4
  11787. type: integer
  11788. putoptionpremiums5:
  11789. description: 认沽期权5
  11790. type: integer
  11791. settle:
  11792. description: 结算价
  11793. type: number
  11794. strikeprice:
  11795. description: 发行价
  11796. type: number
  11797. totalaskvolume:
  11798. description: 内盘
  11799. type: integer
  11800. totalbidvolume:
  11801. description: 外盘
  11802. type: integer
  11803. totallot:
  11804. description: 总手数
  11805. type: integer
  11806. totalturnover:
  11807. description: 总金额
  11808. type: number
  11809. totalvolume:
  11810. description: 总量
  11811. type: integer
  11812. utclasttime:
  11813. description: utc的行情时间
  11814. type: string
  11815. type: object
  11816. quote.QueryTSDataRsp:
  11817. properties:
  11818. Count:
  11819. description: 交易日应有数据个数
  11820. type: integer
  11821. decimalPlace:
  11822. description: 小数位
  11823. type: integer
  11824. endTime:
  11825. description: 结束时间
  11826. type: string
  11827. goodsCode:
  11828. description: 商品代码
  11829. type: string
  11830. historyDatas:
  11831. description: 历史数据
  11832. items:
  11833. $ref: '#/definitions/quote.HistoryData'
  11834. type: array
  11835. outGoodsCode:
  11836. description: 外部商品代码
  11837. type: string
  11838. preSettle:
  11839. description: 昨结价
  11840. type: number
  11841. runSteps:
  11842. description: 交易日开休市计划
  11843. items:
  11844. $ref: '#/definitions/quote.TSDataRunStep'
  11845. type: array
  11846. startTime:
  11847. description: 开始时间
  11848. type: string
  11849. tradeDate:
  11850. description: 交易日
  11851. type: string
  11852. type: object
  11853. quote.TSDataRunStep:
  11854. properties:
  11855. end:
  11856. description: 真实结束时间
  11857. type: string
  11858. endflag:
  11859. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11860. type: integer
  11861. endtime:
  11862. description: 结束时间(HH:mm)
  11863. type: string
  11864. endweekday:
  11865. description: 结束周几
  11866. type: integer
  11867. groupid:
  11868. description: 分组ID
  11869. type: integer
  11870. runstep:
  11871. description: 运行阶段 - 2:连续交易
  11872. type: integer
  11873. sectionid:
  11874. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11875. 结束时间=结算时间 结束周几=结算周几
  11876. type: integer
  11877. start:
  11878. description: 真实开始时间
  11879. type: string
  11880. startflag:
  11881. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11882. type: integer
  11883. starttime:
  11884. description: 起始时间(HH:mm)
  11885. type: string
  11886. startweekday:
  11887. description: 起始周几
  11888. type: integer
  11889. tradeweekday:
  11890. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11891. type: integer
  11892. type: object
  11893. szdz.QueryConvertLogRsp:
  11894. properties:
  11895. accountid:
  11896. description: 资金账户ID
  11897. type: integer
  11898. clientticket:
  11899. description: 客户端流水号
  11900. type: string
  11901. converttype:
  11902. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11903. type: integer
  11904. createtime:
  11905. description: 记账时间
  11906. type: string
  11907. daymaxvalue:
  11908. description: 配置当日最大转入限制
  11909. type: number
  11910. daymaxvalue2:
  11911. description: 配置当日最大转入限制(转入)
  11912. type: number
  11913. goodscode:
  11914. description: 商品代码
  11915. type: string
  11916. goodsname:
  11917. description: 商品名称
  11918. type: string
  11919. handlestatus:
  11920. description: 处理状态
  11921. type: integer
  11922. innergoodsid:
  11923. description: 内部商品ID
  11924. type: integer
  11925. inratio:
  11926. description: 配置转入比值
  11927. type: integer
  11928. invalue:
  11929. description: 目标值
  11930. type: number
  11931. logid:
  11932. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11933. type: integer
  11934. mobile:
  11935. description: 手机号码(加密存储)
  11936. type: string
  11937. outergoodscode:
  11938. description: 外部商品代码[JD\PD]
  11939. type: string
  11940. outratio:
  11941. description: 配置转出比值
  11942. type: integer
  11943. outvalue:
  11944. description: 源值
  11945. type: number
  11946. pddecimalplace:
  11947. description: PD小数位
  11948. type: integer
  11949. qty:
  11950. description: 数量
  11951. type: string
  11952. remark:
  11953. description: 备注
  11954. type: string
  11955. sessionid:
  11956. description: 会话ID
  11957. type: integer
  11958. timemaxvalue:
  11959. description: 配置单次最大转入限制
  11960. type: number
  11961. timemaxvalue2:
  11962. description: 配置单次最大转入限制(转入)
  11963. type: number
  11964. timeminvalue:
  11965. description: 配置单次最小数量限制
  11966. type: number
  11967. timeminvalue2:
  11968. description: 配置单次最小数量限制(转入)
  11969. type: number
  11970. tradedate:
  11971. description: 交易日(yyyyMMdd)
  11972. type: string
  11973. userid:
  11974. description: 用户ID
  11975. type: integer
  11976. required:
  11977. - logid
  11978. type: object
  11979. szdz.QueryGoodsPickupRsp:
  11980. properties:
  11981. accountid:
  11982. description: 账户ID
  11983. type: integer
  11984. address:
  11985. description: 提货人详细地址
  11986. type: string
  11987. auditer:
  11988. description: 审核人
  11989. type: integer
  11990. audittime:
  11991. description: 审核时间
  11992. type: string
  11993. cardnum:
  11994. description: 提货人证件号码
  11995. type: string
  11996. cardtypeid:
  11997. description: 提货人证件类型
  11998. type: integer
  11999. checkremark:
  12000. description: 审核备注
  12001. type: string
  12002. goodscode:
  12003. description: 商品代码
  12004. type: string
  12005. goodsid:
  12006. description: 商品ID
  12007. type: integer
  12008. goodsname:
  12009. description: 商品名称
  12010. type: string
  12011. handlestatus:
  12012. description: 处理状态
  12013. type: integer
  12014. marketid:
  12015. description: 市场ID
  12016. type: integer
  12017. phonenum:
  12018. description: 提货人联系方式
  12019. type: string
  12020. qty:
  12021. description: 提货数量
  12022. type: number
  12023. recivername:
  12024. description: 提货人姓名
  12025. type: string
  12026. reqtime:
  12027. description: 更新时间
  12028. type: string
  12029. takemode:
  12030. description: 提货方式 - 2:自提 3:配送
  12031. type: integer
  12032. takeorderid:
  12033. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12034. type: string
  12035. takeorderstatus:
  12036. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12037. type: integer
  12038. takeremark:
  12039. description: 提货备注
  12040. type: string
  12041. tradedate:
  12042. description: 交易日(yyyyMMdd)
  12043. type: string
  12044. userid:
  12045. description: 用户ID
  12046. type: integer
  12047. required:
  12048. - takeorderid
  12049. type: object
  12050. szdz.QueryRecieptOrderRsp:
  12051. properties:
  12052. accountName:
  12053. description: 所属账号名称(已脱敏)
  12054. type: string
  12055. accountid:
  12056. description: 资金账号
  12057. type: integer
  12058. buyorsell:
  12059. description: 方向 - 0:买 1:卖
  12060. type: integer
  12061. enableqty:
  12062. description: 可摘数量
  12063. type: integer
  12064. goodscode:
  12065. description: 商品代码
  12066. type: string
  12067. goodsid:
  12068. description: 商品ID
  12069. type: integer
  12070. goodsname:
  12071. description: 商品名称
  12072. type: string
  12073. orderid:
  12074. description: 委托单号
  12075. type: string
  12076. orderprice:
  12077. description: 委托价格
  12078. type: number
  12079. ordertime:
  12080. description: 委托时间
  12081. type: string
  12082. tradedate:
  12083. description: 交易日(yyyyMMdd)
  12084. type: string
  12085. required:
  12086. - ordertime
  12087. type: object
  12088. szdz.QuerySZDZTradePositionRsp:
  12089. properties:
  12090. accountid:
  12091. description: 账号Id
  12092. type: integer
  12093. agreeunit:
  12094. description: 合约单位
  12095. type: number
  12096. averageprice:
  12097. description: 持仓均价
  12098. type: number
  12099. buyorsell:
  12100. description: 方向 - 0:买 1:卖
  12101. type: integer
  12102. closetotalqty:
  12103. description: 平仓总数量
  12104. type: integer
  12105. curholderamount:
  12106. description: 当前持仓总金额
  12107. type: number
  12108. curpositionqty:
  12109. description: 当前持仓总数量
  12110. type: integer
  12111. currencyid:
  12112. description: 报价货币ID
  12113. type: integer
  12114. curtdposition:
  12115. description: 期末今日头寸
  12116. type: integer
  12117. decimalplace:
  12118. description: 报价小数位
  12119. type: integer
  12120. enableqty:
  12121. description: 可用量
  12122. type: integer
  12123. fretdposition:
  12124. description: 冻结今日头寸
  12125. type: integer
  12126. frozenqty:
  12127. description: 持仓冻结数量
  12128. type: integer
  12129. goodscode:
  12130. description: 商品代码(内部)
  12131. type: string
  12132. goodsid:
  12133. description: 商品Id
  12134. type: integer
  12135. goodsname:
  12136. description: 商品名称
  12137. type: string
  12138. goodunit:
  12139. description: 报价单位
  12140. type: string
  12141. goodunitid:
  12142. description: 报价单位ID
  12143. type: integer
  12144. holderamount:
  12145. description: 期初持仓总金额
  12146. type: number
  12147. marketid:
  12148. description: 市场ID
  12149. type: integer
  12150. openreqqty:
  12151. description: 开仓申请数量
  12152. type: integer
  12153. opentotalqty:
  12154. description: 开仓总数量
  12155. type: integer
  12156. otherfrozenqty:
  12157. description: 持仓其他冻结数量(交割冻结)
  12158. type: integer
  12159. positionqty:
  12160. description: 期初持仓数量
  12161. type: integer
  12162. szdz3freezqty:
  12163. description: 尚志大宗转换冻结总数量
  12164. type: integer
  12165. tnqty:
  12166. description: T+N冻结总量
  12167. type: integer
  12168. tnusedqty:
  12169. description: T+N使用量
  12170. type: integer
  12171. trademode:
  12172. description: 交易模式
  12173. type: integer
  12174. usedmargin:
  12175. description: 占用保证金
  12176. type: number
  12177. type: object
  12178. taaccount.QueryAmountLogRsp:
  12179. properties:
  12180. OPERATETYPENAME:
  12181. description: 资金操作类型名称
  12182. type: string
  12183. accountid:
  12184. description: 资金账户ID
  12185. type: integer
  12186. agoodscode:
  12187. description: 竞拍商品代码
  12188. type: string
  12189. agoodsname:
  12190. description: 竞拍商品名称
  12191. type: string
  12192. amount:
  12193. description: 资金金额
  12194. type: number
  12195. amountadjusttype:
  12196. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12197. type: integer
  12198. autoid:
  12199. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12200. type: integer
  12201. balance:
  12202. description: 期初余额
  12203. type: number
  12204. businesscode:
  12205. description: 业务编号
  12206. type: integer
  12207. createtime:
  12208. description: 发生时间
  12209. type: string
  12210. currencyid:
  12211. description: 币种ID
  12212. type: integer
  12213. currentbalance:
  12214. description: 期末余额(变动后金额)
  12215. type: number
  12216. dgoodscode:
  12217. description: 交割商品代码
  12218. type: string
  12219. dgoodsname:
  12220. description: 交割商品名称
  12221. type: string
  12222. goodscode:
  12223. description: 商品代码
  12224. type: string
  12225. goodsid:
  12226. description: 商品ID
  12227. type: integer
  12228. goodsname:
  12229. description: 商品名称
  12230. type: string
  12231. marketid:
  12232. description: 市场ID
  12233. type: integer
  12234. marketname:
  12235. description: 市场名称
  12236. type: string
  12237. moneyticket:
  12238. description: 资金流水号:银行端流水号
  12239. type: integer
  12240. operatetype:
  12241. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12242. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12243. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12244. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12245. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12246. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12247. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12248. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12249. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12250. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12251. type: integer
  12252. relationorderid:
  12253. description: 关联单号
  12254. type: string
  12255. remark:
  12256. description: 备注
  12257. type: string
  12258. trademode:
  12259. description: 交易模式
  12260. type: integer
  12261. required:
  12262. - accountid
  12263. - amount
  12264. - amountadjusttype
  12265. - autoid
  12266. - balance
  12267. - createtime
  12268. - currentbalance
  12269. - operatetype
  12270. type: object
  12271. taaccount.QueryHisAmountLogRsp:
  12272. properties:
  12273. OPERATETYPENAME:
  12274. description: 资金操作类型名称
  12275. type: string
  12276. accountid:
  12277. description: 资金账户ID
  12278. type: integer
  12279. agoodscode:
  12280. description: 竞拍商品代码
  12281. type: string
  12282. agoodsname:
  12283. description: 竞拍商品名称
  12284. type: string
  12285. amount:
  12286. description: 资金金额
  12287. type: number
  12288. amountadjusttype:
  12289. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12290. type: integer
  12291. autoid:
  12292. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12293. type: integer
  12294. balance:
  12295. description: 期初余额
  12296. type: number
  12297. businesscode:
  12298. description: 业务编号
  12299. type: integer
  12300. createtime:
  12301. description: 发生时间
  12302. type: string
  12303. currencyid:
  12304. description: 币种ID
  12305. type: integer
  12306. currentbalance:
  12307. description: 期末余额(变动后金额)
  12308. type: number
  12309. dgoodscode:
  12310. description: 交割商品代码
  12311. type: string
  12312. dgoodsname:
  12313. description: 交割商品名称
  12314. type: string
  12315. goodscode:
  12316. description: 商品代码
  12317. type: string
  12318. goodsid:
  12319. description: 商品ID
  12320. type: integer
  12321. goodsname:
  12322. description: 商品名称
  12323. type: string
  12324. histradedate:
  12325. description: 历史交易日
  12326. type: string
  12327. isvaliddata:
  12328. description: 是否有效 - 0:无效 1:有效
  12329. type: integer
  12330. marketid:
  12331. description: 市场ID
  12332. type: integer
  12333. marketname:
  12334. description: 市场名称
  12335. type: string
  12336. moneyticket:
  12337. description: 资金流水号:银行端流水号
  12338. type: integer
  12339. operatetype:
  12340. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12341. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12342. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12343. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12344. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12345. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12346. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12347. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12348. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12349. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12350. type: integer
  12351. relationorderid:
  12352. description: 关联单号
  12353. type: string
  12354. remark:
  12355. description: 备注
  12356. type: string
  12357. trademode:
  12358. description: 交易模式
  12359. type: integer
  12360. required:
  12361. - accountid
  12362. - amount
  12363. - amountadjusttype
  12364. - autoid
  12365. - balance
  12366. - createtime
  12367. - currentbalance
  12368. - histradedate
  12369. - operatetype
  12370. type: object
  12371. trade.QueryRecieptOrderRsp:
  12372. properties:
  12373. accountName:
  12374. description: 所属账号名称(已脱敏)
  12375. type: string
  12376. accountid:
  12377. description: 资金账号
  12378. type: integer
  12379. buyorsell:
  12380. description: 方向 - 0:买 1:卖
  12381. type: integer
  12382. enableqty:
  12383. description: 可摘数量
  12384. type: integer
  12385. goodscode:
  12386. description: 商品代码
  12387. type: string
  12388. goodsid:
  12389. description: 商品ID
  12390. type: integer
  12391. goodsname:
  12392. description: 商品名称
  12393. type: string
  12394. orderid:
  12395. description: 委托单号
  12396. type: string
  12397. orderprice:
  12398. description: 委托价格
  12399. type: number
  12400. ordertime:
  12401. description: 委托时间
  12402. type: string
  12403. tradedate:
  12404. description: 交易日(yyyyMMdd)
  12405. type: string
  12406. required:
  12407. - ordertime
  12408. type: object
  12409. user.LoginQueryRsp:
  12410. properties:
  12411. externalExchanges:
  12412. description: 外部交易所
  12413. items:
  12414. $ref: '#/definitions/models.Externalexchange'
  12415. type: array
  12416. goodsgroups:
  12417. description: 商品组
  12418. items:
  12419. $ref: '#/definitions/models.Goodsgroup'
  12420. type: array
  12421. loginAccount:
  12422. $ref: '#/definitions/models.Loginaccount'
  12423. description: 登录账号
  12424. markets:
  12425. description: 市场
  12426. items:
  12427. $ref: '#/definitions/models.Market'
  12428. type: array
  12429. systemParams:
  12430. description: 系统参数
  12431. items:
  12432. $ref: '#/definitions/models.Systemparam'
  12433. type: array
  12434. userAccount:
  12435. $ref: '#/definitions/models.Useraccount'
  12436. description: 用户账号
  12437. userInfo:
  12438. $ref: '#/definitions/models.Userinfo'
  12439. description: 用户信息
  12440. username:
  12441. description: 用户姓名
  12442. type: string
  12443. type: object
  12444. info:
  12445. contact: {}
  12446. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  12447. termsOfService: http://muchinfo.cn
  12448. title: MTP2.0 查询服务 API
  12449. version: "1.0"
  12450. paths:
  12451. /CPTrade/QueryCPTradeMyBidInfos:
  12452. get:
  12453. parameters:
  12454. - description: 资金账户
  12455. in: query
  12456. name: accountid
  12457. required: true
  12458. type: integer
  12459. - description: 预售市场ID
  12460. in: query
  12461. name: marketid
  12462. type: integer
  12463. - description: 预售商品ID
  12464. in: query
  12465. name: goodsid
  12466. type: integer
  12467. produces:
  12468. - application/json
  12469. responses:
  12470. "200":
  12471. description: OK
  12472. schema:
  12473. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  12474. "500":
  12475. description: Internal Server Error
  12476. schema:
  12477. $ref: '#/definitions/app.Response'
  12478. security:
  12479. - ApiKeyAuth: []
  12480. summary: 查询产能预售我的出价信息
  12481. tags:
  12482. - 产能预售
  12483. /CPTrade/QueryCPTradeOrderDetail:
  12484. get:
  12485. parameters:
  12486. - description: 预售商品ID
  12487. in: query
  12488. name: goodsid
  12489. type: integer
  12490. - description: 预售市场ID
  12491. in: query
  12492. name: marketid
  12493. type: integer
  12494. - description: 预售商品ID列表 - 格式:1,2,3
  12495. in: query
  12496. name: goodsids
  12497. type: string
  12498. produces:
  12499. - application/json
  12500. responses:
  12501. "200":
  12502. description: OK
  12503. schema:
  12504. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  12505. "500":
  12506. description: Internal Server Error
  12507. schema:
  12508. $ref: '#/definitions/app.Response'
  12509. security:
  12510. - ApiKeyAuth: []
  12511. summary: 查询产能预售委托单信息
  12512. tags:
  12513. - 产能预售
  12514. /CPTrade/QueryMyCPTradeGoods:
  12515. get:
  12516. parameters:
  12517. - description: 资金账户
  12518. in: query
  12519. name: accountid
  12520. required: true
  12521. type: integer
  12522. produces:
  12523. - application/json
  12524. responses:
  12525. "200":
  12526. description: OK
  12527. schema:
  12528. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  12529. "500":
  12530. description: Internal Server Error
  12531. schema:
  12532. $ref: '#/definitions/app.Response'
  12533. security:
  12534. - ApiKeyAuth: []
  12535. summary: 查询我的预售信息
  12536. tags:
  12537. - 产能预售
  12538. /CPTrade/QueryPositionCancel:
  12539. get:
  12540. parameters:
  12541. - description: 账户ID
  12542. in: query
  12543. name: userid
  12544. required: true
  12545. type: integer
  12546. - description: 注销ID
  12547. in: query
  12548. name: cancelid
  12549. type: integer
  12550. - description: 资金账户ID
  12551. in: query
  12552. name: accountid
  12553. type: integer
  12554. produces:
  12555. - application/json
  12556. responses:
  12557. "200":
  12558. description: OK
  12559. schema:
  12560. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  12561. "500":
  12562. description: Internal Server Error
  12563. schema:
  12564. $ref: '#/definitions/app.Response'
  12565. security:
  12566. - ApiKeyAuth: []
  12567. summary: 查询远期订单注销申请信息
  12568. tags:
  12569. - 产能预售
  12570. /CPTrade/QueryPreasleApply:
  12571. get:
  12572. parameters:
  12573. - description: 账户ID
  12574. in: query
  12575. name: userid
  12576. required: true
  12577. type: integer
  12578. - description: 申请ID
  12579. in: query
  12580. name: applyid
  12581. type: integer
  12582. - description: 资金账户ID
  12583. in: query
  12584. name: accountid
  12585. type: integer
  12586. produces:
  12587. - application/json
  12588. responses:
  12589. "200":
  12590. description: OK
  12591. schema:
  12592. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  12593. "500":
  12594. description: Internal Server Error
  12595. schema:
  12596. $ref: '#/definitions/app.Response'
  12597. security:
  12598. - ApiKeyAuth: []
  12599. summary: 查询产能预售申请信息
  12600. tags:
  12601. - 产能预售
  12602. /CPTrade/QueryPresaleGoodsEx:
  12603. get:
  12604. parameters:
  12605. - description: 预售商品ID
  12606. in: query
  12607. name: goodsid
  12608. type: integer
  12609. - description: 预售市场ID
  12610. in: query
  12611. name: marketid
  12612. type: integer
  12613. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  12614. in: query
  12615. name: presalemode
  12616. type: integer
  12617. - description: 预售商品ID列表 - 格式:1,2,3
  12618. in: query
  12619. name: goodsids
  12620. type: string
  12621. - description: 预售商品代码
  12622. in: query
  12623. name: goodscode
  12624. type: string
  12625. produces:
  12626. - application/json
  12627. responses:
  12628. "200":
  12629. description: OK
  12630. schema:
  12631. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  12632. "500":
  12633. description: Internal Server Error
  12634. schema:
  12635. $ref: '#/definitions/app.Response'
  12636. security:
  12637. - ApiKeyAuth: []
  12638. summary: 查询产能预售商品扩展信息
  12639. tags:
  12640. - 产能预售
  12641. /CPTrade/QueryUserGoodsData:
  12642. get:
  12643. parameters:
  12644. - description: 资金账户ID
  12645. in: query
  12646. name: accountid
  12647. required: true
  12648. type: integer
  12649. produces:
  12650. - application/json
  12651. responses:
  12652. "200":
  12653. description: OK
  12654. schema:
  12655. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  12656. "500":
  12657. description: Internal Server Error
  12658. schema:
  12659. $ref: '#/definitions/app.Response'
  12660. security:
  12661. - ApiKeyAuth: []
  12662. summary: 查询远期订单信息
  12663. tags:
  12664. - 产能预售
  12665. /Common/GetAllEnums:
  12666. get:
  12667. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  12668. parameters:
  12669. - description: 起始自增ID
  12670. in: query
  12671. name: autoid
  12672. type: integer
  12673. produces:
  12674. - application/json
  12675. responses:
  12676. "200":
  12677. description: OK
  12678. schema:
  12679. $ref: '#/definitions/models.Enumdicitem'
  12680. "500":
  12681. description: Internal Server Error
  12682. schema:
  12683. $ref: '#/definitions/app.Response'
  12684. summary: 获取所有枚举信息
  12685. tags:
  12686. - 通用服务
  12687. /Common/GetClientMenus:
  12688. get:
  12689. parameters:
  12690. - description: 登录账号
  12691. in: query
  12692. name: loginID
  12693. required: true
  12694. type: integer
  12695. - description: 终端类型,0:PC 1:Mobile
  12696. in: query
  12697. name: clientType
  12698. type: integer
  12699. produces:
  12700. - application/json
  12701. responses:
  12702. "200":
  12703. description: OK
  12704. schema:
  12705. items:
  12706. $ref: '#/definitions/common.ClientMenu'
  12707. type: array
  12708. "500":
  12709. description: Internal Server Error
  12710. schema:
  12711. $ref: '#/definitions/app.Response'
  12712. security:
  12713. - ApiKeyAuth: []
  12714. summary: 获取交易端菜单
  12715. tags:
  12716. - 通用服务
  12717. /Common/GetDivisions:
  12718. get:
  12719. produces:
  12720. - application/json
  12721. responses:
  12722. "200":
  12723. description: OK
  12724. schema:
  12725. $ref: '#/definitions/models.Division'
  12726. "500":
  12727. description: Internal Server Error
  12728. schema:
  12729. $ref: '#/definitions/app.Response'
  12730. summary: 查询区域信息
  12731. tags:
  12732. - 通用服务
  12733. /Common/GetServerTime:
  12734. get:
  12735. produces:
  12736. - application/json
  12737. responses:
  12738. "200":
  12739. description: OK
  12740. schema:
  12741. $ref: '#/definitions/app.Response'
  12742. "500":
  12743. description: Internal Server Error
  12744. schema:
  12745. $ref: '#/definitions/app.Response'
  12746. summary: 获取服务器时间
  12747. tags:
  12748. - 通用服务
  12749. /Common/NoticeReaded:
  12750. post:
  12751. parameters:
  12752. - description: 登录账号
  12753. in: query
  12754. name: loginID
  12755. required: true
  12756. type: integer
  12757. - description: 通知公告ID
  12758. in: query
  12759. name: noticeID
  12760. required: true
  12761. type: integer
  12762. produces:
  12763. - application/json
  12764. responses:
  12765. "200":
  12766. description: OK
  12767. schema:
  12768. $ref: '#/definitions/app.Response'
  12769. "500":
  12770. description: Internal Server Error
  12771. schema:
  12772. $ref: '#/definitions/app.Response'
  12773. security:
  12774. - ApiKeyAuth: []
  12775. summary: 通知公告设置已读请求
  12776. tags:
  12777. - 通用服务
  12778. /Common/QueryErrorInfos:
  12779. get:
  12780. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12781. parameters:
  12782. - description: 起始行号前索引
  12783. in: query
  12784. name: rowNumber
  12785. type: string
  12786. produces:
  12787. - application/json
  12788. responses:
  12789. "200":
  12790. description: OK
  12791. schema:
  12792. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12793. "500":
  12794. description: Internal Server Error
  12795. schema:
  12796. $ref: '#/definitions/app.Response'
  12797. summary: 获取数据库错误信息
  12798. tags:
  12799. - 通用服务
  12800. /Common/QueryImageConfigs:
  12801. get:
  12802. parameters:
  12803. - description: 类型 - 1:App首页轮播 2:我的
  12804. in: query
  12805. name: imageType
  12806. type: integer
  12807. produces:
  12808. - application/json
  12809. responses:
  12810. "200":
  12811. description: OK
  12812. schema:
  12813. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12814. "500":
  12815. description: Internal Server Error
  12816. schema:
  12817. $ref: '#/definitions/app.Response'
  12818. summary: 查询轮播图配置信息
  12819. tags:
  12820. - 通用服务
  12821. /Common/QueryNotice:
  12822. get:
  12823. parameters:
  12824. - description: 页码
  12825. in: query
  12826. name: page
  12827. type: integer
  12828. - description: 每页条数
  12829. in: query
  12830. name: pagesize
  12831. type: integer
  12832. - description: 登录账号
  12833. in: query
  12834. name: loginID
  12835. required: true
  12836. type: integer
  12837. - description: 消息类型 - 1:公告通知 2:系统消息
  12838. in: query
  12839. name: msgType
  12840. type: integer
  12841. - description: 是否只获取未读信息
  12842. in: query
  12843. name: onlyUnRead
  12844. type: boolean
  12845. - description: 自增ID,传入后会返回这个ID后面的记录
  12846. in: query
  12847. name: lastID
  12848. type: integer
  12849. produces:
  12850. - application/json
  12851. responses:
  12852. "200":
  12853. description: OK
  12854. schema:
  12855. $ref: '#/definitions/common.QueryNoticeRsp'
  12856. "500":
  12857. description: Internal Server Error
  12858. schema:
  12859. $ref: '#/definitions/app.Response'
  12860. security:
  12861. - ApiKeyAuth: []
  12862. summary: 通知公告系统消息查询
  12863. tags:
  12864. - 通用服务
  12865. /Common/QueryProvincesAndCities:
  12866. get:
  12867. parameters:
  12868. - description: 省ID
  12869. in: query
  12870. name: provinceID
  12871. type: integer
  12872. produces:
  12873. - application/json
  12874. responses:
  12875. "200":
  12876. description: OK
  12877. schema:
  12878. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12879. "500":
  12880. description: Internal Server Error
  12881. schema:
  12882. $ref: '#/definitions/app.Response'
  12883. summary: 查询省市信息(不包括区)
  12884. tags:
  12885. - 通用服务
  12886. /Common/QueryTableDefine:
  12887. get:
  12888. parameters:
  12889. - description: 表key
  12890. in: query
  12891. name: tableKey
  12892. type: string
  12893. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12894. in: query
  12895. name: tableType
  12896. type: integer
  12897. produces:
  12898. - application/json
  12899. responses:
  12900. "200":
  12901. description: OK
  12902. schema:
  12903. $ref: '#/definitions/common.QueryTableDefineRsp'
  12904. "500":
  12905. description: Internal Server Error
  12906. schema:
  12907. $ref: '#/definitions/app.Response'
  12908. summary: 查询交易端列表头信息
  12909. tags:
  12910. - 通用服务
  12911. /Common/QueryTraderMenu:
  12912. get:
  12913. parameters:
  12914. - description: 登录账号
  12915. in: query
  12916. name: loginid
  12917. required: true
  12918. type: integer
  12919. produces:
  12920. - application/json
  12921. responses:
  12922. "200":
  12923. description: OK
  12924. schema:
  12925. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12926. "500":
  12927. description: Internal Server Error
  12928. schema:
  12929. $ref: '#/definitions/app.Response'
  12930. summary: 查询交易端菜单
  12931. tags:
  12932. - 通用服务
  12933. /Delivery/QueryDeliveryRelation:
  12934. get:
  12935. parameters:
  12936. - description: 商品ID
  12937. in: query
  12938. name: goodsid
  12939. type: integer
  12940. - description: 品种ID
  12941. in: query
  12942. name: deliverygoodsid
  12943. type: integer
  12944. - description: 市场ID
  12945. in: query
  12946. name: marketid
  12947. type: integer
  12948. produces:
  12949. - application/json
  12950. responses:
  12951. "200":
  12952. description: OK
  12953. schema:
  12954. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12955. "500":
  12956. description: Internal Server Error
  12957. schema:
  12958. $ref: '#/definitions/app.Response'
  12959. security:
  12960. - ApiKeyAuth: []
  12961. summary: 查询商品交割关系表
  12962. tags:
  12963. - 交割服务
  12964. /Ermcp/GetErmcpGoods:
  12965. get:
  12966. parameters:
  12967. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12968. in: query
  12969. name: lastUpdateTime
  12970. type: string
  12971. produces:
  12972. - application/json
  12973. responses:
  12974. "200":
  12975. description: OK
  12976. schema:
  12977. $ref: '#/definitions/models.Goods'
  12978. "500":
  12979. description: Internal Server Error
  12980. schema:
  12981. $ref: '#/definitions/app.Response'
  12982. security:
  12983. - ApiKeyAuth: []
  12984. summary: 查询企业风管期货商品信息
  12985. tags:
  12986. - 企业风险管理(app)
  12987. /Ermcp/GetErmcpGoodsSortByPosition:
  12988. get:
  12989. parameters:
  12990. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12991. in: query
  12992. name: sortIndex
  12993. type: string
  12994. produces:
  12995. - application/json
  12996. responses:
  12997. "200":
  12998. description: OK
  12999. schema:
  13000. $ref: '#/definitions/models.Goodssortbypreposition'
  13001. "500":
  13002. description: Internal Server Error
  13003. schema:
  13004. $ref: '#/definitions/app.Response'
  13005. security:
  13006. - ApiKeyAuth: []
  13007. summary: 查询企业风管期货主力、次主力商品信息
  13008. tags:
  13009. - 企业风险管理(app)
  13010. /Ermcp/GetErmcpOutAccountStatus:
  13011. get:
  13012. parameters:
  13013. - description: 登录账号
  13014. in: query
  13015. name: loginID
  13016. required: true
  13017. type: integer
  13018. produces:
  13019. - application/json
  13020. responses:
  13021. "200":
  13022. description: OK
  13023. schema:
  13024. $ref: '#/definitions/models.Hedgemarketopenlog'
  13025. "500":
  13026. description: Internal Server Error
  13027. schema:
  13028. $ref: '#/definitions/app.Response'
  13029. security:
  13030. - ApiKeyAuth: []
  13031. summary: 获取目标登录账号当前对冲账号在线状态
  13032. tags:
  13033. - 企业风险管理(app)
  13034. /Ermcp/GetErmcpRoleFuncMenuLists:
  13035. get:
  13036. parameters:
  13037. - description: 登录账号
  13038. in: query
  13039. name: loginID
  13040. required: true
  13041. type: integer
  13042. produces:
  13043. - application/json
  13044. responses:
  13045. "200":
  13046. description: OK
  13047. schema:
  13048. $ref: '#/definitions/models.Funcmenulist'
  13049. "500":
  13050. description: Internal Server Error
  13051. schema:
  13052. $ref: '#/definitions/app.Response'
  13053. security:
  13054. - ApiKeyAuth: []
  13055. summary: 获取企业风管终端权限
  13056. tags:
  13057. - 企业风险管理(app)
  13058. /Ermcp/QryReportAreaSpotPL:
  13059. get:
  13060. parameters:
  13061. - description: 用户ID
  13062. in: query
  13063. name: userid
  13064. required: true
  13065. type: integer
  13066. - description: 查询类型 1-日报表 2-月报表
  13067. in: query
  13068. name: querytype
  13069. required: true
  13070. type: integer
  13071. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13072. in: query
  13073. name: querydate
  13074. required: true
  13075. type: string
  13076. - description: 现货商品ID
  13077. in: query
  13078. name: wrstandardid
  13079. type: integer
  13080. - description: 品牌ID
  13081. in: query
  13082. name: spotgoodsbrandid
  13083. type: integer
  13084. - description: 型号ID
  13085. in: query
  13086. name: spotgoodsmodelid
  13087. type: integer
  13088. produces:
  13089. - application/json
  13090. responses:
  13091. "200":
  13092. description: OK
  13093. schema:
  13094. items:
  13095. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  13096. type: array
  13097. "500":
  13098. description: Internal Server Error
  13099. schema:
  13100. $ref: '#/definitions/app.Response'
  13101. security:
  13102. - ApiKeyAuth: []
  13103. summary: 查询现货损益报表(现货损益报表)
  13104. tags:
  13105. - 企业风险管理(app)
  13106. /Ermcp/QryReportDayExposure:
  13107. get:
  13108. parameters:
  13109. - description: 用户ID
  13110. in: query
  13111. name: userid
  13112. required: true
  13113. type: integer
  13114. - description: 交易日(格式:yyyyMMdd)
  13115. in: query
  13116. name: tradedate
  13117. required: true
  13118. type: string
  13119. produces:
  13120. - application/json
  13121. responses:
  13122. "200":
  13123. description: OK
  13124. schema:
  13125. items:
  13126. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  13127. type: array
  13128. "500":
  13129. description: Internal Server Error
  13130. schema:
  13131. $ref: '#/definitions/app.Response'
  13132. security:
  13133. - ApiKeyAuth: []
  13134. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  13135. tags:
  13136. - 企业风险管理(app)
  13137. /Ermcp/QryReportDayFinance:
  13138. get:
  13139. parameters:
  13140. - description: 用户ID
  13141. in: query
  13142. name: userid
  13143. required: true
  13144. type: integer
  13145. - description: 交易日(格式:yyyyMMdd)
  13146. in: query
  13147. name: tradedate
  13148. required: true
  13149. type: string
  13150. produces:
  13151. - application/json
  13152. responses:
  13153. "200":
  13154. description: OK
  13155. schema:
  13156. items:
  13157. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  13158. type: array
  13159. "500":
  13160. description: Internal Server Error
  13161. schema:
  13162. $ref: '#/definitions/app.Response'
  13163. security:
  13164. - ApiKeyAuth: []
  13165. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  13166. tags:
  13167. - 企业风险管理(app)
  13168. /Ermcp/QryReportDayFinanceFp:
  13169. get:
  13170. parameters:
  13171. - description: 用户ID
  13172. in: query
  13173. name: userid
  13174. required: true
  13175. type: integer
  13176. - description: 交易日(格式:yyyyMMdd)
  13177. in: query
  13178. name: tradedate
  13179. required: true
  13180. type: string
  13181. produces:
  13182. - application/json
  13183. responses:
  13184. "200":
  13185. description: OK
  13186. schema:
  13187. items:
  13188. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  13189. type: array
  13190. "500":
  13191. description: Internal Server Error
  13192. schema:
  13193. $ref: '#/definitions/app.Response'
  13194. security:
  13195. - ApiKeyAuth: []
  13196. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  13197. tags:
  13198. - 企业风险管理(app)
  13199. /Ermcp/QryReportDayFinanceKx:
  13200. get:
  13201. parameters:
  13202. - description: 用户ID
  13203. in: query
  13204. name: userid
  13205. required: true
  13206. type: integer
  13207. - description: 交易日(格式:yyyyMMdd)
  13208. in: query
  13209. name: tradedate
  13210. required: true
  13211. type: string
  13212. produces:
  13213. - application/json
  13214. responses:
  13215. "200":
  13216. description: OK
  13217. schema:
  13218. items:
  13219. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  13220. type: array
  13221. "500":
  13222. description: Internal Server Error
  13223. schema:
  13224. $ref: '#/definitions/app.Response'
  13225. security:
  13226. - ApiKeyAuth: []
  13227. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  13228. tags:
  13229. - 企业风险管理(app)
  13230. /Ermcp/QryReportDaySpot:
  13231. get:
  13232. parameters:
  13233. - description: 用户ID
  13234. in: query
  13235. name: userid
  13236. required: true
  13237. type: integer
  13238. - description: 交易日(格式:yyyyMMdd)
  13239. in: query
  13240. name: tradedate
  13241. required: true
  13242. type: string
  13243. produces:
  13244. - application/json
  13245. responses:
  13246. "200":
  13247. description: OK
  13248. schema:
  13249. items:
  13250. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  13251. type: array
  13252. "500":
  13253. description: Internal Server Error
  13254. schema:
  13255. $ref: '#/definitions/app.Response'
  13256. security:
  13257. - ApiKeyAuth: []
  13258. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  13259. tags:
  13260. - 企业风险管理(app)
  13261. /Ermcp/QryReportDaySpotDetail:
  13262. get:
  13263. parameters:
  13264. - description: 用户ID
  13265. in: query
  13266. name: userid
  13267. required: true
  13268. type: integer
  13269. - description: 现货商品id
  13270. in: query
  13271. name: wrstandardid
  13272. required: true
  13273. type: integer
  13274. - description: 交易日(格式:yyyyMMdd)
  13275. in: query
  13276. name: tradedate
  13277. required: true
  13278. type: string
  13279. produces:
  13280. - application/json
  13281. responses:
  13282. "200":
  13283. description: OK
  13284. schema:
  13285. items:
  13286. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  13287. type: array
  13288. "500":
  13289. description: Internal Server Error
  13290. schema:
  13291. $ref: '#/definitions/app.Response'
  13292. security:
  13293. - ApiKeyAuth: []
  13294. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  13295. tags:
  13296. - 企业风险管理(app)
  13297. /Ermcp/QryReportMonthFinance:
  13298. get:
  13299. parameters:
  13300. - description: 用户ID
  13301. in: query
  13302. name: userid
  13303. required: true
  13304. type: integer
  13305. - description: 周期时间:月(格式:yyyyMM)
  13306. in: query
  13307. name: cycletime
  13308. required: true
  13309. type: string
  13310. produces:
  13311. - application/json
  13312. responses:
  13313. "200":
  13314. description: OK
  13315. schema:
  13316. items:
  13317. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  13318. type: array
  13319. "500":
  13320. description: Internal Server Error
  13321. schema:
  13322. $ref: '#/definitions/app.Response'
  13323. security:
  13324. - ApiKeyAuth: []
  13325. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  13326. tags:
  13327. - 企业风险管理(app)
  13328. /Ermcp/QryReportMonthSpot:
  13329. get:
  13330. parameters:
  13331. - description: 用户ID
  13332. in: query
  13333. name: userid
  13334. required: true
  13335. type: integer
  13336. - description: 周期时间:月(格式:yyyyMM)
  13337. in: query
  13338. name: cycletime
  13339. required: true
  13340. type: string
  13341. produces:
  13342. - application/json
  13343. responses:
  13344. "200":
  13345. description: OK
  13346. schema:
  13347. items:
  13348. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  13349. type: array
  13350. "500":
  13351. description: Internal Server Error
  13352. schema:
  13353. $ref: '#/definitions/app.Response'
  13354. security:
  13355. - ApiKeyAuth: []
  13356. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  13357. tags:
  13358. - 企业风险管理(app)
  13359. /Ermcp/QryReportMonthSpotDetail:
  13360. get:
  13361. parameters:
  13362. - description: 用户ID
  13363. in: query
  13364. name: userid
  13365. required: true
  13366. type: integer
  13367. - description: 现货商品id
  13368. in: query
  13369. name: wrstandardid
  13370. required: true
  13371. type: integer
  13372. - description: 周期时间:月(格式:yyyyMM)
  13373. in: query
  13374. name: cycletime
  13375. required: true
  13376. type: string
  13377. produces:
  13378. - application/json
  13379. responses:
  13380. "200":
  13381. description: OK
  13382. schema:
  13383. items:
  13384. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  13385. type: array
  13386. "500":
  13387. description: Internal Server Error
  13388. schema:
  13389. $ref: '#/definitions/app.Response'
  13390. security:
  13391. - ApiKeyAuth: []
  13392. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  13393. tags:
  13394. - 企业风险管理(app)
  13395. /Ermcp/QueryAccMgrBizGroupSet:
  13396. get:
  13397. parameters:
  13398. - description: 用户ID
  13399. in: query
  13400. name: userid
  13401. required: true
  13402. type: integer
  13403. produces:
  13404. - application/json
  13405. responses:
  13406. "200":
  13407. description: OK
  13408. schema:
  13409. items:
  13410. $ref: '#/definitions/models.ErmcpBizGroupEx'
  13411. type: array
  13412. "500":
  13413. description: Internal Server Error
  13414. schema:
  13415. $ref: '#/definitions/app.Response'
  13416. security:
  13417. - ApiKeyAuth: []
  13418. summary: 查询业务类型分组(账户管理/账户设置)
  13419. tags:
  13420. - 企业风险管理(app)
  13421. /Ermcp/QueryAccMgrLoginUser:
  13422. get:
  13423. parameters:
  13424. - description: 用户ID
  13425. in: query
  13426. name: userid
  13427. required: true
  13428. type: integer
  13429. produces:
  13430. - application/json
  13431. responses:
  13432. "200":
  13433. description: OK
  13434. schema:
  13435. items:
  13436. $ref: '#/definitions/models.ErmcpLoginUserEx'
  13437. type: array
  13438. "500":
  13439. description: Internal Server Error
  13440. schema:
  13441. $ref: '#/definitions/app.Response'
  13442. security:
  13443. - ApiKeyAuth: []
  13444. summary: 查询账户管理登录账号(账户管理/登录账号)
  13445. tags:
  13446. - 企业风险管理(app)
  13447. /Ermcp/QueryAccMgrMainAccountInfo:
  13448. get:
  13449. parameters:
  13450. - description: 用户ID
  13451. in: query
  13452. name: userid
  13453. type: integer
  13454. - description: 主账号id
  13455. in: query
  13456. name: accountid
  13457. type: integer
  13458. produces:
  13459. - application/json
  13460. responses:
  13461. "200":
  13462. description: OK
  13463. schema:
  13464. items:
  13465. $ref: '#/definitions/models.MainAccountInfo'
  13466. type: array
  13467. "500":
  13468. description: Internal Server Error
  13469. schema:
  13470. $ref: '#/definitions/app.Response'
  13471. security:
  13472. - ApiKeyAuth: []
  13473. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  13474. tags:
  13475. - 企业风险管理(app)
  13476. /Ermcp/QueryAccMgrRole:
  13477. get:
  13478. parameters:
  13479. - description: 用户ID
  13480. in: query
  13481. name: userid
  13482. required: true
  13483. type: integer
  13484. produces:
  13485. - application/json
  13486. responses:
  13487. "200":
  13488. description: OK
  13489. schema:
  13490. items:
  13491. $ref: '#/definitions/models.ErmcpRole'
  13492. type: array
  13493. "500":
  13494. description: Internal Server Error
  13495. schema:
  13496. $ref: '#/definitions/app.Response'
  13497. security:
  13498. - ApiKeyAuth: []
  13499. summary: 查询账户管理角色设置(账户管理/角色设置)
  13500. tags:
  13501. - 企业风险管理(app)
  13502. /Ermcp/QueryAccMgrRoleMenu:
  13503. get:
  13504. parameters:
  13505. - description: 用户ID
  13506. in: query
  13507. name: userid
  13508. required: true
  13509. type: integer
  13510. - description: 角色id(可多个,逗号隔开)
  13511. in: query
  13512. name: roleid
  13513. type: string
  13514. produces:
  13515. - application/json
  13516. responses:
  13517. "200":
  13518. description: OK
  13519. schema:
  13520. items:
  13521. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  13522. type: array
  13523. "500":
  13524. description: Internal Server Error
  13525. schema:
  13526. $ref: '#/definitions/app.Response'
  13527. security:
  13528. - ApiKeyAuth: []
  13529. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  13530. tags:
  13531. - 企业风险管理(app)
  13532. /Ermcp/QueryAccMgrTaAccountInfo:
  13533. get:
  13534. parameters:
  13535. - description: 用户ID
  13536. in: query
  13537. name: userid
  13538. required: true
  13539. type: integer
  13540. - description: 账号id
  13541. in: query
  13542. name: accountid
  13543. type: integer
  13544. produces:
  13545. - application/json
  13546. responses:
  13547. "200":
  13548. description: OK
  13549. schema:
  13550. items:
  13551. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  13552. type: array
  13553. "500":
  13554. description: Internal Server Error
  13555. schema:
  13556. $ref: '#/definitions/app.Response'
  13557. security:
  13558. - ApiKeyAuth: []
  13559. summary: 查询账户管理授信(账户管理/账户设置/授信)
  13560. tags:
  13561. - 企业风险管理(app)
  13562. /Ermcp/QueryAccMgrTaaccount:
  13563. get:
  13564. parameters:
  13565. - description: 用户ID
  13566. in: query
  13567. name: userid
  13568. required: true
  13569. type: integer
  13570. produces:
  13571. - application/json
  13572. responses:
  13573. "200":
  13574. description: OK
  13575. schema:
  13576. items:
  13577. $ref: '#/definitions/models.ErmcpTaAccountEx'
  13578. type: array
  13579. "500":
  13580. description: Internal Server Error
  13581. schema:
  13582. $ref: '#/definitions/app.Response'
  13583. security:
  13584. - ApiKeyAuth: []
  13585. summary: 查询账户管理期货账号(账户管理/期货账号)
  13586. tags:
  13587. - 企业风险管理(app)
  13588. /Ermcp/QueryAreaStock:
  13589. get:
  13590. parameters:
  13591. - description: 用户ID
  13592. in: query
  13593. name: userid
  13594. required: true
  13595. type: integer
  13596. produces:
  13597. - application/json
  13598. responses:
  13599. "200":
  13600. description: OK
  13601. schema:
  13602. items:
  13603. $ref: '#/definitions/models.ErmcpAreaStock'
  13604. type: array
  13605. "500":
  13606. description: Internal Server Error
  13607. schema:
  13608. $ref: '#/definitions/app.Response'
  13609. security:
  13610. - ApiKeyAuth: []
  13611. summary: 查询机构库存(库存管理/当前库存)
  13612. tags:
  13613. - 企业风险管理(app)
  13614. /Ermcp/QueryAreaStockApply:
  13615. get:
  13616. parameters:
  13617. - description: 用户ID
  13618. in: query
  13619. name: userid
  13620. required: true
  13621. type: integer
  13622. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  13623. in: query
  13624. name: inouttype
  13625. type: string
  13626. - description: 合同ID
  13627. in: query
  13628. name: spotcontractid
  13629. type: integer
  13630. - description: 现货商品ID
  13631. in: query
  13632. name: wrstandardid
  13633. type: integer
  13634. - description: 品牌ID
  13635. in: query
  13636. name: spotgoodsbrandid
  13637. type: integer
  13638. - description: 型号ID
  13639. in: query
  13640. name: spotgoodsmodelid
  13641. type: integer
  13642. - description: 仓库ID
  13643. in: query
  13644. name: warehouseinfoid
  13645. type: integer
  13646. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13647. in: query
  13648. name: applystatus
  13649. type: string
  13650. produces:
  13651. - application/json
  13652. responses:
  13653. "200":
  13654. description: OK
  13655. schema:
  13656. items:
  13657. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  13658. type: array
  13659. "500":
  13660. description: Internal Server Error
  13661. schema:
  13662. $ref: '#/definitions/app.Response'
  13663. security:
  13664. - ApiKeyAuth: []
  13665. summary: 查询库存申请(出入库记录|库存审核)
  13666. tags:
  13667. - 企业风险管理(app)
  13668. /Ermcp/QueryAreaStockApplySum:
  13669. get:
  13670. parameters:
  13671. - description: 合同ID
  13672. in: query
  13673. name: spotcontractid
  13674. type: integer
  13675. produces:
  13676. - application/json
  13677. responses:
  13678. "200":
  13679. description: OK
  13680. schema:
  13681. items:
  13682. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  13683. type: array
  13684. "500":
  13685. description: Internal Server Error
  13686. schema:
  13687. $ref: '#/definitions/app.Response'
  13688. security:
  13689. - ApiKeyAuth: []
  13690. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13691. tags:
  13692. - 企业风险管理(app)
  13693. /Ermcp/QueryAreaStockReport:
  13694. get:
  13695. parameters:
  13696. - description: 用户ID
  13697. in: query
  13698. name: userid
  13699. required: true
  13700. type: integer
  13701. - description: 查询类型 1-日报表 2-月报表
  13702. in: query
  13703. name: querytype
  13704. required: true
  13705. type: integer
  13706. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13707. in: query
  13708. name: querydate
  13709. required: true
  13710. type: string
  13711. - description: 现货商品ID
  13712. in: query
  13713. name: wrstandardid
  13714. type: integer
  13715. - description: 品牌ID
  13716. in: query
  13717. name: spotgoodsbrandid
  13718. type: integer
  13719. - description: 型号ID
  13720. in: query
  13721. name: spotgoodsmodelid
  13722. type: integer
  13723. - description: 仓库ID
  13724. in: query
  13725. name: warehouseinfoid
  13726. type: integer
  13727. produces:
  13728. - application/json
  13729. responses:
  13730. "200":
  13731. description: OK
  13732. schema:
  13733. items:
  13734. $ref: '#/definitions/models.ErmcpAreaStockReport'
  13735. type: array
  13736. "500":
  13737. description: Internal Server Error
  13738. schema:
  13739. $ref: '#/definitions/app.Response'
  13740. security:
  13741. - ApiKeyAuth: []
  13742. summary: 查询库存报表
  13743. tags:
  13744. - 企业风险管理(app)
  13745. /Ermcp/QueryAreaStockReportDetail:
  13746. get:
  13747. parameters:
  13748. - description: 用户ID
  13749. in: query
  13750. name: userid
  13751. required: true
  13752. type: integer
  13753. - description: 查询类型 1-日报表明细 2-月报表明细
  13754. in: query
  13755. name: querytype
  13756. required: true
  13757. type: integer
  13758. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  13759. in: query
  13760. name: detailtype
  13761. required: true
  13762. type: integer
  13763. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13764. in: query
  13765. name: querydate
  13766. required: true
  13767. type: string
  13768. - description: 现货商品ID
  13769. in: query
  13770. name: wrstandardid
  13771. type: integer
  13772. - description: 品牌ID
  13773. in: query
  13774. name: spotgoodsbrandid
  13775. type: integer
  13776. - description: 型号ID
  13777. in: query
  13778. name: spotgoodsmodelid
  13779. type: integer
  13780. - description: 仓库ID
  13781. in: query
  13782. name: warehouseinfoid
  13783. type: integer
  13784. produces:
  13785. - application/json
  13786. responses:
  13787. "200":
  13788. description: OK
  13789. schema:
  13790. items:
  13791. $ref: '#/definitions/models.ErmcpAreaStockApply'
  13792. type: array
  13793. "500":
  13794. description: Internal Server Error
  13795. schema:
  13796. $ref: '#/definitions/app.Response'
  13797. security:
  13798. - ApiKeyAuth: []
  13799. summary: 查询库存报表明细
  13800. tags:
  13801. - 企业风险管理(app)
  13802. /Ermcp/QueryAvaildGoodsGroup:
  13803. get:
  13804. parameters:
  13805. - description: 所属机构ID
  13806. in: query
  13807. name: userid
  13808. required: true
  13809. type: integer
  13810. produces:
  13811. - application/json
  13812. responses:
  13813. "200":
  13814. description: OK
  13815. schema:
  13816. items:
  13817. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  13818. type: array
  13819. "500":
  13820. description: Internal Server Error
  13821. schema:
  13822. $ref: '#/definitions/app.Response'
  13823. security:
  13824. - ApiKeyAuth: []
  13825. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13826. tags:
  13827. - 企业风险管理(app)
  13828. /Ermcp/QueryBusinessDj:
  13829. get:
  13830. parameters:
  13831. - description: 用户ID
  13832. in: query
  13833. name: UserId
  13834. required: true
  13835. type: integer
  13836. - description: 现货合同ID, 不填则查所有
  13837. in: query
  13838. name: relatedid
  13839. type: string
  13840. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13841. in: query
  13842. name: applystatus
  13843. type: string
  13844. produces:
  13845. - application/json
  13846. responses:
  13847. "200":
  13848. description: OK
  13849. schema:
  13850. items:
  13851. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13852. type: array
  13853. "500":
  13854. description: Internal Server Error
  13855. schema:
  13856. $ref: '#/definitions/app.Response'
  13857. security:
  13858. - ApiKeyAuth: []
  13859. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  13860. tags:
  13861. - 企业风险管理(app)
  13862. /Ermcp/QueryBusinessFp:
  13863. get:
  13864. parameters:
  13865. - description: 用户ID
  13866. in: query
  13867. name: UserId
  13868. required: true
  13869. type: integer
  13870. - description: 现货合同ID, 不填则查所有
  13871. in: query
  13872. name: relatedid
  13873. type: string
  13874. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13875. in: query
  13876. name: applystatus
  13877. type: string
  13878. produces:
  13879. - application/json
  13880. responses:
  13881. "200":
  13882. description: OK
  13883. schema:
  13884. items:
  13885. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  13886. type: array
  13887. "500":
  13888. description: Internal Server Error
  13889. schema:
  13890. $ref: '#/definitions/app.Response'
  13891. security:
  13892. - ApiKeyAuth: []
  13893. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  13894. tags:
  13895. - 企业风险管理(app)
  13896. /Ermcp/QueryBusinessJs:
  13897. get:
  13898. parameters:
  13899. - description: 用户ID
  13900. in: query
  13901. name: UserId
  13902. required: true
  13903. type: integer
  13904. - description: 现货合同ID, 不填则查所有
  13905. in: query
  13906. name: relatedid
  13907. type: string
  13908. - description: 操作申请id
  13909. in: query
  13910. name: operateapplyid
  13911. type: string
  13912. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13913. in: query
  13914. name: applystatus
  13915. type: string
  13916. produces:
  13917. - application/json
  13918. responses:
  13919. "200":
  13920. description: OK
  13921. schema:
  13922. items:
  13923. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  13924. type: array
  13925. "500":
  13926. description: Internal Server Error
  13927. schema:
  13928. $ref: '#/definitions/app.Response'
  13929. security:
  13930. - ApiKeyAuth: []
  13931. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  13932. tags:
  13933. - 企业风险管理(app)
  13934. /Ermcp/QueryBusinessJsEx:
  13935. get:
  13936. parameters:
  13937. - description: 用户ID
  13938. in: query
  13939. name: UserId
  13940. required: true
  13941. type: integer
  13942. - description: 现货合同ID, 不填则查所有
  13943. in: query
  13944. name: relatedid
  13945. type: string
  13946. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13947. in: query
  13948. name: applystatus
  13949. type: string
  13950. produces:
  13951. - application/json
  13952. responses:
  13953. "200":
  13954. description: OK
  13955. schema:
  13956. items:
  13957. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  13958. type: array
  13959. "500":
  13960. description: Internal Server Error
  13961. schema:
  13962. $ref: '#/definitions/app.Response'
  13963. security:
  13964. - ApiKeyAuth: []
  13965. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  13966. tags:
  13967. - 企业风险管理(app)
  13968. /Ermcp/QueryBusinessKx:
  13969. get:
  13970. parameters:
  13971. - description: 用户ID
  13972. in: query
  13973. name: UserId
  13974. required: true
  13975. type: integer
  13976. - description: 现货合同ID, 不填则查所有
  13977. in: query
  13978. name: relatedid
  13979. type: string
  13980. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13981. in: query
  13982. name: applystatus
  13983. type: string
  13984. produces:
  13985. - application/json
  13986. responses:
  13987. "200":
  13988. description: OK
  13989. schema:
  13990. items:
  13991. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  13992. type: array
  13993. "500":
  13994. description: Internal Server Error
  13995. schema:
  13996. $ref: '#/definitions/app.Response'
  13997. security:
  13998. - ApiKeyAuth: []
  13999. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  14000. tags:
  14001. - 企业风险管理(app)
  14002. /Ermcp/QueryChangeLog:
  14003. get:
  14004. parameters:
  14005. - description: 合同ID
  14006. in: query
  14007. name: RelatedId
  14008. required: true
  14009. type: string
  14010. produces:
  14011. - application/json
  14012. responses:
  14013. "200":
  14014. description: OK
  14015. schema:
  14016. items:
  14017. $ref: '#/definitions/ermcp.QryOPLogRsp'
  14018. type: array
  14019. "500":
  14020. description: Internal Server Error
  14021. schema:
  14022. $ref: '#/definitions/app.Response'
  14023. security:
  14024. - ApiKeyAuth: []
  14025. summary: 查询变更记录
  14026. tags:
  14027. - 企业风险管理(app)
  14028. /Ermcp/QueryContract:
  14029. get:
  14030. parameters:
  14031. - description: 用户ID
  14032. in: query
  14033. name: userId
  14034. required: true
  14035. type: integer
  14036. - description: 合同类型 1-采购, -1-销售
  14037. in: query
  14038. name: contracttype
  14039. required: true
  14040. type: integer
  14041. - description: 查询类型 1-全部 2-待点价 3-履约结算
  14042. in: query
  14043. name: querytype
  14044. required: true
  14045. type: integer
  14046. - description: 合同ID(SpotContractId)
  14047. in: query
  14048. name: contractid
  14049. type: string
  14050. produces:
  14051. - application/json
  14052. responses:
  14053. "200":
  14054. description: OK
  14055. schema:
  14056. items:
  14057. $ref: '#/definitions/ermcp.QryErmcpRsp'
  14058. type: array
  14059. "500":
  14060. description: Internal Server Error
  14061. schema:
  14062. $ref: '#/definitions/app.Response'
  14063. security:
  14064. - ApiKeyAuth: []
  14065. summary: 查询合同(采购和销售)
  14066. tags:
  14067. - 企业风险管理(app)
  14068. /Ermcp/QueryErmcpHisOrderDetails:
  14069. get:
  14070. parameters:
  14071. - description: 资金账户ID
  14072. in: query
  14073. name: accountID
  14074. required: true
  14075. type: integer
  14076. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14077. in: query
  14078. name: startDate
  14079. type: string
  14080. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14081. in: query
  14082. name: endDate
  14083. type: string
  14084. produces:
  14085. - application/json
  14086. responses:
  14087. "200":
  14088. description: OK
  14089. schema:
  14090. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14091. "500":
  14092. description: Internal Server Error
  14093. schema:
  14094. $ref: '#/definitions/app.Response'
  14095. security:
  14096. - ApiKeyAuth: []
  14097. summary: 获取企业风管期货历史委托单信息
  14098. tags:
  14099. - 企业风险管理(app)
  14100. /Ermcp/QueryErmcpHisTradeDetails:
  14101. get:
  14102. parameters:
  14103. - description: 资金账户ID
  14104. in: query
  14105. name: accountID
  14106. required: true
  14107. type: integer
  14108. - description: 商品ID
  14109. in: query
  14110. name: goodsID
  14111. type: integer
  14112. - description: 买卖方向,0:买 1:卖
  14113. in: query
  14114. name: buyOrSell
  14115. type: integer
  14116. - description: 关联委托单号
  14117. in: query
  14118. name: orderID
  14119. type: integer
  14120. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14121. in: query
  14122. name: startDate
  14123. type: string
  14124. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14125. in: query
  14126. name: endDate
  14127. type: string
  14128. produces:
  14129. - application/json
  14130. responses:
  14131. "200":
  14132. description: OK
  14133. schema:
  14134. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14135. "500":
  14136. description: Internal Server Error
  14137. schema:
  14138. $ref: '#/definitions/app.Response'
  14139. security:
  14140. - ApiKeyAuth: []
  14141. summary: 获取企业风管期货历史成交单信息
  14142. tags:
  14143. - 企业风险管理(app)
  14144. /Ermcp/QueryErmcpInnerHolderDetails:
  14145. get:
  14146. parameters:
  14147. - description: 资金账户ID
  14148. in: query
  14149. name: accountID
  14150. required: true
  14151. type: integer
  14152. - description: 商品ID
  14153. in: query
  14154. name: goodsID
  14155. type: integer
  14156. - description: 买卖方向,0:买 1:卖
  14157. in: query
  14158. name: buyOrSell
  14159. type: integer
  14160. produces:
  14161. - application/json
  14162. responses:
  14163. "200":
  14164. description: OK
  14165. schema:
  14166. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  14167. "500":
  14168. description: Internal Server Error
  14169. schema:
  14170. $ref: '#/definitions/app.Response'
  14171. security:
  14172. - ApiKeyAuth: []
  14173. summary: 获取企业风管期货内部持仓单信息
  14174. tags:
  14175. - 企业风险管理(app)
  14176. /Ermcp/QueryErmcpOrderDetails:
  14177. get:
  14178. parameters:
  14179. - description: 资金账户ID
  14180. in: query
  14181. name: accountID
  14182. required: true
  14183. type: integer
  14184. produces:
  14185. - application/json
  14186. responses:
  14187. "200":
  14188. description: OK
  14189. schema:
  14190. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14191. "500":
  14192. description: Internal Server Error
  14193. schema:
  14194. $ref: '#/definitions/app.Response'
  14195. security:
  14196. - ApiKeyAuth: []
  14197. summary: 获取企业风管期货委托单信息
  14198. tags:
  14199. - 企业风险管理(app)
  14200. /Ermcp/QueryErmcpTradeDetails:
  14201. get:
  14202. parameters:
  14203. - description: 资金账户ID
  14204. in: query
  14205. name: accountID
  14206. required: true
  14207. type: integer
  14208. - description: 商品ID
  14209. in: query
  14210. name: goodsID
  14211. type: integer
  14212. - description: 买卖方向,0:买 1:卖
  14213. in: query
  14214. name: buyOrSell
  14215. type: integer
  14216. - description: 关联委托单号
  14217. in: query
  14218. name: orderID
  14219. type: integer
  14220. produces:
  14221. - application/json
  14222. responses:
  14223. "200":
  14224. description: OK
  14225. schema:
  14226. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14227. "500":
  14228. description: Internal Server Error
  14229. schema:
  14230. $ref: '#/definitions/app.Response'
  14231. security:
  14232. - ApiKeyAuth: []
  14233. summary: 获取企业风管期货成交单信息
  14234. tags:
  14235. - 企业风险管理(app)
  14236. /Ermcp/QueryErmcpTradePosition:
  14237. get:
  14238. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  14239. parameters:
  14240. - description: 资金账户ID
  14241. in: query
  14242. name: accountID
  14243. required: true
  14244. type: integer
  14245. - description: 所属市场ID
  14246. in: query
  14247. name: marketID
  14248. type: integer
  14249. produces:
  14250. - application/json
  14251. responses:
  14252. "200":
  14253. description: OK
  14254. schema:
  14255. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  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/QueryExposureDetail:
  14266. get:
  14267. parameters:
  14268. - description: 所属机构ID
  14269. in: query
  14270. name: areaUserId
  14271. required: true
  14272. type: integer
  14273. - description: 套保商品
  14274. in: query
  14275. name: middleGoodsId
  14276. required: true
  14277. type: integer
  14278. produces:
  14279. - application/json
  14280. responses:
  14281. "200":
  14282. description: OK
  14283. schema:
  14284. items:
  14285. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  14286. type: array
  14287. "500":
  14288. description: Internal Server Error
  14289. schema:
  14290. $ref: '#/definitions/app.Response'
  14291. security:
  14292. - ApiKeyAuth: []
  14293. summary: 查询敞口现货明细
  14294. tags:
  14295. - 企业风险管理(app)
  14296. /Ermcp/QueryExposureHedgePosition:
  14297. get:
  14298. parameters:
  14299. - description: 所属机构ID
  14300. in: query
  14301. name: areaUserId
  14302. required: true
  14303. type: integer
  14304. produces:
  14305. - application/json
  14306. responses:
  14307. "200":
  14308. description: OK
  14309. schema:
  14310. items:
  14311. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  14312. type: array
  14313. "500":
  14314. description: Internal Server Error
  14315. schema:
  14316. $ref: '#/definitions/app.Response'
  14317. security:
  14318. - ApiKeyAuth: []
  14319. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  14320. tags:
  14321. - 企业风险管理(app)
  14322. /Ermcp/QueryExposureHedgePositionDetail:
  14323. get:
  14324. parameters:
  14325. - description: 所属机构ID
  14326. in: query
  14327. name: areaUserId
  14328. required: true
  14329. type: integer
  14330. - description: 商品id
  14331. in: query
  14332. name: goodsId
  14333. required: true
  14334. type: integer
  14335. produces:
  14336. - application/json
  14337. responses:
  14338. "200":
  14339. description: OK
  14340. schema:
  14341. items:
  14342. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  14343. type: array
  14344. "500":
  14345. description: Internal Server Error
  14346. schema:
  14347. $ref: '#/definitions/app.Response'
  14348. security:
  14349. - ApiKeyAuth: []
  14350. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  14351. tags:
  14352. - 企业风险管理(app)
  14353. /Ermcp/QueryExposureSpot:
  14354. get:
  14355. parameters:
  14356. - description: 所属机构ID
  14357. in: query
  14358. name: areaUserId
  14359. required: true
  14360. type: integer
  14361. produces:
  14362. - application/json
  14363. responses:
  14364. "200":
  14365. description: OK
  14366. schema:
  14367. items:
  14368. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  14369. type: array
  14370. "500":
  14371. description: Internal Server Error
  14372. schema:
  14373. $ref: '#/definitions/app.Response'
  14374. security:
  14375. - ApiKeyAuth: []
  14376. summary: 查询敞口现货头寸(敞口/现货头寸)
  14377. tags:
  14378. - 企业风险管理(app)
  14379. /Ermcp/QueryExposureSpotDetail:
  14380. get:
  14381. parameters:
  14382. - description: 所属机构ID
  14383. in: query
  14384. name: areaUserId
  14385. required: true
  14386. type: integer
  14387. - description: 现货品种ID
  14388. in: query
  14389. name: wrstandardId
  14390. required: true
  14391. type: integer
  14392. produces:
  14393. - application/json
  14394. responses:
  14395. "200":
  14396. description: OK
  14397. schema:
  14398. items:
  14399. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  14400. type: array
  14401. "500":
  14402. description: Internal Server Error
  14403. schema:
  14404. $ref: '#/definitions/app.Response'
  14405. security:
  14406. - ApiKeyAuth: []
  14407. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14408. tags:
  14409. - 企业风险管理(app)
  14410. /Ermcp/QueryFuturesCompany:
  14411. get:
  14412. produces:
  14413. - application/json
  14414. responses:
  14415. "200":
  14416. description: OK
  14417. schema:
  14418. items:
  14419. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14420. type: array
  14421. "500":
  14422. description: Internal Server Error
  14423. schema:
  14424. $ref: '#/definitions/app.Response'
  14425. security:
  14426. - ApiKeyAuth: []
  14427. summary: 查询期货公司
  14428. tags:
  14429. - 企业风险管理(app)
  14430. /Ermcp/QueryGGConvertConfig:
  14431. get:
  14432. parameters:
  14433. - description: 品种id(不填则查所有)
  14434. in: query
  14435. name: goodsgroupid
  14436. type: integer
  14437. produces:
  14438. - application/json
  14439. responses:
  14440. "200":
  14441. description: OK
  14442. schema:
  14443. items:
  14444. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  14445. type: array
  14446. "500":
  14447. description: Internal Server Error
  14448. schema:
  14449. $ref: '#/definitions/app.Response'
  14450. security:
  14451. - ApiKeyAuth: []
  14452. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  14453. tags:
  14454. - 企业风险管理(app)
  14455. /Ermcp/QueryGoodsBrand:
  14456. get:
  14457. parameters:
  14458. - description: 用户ID
  14459. in: query
  14460. name: userid
  14461. required: true
  14462. type: integer
  14463. - description: 现货商品ID
  14464. in: query
  14465. name: wrstandardid
  14466. type: integer
  14467. produces:
  14468. - application/json
  14469. responses:
  14470. "200":
  14471. description: OK
  14472. schema:
  14473. items:
  14474. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14475. type: array
  14476. "500":
  14477. description: Internal Server Error
  14478. schema:
  14479. $ref: '#/definitions/app.Response'
  14480. security:
  14481. - ApiKeyAuth: []
  14482. summary: 查询商品品牌
  14483. tags:
  14484. - 企业风险管理(app)
  14485. /Ermcp/QueryGoodsModel:
  14486. get:
  14487. parameters:
  14488. - description: 用户ID
  14489. in: query
  14490. name: userid
  14491. required: true
  14492. type: integer
  14493. produces:
  14494. - application/json
  14495. responses:
  14496. "200":
  14497. description: OK
  14498. schema:
  14499. items:
  14500. $ref: '#/definitions/models.ErmcpGoodsModel'
  14501. type: array
  14502. "500":
  14503. description: Internal Server Error
  14504. schema:
  14505. $ref: '#/definitions/app.Response'
  14506. security:
  14507. - ApiKeyAuth: []
  14508. summary: 查询商品型号
  14509. tags:
  14510. - 企业风险管理(app)
  14511. /Ermcp/QueryHedgePlan:
  14512. get:
  14513. parameters:
  14514. - description: 用户ID
  14515. in: query
  14516. name: userId
  14517. required: true
  14518. type: integer
  14519. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14520. in: query
  14521. name: HedgePlanStatus
  14522. required: true
  14523. type: string
  14524. produces:
  14525. - application/json
  14526. responses:
  14527. "200":
  14528. description: OK
  14529. schema:
  14530. items:
  14531. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  14532. type: array
  14533. "500":
  14534. description: Internal Server Error
  14535. schema:
  14536. $ref: '#/definitions/app.Response'
  14537. security:
  14538. - ApiKeyAuth: []
  14539. summary: 查询套保计划
  14540. tags:
  14541. - 企业风险管理(app)
  14542. /Ermcp/QueryHisExposure:
  14543. get:
  14544. parameters:
  14545. - description: 所属机构ID
  14546. in: query
  14547. name: areaUserId
  14548. required: true
  14549. type: integer
  14550. - description: 每个品种记录数
  14551. in: query
  14552. name: lastNum
  14553. required: true
  14554. type: integer
  14555. produces:
  14556. - application/json
  14557. responses:
  14558. "200":
  14559. description: OK
  14560. schema:
  14561. items:
  14562. $ref: '#/definitions/ermcp.HisExposureRsp'
  14563. type: array
  14564. "500":
  14565. description: Internal Server Error
  14566. schema:
  14567. $ref: '#/definitions/app.Response'
  14568. security:
  14569. - ApiKeyAuth: []
  14570. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14571. tags:
  14572. - 企业风险管理(app)
  14573. /Ermcp/QueryMiddleGoods:
  14574. get:
  14575. parameters:
  14576. - description: 所属机构ID
  14577. in: query
  14578. name: userid
  14579. required: true
  14580. type: integer
  14581. - description: 状态 0-停用 1-正常
  14582. in: query
  14583. name: status
  14584. required: true
  14585. type: integer
  14586. produces:
  14587. - application/json
  14588. responses:
  14589. "200":
  14590. description: OK
  14591. schema:
  14592. items:
  14593. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14594. type: array
  14595. "500":
  14596. description: Internal Server Error
  14597. schema:
  14598. $ref: '#/definitions/app.Response'
  14599. security:
  14600. - ApiKeyAuth: []
  14601. summary: 查询套保品种(菜单:套保品种)
  14602. tags:
  14603. - 企业风险管理(app)
  14604. /Ermcp/QueryMiddleGoodsChangeLog:
  14605. get:
  14606. parameters:
  14607. - description: 所属机构ID
  14608. in: query
  14609. name: userid
  14610. required: true
  14611. type: integer
  14612. - description: 套保品种id
  14613. in: query
  14614. name: middlegoodsid
  14615. required: true
  14616. type: integer
  14617. produces:
  14618. - application/json
  14619. responses:
  14620. "200":
  14621. description: OK
  14622. schema:
  14623. items:
  14624. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  14625. type: array
  14626. "500":
  14627. description: Internal Server Error
  14628. schema:
  14629. $ref: '#/definitions/app.Response'
  14630. security:
  14631. - ApiKeyAuth: []
  14632. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  14633. tags:
  14634. - 企业风险管理(app)
  14635. /Ermcp/QueryMiddleGoodsDetail:
  14636. get:
  14637. parameters:
  14638. - description: 所属机构ID
  14639. in: query
  14640. name: userid
  14641. required: true
  14642. type: integer
  14643. - description: 套保品种id
  14644. in: query
  14645. name: middlegoodsid
  14646. type: integer
  14647. produces:
  14648. - application/json
  14649. responses:
  14650. "200":
  14651. description: OK
  14652. schema:
  14653. items:
  14654. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  14655. type: array
  14656. "500":
  14657. description: Internal Server Error
  14658. schema:
  14659. $ref: '#/definitions/app.Response'
  14660. security:
  14661. - ApiKeyAuth: []
  14662. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  14663. tags:
  14664. - 企业风险管理(app)
  14665. /Ermcp/QueryPendingAuditInfo:
  14666. get:
  14667. parameters:
  14668. - description: 用户ID
  14669. in: query
  14670. name: UserId
  14671. required: true
  14672. type: integer
  14673. produces:
  14674. - application/json
  14675. responses:
  14676. "200":
  14677. description: OK
  14678. schema:
  14679. items:
  14680. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  14681. type: array
  14682. "500":
  14683. description: Internal Server Error
  14684. schema:
  14685. $ref: '#/definitions/app.Response'
  14686. security:
  14687. - ApiKeyAuth: []
  14688. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  14689. tags:
  14690. - 企业风险管理(app)
  14691. /Ermcp/QueryRealtimeExposure:
  14692. get:
  14693. parameters:
  14694. - description: 所属机构ID
  14695. in: query
  14696. name: AreaUserID
  14697. required: true
  14698. type: integer
  14699. produces:
  14700. - application/json
  14701. responses:
  14702. "200":
  14703. description: OK
  14704. schema:
  14705. items:
  14706. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14707. type: array
  14708. "500":
  14709. description: Internal Server Error
  14710. schema:
  14711. $ref: '#/definitions/app.Response'
  14712. security:
  14713. - ApiKeyAuth: []
  14714. summary: 查询实时敞口
  14715. tags:
  14716. - 企业风险管理(app)
  14717. /Ermcp/QueryRealtimeExposurePosition:
  14718. get:
  14719. parameters:
  14720. - description: 所属机构ID
  14721. in: query
  14722. name: areaUserId
  14723. required: true
  14724. type: integer
  14725. - description: 套保商品ID
  14726. in: query
  14727. name: middleGoodsId
  14728. required: true
  14729. type: integer
  14730. produces:
  14731. - application/json
  14732. responses:
  14733. "200":
  14734. description: OK
  14735. schema:
  14736. items:
  14737. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14738. type: array
  14739. "500":
  14740. description: Internal Server Error
  14741. schema:
  14742. $ref: '#/definitions/app.Response'
  14743. security:
  14744. - ApiKeyAuth: []
  14745. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14746. tags:
  14747. - 企业风险管理(app)
  14748. /Ermcp/QuerySpotContract:
  14749. get:
  14750. parameters:
  14751. - description: 用户ID
  14752. in: query
  14753. name: userId
  14754. required: true
  14755. type: integer
  14756. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14757. in: query
  14758. name: QueryType
  14759. required: true
  14760. type: integer
  14761. produces:
  14762. - application/json
  14763. responses:
  14764. "200":
  14765. description: OK
  14766. schema:
  14767. items:
  14768. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  14769. type: array
  14770. "500":
  14771. description: Internal Server Error
  14772. schema:
  14773. $ref: '#/definitions/app.Response'
  14774. security:
  14775. - ApiKeyAuth: []
  14776. summary: 查询现货合同(对应现货合同菜单)
  14777. tags:
  14778. - 企业风险管理(app)
  14779. /Ermcp/QuerySpotGoodsPrice:
  14780. get:
  14781. parameters:
  14782. - description: 用户ID
  14783. in: query
  14784. name: userid
  14785. required: true
  14786. type: integer
  14787. produces:
  14788. - application/json
  14789. responses:
  14790. "200":
  14791. description: OK
  14792. schema:
  14793. items:
  14794. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  14795. type: array
  14796. "500":
  14797. description: Internal Server Error
  14798. schema:
  14799. $ref: '#/definitions/app.Response'
  14800. security:
  14801. - ApiKeyAuth: []
  14802. summary: 查询现货市价(现货市价)
  14803. tags:
  14804. - 企业风险管理(app)
  14805. /Ermcp/QuerySpotGoodsPriceLog:
  14806. get:
  14807. parameters:
  14808. - description: 用户ID
  14809. in: query
  14810. name: userid
  14811. required: true
  14812. type: integer
  14813. - description: 现货商品ID
  14814. in: query
  14815. name: wrstandardid
  14816. required: true
  14817. type: integer
  14818. produces:
  14819. - application/json
  14820. responses:
  14821. "200":
  14822. description: OK
  14823. schema:
  14824. items:
  14825. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  14826. type: array
  14827. "500":
  14828. description: Internal Server Error
  14829. schema:
  14830. $ref: '#/definitions/app.Response'
  14831. security:
  14832. - ApiKeyAuth: []
  14833. summary: 查询现货市价详情(现货市价/详情)
  14834. tags:
  14835. - 企业风险管理(app)
  14836. /Ermcp/QueryTradeConfigTMP:
  14837. get:
  14838. parameters:
  14839. - description: 所属机构id
  14840. in: query
  14841. name: areauserid
  14842. type: integer
  14843. produces:
  14844. - application/json
  14845. responses:
  14846. "200":
  14847. description: OK
  14848. schema:
  14849. items:
  14850. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14851. type: array
  14852. "500":
  14853. description: Internal Server Error
  14854. schema:
  14855. $ref: '#/definitions/app.Response'
  14856. security:
  14857. - ApiKeyAuth: []
  14858. summary: 查询交易模板配置
  14859. tags:
  14860. - 企业风险管理(app)
  14861. /Ermcp/QueryUserInfo:
  14862. get:
  14863. parameters:
  14864. - description: 所属机构用户ID
  14865. in: query
  14866. name: MemberUserID
  14867. required: true
  14868. type: integer
  14869. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14870. in: query
  14871. name: queryType
  14872. required: true
  14873. type: integer
  14874. produces:
  14875. - application/json
  14876. responses:
  14877. "200":
  14878. description: OK
  14879. schema:
  14880. items:
  14881. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  14882. type: array
  14883. "500":
  14884. description: Internal Server Error
  14885. schema:
  14886. $ref: '#/definitions/app.Response'
  14887. security:
  14888. - ApiKeyAuth: []
  14889. summary: 查询客户资料
  14890. tags:
  14891. - 企业风险管理(app)
  14892. /Ermcp/QueryWarehouseInfo:
  14893. get:
  14894. parameters:
  14895. - description: 用户ID
  14896. in: query
  14897. name: userid
  14898. required: true
  14899. type: integer
  14900. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  14901. in: query
  14902. name: status
  14903. type: string
  14904. produces:
  14905. - application/json
  14906. responses:
  14907. "200":
  14908. description: OK
  14909. schema:
  14910. items:
  14911. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  14912. type: array
  14913. "500":
  14914. description: Internal Server Error
  14915. schema:
  14916. $ref: '#/definitions/app.Response'
  14917. security:
  14918. - ApiKeyAuth: []
  14919. summary: 查询仓库信息
  14920. tags:
  14921. - 企业风险管理(app)
  14922. /Ermcp/QueryWrStandard:
  14923. get:
  14924. parameters:
  14925. - description: 所属机构ID
  14926. in: query
  14927. name: userid
  14928. required: true
  14929. type: integer
  14930. - description: 状态 0-停用 1-正常
  14931. in: query
  14932. name: status
  14933. required: true
  14934. type: integer
  14935. produces:
  14936. - application/json
  14937. responses:
  14938. "200":
  14939. description: OK
  14940. schema:
  14941. items:
  14942. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  14943. type: array
  14944. "500":
  14945. description: Internal Server Error
  14946. schema:
  14947. $ref: '#/definitions/app.Response'
  14948. security:
  14949. - ApiKeyAuth: []
  14950. summary: 查询现货商品
  14951. tags:
  14952. - 企业风险管理(app)
  14953. /Ermcp/QueryWrStandardDetail:
  14954. get:
  14955. parameters:
  14956. - description: 所属机构ID
  14957. in: query
  14958. name: userid
  14959. required: true
  14960. type: integer
  14961. - description: 现货商品ID
  14962. in: query
  14963. name: wrstandardid
  14964. type: integer
  14965. - description: 可不填, 1-查询关联交易商品
  14966. in: query
  14967. name: goods
  14968. type: integer
  14969. produces:
  14970. - application/json
  14971. responses:
  14972. "200":
  14973. description: OK
  14974. schema:
  14975. items:
  14976. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  14977. type: array
  14978. "500":
  14979. description: Internal Server Error
  14980. schema:
  14981. $ref: '#/definitions/app.Response'
  14982. security:
  14983. - ApiKeyAuth: []
  14984. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  14985. tags:
  14986. - 企业风险管理(app)
  14987. /Ermcp3/QryReportAreaSpotPL:
  14988. get:
  14989. parameters:
  14990. - description: 用户ID
  14991. in: query
  14992. name: userid
  14993. required: true
  14994. type: integer
  14995. - description: 查询类型 1-日报表 2-月报表
  14996. in: query
  14997. name: querytype
  14998. required: true
  14999. type: integer
  15000. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15001. in: query
  15002. name: querydate
  15003. required: true
  15004. type: string
  15005. - description: 现货商品ID
  15006. in: query
  15007. name: deliverygoodsid
  15008. type: integer
  15009. - description: 品牌ID
  15010. in: query
  15011. name: spotgoodsbrandid
  15012. type: integer
  15013. - description: 品类ID
  15014. in: query
  15015. name: wrstandardid
  15016. type: integer
  15017. produces:
  15018. - application/json
  15019. responses:
  15020. "200":
  15021. description: OK
  15022. schema:
  15023. items:
  15024. $ref: '#/definitions/models.Ermcp3ReportAreaSpotPL'
  15025. type: array
  15026. "500":
  15027. description: Internal Server Error
  15028. schema:
  15029. $ref: '#/definitions/app.Response'
  15030. security:
  15031. - ApiKeyAuth: []
  15032. summary: 查询现货损益报表(现货损益报表)
  15033. tags:
  15034. - 企业风险管理v3(app)
  15035. /Ermcp3/QryReportDayFinanceFp:
  15036. get:
  15037. parameters:
  15038. - description: 用户ID
  15039. in: query
  15040. name: userid
  15041. required: true
  15042. type: integer
  15043. - description: 交易日(格式:yyyyMMdd)
  15044. in: query
  15045. name: tradedate
  15046. required: true
  15047. type: string
  15048. produces:
  15049. - application/json
  15050. responses:
  15051. "200":
  15052. description: OK
  15053. schema:
  15054. items:
  15055. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  15056. type: array
  15057. "500":
  15058. description: Internal Server Error
  15059. schema:
  15060. $ref: '#/definitions/app.Response'
  15061. security:
  15062. - ApiKeyAuth: []
  15063. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  15064. tags:
  15065. - 企业风险管理v3(app)
  15066. /Ermcp3/QryReportDayFinanceKx:
  15067. get:
  15068. parameters:
  15069. - description: 用户ID
  15070. in: query
  15071. name: userid
  15072. required: true
  15073. type: integer
  15074. - description: 交易日(格式:yyyyMMdd)
  15075. in: query
  15076. name: tradedate
  15077. required: true
  15078. type: string
  15079. produces:
  15080. - application/json
  15081. responses:
  15082. "200":
  15083. description: OK
  15084. schema:
  15085. items:
  15086. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  15087. type: array
  15088. "500":
  15089. description: Internal Server Error
  15090. schema:
  15091. $ref: '#/definitions/app.Response'
  15092. security:
  15093. - ApiKeyAuth: []
  15094. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  15095. tags:
  15096. - 企业风险管理v3(app)
  15097. /Ermcp3/QryReportDaySpot:
  15098. get:
  15099. parameters:
  15100. - description: 用户ID
  15101. in: query
  15102. name: userid
  15103. required: true
  15104. type: integer
  15105. - description: 交易日(格式:yyyyMMdd)
  15106. in: query
  15107. name: tradedate
  15108. required: true
  15109. type: string
  15110. produces:
  15111. - application/json
  15112. responses:
  15113. "200":
  15114. description: OK
  15115. schema:
  15116. items:
  15117. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  15118. type: array
  15119. "500":
  15120. description: Internal Server Error
  15121. schema:
  15122. $ref: '#/definitions/app.Response'
  15123. security:
  15124. - ApiKeyAuth: []
  15125. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  15126. tags:
  15127. - 企业风险管理v3(app)
  15128. /Ermcp3/QryReportDaySpotDetail:
  15129. get:
  15130. parameters:
  15131. - description: 用户ID
  15132. in: query
  15133. name: userid
  15134. required: true
  15135. type: integer
  15136. - description: 现货商品id
  15137. in: query
  15138. name: deliverygoodsid
  15139. required: true
  15140. type: integer
  15141. - description: 交易日(格式:yyyyMMdd)
  15142. in: query
  15143. name: tradedate
  15144. required: true
  15145. type: string
  15146. produces:
  15147. - application/json
  15148. responses:
  15149. "200":
  15150. description: OK
  15151. schema:
  15152. items:
  15153. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  15154. type: array
  15155. "500":
  15156. description: Internal Server Error
  15157. schema:
  15158. $ref: '#/definitions/app.Response'
  15159. security:
  15160. - ApiKeyAuth: []
  15161. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  15162. tags:
  15163. - 企业风险管理v3(app)
  15164. /Ermcp3/QryReportMonthSpot:
  15165. get:
  15166. parameters:
  15167. - description: 用户ID
  15168. in: query
  15169. name: userid
  15170. required: true
  15171. type: integer
  15172. - description: 周期时间:月(格式:yyyyMM)
  15173. in: query
  15174. name: cycletime
  15175. required: true
  15176. type: string
  15177. produces:
  15178. - application/json
  15179. responses:
  15180. "200":
  15181. description: OK
  15182. schema:
  15183. items:
  15184. $ref: '#/definitions/models.Ermcp3ReportMonSpot'
  15185. type: array
  15186. "500":
  15187. description: Internal Server Error
  15188. schema:
  15189. $ref: '#/definitions/app.Response'
  15190. security:
  15191. - ApiKeyAuth: []
  15192. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  15193. tags:
  15194. - 企业风险管理v3(app)
  15195. /Ermcp3/QryReportMonthSpotDetail:
  15196. get:
  15197. parameters:
  15198. - description: 用户ID
  15199. in: query
  15200. name: userid
  15201. required: true
  15202. type: integer
  15203. - description: 现货商品id
  15204. in: query
  15205. name: deliverygoodsid
  15206. required: true
  15207. type: integer
  15208. - description: 周期时间:月(格式:yyyyMM)
  15209. in: query
  15210. name: cycletime
  15211. required: true
  15212. type: string
  15213. produces:
  15214. - application/json
  15215. responses:
  15216. "200":
  15217. description: OK
  15218. schema:
  15219. items:
  15220. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  15221. type: array
  15222. "500":
  15223. description: Internal Server Error
  15224. schema:
  15225. $ref: '#/definitions/app.Response'
  15226. security:
  15227. - ApiKeyAuth: []
  15228. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  15229. tags:
  15230. - 企业风险管理v3(app)
  15231. /Ermcp3/QueryAreaStock:
  15232. get:
  15233. parameters:
  15234. - description: 用户ID
  15235. in: query
  15236. name: userid
  15237. required: true
  15238. type: integer
  15239. produces:
  15240. - application/json
  15241. responses:
  15242. "200":
  15243. description: OK
  15244. schema:
  15245. items:
  15246. $ref: '#/definitions/models.Ermcp3AreaStock'
  15247. type: array
  15248. "500":
  15249. description: Internal Server Error
  15250. schema:
  15251. $ref: '#/definitions/app.Response'
  15252. security:
  15253. - ApiKeyAuth: []
  15254. summary: 查询机构库存(库存管理/当前库存)
  15255. tags:
  15256. - 企业风险管理v3(app)
  15257. /Ermcp3/QueryAreaStockApply:
  15258. get:
  15259. parameters:
  15260. - description: 用户ID
  15261. in: query
  15262. name: userid
  15263. required: true
  15264. type: integer
  15265. - description: 现货商品ID
  15266. in: query
  15267. name: deliverygoodsid
  15268. type: integer
  15269. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  15270. in: query
  15271. name: inouttype
  15272. type: string
  15273. - description: 合同ID
  15274. in: query
  15275. name: spotcontractid
  15276. type: integer
  15277. - description: 品类ID
  15278. in: query
  15279. name: wrstandardid
  15280. type: integer
  15281. - description: 品牌ID
  15282. in: query
  15283. name: spotgoodsbrandid
  15284. type: integer
  15285. - description: 仓库ID
  15286. in: query
  15287. name: warehouseinfoid
  15288. type: integer
  15289. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15290. in: query
  15291. name: applystatus
  15292. type: string
  15293. produces:
  15294. - application/json
  15295. responses:
  15296. "200":
  15297. description: OK
  15298. schema:
  15299. items:
  15300. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15301. type: array
  15302. "500":
  15303. description: Internal Server Error
  15304. schema:
  15305. $ref: '#/definitions/app.Response'
  15306. security:
  15307. - ApiKeyAuth: []
  15308. summary: 查询库存申请(出入库记录|库存审核)
  15309. tags:
  15310. - 企业风险管理v3(app)
  15311. /Ermcp3/QueryAreaStockApplySum:
  15312. get:
  15313. parameters:
  15314. - description: 合同ID
  15315. in: query
  15316. name: spotcontractid
  15317. type: integer
  15318. produces:
  15319. - application/json
  15320. responses:
  15321. "200":
  15322. description: OK
  15323. schema:
  15324. items:
  15325. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  15326. type: array
  15327. "500":
  15328. description: Internal Server Error
  15329. schema:
  15330. $ref: '#/definitions/app.Response'
  15331. security:
  15332. - ApiKeyAuth: []
  15333. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  15334. tags:
  15335. - 企业风险管理v3(app)
  15336. /Ermcp3/QueryAreaStockReport:
  15337. get:
  15338. parameters:
  15339. - description: 用户ID
  15340. in: query
  15341. name: userid
  15342. required: true
  15343. type: integer
  15344. - description: 查询类型 1-日报表 2-月报表
  15345. in: query
  15346. name: querytype
  15347. required: true
  15348. type: integer
  15349. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15350. in: query
  15351. name: querydate
  15352. required: true
  15353. type: string
  15354. - description: 现货商品ID
  15355. in: query
  15356. name: deliverygoodsid
  15357. type: integer
  15358. - description: 品类ID
  15359. in: query
  15360. name: wrstandardid
  15361. type: integer
  15362. - description: 品牌ID
  15363. in: query
  15364. name: spotgoodsbrandid
  15365. type: integer
  15366. - description: 仓库ID
  15367. in: query
  15368. name: warehouseinfoid
  15369. type: integer
  15370. produces:
  15371. - application/json
  15372. responses:
  15373. "200":
  15374. description: OK
  15375. schema:
  15376. items:
  15377. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  15378. type: array
  15379. "500":
  15380. description: Internal Server Error
  15381. schema:
  15382. $ref: '#/definitions/app.Response'
  15383. security:
  15384. - ApiKeyAuth: []
  15385. summary: 查询库存报表
  15386. tags:
  15387. - 企业风险管理v3(app)
  15388. /Ermcp3/QueryAreaStockReportDetail:
  15389. get:
  15390. parameters:
  15391. - description: 用户ID
  15392. in: query
  15393. name: userid
  15394. required: true
  15395. type: integer
  15396. - description: 查询类型 1-日报表明细 2-月报表明细
  15397. in: query
  15398. name: querytype
  15399. required: true
  15400. type: integer
  15401. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  15402. in: query
  15403. name: detailtype
  15404. required: true
  15405. type: integer
  15406. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15407. in: query
  15408. name: querydate
  15409. required: true
  15410. type: string
  15411. - description: 现货商品ID
  15412. in: query
  15413. name: deliverygoodsid
  15414. type: integer
  15415. - description: 品类ID
  15416. in: query
  15417. name: wrstandardid
  15418. type: integer
  15419. - description: 品牌ID
  15420. in: query
  15421. name: spotgoodsbrandid
  15422. type: integer
  15423. - description: 仓库ID
  15424. in: query
  15425. name: warehouseinfoid
  15426. type: integer
  15427. produces:
  15428. - application/json
  15429. responses:
  15430. "200":
  15431. description: OK
  15432. schema:
  15433. items:
  15434. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15435. type: array
  15436. "500":
  15437. description: Internal Server Error
  15438. schema:
  15439. $ref: '#/definitions/app.Response'
  15440. security:
  15441. - ApiKeyAuth: []
  15442. summary: 查询库存报表明细
  15443. tags:
  15444. - 企业风险管理v3(app)
  15445. /Ermcp3/QueryDGFactoryItem:
  15446. get:
  15447. parameters:
  15448. - description: 所属机构ID
  15449. in: query
  15450. name: areauserid
  15451. type: integer
  15452. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15453. in: query
  15454. name: dgfactoryitemid
  15455. type: integer
  15456. - description: 现货品种ID
  15457. in: query
  15458. name: deliverygoodsid
  15459. type: integer
  15460. - description: 要素项类型
  15461. in: query
  15462. name: dgfactoryitemtypeid
  15463. type: integer
  15464. - description: 顺序
  15465. in: query
  15466. name: orderindex
  15467. type: integer
  15468. produces:
  15469. - application/json
  15470. responses:
  15471. "200":
  15472. description: OK
  15473. schema:
  15474. items:
  15475. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  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/QueryDeliveryGoods:
  15487. get:
  15488. parameters:
  15489. - description: 所属机构id
  15490. in: query
  15491. name: areauserid
  15492. required: true
  15493. type: integer
  15494. - description: 排除已配置的现货商品 1-排除
  15495. in: query
  15496. name: excludecfg
  15497. type: integer
  15498. produces:
  15499. - application/json
  15500. responses:
  15501. "200":
  15502. description: OK
  15503. schema:
  15504. items:
  15505. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15506. type: array
  15507. "500":
  15508. description: Internal Server Error
  15509. schema:
  15510. $ref: '#/definitions/app.Response'
  15511. security:
  15512. - ApiKeyAuth: []
  15513. summary: 查询现货商品
  15514. tags:
  15515. - 企业风险管理v3(app)
  15516. /Ermcp3/QueryDeliveryGoodsDetail:
  15517. get:
  15518. parameters:
  15519. - description: 所属机构id
  15520. in: query
  15521. name: areauserid
  15522. required: true
  15523. type: integer
  15524. - description: 现货商品id
  15525. in: query
  15526. name: deliverygoodsid
  15527. type: integer
  15528. - description: 是否查询关联交易商品 1-查询
  15529. in: query
  15530. name: qrytradegoods
  15531. type: integer
  15532. produces:
  15533. - application/json
  15534. responses:
  15535. "200":
  15536. description: OK
  15537. schema:
  15538. items:
  15539. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail'
  15540. type: array
  15541. "500":
  15542. description: Internal Server Error
  15543. schema:
  15544. $ref: '#/definitions/app.Response'
  15545. security:
  15546. - ApiKeyAuth: []
  15547. summary: 查询现货商品详情
  15548. tags:
  15549. - 企业风险管理v3(app)
  15550. /Ermcp3/QueryExposureDetail:
  15551. get:
  15552. parameters:
  15553. - description: 所属机构ID
  15554. in: query
  15555. name: areaUserId
  15556. required: true
  15557. type: integer
  15558. - description: 套保商品
  15559. in: query
  15560. name: middleGoodsId
  15561. required: true
  15562. type: integer
  15563. produces:
  15564. - application/json
  15565. responses:
  15566. "200":
  15567. description: OK
  15568. schema:
  15569. items:
  15570. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15571. type: array
  15572. "500":
  15573. description: Internal Server Error
  15574. schema:
  15575. $ref: '#/definitions/app.Response'
  15576. security:
  15577. - ApiKeyAuth: []
  15578. summary: 查询敞口现货明细
  15579. tags:
  15580. - 企业风险管理v3(app)
  15581. /Ermcp3/QueryExposureSpot:
  15582. get:
  15583. parameters:
  15584. - description: 所属机构ID
  15585. in: query
  15586. name: areauserid
  15587. required: true
  15588. type: integer
  15589. produces:
  15590. - application/json
  15591. responses:
  15592. "200":
  15593. description: OK
  15594. schema:
  15595. items:
  15596. $ref: '#/definitions/models.Ermcp3AreaSpot'
  15597. type: array
  15598. "500":
  15599. description: Internal Server Error
  15600. schema:
  15601. $ref: '#/definitions/app.Response'
  15602. security:
  15603. - ApiKeyAuth: []
  15604. summary: 查询敞口现货头寸(敞口/现货头寸)
  15605. tags:
  15606. - 企业风险管理v3(app)
  15607. /Ermcp3/QueryExposureSpotDetail:
  15608. get:
  15609. parameters:
  15610. - description: 所属机构ID
  15611. in: query
  15612. name: areauserid
  15613. required: true
  15614. type: integer
  15615. - description: 现货品种ID
  15616. in: query
  15617. name: deliverygoodsid
  15618. required: true
  15619. type: integer
  15620. produces:
  15621. - application/json
  15622. responses:
  15623. "200":
  15624. description: OK
  15625. schema:
  15626. items:
  15627. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  15628. type: array
  15629. "500":
  15630. description: Internal Server Error
  15631. schema:
  15632. $ref: '#/definitions/app.Response'
  15633. security:
  15634. - ApiKeyAuth: []
  15635. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  15636. tags:
  15637. - 企业风险管理v3(app)
  15638. /Ermcp3/QueryGoodsGroup:
  15639. get:
  15640. parameters:
  15641. - description: 所属机构id
  15642. in: query
  15643. name: areauserid
  15644. required: true
  15645. type: integer
  15646. - description: 排除套保品中已关联的商品组 1-排除
  15647. in: query
  15648. name: excludecfg
  15649. type: integer
  15650. produces:
  15651. - application/json
  15652. responses:
  15653. "200":
  15654. description: OK
  15655. schema:
  15656. items:
  15657. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  15658. type: array
  15659. "500":
  15660. description: Internal Server Error
  15661. schema:
  15662. $ref: '#/definitions/app.Response'
  15663. security:
  15664. - ApiKeyAuth: []
  15665. summary: 查询期货商品组
  15666. tags:
  15667. - 企业风险管理v3(app)
  15668. /Ermcp3/QueryGoodsWrstandard:
  15669. get:
  15670. parameters:
  15671. - description: 所属机构ID
  15672. in: query
  15673. name: areauserid
  15674. required: true
  15675. type: integer
  15676. - description: 现货商品id
  15677. in: query
  15678. name: deliverygoodsid
  15679. type: integer
  15680. produces:
  15681. - application/json
  15682. responses:
  15683. "200":
  15684. description: OK
  15685. schema:
  15686. items:
  15687. $ref: '#/definitions/models.Ermcp3Wrstandard'
  15688. type: array
  15689. "500":
  15690. description: Internal Server Error
  15691. schema:
  15692. $ref: '#/definitions/app.Response'
  15693. security:
  15694. - ApiKeyAuth: []
  15695. summary: 查询商品品类
  15696. tags:
  15697. - 企业风险管理v3(app)
  15698. /Ermcp3/QueryGoodsbrand:
  15699. get:
  15700. parameters:
  15701. - description: 所属机构ID
  15702. in: query
  15703. name: areauserid
  15704. required: true
  15705. type: integer
  15706. produces:
  15707. - application/json
  15708. responses:
  15709. "200":
  15710. description: OK
  15711. schema:
  15712. items:
  15713. $ref: '#/definitions/models.Ermcp3Brand'
  15714. type: array
  15715. "500":
  15716. description: Internal Server Error
  15717. schema:
  15718. $ref: '#/definitions/app.Response'
  15719. security:
  15720. - ApiKeyAuth: []
  15721. summary: 查询商品品牌
  15722. tags:
  15723. - 企业风险管理v3(app)
  15724. /Ermcp3/QueryHedgePlan:
  15725. get:
  15726. parameters:
  15727. - description: 用户ID
  15728. in: query
  15729. name: userid
  15730. required: true
  15731. type: integer
  15732. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  15733. in: query
  15734. name: hedgeplanstatus
  15735. required: true
  15736. type: string
  15737. produces:
  15738. - application/json
  15739. responses:
  15740. "200":
  15741. description: OK
  15742. schema:
  15743. items:
  15744. $ref: '#/definitions/models.Ermcp3HedgePlan'
  15745. type: array
  15746. "500":
  15747. description: Internal Server Error
  15748. schema:
  15749. $ref: '#/definitions/app.Response'
  15750. security:
  15751. - ApiKeyAuth: []
  15752. summary: 查询套保计划
  15753. tags:
  15754. - 企业风险管理v3(app)
  15755. /Ermcp3/QuerySpotContract:
  15756. get:
  15757. parameters:
  15758. - description: 所属机构ID
  15759. in: query
  15760. name: areauserid
  15761. required: true
  15762. type: integer
  15763. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  15764. in: query
  15765. name: querytype
  15766. required: true
  15767. type: integer
  15768. - description: 用户ID
  15769. in: query
  15770. name: userid
  15771. type: integer
  15772. - description: 用户类型 2-机构 7-企业成员
  15773. in: query
  15774. name: usertype
  15775. type: integer
  15776. - description: 合同ID(SpotContractId)
  15777. in: query
  15778. name: contractid
  15779. type: string
  15780. produces:
  15781. - application/json
  15782. responses:
  15783. "200":
  15784. description: OK
  15785. schema:
  15786. items:
  15787. $ref: '#/definitions/models.Ermcp3Contract'
  15788. type: array
  15789. "500":
  15790. description: Internal Server Error
  15791. schema:
  15792. $ref: '#/definitions/app.Response'
  15793. security:
  15794. - ApiKeyAuth: []
  15795. summary: 查询现货合同
  15796. tags:
  15797. - 企业风险管理v3(app)
  15798. /Ermcp3/QuerySpotContractBS:
  15799. get:
  15800. parameters:
  15801. - description: 所属机构ID
  15802. in: query
  15803. name: areauserid
  15804. required: true
  15805. type: integer
  15806. - description: 合同类型 1-采购, -1-销售
  15807. in: query
  15808. name: contracttype
  15809. required: true
  15810. type: integer
  15811. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15812. in: query
  15813. name: querytype
  15814. required: true
  15815. type: integer
  15816. - description: 用户ID
  15817. in: query
  15818. name: userid
  15819. type: integer
  15820. - description: 用户类型 2-机构 7-企业成员
  15821. in: query
  15822. name: usertype
  15823. type: integer
  15824. - description: 合同ID(SpotContractId)
  15825. in: query
  15826. name: contractid
  15827. type: string
  15828. produces:
  15829. - application/json
  15830. responses:
  15831. "200":
  15832. description: OK
  15833. schema:
  15834. items:
  15835. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  15836. type: array
  15837. "500":
  15838. description: Internal Server Error
  15839. schema:
  15840. $ref: '#/definitions/app.Response'
  15841. security:
  15842. - ApiKeyAuth: []
  15843. summary: 查询合同(采购/销售)
  15844. tags:
  15845. - 企业风险管理v3(app)
  15846. /Ermcp3/QuerySpotGoodsPrice:
  15847. get:
  15848. parameters:
  15849. - description: 用户ID
  15850. in: query
  15851. name: userid
  15852. required: true
  15853. type: integer
  15854. produces:
  15855. - application/json
  15856. responses:
  15857. "200":
  15858. description: OK
  15859. schema:
  15860. items:
  15861. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  15862. type: array
  15863. "500":
  15864. description: Internal Server Error
  15865. schema:
  15866. $ref: '#/definitions/app.Response'
  15867. security:
  15868. - ApiKeyAuth: []
  15869. summary: 查询现货市价(现货市价)
  15870. tags:
  15871. - 企业风险管理v3(app)
  15872. /Ermcp3/QuerySpotGoodsPriceLog:
  15873. get:
  15874. parameters:
  15875. - description: 用户ID
  15876. in: query
  15877. name: userid
  15878. required: true
  15879. type: integer
  15880. - description: 现货商品ID
  15881. in: query
  15882. name: deliverygoodsid
  15883. required: true
  15884. type: integer
  15885. produces:
  15886. - application/json
  15887. responses:
  15888. "200":
  15889. description: OK
  15890. schema:
  15891. items:
  15892. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  15893. type: array
  15894. "500":
  15895. description: Internal Server Error
  15896. schema:
  15897. $ref: '#/definitions/app.Response'
  15898. security:
  15899. - ApiKeyAuth: []
  15900. summary: 查询现货市价详情(现货市价/详情)
  15901. tags:
  15902. - 企业风险管理v3(app)
  15903. /Erms2/QueryArbitrageStrategy:
  15904. get:
  15905. parameters:
  15906. - description: 账户ID
  15907. in: query
  15908. name: userid
  15909. required: true
  15910. type: integer
  15911. - description: 商品组ID(品种ID)
  15912. in: query
  15913. name: goodsgroupid
  15914. type: string
  15915. produces:
  15916. - application/json
  15917. responses:
  15918. "200":
  15919. description: OK
  15920. schema:
  15921. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  15922. "500":
  15923. description: Internal Server Error
  15924. schema:
  15925. $ref: '#/definitions/app.Response'
  15926. security:
  15927. - ApiKeyAuth: []
  15928. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  15929. tags:
  15930. - 风险管理
  15931. /Erms2/QueryInnerTradeDetail:
  15932. get:
  15933. parameters:
  15934. - description: 资金账户
  15935. in: query
  15936. name: accountid
  15937. required: true
  15938. type: integer
  15939. produces:
  15940. - application/json
  15941. responses:
  15942. "200":
  15943. description: OK
  15944. schema:
  15945. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  15946. "500":
  15947. description: Internal Server Error
  15948. schema:
  15949. $ref: '#/definitions/app.Response'
  15950. security:
  15951. - ApiKeyAuth: []
  15952. summary: 查询内部成交单信息
  15953. tags:
  15954. - 风险管理
  15955. /Erms2/QuerySpotContract:
  15956. get:
  15957. parameters:
  15958. - description: 策略申请ID
  15959. in: query
  15960. name: asapplyid
  15961. required: true
  15962. type: integer
  15963. - description: 现货合同ID
  15964. in: query
  15965. name: spotcontractid
  15966. type: integer
  15967. produces:
  15968. - application/json
  15969. responses:
  15970. "200":
  15971. description: OK
  15972. schema:
  15973. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  15974. "500":
  15975. description: Internal Server Error
  15976. schema:
  15977. $ref: '#/definitions/app.Response'
  15978. security:
  15979. - ApiKeyAuth: []
  15980. summary: 查询现货合同表信息(指定策略ID、未结束的)
  15981. tags:
  15982. - 风险管理
  15983. /Erms3/AddErms2ASApply:
  15984. post:
  15985. parameters:
  15986. - description: 申请参数
  15987. in: body
  15988. name: jsonBody
  15989. required: true
  15990. schema:
  15991. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  15992. produces:
  15993. - application/json
  15994. responses:
  15995. "200":
  15996. description: OK
  15997. schema:
  15998. $ref: '#/definitions/app.Response'
  15999. "500":
  16000. description: Internal Server Error
  16001. schema:
  16002. $ref: '#/definitions/app.Response'
  16003. security:
  16004. - ApiKeyAuth: []
  16005. summary: 新增期现套利业务申请
  16006. tags:
  16007. - 风险管理v3
  16008. /Erms3/AddErms2SpotTradeApply:
  16009. post:
  16010. parameters:
  16011. - description: 申请参数
  16012. in: body
  16013. name: jsonBody
  16014. required: true
  16015. schema:
  16016. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  16017. produces:
  16018. - application/json
  16019. responses:
  16020. "200":
  16021. description: OK
  16022. schema:
  16023. $ref: '#/definitions/app.Response'
  16024. "500":
  16025. description: Internal Server Error
  16026. schema:
  16027. $ref: '#/definitions/app.Response'
  16028. security:
  16029. - ApiKeyAuth: []
  16030. summary: 新增现货贸易业务申请
  16031. tags:
  16032. - 风险管理v3
  16033. /Erms3/AddSpotContractApply:
  16034. post:
  16035. parameters:
  16036. - description: 申请参数
  16037. in: body
  16038. name: jsonBody
  16039. required: true
  16040. schema:
  16041. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  16042. produces:
  16043. - application/json
  16044. responses:
  16045. "200":
  16046. description: OK
  16047. schema:
  16048. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  16049. "500":
  16050. description: Internal Server Error
  16051. schema:
  16052. $ref: '#/definitions/app.Response'
  16053. security:
  16054. - ApiKeyAuth: []
  16055. summary: 新增现货合同申请
  16056. tags:
  16057. - 风险管理v3
  16058. /Erms3/AddUserInfoApply:
  16059. post:
  16060. parameters:
  16061. - description: 用户信息
  16062. in: body
  16063. name: jsonBody
  16064. required: true
  16065. schema:
  16066. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  16067. produces:
  16068. - application/json
  16069. responses:
  16070. "200":
  16071. description: OK
  16072. schema:
  16073. $ref: '#/definitions/app.Response'
  16074. "500":
  16075. description: Internal Server Error
  16076. schema:
  16077. $ref: '#/definitions/app.Response'
  16078. security:
  16079. - ApiKeyAuth: []
  16080. summary: 新增客户申请
  16081. tags:
  16082. - 风险管理v3
  16083. /Erms3/DeleteUserInfoApply:
  16084. get:
  16085. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  16086. parameters:
  16087. - description: 用户ID
  16088. in: query
  16089. name: userID
  16090. required: true
  16091. type: integer
  16092. produces:
  16093. - application/json
  16094. responses:
  16095. "200":
  16096. description: OK
  16097. schema:
  16098. $ref: '#/definitions/app.Response'
  16099. "500":
  16100. description: Internal Server Error
  16101. schema:
  16102. $ref: '#/definitions/app.Response'
  16103. security:
  16104. - ApiKeyAuth: []
  16105. summary: 删除客户申请
  16106. tags:
  16107. - 风险管理v3
  16108. /Erms3/ModifyUserInfoApply:
  16109. post:
  16110. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  16111. int, "userstate": 2 }'
  16112. parameters:
  16113. - description: 用户信息
  16114. in: body
  16115. name: jsonBody
  16116. required: true
  16117. schema:
  16118. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  16119. produces:
  16120. - application/json
  16121. responses:
  16122. "200":
  16123. description: OK
  16124. schema:
  16125. $ref: '#/definitions/app.Response'
  16126. "500":
  16127. description: Internal Server Error
  16128. schema:
  16129. $ref: '#/definitions/app.Response'
  16130. security:
  16131. - ApiKeyAuth: []
  16132. summary: 修改客户申请
  16133. tags:
  16134. - 风险管理v3
  16135. /Erms3/QueryBusinessInfo:
  16136. get:
  16137. parameters:
  16138. - description: 资金账号ID列表,用逗号分隔
  16139. in: query
  16140. name: accountids
  16141. required: true
  16142. type: string
  16143. - description: 状态,0为未结束 1为已结束
  16144. in: query
  16145. name: status
  16146. required: true
  16147. type: integer
  16148. produces:
  16149. - application/json
  16150. responses:
  16151. "200":
  16152. description: OK
  16153. schema:
  16154. items:
  16155. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  16156. type: array
  16157. "500":
  16158. description: Internal Server Error
  16159. schema:
  16160. $ref: '#/definitions/app.Response'
  16161. security:
  16162. - ApiKeyAuth: []
  16163. summary: 查询业务表单数据
  16164. tags:
  16165. - 风险管理v3
  16166. /Erms3/QueryPendingAuditContract:
  16167. get:
  16168. parameters:
  16169. - description: 资金账号ID列表,逗号隔开
  16170. in: query
  16171. name: accountids
  16172. required: true
  16173. type: string
  16174. - description: 合同类型 1-采购 -1-销售
  16175. in: query
  16176. name: contracttype
  16177. required: true
  16178. type: integer
  16179. - description: 合同模式 1-普通 2-回购
  16180. in: query
  16181. name: contractmode
  16182. required: true
  16183. type: integer
  16184. produces:
  16185. - application/json
  16186. responses:
  16187. "200":
  16188. description: OK
  16189. schema:
  16190. items:
  16191. $ref: '#/definitions/erms3.QryAuditContractRsp'
  16192. type: array
  16193. "500":
  16194. description: Internal Server Error
  16195. schema:
  16196. $ref: '#/definitions/app.Response'
  16197. security:
  16198. - ApiKeyAuth: []
  16199. summary: 查询待审核合同
  16200. tags:
  16201. - 风险管理v3
  16202. /Erms3/QueryPendingBusiness:
  16203. get:
  16204. parameters:
  16205. - description: 资金账号ID列表,逗号隔开
  16206. in: query
  16207. name: accountids
  16208. required: true
  16209. type: string
  16210. produces:
  16211. - application/json
  16212. responses:
  16213. "200":
  16214. description: OK
  16215. schema:
  16216. items:
  16217. $ref: '#/definitions/erms3.QryPendingBizRsp'
  16218. type: array
  16219. "500":
  16220. description: Internal Server Error
  16221. schema:
  16222. $ref: '#/definitions/app.Response'
  16223. security:
  16224. - ApiKeyAuth: []
  16225. summary: 查询待审核基差贸易业务
  16226. tags:
  16227. - 风险管理v3
  16228. /Erms3/QuerySpotContractAppleForm:
  16229. get:
  16230. parameters:
  16231. - description: 登录账号
  16232. in: query
  16233. name: loginID
  16234. required: true
  16235. type: integer
  16236. produces:
  16237. - application/json
  16238. responses:
  16239. "200":
  16240. description: OK
  16241. schema:
  16242. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  16243. "500":
  16244. description: Internal Server Error
  16245. schema:
  16246. $ref: '#/definitions/app.Response'
  16247. security:
  16248. - ApiKeyAuth: []
  16249. summary: 查询合同申请表单数据
  16250. tags:
  16251. - 风险管理v3
  16252. /Erms3/QuerySpotContractDetail:
  16253. get:
  16254. parameters:
  16255. - description: 资金账号ID列表,用逗号分隔
  16256. in: query
  16257. name: accountids
  16258. required: true
  16259. type: string
  16260. - description: 合同类型,1为采购合同 -1为销售合同
  16261. in: query
  16262. name: contracttype
  16263. required: true
  16264. type: integer
  16265. - description: 合同模式,1为普通合同 2为回购销售合同
  16266. in: query
  16267. name: contractmode
  16268. required: true
  16269. type: integer
  16270. - description: 状态,0为履约中 1为已完成
  16271. in: query
  16272. name: status
  16273. required: true
  16274. type: integer
  16275. produces:
  16276. - application/json
  16277. responses:
  16278. "200":
  16279. description: OK
  16280. schema:
  16281. items:
  16282. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  16283. type: array
  16284. "500":
  16285. description: Internal Server Error
  16286. schema:
  16287. $ref: '#/definitions/app.Response'
  16288. security:
  16289. - ApiKeyAuth: []
  16290. summary: 查询合同详细信息
  16291. tags:
  16292. - 风险管理v3
  16293. /Erms3/QueryUserInfoApplies:
  16294. get:
  16295. parameters:
  16296. - description: 页码
  16297. in: query
  16298. name: page
  16299. type: integer
  16300. - description: 每页条数
  16301. in: query
  16302. name: pagesize
  16303. type: integer
  16304. - description: 客户名称,支持模糊查询
  16305. in: query
  16306. name: userName
  16307. type: string
  16308. produces:
  16309. - application/json
  16310. responses:
  16311. "200":
  16312. description: OK
  16313. schema:
  16314. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  16315. "500":
  16316. description: Internal Server Error
  16317. schema:
  16318. $ref: '#/definitions/app.Response'
  16319. security:
  16320. - ApiKeyAuth: []
  16321. summary: 客户申请信息查询
  16322. tags:
  16323. - 风险管理v3
  16324. /Erms3/QueryUserInfos:
  16325. get:
  16326. parameters:
  16327. - description: 页码
  16328. in: query
  16329. name: page
  16330. type: integer
  16331. - description: 每页条数
  16332. in: query
  16333. name: pagesize
  16334. type: integer
  16335. - description: 客户名称,支持模糊查询
  16336. in: query
  16337. name: userName
  16338. type: string
  16339. produces:
  16340. - application/json
  16341. responses:
  16342. "200":
  16343. description: OK
  16344. schema:
  16345. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  16346. "500":
  16347. description: Internal Server Error
  16348. schema:
  16349. $ref: '#/definitions/app.Response'
  16350. security:
  16351. - ApiKeyAuth: []
  16352. summary: 客户信息查询
  16353. tags:
  16354. - 风险管理v3
  16355. /HSBY/GetHsbyMyCount:
  16356. get:
  16357. description: 说明: 不包括已完成的数量。
  16358. parameters:
  16359. - description: 资金账户列表,格式:1,2,3
  16360. in: query
  16361. name: accountIDs
  16362. required: true
  16363. type: string
  16364. produces:
  16365. - application/json
  16366. responses:
  16367. "200":
  16368. description: OK
  16369. schema:
  16370. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  16371. "500":
  16372. description: Internal Server Error
  16373. schema:
  16374. $ref: '#/definitions/app.Response'
  16375. security:
  16376. - ApiKeyAuth: []
  16377. summary: 获取我的订单与包裹数量
  16378. tags:
  16379. - 定制【海商报业】
  16380. /HSBY/QueryClientFixedADConfigs:
  16381. get:
  16382. produces:
  16383. - application/json
  16384. responses:
  16385. "200":
  16386. description: OK
  16387. schema:
  16388. $ref: '#/definitions/models.Clientfixedadconfig'
  16389. "500":
  16390. description: Internal Server Error
  16391. schema:
  16392. $ref: '#/definitions/app.Response'
  16393. security:
  16394. - ApiKeyAuth: []
  16395. summary: 获取终端固定广告配置
  16396. tags:
  16397. - 定制【海商报业】
  16398. /HSBY/QueryHsbyBuyMyTradeDetail:
  16399. get:
  16400. parameters:
  16401. - description: 页码
  16402. in: query
  16403. name: page
  16404. type: integer
  16405. - description: 每页条数
  16406. in: query
  16407. name: pagesize
  16408. type: integer
  16409. - description: 资金账户列表,格式:1,2,3
  16410. in: query
  16411. name: accountIDs
  16412. required: true
  16413. type: string
  16414. produces:
  16415. - application/json
  16416. responses:
  16417. "200":
  16418. description: OK
  16419. schema:
  16420. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  16421. "500":
  16422. description: Internal Server Error
  16423. schema:
  16424. $ref: '#/definitions/app.Response'
  16425. security:
  16426. - ApiKeyAuth: []
  16427. summary: 查询"我的订单 - 已完成"单据信息
  16428. tags:
  16429. - 定制【海商报业】
  16430. /HSBY/QueryHsbyGoodsOrderDetails:
  16431. get:
  16432. description: 说明:查询结果已按委托价格和委托时间排序
  16433. parameters:
  16434. - description: 商品ID
  16435. in: query
  16436. name: goodsID
  16437. required: true
  16438. type: integer
  16439. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  16440. in: query
  16441. name: accountIDs
  16442. type: string
  16443. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  16444. in: query
  16445. name: buyOrSell
  16446. type: integer
  16447. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  16448. in: query
  16449. name: price
  16450. type: number
  16451. - description: 档位,不传则默认为3档
  16452. in: query
  16453. name: speed
  16454. type: integer
  16455. produces:
  16456. - application/json
  16457. responses:
  16458. "200":
  16459. description: OK
  16460. schema:
  16461. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  16462. "500":
  16463. description: Internal Server Error
  16464. schema:
  16465. $ref: '#/definitions/app.Response'
  16466. security:
  16467. - ApiKeyAuth: []
  16468. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  16469. tags:
  16470. - 定制【海商报业】
  16471. /HSBY/QueryHsbyListingGoodsDetail:
  16472. get:
  16473. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  16474. parameters:
  16475. - description: 商品ID
  16476. in: query
  16477. name: goodsID
  16478. required: true
  16479. type: integer
  16480. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  16481. in: query
  16482. name: accountID
  16483. type: integer
  16484. produces:
  16485. - application/json
  16486. responses:
  16487. "200":
  16488. description: OK
  16489. schema:
  16490. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  16491. "500":
  16492. description: Internal Server Error
  16493. schema:
  16494. $ref: '#/definitions/app.Response'
  16495. security:
  16496. - ApiKeyAuth: []
  16497. summary: 查询二级市场(挂牌点选)商品信息详情
  16498. tags:
  16499. - 定制【海商报业】
  16500. /HSBY/QueryHsbyMarketGoodsDetail:
  16501. get:
  16502. parameters:
  16503. - description: 委托单号
  16504. in: query
  16505. name: orderID
  16506. required: true
  16507. type: integer
  16508. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  16509. in: query
  16510. name: accountID
  16511. type: integer
  16512. produces:
  16513. - application/json
  16514. responses:
  16515. "200":
  16516. description: OK
  16517. schema:
  16518. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16519. "500":
  16520. description: Internal Server Error
  16521. schema:
  16522. $ref: '#/definitions/app.Response'
  16523. security:
  16524. - ApiKeyAuth: []
  16525. summary: 查询三级市场(商城)商品信息详情
  16526. tags:
  16527. - 定制【海商报业】
  16528. /HSBY/QueryHsbyMarketGoodses:
  16529. get:
  16530. parameters:
  16531. - description: 页码
  16532. in: query
  16533. name: page
  16534. type: integer
  16535. - description: 每页条数
  16536. in: query
  16537. name: pagesize
  16538. type: integer
  16539. - description: 市场ID列表,格式:1,2,3
  16540. in: query
  16541. name: marketIDs
  16542. required: true
  16543. type: string
  16544. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  16545. in: query
  16546. name: accountID
  16547. required: true
  16548. type: integer
  16549. - description: 类别ID
  16550. in: query
  16551. name: categoryID
  16552. type: integer
  16553. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16554. in: query
  16555. name: goodsIDs
  16556. type: string
  16557. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  16558. in: query
  16559. name: couponTypeID
  16560. type: integer
  16561. produces:
  16562. - application/json
  16563. responses:
  16564. "200":
  16565. description: OK
  16566. schema:
  16567. $ref: '#/definitions/models.HsbyMarketGoods'
  16568. "500":
  16569. description: Internal Server Error
  16570. schema:
  16571. $ref: '#/definitions/app.Response'
  16572. security:
  16573. - ApiKeyAuth: []
  16574. summary: 查询特卖商品列表(三级商城)
  16575. tags:
  16576. - 定制【海商报业】
  16577. /HSBY/QueryHsbyMarkets:
  16578. get:
  16579. produces:
  16580. - application/json
  16581. responses:
  16582. "200":
  16583. description: OK
  16584. schema:
  16585. $ref: '#/definitions/models.HsbyMarketInfo'
  16586. "500":
  16587. description: Internal Server Error
  16588. schema:
  16589. $ref: '#/definitions/app.Response'
  16590. security:
  16591. - ApiKeyAuth: []
  16592. summary: 查询海商报业相关市场信息
  16593. tags:
  16594. - 定制【海商报业】
  16595. /HSBY/QueryHsbyMyBuyOrderDetails:
  16596. get:
  16597. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  16598. parameters:
  16599. - description: 资金账户列表,格式:1,2,3
  16600. in: query
  16601. name: accountIDs
  16602. required: true
  16603. type: string
  16604. produces:
  16605. - application/json
  16606. responses:
  16607. "200":
  16608. description: OK
  16609. schema:
  16610. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  16611. "500":
  16612. description: Internal Server Error
  16613. schema:
  16614. $ref: '#/definitions/app.Response'
  16615. security:
  16616. - ApiKeyAuth: []
  16617. summary: 查询“我的订单”信息
  16618. tags:
  16619. - 定制【海商报业】
  16620. /HSBY/QueryHsbyMyGoods:
  16621. get:
  16622. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  16623. parameters:
  16624. - description: 资金账户列表,格式:1,2,3
  16625. in: query
  16626. name: accountIDs
  16627. required: true
  16628. type: string
  16629. produces:
  16630. - application/json
  16631. responses:
  16632. "200":
  16633. description: OK
  16634. schema:
  16635. $ref: '#/definitions/models.HsbyMyGoods'
  16636. "500":
  16637. description: Internal Server Error
  16638. schema:
  16639. $ref: '#/definitions/app.Response'
  16640. security:
  16641. - ApiKeyAuth: []
  16642. summary: 查询“我的商品”信息
  16643. tags:
  16644. - 定制【海商报业】
  16645. /HSBY/QueryHsbyMyPackages:
  16646. get:
  16647. parameters:
  16648. - description: 资金账户列表,格式:1,2,3
  16649. in: query
  16650. name: accountIDs
  16651. required: true
  16652. type: string
  16653. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16654. in: query
  16655. name: takeOrderStatus
  16656. type: integer
  16657. produces:
  16658. - application/json
  16659. responses:
  16660. "200":
  16661. description: OK
  16662. schema:
  16663. $ref: '#/definitions/models.HsbyMyPackage'
  16664. "500":
  16665. description: Internal Server Error
  16666. schema:
  16667. $ref: '#/definitions/app.Response'
  16668. security:
  16669. - ApiKeyAuth: []
  16670. summary: 查询我的包裹信息
  16671. tags:
  16672. - 定制【海商报业】
  16673. /HSBY/QueryHsbyPreGoodsDetail:
  16674. get:
  16675. parameters:
  16676. - description: 商品ID
  16677. in: query
  16678. name: goodsID
  16679. required: true
  16680. type: integer
  16681. - description: 资金账户,主要用于获取预售商品购买上限
  16682. in: query
  16683. name: accountID
  16684. type: integer
  16685. produces:
  16686. - application/json
  16687. responses:
  16688. "200":
  16689. description: OK
  16690. schema:
  16691. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  16692. "500":
  16693. description: Internal Server Error
  16694. schema:
  16695. $ref: '#/definitions/app.Response'
  16696. security:
  16697. - ApiKeyAuth: []
  16698. summary: 查询一级市场(预售)商品信息详情
  16699. tags:
  16700. - 定制【海商报业】
  16701. /HSBY/QueryHsbyPreGoodses:
  16702. get:
  16703. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  16704. parameters:
  16705. - description: 页码
  16706. in: query
  16707. name: page
  16708. type: integer
  16709. - description: 每页条数
  16710. in: query
  16711. name: pagesize
  16712. type: integer
  16713. - description: 市场ID列表,格式:1,2,3
  16714. in: query
  16715. name: marketIDs
  16716. required: true
  16717. type: string
  16718. - description: 目的地(省)ID
  16719. in: query
  16720. name: descProvinceID
  16721. type: integer
  16722. - description: 目的地(市)ID
  16723. in: query
  16724. name: descCityID
  16725. type: integer
  16726. produces:
  16727. - application/json
  16728. responses:
  16729. "200":
  16730. description: OK
  16731. schema:
  16732. $ref: '#/definitions/models.HsbyPreGoods'
  16733. "500":
  16734. description: Internal Server Error
  16735. schema:
  16736. $ref: '#/definitions/app.Response'
  16737. security:
  16738. - ApiKeyAuth: []
  16739. summary: 查询新品上市商品列表(一级市场预售)
  16740. tags:
  16741. - 定制【海商报业】
  16742. /HSBY/QueryHsbySellMyDetails:
  16743. get:
  16744. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  16745. parameters:
  16746. - description: 页码
  16747. in: query
  16748. name: page
  16749. type: integer
  16750. - description: 每页条数
  16751. in: query
  16752. name: pagesize
  16753. type: integer
  16754. - description: 资金账户列表,格式:1,2,3
  16755. in: query
  16756. name: accountIDs
  16757. required: true
  16758. type: string
  16759. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  16760. in: query
  16761. name: orderType
  16762. type: integer
  16763. produces:
  16764. - application/json
  16765. responses:
  16766. "200":
  16767. description: OK
  16768. schema:
  16769. $ref: '#/definitions/models.HsbySellMyDetail'
  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/QueryHsbyTopGoodses:
  16780. get:
  16781. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  16782. parameters:
  16783. - description: 页码
  16784. in: query
  16785. name: page
  16786. type: integer
  16787. - description: 每页条数
  16788. in: query
  16789. name: pagesize
  16790. type: integer
  16791. - description: 市场ID列表,格式:1,2,3
  16792. in: query
  16793. name: marketIDs
  16794. required: true
  16795. type: string
  16796. - description: 目的地(省)ID
  16797. in: query
  16798. name: descProvinceID
  16799. type: integer
  16800. - description: 目的地(市)ID
  16801. in: query
  16802. name: descCityID
  16803. type: integer
  16804. produces:
  16805. - application/json
  16806. responses:
  16807. "200":
  16808. description: OK
  16809. schema:
  16810. $ref: '#/definitions/models.HsbyTopGoods'
  16811. "500":
  16812. description: Internal Server Error
  16813. schema:
  16814. $ref: '#/definitions/app.Response'
  16815. security:
  16816. - ApiKeyAuth: []
  16817. summary: 查询热卖商品列表(二级市场挂牌点选)
  16818. tags:
  16819. - 定制【海商报业】
  16820. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  16821. get:
  16822. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  16823. parameters:
  16824. - description: 商品ID
  16825. in: query
  16826. name: goodsID
  16827. required: true
  16828. type: integer
  16829. produces:
  16830. - application/json
  16831. responses:
  16832. "200":
  16833. description: OK
  16834. schema:
  16835. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16836. "500":
  16837. description: Internal Server Error
  16838. schema:
  16839. $ref: '#/definitions/app.Response'
  16840. security:
  16841. - ApiKeyAuth: []
  16842. summary: 查询游客三级市场(商城)商品信息详情
  16843. tags:
  16844. - 定制【海商报业】
  16845. /HSBY/QueryHsbyVisitorMarketGoodses:
  16846. get:
  16847. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  16848. parameters:
  16849. - description: 页码
  16850. in: query
  16851. name: page
  16852. type: integer
  16853. - description: 每页条数
  16854. in: query
  16855. name: pagesize
  16856. type: integer
  16857. - description: 市场ID列表,格式:1,2,3
  16858. in: query
  16859. name: marketIDs
  16860. required: true
  16861. type: string
  16862. - description: 类别ID
  16863. in: query
  16864. name: categoryID
  16865. type: integer
  16866. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16867. in: query
  16868. name: goodsIDs
  16869. type: string
  16870. produces:
  16871. - application/json
  16872. responses:
  16873. "200":
  16874. description: OK
  16875. schema:
  16876. $ref: '#/definitions/models.HsbyMarketGoods'
  16877. "500":
  16878. description: Internal Server Error
  16879. schema:
  16880. $ref: '#/definitions/app.Response'
  16881. security:
  16882. - ApiKeyAuth: []
  16883. summary: 查询游客特卖商品列表(三级商城)
  16884. tags:
  16885. - 定制【海商报业】
  16886. /HSBY/QueryMyCollectionOrders:
  16887. get:
  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: 资金账户,格式:1,2,3
  16898. in: query
  16899. name: accountIDs
  16900. required: true
  16901. type: string
  16902. produces:
  16903. - application/json
  16904. responses:
  16905. "200":
  16906. description: OK
  16907. schema:
  16908. $ref: '#/definitions/models.HsbySellCollectionOrder'
  16909. "500":
  16910. description: Internal Server Error
  16911. schema:
  16912. $ref: '#/definitions/app.Response'
  16913. security:
  16914. - ApiKeyAuth: []
  16915. summary: 我的闲置中收款信息查询
  16916. tags:
  16917. - 定制【海商报业】
  16918. /HSBY/QueryMyCouponHolds:
  16919. get:
  16920. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  16921. parameters:
  16922. - description: 资金账户列表,格式:1,2,3
  16923. in: query
  16924. name: accountIDs
  16925. required: true
  16926. type: string
  16927. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  16928. in: query
  16929. name: holdStatus
  16930. type: string
  16931. produces:
  16932. - application/json
  16933. responses:
  16934. "200":
  16935. description: OK
  16936. schema:
  16937. $ref: '#/definitions/models.MyCouponHold'
  16938. "500":
  16939. description: Internal Server Error
  16940. schema:
  16941. $ref: '#/definitions/app.Response'
  16942. security:
  16943. - ApiKeyAuth: []
  16944. summary: 我的优惠卷持仓查询
  16945. tags:
  16946. - 定制【海商报业】
  16947. /HSBY/QueryMyCoupons:
  16948. get:
  16949. parameters:
  16950. - description: 资金账户列表,格式:1,2,3
  16951. in: query
  16952. name: accountIDs
  16953. required: true
  16954. type: string
  16955. - description: 商品ID, 一般与sellUserID配套传入
  16956. in: query
  16957. name: goodsID
  16958. type: integer
  16959. - description: 卖方UserID
  16960. in: query
  16961. name: sellUserID
  16962. type: integer
  16963. produces:
  16964. - application/json
  16965. responses:
  16966. "200":
  16967. description: OK
  16968. schema:
  16969. $ref: '#/definitions/models.MyCoupon'
  16970. "500":
  16971. description: Internal Server Error
  16972. schema:
  16973. $ref: '#/definitions/app.Response'
  16974. security:
  16975. - ApiKeyAuth: []
  16976. summary: 我的优惠卷查询
  16977. tags:
  16978. - 定制【海商报业】
  16979. /HSBY/QueryMyPayOrders:
  16980. get:
  16981. parameters:
  16982. - description: 页码
  16983. in: query
  16984. name: page
  16985. type: integer
  16986. - description: 每页条数
  16987. in: query
  16988. name: pagesize
  16989. type: integer
  16990. - description: 资金账户列表,格式:1,2,3
  16991. in: query
  16992. name: accountIDs
  16993. required: true
  16994. type: string
  16995. - description: 买方委托单号
  16996. in: query
  16997. name: buyOrderID
  16998. type: integer
  16999. - description: 卖方委托单号
  17000. in: query
  17001. name: sellOrderID
  17002. type: integer
  17003. produces:
  17004. - application/json
  17005. responses:
  17006. "200":
  17007. description: OK
  17008. schema:
  17009. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  17010. "500":
  17011. description: Internal Server Error
  17012. schema:
  17013. $ref: '#/definitions/app.Response'
  17014. security:
  17015. - ApiKeyAuth: []
  17016. summary: 获取我的订单中待付款信息
  17017. tags:
  17018. - 定制【海商报业】
  17019. /HSBY/QueryMyUsedCoupon:
  17020. get:
  17021. parameters:
  17022. - description: 资金账户列表,格式:1,2,3
  17023. in: query
  17024. name: accountIDs
  17025. required: true
  17026. type: string
  17027. produces:
  17028. - application/json
  17029. responses:
  17030. "200":
  17031. description: OK
  17032. schema:
  17033. $ref: '#/definitions/models.MyUsedCoupon'
  17034. "500":
  17035. description: Internal Server Error
  17036. schema:
  17037. $ref: '#/definitions/app.Response'
  17038. security:
  17039. - ApiKeyAuth: []
  17040. summary: 已使用优惠卷查询
  17041. tags:
  17042. - 定制【海商报业】
  17043. /HSBY/QueryProvincesAndCities:
  17044. get:
  17045. description: 查询结果只包括二级市场商品已关连的省市信息。
  17046. parameters:
  17047. - description: 省ID
  17048. in: query
  17049. name: provinceID
  17050. type: integer
  17051. produces:
  17052. - application/json
  17053. responses:
  17054. "200":
  17055. description: OK
  17056. schema:
  17057. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  17058. "500":
  17059. description: Internal Server Error
  17060. schema:
  17061. $ref: '#/definitions/app.Response'
  17062. security:
  17063. - ApiKeyAuth: []
  17064. summary: 查询省市信息(不包括区)
  17065. tags:
  17066. - 定制【海商报业】
  17067. /HSBY/SetHsbyMyPackagesStatus:
  17068. post:
  17069. parameters:
  17070. - description: 提货单号
  17071. in: query
  17072. name: takeOrderID
  17073. required: true
  17074. type: string
  17075. - description: 资金账号
  17076. in: query
  17077. name: accountID
  17078. required: true
  17079. type: integer
  17080. produces:
  17081. - application/json
  17082. responses:
  17083. "200":
  17084. description: OK
  17085. schema:
  17086. $ref: '#/definitions/app.Response'
  17087. "500":
  17088. description: Internal Server Error
  17089. schema:
  17090. $ref: '#/definitions/app.Response'
  17091. security:
  17092. - ApiKeyAuth: []
  17093. summary: 设置我的包裹已收货状态
  17094. tags:
  17095. - 定制【海商报业】
  17096. /Market/QueryGoodsesByLoginID:
  17097. get:
  17098. parameters:
  17099. - description: 登录账号
  17100. in: query
  17101. name: loginID
  17102. required: true
  17103. type: integer
  17104. - description: 市场ID列表,格式:1,2,3
  17105. in: query
  17106. name: marketIDs
  17107. type: string
  17108. produces:
  17109. - application/json
  17110. responses:
  17111. "200":
  17112. description: OK
  17113. schema:
  17114. $ref: '#/definitions/models.Goods'
  17115. "500":
  17116. description: Internal Server Error
  17117. schema:
  17118. $ref: '#/definitions/app.Response'
  17119. security:
  17120. - ApiKeyAuth: []
  17121. summary: 获取登录账号有权限的商品信息
  17122. tags:
  17123. - 通用市场
  17124. /Market/QueryMarketRun:
  17125. get:
  17126. parameters:
  17127. - description: 市场ID,不传返回所有
  17128. in: query
  17129. name: marketID
  17130. type: integer
  17131. produces:
  17132. - application/json
  17133. responses:
  17134. "200":
  17135. description: OK
  17136. schema:
  17137. $ref: '#/definitions/models.Marketrun'
  17138. "500":
  17139. description: Internal Server Error
  17140. schema:
  17141. $ref: '#/definitions/app.Response'
  17142. security:
  17143. - ApiKeyAuth: []
  17144. summary: 查询市场运行信息
  17145. tags:
  17146. - 通用市场
  17147. /Market/QueryMarketsByLoginID:
  17148. get:
  17149. parameters:
  17150. - description: 登录账号
  17151. in: query
  17152. name: loginID
  17153. required: true
  17154. type: integer
  17155. produces:
  17156. - application/json
  17157. responses:
  17158. "200":
  17159. description: OK
  17160. schema:
  17161. $ref: '#/definitions/models.Market'
  17162. "500":
  17163. description: Internal Server Error
  17164. schema:
  17165. $ref: '#/definitions/app.Response'
  17166. security:
  17167. - ApiKeyAuth: []
  17168. summary: 获取登录账号有权限的市场信息
  17169. tags:
  17170. - 通用市场
  17171. /Order/QueryHisTradeDetail:
  17172. get:
  17173. parameters:
  17174. - description: 资金账户 - 格式:1,2,3
  17175. in: query
  17176. name: accountID
  17177. required: true
  17178. type: string
  17179. - description: 成交单号
  17180. in: query
  17181. name: tradeID
  17182. type: integer
  17183. - description: 委托单号
  17184. in: query
  17185. name: orderID
  17186. type: integer
  17187. - description: 交易模式 - 格式:1,2,3
  17188. in: query
  17189. name: tradeMode
  17190. type: string
  17191. - description: 委托单据类型
  17192. in: query
  17193. name: buildType
  17194. type: integer
  17195. - description: 成交类别 - 格式:1,2,3
  17196. in: query
  17197. name: tradeType
  17198. type: string
  17199. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17200. in: query
  17201. name: startDate
  17202. type: string
  17203. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17204. in: query
  17205. name: endDate
  17206. type: string
  17207. produces:
  17208. - application/json
  17209. responses:
  17210. "200":
  17211. description: OK
  17212. schema:
  17213. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  17214. "500":
  17215. description: Internal Server Error
  17216. schema:
  17217. $ref: '#/definitions/app.Response'
  17218. security:
  17219. - ApiKeyAuth: []
  17220. summary: 历史成交单查询(合约市场)
  17221. tags:
  17222. - 通用单据
  17223. /Order/QueryHisTradeOrderDetail:
  17224. get:
  17225. parameters:
  17226. - description: 资金账户 - 格式:1,2,3
  17227. in: query
  17228. name: accountID
  17229. required: true
  17230. type: string
  17231. - description: 交易模式 - 格式:1,2,3
  17232. in: query
  17233. name: tradeMode
  17234. type: string
  17235. - description: 委托状态 - 格式:1,2,3
  17236. in: query
  17237. name: orderStatus
  17238. type: string
  17239. - description: 委托单号
  17240. in: query
  17241. name: orderID
  17242. type: integer
  17243. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17244. in: query
  17245. name: startDate
  17246. type: string
  17247. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17248. in: query
  17249. name: endDate
  17250. type: string
  17251. produces:
  17252. - application/json
  17253. responses:
  17254. "200":
  17255. description: OK
  17256. schema:
  17257. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  17258. "500":
  17259. description: Internal Server Error
  17260. schema:
  17261. $ref: '#/definitions/app.Response'
  17262. security:
  17263. - ApiKeyAuth: []
  17264. summary: 历史委托单查询请求(合约市场)
  17265. tags:
  17266. - 通用单据
  17267. /Order/QueryTradeDetail:
  17268. get:
  17269. parameters:
  17270. - description: 资金账户 - 格式:1,2,3
  17271. in: query
  17272. name: accountID
  17273. required: true
  17274. type: string
  17275. - description: 成交单号
  17276. in: query
  17277. name: tradeID
  17278. type: integer
  17279. - description: 委托单号
  17280. in: query
  17281. name: orderID
  17282. type: integer
  17283. - description: 交易模式 - 格式:1,2,3
  17284. in: query
  17285. name: tradeMode
  17286. type: string
  17287. - description: 委托单据类型
  17288. in: query
  17289. name: buildType
  17290. type: integer
  17291. - description: 成交类别 - 格式:1,2,3
  17292. in: query
  17293. name: tradeType
  17294. type: string
  17295. produces:
  17296. - application/json
  17297. responses:
  17298. "200":
  17299. description: OK
  17300. schema:
  17301. $ref: '#/definitions/order.QueryTradeDetailRsp'
  17302. "500":
  17303. description: Internal Server Error
  17304. schema:
  17305. $ref: '#/definitions/app.Response'
  17306. security:
  17307. - ApiKeyAuth: []
  17308. summary: 成交单查询(合约市场)
  17309. tags:
  17310. - 通用单据
  17311. /Order/QueryTradeOrderDetail:
  17312. get:
  17313. parameters:
  17314. - description: 资金账户 - 格式:1,2,3
  17315. in: query
  17316. name: accountID
  17317. required: true
  17318. type: string
  17319. - description: 交易模式 - 格式:1,2,3
  17320. in: query
  17321. name: tradeMode
  17322. type: string
  17323. - description: 委托状态 - 格式:1,2,3
  17324. in: query
  17325. name: orderStatus
  17326. type: string
  17327. - description: 委托单号
  17328. in: query
  17329. name: orderID
  17330. type: integer
  17331. produces:
  17332. - application/json
  17333. responses:
  17334. "200":
  17335. description: OK
  17336. schema:
  17337. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  17338. "500":
  17339. description: Internal Server Error
  17340. schema:
  17341. $ref: '#/definitions/app.Response'
  17342. security:
  17343. - ApiKeyAuth: []
  17344. summary: 委托单查询请求(合约市场)
  17345. tags:
  17346. - 通用单据
  17347. /Order/QueryTradePosition:
  17348. get:
  17349. parameters:
  17350. - description: 资金账户 - 格式:1,2,3
  17351. in: query
  17352. name: accountID
  17353. required: true
  17354. type: string
  17355. - description: 交易模式 - 格式:1,2,3
  17356. in: query
  17357. name: tradeMode
  17358. type: string
  17359. produces:
  17360. - application/json
  17361. responses:
  17362. "200":
  17363. description: OK
  17364. schema:
  17365. $ref: '#/definitions/order.QueryTradePositionRsp'
  17366. "500":
  17367. description: Internal Server Error
  17368. schema:
  17369. $ref: '#/definitions/app.Response'
  17370. security:
  17371. - ApiKeyAuth: []
  17372. summary: 持仓汇总查询(合约市场)
  17373. tags:
  17374. - 通用单据
  17375. /Quote/QueryHistoryDatas:
  17376. get:
  17377. parameters:
  17378. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  17379. 日线'
  17380. in: query
  17381. name: cycleType
  17382. required: true
  17383. type: integer
  17384. - description: 商品代码
  17385. in: query
  17386. name: goodsCode
  17387. required: true
  17388. type: string
  17389. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17390. in: query
  17391. name: startTime
  17392. type: string
  17393. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17394. in: query
  17395. name: endTime
  17396. type: string
  17397. - description: 条数
  17398. in: query
  17399. name: count
  17400. type: integer
  17401. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17402. in: query
  17403. name: isAsc
  17404. type: boolean
  17405. produces:
  17406. - application/json
  17407. responses:
  17408. "200":
  17409. description: OK
  17410. schema:
  17411. $ref: '#/definitions/quote.HistoryData'
  17412. "500":
  17413. description: Internal Server Error
  17414. schema:
  17415. $ref: '#/definitions/app.Response'
  17416. security:
  17417. - ApiKeyAuth: []
  17418. summary: 查询行情历史数据
  17419. tags:
  17420. - 行情服务
  17421. /Quote/QueryHistoryTikDatas:
  17422. get:
  17423. parameters:
  17424. - description: 商品代码
  17425. in: query
  17426. name: goodsCode
  17427. required: true
  17428. type: string
  17429. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17430. in: query
  17431. name: startTime
  17432. type: string
  17433. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17434. in: query
  17435. name: endTime
  17436. type: string
  17437. - description: 条数
  17438. in: query
  17439. name: count
  17440. type: integer
  17441. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17442. in: query
  17443. name: isAsc
  17444. type: boolean
  17445. produces:
  17446. - application/json
  17447. responses:
  17448. "200":
  17449. description: OK
  17450. schema:
  17451. $ref: '#/definitions/quote.HistoryTikData'
  17452. "500":
  17453. description: Internal Server Error
  17454. schema:
  17455. $ref: '#/definitions/app.Response'
  17456. security:
  17457. - ApiKeyAuth: []
  17458. summary: 查询行情Tik数据
  17459. tags:
  17460. - 行情服务
  17461. /Quote/QueryQuoteDay:
  17462. get:
  17463. parameters:
  17464. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  17465. in: query
  17466. name: goodsCodes
  17467. required: true
  17468. type: string
  17469. produces:
  17470. - application/json
  17471. responses:
  17472. "200":
  17473. description: OK
  17474. schema:
  17475. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  17476. "500":
  17477. description: Internal Server Error
  17478. schema:
  17479. $ref: '#/definitions/app.Response'
  17480. security:
  17481. - ApiKeyAuth: []
  17482. summary: 获取商品盘面信息
  17483. tags:
  17484. - 行情服务
  17485. /Quote/QueryTSData:
  17486. get:
  17487. parameters:
  17488. - description: 商品代码
  17489. in: query
  17490. name: goodsCode
  17491. required: true
  17492. type: string
  17493. produces:
  17494. - application/json
  17495. responses:
  17496. "200":
  17497. description: OK
  17498. schema:
  17499. $ref: '#/definitions/quote.QueryTSDataRsp'
  17500. "500":
  17501. description: Internal Server Error
  17502. schema:
  17503. $ref: '#/definitions/app.Response'
  17504. security:
  17505. - ApiKeyAuth: []
  17506. summary: 分时图数据查询
  17507. tags:
  17508. - 行情服务
  17509. /SZDZ/QueryConvertConfig:
  17510. get:
  17511. parameters:
  17512. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  17513. 6:交易转花生米(不设置)
  17514. in: query
  17515. name: convertType
  17516. type: integer
  17517. - description: 外部商品代码[JD\PD]
  17518. in: query
  17519. name: outerGoodsCode
  17520. type: string
  17521. - description: 内部商品ID列表[交易],格式:1,2,3
  17522. in: query
  17523. name: innerGoodsIDs
  17524. type: string
  17525. produces:
  17526. - application/json
  17527. responses:
  17528. "200":
  17529. description: OK
  17530. schema:
  17531. $ref: '#/definitions/models.Szdz3convertconfig'
  17532. "500":
  17533. description: Internal Server Error
  17534. schema:
  17535. $ref: '#/definitions/app.Response'
  17536. security:
  17537. - ApiKeyAuth: []
  17538. summary: 查询交易系统转换设置
  17539. tags:
  17540. - 定制【尚志大宗】
  17541. /SZDZ/QueryConvertLog:
  17542. get:
  17543. parameters:
  17544. - description: 资金账户 - 格式:1,2,3
  17545. in: query
  17546. name: accountID
  17547. required: true
  17548. type: string
  17549. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17550. in: query
  17551. name: startDate
  17552. type: string
  17553. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17554. in: query
  17555. name: endDate
  17556. type: string
  17557. produces:
  17558. - application/json
  17559. responses:
  17560. "200":
  17561. description: OK
  17562. schema:
  17563. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  17564. "500":
  17565. description: Internal Server Error
  17566. schema:
  17567. $ref: '#/definitions/app.Response'
  17568. security:
  17569. - ApiKeyAuth: []
  17570. summary: 交易系统转换流水查询
  17571. tags:
  17572. - 定制【尚志大宗】
  17573. /SZDZ/QueryGoodsPickup:
  17574. get:
  17575. parameters:
  17576. - description: 资金账户 - 格式:1,2,3
  17577. in: query
  17578. name: accountID
  17579. required: true
  17580. type: string
  17581. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17582. in: query
  17583. name: takeOrderStatus
  17584. type: integer
  17585. produces:
  17586. - application/json
  17587. responses:
  17588. "200":
  17589. description: OK
  17590. schema:
  17591. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  17592. "500":
  17593. description: Internal Server Error
  17594. schema:
  17595. $ref: '#/definitions/app.Response'
  17596. security:
  17597. - ApiKeyAuth: []
  17598. summary: 商品提货单查询
  17599. tags:
  17600. - 定制【尚志大宗】
  17601. /SZDZ/QueryRecieptOrder:
  17602. get:
  17603. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17604. parameters:
  17605. - description: 页码
  17606. in: query
  17607. name: page
  17608. type: integer
  17609. - description: 每页条数
  17610. in: query
  17611. name: pagesize
  17612. type: integer
  17613. - description: 商品ID
  17614. in: query
  17615. name: goodsID
  17616. required: true
  17617. type: integer
  17618. - description: 所属账户名称
  17619. in: query
  17620. name: accountName
  17621. type: string
  17622. - description: 市场ID
  17623. in: query
  17624. name: marketID
  17625. type: integer
  17626. - description: 方向 - 0:买 1:卖
  17627. in: query
  17628. name: buyorsell
  17629. required: true
  17630. type: integer
  17631. produces:
  17632. - application/json
  17633. responses:
  17634. "200":
  17635. description: OK
  17636. schema:
  17637. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  17638. "500":
  17639. description: Internal Server Error
  17640. schema:
  17641. $ref: '#/definitions/app.Response'
  17642. security:
  17643. - ApiKeyAuth: []
  17644. summary: 点选挂牌委托单据查询(摘牌大厅)
  17645. tags:
  17646. - 定制【尚志大宗】
  17647. /SZDZ/QuerySZDZTradePosition:
  17648. get:
  17649. parameters:
  17650. - description: 资金账户
  17651. in: query
  17652. name: accountID
  17653. required: true
  17654. type: integer
  17655. produces:
  17656. - application/json
  17657. responses:
  17658. "200":
  17659. description: OK
  17660. schema:
  17661. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  17662. "500":
  17663. description: Internal Server Error
  17664. schema:
  17665. $ref: '#/definitions/app.Response'
  17666. security:
  17667. - ApiKeyAuth: []
  17668. summary: 持仓汇总查询(尚志大宗)
  17669. tags:
  17670. - 定制【尚志大宗】
  17671. /SZDZ/SearchWhite:
  17672. get:
  17673. parameters:
  17674. - description: 用户ID
  17675. in: query
  17676. name: userID
  17677. required: true
  17678. type: integer
  17679. produces:
  17680. - application/json
  17681. responses:
  17682. "200":
  17683. description: OK
  17684. schema:
  17685. $ref: '#/definitions/models.Szdz3searchwhitelist'
  17686. "500":
  17687. description: Internal Server Error
  17688. schema:
  17689. $ref: '#/definitions/app.Response'
  17690. security:
  17691. - ApiKeyAuth: []
  17692. summary: 搜索白名单
  17693. tags:
  17694. - 定制【尚志大宗】
  17695. /Search/SearchGoodses:
  17696. get:
  17697. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  17698. parameters:
  17699. - description: 检索内容
  17700. in: query
  17701. name: content
  17702. required: true
  17703. type: string
  17704. - description: 交易模式,格式:1,2,3
  17705. in: query
  17706. name: tradeModes
  17707. type: string
  17708. produces:
  17709. - application/json
  17710. responses:
  17711. "200":
  17712. description: OK
  17713. schema:
  17714. $ref: '#/definitions/models.SearchGoods'
  17715. "500":
  17716. description: Internal Server Error
  17717. schema:
  17718. $ref: '#/definitions/app.Response'
  17719. summary: 检索商品信息
  17720. tags:
  17721. - 检索服务
  17722. /TaAccount/GetTaAccounts:
  17723. get:
  17724. parameters:
  17725. - description: 登录账户
  17726. in: query
  17727. name: loginID
  17728. required: true
  17729. type: integer
  17730. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17731. in: query
  17732. name: taAccountType
  17733. type: integer
  17734. produces:
  17735. - application/json
  17736. responses:
  17737. "200":
  17738. description: OK
  17739. schema:
  17740. $ref: '#/definitions/models.Taaccount'
  17741. "500":
  17742. description: Internal Server Error
  17743. schema:
  17744. $ref: '#/definitions/app.Response'
  17745. security:
  17746. - ApiKeyAuth: []
  17747. summary: 获取资金账户信息
  17748. tags:
  17749. - 资金账户
  17750. /TaAccount/QueryAmountLog:
  17751. get:
  17752. parameters:
  17753. - description: 页码
  17754. in: query
  17755. name: page
  17756. type: integer
  17757. - description: 每页条数
  17758. in: query
  17759. name: pagesize
  17760. type: integer
  17761. - description: 资金账户 - 格式:1,2,3
  17762. in: query
  17763. name: accountID
  17764. required: true
  17765. type: string
  17766. - description: 资金操作类型 - 格式:1,2,3
  17767. in: query
  17768. name: OperateType
  17769. type: string
  17770. produces:
  17771. - application/json
  17772. responses:
  17773. "200":
  17774. description: OK
  17775. schema:
  17776. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  17777. "500":
  17778. description: Internal Server Error
  17779. schema:
  17780. $ref: '#/definitions/app.Response'
  17781. security:
  17782. - ApiKeyAuth: []
  17783. summary: 资金流水查询(当前)
  17784. tags:
  17785. - 资金账户
  17786. /TaAccount/QueryHisAmountLog:
  17787. get:
  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: 资金账户 - 格式:1,2,3
  17798. in: query
  17799. name: accountID
  17800. required: true
  17801. type: string
  17802. - description: 资金操作类型 - 格式:1,2,3
  17803. in: query
  17804. name: OperateType
  17805. type: string
  17806. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17807. in: query
  17808. name: startDate
  17809. type: string
  17810. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17811. in: query
  17812. name: endDate
  17813. type: string
  17814. produces:
  17815. - application/json
  17816. responses:
  17817. "200":
  17818. description: OK
  17819. schema:
  17820. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  17821. "500":
  17822. description: Internal Server Error
  17823. schema:
  17824. $ref: '#/definitions/app.Response'
  17825. security:
  17826. - ApiKeyAuth: []
  17827. summary: 资金流水查询(历史)
  17828. tags:
  17829. - 资金账户
  17830. /Trade/QueryRecieptOrder:
  17831. get:
  17832. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17833. parameters:
  17834. - description: 页码
  17835. in: query
  17836. name: page
  17837. type: integer
  17838. - description: 每页条数
  17839. in: query
  17840. name: pagesize
  17841. type: integer
  17842. - description: 商品ID
  17843. in: query
  17844. name: goodsID
  17845. required: true
  17846. type: integer
  17847. - description: 所属账户名称
  17848. in: query
  17849. name: accountName
  17850. type: string
  17851. - description: 市场ID
  17852. in: query
  17853. name: marketID
  17854. type: integer
  17855. - description: 方向 - 0:买 1:卖
  17856. in: query
  17857. name: buyorsell
  17858. required: true
  17859. type: integer
  17860. produces:
  17861. - application/json
  17862. responses:
  17863. "200":
  17864. description: OK
  17865. schema:
  17866. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  17867. "500":
  17868. description: Internal Server Error
  17869. schema:
  17870. $ref: '#/definitions/app.Response'
  17871. security:
  17872. - ApiKeyAuth: []
  17873. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  17874. tags:
  17875. - 通用交易
  17876. /User/AddMessageBoard:
  17877. post:
  17878. parameters:
  17879. - description: 用户ID
  17880. in: query
  17881. name: userID
  17882. required: true
  17883. type: integer
  17884. - description: 留言信息
  17885. in: query
  17886. name: message
  17887. required: true
  17888. type: string
  17889. - description: 联系电话
  17890. in: query
  17891. name: contactNum
  17892. required: true
  17893. type: string
  17894. produces:
  17895. - application/json
  17896. responses:
  17897. "200":
  17898. description: OK
  17899. schema:
  17900. $ref: '#/definitions/app.Response'
  17901. "500":
  17902. description: Internal Server Error
  17903. schema:
  17904. $ref: '#/definitions/app.Response'
  17905. security:
  17906. - ApiKeyAuth: []
  17907. summary: 添加用户留言板信息
  17908. tags:
  17909. - 用户信息
  17910. /User/AddUserFavoriteGoods:
  17911. post:
  17912. parameters:
  17913. - description: 用户ID
  17914. in: query
  17915. name: userID
  17916. required: true
  17917. type: integer
  17918. - description: 商品ID
  17919. in: query
  17920. name: goodsID
  17921. required: true
  17922. type: integer
  17923. produces:
  17924. - application/json
  17925. responses:
  17926. "200":
  17927. description: OK
  17928. schema:
  17929. $ref: '#/definitions/app.Response'
  17930. "500":
  17931. description: Internal Server Error
  17932. schema:
  17933. $ref: '#/definitions/app.Response'
  17934. security:
  17935. - ApiKeyAuth: []
  17936. summary: 添加用户商品收藏信息
  17937. tags:
  17938. - 用户信息
  17939. /User/GetLoginID:
  17940. get:
  17941. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  17942. parameters:
  17943. - description: 登录代码
  17944. in: query
  17945. name: username
  17946. required: true
  17947. type: string
  17948. produces:
  17949. - application/json
  17950. responses:
  17951. "200":
  17952. description: OK
  17953. schema:
  17954. $ref: '#/definitions/app.Response'
  17955. "500":
  17956. description: Internal Server Error
  17957. schema:
  17958. $ref: '#/definitions/app.Response'
  17959. summary: 获取登录ID
  17960. tags:
  17961. - 用户信息
  17962. /User/GetUserAccount:
  17963. get:
  17964. parameters:
  17965. - description: 用户ID
  17966. in: query
  17967. name: userID
  17968. required: true
  17969. type: integer
  17970. produces:
  17971. - application/json
  17972. responses:
  17973. "200":
  17974. description: OK
  17975. schema:
  17976. $ref: '#/definitions/models.Useraccount'
  17977. "500":
  17978. description: Internal Server Error
  17979. schema:
  17980. $ref: '#/definitions/app.Response'
  17981. security:
  17982. - ApiKeyAuth: []
  17983. summary: 获取用户账号信息
  17984. tags:
  17985. - 用户信息
  17986. /User/GetUserAuthStatus:
  17987. get:
  17988. parameters:
  17989. - description: 用户ID
  17990. in: query
  17991. name: userID
  17992. required: true
  17993. type: integer
  17994. produces:
  17995. - application/json
  17996. responses:
  17997. "200":
  17998. description: OK
  17999. schema:
  18000. $ref: '#/definitions/app.Response'
  18001. "500":
  18002. description: Internal Server Error
  18003. schema:
  18004. $ref: '#/definitions/app.Response'
  18005. security:
  18006. - ApiKeyAuth: []
  18007. summary: 获取用户实名认证状态
  18008. tags:
  18009. - 用户信息
  18010. /User/LoginQuery:
  18011. get:
  18012. parameters:
  18013. - description: 登录账号
  18014. in: query
  18015. name: loginID
  18016. required: true
  18017. type: integer
  18018. produces:
  18019. - application/json
  18020. responses:
  18021. "200":
  18022. description: OK
  18023. schema:
  18024. $ref: '#/definitions/user.LoginQueryRsp'
  18025. "500":
  18026. description: Internal Server Error
  18027. schema:
  18028. $ref: '#/definitions/app.Response'
  18029. security:
  18030. - ApiKeyAuth: []
  18031. summary: 账户登录后信息查询
  18032. tags:
  18033. - 用户信息
  18034. /User/QueryMessageBoard:
  18035. get:
  18036. parameters:
  18037. - description: 用户ID
  18038. in: query
  18039. name: userID
  18040. required: true
  18041. type: integer
  18042. produces:
  18043. - application/json
  18044. responses:
  18045. "200":
  18046. description: OK
  18047. schema:
  18048. $ref: '#/definitions/models.Messageboard'
  18049. "500":
  18050. description: Internal Server Error
  18051. schema:
  18052. $ref: '#/definitions/app.Response'
  18053. security:
  18054. - ApiKeyAuth: []
  18055. summary: 获取用户留言板信息
  18056. tags:
  18057. - 用户信息
  18058. /User/QueryUserFavoriteGoodses:
  18059. get:
  18060. parameters:
  18061. - description: 用户ID
  18062. in: query
  18063. name: userID
  18064. required: true
  18065. type: integer
  18066. produces:
  18067. - application/json
  18068. responses:
  18069. "200":
  18070. description: OK
  18071. schema:
  18072. $ref: '#/definitions/models.Userfavoritegoods'
  18073. "500":
  18074. description: Internal Server Error
  18075. schema:
  18076. $ref: '#/definitions/app.Response'
  18077. security:
  18078. - ApiKeyAuth: []
  18079. summary: 获取用户商品收藏信息
  18080. tags:
  18081. - 用户信息
  18082. /User/QueryUserInfo:
  18083. get:
  18084. parameters:
  18085. - description: 用户ID
  18086. in: query
  18087. name: userID
  18088. required: true
  18089. type: integer
  18090. - description: 是否解密
  18091. in: query
  18092. name: isDecrypt
  18093. type: boolean
  18094. produces:
  18095. - application/json
  18096. responses:
  18097. "200":
  18098. description: OK
  18099. schema:
  18100. $ref: '#/definitions/models.Userinfo'
  18101. "500":
  18102. description: Internal Server Error
  18103. schema:
  18104. $ref: '#/definitions/app.Response'
  18105. security:
  18106. - ApiKeyAuth: []
  18107. summary: 获取用户信息
  18108. tags:
  18109. - 用户信息
  18110. /User/QueryUserReferNum:
  18111. get:
  18112. parameters:
  18113. - description: 用户ID
  18114. in: query
  18115. name: userID
  18116. required: true
  18117. type: integer
  18118. produces:
  18119. - application/json
  18120. responses:
  18121. "200":
  18122. description: OK
  18123. schema:
  18124. $ref: '#/definitions/app.Response'
  18125. "500":
  18126. description: Internal Server Error
  18127. schema:
  18128. $ref: '#/definitions/app.Response'
  18129. summary: 获取用户邀请码
  18130. tags:
  18131. - 用户信息
  18132. /User/RemoveUserFavoriteGoods:
  18133. post:
  18134. parameters:
  18135. - description: 用户ID
  18136. in: query
  18137. name: userID
  18138. required: true
  18139. type: integer
  18140. - description: 商品ID
  18141. in: query
  18142. name: goodsID
  18143. required: true
  18144. type: integer
  18145. produces:
  18146. - application/json
  18147. responses:
  18148. "200":
  18149. description: OK
  18150. schema:
  18151. $ref: '#/definitions/app.Response'
  18152. "500":
  18153. description: Internal Server Error
  18154. schema:
  18155. $ref: '#/definitions/app.Response'
  18156. security:
  18157. - ApiKeyAuth: []
  18158. summary: 移除用户商品收藏信息
  18159. tags:
  18160. - 用户信息
  18161. /User/UpdateUserAccountStatus:
  18162. post:
  18163. parameters:
  18164. - description: 用户ID
  18165. in: query
  18166. name: userID
  18167. required: true
  18168. type: integer
  18169. - description: 账户状态 - 4:正常 6:注销(停用)
  18170. in: query
  18171. name: accountStatus
  18172. required: true
  18173. type: integer
  18174. produces:
  18175. - application/json
  18176. responses:
  18177. "200":
  18178. description: OK
  18179. schema:
  18180. $ref: '#/definitions/app.Response'
  18181. "500":
  18182. description: Internal Server Error
  18183. schema:
  18184. $ref: '#/definitions/app.Response'
  18185. security:
  18186. - ApiKeyAuth: []
  18187. summary: 更新用户状态
  18188. tags:
  18189. - 用户信息
  18190. /WRTrade/GetAllDeliveryGoods:
  18191. get:
  18192. produces:
  18193. - application/json
  18194. - application/json
  18195. responses:
  18196. "200":
  18197. description: OK
  18198. schema:
  18199. $ref: '#/definitions/app.Response'
  18200. "500":
  18201. description: Internal Server Error
  18202. schema:
  18203. $ref: '#/definitions/app.Response'
  18204. security:
  18205. - ApiKeyAuth: []
  18206. - ApiKeyAuth: []
  18207. summary: 获取带仓单分类的种类信息
  18208. tags:
  18209. - 仓单贸易
  18210. - 仓单贸易
  18211. securityDefinitions:
  18212. ApiKeyAuth:
  18213. in: header
  18214. name: Authorization
  18215. type: apiKey
  18216. swagger: "2.0"