swagger.yaml 493 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAreaStockApplyRsp:
  935. $ref: '#/definitions/models.ErmcpAreaStockApply'
  936. ermcp.QryAvalidGPRsp:
  937. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  938. ermcp.QryBusinessDjRsp:
  939. properties:
  940. amount:
  941. description: 点价金额=(点价价格+升贴水)*点价数量
  942. type: number
  943. applyid:
  944. description: 申请人
  945. type: string
  946. applyname:
  947. description: 申请人名称
  948. type: string
  949. applystatus:
  950. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  951. type: integer
  952. applytime:
  953. description: 申请时间
  954. type: string
  955. attachurl:
  956. description: 附件
  957. type: string
  958. auditid:
  959. description: 审核人ID
  960. type: string
  961. auditname:
  962. description: 审核人名称
  963. type: string
  964. audittime:
  965. description: 审核时间
  966. type: string
  967. buyusername:
  968. description: 采购方名称
  969. type: string
  970. contractno:
  971. description: 合同编号
  972. type: string
  973. contractstatus:
  974. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  975. type: integer
  976. contracttype:
  977. description: 现货合同类型 - 1:采购 -1:销售
  978. type: integer
  979. deliverygoodscode:
  980. description: 现货品种代码
  981. type: string
  982. deliverygoodsid:
  983. description: 现货商品ID
  984. type: integer
  985. deliverygoodsname:
  986. description: 现货品种名称
  987. type: string
  988. enumdicname:
  989. description: 单位名称
  990. type: string
  991. goodscode:
  992. description: 点价合约
  993. type: string
  994. goodsname:
  995. description: 商品名称
  996. type: string
  997. operateapplyid:
  998. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  999. type: string
  1000. operateapplytype:
  1001. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1002. type: integer
  1003. pricedPrice:
  1004. description: 点价价格(非必填)
  1005. type: number
  1006. pricedQty:
  1007. description: 点价数量(非必填)
  1008. type: number
  1009. pricemove:
  1010. description: 升贴水
  1011. type: number
  1012. pricetype:
  1013. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1014. type: integer
  1015. relatedid:
  1016. description: 现货合同ID
  1017. type: string
  1018. sellusername:
  1019. description: 销售方名字
  1020. type: string
  1021. userid:
  1022. description: 用户ID
  1023. type: integer
  1024. wrstandardcode:
  1025. description: 品类代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 品类id
  1029. type: integer
  1030. wrstandardname:
  1031. description: 品类名称
  1032. type: string
  1033. type: object
  1034. ermcp.QryBussinessFpRsp:
  1035. properties:
  1036. applyid:
  1037. description: 申请人
  1038. type: string
  1039. applyname:
  1040. description: 申请人名称
  1041. type: string
  1042. applystatus:
  1043. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1044. type: integer
  1045. applytime:
  1046. description: 申请时间
  1047. type: string
  1048. attachurl:
  1049. description: 附件
  1050. type: string
  1051. auditid:
  1052. description: 审核人ID
  1053. type: string
  1054. auditname:
  1055. description: 审核人名称
  1056. type: string
  1057. audittime:
  1058. description: 审核时间
  1059. type: string
  1060. buyusername:
  1061. description: 采购方名称
  1062. type: string
  1063. contractno:
  1064. description: 合同编号
  1065. type: string
  1066. contractstatus:
  1067. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1068. type: integer
  1069. contracttype:
  1070. description: 现货合同类型 - 1:采购 -1:销售
  1071. type: integer
  1072. deliverygoodscode:
  1073. description: 现货品种代码
  1074. type: string
  1075. deliverygoodsid:
  1076. description: 现货商品ID
  1077. type: integer
  1078. deliverygoodsname:
  1079. description: 现货品种名称
  1080. type: string
  1081. enumdicname:
  1082. description: 单位名称
  1083. type: string
  1084. goodscode:
  1085. description: 点价合约
  1086. type: string
  1087. goodsname:
  1088. description: 商品名称
  1089. type: string
  1090. invoiceAmount:
  1091. description: 已开收票金额(销售为开票,采购为收票)
  1092. type: number
  1093. operateapplyid:
  1094. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1095. type: string
  1096. operateapplytype:
  1097. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1098. type: integer
  1099. pricemove:
  1100. description: 升贴水
  1101. type: number
  1102. pricetype:
  1103. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1104. type: integer
  1105. relatedid:
  1106. description: 现货合同ID
  1107. type: string
  1108. sellusername:
  1109. description: 销售方名字
  1110. type: string
  1111. userid:
  1112. description: 用户ID
  1113. type: integer
  1114. wrstandardcode:
  1115. description: 品类代码
  1116. type: string
  1117. wrstandardid:
  1118. description: 品类id
  1119. type: integer
  1120. wrstandardname:
  1121. description: 品类名称
  1122. type: string
  1123. type: object
  1124. ermcp.QryBussinessJsExRsp:
  1125. properties:
  1126. applyid:
  1127. description: 申请人
  1128. type: string
  1129. applyname:
  1130. description: 申请人名称
  1131. type: string
  1132. applystatus:
  1133. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1134. type: integer
  1135. applytime:
  1136. description: 申请时间
  1137. type: string
  1138. attachurl:
  1139. description: 附件
  1140. type: string
  1141. auditid:
  1142. description: 审核人ID
  1143. type: string
  1144. auditname:
  1145. description: 审核人名称
  1146. type: string
  1147. audittime:
  1148. description: 审核时间
  1149. type: string
  1150. buyusername:
  1151. description: 采购方名称
  1152. type: string
  1153. contractno:
  1154. description: 合同编号
  1155. type: string
  1156. contractstatus:
  1157. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1158. type: integer
  1159. contracttype:
  1160. description: 现货合同类型 - 1:采购 -1:销售
  1161. type: integer
  1162. deliverygoodscode:
  1163. description: 现货品种代码
  1164. type: string
  1165. deliverygoodsid:
  1166. description: 现货商品ID
  1167. type: integer
  1168. deliverygoodsname:
  1169. description: 现货品种名称
  1170. type: string
  1171. enumdicname:
  1172. description: 单位名称
  1173. type: string
  1174. goodscode:
  1175. description: 点价合约
  1176. type: string
  1177. goodsname:
  1178. description: 商品名称
  1179. type: string
  1180. operateapplyid:
  1181. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1182. type: string
  1183. operateapplytype:
  1184. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1185. type: integer
  1186. pricemove:
  1187. description: 升贴水
  1188. type: number
  1189. pricetype:
  1190. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1191. type: integer
  1192. reckontype:
  1193. description: 结算类型
  1194. type: string
  1195. reckonvalue:
  1196. description: 值
  1197. type: number
  1198. relatedid:
  1199. description: 现货合同ID
  1200. type: string
  1201. sellusername:
  1202. description: 销售方名字
  1203. type: string
  1204. userid:
  1205. description: 用户ID
  1206. type: integer
  1207. wrstandardcode:
  1208. description: 品类代码
  1209. type: string
  1210. wrstandardid:
  1211. description: 品类id
  1212. type: integer
  1213. wrstandardname:
  1214. description: 品类名称
  1215. type: string
  1216. type: object
  1217. ermcp.QryBussinessJsRsp:
  1218. properties:
  1219. addmargin:
  1220. description: 追加保证金(非必填)
  1221. type: number
  1222. applyid:
  1223. description: 申请人
  1224. type: string
  1225. applyname:
  1226. description: 申请人名称
  1227. type: string
  1228. applystatus:
  1229. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1230. type: integer
  1231. applytime:
  1232. description: 申请时间
  1233. type: string
  1234. attachurl:
  1235. description: 附件
  1236. type: string
  1237. auditid:
  1238. description: 审核人ID
  1239. type: string
  1240. auditname:
  1241. description: 审核人名称
  1242. type: string
  1243. audittime:
  1244. description: 审核时间
  1245. type: string
  1246. buyusername:
  1247. description: 采购方名称
  1248. type: string
  1249. contractno:
  1250. description: 合同编号
  1251. type: string
  1252. contractstatus:
  1253. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1254. type: integer
  1255. contracttype:
  1256. description: 现货合同类型 - 1:采购 -1:销售
  1257. type: integer
  1258. decmargin:
  1259. description: 减少保证金(非必填)
  1260. type: number
  1261. deliverygoodscode:
  1262. description: 现货品种代码
  1263. type: string
  1264. deliverygoodsid:
  1265. description: 现货商品ID
  1266. type: integer
  1267. deliverygoodsname:
  1268. description: 现货品种名称
  1269. type: string
  1270. enumdicname:
  1271. description: 单位名称
  1272. type: string
  1273. goodscode:
  1274. description: 点价合约
  1275. type: string
  1276. goodsname:
  1277. description: 商品名称
  1278. type: string
  1279. operateapplyid:
  1280. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1281. type: string
  1282. operateapplytype:
  1283. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1284. type: integer
  1285. pricemove:
  1286. description: 升贴水
  1287. type: number
  1288. pricetype:
  1289. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1290. type: integer
  1291. reckonadjustamount:
  1292. description: 结算调整金额(非必填)
  1293. type: number
  1294. reckonosamount:
  1295. description: 结算溢短金额(非必填)
  1296. type: number
  1297. reckonotheramount:
  1298. description: 结算其他费用(非必填)
  1299. type: number
  1300. reckonrealqty:
  1301. description: 结算实际数量(非必填)
  1302. type: number
  1303. relatedid:
  1304. description: 现货合同ID
  1305. type: string
  1306. sellusername:
  1307. description: 销售方名字
  1308. type: string
  1309. userid:
  1310. description: 用户ID
  1311. type: integer
  1312. wrstandardcode:
  1313. description: 品类代码
  1314. type: string
  1315. wrstandardid:
  1316. description: 品类id
  1317. type: integer
  1318. wrstandardname:
  1319. description: 品类名称
  1320. type: string
  1321. type: object
  1322. ermcp.QryBussinessKxRsp:
  1323. properties:
  1324. applyid:
  1325. description: 申请人
  1326. type: string
  1327. applyname:
  1328. description: 申请人名称
  1329. type: string
  1330. applystatus:
  1331. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1332. type: integer
  1333. applytime:
  1334. description: 申请时间
  1335. type: string
  1336. attachurl:
  1337. description: 附件
  1338. type: string
  1339. auditid:
  1340. description: 审核人ID
  1341. type: string
  1342. auditname:
  1343. description: 审核人名称
  1344. type: string
  1345. audittime:
  1346. description: 审核时间
  1347. type: string
  1348. buyusername:
  1349. description: 采购方名称
  1350. type: string
  1351. contractno:
  1352. description: 合同编号
  1353. type: string
  1354. contractstatus:
  1355. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1356. type: integer
  1357. contracttype:
  1358. description: 现货合同类型 - 1:采购 -1:销售
  1359. type: integer
  1360. deductamount:
  1361. description: 退款(非必填)
  1362. type: number
  1363. deliverygoodscode:
  1364. description: 现货品种代码
  1365. type: string
  1366. deliverygoodsid:
  1367. description: 现货商品ID
  1368. type: integer
  1369. deliverygoodsname:
  1370. description: 现货品种名称
  1371. type: string
  1372. enumdicname:
  1373. description: 单位名称
  1374. type: string
  1375. goodscode:
  1376. description: 点价合约
  1377. type: string
  1378. goodsname:
  1379. description: 商品名称
  1380. type: string
  1381. kxtype:
  1382. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1383. type: integer
  1384. operateapplyid:
  1385. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1386. type: string
  1387. operateapplytype:
  1388. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1389. type: integer
  1390. payamount:
  1391. description: 收付款(非必填)
  1392. type: number
  1393. pricemove:
  1394. description: 升贴水
  1395. type: number
  1396. pricetype:
  1397. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1398. type: integer
  1399. relatedid:
  1400. description: 现货合同ID
  1401. type: string
  1402. sellusername:
  1403. description: 销售方名字
  1404. type: string
  1405. userid:
  1406. description: 用户ID
  1407. type: integer
  1408. wrstandardcode:
  1409. description: 品类代码
  1410. type: string
  1411. wrstandardid:
  1412. description: 品类id
  1413. type: integer
  1414. wrstandardname:
  1415. description: 品类名称
  1416. type: string
  1417. type: object
  1418. ermcp.QryErmcpRsp:
  1419. $ref: '#/definitions/models.ErmcpModel'
  1420. ermcp.QryGGCovertCfgRsp:
  1421. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1422. ermcp.QryHedgePlanRsp:
  1423. $ref: '#/definitions/models.ErmcpHedgePlan'
  1424. ermcp.QryMGChangeLogRsp:
  1425. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1426. ermcp.QryMiddleGoodsDetailRsp:
  1427. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1428. ermcp.QryMiddleGoodsRsp:
  1429. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1430. ermcp.QryOPLogRsp:
  1431. $ref: '#/definitions/models.ErmcpOPLogModel'
  1432. ermcp.QryReportDaySpotDetailRsp:
  1433. $ref: '#/definitions/models.ErmcpReportOPLog'
  1434. ermcp.QryReportExposureDayRsp:
  1435. $ref: '#/definitions/models.ErmcpReportDayExposure'
  1436. ermcp.QryReportFinanceDayRsp:
  1437. $ref: '#/definitions/models.ErmcpReportDayFR'
  1438. ermcp.QryReportFinanceKxRsp:
  1439. $ref: '#/definitions/models.ErmcpReportOPLog'
  1440. ermcp.QryReportFinanceMonRsp:
  1441. $ref: '#/definitions/models.ErmcpReportMonthFR'
  1442. ermcp.QryReportSpotDayRsp:
  1443. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1444. ermcp.QryReportSpotMonRsp:
  1445. $ref: '#/definitions/models.ErmcpReportMonSpot'
  1446. ermcp.QryReportSpotMonthDetailRsp:
  1447. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1448. ermcp.QrySpotContractRsp:
  1449. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1450. ermcp.QryUserInfoRsp:
  1451. $ref: '#/definitions/models.ErmcpUserModel'
  1452. ermcp.QryWarehouseRsp:
  1453. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1454. ermcp.QryWrStandardDetailRsp:
  1455. $ref: '#/definitions/models.ErmcpWrstandDetail'
  1456. ermcp.QryWrStandardRsp:
  1457. $ref: '#/definitions/models.ErmcpWrstandard'
  1458. ermcp.QueryAreaStockApplySumRsp:
  1459. $ref: '#/definitions/models.ErmcpAreaStockApplySum'
  1460. ermcp.QueryErmcpTradePositionRsp:
  1461. properties:
  1462. agreeunit:
  1463. description: 合约单位
  1464. type: number
  1465. buyorsell:
  1466. description: 方向 - 0:买 1:卖
  1467. type: integer
  1468. curpositionqty:
  1469. description: 持仓(总仓数量, 期末头寸)
  1470. type: integer
  1471. curtdposition:
  1472. description: 今仓数量(期末今日头寸)
  1473. type: integer
  1474. curtdpositionenabled:
  1475. description: 今仓可用
  1476. type: integer
  1477. decimalplace:
  1478. description: 报价小数位
  1479. type: integer
  1480. enableqty:
  1481. description: 可用(总仓可用)
  1482. type: integer
  1483. exexchangename:
  1484. description: 外部交易所名称
  1485. type: string
  1486. goodscode:
  1487. description: 商品代码(内部)
  1488. type: string
  1489. goodsid:
  1490. description: 商品ID(自增ID SEQ_GOODS)
  1491. type: integer
  1492. goodsname:
  1493. description: 商品名称
  1494. type: string
  1495. last:
  1496. description: 现价
  1497. type: number
  1498. marketid:
  1499. description: 所属市场ID
  1500. type: integer
  1501. openaverageprice:
  1502. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1503. type: number
  1504. opencost:
  1505. description: 开仓成本
  1506. type: number
  1507. openpl:
  1508. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1509. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1510. type: number
  1511. outgoodscode:
  1512. description: 商品代码(外部)
  1513. type: string
  1514. positionaverageprice:
  1515. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1516. type: number
  1517. positioncost:
  1518. description: 持仓成本
  1519. type: number
  1520. positionpl:
  1521. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1522. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1523. type: number
  1524. positionplrate:
  1525. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1526. type: number
  1527. usedmargin:
  1528. description: 占用保证金
  1529. type: number
  1530. type: object
  1531. ermcp.RealtimeExposurePositionRsp:
  1532. $ref: '#/definitions/models.ErmcpExposurePostion'
  1533. ermcp.RealtimeExposureRsp:
  1534. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1535. erms2.QueryArbitrageStrategyRsp:
  1536. properties:
  1537. applybasis:
  1538. description: 申请基差
  1539. type: number
  1540. asapplyid:
  1541. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1542. type: string
  1543. asname:
  1544. description: 策略名称
  1545. type: string
  1546. asno:
  1547. description: 策略编号
  1548. type: string
  1549. basischangepl:
  1550. description: 基差变动损益[结算更新]
  1551. type: number
  1552. biztype:
  1553. description: 业务类型 - 1:正向套利 -1:反向套利
  1554. type: integer
  1555. closetradedate:
  1556. description: 完结交易日(yyyyMMdd)
  1557. type: string
  1558. curbasis:
  1559. description: 当前基差[结算更新]
  1560. type: number
  1561. deliverygoodsid:
  1562. description: 现货品种ID
  1563. type: integer
  1564. futureavgprice:
  1565. description: 期货建仓均价
  1566. type: number
  1567. futurecloseamount:
  1568. description: 期货平仓金额
  1569. type: number
  1570. futurecloseqty:
  1571. description: 期货平仓数量
  1572. type: number
  1573. futureopenamount:
  1574. description: 期货开仓金额
  1575. type: number
  1576. futureopenqty:
  1577. description: 期货开仓数量
  1578. type: number
  1579. futurepl:
  1580. description: 期货总盈亏[结算更新]
  1581. type: number
  1582. futureqty:
  1583. description: 期货持仓数量
  1584. type: number
  1585. futurequote:
  1586. description: 期货额度
  1587. type: number
  1588. goodsgroupid:
  1589. description: 期货品种ID
  1590. type: integer
  1591. marketid:
  1592. description: 市场ID
  1593. type: integer
  1594. netexposure:
  1595. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1596. type: number
  1597. netexposurepl:
  1598. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1599. type: number
  1600. netexposurerate:
  1601. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1602. type: number
  1603. openbasis:
  1604. description: 建仓基差
  1605. type: number
  1606. pricedspotqty:
  1607. description: 已定价现货数量
  1608. type: number
  1609. pricedspotqtynotax:
  1610. description: 已定价现货不含税数量
  1611. type: number
  1612. remark:
  1613. description: 备注
  1614. type: string
  1615. spotavgprice:
  1616. description: 现货均价
  1617. type: number
  1618. spotbuyamount:
  1619. description: 现货采购金额
  1620. type: number
  1621. spotbuyqty:
  1622. description: 现货采购数量
  1623. type: number
  1624. spotpl:
  1625. description: 现货总盈亏[结算更新]
  1626. type: number
  1627. spotquota:
  1628. description: 现货额度
  1629. type: number
  1630. spotsellamount:
  1631. description: 现货销售金额
  1632. type: number
  1633. spotsellqty:
  1634. description: 现货销售数量
  1635. type: number
  1636. spotusedquota:
  1637. description: 现货占用资金
  1638. type: number
  1639. strategystatus:
  1640. description: 策略状态 - 0:未结束 1:已结束
  1641. type: integer
  1642. totalpl:
  1643. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1644. type: number
  1645. tradedate:
  1646. description: 交易日(yyyyMMdd)
  1647. type: string
  1648. updatetime:
  1649. description: 更新时间
  1650. type: string
  1651. usedquota:
  1652. description: 已占用资金
  1653. type: number
  1654. userid:
  1655. description: 所属机构
  1656. type: integer
  1657. required:
  1658. - asapplyid
  1659. type: object
  1660. erms2.QueryInnerTradeDetailRsp:
  1661. properties:
  1662. accountid:
  1663. description: 账号ID
  1664. type: integer
  1665. agreeunit:
  1666. description: 合约单位
  1667. type: number
  1668. asapplyid:
  1669. description: 策略申请ID
  1670. type: integer
  1671. asname:
  1672. description: 策略名称
  1673. type: string
  1674. asno:
  1675. description: 策略编号
  1676. type: string
  1677. buyorsell:
  1678. description: 方向 - 0:买 1:卖
  1679. type: integer
  1680. channelbuildtype:
  1681. description: 委托单据类型 0:无 1:建仓 2:平仓
  1682. type: integer
  1683. closetype:
  1684. description: 平仓方式 - 0:无 1:平今 2:平昨
  1685. type: integer
  1686. decimalplace:
  1687. description: 报价小数位
  1688. type: integer
  1689. detailtype:
  1690. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1691. type: integer
  1692. exexchangecode:
  1693. description: 外部交易所代码
  1694. type: string
  1695. exexchangename:
  1696. description: 外部交易所名称
  1697. type: string
  1698. goodscode:
  1699. description: 商品代码(合约)
  1700. type: string
  1701. goodsgroupid:
  1702. description: 商品组ID(品种ID)
  1703. type: integer
  1704. goodsgroupname:
  1705. description: 商品组名称(品种)
  1706. type: string
  1707. goodsid:
  1708. description: 商品ID
  1709. type: integer
  1710. goodsname:
  1711. description: 商品名称(合约)
  1712. type: string
  1713. goodunit:
  1714. description: 报价单位
  1715. type: string
  1716. marketid:
  1717. description: 市场ID
  1718. type: integer
  1719. orderid:
  1720. description: 委托单号
  1721. type: string
  1722. outgoodscode:
  1723. description: 商品代码(外部)
  1724. type: string
  1725. relatedouttradeid:
  1726. description: 关联外部成交单ID
  1727. type: string
  1728. remark:
  1729. description: 备注
  1730. type: string
  1731. spotcontractid:
  1732. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1733. type: integer
  1734. spotcontractno:
  1735. description: 现货合同编号
  1736. type: string
  1737. tradeid:
  1738. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1739. type: string
  1740. tradeprice:
  1741. description: 成交价格
  1742. type: number
  1743. tradeqty:
  1744. description: 成交数量
  1745. type: integer
  1746. tradetime:
  1747. description: 成交时间
  1748. type: string
  1749. updatetime:
  1750. description: 更新时间
  1751. type: string
  1752. required:
  1753. - asapplyid
  1754. - buyorsell
  1755. - goodscode
  1756. - goodsgroupid
  1757. - goodsgroupname
  1758. - goodsname
  1759. - tradeid
  1760. type: object
  1761. erms2.QuerySpotContractRsp:
  1762. properties:
  1763. accountid:
  1764. description: 资金账户ID
  1765. type: integer
  1766. areauserid:
  1767. description: 所属机构
  1768. type: integer
  1769. closedate:
  1770. description: 终止日期
  1771. type: string
  1772. closeremark:
  1773. description: 结束备注
  1774. type: string
  1775. closetradedate:
  1776. description: 完结交易日(yyyyMMdd)
  1777. type: string
  1778. closetype:
  1779. description: 终止类型 - 1:违约 2:提前终止
  1780. type: integer
  1781. contractamount:
  1782. description: 合同金额
  1783. type: number
  1784. contractattachment:
  1785. description: 合同附件
  1786. type: string
  1787. contractno:
  1788. description: 现货合同编号
  1789. type: string
  1790. contractqty:
  1791. description: 合同数量(数值) (用于计算)
  1792. type: number
  1793. contractqtychar:
  1794. description: 合同数量\已订价数量 (用于显示)
  1795. type: string
  1796. contractstatus:
  1797. description: 合同状态 - 0:未结束 1:已结束
  1798. type: integer
  1799. contracttype:
  1800. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1801. type: integer
  1802. customeraccountid:
  1803. description: 客户资金账户ID
  1804. type: integer
  1805. customeruserid:
  1806. description: 客户ID
  1807. type: integer
  1808. deliverygoodsdesc:
  1809. description: 品种说明
  1810. type: string
  1811. deliverygoodsid:
  1812. description: 现货品种ID
  1813. type: integer
  1814. handlestatus:
  1815. description: 处理状态
  1816. type: integer
  1817. invoiceatt:
  1818. description: 发票附件
  1819. type: string
  1820. invoicedatetime:
  1821. description: 开收票更新时间
  1822. type: string
  1823. invoiceopentime:
  1824. description: 开票时间
  1825. type: string
  1826. invoiceremark:
  1827. description: 发票备注
  1828. type: string
  1829. invoicestatus:
  1830. description: 开收票状态 - 0:未开票 1:已开票
  1831. type: integer
  1832. lastdate:
  1833. description: 交货时间
  1834. type: string
  1835. marketid:
  1836. description: 市场ID
  1837. type: integer
  1838. paydatetime:
  1839. description: 收付款更新时间
  1840. type: string
  1841. payremark:
  1842. description: 收付款备注
  1843. type: string
  1844. paystatus:
  1845. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1846. type: integer
  1847. positionqty:
  1848. description: 头寸数量 - 合同数量去小数部分
  1849. type: integer
  1850. producttype:
  1851. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1852. type: integer
  1853. relatedqty:
  1854. description: 已关联数量
  1855. type: number
  1856. relatedstatus:
  1857. description: 关联完结状态 - 0:未结束 1:已结束
  1858. type: integer
  1859. remark:
  1860. description: 备注
  1861. type: string
  1862. signdate:
  1863. description: 签订日期
  1864. type: string
  1865. spotcontractid:
  1866. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1867. type: string
  1868. spotdatetime:
  1869. description: 收发货更新时间
  1870. type: string
  1871. spotprice:
  1872. description: 价格
  1873. type: number
  1874. spotremark:
  1875. description: 收发货备注
  1876. type: string
  1877. spotstatus:
  1878. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1879. type: integer
  1880. tradedate:
  1881. description: 交易日(yyyyMMdd)
  1882. type: string
  1883. userid:
  1884. description: 业务员用户ID
  1885. type: integer
  1886. warehouseid:
  1887. description: 仓库ID
  1888. type: integer
  1889. wrfactortypeid:
  1890. description: 仓单要素类型ID
  1891. type: integer
  1892. wrstandardid:
  1893. description: 仓单标准ID(SEQ_WRSTANDARD)
  1894. type: integer
  1895. required:
  1896. - spotcontractid
  1897. type: object
  1898. erms3.AddErms2ASApplyReq:
  1899. properties:
  1900. applybasis:
  1901. description: 申请基差
  1902. type: number
  1903. applystatus:
  1904. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1905. type: integer
  1906. asapplyid:
  1907. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1908. type: integer
  1909. asname:
  1910. description: 策略名称
  1911. type: string
  1912. asno:
  1913. description: 策略编号
  1914. type: string
  1915. auditid:
  1916. description: 审核人
  1917. type: integer
  1918. auditremark:
  1919. description: 审核备注
  1920. type: string
  1921. audittime:
  1922. description: 审核时间
  1923. type: string
  1924. biztype:
  1925. description: 业务类型 - 1:正向套利 2:反向套利
  1926. type: integer
  1927. createtime:
  1928. description: 创建时间
  1929. type: string
  1930. creatorid:
  1931. description: 创建人
  1932. type: integer
  1933. deliverygoodsid:
  1934. description: 现货品种ID
  1935. type: integer
  1936. futurequote:
  1937. description: 期货额度
  1938. type: number
  1939. goodsgroupid:
  1940. description: 期货品种ID
  1941. type: integer
  1942. marketid:
  1943. description: 市场ID
  1944. type: integer
  1945. remark:
  1946. description: 备注
  1947. type: string
  1948. spotquota:
  1949. description: 现货额度
  1950. type: number
  1951. tradedate:
  1952. description: 交易日(yyyyMMdd)
  1953. type: string
  1954. userid:
  1955. description: 所属机构
  1956. type: integer
  1957. required:
  1958. - asapplyid
  1959. type: object
  1960. erms3.AddErms2SpotTradeApplyReq:
  1961. properties:
  1962. applyjsondetail:
  1963. description: 申请明细(JSON)
  1964. type: string
  1965. applystatus:
  1966. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1967. type: integer
  1968. areauserid:
  1969. description: 所属机构
  1970. type: integer
  1971. auditid:
  1972. description: 审核人
  1973. type: integer
  1974. auditremark:
  1975. description: 审核备注
  1976. type: string
  1977. audittime:
  1978. description: 审核时间
  1979. type: string
  1980. createtime:
  1981. description: 创建时间
  1982. type: string
  1983. creatorid:
  1984. description: 创建人
  1985. type: integer
  1986. deliverygoodsid:
  1987. description: 现货品种ID
  1988. type: integer
  1989. futureaccountid:
  1990. description: 期货资金账户
  1991. type: integer
  1992. goodsgroupid:
  1993. description: 期货品种
  1994. type: integer
  1995. marketid:
  1996. description: 市场ID
  1997. type: integer
  1998. remark:
  1999. description: 备注
  2000. type: string
  2001. spotaccountid:
  2002. description: 现货资金账户
  2003. type: integer
  2004. spottradeid:
  2005. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2006. type: integer
  2007. spottradename:
  2008. description: 业务名称
  2009. type: string
  2010. spottradeno:
  2011. description: 业务编号
  2012. type: string
  2013. tradedate:
  2014. description: 交易日(yyyyMMdd)
  2015. type: string
  2016. wrstandardid:
  2017. description: 仓单标准ID
  2018. type: integer
  2019. required:
  2020. - spottradeid
  2021. type: object
  2022. erms3.AddSpotContractApplyReq:
  2023. properties:
  2024. accountid:
  2025. description: 资金账户ID
  2026. type: integer
  2027. areauserid:
  2028. description: 所属机构
  2029. type: integer
  2030. contractattachment:
  2031. description: 合同附件
  2032. type: string
  2033. contractno:
  2034. description: 现货合同编号
  2035. type: string
  2036. contracttype:
  2037. description: 现货合同类型 - 1:采购 -1:销售
  2038. type: integer
  2039. creatorid:
  2040. description: 申请人
  2041. type: integer
  2042. customeraccountid:
  2043. description: 客户资金账户ID
  2044. type: integer
  2045. customeruserid:
  2046. description: 客户ID
  2047. type: integer
  2048. details:
  2049. description: 明细
  2050. items:
  2051. $ref: '#/definitions/erms3.SoptContractDetail'
  2052. type: array
  2053. orimargin:
  2054. description: 初始保证金
  2055. type: number
  2056. remark:
  2057. description: 备注
  2058. type: string
  2059. signdate:
  2060. description: 签订日期
  2061. type: string
  2062. required:
  2063. - accountid
  2064. - areauserid
  2065. - contractno
  2066. - contracttype
  2067. - customeraccountid
  2068. - customeruserid
  2069. - details
  2070. - orimargin
  2071. - signdate
  2072. type: object
  2073. erms3.AddSpotContractApplyRsp:
  2074. properties:
  2075. contractno:
  2076. description: 现货合同编号
  2077. type: string
  2078. spotcontractid:
  2079. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2080. type: integer
  2081. required:
  2082. - contractno
  2083. type: object
  2084. erms3.AddUserInfoApplyReq:
  2085. properties:
  2086. accountid:
  2087. description: 交易系统帐号Id (加密存储)
  2088. type: integer
  2089. areacode:
  2090. description: 机构代码
  2091. type: string
  2092. areaid:
  2093. description: 机构Id
  2094. type: integer
  2095. attachment1:
  2096. description: 附件1
  2097. type: string
  2098. attachment2:
  2099. description: 附件2
  2100. type: string
  2101. attachment3:
  2102. description: 附件3
  2103. type: string
  2104. attachment4:
  2105. description: 附件4
  2106. type: string
  2107. attachment5:
  2108. description: 附件5
  2109. type: string
  2110. auditedby:
  2111. description: 审核人
  2112. type: string
  2113. auditime:
  2114. description: 审核时间
  2115. type: string
  2116. bankaccount:
  2117. description: 银行帐号 (加密存储)
  2118. type: string
  2119. bankaccountname:
  2120. description: 收款人名称
  2121. type: string
  2122. bankcardbackphotourl:
  2123. description: 银行卡背面照地址
  2124. type: string
  2125. bankcardfrontphotourl:
  2126. description: 银行卡正面照地址
  2127. type: string
  2128. bankid:
  2129. description: 银行编码
  2130. type: string
  2131. bankname:
  2132. description: 银行名称
  2133. type: string
  2134. bankpictureurl:
  2135. description: 银行卡正面地址
  2136. type: string
  2137. biznature:
  2138. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2139. type: integer
  2140. bizscope:
  2141. description: 企业经营范围(企业)
  2142. type: string
  2143. biztype:
  2144. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2145. type: integer
  2146. brokerid:
  2147. description: 经纪人ID(加密存储)
  2148. type: string
  2149. cardaddress:
  2150. description: 证件地址 (加密存储)
  2151. type: string
  2152. cardbackphotourl:
  2153. description: 背面证件照地址
  2154. type: string
  2155. cardfrontphotourl:
  2156. description: 正面证件照地址
  2157. type: string
  2158. cardnum:
  2159. description: 证件号码 (加密存储)
  2160. type: string
  2161. cardtype:
  2162. description: 证件类型
  2163. type: integer
  2164. cityid:
  2165. description: 市
  2166. type: integer
  2167. company:
  2168. description: 公司(个人)
  2169. type: string
  2170. contactcardbackphotourl:
  2171. description: 联系人证件背面图片地址
  2172. type: string
  2173. contactcardfrontphotourl:
  2174. description: 联系人证件正面图片地址
  2175. type: string
  2176. contactname:
  2177. description: 联系人
  2178. type: string
  2179. countryid:
  2180. description: 国家
  2181. type: integer
  2182. createtime:
  2183. description: 开户申请时间
  2184. type: string
  2185. cusbankid:
  2186. description: 签约类型
  2187. type: string
  2188. cusbankname:
  2189. description: 签约类型名称
  2190. type: string
  2191. customername:
  2192. description: 客户名称(企业名称)
  2193. type: string
  2194. districtid:
  2195. description: 地区
  2196. type: integer
  2197. email:
  2198. description: Email地址(加密存储)
  2199. type: string
  2200. halfbodyphotourl:
  2201. description: 半身照地址
  2202. type: string
  2203. headurl:
  2204. description: 头像地址
  2205. type: string
  2206. ipaddress:
  2207. description: IP地址
  2208. type: string
  2209. isvalidate:
  2210. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2211. type: string
  2212. legalcardbackphotourl:
  2213. description: 法人身份证背面照地址
  2214. type: string
  2215. legalcardfrontphotourl:
  2216. description: 法人身份证正面照地址
  2217. type: string
  2218. legalpersonname:
  2219. description: 法人姓名(企业)
  2220. type: string
  2221. logincode:
  2222. description: 登录帐号 (加密存储)
  2223. type: string
  2224. memberareaid:
  2225. description: 所属会员ID
  2226. type: integer
  2227. mobile2:
  2228. description: 手机号码[明文-尚志]
  2229. type: string
  2230. mobilephone:
  2231. description: 手机号码 (加密存储)
  2232. type: string
  2233. modifiedby:
  2234. description: 修改人帐号
  2235. type: integer
  2236. modifiedtime:
  2237. description: 修改时间
  2238. type: string
  2239. nickname:
  2240. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2241. type: string
  2242. openmode:
  2243. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2244. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2245. type: integer
  2246. otherurl:
  2247. description: 其它图片地址[使用分号分隔]
  2248. type: string
  2249. postalcode:
  2250. description: 邮政编码
  2251. type: string
  2252. provinceid:
  2253. description: 省
  2254. type: integer
  2255. proxystatementurl:
  2256. description: 授权委托书
  2257. type: string
  2258. qq:
  2259. description: QQ(加密存储
  2260. type: string
  2261. referral:
  2262. description: 推荐人编码
  2263. type: string
  2264. remark:
  2265. description: 备注
  2266. type: string
  2267. removebeforestatus:
  2268. description: REMOVEBEFORESTATUS
  2269. type: integer
  2270. sex:
  2271. description: 性别 - 0:女 1:男
  2272. type: integer
  2273. signedstatus:
  2274. description: 账户一号签签约状态
  2275. type: integer
  2276. signpdfurl:
  2277. description: 签约pdf文件
  2278. type: string
  2279. subbranch:
  2280. description: 开户支行
  2281. type: string
  2282. telphone:
  2283. description: 联系电话(加密存储)
  2284. type: string
  2285. userid:
  2286. description: 用户ID(自增ID)
  2287. type: integer
  2288. userinfotype:
  2289. description: 用户信息类型 - 1:个人 2:企业
  2290. type: integer
  2291. username:
  2292. description: 用户姓名
  2293. type: string
  2294. userstate:
  2295. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2296. type: integer
  2297. usertype:
  2298. description: 用户类型 - 1:投资者 2:机构
  2299. type: integer
  2300. videourl:
  2301. description: 视频地址
  2302. type: string
  2303. wechat:
  2304. description: 微信号 (加密存储)
  2305. type: string
  2306. required:
  2307. - userid
  2308. type: object
  2309. erms3.CustomerInfo:
  2310. properties:
  2311. accountids:
  2312. description: 资金账户ID列表
  2313. items:
  2314. type: integer
  2315. type: array
  2316. customername:
  2317. description: 名称(企业名称)
  2318. type: string
  2319. mobile:
  2320. description: 手机号码
  2321. type: string
  2322. userid:
  2323. description: 用户ID
  2324. type: integer
  2325. required:
  2326. - userid
  2327. type: object
  2328. erms3.ModifyUserInfoApplyReq:
  2329. properties:
  2330. accountid:
  2331. description: 交易系统帐号Id (加密存储)
  2332. type: integer
  2333. areacode:
  2334. description: 机构代码
  2335. type: string
  2336. areaid:
  2337. description: 机构Id
  2338. type: integer
  2339. attachment1:
  2340. description: 附件1
  2341. type: string
  2342. attachment2:
  2343. description: 附件2
  2344. type: string
  2345. attachment3:
  2346. description: 附件3
  2347. type: string
  2348. attachment4:
  2349. description: 附件4
  2350. type: string
  2351. attachment5:
  2352. description: 附件5
  2353. type: string
  2354. auditedby:
  2355. description: 审核人
  2356. type: string
  2357. auditime:
  2358. description: 审核时间
  2359. type: string
  2360. bankaccount:
  2361. description: 银行帐号 (加密存储)
  2362. type: string
  2363. bankaccountname:
  2364. description: 收款人名称
  2365. type: string
  2366. bankcardbackphotourl:
  2367. description: 银行卡背面照地址
  2368. type: string
  2369. bankcardfrontphotourl:
  2370. description: 银行卡正面照地址
  2371. type: string
  2372. bankid:
  2373. description: 银行编码
  2374. type: string
  2375. bankname:
  2376. description: 银行名称
  2377. type: string
  2378. bankpictureurl:
  2379. description: 银行卡正面地址
  2380. type: string
  2381. biznature:
  2382. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2383. type: integer
  2384. bizscope:
  2385. description: 企业经营范围(企业)
  2386. type: string
  2387. biztype:
  2388. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2389. type: integer
  2390. brokerid:
  2391. description: 经纪人ID(加密存储)
  2392. type: string
  2393. cardaddress:
  2394. description: 证件地址 (加密存储)
  2395. type: string
  2396. cardbackphotourl:
  2397. description: 背面证件照地址
  2398. type: string
  2399. cardfrontphotourl:
  2400. description: 正面证件照地址
  2401. type: string
  2402. cardnum:
  2403. description: 证件号码 (加密存储)
  2404. type: string
  2405. cardtype:
  2406. description: 证件类型
  2407. type: integer
  2408. cityid:
  2409. description: 市
  2410. type: integer
  2411. company:
  2412. description: 公司(个人)
  2413. type: string
  2414. contactcardbackphotourl:
  2415. description: 联系人证件背面图片地址
  2416. type: string
  2417. contactcardfrontphotourl:
  2418. description: 联系人证件正面图片地址
  2419. type: string
  2420. contactname:
  2421. description: 联系人
  2422. type: string
  2423. countryid:
  2424. description: 国家
  2425. type: integer
  2426. createtime:
  2427. description: 开户申请时间
  2428. type: string
  2429. cusbankid:
  2430. description: 签约类型
  2431. type: string
  2432. cusbankname:
  2433. description: 签约类型名称
  2434. type: string
  2435. customername:
  2436. description: 客户名称(企业名称)
  2437. type: string
  2438. districtid:
  2439. description: 地区
  2440. type: integer
  2441. email:
  2442. description: Email地址(加密存储)
  2443. type: string
  2444. halfbodyphotourl:
  2445. description: 半身照地址
  2446. type: string
  2447. headurl:
  2448. description: 头像地址
  2449. type: string
  2450. ipaddress:
  2451. description: IP地址
  2452. type: string
  2453. isvalidate:
  2454. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2455. type: string
  2456. legalcardbackphotourl:
  2457. description: 法人身份证背面照地址
  2458. type: string
  2459. legalcardfrontphotourl:
  2460. description: 法人身份证正面照地址
  2461. type: string
  2462. legalpersonname:
  2463. description: 法人姓名(企业)
  2464. type: string
  2465. logincode:
  2466. description: 登录帐号 (加密存储)
  2467. type: string
  2468. memberareaid:
  2469. description: 所属会员ID
  2470. type: integer
  2471. mobile2:
  2472. description: 手机号码[明文-尚志]
  2473. type: string
  2474. mobilephone:
  2475. description: 手机号码 (加密存储)
  2476. type: string
  2477. modifiedby:
  2478. description: 修改人帐号
  2479. type: integer
  2480. modifiedtime:
  2481. description: 修改时间
  2482. type: string
  2483. nickname:
  2484. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2485. type: string
  2486. openmode:
  2487. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2488. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2489. type: integer
  2490. otherurl:
  2491. description: 其它图片地址[使用分号分隔]
  2492. type: string
  2493. postalcode:
  2494. description: 邮政编码
  2495. type: string
  2496. provinceid:
  2497. description: 省
  2498. type: integer
  2499. proxystatementurl:
  2500. description: 授权委托书
  2501. type: string
  2502. qq:
  2503. description: QQ(加密存储
  2504. type: string
  2505. referral:
  2506. description: 推荐人编码
  2507. type: string
  2508. remark:
  2509. description: 备注
  2510. type: string
  2511. removebeforestatus:
  2512. description: REMOVEBEFORESTATUS
  2513. type: integer
  2514. sex:
  2515. description: 性别 - 0:女 1:男
  2516. type: integer
  2517. signedstatus:
  2518. description: 账户一号签签约状态
  2519. type: integer
  2520. signpdfurl:
  2521. description: 签约pdf文件
  2522. type: string
  2523. subbranch:
  2524. description: 开户支行
  2525. type: string
  2526. telphone:
  2527. description: 联系电话(加密存储)
  2528. type: string
  2529. userid:
  2530. description: 用户ID(自增ID)
  2531. type: integer
  2532. userinfotype:
  2533. description: 用户信息类型 - 1:个人 2:企业
  2534. type: integer
  2535. username:
  2536. description: 用户姓名
  2537. type: string
  2538. userstate:
  2539. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2540. type: integer
  2541. usertype:
  2542. description: 用户类型 - 1:投资者 2:机构
  2543. type: integer
  2544. videourl:
  2545. description: 视频地址
  2546. type: string
  2547. wechat:
  2548. description: 微信号 (加密存储)
  2549. type: string
  2550. required:
  2551. - userid
  2552. type: object
  2553. erms3.QryAuditContractRsp:
  2554. properties:
  2555. accountid:
  2556. description: 交易员ID
  2557. type: string
  2558. applystatus:
  2559. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2560. type: integer
  2561. curdeliveryqty:
  2562. description: 未交收量
  2563. type: integer
  2564. customername:
  2565. description: 采购方ID
  2566. type: string
  2567. deliverygoodsid:
  2568. description: 品种ID
  2569. type: string
  2570. deliveryqty:
  2571. description: 交收量
  2572. type: integer
  2573. enumdicname:
  2574. description: 单位名称
  2575. type: string
  2576. matchaccountid:
  2577. description: 业务员ID
  2578. type: string
  2579. matchcustomername:
  2580. description: 销售方ID
  2581. type: string
  2582. pricedqty:
  2583. description: 定价量
  2584. type: number
  2585. signdate:
  2586. description: 签订日期
  2587. type: string
  2588. spotcontractid:
  2589. description: 合同ID
  2590. type: string
  2591. totaldqty:
  2592. description: 合同量
  2593. type: number
  2594. unpricedqty:
  2595. description: 未定价量
  2596. type: number
  2597. wrstandardname:
  2598. description: 商品名称
  2599. type: string
  2600. required:
  2601. - matchcustomername
  2602. - spotcontractid
  2603. type: object
  2604. erms3.QryPendingBizRsp:
  2605. $ref: '#/definitions/models.PendingAuditBizModel'
  2606. erms3.QueryBusinessInfoRsp:
  2607. properties:
  2608. businessid:
  2609. description: 业务ID.
  2610. type: integer
  2611. buyamount:
  2612. description: 采购额.
  2613. type: number
  2614. buyqty:
  2615. description: 采购量.
  2616. type: string
  2617. futurepl:
  2618. description: 期货盈亏.
  2619. type: number
  2620. futureqty:
  2621. description: 期货敞口.
  2622. type: string
  2623. goodsid:
  2624. description: 商品名称/商品代码.
  2625. type: string
  2626. hedgingqty:
  2627. description: 套保量.
  2628. type: string
  2629. sellamount:
  2630. description: 销售额.
  2631. type: number
  2632. sellqty:
  2633. description: 销售量.
  2634. type: string
  2635. spotmarketvalue:
  2636. description: 现货市值.
  2637. type: number
  2638. spotpl:
  2639. description: 浮动权益.
  2640. type: number
  2641. spotqty:
  2642. description: 现货量.
  2643. type: string
  2644. statu:
  2645. description: 状态,0-未结束 1-已结束.
  2646. type: integer
  2647. totalpl:
  2648. description: 总盈亏.
  2649. type: number
  2650. totalqty:
  2651. description: 总敞口.
  2652. type: string
  2653. type:
  2654. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2655. type: integer
  2656. type: object
  2657. erms3.QuerySpotContractAppleFormRsp:
  2658. properties:
  2659. goodses:
  2660. description: 合约列表
  2661. items:
  2662. $ref: '#/definitions/models.GoodsIDAndName'
  2663. type: array
  2664. oppositeusers:
  2665. description: 对方账号列表
  2666. items:
  2667. $ref: '#/definitions/erms3.CustomerInfo'
  2668. type: array
  2669. ouruser:
  2670. $ref: '#/definitions/erms3.CustomerInfo'
  2671. description: 我方账号
  2672. type: object
  2673. warehouseinfos:
  2674. description: 仓库信息列表
  2675. items:
  2676. $ref: '#/definitions/models.Warehouseinfo'
  2677. type: array
  2678. wrstandards:
  2679. description: 仓单标准列表
  2680. items:
  2681. $ref: '#/definitions/models.WRStandardInfo'
  2682. type: array
  2683. type: object
  2684. erms3.QuerySpotContractInfoRsp:
  2685. properties:
  2686. accountid:
  2687. description: 表示交易员ID.
  2688. type: integer
  2689. curdeliveryqty:
  2690. description: 表示未交收量.
  2691. type: number
  2692. customername:
  2693. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2694. type: string
  2695. deliverygoodsid:
  2696. description: 表示品种ID.
  2697. type: string
  2698. deliveryqty:
  2699. description: 表示交收量.
  2700. type: number
  2701. matchaccountid:
  2702. description: 表示业务员ID.
  2703. type: integer
  2704. matchcustomername:
  2705. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2706. type: string
  2707. priceqty:
  2708. description: 表示定价量.
  2709. type: number
  2710. relatedbizid:
  2711. description: 表示业务ID.
  2712. type: string
  2713. signdate:
  2714. description: 表示签订日期.
  2715. type: string
  2716. spotcontractid:
  2717. description: 合同ID
  2718. type: string
  2719. status:
  2720. description: 表示状态,0-履约中 1-已完成.
  2721. type: integer
  2722. totalqty:
  2723. description: 表示合同量.
  2724. type: number
  2725. unpricedqty:
  2726. description: 表示未定价量.
  2727. type: number
  2728. wrstandardname:
  2729. description: 表示商品ID.
  2730. type: string
  2731. type: object
  2732. erms3.QueryUserInfoAppliesRsp:
  2733. properties:
  2734. biznature:
  2735. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2736. type: integer
  2737. contactname:
  2738. description: 联系人
  2739. type: string
  2740. createtime:
  2741. description: 开户申请时间
  2742. type: string
  2743. userid:
  2744. description: 用户ID(自增ID)
  2745. type: integer
  2746. userinfotype:
  2747. description: 用户信息类型 - 1:个人 2:企业
  2748. type: integer
  2749. username:
  2750. description: 用户姓名
  2751. type: string
  2752. userstate:
  2753. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2754. type: integer
  2755. required:
  2756. - userid
  2757. type: object
  2758. erms3.QueryUserInfosRsp:
  2759. properties:
  2760. biznature:
  2761. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2762. type: integer
  2763. contactname:
  2764. description: 联系人
  2765. type: string
  2766. customername:
  2767. description: 客户名称(企业名称)
  2768. type: string
  2769. userid:
  2770. description: 用户ID
  2771. type: integer
  2772. userinfotype:
  2773. description: 用户信息类型 - 1:个人 2:企业
  2774. type: integer
  2775. userstatus:
  2776. description: 用户状态 - 1:正常 2:注销
  2777. type: integer
  2778. required:
  2779. - userid
  2780. type: object
  2781. erms3.SoptContractDetail:
  2782. properties:
  2783. deliverygoodsdesc:
  2784. description: 现货品种说明
  2785. type: string
  2786. deliverygoodsid:
  2787. description: 现货品种ID
  2788. type: integer
  2789. deliverygoodsname:
  2790. description: 现货品种名称
  2791. type: string
  2792. pointdesc:
  2793. description: 点价描述
  2794. type: string
  2795. producttype:
  2796. description: 产品类型 1:标准仓单 2:等标 3:非标
  2797. type: integer
  2798. producttypename:
  2799. description: 产品类型名称
  2800. type: string
  2801. spotPointOrderVoList:
  2802. description: 点价列表
  2803. items:
  2804. $ref: '#/definitions/erms3.SpotPointOrder'
  2805. type: array
  2806. spotPriceOrderList:
  2807. description: 定价列表
  2808. items:
  2809. $ref: '#/definitions/erms3.SpotPriceOrder'
  2810. type: array
  2811. unitname:
  2812. description: 单位名称
  2813. type: string
  2814. warehouseid:
  2815. description: 仓库ID
  2816. type: integer
  2817. warehousename:
  2818. description: 仓库名称
  2819. type: string
  2820. wrstandardid:
  2821. description: 交易标的ID
  2822. type: integer
  2823. wrstandardname:
  2824. description: 交易标的名称
  2825. type: string
  2826. required:
  2827. - deliverygoodsid
  2828. - producttype
  2829. - unitname
  2830. - warehouseid
  2831. - wrstandardid
  2832. - wrstandardname
  2833. type: object
  2834. erms3.SpotPointOrder:
  2835. properties:
  2836. basic:
  2837. description: 基差
  2838. type: number
  2839. deliveryenddate:
  2840. description: 交收结束日期
  2841. type: string
  2842. deliverystartdate:
  2843. description: 交收开始日期
  2844. type: string
  2845. enddate:
  2846. description: 点价结束日期
  2847. type: string
  2848. goodsid:
  2849. description: 商品ID
  2850. type: integer
  2851. goodsname:
  2852. description: 商品名称
  2853. type: string
  2854. qty:
  2855. description: 数量
  2856. type: number
  2857. startdate:
  2858. description: 点价开始日期
  2859. type: string
  2860. required:
  2861. - basic
  2862. - goodsid
  2863. - qty
  2864. type: object
  2865. erms3.SpotPriceOrder:
  2866. properties:
  2867. amount:
  2868. description: 金额
  2869. type: number
  2870. deliveryenddate:
  2871. description: 交收结束日期
  2872. type: string
  2873. deliverystartdate:
  2874. description: 交收开始日期
  2875. type: string
  2876. price:
  2877. description: 价格
  2878. type: number
  2879. qty:
  2880. description: 数量
  2881. type: number
  2882. required:
  2883. - amount
  2884. - price
  2885. - qty
  2886. type: object
  2887. hsby.GetHsbyMyCountRsp:
  2888. properties:
  2889. myCouponCount:
  2890. description: 我的优惠卷数量
  2891. type: integer
  2892. myOrderDetailListingCount:
  2893. description: 我的订单求购中数量
  2894. type: integer
  2895. myOrderDetailPreCount:
  2896. description: 我的订单抢购中数量
  2897. type: integer
  2898. myPackageUnReceiveCount:
  2899. description: 我的包裹待收货数量
  2900. type: integer
  2901. myPackageUnSendCount:
  2902. description: 我的包裹待发货数量
  2903. type: integer
  2904. myPayOrderCount:
  2905. description: 我的订单待付款数量
  2906. type: integer
  2907. type: object
  2908. hsby.QueryProvincesAndCitiesRsp:
  2909. properties:
  2910. cities:
  2911. description: 市
  2912. items:
  2913. $ref: '#/definitions/models.Division'
  2914. type: array
  2915. province:
  2916. $ref: '#/definitions/models.Division'
  2917. description: 省
  2918. type: object
  2919. type: object
  2920. models.AreaSpotModel:
  2921. properties:
  2922. areauserid:
  2923. description: 所属机构
  2924. type: integer
  2925. decreaseqty:
  2926. description: 减少数量=-(销售已定价数量+采购计划数量)
  2927. type: number
  2928. increaseqty:
  2929. description: 增加数量=销售计划数量+采购已定价数量
  2930. type: number
  2931. oritoalspotqty:
  2932. description: 昨日数量
  2933. type: number
  2934. totalspotqty:
  2935. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2936. type: number
  2937. updatetime:
  2938. description: 更新时间
  2939. type: string
  2940. wrstandardcode:
  2941. description: 现货品种代码
  2942. type: string
  2943. wrstandardid:
  2944. description: 现货商品ID
  2945. type: integer
  2946. wrstandardname:
  2947. description: 现货品种
  2948. type: string
  2949. type: object
  2950. models.Clientfixedadconfig:
  2951. properties:
  2952. adsort:
  2953. description: 排序
  2954. type: integer
  2955. adtype:
  2956. description: 广告位类型 - 1:新品抢购(HSBY)
  2957. type: integer
  2958. areauserid:
  2959. description: 所属机构ID
  2960. type: integer
  2961. createdate:
  2962. description: 创建时间
  2963. type: string
  2964. creatorid:
  2965. description: 创建人
  2966. type: integer
  2967. imagepath:
  2968. description: 图片
  2969. type: string
  2970. isshow:
  2971. description: 是否展示 - 0:不展示 1:展示
  2972. type: integer
  2973. modifierid:
  2974. description: 操作人
  2975. type: integer
  2976. recsize:
  2977. description: 推荐尺寸
  2978. type: string
  2979. title:
  2980. description: 标题
  2981. type: string
  2982. updatedate:
  2983. description: 更新时间
  2984. type: string
  2985. urlcontent:
  2986. description: 链接(地址或商品ID)
  2987. type: string
  2988. urltype:
  2989. description: 链接类型 - 1:直接地址 2:商品ID
  2990. type: integer
  2991. required:
  2992. - adsort
  2993. - adtype
  2994. type: object
  2995. models.Division:
  2996. properties:
  2997. autoid:
  2998. description: 自增ID
  2999. type: integer
  3000. divisioncode:
  3001. description: 行政代码
  3002. type: string
  3003. divisionlevel:
  3004. description: 行政级别
  3005. type: string
  3006. divisionname:
  3007. description: 行政名称
  3008. type: string
  3009. modifierid:
  3010. description: 修改人
  3011. type: integer
  3012. modifytime:
  3013. description: 修改时间
  3014. type: string
  3015. parentcode:
  3016. description: 上级行政代码
  3017. type: string
  3018. pathname:
  3019. description: 路径名称
  3020. type: string
  3021. postcode:
  3022. description: 邮政编码
  3023. type: string
  3024. separablename:
  3025. description: 可拆分的全称
  3026. type: string
  3027. shortcode:
  3028. description: 地区简码
  3029. type: string
  3030. required:
  3031. - autoid
  3032. - divisioncode
  3033. type: object
  3034. models.Enumdicitem:
  3035. properties:
  3036. autoid:
  3037. description: 自增ID
  3038. type: integer
  3039. bankmappedvalue:
  3040. description: 银行服务对应值
  3041. type: string
  3042. enumdiccode:
  3043. description: 所属枚举代码
  3044. type: string
  3045. enumdicid:
  3046. description: 所属枚举ID
  3047. type: integer
  3048. enumdicname:
  3049. description: 枚举项名称
  3050. type: string
  3051. enumitemname:
  3052. description: 枚举项值
  3053. type: integer
  3054. enumitemstatus:
  3055. description: 枚举项状态 - 1.启用 2.不启用
  3056. type: integer
  3057. enumitemvalue:
  3058. description: 通用值 - [币种通用简写]
  3059. type: string
  3060. param1:
  3061. description: 参数1[币种:币种小数位]
  3062. type: string
  3063. param2:
  3064. description: 参数1[币种:币种显示单位]
  3065. type: string
  3066. remark:
  3067. description: 备注
  3068. type: string
  3069. required:
  3070. - autoid
  3071. - enumdiccode
  3072. - enumdicid
  3073. - enumitemname
  3074. type: object
  3075. models.Ermcp3AreaSpot:
  3076. properties:
  3077. areauserid:
  3078. description: 所属机构
  3079. type: integer
  3080. decreaseqty:
  3081. description: 减少数量=-(销售已定价数量+采购计划数量)
  3082. type: number
  3083. deliverygoodscode:
  3084. description: 现货品种代码
  3085. type: string
  3086. deliverygoodsid:
  3087. description: 现货品种id
  3088. type: integer
  3089. deliverygoodsname:
  3090. description: 现货品种名称
  3091. type: string
  3092. enumdicname:
  3093. description: 单位名称
  3094. type: string
  3095. goodsunitid:
  3096. description: 现货品种单位id
  3097. type: integer
  3098. increaseqty:
  3099. description: 增加数量=销售计划数量+采购已定价数量
  3100. type: number
  3101. oritoalspotqty:
  3102. description: 昨日数量
  3103. type: number
  3104. totalspotqty:
  3105. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3106. type: number
  3107. updatetime:
  3108. description: 更新时间
  3109. type: string
  3110. type: object
  3111. models.Ermcp3AreaSpotDetail:
  3112. properties:
  3113. contracttype:
  3114. description: 合同类型 1-采购 -1-销售
  3115. type: integer
  3116. createtime:
  3117. description: 创建时间
  3118. type: string
  3119. deliverygoodscode:
  3120. description: 现货品种代码
  3121. type: string
  3122. deliverygoodsid:
  3123. description: 现货品种id
  3124. type: integer
  3125. deliverygoodsname:
  3126. description: 现货品种名称
  3127. type: string
  3128. enumdicname:
  3129. description: 现货商品单位名称
  3130. type: string
  3131. logtype:
  3132. description: 记录类型 1-套保 2-现货合同
  3133. type: integer
  3134. qty:
  3135. description: 数量
  3136. type: number
  3137. recordname:
  3138. description: 类型名称
  3139. type: string
  3140. relatedid:
  3141. description: 套保计划ID/现货合同ID
  3142. type: string
  3143. relatedno:
  3144. description: 编号
  3145. type: string
  3146. strtime:
  3147. description: 时间
  3148. type: string
  3149. type: object
  3150. models.Ermcp3AreaStock:
  3151. properties:
  3152. brandname:
  3153. description: 品牌名称
  3154. type: string
  3155. curstock:
  3156. description: 期末库存量(今日量)
  3157. type: number
  3158. deliverygoodscode:
  3159. description: 现货品种代码
  3160. type: string
  3161. deliverygoodsid:
  3162. description: 现货品种id
  3163. type: integer
  3164. deliverygoodsname:
  3165. description: 现货品种名称
  3166. type: string
  3167. enumdicname:
  3168. description: 单位名称
  3169. type: string
  3170. goodsunitid:
  3171. description: 现货商品单位id
  3172. type: integer
  3173. oristock:
  3174. description: 期初库存量(昨日量)
  3175. type: number
  3176. spotgoodsbrandid:
  3177. description: 现货品牌ID
  3178. type: integer
  3179. todaybuyinqty:
  3180. description: 今日采购入库量
  3181. type: number
  3182. todayproduceinqty:
  3183. description: 今日生产入库量
  3184. type: number
  3185. todayproduceoutqty:
  3186. description: 今日生产出库量
  3187. type: number
  3188. todayselloutqty:
  3189. description: 今日销售出库量
  3190. type: number
  3191. unitid:
  3192. description: 单位id
  3193. type: integer
  3194. updatetime:
  3195. description: 更新时间
  3196. type: string
  3197. userid:
  3198. description: 机构ID
  3199. type: integer
  3200. username:
  3201. description: 机构名称
  3202. type: string
  3203. warehousecode:
  3204. description: 仓库代码
  3205. type: string
  3206. warehouseinfoid:
  3207. description: 仓库ID
  3208. type: string
  3209. warehousename:
  3210. description: 仓库名称
  3211. type: string
  3212. warehousetype:
  3213. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3214. type: integer
  3215. wrstandardcode:
  3216. description: 品类代码
  3217. type: string
  3218. wrstandardid:
  3219. description: 品类ID
  3220. type: string
  3221. wrstandardname:
  3222. description: 品类名称
  3223. type: string
  3224. required:
  3225. - userid
  3226. type: object
  3227. models.Ermcp3AreaStockApply:
  3228. properties:
  3229. applyid:
  3230. description: 申请人
  3231. type: integer
  3232. applyname:
  3233. description: 申请人名称
  3234. type: string
  3235. applyremark:
  3236. description: 申请备注
  3237. type: string
  3238. applysrc:
  3239. description: 申请来源 - 1:管理端 2:终端
  3240. type: integer
  3241. applystatus:
  3242. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3243. type: integer
  3244. applytime:
  3245. description: 申请时间
  3246. type: string
  3247. auditid:
  3248. description: 审核人
  3249. type: integer
  3250. auditname:
  3251. description: 审核人名称
  3252. type: string
  3253. auditremark:
  3254. description: 审核备注
  3255. type: string
  3256. auditsrc:
  3257. description: 审核来源 - 1:管理端 2:终端
  3258. type: integer
  3259. audittime:
  3260. description: 审核时间
  3261. type: string
  3262. audittradedate:
  3263. description: 审核交易日(yyyyMMdd)
  3264. type: string
  3265. brandname:
  3266. description: 品牌名称
  3267. type: string
  3268. buynickname:
  3269. description: 采购方昵称
  3270. type: string
  3271. buyuserid:
  3272. description: 采购方userid
  3273. type: integer
  3274. buyusername:
  3275. description: 采购方名称
  3276. type: string
  3277. contractno:
  3278. description: 合同编号
  3279. type: string
  3280. contractqty:
  3281. description: 合同量
  3282. type: number
  3283. contracttype:
  3284. description: 现货合同类型 - 1:采购 -1:销售
  3285. type: integer
  3286. deliverygoodscode:
  3287. description: 现货品种代码
  3288. type: string
  3289. deliverygoodsid:
  3290. description: 现货品种id
  3291. type: integer
  3292. deliverygoodsname:
  3293. description: 现货品种名称
  3294. type: string
  3295. enumdicname:
  3296. description: 现货商品单位名称
  3297. type: string
  3298. inoutapplyid:
  3299. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3300. type: string
  3301. inouttype:
  3302. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3303. type: integer
  3304. pricetype:
  3305. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3306. type: integer
  3307. qty:
  3308. description: 数量
  3309. type: number
  3310. sellnickname:
  3311. description: 销售方昵称
  3312. type: string
  3313. selluserid:
  3314. description: 销售方userid
  3315. type: integer
  3316. sellusername:
  3317. description: 销售方名称
  3318. type: string
  3319. spotcontractid:
  3320. description: 关联现货合同ID
  3321. type: string
  3322. spotgoodsbrandid:
  3323. description: 现货品牌ID
  3324. type: integer
  3325. unitid:
  3326. description: 单位id
  3327. type: integer
  3328. userid:
  3329. description: 机构ID
  3330. type: integer
  3331. warehousecode:
  3332. description: 仓库代码
  3333. type: string
  3334. warehouseinfoid:
  3335. description: 现货仓库ID
  3336. type: string
  3337. warehousename:
  3338. description: 仓库名称
  3339. type: string
  3340. warehousetype:
  3341. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3342. type: integer
  3343. wrstandardcode:
  3344. description: 品类代码
  3345. type: string
  3346. wrstandardid:
  3347. description: 品类ID
  3348. type: integer
  3349. wrstandardname:
  3350. description: 品类名称
  3351. type: string
  3352. type: object
  3353. models.Ermcp3AreaStockApplySum:
  3354. properties:
  3355. brandname:
  3356. description: 品牌名称
  3357. type: string
  3358. inouttype:
  3359. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3360. type: integer
  3361. spotcontractid:
  3362. description: 关联现货合同ID
  3363. type: string
  3364. spotgoodsbrandid:
  3365. description: 品牌id
  3366. type: integer
  3367. totalqty:
  3368. description: 总数量
  3369. type: number
  3370. wrstandardid:
  3371. description: 品类id
  3372. type: integer
  3373. wrstandardname:
  3374. description: 品类名称
  3375. type: string
  3376. type: object
  3377. models.Ermcp3AreaStockReport:
  3378. properties:
  3379. brandname:
  3380. description: 品牌名称
  3381. type: string
  3382. curstock:
  3383. description: 期末库存量
  3384. type: number
  3385. deliverygoodscode:
  3386. description: 现货品种代码
  3387. type: string
  3388. deliverygoodsid:
  3389. description: 现货品种id
  3390. type: integer
  3391. deliverygoodsname:
  3392. description: 现货品种名称
  3393. type: string
  3394. enumdicname:
  3395. description: 单位名称
  3396. type: string
  3397. goodsunitid:
  3398. description: 现货单位id
  3399. type: integer
  3400. oristock:
  3401. description: 期初库存量
  3402. type: number
  3403. spotgoodsbrandid:
  3404. description: 现货品牌ID
  3405. type: integer
  3406. todaybuyinqty:
  3407. description: 今日采购入库量
  3408. type: number
  3409. todayproduceinqty:
  3410. description: 今日生产入库量
  3411. type: number
  3412. todayproduceoutqty:
  3413. description: 今日生产出库量
  3414. type: number
  3415. todayselloutqty:
  3416. description: 今日销售出库量
  3417. type: number
  3418. unitid:
  3419. description: 品类单位id
  3420. type: integer
  3421. updatetime:
  3422. description: 更新时间
  3423. type: string
  3424. userid:
  3425. description: 机构ID
  3426. type: integer
  3427. username:
  3428. description: 机构名称
  3429. type: string
  3430. warehousecode:
  3431. description: 仓库代码
  3432. type: string
  3433. warehouseinfoid:
  3434. description: 仓库ID
  3435. type: string
  3436. warehousename:
  3437. description: 仓库名称
  3438. type: string
  3439. warehousetype:
  3440. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3441. type: integer
  3442. wrstandardcode:
  3443. description: 品类代码
  3444. type: string
  3445. wrstandardid:
  3446. description: 品类ID
  3447. type: integer
  3448. wrstandardname:
  3449. description: 品类名称
  3450. type: string
  3451. type: object
  3452. models.Ermcp3Brand:
  3453. properties:
  3454. areauserid:
  3455. description: 用户id
  3456. type: integer
  3457. brandid:
  3458. description: 品牌id
  3459. type: integer
  3460. brandname:
  3461. description: 品牌名称
  3462. type: string
  3463. deliverygoodsid:
  3464. description: 品种ID
  3465. type: integer
  3466. type: object
  3467. models.Ermcp3Contract:
  3468. properties:
  3469. accountid:
  3470. description: 期货账户id
  3471. type: string
  3472. amount:
  3473. description: 金额 [1:一口价、3:暂定价]
  3474. type: number
  3475. attachment:
  3476. description: 附件
  3477. type: string
  3478. auditremark:
  3479. description: 审核意见
  3480. type: string
  3481. audittime:
  3482. description: 审核时间
  3483. type: string
  3484. biztype:
  3485. description: 业务类型 1-套保 2-套利
  3486. type: integer
  3487. brandname:
  3488. description: 品牌名称
  3489. type: string
  3490. buynickname:
  3491. description: 销售方昵称
  3492. type: string
  3493. buyuserid:
  3494. description: 采购方ID
  3495. type: integer
  3496. buyusername:
  3497. description: 采购方名称
  3498. type: string
  3499. contracctstatus:
  3500. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3501. type: integer
  3502. contractmargin:
  3503. description: 合同保证金
  3504. type: number
  3505. contractno:
  3506. description: 现货合同编号
  3507. type: string
  3508. contracttype:
  3509. description: 现货合同类型 - 1:采购 -1:销售
  3510. type: integer
  3511. convertfactor:
  3512. description: 标仓系数(品类)
  3513. type: number
  3514. createtime:
  3515. description: 创建时间
  3516. type: string
  3517. deliveryenddate:
  3518. description: 交收期(结束)
  3519. type: string
  3520. deliverygoodscode:
  3521. description: 现货品种代码
  3522. type: string
  3523. deliverygoodsid:
  3524. description: 现货品种ID
  3525. type: integer
  3526. deliverygoodsname:
  3527. description: 现货品种名称
  3528. type: string
  3529. deliverystartdate:
  3530. description: 交收期(开始)
  3531. type: string
  3532. enddate:
  3533. description: 点价结束日期 [2:点价 3:暂定价]
  3534. type: string
  3535. enumdicname:
  3536. description: 单位名称
  3537. type: string
  3538. goodscode:
  3539. description: 点价合约代码
  3540. type: string
  3541. goodsid:
  3542. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3543. type: integer
  3544. goodsname:
  3545. description: 点价商品名称
  3546. type: string
  3547. margin:
  3548. description: 当前保证金
  3549. type: number
  3550. meruserid:
  3551. description: 跟单员id
  3552. type: integer
  3553. meruserlogincode:
  3554. description: 跟单员登录代码
  3555. type: string
  3556. price:
  3557. description: 价格\暂定价 [1:一口价、3:暂定价]
  3558. type: number
  3559. pricemove:
  3560. description: 升贴水 [2:点价 3:暂定价]
  3561. type: number
  3562. pricetype:
  3563. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3564. type: integer
  3565. producttype:
  3566. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3567. type: integer
  3568. qty:
  3569. description: 数量
  3570. type: number
  3571. remark:
  3572. description: 备注
  3573. type: string
  3574. saleuserid:
  3575. description: 业务员id
  3576. type: integer
  3577. saleuserlogincode:
  3578. description: 业务员登录代码
  3579. type: string
  3580. sellnickname:
  3581. description: 采购方昵称
  3582. type: string
  3583. selluserid:
  3584. description: 销售方ID
  3585. type: integer
  3586. sellusername:
  3587. description: 销售方名称
  3588. type: string
  3589. spotcontractid:
  3590. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3591. type: string
  3592. spotgoodsbrandid:
  3593. description: 现货品牌ID(DGFactoryItem表的ID)
  3594. type: integer
  3595. spotgoodsdesc:
  3596. description: 商品型号
  3597. type: string
  3598. startdate:
  3599. description: 点价开始日期 [2:点价 3:暂定价]
  3600. type: string
  3601. tradeuserid:
  3602. description: 交易员id
  3603. type: integer
  3604. tradeuserlogincode:
  3605. description: 交易员登录代码
  3606. type: string
  3607. unitid:
  3608. description: 单位id(取品类上的单位id)
  3609. type: integer
  3610. updatetime:
  3611. description: 更新时间
  3612. type: string
  3613. userid:
  3614. description: 所属机构ID
  3615. type: integer
  3616. wrstandardcode:
  3617. description: 品类代码
  3618. type: string
  3619. wrstandardid:
  3620. description: 品类ID
  3621. type: integer
  3622. wrstandardname:
  3623. description: 品类名称
  3624. type: string
  3625. type: object
  3626. models.Ermcp3ExposureDetail:
  3627. properties:
  3628. areauserid:
  3629. description: 机构ID
  3630. type: integer
  3631. changeQty:
  3632. description: 套保变动量
  3633. type: number
  3634. contracttype:
  3635. description: 现货合同类型 - 1:采购 -1:销售
  3636. type: integer
  3637. convertfactor:
  3638. description: 标仓系数
  3639. type: number
  3640. convertratio:
  3641. description: 套保系数
  3642. type: number
  3643. createtime:
  3644. description: 时间
  3645. type: string
  3646. deliverygoodscode:
  3647. description: 现货品种代码
  3648. type: string
  3649. deliverygoodsid:
  3650. description: 现货品种id
  3651. type: integer
  3652. deliverygoodsname:
  3653. description: 现货品种名称
  3654. type: string
  3655. enumdicname:
  3656. description: 现货商品单位名称
  3657. type: string
  3658. logtype:
  3659. description: 类型 - 1:套保计划 2:现货合同
  3660. type: integer
  3661. middlegoodsId:
  3662. description: 套保商品id
  3663. type: integer
  3664. middlegoodscode:
  3665. description: 套保商品代码
  3666. type: string
  3667. middlegoodsname:
  3668. description: 套保商品名称
  3669. type: string
  3670. qty:
  3671. description: 数量
  3672. type: number
  3673. relateNo:
  3674. description: 现货合同/套保计划编号
  3675. type: string
  3676. type: object
  3677. models.Ermcp3Goods:
  3678. properties:
  3679. agreeunit:
  3680. description: 合约单位(合约乘数)
  3681. type: number
  3682. enumdicname:
  3683. description: 单位名称
  3684. type: string
  3685. exexchangecode:
  3686. description: 交易所代码
  3687. type: string
  3688. goodscode:
  3689. description: 期货商品代码
  3690. type: string
  3691. goodsid:
  3692. description: 期货商品id
  3693. type: integer
  3694. goodsname:
  3695. description: 期货商品名称
  3696. type: string
  3697. type: object
  3698. models.Ermcp3GoodsGroup:
  3699. properties:
  3700. agreeunit:
  3701. description: 合约单位
  3702. type: number
  3703. areauserid:
  3704. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  3705. type: integer
  3706. canshort:
  3707. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  3708. type: integer
  3709. closepricemode:
  3710. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  3711. type: integer
  3712. createtime:
  3713. description: 创建时间
  3714. type: string
  3715. creatorid:
  3716. description: 创建人
  3717. type: integer
  3718. currencyid:
  3719. description: 报价货币ID
  3720. type: integer
  3721. decimalplace:
  3722. description: 报价小数位
  3723. type: integer
  3724. enumdicname:
  3725. description: 单位名称
  3726. type: string
  3727. excludecfg:
  3728. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  3729. type: integer
  3730. exexchangeid:
  3731. description: 外部交易所ID[通道交易]
  3732. type: integer
  3733. goodsgroupid:
  3734. description: 商品组ID(自增ID)
  3735. type: integer
  3736. goodsgroupname:
  3737. description: 商品组名称
  3738. type: string
  3739. goodsgroupstatus:
  3740. description: 商品组状态 - 1:正常 2:注销
  3741. type: integer
  3742. goodunitid:
  3743. description: 报价单位ID
  3744. type: integer
  3745. groupcategroyid:
  3746. description: 品种分类ID
  3747. type: integer
  3748. innerdealmode:
  3749. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  3750. type: integer
  3751. marketid:
  3752. description: 所属市场ID
  3753. type: integer
  3754. modifierid:
  3755. description: 修改人
  3756. type: integer
  3757. modifytime:
  3758. description: 修改时间
  3759. type: string
  3760. outerdealmode:
  3761. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  3762. type: integer
  3763. outergroupcode:
  3764. description: 外部商品组代码[通道交易]
  3765. type: string
  3766. quoteminunit:
  3767. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3768. type: integer
  3769. quotesourcegroupid:
  3770. description: 所属行情源分组ID[参考行情市场用\通道交易]
  3771. type: integer
  3772. syncgoodsqty:
  3773. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  3774. type: integer
  3775. required:
  3776. - areauserid
  3777. type: object
  3778. models.Ermcp3GoodsGroupEx:
  3779. properties:
  3780. convertratio:
  3781. description: 折算系数(品种系数)
  3782. type: number
  3783. enumdicname:
  3784. description: 单位名称
  3785. type: string
  3786. exexchangecode:
  3787. description: 交易所代码
  3788. type: string
  3789. glist:
  3790. description: 合约列表
  3791. items:
  3792. $ref: '#/definitions/models.Ermcp3Goods'
  3793. type: array
  3794. goodsgroupid:
  3795. description: 商品组id
  3796. type: integer
  3797. goodsgroupname:
  3798. description: 商品组名称
  3799. type: string
  3800. goodsunitid:
  3801. description: 单位id
  3802. type: integer
  3803. middlegoodsid:
  3804. description: 套保商品id
  3805. type: integer
  3806. type: object
  3807. models.Ermcp3HedgePlan:
  3808. properties:
  3809. areauserid:
  3810. description: 用户ID
  3811. type: integer
  3812. audittime:
  3813. description: 审核时间
  3814. type: string
  3815. contracttype:
  3816. description: 计划类型 - 1:采购 -1:销售
  3817. type: integer
  3818. convertfactor:
  3819. description: 标仓系数
  3820. type: number
  3821. createtime:
  3822. description: 创建时间
  3823. type: string
  3824. deliverygoodscode:
  3825. description: 现货品种代码
  3826. type: string
  3827. deliverygoodsid:
  3828. description: 现货品种ID
  3829. type: integer
  3830. deliverygoodsname:
  3831. description: 现货品种名称
  3832. type: string
  3833. enumdicname:
  3834. description: 单位名称
  3835. type: string
  3836. hedgeplanid:
  3837. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  3838. type: string
  3839. hedgeplanno:
  3840. description: 套保计划编号(名称)
  3841. type: string
  3842. hedgeplanstatus:
  3843. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3844. type: integer
  3845. planqty:
  3846. description: 计划数量
  3847. type: number
  3848. plantime:
  3849. description: 计划时间
  3850. type: string
  3851. producttype:
  3852. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3853. type: integer
  3854. remark:
  3855. description: 备注
  3856. type: string
  3857. spotgoodsdesc:
  3858. description: 商品型号
  3859. type: string
  3860. unitid:
  3861. description: 单位id
  3862. type: integer
  3863. updatetime:
  3864. description: 更新时间
  3865. type: string
  3866. type: object
  3867. models.Ermcp3MiddleGoodsDetail2:
  3868. properties:
  3869. convertratio:
  3870. description: 套保系数(折算系数)
  3871. type: number
  3872. gplist:
  3873. description: 关联商品组列表
  3874. items:
  3875. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  3876. type: array
  3877. mg:
  3878. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3879. description: 套保商品信息
  3880. type: object
  3881. type: object
  3882. models.Ermcp3MiddleGoodsDetailEx:
  3883. properties:
  3884. dglist:
  3885. description: 关联的现货品种列表
  3886. items:
  3887. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  3888. type: array
  3889. gplist:
  3890. description: 关联商品组列表
  3891. items:
  3892. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  3893. type: array
  3894. mg:
  3895. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3896. description: 套保商品信息
  3897. type: object
  3898. type: object
  3899. models.Ermcp3ReportAreaSpotPL:
  3900. properties:
  3901. actualpl:
  3902. description: 实际损益
  3903. type: number
  3904. areauserid:
  3905. description: 所属机构
  3906. type: integer
  3907. brandname:
  3908. description: 品牌名称
  3909. type: string
  3910. curamount:
  3911. description: 期末额
  3912. type: number
  3913. curaverageprice:
  3914. description: 期末均价
  3915. type: number
  3916. curbuyamount:
  3917. description: 期末采购总额(采购额)
  3918. type: number
  3919. curbuyqty:
  3920. description: 期末采购总量
  3921. type: number
  3922. curmarketvalue:
  3923. description: 参考市值
  3924. type: number
  3925. curqty:
  3926. description: 期末量
  3927. type: number
  3928. cursellamount:
  3929. description: 期末销售总额(销售额)
  3930. type: number
  3931. cursellqty:
  3932. description: 期末销售总量
  3933. type: number
  3934. curspotprice:
  3935. description: 参考市价
  3936. type: number
  3937. deliverygoodscode:
  3938. description: 现货品种代码
  3939. type: string
  3940. deliverygoodsid:
  3941. description: 现货品种id
  3942. type: integer
  3943. deliverygoodsname:
  3944. description: 现货品种名称
  3945. type: string
  3946. enumdicname:
  3947. description: 现货商品单位名称
  3948. type: string
  3949. floatpl:
  3950. description: 浮动损益
  3951. type: number
  3952. gbenumdicname:
  3953. description: 品类单位名称
  3954. type: string
  3955. gbunitid:
  3956. description: 现货单位id
  3957. type: integer
  3958. modelname:
  3959. description: 品类名称
  3960. type: string
  3961. oriamount:
  3962. description: 期初额
  3963. type: number
  3964. oriaverageprice:
  3965. description: 期初均价
  3966. type: number
  3967. oribuyamount:
  3968. description: 期初采购总额
  3969. type: number
  3970. oribuyqty:
  3971. description: 期初采购总量
  3972. type: number
  3973. oriqty:
  3974. description: 期初量
  3975. type: number
  3976. orisellamount:
  3977. description: 期初销售总额
  3978. type: number
  3979. orisellqty:
  3980. description: 期初销售总量
  3981. type: number
  3982. spotgoodsbrandid:
  3983. description: 现货品牌ID
  3984. type: integer
  3985. todaybuyamount:
  3986. description: 今日采购额
  3987. type: number
  3988. todaybuyaverageprice:
  3989. description: 今日采购均价(采购均价)
  3990. type: number
  3991. todaybuyqty:
  3992. description: 今日采购量(采购增量)
  3993. type: number
  3994. todaysellamount:
  3995. description: 今日销售额
  3996. type: number
  3997. todaysellaverageprice:
  3998. description: 今日销售均价(销售均价)
  3999. type: number
  4000. todaysellqty:
  4001. description: 今日销售量(销售增量)
  4002. type: number
  4003. unitid:
  4004. description: 品类单位id
  4005. type: integer
  4006. updatetime:
  4007. description: 更新时间
  4008. type: string
  4009. wrstandardcode:
  4010. description: 品类代码
  4011. type: string
  4012. wrstandardid:
  4013. description: 品类ID
  4014. type: integer
  4015. wrstandardname:
  4016. description: 品类名称
  4017. type: string
  4018. type: object
  4019. models.Ermcp3ReportDaySpot:
  4020. properties:
  4021. areauserid:
  4022. description: 所属机构T
  4023. type: integer
  4024. buyinqty:
  4025. description: 采购入库量
  4026. type: number
  4027. deliverygoodscode:
  4028. description: 现货品种代码
  4029. type: string
  4030. deliverygoodsid:
  4031. description: 现货品种id
  4032. type: integer
  4033. deliverygoodsname:
  4034. description: 现货品种名称
  4035. type: string
  4036. enumdicname:
  4037. description: 现货商品单位名称
  4038. type: string
  4039. reckondate:
  4040. description: 日照时期(yyyyMMdd)
  4041. type: string
  4042. selloutqty:
  4043. description: 销售出库量
  4044. type: number
  4045. todaybuyreckonqty:
  4046. description: 采购确定量
  4047. type: number
  4048. todaysellreckonqty:
  4049. description: 销售确定量
  4050. type: number
  4051. totalbuypricedqty:
  4052. description: 采购定价量 = 期末 - 期初
  4053. type: number
  4054. totalsellpricedqty:
  4055. description: 销售定价量 = 期末 - 期初
  4056. type: number
  4057. type: object
  4058. models.Ermcp3ReportMonSpot:
  4059. properties:
  4060. areauserid:
  4061. description: 所属机构id
  4062. type: integer
  4063. buyinqty:
  4064. description: 采购入库量
  4065. type: number
  4066. cycletime:
  4067. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4068. type: string
  4069. cycletype:
  4070. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4071. type: integer
  4072. deliverygoodscode:
  4073. description: 现货品种代码
  4074. type: string
  4075. deliverygoodsid:
  4076. description: 现货品种id
  4077. type: integer
  4078. deliverygoodsname:
  4079. description: 现货品种名称
  4080. type: string
  4081. enumdicname:
  4082. description: 现货商品单位名称
  4083. type: string
  4084. selloutqty:
  4085. description: 销售出库量
  4086. type: number
  4087. todaybuyreckonqty:
  4088. description: 采购确定量
  4089. type: number
  4090. todaysellreckonqty:
  4091. description: 销售确定量
  4092. type: number
  4093. totalbuypricedqty:
  4094. description: 采购定价量 = 期末 - 期初
  4095. type: number
  4096. totalsellpricedqty:
  4097. description: 销售定价量 = 期末 - 期初
  4098. type: number
  4099. type: object
  4100. models.Ermcp3ReportOPLog:
  4101. properties:
  4102. applyid:
  4103. description: 操作人
  4104. type: integer
  4105. applyname:
  4106. description: 操作人名称
  4107. type: string
  4108. biztype:
  4109. description: 业务类型 - 1:套保计划 2:现货合同
  4110. type: integer
  4111. brandname:
  4112. description: 品牌名称
  4113. type: string
  4114. contracttype:
  4115. description: 现货合同类型 - 1:采购 -1:销售
  4116. type: integer
  4117. deliverygoodscode:
  4118. description: 现货品种代码
  4119. type: string
  4120. deliverygoodsid:
  4121. description: 现货品种id
  4122. type: integer
  4123. deliverygoodsname:
  4124. description: 现货品种名称
  4125. type: string
  4126. enumdicName:
  4127. description: 单位名称
  4128. type: string
  4129. logdatetime:
  4130. description: 流水日期(时间)
  4131. type: string
  4132. logid:
  4133. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4134. type: string
  4135. logtypename:
  4136. description: 合同类型(名称)
  4137. type: string
  4138. logvalue:
  4139. description: 数值
  4140. type: string
  4141. operatelogtype:
  4142. description: 操作流水类型 -
  4143. type: integer
  4144. optypename:
  4145. description: 流水类型名称
  4146. type: string
  4147. relatedid:
  4148. description: 现货合同ID\套保计划
  4149. type: string
  4150. relatedno:
  4151. description: 合同编号
  4152. type: string
  4153. tradedate:
  4154. description: 交易日(yyyyMMdd)
  4155. type: string
  4156. userid:
  4157. description: 机构ID
  4158. type: integer
  4159. type: object
  4160. models.Ermcp3SellBuyContract:
  4161. properties:
  4162. accountname:
  4163. description: 账户名称
  4164. type: string
  4165. attachment:
  4166. description: 附件
  4167. type: string
  4168. audittime:
  4169. description: 审核时间
  4170. type: string
  4171. brandname:
  4172. description: 品牌名称
  4173. type: string
  4174. contracctstatus:
  4175. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4176. type: integer
  4177. contractmargin:
  4178. description: 合同保证金
  4179. type: number
  4180. contractno:
  4181. description: 合同编号
  4182. type: string
  4183. contracttype:
  4184. description: 合同类型 1-采购, -1-销售
  4185. type: integer
  4186. convertfactor:
  4187. description: 标仓系数(品类)
  4188. type: number
  4189. createtime:
  4190. description: 创建时间
  4191. type: string
  4192. daikaiamount:
  4193. description: 应收(开)票额
  4194. type: number
  4195. deliveryenddate:
  4196. description: 交割结束日
  4197. type: string
  4198. deliverygoodscode:
  4199. description: 现货品种代码
  4200. type: string
  4201. deliverygoodsid:
  4202. description: 现货商品ID
  4203. type: integer
  4204. deliverygoodsname:
  4205. description: 现货品种名称
  4206. type: string
  4207. deliverystartdate:
  4208. description: 交割开始日
  4209. type: string
  4210. enddate:
  4211. description: 点价结束日
  4212. type: string
  4213. enumdicname:
  4214. description: 单位名称
  4215. type: string
  4216. goodscode:
  4217. description: 点价商品代码
  4218. type: string
  4219. goodsid:
  4220. description: 点价商品ID
  4221. type: integer
  4222. goodsname:
  4223. description: 点价商品名称
  4224. type: string
  4225. invoiceamount:
  4226. description: 已开票额
  4227. type: number
  4228. loanamount:
  4229. description: 贷款总额=已定价额+调整金额
  4230. type: number
  4231. margin:
  4232. description: 保证金
  4233. type: number
  4234. nickname:
  4235. description: 账户昵称
  4236. type: string
  4237. payamount:
  4238. description: 已收付额(收款或付款)
  4239. type: number
  4240. preinvoiceamount:
  4241. description: 预收(开)票额
  4242. type: number
  4243. prepayamount:
  4244. description: 预收付额
  4245. type: number
  4246. price:
  4247. description: 价格
  4248. type: number
  4249. pricedamount:
  4250. description: 已定价额
  4251. type: number
  4252. pricedavg:
  4253. description: 已点均价
  4254. type: number
  4255. pricedqty:
  4256. description: 已定价量
  4257. type: number
  4258. pricemove:
  4259. description: 升贴水
  4260. type: number
  4261. pricetype:
  4262. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4263. type: integer
  4264. producttype:
  4265. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4266. type: integer
  4267. qty:
  4268. description: 合同量
  4269. type: number
  4270. reckonadjustamount:
  4271. description: 调整金额
  4272. type: number
  4273. reckonedamount:
  4274. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4275. type: number
  4276. reckonotheramount:
  4277. description: 其它费用
  4278. type: number
  4279. reckonrealqty:
  4280. description: 已确定量
  4281. type: number
  4282. remark:
  4283. description: 备注
  4284. type: string
  4285. spotcontractid:
  4286. description: 合同ID
  4287. type: string
  4288. spotgoodsbrandid:
  4289. description: 现货品牌ID(DGFactoryItem表的ID)
  4290. type: integer
  4291. spotgoodsdesc:
  4292. description: 商品型号(商品规格)
  4293. type: string
  4294. startdate:
  4295. description: 点价开始日
  4296. type: string
  4297. totalamount:
  4298. description: 合计总额
  4299. type: number
  4300. unpayamount:
  4301. description: 应收付款额(应支付或应收款)
  4302. type: number
  4303. unpricedqty:
  4304. description: 未定价量
  4305. type: number
  4306. unsureqty:
  4307. description: 未确定量
  4308. type: number
  4309. userid:
  4310. description: 机构ID
  4311. type: integer
  4312. wrstandardcode:
  4313. description: 品类代码
  4314. type: string
  4315. wrstandardid:
  4316. description: 品类ID
  4317. type: integer
  4318. wrstandardname:
  4319. description: 品类名称
  4320. type: string
  4321. type: object
  4322. models.Ermcp3SpotGoodsPrice:
  4323. properties:
  4324. areauserid:
  4325. description: 所属机构id
  4326. type: integer
  4327. brandname:
  4328. description: 品牌名称
  4329. type: string
  4330. currencyid:
  4331. description: 报价货币ID
  4332. type: integer
  4333. deliverygoodscode:
  4334. description: 现货商品代码
  4335. type: string
  4336. deliverygoodsid:
  4337. description: 现货商品id
  4338. type: integer
  4339. deliverygoodsname:
  4340. description: 现货商品名称
  4341. type: string
  4342. enumdicname:
  4343. description: 现货商品单位名称
  4344. type: string
  4345. gbenumdicname:
  4346. description: 品类单位名称
  4347. type: string
  4348. gmunitid:
  4349. description: 品类单位id
  4350. type: integer
  4351. isvalid:
  4352. description: 是否有效 - 0:无效 1:有效
  4353. type: integer
  4354. operateid:
  4355. description: 最后操作人
  4356. type: integer
  4357. operatesrc:
  4358. description: 最后操作来源 - 1:管理端 2:终端
  4359. type: integer
  4360. operatetime:
  4361. description: 最后操作时间
  4362. type: string
  4363. operatorname:
  4364. description: 操作人名称
  4365. type: string
  4366. spotgoodsbrandid:
  4367. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4368. type: integer
  4369. spotgoodsprice:
  4370. description: 现货价格
  4371. type: number
  4372. tradedate:
  4373. description: 交易日(yyyyMMdd)
  4374. type: string
  4375. unitid:
  4376. description: 现货商品单位id
  4377. type: integer
  4378. wrstandardcode:
  4379. description: 品类代码
  4380. type: string
  4381. wrstandardid:
  4382. description: 现货品类ID(通用则为0)
  4383. type: integer
  4384. wrstandardname:
  4385. description: 品类名称
  4386. type: string
  4387. type: object
  4388. models.Ermcp3SpotGoodsPriceLog:
  4389. properties:
  4390. areauserid:
  4391. description: 所属机构id
  4392. type: integer
  4393. brandname:
  4394. description: 品牌名称
  4395. type: string
  4396. currencyid:
  4397. description: 报价货币ID
  4398. type: integer
  4399. deliverygoodscode:
  4400. description: 现货商品代码
  4401. type: string
  4402. deliverygoodsid:
  4403. description: 现货商品id
  4404. type: integer
  4405. deliverygoodsname:
  4406. description: 现货商品名称
  4407. type: string
  4408. enumdicname:
  4409. description: 现货商品单位名称
  4410. type: string
  4411. gbenumdicname:
  4412. description: 品类单位名称
  4413. type: string
  4414. gmunitid:
  4415. description: 品类单位id
  4416. type: integer
  4417. logid:
  4418. description: 日志id
  4419. type: integer
  4420. operateid:
  4421. description: 最后操作人
  4422. type: integer
  4423. operatesrc:
  4424. description: 最后操作来源 - 1:管理端 2:终端
  4425. type: integer
  4426. operatetime:
  4427. description: 最后操作时间
  4428. type: string
  4429. operatorname:
  4430. description: 操作人名称
  4431. type: string
  4432. spotgoodsbrandid:
  4433. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4434. type: integer
  4435. spotgoodsprice:
  4436. description: 现货价格
  4437. type: number
  4438. tradedate:
  4439. description: 交易日(yyyyMMdd)
  4440. type: string
  4441. unitid:
  4442. description: 现货商品单位id
  4443. type: integer
  4444. wrstandardcode:
  4445. description: 品类代码
  4446. type: string
  4447. wrstandardid:
  4448. description: 现货品类ID(通用则为0)
  4449. type: integer
  4450. wrstandardname:
  4451. description: 品类名称
  4452. type: string
  4453. type: object
  4454. models.Ermcp3Wrstandard:
  4455. properties:
  4456. areauserid:
  4457. description: 所属机构
  4458. type: integer
  4459. convertfactor:
  4460. description: 标仓系数
  4461. type: number
  4462. createtime:
  4463. description: 创建时间
  4464. type: string
  4465. creatorid:
  4466. description: 创建人
  4467. type: integer
  4468. deliverygoodsid:
  4469. description: 现货品种ID
  4470. type: integer
  4471. enumdicname:
  4472. description: 品类单位名称
  4473. type: string
  4474. isvalid:
  4475. description: 是否有效 0-无效(停用) 1-有效(正常)
  4476. type: integer
  4477. minivalue:
  4478. description: 最小变动值
  4479. type: integer
  4480. minivaluedp:
  4481. description: 最小变动值小数位
  4482. type: integer
  4483. realminivalue:
  4484. description: 实际最小变动值
  4485. type: integer
  4486. realminivaluedp:
  4487. description: 实际最小变动值小数位
  4488. type: integer
  4489. remark:
  4490. description: 备注
  4491. type: string
  4492. unitid:
  4493. description: 品类单位ID
  4494. type: integer
  4495. updatetime:
  4496. description: 更新时间
  4497. type: string
  4498. wrstandardcode:
  4499. description: 品类代码
  4500. type: string
  4501. wrstandardid:
  4502. description: 品类ID(SEQ_WRSTANDARD)
  4503. type: integer
  4504. wrstandardname:
  4505. description: 品类名称
  4506. type: string
  4507. type: object
  4508. models.ErmcpAreaSpotDetailModel:
  4509. properties:
  4510. contracttype:
  4511. description: 合同类型 1-采购 -1-销售
  4512. type: integer
  4513. createtime:
  4514. description: 创建时间
  4515. type: string
  4516. enumdicname:
  4517. description: 现货商品单位名称
  4518. type: string
  4519. logtype:
  4520. description: 记录类型 1-套保 2-现货合同
  4521. type: integer
  4522. qty:
  4523. description: 数量
  4524. type: number
  4525. recordname:
  4526. description: 类型名称
  4527. type: string
  4528. relatedid:
  4529. description: 套保计划ID/现货合同ID
  4530. type: string
  4531. relatedno:
  4532. description: 编号
  4533. type: string
  4534. strtime:
  4535. description: 时间
  4536. type: string
  4537. wrstandardcode:
  4538. description: 现货商品代码
  4539. type: string
  4540. wrstandardname:
  4541. description: 现货商品名称
  4542. type: string
  4543. type: object
  4544. models.ErmcpAreaStock:
  4545. properties:
  4546. brandname:
  4547. description: 品牌名称
  4548. type: string
  4549. curstock:
  4550. description: 期末库存量(今日量)
  4551. type: number
  4552. deliverygoodsid:
  4553. description: 现货品种ID
  4554. type: integer
  4555. enumdicname:
  4556. description: 单位名称
  4557. type: string
  4558. modelname:
  4559. description: 型号名称
  4560. type: string
  4561. oristock:
  4562. description: 期初库存量(昨日量)
  4563. type: number
  4564. spotgoodsbrandid:
  4565. description: 现货品牌ID
  4566. type: integer
  4567. spotgoodsmodelid:
  4568. description: 现货型号ID
  4569. type: integer
  4570. todaybuyinqty:
  4571. description: 今日采购入库量
  4572. type: number
  4573. todayproduceinqty:
  4574. description: 今日生产入库量
  4575. type: number
  4576. todayproduceoutqty:
  4577. description: 今日生产出库量
  4578. type: number
  4579. todayselloutqty:
  4580. description: 今日销售出库量
  4581. type: number
  4582. unitid:
  4583. description: 单位id
  4584. type: integer
  4585. updatetime:
  4586. description: 更新时间
  4587. type: string
  4588. userid:
  4589. description: 机构ID
  4590. type: integer
  4591. username:
  4592. description: 机构名称
  4593. type: string
  4594. warehousecode:
  4595. description: 仓库代码
  4596. type: string
  4597. warehouseinfoid:
  4598. description: 仓库ID
  4599. type: string
  4600. warehousename:
  4601. description: 仓库名称
  4602. type: string
  4603. warehousetype:
  4604. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4605. type: integer
  4606. wrstandardcode:
  4607. description: 现货商品代码
  4608. type: string
  4609. wrstandardid:
  4610. description: 现货商品ID
  4611. type: string
  4612. wrstandardname:
  4613. description: 现货商品名称
  4614. type: string
  4615. type: object
  4616. models.ErmcpAreaStockApply:
  4617. properties:
  4618. applyid:
  4619. description: 申请人
  4620. type: integer
  4621. applyname:
  4622. description: 申请人名称
  4623. type: string
  4624. applyremark:
  4625. description: 申请备注
  4626. type: string
  4627. applysrc:
  4628. description: 申请来源 - 1:管理端 2:终端
  4629. type: integer
  4630. applystatus:
  4631. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4632. type: integer
  4633. applytime:
  4634. description: 申请时间
  4635. type: string
  4636. auditid:
  4637. description: 审核人
  4638. type: integer
  4639. auditname:
  4640. description: 审核人名称
  4641. type: string
  4642. auditremark:
  4643. description: 审核备注
  4644. type: string
  4645. auditsrc:
  4646. description: 审核来源 - 1:管理端 2:终端
  4647. type: integer
  4648. audittime:
  4649. description: 审核时间
  4650. type: string
  4651. audittradedate:
  4652. description: 审核交易日(yyyyMMdd)
  4653. type: string
  4654. brandname:
  4655. description: 品牌名称
  4656. type: string
  4657. buyuserid:
  4658. description: 采购方userid
  4659. type: integer
  4660. buyusername:
  4661. description: 采购方名称
  4662. type: string
  4663. contractno:
  4664. description: 合同编号
  4665. type: string
  4666. contractqty:
  4667. description: 合同量
  4668. type: number
  4669. contracttype:
  4670. description: 现货合同类型 - 1:采购 -1:销售
  4671. type: integer
  4672. deliverygoodsid:
  4673. description: 现货品种ID
  4674. type: integer
  4675. enumdicname:
  4676. description: 现货商品单位名称
  4677. type: string
  4678. inoutapplyid:
  4679. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4680. type: string
  4681. inouttype:
  4682. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4683. type: integer
  4684. modelname:
  4685. description: 型号名称
  4686. type: string
  4687. pricetype:
  4688. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4689. type: integer
  4690. qty:
  4691. description: 数量
  4692. type: number
  4693. selluserid:
  4694. description: 销售方userid
  4695. type: integer
  4696. sellusername:
  4697. description: 销售方名称
  4698. type: string
  4699. spotcontractid:
  4700. description: 关联现货合同ID
  4701. type: string
  4702. spotgoodsbrandid:
  4703. description: 现货品牌ID
  4704. type: integer
  4705. spotgoodsmodelid:
  4706. description: 现货型号ID
  4707. type: integer
  4708. unitid:
  4709. description: 单位id
  4710. type: integer
  4711. userid:
  4712. description: 机构ID
  4713. type: integer
  4714. warehousecode:
  4715. description: 仓库代码
  4716. type: string
  4717. warehouseinfoid:
  4718. description: 现货仓库ID
  4719. type: string
  4720. warehousename:
  4721. description: 仓库名称
  4722. type: string
  4723. warehousetype:
  4724. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4725. type: integer
  4726. wrstandardcode:
  4727. description: 现货商品代码
  4728. type: string
  4729. wrstandardid:
  4730. description: 现货商品ID
  4731. type: string
  4732. wrstandardname:
  4733. description: 现货商品名称
  4734. type: string
  4735. type: object
  4736. models.ErmcpAreaStockApplySum:
  4737. properties:
  4738. brandname:
  4739. description: 品牌名称
  4740. type: string
  4741. inouttype:
  4742. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4743. type: integer
  4744. modelname:
  4745. description: 型号名称
  4746. type: string
  4747. spotcontractid:
  4748. description: 关联现货合同ID
  4749. type: string
  4750. spotgoodsbrandid:
  4751. description: 品牌id
  4752. type: integer
  4753. spotgoodsmodelid:
  4754. description: 型号id
  4755. type: integer
  4756. totalqty:
  4757. description: 总数量
  4758. type: number
  4759. type: object
  4760. models.ErmcpAreaStockReport:
  4761. properties:
  4762. brandname:
  4763. description: 品牌名称
  4764. type: string
  4765. curstock:
  4766. description: 期末库存量
  4767. type: number
  4768. deliverygoodsid:
  4769. description: 现货品种ID
  4770. type: integer
  4771. enumdicname:
  4772. description: 单位名称
  4773. type: string
  4774. modelname:
  4775. description: 型号名称
  4776. type: string
  4777. oristock:
  4778. description: 期初库存量
  4779. type: number
  4780. spotgoodsbrandid:
  4781. description: 现货品牌ID
  4782. type: integer
  4783. spotgoodsmodelid:
  4784. description: 现货型号ID
  4785. type: integer
  4786. todaybuyinqty:
  4787. description: 今日采购入库量
  4788. type: number
  4789. todayproduceinqty:
  4790. description: 今日生产入库量
  4791. type: number
  4792. todayproduceoutqty:
  4793. description: 今日生产出库量
  4794. type: number
  4795. todayselloutqty:
  4796. description: 今日销售出库量
  4797. type: number
  4798. unitid:
  4799. description: 单位id
  4800. type: integer
  4801. updatetime:
  4802. description: 更新时间
  4803. type: string
  4804. userid:
  4805. description: 机构ID
  4806. type: integer
  4807. username:
  4808. description: 机构名称
  4809. type: string
  4810. warehousecode:
  4811. description: 仓库代码
  4812. type: string
  4813. warehouseinfoid:
  4814. description: 仓库ID
  4815. type: string
  4816. warehousename:
  4817. description: 仓库名称
  4818. type: string
  4819. warehousetype:
  4820. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4821. type: integer
  4822. wrstandardcode:
  4823. description: 现货商品代码
  4824. type: string
  4825. wrstandardid:
  4826. description: 现货商品ID
  4827. type: string
  4828. wrstandardname:
  4829. description: 现货商品名称
  4830. type: string
  4831. type: object
  4832. models.ErmcpAvalidGoodsGroupModel:
  4833. properties:
  4834. goodsgroupid:
  4835. description: 期货品种id
  4836. type: integer
  4837. goodsgroupname:
  4838. description: 期货品种名称
  4839. type: string
  4840. goodunitid:
  4841. description: 品种单位id
  4842. type: integer
  4843. goodunitname:
  4844. description: 品种单位名称
  4845. type: string
  4846. outergroupcode:
  4847. description: 期货品种代码
  4848. type: string
  4849. type: object
  4850. models.ErmcpBizGroupEx:
  4851. properties:
  4852. acclist:
  4853. description: 账号列表
  4854. items:
  4855. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  4856. type: array
  4857. bizgroupid:
  4858. description: 业务分组id
  4859. type: integer
  4860. biztype:
  4861. description: 业务类型 1-套保 2-套利
  4862. type: integer
  4863. wrlist:
  4864. description: 现货商品表
  4865. items:
  4866. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  4867. type: array
  4868. type: object
  4869. models.ErmcpBizGroupSpotGoods:
  4870. properties:
  4871. areauserid:
  4872. description: 所属机构id
  4873. type: integer
  4874. bizgroupid:
  4875. description: 分组id
  4876. type: integer
  4877. biztype:
  4878. description: 业务类型 1-套保 2-套利
  4879. type: integer
  4880. deliverygoodscode:
  4881. description: 现货商品代码
  4882. type: string
  4883. deliverygoodsid:
  4884. description: 现货商品id
  4885. type: integer
  4886. deliverygoodsname:
  4887. description: 现货商品名称
  4888. type: string
  4889. unitid:
  4890. description: 现货商品单位id
  4891. type: integer
  4892. type: object
  4893. models.ErmcpBizGroupTaAccount:
  4894. properties:
  4895. accountid:
  4896. description: 账号id
  4897. type: string
  4898. accountname:
  4899. description: 账号名称
  4900. type: string
  4901. areauserid:
  4902. description: 所属机构id
  4903. type: integer
  4904. bizgroupid:
  4905. description: 业务分组id
  4906. type: integer
  4907. ismain:
  4908. description: 是否主账号 1-是 0-否
  4909. type: integer
  4910. type: object
  4911. models.ErmcpDGFactoryItem:
  4912. properties:
  4913. areauserid:
  4914. description: 用户id
  4915. type: integer
  4916. deliverygoodsid:
  4917. description: 现货品种ID
  4918. type: integer
  4919. dgfactoryitemid:
  4920. description: 选择项ID(SEQ_DGFACTORYITEM)
  4921. type: integer
  4922. dgfactoryitemtypeid:
  4923. description: 要素项类型
  4924. type: integer
  4925. dgfactoryitemvalue:
  4926. description: 要素项值(类型为仓库时填写仓库名称)
  4927. type: string
  4928. isvalid:
  4929. description: 是否有效 - 0:无效 1:有效
  4930. type: integer
  4931. orderindex:
  4932. description: 顺序
  4933. type: integer
  4934. warehouseid:
  4935. description: 仓库ID(类型为仓库时填写)
  4936. type: integer
  4937. type: object
  4938. models.ErmcpDeliveryGoods:
  4939. properties:
  4940. agreeunit:
  4941. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  4942. type: integer
  4943. areauserid:
  4944. description: 所属机构
  4945. type: integer
  4946. auditflag:
  4947. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  4948. type: integer
  4949. categoryid:
  4950. description: 类别ID(SEQ_WRCATEGORY)
  4951. type: integer
  4952. deliverygoodscode:
  4953. description: 现货品种代码
  4954. type: string
  4955. deliverygoodsid:
  4956. description: 现货品种ID(SEQ_DELIVERYGOODS)
  4957. type: integer
  4958. deliverygoodsname:
  4959. description: 现货品种名称
  4960. type: string
  4961. deliverygoodstype:
  4962. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  4963. type: integer
  4964. dgstatus:
  4965. description: 品种状态 - 作废 - 0:未激活 1:正常
  4966. type: integer
  4967. enumdicname:
  4968. description: 现货品种单位名称
  4969. type: string
  4970. goodsunitid:
  4971. description: 现货品种单位ID
  4972. type: integer
  4973. isvalid:
  4974. description: 是否有效 - 0:无效 1:有效
  4975. type: integer
  4976. qtydecimalplace:
  4977. description: 成交量小数位
  4978. type: integer
  4979. remark:
  4980. description: 备注
  4981. type: string
  4982. standardqty:
  4983. description: 标准数量(库位数量) [标准品特有]
  4984. type: integer
  4985. standardqtyrange:
  4986. description: 标准数量偏差范围 [标准品特有]
  4987. type: integer
  4988. type: object
  4989. models.ErmcpDeliveryGoodsDetail2:
  4990. properties:
  4991. convertratio:
  4992. description: 套保系数(折算系数)
  4993. type: number
  4994. data:
  4995. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  4996. description: 现货商品基本信息(交割品种)
  4997. type: object
  4998. gblist:
  4999. description: 品牌列表
  5000. items:
  5001. $ref: '#/definitions/models.Ermcp3Brand'
  5002. type: array
  5003. gmlist:
  5004. description: 品类列表(仓单标准)
  5005. items:
  5006. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5007. type: array
  5008. type: object
  5009. models.ErmcpDeliveryGoodsDetailEx:
  5010. properties:
  5011. data:
  5012. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5013. description: 现货商品基本信息(交割品种)
  5014. type: object
  5015. gblist:
  5016. description: 品牌列表
  5017. items:
  5018. $ref: '#/definitions/models.Ermcp3Brand'
  5019. type: array
  5020. gmlist:
  5021. description: 品类列表(仓单标准)
  5022. items:
  5023. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5024. type: array
  5025. mgList:
  5026. description: 套保列表
  5027. items:
  5028. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5029. type: array
  5030. type: object
  5031. models.ErmcpExposureDetailModel:
  5032. properties:
  5033. areauserid:
  5034. description: 机构ID
  5035. type: integer
  5036. changeQty:
  5037. description: 套保变动量
  5038. type: number
  5039. contracttype:
  5040. description: 现货合同类型 - 1:采购 -1:销售
  5041. type: integer
  5042. convertfactor:
  5043. description: 标仓系数
  5044. type: number
  5045. convertratio:
  5046. description: 套保系数
  5047. type: number
  5048. createtime:
  5049. description: 时间
  5050. type: string
  5051. enumdicname:
  5052. description: 现货商品单位名称
  5053. type: string
  5054. logtype:
  5055. description: 类型 - 1:套保计划 2:现货合同
  5056. type: integer
  5057. middlegoodsId:
  5058. description: 套保商品id
  5059. type: integer
  5060. middlegoodscode:
  5061. description: 套保商品代码
  5062. type: string
  5063. middlegoodsname:
  5064. description: 套保商品名称
  5065. type: string
  5066. qty:
  5067. description: 数量
  5068. type: number
  5069. relateNo:
  5070. description: 现货合同/套保计划编号
  5071. type: string
  5072. wrstandardcode:
  5073. description: 现货商品代码
  5074. type: string
  5075. wrstandardid:
  5076. description: 现货商品ID
  5077. type: integer
  5078. wrstandardname:
  5079. description: 现货商品名称
  5080. type: string
  5081. type: object
  5082. models.ErmcpExposurePostion:
  5083. properties:
  5084. agreeunit:
  5085. description: 合约单位
  5086. type: string
  5087. areauserid:
  5088. description: 所属机构id
  5089. type: integer
  5090. convertratio:
  5091. description: 期货品种系数(折算系数)
  5092. type: number
  5093. curqty:
  5094. description: 当前持仓
  5095. type: integer
  5096. diffhedgeqty:
  5097. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5098. type: number
  5099. diffqty:
  5100. description: 持仓变动量=当前持仓-昨日持仓
  5101. type: integer
  5102. goodscode:
  5103. description: 商品代码
  5104. type: string
  5105. goodsid:
  5106. description: 商品id
  5107. type: integer
  5108. goodsname:
  5109. description: 商品名称
  5110. type: string
  5111. middlegoodsid:
  5112. description: 套保商品id
  5113. type: integer
  5114. ydqty:
  5115. description: 昨日持仓
  5116. type: integer
  5117. type: object
  5118. models.ErmcpFuturesCompany:
  5119. properties:
  5120. brokerid:
  5121. description: 经纪公司代码
  5122. type: string
  5123. channeladdress:
  5124. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5125. type: string
  5126. channelid:
  5127. description: 对冲渠道ID
  5128. type: string
  5129. createtime:
  5130. description: 创建时间
  5131. type: string
  5132. creatorid:
  5133. description: 创建人
  5134. type: string
  5135. fcid:
  5136. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5137. type: integer
  5138. fcname:
  5139. description: 期货公司名称
  5140. type: string
  5141. isvalid:
  5142. description: 是否有效 - 0:无效 1:有效
  5143. type: integer
  5144. mhpaddress:
  5145. description: MHP服务地址(IP:Port)
  5146. type: string
  5147. riskrulegroupid:
  5148. description: 风控规则组ID
  5149. type: string
  5150. tradefeetmpid:
  5151. description: 手续费模板ID[TradeConfigTmpType为2]
  5152. type: string
  5153. trademargintmpid:
  5154. description: 保证金模板ID [TradeConfigTmpType为1]
  5155. type: string
  5156. traderatetmpid:
  5157. description: 汇率模板ID[TradeConfigTmpType为3]
  5158. type: string
  5159. updatetime:
  5160. description: 更新时间
  5161. type: string
  5162. updatorid:
  5163. description: 更新人
  5164. type: string
  5165. type: object
  5166. models.ErmcpGGConvertCfg:
  5167. properties:
  5168. convertratio:
  5169. description: 折算系数
  5170. type: number
  5171. destgoodsgroupid:
  5172. description: 目标品种ID
  5173. type: integer
  5174. dstcode:
  5175. description: 目录品种代码
  5176. type: string
  5177. dstexchangecode:
  5178. description: 目标期货交易所
  5179. type: string
  5180. dstname:
  5181. description: 目标品种名称
  5182. type: string
  5183. dstunitid:
  5184. description: 目标品种单位ID
  5185. type: integer
  5186. dstunitidname:
  5187. description: 目标品种单位名称
  5188. type: string
  5189. modifytime:
  5190. description: 修改时间
  5191. type: string
  5192. srccode:
  5193. description: 源品种代码
  5194. type: string
  5195. srcexchangecode:
  5196. description: 源期货交易所
  5197. type: string
  5198. srcgoodsgroupid:
  5199. description: 源品种ID
  5200. type: integer
  5201. srcname:
  5202. description: 源品种名称
  5203. type: string
  5204. srcunitid:
  5205. description: 源品种单位ID
  5206. type: integer
  5207. srcunitidname:
  5208. description: 源品种单位名称
  5209. type: string
  5210. type: object
  5211. models.ErmcpGoodsBrand:
  5212. properties:
  5213. areauserid:
  5214. description: 所属机构
  5215. type: integer
  5216. brandid:
  5217. description: BrandID(SEQ_SPOTGOODSBRAND)
  5218. type: integer
  5219. brandname:
  5220. description: 品牌名称
  5221. type: string
  5222. createtime:
  5223. description: 创建时间
  5224. type: string
  5225. creatorid:
  5226. description: 创建人
  5227. type: integer
  5228. creatorsrc:
  5229. description: 创建人来源 - 1:管理端 2:终端
  5230. type: integer
  5231. deliverygoodsid:
  5232. description: 现货品种ID
  5233. type: integer
  5234. isvalid:
  5235. description: 是否有效 - 0:无效 1:有效
  5236. type: integer
  5237. updatetime:
  5238. description: 更新时间
  5239. type: string
  5240. updatorid:
  5241. description: 更新人
  5242. type: integer
  5243. updatorsrc:
  5244. description: 更新人来源 - 1:管理端 2:终端
  5245. type: integer
  5246. wrstandardid:
  5247. description: 现货商品ID
  5248. type: integer
  5249. type: object
  5250. models.ErmcpGoodsModel:
  5251. properties:
  5252. areauserid:
  5253. description: 所属机构
  5254. type: integer
  5255. convertfactor:
  5256. description: 标仓系数
  5257. type: number
  5258. createtime:
  5259. description: 创建时间
  5260. type: string
  5261. creatorid:
  5262. description: 创建人
  5263. type: integer
  5264. creatorsrc:
  5265. description: 创建人来源 - 1:管理端 2:终端
  5266. type: integer
  5267. deliverygoodsid:
  5268. description: 现货品种ID
  5269. type: integer
  5270. isvalid:
  5271. description: 是否有效 - 0:无效 1:有效
  5272. type: integer
  5273. modelid:
  5274. description: ModelID(SEQ_SPOTGOODSMODEL)
  5275. type: integer
  5276. modelname:
  5277. description: 型号名称
  5278. type: string
  5279. updatetime:
  5280. description: 更新时间
  5281. type: string
  5282. updatorid:
  5283. description: 更新人
  5284. type: integer
  5285. updatorsrc:
  5286. description: 更新人来源 - 1:管理端 2:终端
  5287. type: integer
  5288. wrstandardid:
  5289. description: 现货商品ID
  5290. type: integer
  5291. type: object
  5292. models.ErmcpHedgePlan:
  5293. properties:
  5294. areauserid:
  5295. description: 用户ID
  5296. type: integer
  5297. audittime:
  5298. description: 审核时间
  5299. type: string
  5300. contracttype:
  5301. description: 计划类型 - 1:采购 -1:销售
  5302. type: integer
  5303. convertfactor:
  5304. description: 标仓系数
  5305. type: number
  5306. createtime:
  5307. description: 创建时间
  5308. type: string
  5309. deliverygoodsid:
  5310. description: 现货品种ID
  5311. type: integer
  5312. deliverygoodsname:
  5313. description: 现货品种名称
  5314. type: string
  5315. enumdicname:
  5316. description: 单位名称
  5317. type: string
  5318. hedgeplanid:
  5319. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5320. type: string
  5321. hedgeplanno:
  5322. description: 套保计划编号(名称)
  5323. type: string
  5324. hedgeplanstatus:
  5325. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5326. type: integer
  5327. planqty:
  5328. description: 计划数量
  5329. type: number
  5330. plantime:
  5331. description: 计划时间
  5332. type: string
  5333. producttype:
  5334. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5335. type: integer
  5336. remark:
  5337. description: 备注
  5338. type: string
  5339. spotgoodsdesc:
  5340. description: 商品型号
  5341. type: string
  5342. unitid:
  5343. description: 单位id
  5344. type: integer
  5345. updatetime:
  5346. description: 更新时间
  5347. type: string
  5348. wrstandardid:
  5349. description: 现货商品ID
  5350. type: integer
  5351. wrstandardname:
  5352. description: 现货商品名称
  5353. type: string
  5354. type: object
  5355. models.ErmcpHedgePosition:
  5356. properties:
  5357. accountid:
  5358. description: 资金账号[外部母账户]
  5359. type: integer
  5360. curbuyposition:
  5361. description: 期末买头寸
  5362. type: integer
  5363. cursellposition:
  5364. description: 期末卖头寸
  5365. type: integer
  5366. curtdbuyposition:
  5367. description: 期末今日买头寸
  5368. type: integer
  5369. curtdsellposition:
  5370. description: 期末今日卖头寸
  5371. type: integer
  5372. curydbuyposition:
  5373. description: 期末上日买头寸
  5374. type: integer
  5375. curydsellposition:
  5376. description: 期末上日卖头寸
  5377. type: integer
  5378. decreaseqty:
  5379. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5380. type: integer
  5381. fretdbuyposition:
  5382. description: 冻结今日买头寸
  5383. type: integer
  5384. fretdsellposition:
  5385. description: 冻结今日卖头寸
  5386. type: integer
  5387. freydbuyposition:
  5388. description: 冻结上日买头寸
  5389. type: integer
  5390. freydsellposition:
  5391. description: 冻结上日卖头寸
  5392. type: integer
  5393. goodscode:
  5394. description: 商品代码
  5395. type: string
  5396. goodsid:
  5397. description: 商品id
  5398. type: integer
  5399. goodsname:
  5400. description: 商品名称
  5401. type: string
  5402. hedgeaccountcode:
  5403. description: 对冲账号
  5404. type: string
  5405. hedgegoodsid:
  5406. description: 对冲合约ID
  5407. type: integer
  5408. increaseqty:
  5409. description: 增加数量 = 期末买头寸 - 期初买头寸
  5410. type: integer
  5411. marketid:
  5412. description: 市场ID
  5413. type: integer
  5414. relateduserid:
  5415. description: 关联用户id
  5416. type: integer
  5417. totalcurqty:
  5418. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5419. type: integer
  5420. totalydqty:
  5421. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5422. type: integer
  5423. tradedate:
  5424. description: 交易日(yyyyMMdd)
  5425. type: string
  5426. ydbuyposition:
  5427. description: 期初买头寸
  5428. type: integer
  5429. ydsellposition:
  5430. description: 期初卖头寸
  5431. type: integer
  5432. type: object
  5433. models.ErmcpHedgePositionDetail:
  5434. properties:
  5435. buyorsell:
  5436. description: 买卖方向 0-买 1-卖
  5437. type: integer
  5438. channelbuildtype:
  5439. description: 开平方向 1-建仓 2-平仓
  5440. type: integer
  5441. goodscode:
  5442. description: 商品代码
  5443. type: string
  5444. goodsname:
  5445. description: 商品名称
  5446. type: string
  5447. hedgegoodsid:
  5448. description: 商品id
  5449. type: integer
  5450. tradeqty:
  5451. description: 数量(成交数量)
  5452. type: integer
  5453. tradetime:
  5454. description: 时间(成交时间)
  5455. type: string
  5456. type: object
  5457. models.ErmcpHisExposure:
  5458. properties:
  5459. needhedgeexposoure:
  5460. description: 应套保敞口
  5461. type: number
  5462. reckondate:
  5463. description: 日照时期(yyyyMMdd)
  5464. type: string
  5465. totalexposure:
  5466. description: 总敞口
  5467. type: number
  5468. type: object
  5469. models.ErmcpHisExposureS:
  5470. properties:
  5471. data:
  5472. description: 历史敞口
  5473. items:
  5474. $ref: '#/definitions/models.ErmcpHisExposure'
  5475. type: array
  5476. enumdicname:
  5477. description: 单位名称
  5478. type: string
  5479. middlegoodscode:
  5480. description: 套保品种代码
  5481. type: string
  5482. middlegoodsid:
  5483. description: 套保品种ID
  5484. type: integer
  5485. middlegoodsname:
  5486. description: 套保品种名称
  5487. type: string
  5488. type: object
  5489. models.ErmcpLoginTaAccount:
  5490. properties:
  5491. accountid:
  5492. description: 账号id
  5493. type: integer
  5494. accountname:
  5495. description: 账号名称
  5496. type: string
  5497. type: object
  5498. models.ErmcpLoginUser:
  5499. properties:
  5500. acclist:
  5501. description: 关联资金账号
  5502. items:
  5503. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  5504. type: array
  5505. accountname:
  5506. description: 用户名称
  5507. type: string
  5508. clientroleid:
  5509. description: 角色id(usertype=2)
  5510. type: integer
  5511. createtime:
  5512. description: 创建时间
  5513. type: string
  5514. logincode:
  5515. description: 登录代码
  5516. type: string
  5517. loginid:
  5518. description: 登录id(LOGINID)
  5519. type: integer
  5520. loginstatus:
  5521. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5522. type: integer
  5523. memberuserid:
  5524. description: 所属会员id
  5525. type: integer
  5526. mobile:
  5527. description: 手机号
  5528. type: string
  5529. modifytime:
  5530. description: 修改时间
  5531. type: string
  5532. password:
  5533. description: 密码(不可解密)
  5534. type: string
  5535. rolename:
  5536. description: 角色名称
  5537. type: string
  5538. rolestatus:
  5539. description: 角色状态 1-启用 2-停用
  5540. type: integer
  5541. roletype:
  5542. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5543. type: string
  5544. userid:
  5545. description: 用户id
  5546. type: integer
  5547. usertype:
  5548. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5549. type: integer
  5550. type: object
  5551. models.ErmcpLoginUserEx:
  5552. properties:
  5553. roleid:
  5554. description: 角色id
  5555. type: integer
  5556. rolename:
  5557. description: 角色名称
  5558. type: string
  5559. userlist:
  5560. description: 用户列表
  5561. items:
  5562. $ref: '#/definitions/models.ErmcpLoginUser'
  5563. type: array
  5564. usertype:
  5565. description: 用户类型 2-机构 7-企业成员(云平台)
  5566. type: integer
  5567. type: object
  5568. models.ErmcpMiddleGoodsChangeLog:
  5569. properties:
  5570. aftervalue:
  5571. description: 变更后
  5572. type: number
  5573. applyid:
  5574. description: 操作人
  5575. type: integer
  5576. applyname:
  5577. description: 操作人名称
  5578. type: string
  5579. applysrc:
  5580. description: 操作来源 - 1:管理端 2:终端
  5581. type: integer
  5582. beforevalue:
  5583. description: 变更前
  5584. type: number
  5585. changelogtype:
  5586. description: 变更流水类型 - 1:套保比率变更
  5587. type: integer
  5588. handlestatus:
  5589. description: 处理状态
  5590. type: integer
  5591. logdatetime:
  5592. description: 流水日期
  5593. type: string
  5594. logid:
  5595. description: 流水ID
  5596. type: integer
  5597. logremark:
  5598. description: 流水备注
  5599. type: string
  5600. middlegoodsid:
  5601. description: 套保品种ID
  5602. type: integer
  5603. tradedate:
  5604. description: 交易日(yyyyMMdd)
  5605. type: string
  5606. updatetime:
  5607. description: 更新时间
  5608. type: string
  5609. type: object
  5610. models.ErmcpMiddleGoodsDetail:
  5611. properties:
  5612. cvList:
  5613. description: 期货品种折算列表
  5614. items:
  5615. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5616. type: array
  5617. mg:
  5618. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5619. description: 套保品种基本信息
  5620. type: object
  5621. wrcList:
  5622. description: 现货品种列表(现货商品折算配置)
  5623. items:
  5624. $ref: '#/definitions/models.WRSConverTDetail'
  5625. type: array
  5626. type: object
  5627. models.ErmcpMiddleGoodsModel:
  5628. properties:
  5629. areauserid:
  5630. description: 机构用户ID
  5631. type: integer
  5632. createtime:
  5633. description: 修改时间
  5634. type: string
  5635. enumdicname:
  5636. description: 单位名称
  5637. type: string
  5638. evaluateratio:
  5639. description: 估价系数
  5640. type: number
  5641. goodsgroupid:
  5642. description: 关联期货品种ID
  5643. type: integer
  5644. goodsunitid:
  5645. description: 单位ID
  5646. type: integer
  5647. isvalid:
  5648. description: 状态 0-无效(停用) 1-有效(正常)
  5649. type: integer
  5650. middlegoodscode:
  5651. description: 套保品种代码
  5652. type: string
  5653. middlegoodsid:
  5654. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5655. type: integer
  5656. middlegoodsname:
  5657. description: 套保品种名称
  5658. type: string
  5659. modifytime:
  5660. description: 修改时间
  5661. type: string
  5662. needhedgeratio:
  5663. description: 套保比率
  5664. type: number
  5665. qtydecimalplace:
  5666. description: 数量小数位
  5667. type: integer
  5668. relatedgoodsid:
  5669. description: 关联交易商品ID
  5670. type: integer
  5671. relatedgoodstype:
  5672. description: 关联商品类型 - 1:期货合约 2:现货品种
  5673. type: integer
  5674. remark:
  5675. description: 备注
  5676. type: string
  5677. type: object
  5678. models.ErmcpModel:
  5679. properties:
  5680. accountname:
  5681. description: 账户名称
  5682. type: string
  5683. attachment:
  5684. description: 附件
  5685. type: string
  5686. audittime:
  5687. description: 审核时间
  5688. type: string
  5689. brandname:
  5690. description: 品牌名称
  5691. type: string
  5692. contracctstatus:
  5693. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5694. type: integer
  5695. contractmargin:
  5696. description: 合同保证金
  5697. type: number
  5698. contractno:
  5699. description: 合同编号
  5700. type: string
  5701. contracttype:
  5702. description: 合同类型 1-采购, -1-销售
  5703. type: integer
  5704. convertfactor:
  5705. description: 标仓系数
  5706. type: number
  5707. createtime:
  5708. description: 创建时间
  5709. type: string
  5710. daikaiamount:
  5711. description: 应收(开)票额
  5712. type: number
  5713. deliveryenddate:
  5714. description: 交割结束日
  5715. type: string
  5716. deliverygoodscode:
  5717. description: 现货品种代码
  5718. type: string
  5719. deliverygoodsid:
  5720. description: 现货商品ID
  5721. type: integer
  5722. deliverygoodsname:
  5723. description: 现货品种名称
  5724. type: string
  5725. deliverystartdate:
  5726. description: 交割开始日
  5727. type: string
  5728. enddate:
  5729. description: 点价结束日
  5730. type: string
  5731. enumdicname:
  5732. description: 单位名称
  5733. type: string
  5734. goodscode:
  5735. description: 点价商品代码
  5736. type: string
  5737. goodsid:
  5738. description: 点价商品ID
  5739. type: integer
  5740. goodsname:
  5741. description: 点价商品名称
  5742. type: string
  5743. invoiceamount:
  5744. description: 已开票额
  5745. type: number
  5746. loanamount:
  5747. description: 贷款总额=已定价额+调整金额
  5748. type: number
  5749. margin:
  5750. description: 保证金
  5751. type: number
  5752. modelname:
  5753. description: 型号名称
  5754. type: string
  5755. payamount:
  5756. description: 已收付额(收款或付款)
  5757. type: number
  5758. preinvoiceamount:
  5759. description: 预收(开)票额
  5760. type: number
  5761. prepayamount:
  5762. description: 预收付额
  5763. type: number
  5764. price:
  5765. description: 价格
  5766. type: number
  5767. pricedamount:
  5768. description: 已定价额
  5769. type: number
  5770. pricedavg:
  5771. description: 已点均价
  5772. type: number
  5773. pricedqty:
  5774. description: 已定价量
  5775. type: number
  5776. pricemove:
  5777. description: 升贴水
  5778. type: number
  5779. pricetype:
  5780. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5781. type: integer
  5782. producttype:
  5783. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5784. type: integer
  5785. qty:
  5786. description: 合同量
  5787. type: number
  5788. reckonadjustamount:
  5789. description: 调整金额
  5790. type: number
  5791. reckonedamount:
  5792. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5793. type: number
  5794. reckonotheramount:
  5795. description: 其它费用
  5796. type: number
  5797. reckonrealqty:
  5798. description: 已确定量
  5799. type: number
  5800. remark:
  5801. description: 备注
  5802. type: string
  5803. spotcontractid:
  5804. description: 合同ID
  5805. type: string
  5806. spotgoodsbrandid:
  5807. description: 现货品牌ID
  5808. type: integer
  5809. spotgoodsdesc:
  5810. description: 商品型号(商品规格)
  5811. type: string
  5812. spotgoodsmodelid:
  5813. description: 现货型号ID
  5814. type: integer
  5815. startdate:
  5816. description: 点价开始日
  5817. type: string
  5818. totalamount:
  5819. description: 合计总额
  5820. type: number
  5821. unpayamount:
  5822. description: 应收付款额(应支付或应收款)
  5823. type: number
  5824. unpricedqty:
  5825. description: 未定价量
  5826. type: number
  5827. unsureqty:
  5828. description: 未确定量
  5829. type: number
  5830. userid:
  5831. description: 用户ID
  5832. type: integer
  5833. wrstandardcode:
  5834. description: 现货商品代码
  5835. type: string
  5836. wrstandardid:
  5837. description: 现货商品ID
  5838. type: integer
  5839. wrstandardname:
  5840. description: 现货商品名称
  5841. type: string
  5842. type: object
  5843. models.ErmcpOPLogModel:
  5844. properties:
  5845. aftervalue:
  5846. description: 变更后
  5847. type: number
  5848. applyid:
  5849. description: 操作人ID
  5850. type: string
  5851. applyname:
  5852. description: 操作人名称
  5853. type: string
  5854. beforevalue:
  5855. description: 变更前
  5856. type: number
  5857. biztype:
  5858. description: 业务类型 - 1:套保计划 2:现货合同
  5859. type: integer
  5860. contracttype:
  5861. description: 现货合同类型 - 1:采购 -1:销售
  5862. type: integer
  5863. logvalue:
  5864. description: 数值
  5865. type: number
  5866. operatelogtype:
  5867. description: 操作流水类型
  5868. type: integer
  5869. operatelogtypedesc:
  5870. description: 操作流水类型名称
  5871. type: string
  5872. relatedid:
  5873. description: 现货合同ID\套保计划
  5874. type: string
  5875. updatetime:
  5876. description: 更新时间
  5877. type: string
  5878. type: object
  5879. models.ErmcpPendingAudit:
  5880. properties:
  5881. areastockqty:
  5882. description: '待审核数量: 库存申请'
  5883. type: integer
  5884. businessdjqty:
  5885. description: '待审核数量: 点价'
  5886. type: integer
  5887. businessfpqty:
  5888. description: '待审核数量: 发票'
  5889. type: integer
  5890. businessjsqty:
  5891. description: '待审核数量: 结算'
  5892. type: integer
  5893. businesskxqty:
  5894. description: '待审核数量: 款项'
  5895. type: integer
  5896. hedgeplanqty:
  5897. description: '待审核数量: 套保计划'
  5898. type: integer
  5899. spotcontractqty:
  5900. description: '待审核数量: 现货合同'
  5901. type: integer
  5902. userqty:
  5903. description: '待审核数量: 用户'
  5904. type: integer
  5905. type: object
  5906. models.ErmcpRealExposureModel:
  5907. properties:
  5908. AreaUserID:
  5909. description: 所属机构
  5910. type: integer
  5911. BuyFutureQty:
  5912. description: 买入期货数量
  5913. type: number
  5914. BuyPlanQty:
  5915. description: 采购计划数量
  5916. type: number
  5917. BuyPricedQty:
  5918. description: 采购合同已定价数量
  5919. type: number
  5920. MiddleGoodsCode:
  5921. description: 套保品种代码
  5922. type: string
  5923. MiddleGoodsHedgeRatio:
  5924. description: 应套保比例
  5925. type: number
  5926. MiddleGoodsID:
  5927. description: 套保品种
  5928. type: integer
  5929. MiddleGoodsName:
  5930. description: 套保品种名称
  5931. type: string
  5932. NeedHedgeExposoure:
  5933. description: 应套保敞口
  5934. type: number
  5935. NeedHedgeRatio:
  5936. description: 应套保敞口比例
  5937. type: number
  5938. OriBuyFutureQty:
  5939. description: 期初买入期货数量
  5940. type: number
  5941. OriBuyPlanQty:
  5942. description: 期初采购计划数量
  5943. type: number
  5944. OriBuyPricedQty:
  5945. description: 期初采购合同已定价数量
  5946. type: number
  5947. OriSellFutureQty:
  5948. description: 期初卖出期货数量
  5949. type: number
  5950. OriSellPlanQty:
  5951. description: 期初销售计划数量
  5952. type: number
  5953. OriSellPricedQty:
  5954. description: 期初销售合同已定价数量
  5955. type: number
  5956. SellFutureQty:
  5957. description: 卖出期货数量
  5958. type: number
  5959. SellPlanQty:
  5960. description: 销售计划数量
  5961. type: number
  5962. SellPricedQty:
  5963. description: 销售合同已定价数量
  5964. type: number
  5965. TotalExposure:
  5966. description: 总敞口
  5967. type: number
  5968. TotalFutureQty:
  5969. description: 期货数量
  5970. type: number
  5971. TotalHedgeRatio:
  5972. description: 敞口比例
  5973. type: number
  5974. TotalNeedHedgeQty:
  5975. description: 期货应套保量
  5976. type: number
  5977. TotalSpotQty:
  5978. description: 现货数量
  5979. type: number
  5980. diffFutuQty:
  5981. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  5982. type: number
  5983. diffSpotQty:
  5984. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  5985. type: number
  5986. enumdicname:
  5987. description: 单位名称
  5988. type: string
  5989. oriTotalFutuQty:
  5990. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  5991. type: number
  5992. oriTotalSpotQty:
  5993. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  5994. type: number
  5995. type: object
  5996. models.ErmcpReportAreaSpotPL:
  5997. properties:
  5998. actualpl:
  5999. description: 实际损益
  6000. type: number
  6001. areauserid:
  6002. description: 所属机构
  6003. type: integer
  6004. brandname:
  6005. description: 品牌名称
  6006. type: string
  6007. curamount:
  6008. description: 期末额
  6009. type: number
  6010. curaverageprice:
  6011. description: 期末均价
  6012. type: number
  6013. curbuyamount:
  6014. description: 期末采购总额(采购额)
  6015. type: number
  6016. curbuyqty:
  6017. description: 期末采购总量
  6018. type: number
  6019. curmarketvalue:
  6020. description: 参考市值
  6021. type: number
  6022. curqty:
  6023. description: 期末量
  6024. type: number
  6025. cursellamount:
  6026. description: 期末销售总额(销售额)
  6027. type: number
  6028. cursellqty:
  6029. description: 期末销售总量
  6030. type: number
  6031. curspotprice:
  6032. description: 参考市价
  6033. type: number
  6034. enumdicname:
  6035. description: 现货商品单位名称
  6036. type: string
  6037. floatpl:
  6038. description: 浮动损益
  6039. type: number
  6040. gbenumdicname:
  6041. description: 品类单位名称
  6042. type: string
  6043. gbunitid:
  6044. description: 品类单位id
  6045. type: integer
  6046. modelname:
  6047. description: 品类名称
  6048. type: string
  6049. oriamount:
  6050. description: 期初额
  6051. type: number
  6052. oriaverageprice:
  6053. description: 期初均价
  6054. type: number
  6055. oribuyamount:
  6056. description: 期初采购总额
  6057. type: number
  6058. oribuyqty:
  6059. description: 期初采购总量
  6060. type: number
  6061. oriqty:
  6062. description: 期初量
  6063. type: number
  6064. orisellamount:
  6065. description: 期初销售总额
  6066. type: number
  6067. orisellqty:
  6068. description: 期初销售总量
  6069. type: number
  6070. spotgoodsbrandid:
  6071. description: 现货品牌ID
  6072. type: integer
  6073. spotgoodsmodelid:
  6074. description: 现货品类ID
  6075. type: integer
  6076. todaybuyamount:
  6077. description: 今日采购额
  6078. type: number
  6079. todaybuyaverageprice:
  6080. description: 今日采购均价(采购均价)
  6081. type: number
  6082. todaybuyqty:
  6083. description: 今日采购量(采购增量)
  6084. type: number
  6085. todaysellamount:
  6086. description: 今日销售额
  6087. type: number
  6088. todaysellaverageprice:
  6089. description: 今日销售均价(销售均价)
  6090. type: number
  6091. todaysellqty:
  6092. description: 今日销售量(销售增量)
  6093. type: number
  6094. unitid:
  6095. description: 现货商品单位id
  6096. type: integer
  6097. updatetime:
  6098. description: 更新时间
  6099. type: string
  6100. wrstandardcode:
  6101. description: 现货商品代码
  6102. type: string
  6103. wrstandardid:
  6104. description: 现货商品ID
  6105. type: integer
  6106. wrstandardname:
  6107. description: 现货商品名称
  6108. type: string
  6109. type: object
  6110. models.ErmcpReportDayExposure:
  6111. properties:
  6112. areauserid:
  6113. description: 所属机构
  6114. type: integer
  6115. buyfutureqty:
  6116. description: 买入期货数量
  6117. type: number
  6118. buyplanqty:
  6119. description: 采购计划数量
  6120. type: number
  6121. buypricedqty:
  6122. description: 采购合同已定价数量
  6123. type: number
  6124. diffFutuQty:
  6125. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  6126. type: number
  6127. diffSpotQty:
  6128. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  6129. type: number
  6130. enumdicname:
  6131. description: 单位名称
  6132. type: string
  6133. middlegoodscode:
  6134. description: 套保品种代码
  6135. type: string
  6136. middlegoodshedgeratio:
  6137. description: 应套保比例
  6138. type: number
  6139. middlegoodsid:
  6140. description: 套保品种ID
  6141. type: integer
  6142. middlegoodsname:
  6143. description: 套保品种名称
  6144. type: string
  6145. needhedgeexposoure:
  6146. description: 应套保敞口
  6147. type: number
  6148. needhedgeratio:
  6149. description: 应套保敞口比例
  6150. type: number
  6151. oriTotalFutuQty:
  6152. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6153. type: number
  6154. oriTotalSpotQty:
  6155. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6156. type: number
  6157. oribuyfutureqty:
  6158. description: 期初买入期货数量
  6159. type: number
  6160. oribuyplanqty:
  6161. description: 期初采购计划数量
  6162. type: number
  6163. oribuypricedqty:
  6164. description: 期初采购合同已定价数量
  6165. type: number
  6166. orisellfutureqty:
  6167. description: 期初卖出期货数量
  6168. type: number
  6169. orisellplanqty:
  6170. description: 期初销售计划数量
  6171. type: number
  6172. orisellpricedqty:
  6173. description: 期初销售合同已定价数量
  6174. type: number
  6175. reckondate:
  6176. description: 日照时期(yyyyMMdd)
  6177. type: string
  6178. sellfutureqty:
  6179. description: 卖出期货数量
  6180. type: number
  6181. sellplanqty:
  6182. description: 销售计划数量
  6183. type: number
  6184. sellpricedqty:
  6185. description: 销售合同已定价数量
  6186. type: number
  6187. totalexposure:
  6188. description: 总敞口
  6189. type: number
  6190. totalfutureqty:
  6191. description: 期货数量
  6192. type: number
  6193. totalhedgeratio:
  6194. description: 敞口比例
  6195. type: number
  6196. totalneedhedgeqty:
  6197. description: 期货应套保量
  6198. type: number
  6199. totalspotqty:
  6200. description: 现货数量
  6201. type: number
  6202. type: object
  6203. models.ErmcpReportDayFR:
  6204. properties:
  6205. areauserid:
  6206. description: 所属机构
  6207. type: integer
  6208. collectinvoiceamount:
  6209. description: 今日开票金额
  6210. type: number
  6211. collectinvoicecount:
  6212. description: 今日开票笔数
  6213. type: integer
  6214. collectmoneyamount:
  6215. description: 今日收款金额
  6216. type: number
  6217. collectmoneycount:
  6218. description: 今日收款笔数
  6219. type: integer
  6220. payinvoiceamount:
  6221. description: 今日收票金额
  6222. type: number
  6223. payinvoicecount:
  6224. description: 今日收票笔数
  6225. type: integer
  6226. paymoneyamount:
  6227. description: 今日付款金额
  6228. type: number
  6229. paymoneycount:
  6230. description: 今日付款笔数
  6231. type: integer
  6232. reckondate:
  6233. description: 日照时期(yyyyMMdd)
  6234. type: string
  6235. updatetime:
  6236. description: 更新时间
  6237. type: string
  6238. type: object
  6239. models.ErmcpReportDaySpot:
  6240. properties:
  6241. areauserid:
  6242. description: 所属机构T
  6243. type: integer
  6244. buyinqty:
  6245. description: 采购入库量
  6246. type: number
  6247. enumdicname:
  6248. description: 现货商品单位名称
  6249. type: string
  6250. reckondate:
  6251. description: 日照时期(yyyyMMdd)
  6252. type: string
  6253. selloutqty:
  6254. description: 销售出库量
  6255. type: number
  6256. todaybuyreckonqty:
  6257. description: 采购确定量
  6258. type: number
  6259. todaysellreckonqty:
  6260. description: 销售确定量
  6261. type: number
  6262. totalbuypricedqty:
  6263. description: 采购定价量 = 期末 - 期初
  6264. type: number
  6265. totalsellpricedqty:
  6266. description: 销售定价量 = 期末 - 期初
  6267. type: number
  6268. wrstandardcode:
  6269. description: 现货商品代码
  6270. type: string
  6271. wrstandardid:
  6272. description: 现货商品ID
  6273. type: integer
  6274. wrstandardname:
  6275. description: 现货商品名称
  6276. type: string
  6277. type: object
  6278. models.ErmcpReportMonSpot:
  6279. properties:
  6280. areauserid:
  6281. description: 所属机构T
  6282. type: integer
  6283. buyinqty:
  6284. description: 采购入库量
  6285. type: number
  6286. cycletime:
  6287. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6288. type: string
  6289. cycletype:
  6290. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6291. type: integer
  6292. enumdicname:
  6293. description: 现货商品单位名称
  6294. type: string
  6295. selloutqty:
  6296. description: 销售出库量
  6297. type: number
  6298. todaybuyreckonqty:
  6299. description: 采购确定量
  6300. type: number
  6301. todaysellreckonqty:
  6302. description: 销售确定量
  6303. type: number
  6304. totalbuypricedqty:
  6305. description: 采购定价量 = 期末 - 期初
  6306. type: number
  6307. totalsellpricedqty:
  6308. description: 销售定价量 = 期末 - 期初
  6309. type: number
  6310. wrstandardcode:
  6311. description: 现货商品代码
  6312. type: string
  6313. wrstandardid:
  6314. description: 现货商品ID
  6315. type: integer
  6316. wrstandardname:
  6317. description: 现货商品名称
  6318. type: string
  6319. type: object
  6320. models.ErmcpReportMonthFR:
  6321. properties:
  6322. areauserid:
  6323. description: 所属机构【原值】
  6324. type: integer
  6325. collectinvoiceamount:
  6326. description: 今日开票金额【汇总】
  6327. type: number
  6328. collectinvoicecount:
  6329. description: 今日开票笔数【汇总】
  6330. type: integer
  6331. collectmoneyamount:
  6332. description: 今日收款金额【汇总】
  6333. type: number
  6334. collectmoneycount:
  6335. description: 今日收款笔数 【汇总】
  6336. type: integer
  6337. cycletime:
  6338. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6339. type: string
  6340. cycletype:
  6341. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6342. type: integer
  6343. dayFr:
  6344. description: 日报表明细
  6345. items:
  6346. $ref: '#/definitions/models.ErmcpReportDayFR'
  6347. type: array
  6348. payinvoiceamount:
  6349. description: 今日收票金额【汇总】
  6350. type: number
  6351. payinvoicecount:
  6352. description: 今日收票笔数【汇总】
  6353. type: integer
  6354. paymoneyamount:
  6355. description: 今日付款金额【汇总】
  6356. type: number
  6357. paymoneycount:
  6358. description: 今日付款笔数【汇总】
  6359. type: integer
  6360. updatetime:
  6361. description: 更新时间
  6362. type: string
  6363. type: object
  6364. models.ErmcpReportOPLog:
  6365. properties:
  6366. applyid:
  6367. description: 操作人
  6368. type: integer
  6369. applyname:
  6370. description: 操作人名称
  6371. type: string
  6372. biztype:
  6373. description: 业务类型 - 1:套保计划 2:现货合同
  6374. type: integer
  6375. brandname:
  6376. description: 品牌名称
  6377. type: string
  6378. contracttype:
  6379. description: 现货合同类型 - 1:采购 -1:销售
  6380. type: integer
  6381. enumdicName:
  6382. description: 单位名称
  6383. type: string
  6384. logdatetime:
  6385. description: 流水日期(时间)
  6386. type: string
  6387. logid:
  6388. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  6389. type: string
  6390. logtypename:
  6391. description: 合同类型(名称)
  6392. type: string
  6393. logvalue:
  6394. description: 数值
  6395. type: string
  6396. modelname:
  6397. description: 型号名称
  6398. type: string
  6399. operatelogtype:
  6400. description: 操作流水类型 -
  6401. type: integer
  6402. optypename:
  6403. description: 流水类型名称
  6404. type: string
  6405. relatedid:
  6406. description: 现货合同ID\套保计划
  6407. type: string
  6408. relatedno:
  6409. description: 合同编号
  6410. type: string
  6411. tradedate:
  6412. description: 交易日(yyyyMMdd)
  6413. type: string
  6414. userid:
  6415. description: 机构ID
  6416. type: integer
  6417. wrstandardcode:
  6418. description: 现货商品代码
  6419. type: string
  6420. wrstandardid:
  6421. description: 现货商品ID
  6422. type: integer
  6423. wrstandardname:
  6424. description: 现货商品名称
  6425. type: string
  6426. type: object
  6427. models.ErmcpRole:
  6428. properties:
  6429. areauserid:
  6430. description: 所属机构
  6431. type: integer
  6432. autoid:
  6433. description: 角色ID(自增ID)
  6434. type: integer
  6435. modifierid:
  6436. description: 修改人(创建人)
  6437. type: integer
  6438. modifiername:
  6439. description: 修改人名称
  6440. type: string
  6441. modifytime:
  6442. description: 修改时间(创建时间)
  6443. type: string
  6444. rolename:
  6445. description: 角色名称
  6446. type: string
  6447. rolestatus:
  6448. description: 角色状态 - 1:启用 2:停用
  6449. type: integer
  6450. roletype:
  6451. description: 角色类型 - 1- 管理端 2- 交易端
  6452. type: integer
  6453. type: object
  6454. models.ErmcpRoleMenu:
  6455. properties:
  6456. iconame:
  6457. description: 菜单图标
  6458. type: string
  6459. menutype:
  6460. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6461. type: integer
  6462. parentcode:
  6463. description: 上级资源代码
  6464. type: string
  6465. remark:
  6466. description: 菜单备注
  6467. type: string
  6468. resourcecode:
  6469. description: 菜单代码
  6470. type: string
  6471. resourcelevel:
  6472. description: 级别
  6473. type: integer
  6474. resourcename:
  6475. description: 菜单名称
  6476. type: string
  6477. roleid:
  6478. description: 角色id
  6479. type: integer
  6480. sort:
  6481. description: 排序
  6482. type: integer
  6483. url:
  6484. description: URL
  6485. type: string
  6486. userid:
  6487. description: 用户id
  6488. type: integer
  6489. type: object
  6490. models.ErmcpRoleMenuEx:
  6491. properties:
  6492. menu:
  6493. $ref: '#/definitions/models.ErmcpRoleMenu'
  6494. description: 父级菜单
  6495. type: object
  6496. subMenu:
  6497. description: 子级菜单
  6498. items:
  6499. $ref: '#/definitions/models.ErmcpRoleMenu'
  6500. type: array
  6501. type: object
  6502. models.ErmcpSpotContractModel:
  6503. properties:
  6504. amount:
  6505. description: 金额 [1:一口价、3:暂定价]
  6506. type: number
  6507. attachment:
  6508. description: 附件
  6509. type: string
  6510. auditremark:
  6511. description: 审核意见
  6512. type: string
  6513. audittime:
  6514. description: 审核时间
  6515. type: string
  6516. brandname:
  6517. description: 品牌名称
  6518. type: string
  6519. buyuserid:
  6520. description: 采购方ID
  6521. type: integer
  6522. buyusername:
  6523. description: 采购方名称
  6524. type: string
  6525. contracctstatus:
  6526. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6527. type: integer
  6528. contractmargin:
  6529. description: 合同保证金
  6530. type: number
  6531. contractno:
  6532. description: 现货合同编号
  6533. type: string
  6534. contracttype:
  6535. description: 现货合同类型 - 1:采购 -1:销售
  6536. type: integer
  6537. convertfactor:
  6538. description: 标仓系数
  6539. type: number
  6540. createtime:
  6541. description: 创建时间
  6542. type: string
  6543. deliveryenddate:
  6544. description: 交收期(结束)
  6545. type: string
  6546. deliverygoodscode:
  6547. description: 现货品种代码
  6548. type: string
  6549. deliverygoodsid:
  6550. description: 现货品种ID
  6551. type: integer
  6552. deliverygoodsname:
  6553. description: 现货品种名称
  6554. type: string
  6555. deliverystartdate:
  6556. description: 交收期(开始)
  6557. type: string
  6558. enddate:
  6559. description: 点价结束日期 [2:点价 3:暂定价]
  6560. type: string
  6561. enumdicname:
  6562. description: 单位名称
  6563. type: string
  6564. goodscode:
  6565. description: 点价合约代码
  6566. type: string
  6567. goodsid:
  6568. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  6569. type: integer
  6570. goodsname:
  6571. description: 点价商品名称
  6572. type: string
  6573. margin:
  6574. description: 当前保证金
  6575. type: number
  6576. modelname:
  6577. description: 型号名称
  6578. type: string
  6579. price:
  6580. description: 价格\暂定价 [1:一口价、3:暂定价]
  6581. type: number
  6582. pricemove:
  6583. description: 升贴水 [2:点价 3:暂定价]
  6584. type: number
  6585. pricetype:
  6586. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6587. type: integer
  6588. producttype:
  6589. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6590. type: integer
  6591. qty:
  6592. description: 数量
  6593. type: number
  6594. remark:
  6595. description: 备注
  6596. type: string
  6597. selluserid:
  6598. description: 销售方ID
  6599. type: integer
  6600. sellusername:
  6601. description: 销售方名称
  6602. type: string
  6603. spotcontractid:
  6604. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6605. type: string
  6606. spotgoodsbrandid:
  6607. description: 现货品牌ID
  6608. type: integer
  6609. spotgoodsdesc:
  6610. description: 商品型号
  6611. type: string
  6612. spotgoodsmodelid:
  6613. description: 现货型号ID
  6614. type: integer
  6615. startdate:
  6616. description: 点价开始日期 [2:点价 3:暂定价]
  6617. type: string
  6618. updatetime:
  6619. description: 更新时间
  6620. type: string
  6621. userid:
  6622. description: 机构ID
  6623. type: integer
  6624. wrstandardcode:
  6625. description: 现货商品代码
  6626. type: string
  6627. wrstandardid:
  6628. description: 现货商品ID
  6629. type: integer
  6630. wrstandardname:
  6631. description: 现货商品名称
  6632. type: string
  6633. type: object
  6634. models.ErmcpSpotGoodsPrice:
  6635. properties:
  6636. areauserid:
  6637. description: 所属机构id
  6638. type: integer
  6639. brandname:
  6640. description: 品牌名称
  6641. type: string
  6642. currencyid:
  6643. description: 报价货币ID
  6644. type: integer
  6645. enumdicname:
  6646. description: 现货商品单位名称
  6647. type: string
  6648. gbenumdicname:
  6649. description: 品类单位名称
  6650. type: string
  6651. gmunitid:
  6652. description: 品类单位id
  6653. type: integer
  6654. isvalid:
  6655. description: 是否有效 - 0:无效 1:有效
  6656. type: integer
  6657. modelname:
  6658. description: 品类名称
  6659. type: string
  6660. operateid:
  6661. description: 最后操作人
  6662. type: integer
  6663. operatesrc:
  6664. description: 最后操作来源 - 1:管理端 2:终端
  6665. type: integer
  6666. operatetime:
  6667. description: 最后操作时间
  6668. type: string
  6669. operatorname:
  6670. description: 操作人名称
  6671. type: string
  6672. spotgoodsbrandid:
  6673. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6674. type: integer
  6675. spotgoodsmodelid:
  6676. description: 现货品类ID(通用则为0)
  6677. type: integer
  6678. spotgoodsprice:
  6679. description: 现货价格
  6680. type: number
  6681. tradedate:
  6682. description: 交易日(yyyyMMdd)
  6683. type: string
  6684. unitid:
  6685. description: 现货商品单位id
  6686. type: integer
  6687. wrstandardcode:
  6688. description: 现货商品代码
  6689. type: string
  6690. wrstandardid:
  6691. description: 现货商品ID
  6692. type: integer
  6693. wrstandardname:
  6694. description: 现货商品名称
  6695. type: string
  6696. type: object
  6697. models.ErmcpSpotGoodsPriceLog:
  6698. properties:
  6699. areauserid:
  6700. description: 所属机构id
  6701. type: integer
  6702. brandname:
  6703. description: 品牌名称
  6704. type: string
  6705. currencyid:
  6706. description: 报价货币ID
  6707. type: integer
  6708. enumdicname:
  6709. description: 现货商品单位名称
  6710. type: string
  6711. gbenumdicname:
  6712. description: 品类单位名称
  6713. type: string
  6714. gmunitid:
  6715. description: 品类单位id
  6716. type: integer
  6717. logid:
  6718. description: 日志id
  6719. type: integer
  6720. modelname:
  6721. description: 品类名称
  6722. type: string
  6723. operateid:
  6724. description: 最后操作人
  6725. type: integer
  6726. operatesrc:
  6727. description: 最后操作来源 - 1:管理端 2:终端
  6728. type: integer
  6729. operatetime:
  6730. description: 最后操作时间
  6731. type: string
  6732. operatorname:
  6733. description: 操作人名称
  6734. type: string
  6735. spotgoodsbrandid:
  6736. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6737. type: integer
  6738. spotgoodsmodelid:
  6739. description: 现货品类ID(通用则为0)
  6740. type: integer
  6741. spotgoodsprice:
  6742. description: 现货价格
  6743. type: number
  6744. tradedate:
  6745. description: 交易日(yyyyMMdd)
  6746. type: string
  6747. unitid:
  6748. description: 现货商品单位id
  6749. type: integer
  6750. wrstandardcode:
  6751. description: 现货商品代码
  6752. type: string
  6753. wrstandardid:
  6754. description: 现货商品ID
  6755. type: integer
  6756. wrstandardname:
  6757. description: 现货商品名称
  6758. type: string
  6759. type: object
  6760. models.ErmcpTaAccount:
  6761. properties:
  6762. accountid:
  6763. description: 账户id
  6764. type: integer
  6765. accountname:
  6766. description: 账户名称
  6767. type: string
  6768. currencyid:
  6769. description: 币种id
  6770. type: integer
  6771. hedgeaccountcode:
  6772. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6773. type: string
  6774. ismain:
  6775. description: 是否主账户 0-否 1-是
  6776. type: integer
  6777. parentaccountid:
  6778. description: 父账户id
  6779. type: integer
  6780. relateduserid:
  6781. description: 关联userid
  6782. type: integer
  6783. tradestatus:
  6784. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6785. type: integer
  6786. userid:
  6787. description: 用户id
  6788. type: integer
  6789. type: object
  6790. models.ErmcpTaAccountEx:
  6791. properties:
  6792. mainAcc:
  6793. $ref: '#/definitions/models.ErmcpTaAccount'
  6794. description: 主账号
  6795. type: object
  6796. subacclist:
  6797. description: 子账号列表
  6798. items:
  6799. $ref: '#/definitions/models.ErmcpTaAccount'
  6800. type: array
  6801. type: object
  6802. models.ErmcpTaAccountInfo:
  6803. properties:
  6804. accountid:
  6805. description: 资金账户ID
  6806. type: integer
  6807. accountname:
  6808. description: 账户名称
  6809. type: string
  6810. balance:
  6811. description: 期初余额
  6812. type: number
  6813. capitalbalance:
  6814. description: 本金余额[外部子账户实际出入金余额]
  6815. type: number
  6816. closepl:
  6817. description: 今日平仓盈亏
  6818. type: number
  6819. creditdecrease:
  6820. description: 今日授信减少
  6821. type: number
  6822. creditincrease:
  6823. description: 今日授信增加
  6824. type: number
  6825. curdebt:
  6826. description: 期末欠款
  6827. type: number
  6828. currencyid:
  6829. description: 货币ID
  6830. type: integer
  6831. currentbalance:
  6832. description: 期末余额
  6833. type: number
  6834. freezecharge:
  6835. description: 手续费冻结
  6836. type: number
  6837. freezemargin:
  6838. description: 冻结保证金
  6839. type: number
  6840. fromaccountid:
  6841. description: 所属上级账户
  6842. type: integer
  6843. inamount:
  6844. description: 今日入金金额(包括三方入金)
  6845. type: number
  6846. ismain:
  6847. description: 是否母账号 0:不是母账户 1:是母账户
  6848. type: integer
  6849. mortgagecredit:
  6850. description: 授信金额
  6851. type: number
  6852. oridebt:
  6853. description: 期初欠款
  6854. type: number
  6855. orifreezecharge:
  6856. description: 期初手续费冻结
  6857. type: number
  6858. orifreezemargin:
  6859. description: 期初冻结保证金
  6860. type: number
  6861. orimortgagecredit:
  6862. description: 期初授信金额
  6863. type: number
  6864. oriothercredit:
  6865. description: 期初其它授信金额
  6866. type: number
  6867. oriotherfreezemargin:
  6868. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6869. type: number
  6870. orioutamountfreeze:
  6871. description: 期初出金冻结
  6872. type: number
  6873. oriusedmargin:
  6874. description: 期初占用保证金
  6875. type: number
  6876. othercredit:
  6877. description: 其它授信金额
  6878. type: number
  6879. othercreditdecrease:
  6880. description: 今日其它授信减少
  6881. type: number
  6882. othercreditincrease:
  6883. description: 今日其它授信增加
  6884. type: number
  6885. otherfreezemargin:
  6886. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6887. type: number
  6888. outamount:
  6889. description: 今日出金金额(包括三方出金)
  6890. type: number
  6891. outamountfreeze:
  6892. description: 出金冻结
  6893. type: number
  6894. outthreshold:
  6895. description: 出金阈值
  6896. type: number
  6897. parentaccountid:
  6898. description: 所属根账号
  6899. type: integer
  6900. paycharge:
  6901. description: 今日手续费支出
  6902. type: number
  6903. relateduserid:
  6904. description: 关联用户
  6905. type: integer
  6906. signstatus:
  6907. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6908. type: integer
  6909. sublevelpath:
  6910. description: 账号层级路径(逗号分隔,首尾加逗号)
  6911. type: string
  6912. taaccounttype:
  6913. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6914. type: integer
  6915. thirdinamount:
  6916. description: 今日三方入金
  6917. type: number
  6918. thirdoutamount:
  6919. description: 今日三方出金
  6920. type: number
  6921. tradestatus:
  6922. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6923. type: integer
  6924. transferamount:
  6925. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6926. type: number
  6927. usedmargin:
  6928. description: 占用保证金
  6929. type: number
  6930. userid:
  6931. description: 用户ID
  6932. type: integer
  6933. type: object
  6934. models.ErmcpTradeConfigTMP:
  6935. properties:
  6936. areauserid:
  6937. description: 所属机构
  6938. type: integer
  6939. basiccurrencyid:
  6940. description: 基本币种ID[汇率] - 目标币种
  6941. type: integer
  6942. mainaccountid:
  6943. description: 主账户ID
  6944. type: integer
  6945. modifierid:
  6946. description: 修改人
  6947. type: integer
  6948. remark:
  6949. description: 备注
  6950. type: string
  6951. tradeconfigtmpid:
  6952. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6953. type: integer
  6954. tradeconfigtmpname:
  6955. description: 交易配置模板名称
  6956. type: string
  6957. tradeconfigtmptype:
  6958. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6959. type: integer
  6960. updatetime:
  6961. description: 更新时间
  6962. type: string
  6963. type: object
  6964. models.ErmcpUserModel:
  6965. properties:
  6966. address:
  6967. description: 通讯地址
  6968. type: string
  6969. attachment1:
  6970. description: 附件1
  6971. type: string
  6972. audittime:
  6973. description: 审核时间
  6974. type: string
  6975. cardbackphotourl:
  6976. description: 证件反面图片地址
  6977. type: string
  6978. cardfrontphotourl:
  6979. description: 证件正面图片地址
  6980. type: string
  6981. cardnum:
  6982. description: 证件号码
  6983. type: string
  6984. cardtype:
  6985. description: 证件类型
  6986. type: integer
  6987. cardtypename:
  6988. description: 证件类型名称
  6989. type: string
  6990. cityid:
  6991. description: 市
  6992. type: integer
  6993. contactname:
  6994. description: 联系人
  6995. type: string
  6996. countryid:
  6997. description: 国家
  6998. type: integer
  6999. createtime:
  7000. description: 创建时间
  7001. type: string
  7002. customername:
  7003. description: 企业名称
  7004. type: string
  7005. districtid:
  7006. description: 区域
  7007. type: integer
  7008. email:
  7009. description: 邮件
  7010. type: string
  7011. legalpersonname:
  7012. description: 法人姓名(企业)
  7013. type: string
  7014. memberuserid:
  7015. description: 所属机构ID
  7016. type: integer
  7017. mobile:
  7018. description: 手机号码
  7019. type: string
  7020. modifytime:
  7021. description: 修改时间
  7022. type: string
  7023. nickname:
  7024. description: 昵称
  7025. type: string
  7026. provinceid:
  7027. description: 省
  7028. type: integer
  7029. remark:
  7030. description: 备注
  7031. type: string
  7032. status:
  7033. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7034. type: integer
  7035. statusdesc:
  7036. description: 账户状态中文描述
  7037. type: string
  7038. taxpayernum:
  7039. description: 纳税人识别号
  7040. type: string
  7041. telphone:
  7042. description: 联系电话
  7043. type: string
  7044. userid:
  7045. description: 用户ID
  7046. type: integer
  7047. userinfotype:
  7048. description: 客户类型
  7049. type: string
  7050. type: object
  7051. models.ErmcpWareHouseInfo:
  7052. properties:
  7053. address:
  7054. description: 详细地址
  7055. type: string
  7056. areauserid:
  7057. description: 所属机构
  7058. type: integer
  7059. autoid:
  7060. description: 自增ID(仓库ID)
  7061. type: integer
  7062. cityid:
  7063. description: 市
  7064. type: integer
  7065. contactname:
  7066. description: 联系人
  7067. type: string
  7068. contactnum:
  7069. description: 联系电话
  7070. type: string
  7071. countryid:
  7072. description: 国家
  7073. type: integer
  7074. createtime:
  7075. description: 创建时间
  7076. type: string
  7077. districtid:
  7078. description: 区
  7079. type: integer
  7080. hasvideo:
  7081. description: 是否有视频 - 0:无 1:有
  7082. type: integer
  7083. provinceid:
  7084. description: 省
  7085. type: integer
  7086. remark:
  7087. description: 审核备注
  7088. type: string
  7089. videourl:
  7090. description: 视频地址
  7091. type: string
  7092. warehousecode:
  7093. description: 仓库代码
  7094. type: string
  7095. warehousename:
  7096. description: 仓库名称
  7097. type: string
  7098. warehousestatus:
  7099. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7100. type: integer
  7101. warehousetype:
  7102. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7103. type: integer
  7104. type: object
  7105. models.ErmcpWrstandDetail:
  7106. properties:
  7107. gbList:
  7108. description: 品牌列表
  7109. items:
  7110. $ref: '#/definitions/models.GoodsBrand'
  7111. type: array
  7112. goodsList:
  7113. description: 关联交易商品列表
  7114. items:
  7115. $ref: '#/definitions/models.RelatedGoodsEx'
  7116. type: array
  7117. gtList:
  7118. description: 型号列表
  7119. items:
  7120. $ref: '#/definitions/models.GoodsTypeModel'
  7121. type: array
  7122. wrd:
  7123. $ref: '#/definitions/models.ErmcpWrstandard'
  7124. description: 基本信息
  7125. type: object
  7126. wrsList:
  7127. description: 套保信息列表
  7128. items:
  7129. $ref: '#/definitions/models.WRSConverTDetail'
  7130. type: array
  7131. type: object
  7132. models.ErmcpWrstandard:
  7133. properties:
  7134. areauserid:
  7135. description: 所属机构
  7136. type: integer
  7137. createtime:
  7138. description: 创建时间
  7139. type: string
  7140. creatorid:
  7141. description: 创建人
  7142. type: integer
  7143. deliverygoodsid:
  7144. description: 品种ID
  7145. type: integer
  7146. enumdicname:
  7147. description: 单位名称
  7148. type: string
  7149. isvalid:
  7150. description: 是否有效 0-无效(停用) 1-有效(正常)
  7151. type: integer
  7152. minivalue:
  7153. description: 最小变动值
  7154. type: integer
  7155. minivaluedp:
  7156. description: 最小变动值小数位
  7157. type: integer
  7158. realminivalue:
  7159. description: 实际最小变动值
  7160. type: integer
  7161. realminivaluedp:
  7162. description: 实际最小变动值小数位
  7163. type: integer
  7164. remark:
  7165. description: 备注
  7166. type: string
  7167. unitid:
  7168. description: 单位ID
  7169. type: integer
  7170. updatetime:
  7171. description: 更新时间
  7172. type: string
  7173. wrstandardcode:
  7174. description: 现货商品代码
  7175. type: string
  7176. wrstandardid:
  7177. description: 现货商品ID(SEQ_WRSTANDARD)
  7178. type: integer
  7179. wrstandardname:
  7180. description: 现货商品名称
  7181. type: string
  7182. type: object
  7183. models.Externalexchange:
  7184. properties:
  7185. autoid:
  7186. description: AutoID - SEQ_EXTERNALEXCHANGE
  7187. type: integer
  7188. exchangefullname:
  7189. description: 外部交易所全称
  7190. type: string
  7191. exexchangecode:
  7192. description: 外部交易所代码
  7193. type: string
  7194. exexchangename:
  7195. description: 外部交易所名称(简称)
  7196. type: string
  7197. ismarketprice:
  7198. description: 是否支持市价 - 0:不支持 1:支持
  7199. type: integer
  7200. quotegear:
  7201. description: 行情档位(1-10)
  7202. type: integer
  7203. showbrokerflag:
  7204. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7205. type: integer
  7206. updatetime:
  7207. description: 更新时间
  7208. type: string
  7209. required:
  7210. - autoid
  7211. type: object
  7212. models.Funcmenulist:
  7213. properties:
  7214. iconame:
  7215. description: 菜单图标
  7216. type: string
  7217. menutype:
  7218. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7219. type: integer
  7220. parentcode:
  7221. description: 上级资源代码
  7222. type: string
  7223. remark:
  7224. description: 备注
  7225. type: string
  7226. resourcecode:
  7227. description: 资源代码
  7228. type: string
  7229. resourcelevel:
  7230. description: 级别 1-一级 2-二级 3-三级 4-四级
  7231. type: integer
  7232. resourcename:
  7233. description: 资源名
  7234. type: string
  7235. sort:
  7236. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7237. type: integer
  7238. url:
  7239. description: URL
  7240. type: string
  7241. required:
  7242. - resourcecode
  7243. type: object
  7244. models.Goods:
  7245. properties:
  7246. agreeunit:
  7247. description: 合约单位
  7248. type: number
  7249. auditaccountid:
  7250. description: 审核操作员账号
  7251. type: integer
  7252. audittime:
  7253. description: 审核时间
  7254. type: string
  7255. cancelaccountid:
  7256. description: 注销操作员账号
  7257. type: integer
  7258. canceltime:
  7259. description: 注销时间
  7260. type: string
  7261. closepricemode:
  7262. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7263. type: integer
  7264. closepriceparam:
  7265. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7266. type: number
  7267. createtime:
  7268. description: 创建时间
  7269. type: string
  7270. creatorid:
  7271. description: 创建人
  7272. type: integer
  7273. currencyid:
  7274. description: 报价货币ID
  7275. type: integer
  7276. cutmode:
  7277. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7278. type: integer
  7279. decimalplace:
  7280. description: 报价小数位
  7281. type: integer
  7282. delistingdate:
  7283. description: 商品退市时间(状态:退市) -- 已作废
  7284. type: string
  7285. delistingmode:
  7286. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7287. type: integer
  7288. deliveryflag:
  7289. description: 交割标志 - 0:不可交割 1:可交割
  7290. type: integer
  7291. forceclosemode:
  7292. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7293. type: integer
  7294. forceclosevalue:
  7295. description: 定期强平参数 [收益权]
  7296. type: integer
  7297. goodscode:
  7298. description: 商品代码(内部)
  7299. type: string
  7300. goodscurrencyid:
  7301. description: 合约货币ID
  7302. type: integer
  7303. goodsgroupid:
  7304. description: 所属商品组ID
  7305. type: integer
  7306. goodsid:
  7307. description: 商品ID(自增ID SEQ_GOODS)
  7308. type: integer
  7309. goodsname:
  7310. description: 商品名称
  7311. type: string
  7312. goodsquotetype:
  7313. description: '合约报价类型: 1-直接报价 2-间接报价'
  7314. type: integer
  7315. goodsstatus:
  7316. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7317. type: integer
  7318. goodstradetype:
  7319. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7320. type: integer
  7321. goodunitid:
  7322. description: 报价单位ID
  7323. type: integer
  7324. hasquoter:
  7325. description: 是否有报价商 - 0:无报价商 1:有报价商
  7326. type: integer
  7327. hqprotecttime:
  7328. description: 行情保护时间(秒)
  7329. type: integer
  7330. innerdealmode:
  7331. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7332. type: integer
  7333. isbuylimited:
  7334. description: 是否限制建仓量 - 0:不限制 1:限制
  7335. type: integer
  7336. lasttradedate:
  7337. description: 最后交易日期(状态:待退市)
  7338. type: string
  7339. listingdate:
  7340. description: 交易开始日期
  7341. type: string
  7342. marketid:
  7343. description: 所属市场ID
  7344. type: integer
  7345. modifierid:
  7346. description: 修改人
  7347. type: integer
  7348. modifystatus:
  7349. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7350. type: integer
  7351. modifytime:
  7352. description: 修改时间
  7353. type: string
  7354. outerdealmode:
  7355. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7356. type: integer
  7357. outgoodscode:
  7358. description: 商品代码(外部)
  7359. type: string
  7360. qtydecimalplace:
  7361. description: 成交量小数位
  7362. type: integer
  7363. quotegear:
  7364. description: 行情档位(1-10)
  7365. type: integer
  7366. quoteminunit:
  7367. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7368. type: integer
  7369. quoteshowtype:
  7370. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7371. type: integer
  7372. quoteshowtypeinterval:
  7373. description: 行情报价间隔时间(秒)(成交价时为0)
  7374. type: integer
  7375. remark:
  7376. description: 备注
  7377. type: string
  7378. required:
  7379. - goodscode
  7380. - goodsid
  7381. - goodsname
  7382. - marketid
  7383. type: object
  7384. models.GoodsBrand:
  7385. properties:
  7386. brandid:
  7387. description: 品牌ID
  7388. type: integer
  7389. brandname:
  7390. description: 品牌名称
  7391. type: string
  7392. isvalid:
  7393. description: 是否有效 - 0:无效 1:有效
  7394. type: integer
  7395. type: object
  7396. models.GoodsIDAndName:
  7397. properties:
  7398. goodscode:
  7399. description: 商品代码(内部)
  7400. type: string
  7401. goodsid:
  7402. description: 商品ID(自增ID SEQ_GOODS)
  7403. type: integer
  7404. goodsname:
  7405. description: 商品名称
  7406. type: string
  7407. marketid:
  7408. description: 所属市场ID
  7409. type: integer
  7410. required:
  7411. - goodscode
  7412. - goodsid
  7413. - goodsname
  7414. - marketid
  7415. type: object
  7416. models.GoodsTypeModel:
  7417. properties:
  7418. convertfactor:
  7419. description: 标仓系数
  7420. type: number
  7421. modelid:
  7422. description: 型号ID
  7423. type: integer
  7424. modelname:
  7425. description: 型号名称
  7426. type: string
  7427. updatetime:
  7428. description: 更新时间
  7429. type: string
  7430. type: object
  7431. models.Goodsgroup:
  7432. properties:
  7433. agreeunit:
  7434. description: 合约单位
  7435. type: number
  7436. canshort:
  7437. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7438. type: integer
  7439. closepricemode:
  7440. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7441. type: integer
  7442. closepriceparam:
  7443. description: 强平最新价浮动比例 - 方式为2时使用
  7444. type: number
  7445. createtime:
  7446. description: 创建时间
  7447. type: string
  7448. creatorid:
  7449. description: 创建人
  7450. type: integer
  7451. currencyid:
  7452. description: 报价货币ID
  7453. type: integer
  7454. decimalplace:
  7455. description: 报价小数位
  7456. type: integer
  7457. exercisetype:
  7458. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7459. type: integer
  7460. exexchangeid:
  7461. description: 外部交易所ID[通道交易]
  7462. type: integer
  7463. goodsgroupid:
  7464. description: 商品组ID(自增ID)
  7465. type: integer
  7466. goodsgroupname:
  7467. description: 商品组名称
  7468. type: string
  7469. goodsgroupstatus:
  7470. description: 商品组状态 - 1:正常 2:注销
  7471. type: integer
  7472. goodunitid:
  7473. description: 报价单位ID
  7474. type: integer
  7475. innerdealmode:
  7476. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7477. type: integer
  7478. isbuylimited:
  7479. description: 是否限制建仓量 - 0:不限制 1:限制
  7480. type: integer
  7481. marketid:
  7482. description: 所属市场ID
  7483. type: integer
  7484. modifierid:
  7485. description: 修改人
  7486. type: integer
  7487. modifytime:
  7488. description: 修改时间
  7489. type: string
  7490. outerdealmode:
  7491. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7492. type: integer
  7493. outergroupcode:
  7494. description: 外部商品组代码[通道交易]
  7495. type: string
  7496. premiumdecimalplace:
  7497. description: 权利金小数位[场外期权]
  7498. type: integer
  7499. premiumspreadalgorithm:
  7500. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7501. type: integer
  7502. premiumspreadvalue:
  7503. description: 权利金点差值[场外期权]
  7504. type: number
  7505. qtydecimalplace:
  7506. description: 成交量小数位
  7507. type: integer
  7508. quotegear:
  7509. description: 行情档位(1-10)
  7510. type: integer
  7511. quoteminunit:
  7512. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7513. type: integer
  7514. quoterid:
  7515. description: 报价商ID[场外期权]
  7516. type: integer
  7517. quotesourcegroupid:
  7518. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7519. type: integer
  7520. syncgoodsqty:
  7521. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7522. type: integer
  7523. required:
  7524. - goodsgroupid
  7525. - goodsgroupname
  7526. - goodsgroupstatus
  7527. - marketid
  7528. type: object
  7529. models.Goodssortbypreposition:
  7530. properties:
  7531. goodscode:
  7532. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7533. type: string
  7534. goodsgroupcode:
  7535. description: 品种代码
  7536. type: string
  7537. prepositionqty:
  7538. description: 昨持仓量
  7539. type: integer
  7540. sortindex:
  7541. description: 排序
  7542. type: integer
  7543. tradedate:
  7544. description: 交易日
  7545. type: string
  7546. updatetime:
  7547. description: 更新时间
  7548. type: string
  7549. required:
  7550. - goodscode
  7551. - tradedate
  7552. type: object
  7553. models.Hedgeinnerholderdetail:
  7554. properties:
  7555. accountid:
  7556. description: 账号ID
  7557. type: integer
  7558. buyorsell:
  7559. description: 方向 - 0:买 1:卖
  7560. type: integer
  7561. freezeqty:
  7562. description: 冻结数量 - 按单平使用
  7563. type: integer
  7564. goodsid:
  7565. description: 商品ID
  7566. type: integer
  7567. holderamount:
  7568. description: 持仓金额 [商品币种]
  7569. type: number
  7570. holderdays:
  7571. description: 剩余冻结天数
  7572. type: integer
  7573. holderprice:
  7574. description: 持仓价格
  7575. type: number
  7576. holderqty:
  7577. description: 持仓数量
  7578. type: integer
  7579. marketid:
  7580. description: 市场ID
  7581. type: integer
  7582. openprice:
  7583. description: 建仓价格
  7584. type: number
  7585. openqty:
  7586. description: 建仓数量
  7587. type: integer
  7588. parentaccountid:
  7589. description: 所属母账户
  7590. type: integer
  7591. releaseamount:
  7592. description: 释放持仓金额[商品币种]
  7593. type: number
  7594. tradeamount:
  7595. description: 成交金额[账户]
  7596. type: number
  7597. tradedate:
  7598. description: 交易日(yyyyMMdd)
  7599. type: string
  7600. tradeid:
  7601. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7602. type: string
  7603. tradetime:
  7604. description: 交易时间
  7605. type: string
  7606. required:
  7607. - buyorsell
  7608. - tradeid
  7609. type: object
  7610. models.Hedgemarketopenlog:
  7611. properties:
  7612. accountid:
  7613. description: 资金账号[外部母账户]
  7614. type: integer
  7615. fcname:
  7616. description: 期货公司名称
  7617. type: string
  7618. handlestatus:
  7619. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7620. type: integer
  7621. marketid:
  7622. description: 市场ID
  7623. type: integer
  7624. status:
  7625. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7626. type: integer
  7627. tradedate:
  7628. description: 交易日(yyyyMMdd)
  7629. type: string
  7630. updatetime:
  7631. description: 更新时间
  7632. type: string
  7633. required:
  7634. - accountid
  7635. type: object
  7636. models.HsbyBuyMyPayOrder:
  7637. properties:
  7638. agreeunit:
  7639. description: 合约单位
  7640. type: number
  7641. buyaccountid:
  7642. description: 买方账号ID[报价币种]
  7643. type: integer
  7644. buyorderid:
  7645. description: 买方委托单号
  7646. type: string
  7647. createtime:
  7648. description: 创建时间
  7649. type: string
  7650. currencysign:
  7651. description: 货币符号
  7652. type: string
  7653. decimalplace:
  7654. description: 报价小数位
  7655. type: integer
  7656. goodscode:
  7657. description: 商品代码(内部)
  7658. type: string
  7659. goodsid:
  7660. description: 商品ID
  7661. type: integer
  7662. goodsname:
  7663. description: 商品名称
  7664. type: string
  7665. marketid:
  7666. description: 市场ID
  7667. type: integer
  7668. offamount:
  7669. description: 优惠金额
  7670. type: number
  7671. originalamount:
  7672. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7673. type: number
  7674. payamount:
  7675. description: 支付金额 = TradeAmount + TradeCharge
  7676. type: number
  7677. payflag:
  7678. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7679. type: integer
  7680. paylimitedtime:
  7681. description: 支付期限
  7682. type: string
  7683. paytime:
  7684. description: 付款时间
  7685. type: string
  7686. picurls1:
  7687. description: 预售商品介绍图片[多张用逗号分隔]
  7688. type: string
  7689. picurls2:
  7690. description: 挂牌商品介绍图片[多张用逗号分隔]
  7691. type: string
  7692. sellaccountid:
  7693. description: 卖方账号ID[报价币种]
  7694. type: integer
  7695. sellorderid:
  7696. description: 卖方委托单号
  7697. type: string
  7698. tradeamount:
  7699. description: 成交金额
  7700. type: number
  7701. tradecharge:
  7702. description: 成交手续费(买方)
  7703. type: number
  7704. tradedate:
  7705. description: 交易日(yyyyMMdd)
  7706. type: string
  7707. tradeid:
  7708. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7709. type: string
  7710. trademode:
  7711. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7712. 21:竞拍-大宗式 22:受托竞价
  7713. type: integer
  7714. tradeprice:
  7715. description: 成交价格
  7716. type: number
  7717. tradeqty:
  7718. description: 成交数量
  7719. type: integer
  7720. vendorname1:
  7721. description: 预售商品供应商名称
  7722. type: string
  7723. vendorname2:
  7724. description: 挂牌商品供应商名称
  7725. type: string
  7726. required:
  7727. - goodscode
  7728. - goodsname
  7729. - tradeid
  7730. - trademode
  7731. type: object
  7732. models.HsbyBuyMyTradeDetail:
  7733. properties:
  7734. accountid:
  7735. description: 账户ID[报价币种]
  7736. type: integer
  7737. agreeunit:
  7738. description: 合约单位
  7739. type: number
  7740. amount:
  7741. description: 金额 = 价格 * 数量 * 合约单位
  7742. type: number
  7743. buyorsell:
  7744. description: 买卖 - 0:买 1:卖
  7745. type: integer
  7746. currencysign:
  7747. description: 货币符号
  7748. type: string
  7749. decimalplace:
  7750. description: 报价小数位
  7751. type: integer
  7752. goodscode:
  7753. description: 商品代码(内部)
  7754. type: string
  7755. goodsid:
  7756. description: 商品ID
  7757. type: integer
  7758. goodsname:
  7759. description: 商品名称
  7760. type: string
  7761. marketid:
  7762. description: 市场ID
  7763. type: integer
  7764. orderamount:
  7765. description: 委托金额
  7766. type: number
  7767. orderid:
  7768. description: 单号(成交单号)
  7769. type: string
  7770. picurls1:
  7771. description: 预售商品介绍图片[多张用逗号分隔]
  7772. type: string
  7773. picurls2:
  7774. description: 挂牌商品介绍图片[多张用逗号分隔]
  7775. type: string
  7776. price:
  7777. description: 价格
  7778. type: number
  7779. qty:
  7780. description: 数量
  7781. type: integer
  7782. time:
  7783. description: 时间
  7784. type: string
  7785. trademode:
  7786. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7787. 21:竞拍-大宗式 22:受托竞价
  7788. type: integer
  7789. vendorname1:
  7790. description: 预售商品供应商名称
  7791. type: string
  7792. vendorname2:
  7793. description: 挂牌商品供应商名称
  7794. type: string
  7795. required:
  7796. - accountid
  7797. - buyorsell
  7798. - goodscode
  7799. - goodsid
  7800. - goodsname
  7801. - marketid
  7802. - orderid
  7803. - qty
  7804. - time
  7805. - trademode
  7806. type: object
  7807. models.HsbyGoodsOrderDetail:
  7808. properties:
  7809. buyorsell:
  7810. description: 买卖 - 0:买 1:卖
  7811. type: integer
  7812. currencysign:
  7813. description: 货币符号
  7814. type: string
  7815. customername:
  7816. description: 客户名称(企业名称),已脱敏
  7817. type: string
  7818. enableqty:
  7819. description: 可用数量
  7820. type: integer
  7821. goodunit:
  7822. description: 报价单位
  7823. type: string
  7824. orderid:
  7825. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7826. type: string
  7827. orderprice:
  7828. description: 委托价格
  7829. type: number
  7830. ordertime:
  7831. description: 委托时间
  7832. type: string
  7833. required:
  7834. - buyorsell
  7835. - orderid
  7836. - ordertime
  7837. type: object
  7838. models.HsbyListingGoodsDetail:
  7839. properties:
  7840. agreeunit:
  7841. description: 合约单位
  7842. type: number
  7843. buymaxqty:
  7844. description: 购买上限 [71] - 0为不限
  7845. type: integer
  7846. currency:
  7847. description: 货币
  7848. type: string
  7849. currencysign:
  7850. description: 货币符号
  7851. type: string
  7852. decimalplace:
  7853. description: 报价小数位
  7854. type: integer
  7855. desccityid:
  7856. description: 目的地(市)ID
  7857. type: integer
  7858. descprovinceid:
  7859. description: 目的地(省)ID
  7860. type: integer
  7861. goodscode:
  7862. description: 商品代码(内部)
  7863. type: string
  7864. goodsdesc:
  7865. description: 商品详情
  7866. type: string
  7867. goodsid:
  7868. description: 商品ID(自增ID SEQ_GOODS)
  7869. type: integer
  7870. goodsname:
  7871. description: 商品名称
  7872. type: string
  7873. goodsprice:
  7874. description: 商品价格
  7875. type: number
  7876. hotindex:
  7877. description: 景点热度
  7878. type: integer
  7879. last:
  7880. description: 现价
  7881. type: number
  7882. limitdown:
  7883. description: 跌停价
  7884. type: number
  7885. limitup:
  7886. description: 涨停价
  7887. type: number
  7888. lotsize:
  7889. description: 手数最小变动单位
  7890. type: integer
  7891. marketid:
  7892. description: 所属市场ID
  7893. type: integer
  7894. picurls:
  7895. description: 介绍图片[多张用逗号分隔]
  7896. type: string
  7897. quoteminunit:
  7898. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7899. type: integer
  7900. stepvalue:
  7901. description: 价格最小变动单位
  7902. type: number
  7903. trademode:
  7904. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7905. 21:竞拍-大宗式 22:受托竞价
  7906. type: integer
  7907. vendorattr:
  7908. description: 供应商附件(多张,逗号分隔)
  7909. type: string
  7910. vendorname:
  7911. description: 供应商名称
  7912. type: string
  7913. vendorphone:
  7914. description: 供应商客服电话
  7915. type: string
  7916. videourls:
  7917. description: 介绍视频[多张用逗号分隔]
  7918. type: string
  7919. required:
  7920. - goodscode
  7921. - goodsid
  7922. - goodsname
  7923. - marketid
  7924. - trademode
  7925. type: object
  7926. models.HsbyMarketGoods:
  7927. properties:
  7928. accountid:
  7929. description: 账户ID[报价币种]
  7930. type: integer
  7931. agreeunit:
  7932. description: 合约单位
  7933. type: number
  7934. buyorsell:
  7935. description: 买卖 - 0:买 1:卖
  7936. type: integer
  7937. categoryid:
  7938. description: 类别ID(WRCATEGORY)
  7939. type: integer
  7940. currency:
  7941. description: 货币
  7942. type: string
  7943. currencysign:
  7944. description: 货币符号
  7945. type: string
  7946. customername:
  7947. description: 卖家名称
  7948. type: string
  7949. decimalplace:
  7950. description: 报价小数位
  7951. type: integer
  7952. goodscode:
  7953. description: 商品代码(内部)
  7954. type: string
  7955. goodsid:
  7956. description: 商品ID
  7957. type: integer
  7958. goodsname:
  7959. description: 商品名称
  7960. type: string
  7961. goodsprice:
  7962. description: 商品价格
  7963. type: number
  7964. hascoupon:
  7965. description: 是否可用优惠卷
  7966. type: boolean
  7967. hotindex:
  7968. description: 景点热度
  7969. type: integer
  7970. marketid:
  7971. description: 市场ID
  7972. type: integer
  7973. orderid:
  7974. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7975. type: string
  7976. orderprice:
  7977. description: 委托价格
  7978. type: number
  7979. orderstatus:
  7980. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7981. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7982. 16:成交失败违约(荷兰式竞拍专用)
  7983. type: integer
  7984. picurls:
  7985. description: 介绍图片[多张用逗号分隔]
  7986. type: string
  7987. quoteminunit:
  7988. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7989. type: integer
  7990. sellUserID:
  7991. description: 卖方UserID
  7992. type: integer
  7993. trademode:
  7994. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7995. 21:竞拍-大宗式 22:受托竞价
  7996. type: integer
  7997. videourls:
  7998. description: 介绍视频[多张用逗号分隔]
  7999. type: string
  8000. required:
  8001. - accountid
  8002. - buyorsell
  8003. - goodscode
  8004. - goodsid
  8005. - goodsname
  8006. - marketid
  8007. - orderid
  8008. - trademode
  8009. type: object
  8010. models.HsbyMarketGoodsDetail:
  8011. properties:
  8012. accountid:
  8013. description: 账户ID[报价币种]
  8014. type: integer
  8015. agreeunit:
  8016. description: 合约单位
  8017. type: number
  8018. buymaxqty:
  8019. description: 购买上限 [71] - 0为不限
  8020. type: integer
  8021. buyorsell:
  8022. description: 买卖 - 0:买 1:卖
  8023. type: integer
  8024. cancelqty:
  8025. description: 撤单数量
  8026. type: integer
  8027. categoryid:
  8028. description: 类别ID(WRCATEGORY)
  8029. type: integer
  8030. currency:
  8031. description: 货币
  8032. type: string
  8033. currencysign:
  8034. description: 货币符号
  8035. type: string
  8036. customername:
  8037. description: 卖家名称
  8038. type: string
  8039. decimalplace:
  8040. description: 报价小数位
  8041. type: integer
  8042. goodscode:
  8043. description: 商品代码(内部)
  8044. type: string
  8045. goodsdesc:
  8046. description: 商品详情
  8047. type: string
  8048. goodsid:
  8049. description: 商品ID
  8050. type: integer
  8051. goodsname:
  8052. description: 商品名称
  8053. type: string
  8054. goodsprice:
  8055. description: 商品价格
  8056. type: number
  8057. hotindex:
  8058. description: 景点热度
  8059. type: integer
  8060. lotsize:
  8061. description: 手数最小变动单位
  8062. type: integer
  8063. marketid:
  8064. description: 市场ID
  8065. type: integer
  8066. orderid:
  8067. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8068. type: string
  8069. orderprice:
  8070. description: 委托价格
  8071. type: number
  8072. orderqty:
  8073. description: 委托数量
  8074. type: integer
  8075. orderstatus:
  8076. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8077. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8078. 16:成交失败违约(荷兰式竞拍专用)
  8079. type: integer
  8080. picurls:
  8081. description: 介绍图片[多张用逗号分隔]
  8082. type: string
  8083. quoteminunit:
  8084. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8085. type: integer
  8086. sellUserID:
  8087. description: 卖方UserID
  8088. type: integer
  8089. trademode:
  8090. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8091. 21:竞拍-大宗式 22:受托竞价
  8092. type: integer
  8093. tradeqty:
  8094. description: 成交数量
  8095. type: integer
  8096. vendorattr:
  8097. description: 供应商附件(多张,逗号分隔)
  8098. type: string
  8099. vendorname:
  8100. description: 供应商名称
  8101. type: string
  8102. vendorphone:
  8103. description: 供应商客服电话
  8104. type: string
  8105. videourls:
  8106. description: 介绍视频[多张用逗号分隔]
  8107. type: string
  8108. required:
  8109. - accountid
  8110. - buyorsell
  8111. - goodscode
  8112. - goodsid
  8113. - goodsname
  8114. - marketid
  8115. - orderid
  8116. - orderqty
  8117. - trademode
  8118. type: object
  8119. models.HsbyMarketInfo:
  8120. properties:
  8121. marketid:
  8122. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8123. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8124. type: integer
  8125. marketname:
  8126. description: 市场名称
  8127. type: string
  8128. marketstatus:
  8129. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8130. type: integer
  8131. trademode:
  8132. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8133. 21:竞拍-大宗式 22:受托竞价
  8134. type: integer
  8135. required:
  8136. - marketid
  8137. - marketstatus
  8138. - trademode
  8139. type: object
  8140. models.HsbyMyGoods:
  8141. properties:
  8142. accountid:
  8143. description: 账号Id
  8144. type: integer
  8145. agreeunit:
  8146. description: 合约单位
  8147. type: number
  8148. buyaverageprice:
  8149. description: 持仓均价
  8150. type: number
  8151. buycurholderamount:
  8152. description: 买当前持仓总金额[商品币种]
  8153. type: number
  8154. buycurpositionqty:
  8155. description: 买当前持仓总数量
  8156. type: integer
  8157. buymaxqty:
  8158. description: 购买上限 [71] - 0为不限
  8159. type: integer
  8160. currencysign:
  8161. description: 货币符号
  8162. type: string
  8163. decimalplace:
  8164. description: 报价小数位
  8165. type: integer
  8166. enableqty:
  8167. description: 可用数量
  8168. type: integer
  8169. goodscode:
  8170. description: 商品代码(内部)
  8171. type: string
  8172. goodsid:
  8173. description: 商品Id
  8174. type: integer
  8175. goodsname:
  8176. description: 商品名称
  8177. type: string
  8178. goodsprice:
  8179. description: 商品价格
  8180. type: number
  8181. goodsstatus:
  8182. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8183. type: integer
  8184. last:
  8185. description: 现价(仅使用于挂牌点选)
  8186. type: number
  8187. limitdown:
  8188. description: 跌停价(仅使用于挂牌点选)
  8189. type: number
  8190. limitup:
  8191. description: 涨停价(仅使用于挂牌点选)
  8192. type: number
  8193. lotsize:
  8194. description: 手数最小变动单位
  8195. type: integer
  8196. marketid:
  8197. description: 所属市场ID
  8198. type: integer
  8199. picurls:
  8200. description: 介绍图片[多张用逗号分隔]
  8201. type: string
  8202. quoteminunit:
  8203. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8204. type: integer
  8205. stepvalue:
  8206. description: 价格最小变动单位
  8207. type: number
  8208. trademode:
  8209. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8210. 21:竞拍-大宗式 22:受托竞价
  8211. type: integer
  8212. required:
  8213. - accountid
  8214. - goodscode
  8215. - goodsid
  8216. - goodsname
  8217. - marketid
  8218. - trademode
  8219. type: object
  8220. models.HsbyMyPackage:
  8221. properties:
  8222. accountid:
  8223. description: 账户ID
  8224. type: integer
  8225. address:
  8226. description: 提货人详细地址
  8227. type: string
  8228. agreeunit:
  8229. description: 合约单位
  8230. type: number
  8231. amount:
  8232. description: 提货金额
  8233. type: number
  8234. auditer:
  8235. description: 审核人
  8236. type: integer
  8237. audittime:
  8238. description: 审核时间
  8239. type: string
  8240. averageprice:
  8241. description: 均价
  8242. type: number
  8243. cardnum:
  8244. description: 提货人证件号码
  8245. type: string
  8246. cardtypeid:
  8247. description: 提货人证件类型
  8248. type: integer
  8249. checkremark:
  8250. description: 审核备注
  8251. type: string
  8252. currencysign:
  8253. description: 货币符号
  8254. type: string
  8255. decimalplace:
  8256. description: 报价小数位
  8257. type: integer
  8258. goodscode:
  8259. description: 商品代码(内部)
  8260. type: string
  8261. goodsid:
  8262. description: 商品ID
  8263. type: integer
  8264. goodsname:
  8265. description: 商品名称
  8266. type: string
  8267. handlestatus:
  8268. description: 处理状态
  8269. type: integer
  8270. marketid:
  8271. description: 市场ID
  8272. type: integer
  8273. phonenum:
  8274. description: 提货人联系方式
  8275. type: string
  8276. picurls:
  8277. description: 介绍图片[多张用逗号分隔]
  8278. type: string
  8279. qty:
  8280. description: 提货数量
  8281. type: number
  8282. recivername:
  8283. description: 提货人姓名
  8284. type: string
  8285. reqtime:
  8286. description: 更新时间
  8287. type: string
  8288. takemode:
  8289. description: 提货方式 - 2:自提 3:配送
  8290. type: integer
  8291. takeorderid:
  8292. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8293. type: string
  8294. takeorderstatus:
  8295. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8296. type: integer
  8297. takeremark:
  8298. description: 提货备注
  8299. type: string
  8300. tradedate:
  8301. description: 交易日(yyyyMMdd)
  8302. type: string
  8303. trademode:
  8304. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8305. 21:竞拍-大宗式 22:受托竞价
  8306. type: integer
  8307. userid:
  8308. description: 用户ID
  8309. type: integer
  8310. vendorname:
  8311. description: 供应商名称
  8312. type: string
  8313. required:
  8314. - goodscode
  8315. - goodsname
  8316. - takeorderid
  8317. - trademode
  8318. type: object
  8319. models.HsbyPreGoods:
  8320. properties:
  8321. agreeunit:
  8322. description: 合约单位
  8323. type: number
  8324. currency:
  8325. description: 货币
  8326. type: string
  8327. currencysign:
  8328. description: 货币符号
  8329. type: string
  8330. decimalplace:
  8331. description: 报价小数位
  8332. type: integer
  8333. desccityid:
  8334. description: 目的地(市)
  8335. type: integer
  8336. descprovinceid:
  8337. description: 目的地(省)
  8338. type: integer
  8339. enableqty:
  8340. description: 剩余数量
  8341. type: integer
  8342. goodscode:
  8343. description: 商品代码(内部)
  8344. type: string
  8345. goodsid:
  8346. description: 商品ID(自增ID SEQ_GOODS)
  8347. type: integer
  8348. goodsname:
  8349. description: 商品名称
  8350. type: string
  8351. goodsstatus:
  8352. description: 商品状态- 2:未上市 3:上市
  8353. type: integer
  8354. lasttradedate:
  8355. description: 最后交易日期(状态:待退市)
  8356. type: string
  8357. listingdate:
  8358. description: 交易开始日期
  8359. type: string
  8360. marketid:
  8361. description: 所属市场ID
  8362. type: integer
  8363. picurls:
  8364. description: 介绍图片[多张用逗号分隔]
  8365. type: string
  8366. presaledqty:
  8367. description: 已预售量(预售结束时更新)
  8368. type: integer
  8369. presaleqty:
  8370. description: 预售数量
  8371. type: integer
  8372. quoteminunit:
  8373. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8374. type: integer
  8375. refprice:
  8376. description: 参考价格[一口价]
  8377. type: number
  8378. relatedgoodsid:
  8379. description: 关联交易合约ID
  8380. type: integer
  8381. trademode:
  8382. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8383. 21:竞拍-大宗式 22:受托竞价
  8384. type: integer
  8385. videourls:
  8386. description: 介绍视频[多张用逗号分隔]
  8387. type: string
  8388. required:
  8389. - goodscode
  8390. - goodsid
  8391. - goodsname
  8392. - marketid
  8393. - trademode
  8394. type: object
  8395. models.HsbyPreGoodsDetail:
  8396. properties:
  8397. agreeunit:
  8398. description: 合约单位
  8399. type: number
  8400. buymaxqty:
  8401. description: 购买上限 [71] - 0为不限
  8402. type: integer
  8403. currency:
  8404. description: 货币
  8405. type: string
  8406. currencysign:
  8407. description: 货币符号
  8408. type: string
  8409. customername:
  8410. description: 发行单位
  8411. type: string
  8412. decimalplace:
  8413. description: 报价小数位
  8414. type: integer
  8415. desccityid:
  8416. description: 目的地(市)ID
  8417. type: integer
  8418. descprovinceid:
  8419. description: 目的地(省)ID
  8420. type: integer
  8421. enableqty:
  8422. description: 剩余数量
  8423. type: integer
  8424. goodscode:
  8425. description: 商品代码(内部)
  8426. type: string
  8427. goodsdesc:
  8428. description: 商品详情
  8429. type: string
  8430. goodsid:
  8431. description: 商品ID(自增ID SEQ_GOODS)
  8432. type: integer
  8433. goodsname:
  8434. description: 商品名称
  8435. type: string
  8436. goodsstatus:
  8437. description: 商品状态- 2:未上市 3:上市
  8438. type: integer
  8439. goodunit:
  8440. description: 报价单位
  8441. type: string
  8442. lasttradedate:
  8443. description: 最后交易日期(状态:待退市)
  8444. type: string
  8445. listingdate:
  8446. description: 交易开始日期
  8447. type: string
  8448. lotsize:
  8449. description: 手数最小变动单位
  8450. type: integer
  8451. marketid:
  8452. description: 所属市场ID
  8453. type: integer
  8454. picurls:
  8455. description: 介绍图片[多张用逗号分隔]
  8456. type: string
  8457. presaledqty:
  8458. description: 已预售量(预售结束时更新)
  8459. type: integer
  8460. presaleqty:
  8461. description: 预售数量
  8462. type: integer
  8463. quoteminunit:
  8464. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8465. type: integer
  8466. refprice:
  8467. description: 参考价格[一口价]
  8468. type: number
  8469. relatedgoodsid:
  8470. description: 关联交易合约ID
  8471. type: integer
  8472. stepvalue:
  8473. description: 价格最小变动单位
  8474. type: number
  8475. trademode:
  8476. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8477. 21:竞拍-大宗式 22:受托竞价
  8478. type: integer
  8479. vendorattr:
  8480. description: 供应商附件(多张,逗号分隔)
  8481. type: string
  8482. vendorname:
  8483. description: 供应商名称
  8484. type: string
  8485. vendorphone:
  8486. description: 供应商客服电话
  8487. type: string
  8488. videourls:
  8489. description: 介绍视频[多张用逗号分隔]
  8490. type: string
  8491. required:
  8492. - goodscode
  8493. - goodsid
  8494. - goodsname
  8495. - marketid
  8496. - trademode
  8497. type: object
  8498. models.HsbySellCollectionOrder:
  8499. properties:
  8500. agreeunit:
  8501. description: 合约单位
  8502. type: number
  8503. buyaccountid:
  8504. description: 买方账号ID[报价币种]
  8505. type: integer
  8506. buyorderid:
  8507. description: 买方委托单号
  8508. type: string
  8509. createtime:
  8510. description: 创建时间
  8511. type: string
  8512. currencysign:
  8513. description: 货币符号
  8514. type: string
  8515. decimalplace:
  8516. description: 报价小数位
  8517. type: integer
  8518. goodscode:
  8519. description: 商品代码(内部)
  8520. type: string
  8521. goodsid:
  8522. description: 商品ID
  8523. type: integer
  8524. goodsname:
  8525. description: 商品名称
  8526. type: string
  8527. marketid:
  8528. description: 市场ID
  8529. type: integer
  8530. offamount:
  8531. description: 优惠金额
  8532. type: number
  8533. payamount:
  8534. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8535. type: number
  8536. payflag:
  8537. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8538. type: integer
  8539. paylimitedtime:
  8540. description: 支付期限
  8541. type: string
  8542. paytime:
  8543. description: 付款时间
  8544. type: string
  8545. picurls:
  8546. description: 商品介绍图片[多张用逗号分隔]
  8547. type: string
  8548. sellaccountid:
  8549. description: 卖方账号ID[报价币种]
  8550. type: integer
  8551. sellorderid:
  8552. description: 卖方委托单号
  8553. type: string
  8554. tradeamount:
  8555. description: 成交金额
  8556. type: number
  8557. tradecharge:
  8558. description: 成交手续费(买方)
  8559. type: number
  8560. tradedate:
  8561. description: 交易日(yyyyMMdd)
  8562. type: string
  8563. tradeid:
  8564. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8565. type: string
  8566. trademode:
  8567. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8568. 21:竞拍-大宗式 22:受托竞价
  8569. type: integer
  8570. tradeprice:
  8571. description: 成交价格
  8572. type: number
  8573. tradeqty:
  8574. description: 成交数量
  8575. type: integer
  8576. required:
  8577. - goodscode
  8578. - goodsname
  8579. - tradeid
  8580. - trademode
  8581. type: object
  8582. models.HsbySellMyDetail:
  8583. properties:
  8584. accountid:
  8585. description: 账户ID[报价币种]
  8586. type: integer
  8587. agreeunit:
  8588. description: 合约单位
  8589. type: number
  8590. buyorsell:
  8591. description: 买卖 - 0:买 1:卖
  8592. type: integer
  8593. currencysign:
  8594. description: 货币符号
  8595. type: string
  8596. decimalplace:
  8597. description: 报价小数位
  8598. type: integer
  8599. goodscode:
  8600. description: 商品代码(内部)
  8601. type: string
  8602. goodsid:
  8603. description: 商品ID
  8604. type: integer
  8605. goodsname:
  8606. description: 商品名称
  8607. type: string
  8608. marketid:
  8609. description: 市场ID
  8610. type: integer
  8611. orderid:
  8612. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8613. type: string
  8614. ordertype:
  8615. description: 单据类型:0 - 发布中, 1 - 已完成
  8616. type: integer
  8617. picurls:
  8618. description: 介绍图片[多张用逗号分隔]
  8619. type: string
  8620. price:
  8621. description: 价格
  8622. type: number
  8623. qty:
  8624. description: 数量
  8625. type: integer
  8626. time:
  8627. description: 时间
  8628. type: string
  8629. trademode:
  8630. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8631. 21:竞拍-大宗式 22:受托竞价
  8632. type: integer
  8633. vendorname:
  8634. description: 供应商名称
  8635. type: string
  8636. required:
  8637. - accountid
  8638. - buyorsell
  8639. - goodscode
  8640. - goodsid
  8641. - goodsname
  8642. - marketid
  8643. - orderid
  8644. - time
  8645. - trademode
  8646. type: object
  8647. models.HsbyTopGoods:
  8648. properties:
  8649. agreeunit:
  8650. description: 合约单位
  8651. type: number
  8652. currency:
  8653. description: 货币
  8654. type: string
  8655. currencysign:
  8656. description: 货币符号
  8657. type: string
  8658. decimalplace:
  8659. description: 报价小数位
  8660. type: integer
  8661. desccityid:
  8662. description: 目的地(市)
  8663. type: integer
  8664. descprovinceid:
  8665. description: 目的地(省)
  8666. type: integer
  8667. goodscode:
  8668. description: 商品代码(内部)
  8669. type: string
  8670. goodsid:
  8671. description: 商品ID(自增ID SEQ_GOODS)
  8672. type: integer
  8673. goodsname:
  8674. description: 商品名称
  8675. type: string
  8676. hotindex:
  8677. description: 景点热度
  8678. type: integer
  8679. last:
  8680. description: 现价
  8681. type: number
  8682. marketid:
  8683. description: 所属市场ID
  8684. type: integer
  8685. picurls:
  8686. description: 介绍图片[多张用逗号分隔]
  8687. type: string
  8688. quoteminunit:
  8689. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8690. type: integer
  8691. trademode:
  8692. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8693. 21:竞拍-大宗式 22:受托竞价
  8694. type: integer
  8695. videourls:
  8696. description: 介绍视频[多张用逗号分隔]
  8697. type: string
  8698. required:
  8699. - goodscode
  8700. - goodsid
  8701. - goodsname
  8702. - marketid
  8703. - trademode
  8704. type: object
  8705. models.HybsMyBuyOrderDetail:
  8706. properties:
  8707. accountid:
  8708. description: 账户ID[报价币种]
  8709. type: integer
  8710. agreeunit:
  8711. description: 合约单位
  8712. type: number
  8713. buyorsell:
  8714. description: 买卖 - 0:买 1:卖
  8715. type: integer
  8716. cancelqty:
  8717. description: 撤单数量
  8718. type: integer
  8719. currencysign:
  8720. description: 货币符号
  8721. type: string
  8722. decimalplace:
  8723. description: 报价小数位
  8724. type: integer
  8725. goodscode:
  8726. description: 商品代码(内部)
  8727. type: string
  8728. goodsid:
  8729. description: 商品ID
  8730. type: integer
  8731. goodsname:
  8732. description: 商品名称
  8733. type: string
  8734. listingselecttype:
  8735. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8736. type: integer
  8737. marketid:
  8738. description: 市场ID
  8739. type: integer
  8740. mybuystatus:
  8741. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8742. type: integer
  8743. orderamount:
  8744. description: 委托金额
  8745. type: number
  8746. orderid:
  8747. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8748. type: string
  8749. orderprice:
  8750. description: 委托价格
  8751. type: number
  8752. orderqty:
  8753. description: 委托数量
  8754. type: integer
  8755. orderstatus:
  8756. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8757. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8758. 16:成交失败违约(荷兰式竞拍专用)
  8759. type: integer
  8760. ordertime:
  8761. description: 委托时间
  8762. type: string
  8763. picurls1:
  8764. description: 预售商品介绍图片[多张用逗号分隔]
  8765. type: string
  8766. picurls2:
  8767. description: 挂牌商品介绍图片[多张用逗号分隔]
  8768. type: string
  8769. trademode:
  8770. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8771. 21:竞拍-大宗式 22:受托竞价
  8772. type: integer
  8773. tradeqty:
  8774. description: 成交数量
  8775. type: integer
  8776. vendorname1:
  8777. description: 预售商品供应商名称
  8778. type: string
  8779. vendorname2:
  8780. description: 挂牌商品供应商名称
  8781. type: string
  8782. required:
  8783. - accountid
  8784. - buyorsell
  8785. - goodscode
  8786. - goodsid
  8787. - goodsname
  8788. - marketid
  8789. - orderid
  8790. - orderqty
  8791. - ordertime
  8792. - trademode
  8793. type: object
  8794. models.Loginaccount:
  8795. properties:
  8796. canoutin:
  8797. description: 是否可出入金 - 0:不可 1:可
  8798. type: integer
  8799. clientroleid:
  8800. description: 终端角色ID
  8801. type: integer
  8802. haslogined:
  8803. description: 是否已登录 - 0:未登录 1:已登录
  8804. type: integer
  8805. hasupdatedpwd:
  8806. description: 是否已更改密码 - 0:未修改 1:已修改
  8807. type: integer
  8808. lastloginip:
  8809. description: 最新登录地址
  8810. type: string
  8811. lastloginmode:
  8812. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8813. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8814. type: integer
  8815. lastloginremark:
  8816. description: 最新登录描述
  8817. type: string
  8818. lastlogintime:
  8819. description: 最新登录时间
  8820. type: string
  8821. logincode:
  8822. description: 登录代码
  8823. type: string
  8824. loginfailnum:
  8825. description: 连续登录失败次数(登录成功时清零)
  8826. type: integer
  8827. loginid:
  8828. description: 登陆账号
  8829. type: integer
  8830. loginport:
  8831. description: 最新登录端口
  8832. type: integer
  8833. loginstatus:
  8834. description: 登录账号状态 1:正常 2:冻结 3:无效
  8835. type: integer
  8836. loginusertype:
  8837. description: 登录账号类型 - 1:投资者 2:机构交易员
  8838. type: integer
  8839. modifierid:
  8840. description: 修改人
  8841. type: integer
  8842. modifytime:
  8843. description: 修改时间
  8844. type: string
  8845. pwdwrongcount:
  8846. description: 密码错误次数
  8847. type: integer
  8848. taaccountrighttype:
  8849. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8850. type: integer
  8851. unfreezetime:
  8852. description: 账户解冻时间
  8853. type: string
  8854. userid:
  8855. description: 用户ID
  8856. type: integer
  8857. required:
  8858. - loginid
  8859. type: object
  8860. models.MainAccountInfo:
  8861. properties:
  8862. accountid:
  8863. description: 账号id
  8864. type: string
  8865. accountname:
  8866. description: 账号名称(taaccount表中的名称)
  8867. type: string
  8868. appid:
  8869. description: AppID
  8870. type: string
  8871. authcode:
  8872. description: 授权码
  8873. type: string
  8874. brokerid:
  8875. description: 经纪商id
  8876. type: string
  8877. fcid:
  8878. description: 期货公司id
  8879. type: integer
  8880. fcname:
  8881. description: 期货公司代码
  8882. type: string
  8883. hedgeaccountcode:
  8884. description: 外部账号代码(主账号登录代码)
  8885. type: string
  8886. hedgeaccountpwd:
  8887. description: 密码
  8888. type: string
  8889. ismain:
  8890. description: 是否主账号
  8891. type: integer
  8892. relateduserid:
  8893. description: 关联用户id
  8894. type: integer
  8895. type: object
  8896. models.Market:
  8897. properties:
  8898. auctionwrtype:
  8899. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8900. type: integer
  8901. canacceptquote:
  8902. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8903. type: integer
  8904. cangoodsexercise:
  8905. description: '[期权]是否可现货行权- 0:否 1:是'
  8906. type: integer
  8907. cangoodsexercisetype:
  8908. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8909. type: integer
  8910. canmanualquotestrike:
  8911. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8912. type: integer
  8913. canmutistage:
  8914. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8915. type: integer
  8916. canpreexercise:
  8917. description: '[期权]是否可预申报- 0:否 1:是'
  8918. type: integer
  8919. clearinterval:
  8920. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8921. type: integer
  8922. contracttmp:
  8923. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8924. type: string
  8925. exchareaid:
  8926. description: 所属交易所,可以没有
  8927. type: integer
  8928. goodstype:
  8929. description: 商品类型 - 1:交易商品 2:仓单商品
  8930. type: integer
  8931. hasrebate:
  8932. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8933. type: integer
  8934. hastradecredit:
  8935. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8936. type: integer
  8937. haswr:
  8938. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8939. type: integer
  8940. isdeductmargin:
  8941. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8942. type: integer
  8943. isrecordsource:
  8944. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8945. type: integer
  8946. isreleasemargin:
  8947. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8948. type: integer
  8949. marginformula:
  8950. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8951. type: integer
  8952. marginformula2:
  8953. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8954. type: integer
  8955. marketid:
  8956. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8957. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8958. type: integer
  8959. marketname:
  8960. description: 市场名称
  8961. type: string
  8962. marketserviceid:
  8963. description: 市场服务ID
  8964. type: integer
  8965. marketstatus:
  8966. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8967. type: integer
  8968. markettype:
  8969. description: 市场类型- 1:非交易服务 2:交易服务
  8970. type: integer
  8971. matchermode:
  8972. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8973. type: integer
  8974. openmethod:
  8975. description: 开盘模式 - 0 自动 1手动
  8976. type: integer
  8977. otcuserid:
  8978. description: 场外期权做市商[场外期权]
  8979. type: integer
  8980. outersynctime:
  8981. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8982. type: string
  8983. pendingflag:
  8984. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8985. type: integer
  8986. pendingtime:
  8987. description: 待开市时间[通道交易-对冲](HH:mm)
  8988. type: string
  8989. performancetempid:
  8990. description: 履约计划模板ID - 作废
  8991. type: integer
  8992. premiumquotemode:
  8993. description: 权利金报价方式 - 1:自动 2:手动
  8994. type: integer
  8995. rebateratio:
  8996. description: 返利比率[竞价式]
  8997. type: number
  8998. reckonorder:
  8999. description: 结算顺序
  9000. type: integer
  9001. reckonpricealgorithm:
  9002. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9003. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9004. type: integer
  9005. reckonpriceparam:
  9006. description: 结算价参数
  9007. type: integer
  9008. reckontime:
  9009. description: 结算时间[通道交易-对冲](HH:mm)
  9010. type: string
  9011. roleprioritytype:
  9012. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9013. type: integer
  9014. selllistingauditflag:
  9015. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9016. type: integer
  9017. trademarkettype:
  9018. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9019. type: integer
  9020. trademode:
  9021. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9022. 21:竞拍-大宗式 22:受托竞价
  9023. type: integer
  9024. tradeproperty:
  9025. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9026. 8:场外期权
  9027. type: integer
  9028. tradetype:
  9029. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9030. type: integer
  9031. required:
  9032. - marketid
  9033. - marketstatus
  9034. - openmethod
  9035. - reckonpricealgorithm
  9036. - trademode
  9037. - tradeproperty
  9038. type: object
  9039. models.Marketrun:
  9040. properties:
  9041. afternexttradedate:
  9042. description: 下下交易日
  9043. type: string
  9044. clearquoteflag:
  9045. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9046. type: integer
  9047. lastreckondate:
  9048. description: 最新交易日(结算成功)
  9049. type: string
  9050. machinedate:
  9051. description: 机器时间
  9052. type: string
  9053. manualflag:
  9054. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9055. type: integer
  9056. marketid:
  9057. description: 市场ID
  9058. type: integer
  9059. nexttradedate:
  9060. description: 下一交易日
  9061. type: string
  9062. pretradedate:
  9063. description: 上一交易日
  9064. type: string
  9065. reckonflag:
  9066. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9067. type: integer
  9068. runstatus:
  9069. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9070. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9071. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9072. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9073. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9074. 62.今日免清算
  9075. type: integer
  9076. sectionid:
  9077. description: 时间段号[多时段时用]
  9078. type: integer
  9079. tradedate:
  9080. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9081. type: string
  9082. tradedate2:
  9083. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9084. type: string
  9085. updatetime:
  9086. description: 更新时间
  9087. type: string
  9088. required:
  9089. - marketid
  9090. - nexttradedate
  9091. - reckonflag
  9092. - runstatus
  9093. - tradedate
  9094. - tradedate2
  9095. type: object
  9096. models.Messageboard:
  9097. properties:
  9098. contactnum:
  9099. description: 联系电话
  9100. type: string
  9101. createtime:
  9102. description: 创建时间
  9103. type: string
  9104. message:
  9105. description: 留言信息
  9106. type: string
  9107. messageboardid:
  9108. description: 留言簿ID(SEQ_MessageBoard)
  9109. type: integer
  9110. userid:
  9111. description: 用户ID
  9112. type: integer
  9113. required:
  9114. - messageboardid
  9115. type: object
  9116. models.MyCoupon:
  9117. properties:
  9118. accountid:
  9119. description: 资金账户ID
  9120. type: integer
  9121. areauserid:
  9122. description: 所属机构
  9123. type: integer
  9124. conditionvalue:
  9125. description: 条件阈值(可为0)
  9126. type: number
  9127. couponcategroy:
  9128. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9129. type: integer
  9130. couponname:
  9131. description: 优惠券名称
  9132. type: string
  9133. coupontypeid:
  9134. description: 优惠券类型ID
  9135. type: string
  9136. couponvalue:
  9137. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9138. type: number
  9139. curfreezeqty:
  9140. description: 期末冻结数量
  9141. type: integer
  9142. curqty:
  9143. description: 期末数量
  9144. type: integer
  9145. isgeneral:
  9146. description: 是否通用券 - 0:否 1:是
  9147. type: integer
  9148. isunusable:
  9149. description: 是否不可用
  9150. type: boolean
  9151. limitedflag:
  9152. description: 是否指定商品 - 0:不限 1:限制
  9153. type: integer
  9154. limitedgoodsids:
  9155. description: 指定商品IDs[逗号分隔,前后加逗号]
  9156. type: string
  9157. orifreezeqty:
  9158. description: 期初冻结数量
  9159. type: integer
  9160. oriqty:
  9161. description: 期初数量
  9162. type: integer
  9163. reasontype:
  9164. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9165. type: integer
  9166. todaydecrease:
  9167. description: 今日减少
  9168. type: integer
  9169. todayincrease:
  9170. description: 今日增加
  9171. type: integer
  9172. userid:
  9173. description: 用户ID
  9174. type: integer
  9175. userscope:
  9176. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9177. type: string
  9178. required:
  9179. - accountid
  9180. - coupontypeid
  9181. type: object
  9182. models.MyCouponHold:
  9183. properties:
  9184. accountid:
  9185. description: 资金账户ID
  9186. type: integer
  9187. conditionvalue:
  9188. description: 条件阈值(可为0)
  9189. type: number
  9190. couponcategroy:
  9191. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9192. type: integer
  9193. couponholdid:
  9194. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9195. type: string
  9196. couponname:
  9197. description: 优惠券名称
  9198. type: string
  9199. coupontypeid:
  9200. description: 优惠券类型ID - SEQ_COUPONTYPE
  9201. type: string
  9202. couponvalue:
  9203. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9204. type: number
  9205. createtime:
  9206. description: 创建时间
  9207. type: string
  9208. enddate:
  9209. description: 结束日期
  9210. type: string
  9211. giveapplyid:
  9212. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9213. type: integer
  9214. holdstatus:
  9215. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9216. type: integer
  9217. isgeneral:
  9218. description: 是否通用券 - 0:否 1:是
  9219. type: integer
  9220. limitedflag:
  9221. description: 是否指定商品 - 0:不限 1:限制
  9222. type: integer
  9223. limitedgoodsids:
  9224. description: 指定商品IDs[逗号分隔]
  9225. type: string
  9226. qty:
  9227. description: 数量(按1平铺)
  9228. type: integer
  9229. startdate:
  9230. description: 开始日期
  9231. type: string
  9232. userid:
  9233. description: 用户ID
  9234. type: integer
  9235. userscope:
  9236. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9237. type: string
  9238. required:
  9239. - couponholdid
  9240. type: object
  9241. models.MyUsedCoupon:
  9242. properties:
  9243. accountid:
  9244. description: 资金账户ID(买方)
  9245. type: integer
  9246. conditionvalue:
  9247. description: 条件阈值(可为0)
  9248. type: number
  9249. couponcategroy:
  9250. description: 种类 - 1:现金券 2:折扣券
  9251. type: integer
  9252. couponname:
  9253. description: 优惠券名称
  9254. type: string
  9255. coupontypeid:
  9256. description: 优惠券类型ID(买方)
  9257. type: string
  9258. couponvalue:
  9259. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9260. type: number
  9261. createtime:
  9262. description: 创建时间
  9263. type: string
  9264. goodsid:
  9265. description: 商品ID
  9266. type: integer
  9267. handlestatus:
  9268. description: 处理状态
  9269. type: integer
  9270. marketid:
  9271. description: 市场ID
  9272. type: integer
  9273. offamount:
  9274. description: 优惠金额
  9275. type: number
  9276. orderid:
  9277. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9278. type: string
  9279. sellaccountid:
  9280. description: 资金账户ID(卖方)
  9281. type: integer
  9282. tradeamount:
  9283. description: 成交金额
  9284. type: number
  9285. tradeid:
  9286. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9287. type: string
  9288. usedqty:
  9289. description: 使用数量
  9290. type: integer
  9291. required:
  9292. - coupontypeid
  9293. - orderid
  9294. type: object
  9295. models.OperationPrimaryMenu:
  9296. properties:
  9297. Children:
  9298. description: 二级功能菜单
  9299. items:
  9300. $ref: '#/definitions/models.OperationSecondaryMenu'
  9301. type: array
  9302. Key:
  9303. description: 菜单KEY
  9304. type: string
  9305. Label:
  9306. description: 菜单标题
  9307. type: string
  9308. type: object
  9309. models.OperationSecondaryMenu:
  9310. properties:
  9311. Key:
  9312. description: 菜单KEY
  9313. type: string
  9314. Label:
  9315. description: 菜单标题
  9316. type: string
  9317. TabList:
  9318. description: 三级功能菜单
  9319. items:
  9320. $ref: '#/definitions/models.OperationTabMenu'
  9321. type: array
  9322. type: object
  9323. models.OperationTabMenu:
  9324. properties:
  9325. Key:
  9326. description: 菜单KEY
  9327. type: string
  9328. Label:
  9329. description: 菜单标题
  9330. type: string
  9331. type: object
  9332. models.PendingAuditBizModel:
  9333. properties:
  9334. accountid:
  9335. description: 现货账户
  9336. type: string
  9337. areaname:
  9338. description: 所属部门
  9339. type: string
  9340. bizid:
  9341. description: 业务ID
  9342. type: string
  9343. bizname:
  9344. description: 业务名称
  9345. type: string
  9346. status:
  9347. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9348. type: integer
  9349. type:
  9350. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9351. type: integer
  9352. type: object
  9353. models.QueryErrorInfosRsp:
  9354. properties:
  9355. description:
  9356. description: 异常描述
  9357. type: string
  9358. errorcode:
  9359. description: 异常代码
  9360. type: string
  9361. errorid:
  9362. description: 异常ID
  9363. type: integer
  9364. modulecode:
  9365. description: 所属模块
  9366. type: string
  9367. operatecode:
  9368. description: 所属操作
  9369. type: string
  9370. rownumber:
  9371. description: 行号
  9372. type: string
  9373. required:
  9374. - errorid
  9375. type: object
  9376. models.QueryHedgeOrderDetailRsp:
  9377. properties:
  9378. accountid:
  9379. description: 账户ID
  9380. type: integer
  9381. buyorsell:
  9382. description: 买卖 - 0:买 1:卖
  9383. type: integer
  9384. cancellogincode:
  9385. description: 撤单人
  9386. type: string
  9387. channelbuildtype:
  9388. description: 开平标志 - 0:无 1:建仓 2:平仓
  9389. type: integer
  9390. channelinnerorderstatus:
  9391. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  9392. 9:全部成交
  9393. type: integer
  9394. channeloperatetype:
  9395. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  9396. type: integer
  9397. closetype:
  9398. description: 平仓方式 - 0:无 1:平今 2:平昨
  9399. type: integer
  9400. curexchangerate:
  9401. description: 当前汇率
  9402. type: number
  9403. exchangefullname:
  9404. description: 外部交易所全称
  9405. type: string
  9406. goodscode:
  9407. description: 商品代码(内部)
  9408. type: string
  9409. goodsid:
  9410. description: 商品ID
  9411. type: integer
  9412. goodsname:
  9413. description: 商品名称
  9414. type: string
  9415. marketid:
  9416. description: 市场ID
  9417. type: integer
  9418. openfreezemargin:
  9419. description: 冻结保证金(冻结交易金额)
  9420. type: number
  9421. orderid:
  9422. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9423. type: string
  9424. orderlogincode:
  9425. description: 委托人
  9426. type: string
  9427. orderprice:
  9428. description: 委托价格(账户)
  9429. type: number
  9430. orderqty:
  9431. description: 委托数量
  9432. type: integer
  9433. ordertime:
  9434. description: 委托时间
  9435. type: string
  9436. pricemode:
  9437. description: '取价方式 - 1:市价 2: 限价'
  9438. type: integer
  9439. tradedate:
  9440. description: 交易日(yyyyMMdd)
  9441. type: string
  9442. tradeqty:
  9443. description: 成交数量
  9444. type: integer
  9445. type: object
  9446. models.QueryHedgeTradeDetailRsp:
  9447. properties:
  9448. accountid:
  9449. description: 账号ID
  9450. type: integer
  9451. buyorsell:
  9452. description: 方向 - 0:买 1:卖
  9453. type: integer
  9454. channelbuildtype:
  9455. description: 委托单据类型 0:无 1:建仓 2:平仓
  9456. type: integer
  9457. closecharge:
  9458. description: 平仓手续费(账户)
  9459. type: number
  9460. closecharge2:
  9461. description: 平仓手续费(商品)
  9462. type: number
  9463. closepl:
  9464. description: 平仓盈亏(账户)
  9465. type: number
  9466. closepl2:
  9467. description: 平仓盈亏(商品)
  9468. type: number
  9469. closepl3:
  9470. description: 平仓盈亏(账户)(逐笔)
  9471. type: number
  9472. closepl4:
  9473. description: 平仓盈亏(商品)(逐笔)
  9474. type: number
  9475. closetype:
  9476. description: 平仓方式 - 0:无 1:平今 2:平昨
  9477. type: integer
  9478. curexchangerate:
  9479. description: 当前汇率
  9480. type: number
  9481. exchangefullname:
  9482. description: 外部交易所全称
  9483. type: string
  9484. goodscode:
  9485. description: 商品代码(内部)
  9486. type: string
  9487. goodsid:
  9488. description: 商品ID
  9489. type: integer
  9490. goodsname:
  9491. description: 商品名称
  9492. type: string
  9493. marketid:
  9494. description: 市场ID
  9495. type: integer
  9496. opencharge:
  9497. description: 建仓手续费(账户)
  9498. type: number
  9499. opencharge2:
  9500. description: 建仓手续费(商品)
  9501. type: number
  9502. orderid:
  9503. description: 委托单号
  9504. type: string
  9505. orderlogincode:
  9506. description: 委托人
  9507. type: string
  9508. tradeamount:
  9509. description: 成交金额(账户)
  9510. type: number
  9511. tradedate:
  9512. description: 交易日(yyyyMMdd)
  9513. type: string
  9514. tradeid:
  9515. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9516. type: string
  9517. tradeprice:
  9518. description: 成交价格
  9519. type: number
  9520. tradeqty:
  9521. description: 成交数量
  9522. type: integer
  9523. tradetime:
  9524. description: 成交时间
  9525. type: string
  9526. tradetype:
  9527. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9528. type: integer
  9529. type: object
  9530. models.QuotePrimaryMenu:
  9531. properties:
  9532. Index:
  9533. description: 序号
  9534. type: integer
  9535. Key:
  9536. description: 键名
  9537. type: string
  9538. Name:
  9539. description: 菜单名称
  9540. type: string
  9541. SubMenus:
  9542. description: 子菜单
  9543. items:
  9544. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9545. type: array
  9546. SubTitleType:
  9547. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9548. type: integer
  9549. TradeModes:
  9550. description: 包含市场交易类型
  9551. type: string
  9552. type: object
  9553. models.QuoteSecondaryMenu:
  9554. properties:
  9555. ExExchangeCode:
  9556. description: 外部交易所代码
  9557. type: string
  9558. ExExchangeID:
  9559. description: 外部交易所ID
  9560. type: integer
  9561. GoodsGroupIDs:
  9562. description: 商品组ID列表
  9563. items:
  9564. type: integer
  9565. type: array
  9566. Index:
  9567. description: 序号
  9568. type: integer
  9569. MarketID:
  9570. description: 市场ID
  9571. type: integer
  9572. MenuTitle:
  9573. description: 菜单标题(市场名称或外部交易所名称)
  9574. type: string
  9575. TradeMode:
  9576. description: 交易模式
  9577. type: integer
  9578. type: object
  9579. models.RelatedGoodsEx:
  9580. properties:
  9581. goodscode:
  9582. description: 商品代码
  9583. type: string
  9584. goodsid:
  9585. description: 商品id
  9586. type: integer
  9587. goodsname:
  9588. description: 商品名称
  9589. type: string
  9590. type: object
  9591. models.SearchGoods:
  9592. properties:
  9593. goodscode:
  9594. description: 商品代码(内部)
  9595. type: string
  9596. goodsid:
  9597. description: 商品ID(自增ID SEQ_GOODS)
  9598. type: integer
  9599. goodsname:
  9600. description: 商品名称
  9601. type: string
  9602. marketid:
  9603. description: 所属市场ID
  9604. type: integer
  9605. marketname:
  9606. description: 市场名称
  9607. type: string
  9608. trademode:
  9609. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9610. 21:竞拍-大宗式 22:受托竞价
  9611. type: integer
  9612. required:
  9613. - goodscode
  9614. - goodsid
  9615. - goodsname
  9616. - marketid
  9617. - trademode
  9618. type: object
  9619. models.Systemparam:
  9620. properties:
  9621. loginid:
  9622. description: 更新用户账号,登录账号
  9623. type: string
  9624. modifyflag:
  9625. description: 修改标志0 不允许修改 1 允许修改
  9626. type: integer
  9627. paramcode:
  9628. description: 参数代码
  9629. type: string
  9630. paramname:
  9631. description: 参数名
  9632. type: string
  9633. paramtype:
  9634. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9635. type: integer
  9636. paramvalue:
  9637. description: 参数值
  9638. type: string
  9639. paramvalue2:
  9640. description: 参数值(CLOB)
  9641. type: string
  9642. regexpress:
  9643. description: 正则表达式
  9644. type: string
  9645. remark:
  9646. description: 备注
  9647. type: string
  9648. serverip:
  9649. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9650. type: string
  9651. showflag:
  9652. description: 是否显示0 不显示 1 显示
  9653. type: integer
  9654. updatetime:
  9655. description: 更新时间
  9656. type: string
  9657. userid:
  9658. description: 更新用户ID
  9659. type: integer
  9660. required:
  9661. - paramcode
  9662. type: object
  9663. models.Szdz3convertconfig:
  9664. properties:
  9665. canin:
  9666. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9667. type: integer
  9668. canout:
  9669. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9670. type: integer
  9671. converttype:
  9672. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9673. 6:交易转花生米(不设置)
  9674. type: integer
  9675. createtime:
  9676. description: 创建时间
  9677. type: string
  9678. creatorid:
  9679. description: 创建人
  9680. type: integer
  9681. daymaxvalue:
  9682. description: 当日最大转入限制
  9683. type: number
  9684. freezedays:
  9685. description: 冻结天数 [5:花生米转交易]
  9686. type: integer
  9687. innergoodsid:
  9688. description: 内部商品ID[交易]
  9689. type: integer
  9690. inratio:
  9691. description: 目标值
  9692. type: integer
  9693. modifierid:
  9694. description: 修改人
  9695. type: integer
  9696. modifytime:
  9697. description: 修改时间
  9698. type: string
  9699. outergoodscode:
  9700. description: 外部商品代码[JD\PD]
  9701. type: string
  9702. outratio:
  9703. description: 源值
  9704. type: integer
  9705. pddecimalplace:
  9706. description: PD小数位
  9707. type: integer
  9708. timemaxvalue:
  9709. description: 单次最大转入限制
  9710. type: number
  9711. timeminvalue:
  9712. description: 单次最小转入限制
  9713. type: number
  9714. required:
  9715. - converttype
  9716. - innergoodsid
  9717. - outergoodscode
  9718. type: object
  9719. models.Szdz3searchwhitelist:
  9720. properties:
  9721. createtime:
  9722. description: 创建时间
  9723. type: string
  9724. creatorid:
  9725. description: 创建人
  9726. type: integer
  9727. modifierid:
  9728. description: 修改人
  9729. type: integer
  9730. modifytime:
  9731. description: 修改时间
  9732. type: string
  9733. userid:
  9734. description: 用户ID
  9735. type: integer
  9736. required:
  9737. - userid
  9738. type: object
  9739. models.Taaccount:
  9740. properties:
  9741. accountflag:
  9742. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9743. type: integer
  9744. accountid:
  9745. description: 资金账户ID
  9746. type: integer
  9747. accountname:
  9748. description: 账户名称
  9749. type: string
  9750. balance:
  9751. description: 期初余额
  9752. type: number
  9753. capitalbalance:
  9754. description: 本金余额[外部子账户实际出入金余额]
  9755. type: number
  9756. changeflag:
  9757. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9758. type: integer
  9759. changetime:
  9760. description: 账户状态变更时间
  9761. type: string
  9762. closepl:
  9763. description: 今日平仓盈亏
  9764. type: number
  9765. creditdecrease:
  9766. description: 今日授信减少
  9767. type: number
  9768. creditincrease:
  9769. description: 今日授信增加
  9770. type: number
  9771. currencyid:
  9772. description: 货币ID
  9773. type: integer
  9774. currentbalance:
  9775. description: 期末余额
  9776. type: number
  9777. freezecharge:
  9778. description: 手续费冻结
  9779. type: number
  9780. freezemargin:
  9781. description: 冻结保证金
  9782. type: number
  9783. fromaccountid:
  9784. description: 所属上级账户
  9785. type: integer
  9786. inamount:
  9787. description: 今日入金金额(包括三方入金)
  9788. type: number
  9789. ismain:
  9790. description: 是否母账号 0:不是母账户 1:是母账户
  9791. type: integer
  9792. ismarketaccount:
  9793. description: 是否机构接单账号 0:不是 1:是
  9794. type: integer
  9795. isreckonaccount:
  9796. description: 是否机构分润账号 0:不是 1:是
  9797. type: integer
  9798. mortgagecredit:
  9799. description: 授信金额
  9800. type: number
  9801. orifreezecharge:
  9802. description: 期初手续费冻结
  9803. type: number
  9804. orifreezemargin:
  9805. description: 期初冻结保证金
  9806. type: number
  9807. orimortgagecredit:
  9808. description: 期初授信金额
  9809. type: number
  9810. oriothercredit:
  9811. description: 期初其它授信金额
  9812. type: number
  9813. oriotherfreezemargin:
  9814. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9815. type: number
  9816. orioutamountfreeze:
  9817. description: 期初出金冻结
  9818. type: number
  9819. oriusedmargin:
  9820. description: 期初占用保证金
  9821. type: number
  9822. othercredit:
  9823. description: 其它授信金额
  9824. type: number
  9825. othercreditdecrease:
  9826. description: 今日其它授信减少
  9827. type: number
  9828. othercreditincrease:
  9829. description: 今日其它授信增加
  9830. type: number
  9831. otherfreezemargin:
  9832. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9833. type: number
  9834. otherincome:
  9835. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9836. type: number
  9837. otherpay:
  9838. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9839. type: number
  9840. outamount:
  9841. description: 今日出金金额(包括三方出金)
  9842. type: number
  9843. outamountfreeze:
  9844. description: 出金冻结
  9845. type: number
  9846. outthreshold:
  9847. description: 出金阈值
  9848. type: number
  9849. parentaccountid:
  9850. description: 所属根账号
  9851. type: integer
  9852. paycharge:
  9853. description: 今日手续费支出
  9854. type: number
  9855. relatedaccountstatus:
  9856. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9857. type: integer
  9858. relateduserid:
  9859. description: 关联用户
  9860. type: integer
  9861. serivcegroup:
  9862. description: 服务分组
  9863. type: integer
  9864. signstatus:
  9865. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9866. type: integer
  9867. sublevelpath:
  9868. description: 账号层级路径(逗号分隔,首尾加逗号)
  9869. type: string
  9870. taaccounttype:
  9871. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9872. type: integer
  9873. thirdinamount:
  9874. description: 今日三方入金
  9875. type: number
  9876. thirdoutamount:
  9877. description: 今日三方出金
  9878. type: number
  9879. tradestatus:
  9880. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9881. type: integer
  9882. tradestatuschangetime:
  9883. description: 激活时间
  9884. type: string
  9885. transferamount:
  9886. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9887. type: number
  9888. usedmargin:
  9889. description: 占用保证金
  9890. type: number
  9891. userid:
  9892. description: 用户ID
  9893. type: integer
  9894. required:
  9895. - accountid
  9896. - userid
  9897. type: object
  9898. models.Tablecolumnconfig:
  9899. properties:
  9900. aligntype:
  9901. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9902. type: integer
  9903. autoid:
  9904. description: AutoID
  9905. type: integer
  9906. columnfield:
  9907. description: 列字段
  9908. type: string
  9909. columntitle:
  9910. description: 列Title
  9911. type: string
  9912. columnwidth:
  9913. description: 列宽
  9914. type: string
  9915. formatterstring:
  9916. description: 格式化字符
  9917. type: string
  9918. formattertype:
  9919. description: 格式化类型
  9920. type: string
  9921. groupname:
  9922. description: 表头分组名称
  9923. type: string
  9924. isshow:
  9925. description: 是否显示 - 0:不显示 1:显示
  9926. type: integer
  9927. needsummary:
  9928. description: 是否需要汇总 - 0:不需要 1:需要
  9929. type: integer
  9930. orderindex:
  9931. description: 顺序
  9932. type: integer
  9933. remark:
  9934. description: 备注
  9935. type: string
  9936. summarytype:
  9937. description: 汇总类型 - 1:加总 2:最后一个
  9938. type: integer
  9939. tablekey:
  9940. description: 列表Key
  9941. type: string
  9942. required:
  9943. - autoid
  9944. type: object
  9945. models.Useraccount:
  9946. properties:
  9947. accountname:
  9948. description: 账户名称(机构名称)
  9949. type: string
  9950. accountstatus:
  9951. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9952. type: integer
  9953. auditremark:
  9954. description: 审核备注
  9955. type: string
  9956. audittime:
  9957. description: 审核时间
  9958. type: string
  9959. audituserid:
  9960. description: 审核人
  9961. type: integer
  9962. broker:
  9963. description: 所属经纪人ID
  9964. type: integer
  9965. canceltime:
  9966. description: 销户时间
  9967. type: string
  9968. canceluserid:
  9969. description: 销户人
  9970. type: integer
  9971. createtime:
  9972. description: 创建时间
  9973. type: string
  9974. creatorid:
  9975. description: 创建人
  9976. type: integer
  9977. hasauth:
  9978. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  9979. type: integer
  9980. isanonymous:
  9981. description: 是否匿名下单 - 0:否 1:是
  9982. type: integer
  9983. maxinvestornum:
  9984. description: 最大用户数(经纪会员下投资者个数)
  9985. type: integer
  9986. memberuserid:
  9987. description: 所属会员ID
  9988. type: integer
  9989. modifierid:
  9990. description: 修改人
  9991. type: integer
  9992. modifyremark:
  9993. description: 变更备注
  9994. type: string
  9995. modifystatus:
  9996. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  9997. type: integer
  9998. modifytime:
  9999. description: 修改时间
  10000. type: string
  10001. parentuserid:
  10002. description: 所属机构ID
  10003. type: integer
  10004. reckonaccountid:
  10005. description: 默认结算资金账号ID(机构分润使用) 作废
  10006. type: integer
  10007. refercount:
  10008. description: 推荐总人数
  10009. type: integer
  10010. refereeuserid:
  10011. description: 推荐人ID
  10012. type: integer
  10013. refernum:
  10014. description: 推荐码
  10015. type: string
  10016. subarealevelpath:
  10017. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10018. type: string
  10019. userid:
  10020. description: 用户ID
  10021. type: integer
  10022. usertype:
  10023. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10024. type: integer
  10025. required:
  10026. - userid
  10027. type: object
  10028. models.Userfavoritegoods:
  10029. properties:
  10030. goodsid:
  10031. description: 商品ID
  10032. type: integer
  10033. required:
  10034. - goodsid
  10035. type: object
  10036. models.Userinfo:
  10037. properties:
  10038. address:
  10039. description: 地址
  10040. type: string
  10041. attachment1:
  10042. description: 附件1
  10043. type: string
  10044. attachment2:
  10045. description: 附件2
  10046. type: string
  10047. bankaccount:
  10048. description: 银行帐号 (加密存储)
  10049. type: string
  10050. bankaccountname:
  10051. description: 收款人名称
  10052. type: string
  10053. bankcardfrontphotourl:
  10054. description: 银行卡正面照地址
  10055. type: string
  10056. bankid:
  10057. description: 银行编码
  10058. type: string
  10059. bankname:
  10060. description: 银行名称
  10061. type: string
  10062. biznature:
  10063. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  10064. type: integer
  10065. bizscope:
  10066. description: 企业经营范围(企业)
  10067. type: string
  10068. cardbackphotourl:
  10069. description: 证件背面图片地址
  10070. type: string
  10071. cardfrontphotourl:
  10072. description: 证件正面图片地址
  10073. type: string
  10074. cardnum:
  10075. description: 证件号码(加密存储)
  10076. type: string
  10077. cardtypeid:
  10078. description: 证件类型ID
  10079. type: integer
  10080. cityid:
  10081. description: 市
  10082. type: integer
  10083. company:
  10084. description: 公司(个人)
  10085. type: string
  10086. contactname:
  10087. description: 联系人
  10088. type: string
  10089. countryid:
  10090. description: 国家
  10091. type: integer
  10092. createtime:
  10093. description: 创建时间
  10094. type: string
  10095. creatorid:
  10096. description: 创建人
  10097. type: integer
  10098. customername:
  10099. description: 客户名称(企业名称)
  10100. type: string
  10101. districtid:
  10102. description: 地区
  10103. type: integer
  10104. email:
  10105. description: 邮件(加密存储)
  10106. type: string
  10107. fax:
  10108. description: 传真(加密存储)
  10109. type: string
  10110. halfbodyphotourl:
  10111. description: 半身照地址
  10112. type: string
  10113. hasencrypt:
  10114. description: 数据是否已加密 - 0:未加密 1:已加密
  10115. type: integer
  10116. headurl:
  10117. description: 头像地址
  10118. type: string
  10119. legalcardbackphotourl:
  10120. description: 法人身份证背面照地址
  10121. type: string
  10122. legalcardfrontphotourl:
  10123. description: 法人身份证正面照地址
  10124. type: string
  10125. legalpersonname:
  10126. description: 法人姓名(企业)
  10127. type: string
  10128. mobile:
  10129. description: 手机号码(加密存储)
  10130. type: string
  10131. mobile2:
  10132. description: 手机号码[明文-尚志]
  10133. type: string
  10134. modifierid:
  10135. description: 修改人
  10136. type: integer
  10137. modifiertime:
  10138. description: 修改时间
  10139. type: string
  10140. needinvoice:
  10141. description: 是否需要发票 - 0:不需要 1:需要
  10142. type: integer
  10143. nickname:
  10144. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  10145. type: string
  10146. openmode:
  10147. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  10148. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  10149. type: integer
  10150. otherurl:
  10151. description: 其它图片地址[使用分号分隔]
  10152. type: string
  10153. postalcode:
  10154. description: 邮政编码
  10155. type: string
  10156. provinceid:
  10157. description: 省
  10158. type: integer
  10159. qq:
  10160. description: QQ(加密存储
  10161. type: string
  10162. remark:
  10163. description: 备注
  10164. type: string
  10165. sex:
  10166. description: '用户性别 0: 女 1: 男'
  10167. type: integer
  10168. signpdfurl:
  10169. description: 签约pdf文件
  10170. type: string
  10171. telphone:
  10172. description: 联系电话(加密存储)
  10173. type: string
  10174. userid:
  10175. description: 用户ID
  10176. type: integer
  10177. userinfotype:
  10178. description: 用户信息类型 - 1:个人 2:企业
  10179. type: integer
  10180. userstatus:
  10181. description: 用户状态 - 1:正常 2:注销
  10182. type: integer
  10183. usertype:
  10184. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10185. type: integer
  10186. wechat:
  10187. description: 微信(加密存储)
  10188. type: string
  10189. wskhinfo:
  10190. description: 开户申请信息(JSON)
  10191. type: string
  10192. required:
  10193. - userid
  10194. type: object
  10195. models.WRSConverTDetail:
  10196. properties:
  10197. convertratio:
  10198. description: 套保系数
  10199. type: number
  10200. deliverygoodscode:
  10201. description: 现货商品代码
  10202. type: string
  10203. deliverygoodsid:
  10204. description: 现货品种ID
  10205. type: integer
  10206. deliverygoodsname:
  10207. description: 现货商品名称
  10208. type: string
  10209. enumdicname:
  10210. description: 单位名称
  10211. type: string
  10212. goodsunitid:
  10213. description: 套保品种单位id
  10214. type: integer
  10215. middlegoodscode:
  10216. description: 套保品种代码
  10217. type: string
  10218. middlegoodsid:
  10219. description: 套保品种ID
  10220. type: integer
  10221. middlegoodsname:
  10222. description: 套保品种名称
  10223. type: string
  10224. modifytime:
  10225. description: 修改时间
  10226. type: string
  10227. wrstandardid:
  10228. description: 品类ID
  10229. type: integer
  10230. type: object
  10231. models.WRStandardInfo:
  10232. properties:
  10233. areauserid:
  10234. description: 所属机构
  10235. type: integer
  10236. convertfactor:
  10237. description: 标仓系数
  10238. type: number
  10239. createtime:
  10240. description: 创建时间
  10241. type: string
  10242. creatorid:
  10243. description: 创建人
  10244. type: integer
  10245. deliverygoodsid:
  10246. description: 品种ID
  10247. type: integer
  10248. deliverygoodsname:
  10249. description: 交割商品名称
  10250. type: string
  10251. factoryitemjson:
  10252. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  10253. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  10254. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  10255. 逗号分隔'
  10256. type: string
  10257. isvalid:
  10258. description: 是否有效 - 0:无效 1:有效
  10259. type: integer
  10260. minivalue:
  10261. description: 最小变动值
  10262. type: integer
  10263. minivaluedp:
  10264. description: 最小变动值小数位
  10265. type: integer
  10266. realminivalue:
  10267. description: 实际最小变动值
  10268. type: integer
  10269. realminivaluedp:
  10270. description: 实际最小变动值小数位
  10271. type: integer
  10272. remark:
  10273. description: 备注
  10274. type: string
  10275. unitid:
  10276. description: 单位ID
  10277. type: integer
  10278. unitname:
  10279. description: 单位
  10280. type: string
  10281. updatetime:
  10282. description: 更新时间
  10283. type: string
  10284. updatorid:
  10285. description: 更新人
  10286. type: integer
  10287. wrsstatus:
  10288. description: 状态 - 作废 - 0:未激活 1:正常
  10289. type: integer
  10290. wrstandardcode:
  10291. description: 现货品类代码
  10292. type: string
  10293. wrstandardid:
  10294. description: 现货品类ID(SEQ_WRSTANDARD)
  10295. type: integer
  10296. wrstandardname:
  10297. description: 现货品类名称
  10298. type: string
  10299. required:
  10300. - wrstandardid
  10301. type: object
  10302. models.Warehouseinfo:
  10303. properties:
  10304. address:
  10305. description: 详细地址
  10306. type: string
  10307. areauserid:
  10308. description: 所属机构
  10309. type: integer
  10310. autoid:
  10311. description: 自增ID
  10312. type: integer
  10313. cityid:
  10314. description: 市
  10315. type: integer
  10316. contactname:
  10317. description: 联系人
  10318. type: string
  10319. contactnum:
  10320. description: 联系电话
  10321. type: string
  10322. countryid:
  10323. description: 国家
  10324. type: integer
  10325. createtime:
  10326. description: 创建时间
  10327. type: string
  10328. districtid:
  10329. description: 区
  10330. type: integer
  10331. hasvideo:
  10332. description: 是否有视频 - 0:无 1:有
  10333. type: integer
  10334. provinceid:
  10335. description: 省
  10336. type: integer
  10337. remark:
  10338. description: 审核备注
  10339. type: string
  10340. videourl:
  10341. description: 视频地址
  10342. type: string
  10343. warehousecode:
  10344. description: 仓库代码
  10345. type: string
  10346. warehousename:
  10347. description: 仓库名称
  10348. type: string
  10349. warehousestatus:
  10350. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10351. type: integer
  10352. warehousetype:
  10353. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10354. type: integer
  10355. required:
  10356. - autoid
  10357. - warehousecode
  10358. type: object
  10359. order.QueryHisTradeDetailRsp:
  10360. properties:
  10361. accountid:
  10362. description: 账户ID[报价币种]
  10363. type: integer
  10364. buildtype:
  10365. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10366. type: integer
  10367. buyorsell:
  10368. description: 方向 - 0:买 1:卖
  10369. type: integer
  10370. charge:
  10371. description: 手续费
  10372. type: number
  10373. closecharge:
  10374. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10375. type: number
  10376. closeexchagechargevalue:
  10377. description: 平仓交易所手续费设置值
  10378. type: number
  10379. closefeealgorithm:
  10380. description: 平仓手续费收取方式 1:比率 2:固定
  10381. type: integer
  10382. closememberchargevalue:
  10383. description: 平仓会员手续费设置值
  10384. type: number
  10385. closepl:
  10386. description: 平仓盈亏
  10387. type: number
  10388. closepl2:
  10389. description: 平仓盈亏[逐笔]
  10390. type: number
  10391. closeqty:
  10392. description: 平仓数量(先建后平操作 需要记录)
  10393. type: integer
  10394. creditamount:
  10395. description: 授信金额
  10396. type: number
  10397. gcaccountid:
  10398. description: 账户ID[合约币种]
  10399. type: integer
  10400. goodscode:
  10401. description: 商品代码
  10402. type: string
  10403. goodsid:
  10404. description: 商品ID
  10405. type: integer
  10406. goodsname:
  10407. description: 商品名称
  10408. type: string
  10409. histradedate:
  10410. description: 历史交易日
  10411. type: string
  10412. intclosepl:
  10413. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10414. type: integer
  10415. isconfirmexercise:
  10416. description: 是否确认行权- 0:否 1:是
  10417. type: integer
  10418. ismain:
  10419. description: 是否主单 - 0:不是 1:是
  10420. type: integer
  10421. ispreexercise:
  10422. description: 是否预申报- 0:否 1:是
  10423. type: integer
  10424. isreckoned:
  10425. description: 是否结算 - 0:未结算 1:已结算
  10426. type: integer
  10427. isvaliddata:
  10428. description: 是否有效 - 0:无效 1:有效
  10429. type: integer
  10430. listingselecttype:
  10431. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10432. type: integer
  10433. marketid:
  10434. description: 市场ID
  10435. type: integer
  10436. marketname:
  10437. description: 市场名称
  10438. type: string
  10439. matchaccountid:
  10440. description: 对手账号id
  10441. type: integer
  10442. memberuserid:
  10443. description: 会员id 个人投资者 需要填写
  10444. type: integer
  10445. opencharge:
  10446. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10447. type: number
  10448. openexchagechargevalue:
  10449. description: 建仓交易所手续费设置值
  10450. type: number
  10451. openfeealgorithm:
  10452. description: 建仓手续费收取方式 1:比率 2:固定
  10453. type: integer
  10454. openmemberchargevalue:
  10455. description: 建仓会员手续费设置值
  10456. type: number
  10457. openqty:
  10458. description: 开仓数量(先建后平操作 需要记录)
  10459. type: integer
  10460. optiontype:
  10461. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10462. type: integer
  10463. orderid:
  10464. description: 委托单号
  10465. type: string
  10466. performanceplanid:
  10467. description: 履约计划ID[期权]
  10468. type: integer
  10469. performancestatus:
  10470. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10471. type: integer
  10472. preexerciseprice:
  10473. description: 预申报价格
  10474. type: number
  10475. premium:
  10476. description: 权利金 - [持仓单的权利金]
  10477. type: number
  10478. relatedouttradeid:
  10479. description: 关联外部成交单ID
  10480. type: integer
  10481. status:
  10482. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10483. type: integer
  10484. tradeamount:
  10485. description: 成交金额[账户币种,用于所有权]
  10486. type: number
  10487. tradedate:
  10488. description: 交易日(yyyyMMdd)
  10489. type: string
  10490. tradeid:
  10491. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10492. type: string
  10493. trademode:
  10494. description: 交易模式
  10495. type: integer
  10496. tradeprice:
  10497. description: 成交价格
  10498. type: number
  10499. tradeproperty:
  10500. description: 交易属性
  10501. type: integer
  10502. tradeqty:
  10503. description: 成交数量
  10504. type: integer
  10505. tradetime:
  10506. description: 成交时间
  10507. type: string
  10508. tradetype:
  10509. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10510. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10511. type: integer
  10512. required:
  10513. - accountid
  10514. - buyorsell
  10515. - goodsid
  10516. - histradedate
  10517. - marketid
  10518. - memberuserid
  10519. - orderid
  10520. - tradeamount
  10521. - tradedate
  10522. - tradeid
  10523. - tradeprice
  10524. - tradeqty
  10525. - tradetime
  10526. type: object
  10527. order.QueryHisTradeOrderDetailRsp:
  10528. properties:
  10529. accountid:
  10530. description: 账户ID[报价币种]
  10531. type: integer
  10532. buildtype:
  10533. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10534. type: integer
  10535. buyorsell:
  10536. description: 买卖 - 0:买 1:卖
  10537. type: integer
  10538. cancelorderid:
  10539. description: 撤单单号(撤单时填写)
  10540. type: string
  10541. cancelqty:
  10542. description: 撤单数量
  10543. type: integer
  10544. clientordertime:
  10545. description: 客户端委托时间
  10546. type: string
  10547. clientticket:
  10548. description: 客户端流水号
  10549. type: string
  10550. clienttype:
  10551. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10552. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10553. type: integer
  10554. closeexchagechargevalue:
  10555. description: 平仓交易所手续费设置值
  10556. type: number
  10557. closefeealgorithm:
  10558. description: 平仓手续费收取方式 1:比率 2:固定
  10559. type: integer
  10560. closefreezecharge:
  10561. description: 平仓冻结手续费(先建后平操作,需要记录)
  10562. type: number
  10563. closememberchargevalue:
  10564. description: 平仓会员手续费设置值
  10565. type: number
  10566. closeqty:
  10567. description: 平仓数量(先建后平操作 需要记录)
  10568. type: integer
  10569. closetradeqty:
  10570. description: 平仓成交数量(先建后平操作,需要记录)
  10571. type: integer
  10572. closeunfreezecharge:
  10573. description: 平仓解冻手续费(先建后平操作,需要记录)
  10574. type: number
  10575. delistingtype:
  10576. description: 摘牌类型 - 1:价格最优 2:点选成交
  10577. type: integer
  10578. freezecharge:
  10579. description: 冻结手续费
  10580. type: number
  10581. freezemargin:
  10582. description: 冻结保证金(冻结交易金额)
  10583. type: number
  10584. gcaccountid:
  10585. description: 账户ID[合约币种]
  10586. type: integer
  10587. goodscode:
  10588. description: 商品代码
  10589. type: string
  10590. goodsid:
  10591. description: 商品ID
  10592. type: integer
  10593. goodsname:
  10594. description: 商品名称
  10595. type: string
  10596. histradedate:
  10597. description: 历史交易日
  10598. type: string
  10599. isconfirmexercise:
  10600. description: 是否确认行权- 0:否 1:是
  10601. type: integer
  10602. ispreexercise:
  10603. description: 是否预申报- 0:否 1:是
  10604. type: integer
  10605. isvaliddata:
  10606. description: 是否有效 - 0:无效 1:有效
  10607. type: integer
  10608. listingselecttype:
  10609. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10610. type: integer
  10611. marginalgorithm:
  10612. description: 保证金收取方式 1:比率 2:固定
  10613. type: integer
  10614. marginvalue:
  10615. description: 即市保证金设置值
  10616. type: number
  10617. marketid:
  10618. description: 市场ID
  10619. type: integer
  10620. marketmaxsub:
  10621. description: 市价最大偏移范围
  10622. type: number
  10623. marketname:
  10624. description: 市场名称
  10625. type: string
  10626. memberuserid:
  10627. description: 所属会员UserID
  10628. type: integer
  10629. openexchagechargevalue:
  10630. description: 建仓交易所手续费设置值
  10631. type: number
  10632. openfeealgorithm:
  10633. description: 建仓手续费收取方式 1:比率 2:固定
  10634. type: integer
  10635. openfreezecharge:
  10636. description: 开仓冻结手续费(先建后平操作,需要记录)
  10637. type: number
  10638. openmemberchargevalue:
  10639. description: 建仓会员手续费设置值
  10640. type: number
  10641. openqty:
  10642. description: 开仓数量(先建后平操作,需要记录)
  10643. type: integer
  10644. opentradeqty:
  10645. description: 开仓成交数量(先建后平操作,需要记录)
  10646. type: integer
  10647. openunfreezecharge:
  10648. description: 开仓解冻手续费(先建后平操作,需要记录)
  10649. type: number
  10650. operatetype:
  10651. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10652. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10653. 15:管理端协议转让
  10654. type: integer
  10655. operatorid:
  10656. description: 登录账号(LoginID)
  10657. type: integer
  10658. optiontype:
  10659. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10660. type: integer
  10661. orderid:
  10662. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10663. type: string
  10664. orderprice:
  10665. description: 委托价格
  10666. type: number
  10667. orderqty:
  10668. description: 委托数量
  10669. type: integer
  10670. ordersrc:
  10671. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10672. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10673. type: integer
  10674. orderstatus:
  10675. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10676. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10677. 16:成交失败违约(荷兰式竞拍专用)
  10678. type: integer
  10679. ordertime:
  10680. description: 委托时间
  10681. type: string
  10682. preexerciseprice:
  10683. description: 预申报价格
  10684. type: number
  10685. premium:
  10686. description: 权利金
  10687. type: number
  10688. preorderid:
  10689. description: 关联预埋单号(止盈止损单时填写)
  10690. type: string
  10691. pricemode:
  10692. description: '取价方式 - 1:市价 2: 限价'
  10693. type: integer
  10694. quoteid:
  10695. description: 报价单ID
  10696. type: integer
  10697. relatedid:
  10698. description: 关联单号(交割单)
  10699. type: string
  10700. retcode:
  10701. description: 错误代码
  10702. type: integer
  10703. sessionid:
  10704. description: 会话ID
  10705. type: integer
  10706. tradedate:
  10707. description: 交易日(yyyyMMdd)
  10708. type: string
  10709. trademode:
  10710. description: 交易模式
  10711. type: integer
  10712. tradeproperty:
  10713. description: 交易属性
  10714. type: integer
  10715. tradeqty:
  10716. description: 成交数量
  10717. type: integer
  10718. unfreezecharge:
  10719. description: 解冻手续费
  10720. type: number
  10721. unfreezemargin:
  10722. description: 解冻保证金
  10723. type: number
  10724. updatetime:
  10725. description: 更新时间
  10726. type: string
  10727. uuid:
  10728. description: 发起端唯一id
  10729. type: string
  10730. validtime:
  10731. description: 有效期限
  10732. type: string
  10733. validtype:
  10734. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10735. type: integer
  10736. volumetype:
  10737. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10738. type: integer
  10739. required:
  10740. - accountid
  10741. - buildtype
  10742. - buyorsell
  10743. - goodsid
  10744. - histradedate
  10745. - marketid
  10746. - memberuserid
  10747. - operatetype
  10748. - orderid
  10749. - orderqty
  10750. - ordertime
  10751. - pricemode
  10752. - tradedate
  10753. - validtype
  10754. type: object
  10755. order.QueryTradeDetailRsp:
  10756. properties:
  10757. accountid:
  10758. description: 账户ID[报价币种]
  10759. type: integer
  10760. buildtype:
  10761. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10762. type: integer
  10763. buyorsell:
  10764. description: 方向 - 0:买 1:卖
  10765. type: integer
  10766. charge:
  10767. description: 手续费
  10768. type: number
  10769. closecharge:
  10770. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10771. type: number
  10772. closeexchagechargevalue:
  10773. description: 平仓交易所手续费设置值
  10774. type: number
  10775. closefeealgorithm:
  10776. description: 平仓手续费收取方式 1:比率 2:固定
  10777. type: integer
  10778. closememberchargevalue:
  10779. description: 平仓会员手续费设置值
  10780. type: number
  10781. closepl:
  10782. description: 平仓盈亏
  10783. type: number
  10784. closepl2:
  10785. description: 平仓盈亏[逐笔]
  10786. type: number
  10787. closeqty:
  10788. description: 平仓数量(先建后平操作 需要记录)
  10789. type: integer
  10790. creditamount:
  10791. description: 授信金额
  10792. type: number
  10793. gcaccountid:
  10794. description: 账户ID[合约币种]
  10795. type: integer
  10796. goodscode:
  10797. description: 商品代码
  10798. type: string
  10799. goodsid:
  10800. description: 商品ID
  10801. type: integer
  10802. goodsname:
  10803. description: 商品名称
  10804. type: string
  10805. intclosepl:
  10806. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10807. type: integer
  10808. isconfirmexercise:
  10809. description: 是否确认行权- 0:否 1:是
  10810. type: integer
  10811. ismain:
  10812. description: 是否主单 - 0:不是 1:是
  10813. type: integer
  10814. ispreexercise:
  10815. description: 是否预申报- 0:否 1:是
  10816. type: integer
  10817. isreckoned:
  10818. description: 是否结算 - 0:未结算 1:已结算
  10819. type: integer
  10820. listingselecttype:
  10821. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10822. type: integer
  10823. marketid:
  10824. description: 市场ID
  10825. type: integer
  10826. marketname:
  10827. description: 市场名称
  10828. type: string
  10829. matchaccountid:
  10830. description: 对手账号id
  10831. type: integer
  10832. memberuserid:
  10833. description: 会员id 个人投资者 需要填写
  10834. type: integer
  10835. opencharge:
  10836. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10837. type: number
  10838. openexchagechargevalue:
  10839. description: 建仓交易所手续费设置值
  10840. type: number
  10841. openfeealgorithm:
  10842. description: 建仓手续费收取方式 1:比率 2:固定
  10843. type: integer
  10844. openmemberchargevalue:
  10845. description: 建仓会员手续费设置值
  10846. type: number
  10847. openqty:
  10848. description: 开仓数量(先建后平操作 需要记录)
  10849. type: integer
  10850. optiontype:
  10851. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10852. type: integer
  10853. orderid:
  10854. description: 委托单号
  10855. type: string
  10856. performanceplanid:
  10857. description: 履约计划ID[期权]
  10858. type: integer
  10859. performancestatus:
  10860. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10861. type: integer
  10862. preexerciseprice:
  10863. description: 预申报价格
  10864. type: number
  10865. premium:
  10866. description: 权利金 - [持仓单的权利金]
  10867. type: number
  10868. relatedouttradeid:
  10869. description: 关联外部成交单ID
  10870. type: integer
  10871. status:
  10872. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10873. type: integer
  10874. tradeamount:
  10875. description: 成交金额[账户币种,用于所有权]
  10876. type: number
  10877. tradedate:
  10878. description: 交易日(yyyyMMdd)
  10879. type: string
  10880. tradeid:
  10881. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10882. type: string
  10883. trademode:
  10884. description: 交易模式
  10885. type: integer
  10886. tradeprice:
  10887. description: 成交价格
  10888. type: number
  10889. tradeproperty:
  10890. description: 交易属性
  10891. type: integer
  10892. tradeqty:
  10893. description: 成交数量
  10894. type: integer
  10895. tradetime:
  10896. description: 成交时间
  10897. type: string
  10898. tradetype:
  10899. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10900. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10901. type: integer
  10902. required:
  10903. - accountid
  10904. - buyorsell
  10905. - goodsid
  10906. - marketid
  10907. - memberuserid
  10908. - orderid
  10909. - tradeamount
  10910. - tradedate
  10911. - tradeid
  10912. - tradeprice
  10913. - tradeqty
  10914. - tradetime
  10915. type: object
  10916. order.QueryTradeOrderDetailRsp:
  10917. properties:
  10918. accountid:
  10919. description: 账户ID[报价币种]
  10920. type: integer
  10921. buildtype:
  10922. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10923. type: integer
  10924. buyorsell:
  10925. description: 买卖 - 0:买 1:卖
  10926. type: integer
  10927. cancelorderid:
  10928. description: 撤单单号(撤单时填写)
  10929. type: string
  10930. cancelqty:
  10931. description: 撤单数量
  10932. type: integer
  10933. clienttype:
  10934. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10935. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10936. type: integer
  10937. closefreezecharge:
  10938. description: 平仓冻结手续费(先建后平操作,需要记录)
  10939. type: number
  10940. closeqty:
  10941. description: 平仓数量(先建后平操作 需要记录)
  10942. type: integer
  10943. closetradeqty:
  10944. description: 平仓成交数量(先建后平操作,需要记录)
  10945. type: integer
  10946. closeunfreezecharge:
  10947. description: 平仓解冻手续费(先建后平操作,需要记录)
  10948. type: number
  10949. delistingtype:
  10950. description: 摘牌类型 - 1:价格最优 2:点选成交
  10951. type: integer
  10952. enableqty:
  10953. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  10954. type: integer
  10955. freezecharge:
  10956. description: 冻结手续费
  10957. type: number
  10958. freezemargin:
  10959. description: 冻结保证金(冻结交易金额)
  10960. type: number
  10961. goodscode:
  10962. description: 商品代码
  10963. type: string
  10964. goodsid:
  10965. description: 商品ID
  10966. type: integer
  10967. goodsname:
  10968. description: 商品名称
  10969. type: string
  10970. listingselecttype:
  10971. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10972. type: integer
  10973. marketid:
  10974. description: 市场ID
  10975. type: integer
  10976. marketname:
  10977. description: 市场名称
  10978. type: string
  10979. openfreezecharge:
  10980. description: 开仓冻结手续费(先建后平操作,需要记录)
  10981. type: number
  10982. openqty:
  10983. description: 开仓数量(先建后平操作,需要记录)
  10984. type: integer
  10985. opentradeqty:
  10986. description: 开仓成交数量(先建后平操作,需要记录)
  10987. type: integer
  10988. openunfreezecharge:
  10989. description: 开仓解冻手续费(先建后平操作,需要记录)
  10990. type: number
  10991. operatetype:
  10992. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10993. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10994. 15:管理端协议转让
  10995. type: integer
  10996. operatorid:
  10997. description: 登录账号(LoginID)
  10998. type: integer
  10999. orderid:
  11000. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11001. type: string
  11002. orderprice:
  11003. description: 委托价格
  11004. type: number
  11005. orderqty:
  11006. description: 委托数量
  11007. type: integer
  11008. ordersrc:
  11009. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11010. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11011. type: integer
  11012. orderstatus:
  11013. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11014. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11015. 16:成交失败违约(荷兰式竞拍专用)
  11016. type: integer
  11017. ordertime:
  11018. description: 委托时间
  11019. type: string
  11020. preorderid:
  11021. description: 关联预埋单号(止盈止损单时填写)
  11022. type: string
  11023. pricemode:
  11024. description: '取价方式 - 1:市价 2: 限价'
  11025. type: integer
  11026. relatedid:
  11027. description: 关联单号(交割单)
  11028. type: string
  11029. tradedate:
  11030. description: 交易日(yyyyMMdd)
  11031. type: string
  11032. trademode:
  11033. description: 交易模式
  11034. type: integer
  11035. tradeqty:
  11036. description: 成交数量
  11037. type: integer
  11038. unfreezecharge:
  11039. description: 解冻手续费
  11040. type: number
  11041. unfreezemargin:
  11042. description: 解冻保证金
  11043. type: number
  11044. validtime:
  11045. description: 有效期限
  11046. type: string
  11047. validtype:
  11048. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11049. type: integer
  11050. volumetype:
  11051. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11052. type: integer
  11053. required:
  11054. - accountid
  11055. - buildtype
  11056. - buyorsell
  11057. - goodsid
  11058. - marketid
  11059. - operatetype
  11060. - orderqty
  11061. - ordertime
  11062. - pricemode
  11063. - tradedate
  11064. - validtype
  11065. type: object
  11066. order.QueryTradePositionRsp:
  11067. properties:
  11068. accountid:
  11069. description: 资金账户
  11070. type: integer
  11071. agreeunit:
  11072. description: 合约单位
  11073. type: number
  11074. averageprice:
  11075. description: 持仓均价
  11076. type: number
  11077. buyorsell:
  11078. description: 方向 - 0:买 1:卖
  11079. type: integer
  11080. closetotalqty:
  11081. description: 平仓总数量
  11082. type: integer
  11083. curholderamount:
  11084. description: 当前持仓总金额[商品币种]
  11085. type: number
  11086. curpositionqty:
  11087. description: 当前持仓总数量
  11088. type: integer
  11089. currencyid:
  11090. description: 报价货币ID
  11091. type: integer
  11092. curtdposition:
  11093. description: 期末今日头寸
  11094. type: integer
  11095. decimalplace:
  11096. description: 报价小数位
  11097. type: integer
  11098. enableqty:
  11099. description: 可用量
  11100. type: integer
  11101. fretdposition:
  11102. description: 冻结今日头寸
  11103. type: integer
  11104. frozenqty:
  11105. description: 持仓冻结数量
  11106. type: integer
  11107. goodscode:
  11108. description: 商品代码
  11109. type: string
  11110. goodsid:
  11111. description: 商品Id
  11112. type: integer
  11113. goodsname:
  11114. description: 商品名称
  11115. type: string
  11116. goodunit:
  11117. description: 报价单位
  11118. type: string
  11119. goodunitid:
  11120. description: 报价单位ID
  11121. type: integer
  11122. holderamount:
  11123. description: 期初持仓总金额[商品币种]
  11124. type: number
  11125. marketid:
  11126. description: 所属市场ID
  11127. type: integer
  11128. openreqqty:
  11129. description: 开仓申请数量(用于比较最大持仓数量)
  11130. type: integer
  11131. opentotalqty:
  11132. description: 开仓总数量
  11133. type: integer
  11134. otherfrozenqty:
  11135. description: 持仓其他冻结数量(交割冻结)
  11136. type: integer
  11137. positionqty:
  11138. description: 期初持仓数量
  11139. type: integer
  11140. tnqty:
  11141. description: T+N冻结总量
  11142. type: integer
  11143. tnusedqty:
  11144. description: T+N使用量(可以使用T+N的冻结数量)
  11145. type: integer
  11146. trademode:
  11147. description: 交易模式
  11148. type: integer
  11149. usedmargin:
  11150. description: 占用保证金[商品币种]
  11151. type: number
  11152. required:
  11153. - goodsid
  11154. type: object
  11155. quote.HistoryData:
  11156. properties:
  11157. c:
  11158. description: 收盘价
  11159. type: number
  11160. f:
  11161. description: 是否补充数据
  11162. type: boolean
  11163. h:
  11164. description: 最高价
  11165. type: number
  11166. hv:
  11167. description: 持仓量
  11168. type: integer
  11169. l:
  11170. description: 最低价
  11171. type: number
  11172. o:
  11173. description: 开盘价
  11174. type: number
  11175. s:
  11176. description: 结算价,日线周期(包括)以上才有
  11177. type: number
  11178. ts:
  11179. description: 时间
  11180. type: string
  11181. tt:
  11182. description: 总金额
  11183. type: number
  11184. tv:
  11185. description: 总量
  11186. type: integer
  11187. type: object
  11188. quote.HistoryTikData:
  11189. properties:
  11190. AV:
  11191. description: 卖量
  11192. type: integer
  11193. Ask:
  11194. description: 卖价
  11195. type: number
  11196. BV:
  11197. description: 买量
  11198. type: integer
  11199. Bid:
  11200. description: 买价
  11201. type: number
  11202. HI:
  11203. description: 单笔持仓
  11204. type: integer
  11205. HV:
  11206. description: 持仓量
  11207. type: integer
  11208. PE:
  11209. description: 现价
  11210. type: number
  11211. TDR:
  11212. description: 交易方向,0:买 1:卖
  11213. type: integer
  11214. TK:
  11215. description: 交易类型
  11216. type: integer
  11217. TS:
  11218. description: 行情时间文本
  11219. type: string
  11220. TT:
  11221. description: 现金额
  11222. type: number
  11223. Vol:
  11224. description: 现量
  11225. type: integer
  11226. type: object
  11227. quote.QueryQuoteDayRsp:
  11228. properties:
  11229. ask:
  11230. description: 卖1
  11231. type: number
  11232. ask2:
  11233. description: 卖2
  11234. type: number
  11235. ask3:
  11236. description: 卖3
  11237. type: number
  11238. ask4:
  11239. description: 卖4
  11240. type: number
  11241. ask5:
  11242. description: 卖5
  11243. type: number
  11244. ask6:
  11245. description: 卖6
  11246. type: number
  11247. ask7:
  11248. description: 卖7
  11249. type: number
  11250. ask8:
  11251. description: 卖8
  11252. type: number
  11253. ask9:
  11254. description: 卖9
  11255. type: number
  11256. ask10:
  11257. description: 卖10
  11258. type: number
  11259. askorderid:
  11260. description: 卖单号1
  11261. type: integer
  11262. askorderid2:
  11263. description: 卖单号2
  11264. type: integer
  11265. askorderid3:
  11266. description: 卖单号3
  11267. type: integer
  11268. askorderid4:
  11269. description: 卖单号4
  11270. type: integer
  11271. askorderid5:
  11272. description: 卖单号5
  11273. type: integer
  11274. askordervolume:
  11275. description: 卖单量1
  11276. type: integer
  11277. askordervolume2:
  11278. description: 卖单量2
  11279. type: integer
  11280. askordervolume3:
  11281. description: 卖单量3
  11282. type: integer
  11283. askordervolume4:
  11284. description: 卖单量4
  11285. type: integer
  11286. askordervolume5:
  11287. description: 卖单量5
  11288. type: integer
  11289. askordervolume6:
  11290. description: 卖单量6
  11291. type: integer
  11292. askordervolume7:
  11293. description: 卖单量7
  11294. type: integer
  11295. askordervolume8:
  11296. description: 卖单量8
  11297. type: integer
  11298. askordervolume9:
  11299. description: 卖单量9
  11300. type: integer
  11301. askordervolume10:
  11302. description: 卖单量10
  11303. type: integer
  11304. askqueueinfo:
  11305. description: 大利市卖港股用
  11306. type: string
  11307. askvolume:
  11308. description: 卖量1
  11309. type: integer
  11310. askvolume2:
  11311. description: 卖量2
  11312. type: integer
  11313. askvolume3:
  11314. description: 卖量3
  11315. type: integer
  11316. askvolume4:
  11317. description: 卖量4
  11318. type: integer
  11319. askvolume5:
  11320. description: 卖量5
  11321. type: integer
  11322. askvolume6:
  11323. description: 卖量6
  11324. type: integer
  11325. askvolume7:
  11326. description: 卖量7
  11327. type: integer
  11328. askvolume8:
  11329. description: 卖量8
  11330. type: integer
  11331. askvolume9:
  11332. description: 卖量9
  11333. type: integer
  11334. askvolume10:
  11335. description: 卖量10
  11336. type: integer
  11337. averageprice:
  11338. description: 均价
  11339. type: number
  11340. bid:
  11341. description: 买1
  11342. type: number
  11343. bid2:
  11344. description: 买2
  11345. type: number
  11346. bid3:
  11347. description: 买3
  11348. type: number
  11349. bid4:
  11350. description: 买4
  11351. type: number
  11352. bid5:
  11353. description: 买5
  11354. type: number
  11355. bid6:
  11356. description: 买6
  11357. type: number
  11358. bid7:
  11359. description: 买7
  11360. type: number
  11361. bid8:
  11362. description: 买8
  11363. type: number
  11364. bid9:
  11365. description: 买9
  11366. type: number
  11367. bid10:
  11368. description: 买10
  11369. type: number
  11370. bidorderid:
  11371. description: 买单号1
  11372. type: integer
  11373. bidorderid2:
  11374. description: 买单号2
  11375. type: integer
  11376. bidorderid3:
  11377. description: 买单号3
  11378. type: integer
  11379. bidorderid4:
  11380. description: 买单号4
  11381. type: integer
  11382. bidorderid5:
  11383. description: 买单号5
  11384. type: integer
  11385. bidordervolume:
  11386. description: 买单量1
  11387. type: integer
  11388. bidordervolume2:
  11389. description: 买单量2
  11390. type: integer
  11391. bidordervolume3:
  11392. description: 买单量3
  11393. type: integer
  11394. bidordervolume4:
  11395. description: 买单量4
  11396. type: integer
  11397. bidordervolume5:
  11398. description: 买单量5
  11399. type: integer
  11400. bidordervolume6:
  11401. description: 买单量6
  11402. type: integer
  11403. bidordervolume7:
  11404. description: 买单量7
  11405. type: integer
  11406. bidordervolume8:
  11407. description: 买单量8
  11408. type: integer
  11409. bidordervolume9:
  11410. description: 买单量9
  11411. type: integer
  11412. bidordervolume10:
  11413. description: 买单量10
  11414. type: integer
  11415. bidqueueinfo:
  11416. description: 大利市买港股用
  11417. type: string
  11418. bidvolume:
  11419. description: 买量1
  11420. type: integer
  11421. bidvolume2:
  11422. description: 买量2
  11423. type: integer
  11424. bidvolume3:
  11425. description: 买量3
  11426. type: integer
  11427. bidvolume4:
  11428. description: 买量4
  11429. type: integer
  11430. bidvolume5:
  11431. description: 买量5
  11432. type: integer
  11433. bidvolume6:
  11434. description: 买量6
  11435. type: integer
  11436. bidvolume7:
  11437. description: 买量7
  11438. type: integer
  11439. bidvolume8:
  11440. description: 买量8
  11441. type: integer
  11442. bidvolume9:
  11443. description: 买量9
  11444. type: integer
  11445. bidvolume10:
  11446. description: 买量10
  11447. type: integer
  11448. calloptionpremiums:
  11449. description: 认购期权1
  11450. type: integer
  11451. calloptionpremiums2:
  11452. description: 认购期权2
  11453. type: integer
  11454. calloptionpremiums3:
  11455. description: 认购期权3
  11456. type: integer
  11457. calloptionpremiums4:
  11458. description: 认购期权4
  11459. type: integer
  11460. calloptionpremiums5:
  11461. description: 认购期权5
  11462. type: integer
  11463. cleartime:
  11464. description: 清盘时间
  11465. type: integer
  11466. exchangecode:
  11467. description: 交易所代码
  11468. type: integer
  11469. exchangedate:
  11470. description: 交易日
  11471. type: integer
  11472. goodscode:
  11473. description: 商品代码
  11474. type: string
  11475. grepmarketprice:
  11476. description: 暗盘价 港股专用
  11477. type: number
  11478. highest:
  11479. description: 最高价
  11480. type: number
  11481. holdincrement:
  11482. description: 单笔持仓
  11483. type: integer
  11484. holdvolume:
  11485. description: 持仓
  11486. type: integer
  11487. iep:
  11488. description: 平衡价 港股专用
  11489. type: number
  11490. iev:
  11491. description: 平衡量 港股专用
  11492. type: number
  11493. inventory:
  11494. description: 库存
  11495. type: integer
  11496. iscleared:
  11497. description: 是否清盘标志
  11498. type: integer
  11499. issettled:
  11500. description: 是否结算标志
  11501. type: integer
  11502. last:
  11503. description: 最新价
  11504. type: number
  11505. lastlot:
  11506. description: 最新成交手数
  11507. type: integer
  11508. lasttime:
  11509. description: 行情时间(只有现价变化行情时间才变化)
  11510. type: string
  11511. lastturnover:
  11512. description: 最新成交金额
  11513. type: number
  11514. lastvolume:
  11515. description: 最新成交量
  11516. type: integer
  11517. limitdown:
  11518. description: 跌停价
  11519. type: number
  11520. limitup:
  11521. description: 涨停价
  11522. type: number
  11523. lowest:
  11524. description: 最低价
  11525. type: number
  11526. nontotalholdervolume:
  11527. description: 非交易持仓量
  11528. type: integer
  11529. nontotallot:
  11530. description: 非交易总手数
  11531. type: integer
  11532. nontotalturnover:
  11533. description: 非交易总金额
  11534. type: integer
  11535. nontotalvolume:
  11536. description: 非交易总量
  11537. type: integer
  11538. opened:
  11539. description: 开盘价
  11540. type: number
  11541. opentime:
  11542. description: 开盘时间
  11543. type: string
  11544. orderid:
  11545. description: 序号
  11546. type: integer
  11547. preclose:
  11548. description: 昨收
  11549. type: number
  11550. preholdvolume:
  11551. description: 昨持仓
  11552. type: integer
  11553. presettle:
  11554. description: 昨结价
  11555. type: number
  11556. publictradetype:
  11557. description: 公共交易标志类型 港股专用
  11558. type: string
  11559. putoptionpremiums:
  11560. description: 认沽期权1
  11561. type: integer
  11562. putoptionpremiums2:
  11563. description: 认沽期权2
  11564. type: integer
  11565. putoptionpremiums3:
  11566. description: 认沽期权3
  11567. type: integer
  11568. putoptionpremiums4:
  11569. description: 认沽期权4
  11570. type: integer
  11571. putoptionpremiums5:
  11572. description: 认沽期权5
  11573. type: integer
  11574. settle:
  11575. description: 结算价
  11576. type: number
  11577. strikeprice:
  11578. description: 发行价
  11579. type: number
  11580. totalaskvolume:
  11581. description: 内盘
  11582. type: integer
  11583. totalbidvolume:
  11584. description: 外盘
  11585. type: integer
  11586. totallot:
  11587. description: 总手数
  11588. type: integer
  11589. totalturnover:
  11590. description: 总金额
  11591. type: number
  11592. totalvolume:
  11593. description: 总量
  11594. type: integer
  11595. utclasttime:
  11596. description: utc的行情时间
  11597. type: string
  11598. type: object
  11599. quote.QueryTSDataRsp:
  11600. properties:
  11601. Count:
  11602. description: 交易日应有数据个数
  11603. type: integer
  11604. decimalPlace:
  11605. description: 小数位
  11606. type: integer
  11607. endTime:
  11608. description: 结束时间
  11609. type: string
  11610. goodsCode:
  11611. description: 商品代码
  11612. type: string
  11613. historyDatas:
  11614. description: 历史数据
  11615. items:
  11616. $ref: '#/definitions/quote.HistoryData'
  11617. type: array
  11618. outGoodsCode:
  11619. description: 外部商品代码
  11620. type: string
  11621. preSettle:
  11622. description: 昨结价
  11623. type: number
  11624. runSteps:
  11625. description: 交易日开休市计划
  11626. items:
  11627. $ref: '#/definitions/quote.TSDataRunStep'
  11628. type: array
  11629. startTime:
  11630. description: 开始时间
  11631. type: string
  11632. tradeDate:
  11633. description: 交易日
  11634. type: string
  11635. type: object
  11636. quote.TSDataRunStep:
  11637. properties:
  11638. end:
  11639. description: 真实结束时间
  11640. type: string
  11641. endflag:
  11642. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11643. type: integer
  11644. endtime:
  11645. description: 结束时间(HH:mm)
  11646. type: string
  11647. endweekday:
  11648. description: 结束周几
  11649. type: integer
  11650. groupid:
  11651. description: 分组ID
  11652. type: integer
  11653. runstep:
  11654. description: 运行阶段 - 2:连续交易
  11655. type: integer
  11656. sectionid:
  11657. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11658. 结束时间=结算时间 结束周几=结算周几
  11659. type: integer
  11660. start:
  11661. description: 真实开始时间
  11662. type: string
  11663. startflag:
  11664. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11665. type: integer
  11666. starttime:
  11667. description: 起始时间(HH:mm)
  11668. type: string
  11669. startweekday:
  11670. description: 起始周几
  11671. type: integer
  11672. tradeweekday:
  11673. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11674. type: integer
  11675. type: object
  11676. szdz.QueryConvertLogRsp:
  11677. properties:
  11678. accountid:
  11679. description: 资金账户ID
  11680. type: integer
  11681. clientticket:
  11682. description: 客户端流水号
  11683. type: string
  11684. converttype:
  11685. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11686. type: integer
  11687. createtime:
  11688. description: 记账时间
  11689. type: string
  11690. daymaxvalue:
  11691. description: 配置当日最大转入限制
  11692. type: number
  11693. daymaxvalue2:
  11694. description: 配置当日最大转入限制(转入)
  11695. type: number
  11696. goodscode:
  11697. description: 商品代码
  11698. type: string
  11699. goodsname:
  11700. description: 商品名称
  11701. type: string
  11702. handlestatus:
  11703. description: 处理状态
  11704. type: integer
  11705. innergoodsid:
  11706. description: 内部商品ID
  11707. type: integer
  11708. inratio:
  11709. description: 配置转入比值
  11710. type: integer
  11711. invalue:
  11712. description: 目标值
  11713. type: number
  11714. logid:
  11715. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11716. type: integer
  11717. mobile:
  11718. description: 手机号码(加密存储)
  11719. type: string
  11720. outergoodscode:
  11721. description: 外部商品代码[JD\PD]
  11722. type: string
  11723. outratio:
  11724. description: 配置转出比值
  11725. type: integer
  11726. outvalue:
  11727. description: 源值
  11728. type: number
  11729. pddecimalplace:
  11730. description: PD小数位
  11731. type: integer
  11732. qty:
  11733. description: 数量
  11734. type: string
  11735. remark:
  11736. description: 备注
  11737. type: string
  11738. sessionid:
  11739. description: 会话ID
  11740. type: integer
  11741. timemaxvalue:
  11742. description: 配置单次最大转入限制
  11743. type: number
  11744. timemaxvalue2:
  11745. description: 配置单次最大转入限制(转入)
  11746. type: number
  11747. timeminvalue:
  11748. description: 配置单次最小数量限制
  11749. type: number
  11750. timeminvalue2:
  11751. description: 配置单次最小数量限制(转入)
  11752. type: number
  11753. tradedate:
  11754. description: 交易日(yyyyMMdd)
  11755. type: string
  11756. userid:
  11757. description: 用户ID
  11758. type: integer
  11759. required:
  11760. - logid
  11761. type: object
  11762. szdz.QueryGoodsPickupRsp:
  11763. properties:
  11764. accountid:
  11765. description: 账户ID
  11766. type: integer
  11767. address:
  11768. description: 提货人详细地址
  11769. type: string
  11770. auditer:
  11771. description: 审核人
  11772. type: integer
  11773. audittime:
  11774. description: 审核时间
  11775. type: string
  11776. cardnum:
  11777. description: 提货人证件号码
  11778. type: string
  11779. cardtypeid:
  11780. description: 提货人证件类型
  11781. type: integer
  11782. checkremark:
  11783. description: 审核备注
  11784. type: string
  11785. goodscode:
  11786. description: 商品代码
  11787. type: string
  11788. goodsid:
  11789. description: 商品ID
  11790. type: integer
  11791. goodsname:
  11792. description: 商品名称
  11793. type: string
  11794. handlestatus:
  11795. description: 处理状态
  11796. type: integer
  11797. marketid:
  11798. description: 市场ID
  11799. type: integer
  11800. phonenum:
  11801. description: 提货人联系方式
  11802. type: string
  11803. qty:
  11804. description: 提货数量
  11805. type: number
  11806. recivername:
  11807. description: 提货人姓名
  11808. type: string
  11809. reqtime:
  11810. description: 更新时间
  11811. type: string
  11812. takemode:
  11813. description: 提货方式 - 2:自提 3:配送
  11814. type: integer
  11815. takeorderid:
  11816. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11817. type: string
  11818. takeorderstatus:
  11819. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11820. type: integer
  11821. takeremark:
  11822. description: 提货备注
  11823. type: string
  11824. tradedate:
  11825. description: 交易日(yyyyMMdd)
  11826. type: string
  11827. userid:
  11828. description: 用户ID
  11829. type: integer
  11830. required:
  11831. - takeorderid
  11832. type: object
  11833. szdz.QueryRecieptOrderRsp:
  11834. properties:
  11835. accountName:
  11836. description: 所属账号名称(已脱敏)
  11837. type: string
  11838. accountid:
  11839. description: 资金账号
  11840. type: integer
  11841. buyorsell:
  11842. description: 方向 - 0:买 1:卖
  11843. type: integer
  11844. enableqty:
  11845. description: 可摘数量
  11846. type: integer
  11847. goodscode:
  11848. description: 商品代码
  11849. type: string
  11850. goodsid:
  11851. description: 商品ID
  11852. type: integer
  11853. goodsname:
  11854. description: 商品名称
  11855. type: string
  11856. orderid:
  11857. description: 委托单号
  11858. type: string
  11859. orderprice:
  11860. description: 委托价格
  11861. type: number
  11862. ordertime:
  11863. description: 委托时间
  11864. type: string
  11865. tradedate:
  11866. description: 交易日(yyyyMMdd)
  11867. type: string
  11868. required:
  11869. - ordertime
  11870. type: object
  11871. szdz.QuerySZDZTradePositionRsp:
  11872. properties:
  11873. accountid:
  11874. description: 账号Id
  11875. type: integer
  11876. agreeunit:
  11877. description: 合约单位
  11878. type: number
  11879. averageprice:
  11880. description: 持仓均价
  11881. type: number
  11882. buyorsell:
  11883. description: 方向 - 0:买 1:卖
  11884. type: integer
  11885. closetotalqty:
  11886. description: 平仓总数量
  11887. type: integer
  11888. curholderamount:
  11889. description: 当前持仓总金额
  11890. type: number
  11891. curpositionqty:
  11892. description: 当前持仓总数量
  11893. type: integer
  11894. currencyid:
  11895. description: 报价货币ID
  11896. type: integer
  11897. curtdposition:
  11898. description: 期末今日头寸
  11899. type: integer
  11900. decimalplace:
  11901. description: 报价小数位
  11902. type: integer
  11903. enableqty:
  11904. description: 可用量
  11905. type: integer
  11906. fretdposition:
  11907. description: 冻结今日头寸
  11908. type: integer
  11909. frozenqty:
  11910. description: 持仓冻结数量
  11911. type: integer
  11912. goodscode:
  11913. description: 商品代码(内部)
  11914. type: string
  11915. goodsid:
  11916. description: 商品Id
  11917. type: integer
  11918. goodsname:
  11919. description: 商品名称
  11920. type: string
  11921. goodunit:
  11922. description: 报价单位
  11923. type: string
  11924. goodunitid:
  11925. description: 报价单位ID
  11926. type: integer
  11927. holderamount:
  11928. description: 期初持仓总金额
  11929. type: number
  11930. marketid:
  11931. description: 市场ID
  11932. type: integer
  11933. openreqqty:
  11934. description: 开仓申请数量
  11935. type: integer
  11936. opentotalqty:
  11937. description: 开仓总数量
  11938. type: integer
  11939. otherfrozenqty:
  11940. description: 持仓其他冻结数量(交割冻结)
  11941. type: integer
  11942. positionqty:
  11943. description: 期初持仓数量
  11944. type: integer
  11945. szdz3freezqty:
  11946. description: 尚志大宗转换冻结总数量
  11947. type: integer
  11948. tnqty:
  11949. description: T+N冻结总量
  11950. type: integer
  11951. tnusedqty:
  11952. description: T+N使用量
  11953. type: integer
  11954. trademode:
  11955. description: 交易模式
  11956. type: integer
  11957. usedmargin:
  11958. description: 占用保证金
  11959. type: number
  11960. type: object
  11961. taaccount.QueryAmountLogRsp:
  11962. properties:
  11963. OPERATETYPENAME:
  11964. description: 资金操作类型名称
  11965. type: string
  11966. accountid:
  11967. description: 资金账户ID
  11968. type: integer
  11969. agoodscode:
  11970. description: 竞拍商品代码
  11971. type: string
  11972. agoodsname:
  11973. description: 竞拍商品名称
  11974. type: string
  11975. amount:
  11976. description: 资金金额
  11977. type: number
  11978. amountadjusttype:
  11979. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11980. type: integer
  11981. autoid:
  11982. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11983. type: integer
  11984. balance:
  11985. description: 期初余额
  11986. type: number
  11987. businesscode:
  11988. description: 业务编号
  11989. type: integer
  11990. createtime:
  11991. description: 发生时间
  11992. type: string
  11993. currencyid:
  11994. description: 币种ID
  11995. type: integer
  11996. currentbalance:
  11997. description: 期末余额(变动后金额)
  11998. type: number
  11999. dgoodscode:
  12000. description: 交割商品代码
  12001. type: string
  12002. dgoodsname:
  12003. description: 交割商品名称
  12004. type: string
  12005. goodscode:
  12006. description: 商品代码
  12007. type: string
  12008. goodsid:
  12009. description: 商品ID
  12010. type: integer
  12011. goodsname:
  12012. description: 商品名称
  12013. type: string
  12014. marketid:
  12015. description: 市场ID
  12016. type: integer
  12017. marketname:
  12018. description: 市场名称
  12019. type: string
  12020. moneyticket:
  12021. description: 资金流水号:银行端流水号
  12022. type: integer
  12023. operatetype:
  12024. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12025. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12026. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12027. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12028. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12029. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12030. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12031. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12032. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12033. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12034. type: integer
  12035. relationorderid:
  12036. description: 关联单号
  12037. type: string
  12038. remark:
  12039. description: 备注
  12040. type: string
  12041. trademode:
  12042. description: 交易模式
  12043. type: integer
  12044. required:
  12045. - accountid
  12046. - amount
  12047. - amountadjusttype
  12048. - autoid
  12049. - balance
  12050. - createtime
  12051. - currentbalance
  12052. - operatetype
  12053. type: object
  12054. taaccount.QueryHisAmountLogRsp:
  12055. properties:
  12056. OPERATETYPENAME:
  12057. description: 资金操作类型名称
  12058. type: string
  12059. accountid:
  12060. description: 资金账户ID
  12061. type: integer
  12062. agoodscode:
  12063. description: 竞拍商品代码
  12064. type: string
  12065. agoodsname:
  12066. description: 竞拍商品名称
  12067. type: string
  12068. amount:
  12069. description: 资金金额
  12070. type: number
  12071. amountadjusttype:
  12072. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12073. type: integer
  12074. autoid:
  12075. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12076. type: integer
  12077. balance:
  12078. description: 期初余额
  12079. type: number
  12080. businesscode:
  12081. description: 业务编号
  12082. type: integer
  12083. createtime:
  12084. description: 发生时间
  12085. type: string
  12086. currencyid:
  12087. description: 币种ID
  12088. type: integer
  12089. currentbalance:
  12090. description: 期末余额(变动后金额)
  12091. type: number
  12092. dgoodscode:
  12093. description: 交割商品代码
  12094. type: string
  12095. dgoodsname:
  12096. description: 交割商品名称
  12097. type: string
  12098. goodscode:
  12099. description: 商品代码
  12100. type: string
  12101. goodsid:
  12102. description: 商品ID
  12103. type: integer
  12104. goodsname:
  12105. description: 商品名称
  12106. type: string
  12107. histradedate:
  12108. description: 历史交易日
  12109. type: string
  12110. isvaliddata:
  12111. description: 是否有效 - 0:无效 1:有效
  12112. type: integer
  12113. marketid:
  12114. description: 市场ID
  12115. type: integer
  12116. marketname:
  12117. description: 市场名称
  12118. type: string
  12119. moneyticket:
  12120. description: 资金流水号:银行端流水号
  12121. type: integer
  12122. operatetype:
  12123. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12124. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12125. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12126. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12127. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12128. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12129. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12130. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12131. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12132. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12133. type: integer
  12134. relationorderid:
  12135. description: 关联单号
  12136. type: string
  12137. remark:
  12138. description: 备注
  12139. type: string
  12140. trademode:
  12141. description: 交易模式
  12142. type: integer
  12143. required:
  12144. - accountid
  12145. - amount
  12146. - amountadjusttype
  12147. - autoid
  12148. - balance
  12149. - createtime
  12150. - currentbalance
  12151. - histradedate
  12152. - operatetype
  12153. type: object
  12154. trade.QueryRecieptOrderRsp:
  12155. properties:
  12156. accountName:
  12157. description: 所属账号名称(已脱敏)
  12158. type: string
  12159. accountid:
  12160. description: 资金账号
  12161. type: integer
  12162. buyorsell:
  12163. description: 方向 - 0:买 1:卖
  12164. type: integer
  12165. enableqty:
  12166. description: 可摘数量
  12167. type: integer
  12168. goodscode:
  12169. description: 商品代码
  12170. type: string
  12171. goodsid:
  12172. description: 商品ID
  12173. type: integer
  12174. goodsname:
  12175. description: 商品名称
  12176. type: string
  12177. orderid:
  12178. description: 委托单号
  12179. type: string
  12180. orderprice:
  12181. description: 委托价格
  12182. type: number
  12183. ordertime:
  12184. description: 委托时间
  12185. type: string
  12186. tradedate:
  12187. description: 交易日(yyyyMMdd)
  12188. type: string
  12189. required:
  12190. - ordertime
  12191. type: object
  12192. user.LoginQueryRsp:
  12193. properties:
  12194. externalExchanges:
  12195. description: 外部交易所
  12196. items:
  12197. $ref: '#/definitions/models.Externalexchange'
  12198. type: array
  12199. goodsgroups:
  12200. description: 商品组
  12201. items:
  12202. $ref: '#/definitions/models.Goodsgroup'
  12203. type: array
  12204. loginAccount:
  12205. $ref: '#/definitions/models.Loginaccount'
  12206. description: 登录账号
  12207. type: object
  12208. markets:
  12209. description: 市场
  12210. items:
  12211. $ref: '#/definitions/models.Market'
  12212. type: array
  12213. systemParams:
  12214. description: 系统参数
  12215. items:
  12216. $ref: '#/definitions/models.Systemparam'
  12217. type: array
  12218. userAccount:
  12219. $ref: '#/definitions/models.Useraccount'
  12220. description: 用户账号
  12221. type: object
  12222. userInfo:
  12223. $ref: '#/definitions/models.Userinfo'
  12224. description: 用户信息
  12225. type: object
  12226. username:
  12227. description: 用户姓名
  12228. type: string
  12229. type: object
  12230. info:
  12231. contact: {}
  12232. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  12233. license: {}
  12234. termsOfService: http://muchinfo.cn
  12235. title: MTP2.0 查询服务 API
  12236. version: "1.0"
  12237. paths:
  12238. /CPTrade/QueryCPTradeMyBidInfos:
  12239. get:
  12240. parameters:
  12241. - description: 资金账户
  12242. in: query
  12243. name: accountid
  12244. required: true
  12245. type: integer
  12246. - description: 预售市场ID
  12247. in: query
  12248. name: marketid
  12249. type: integer
  12250. - description: 预售商品ID
  12251. in: query
  12252. name: goodsid
  12253. type: integer
  12254. produces:
  12255. - application/json
  12256. responses:
  12257. "200":
  12258. description: OK
  12259. schema:
  12260. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  12261. "500":
  12262. description: Internal Server Error
  12263. schema:
  12264. $ref: '#/definitions/app.Response'
  12265. security:
  12266. - ApiKeyAuth: []
  12267. summary: 查询产能预售我的出价信息
  12268. tags:
  12269. - 产能预售
  12270. /CPTrade/QueryCPTradeOrderDetail:
  12271. get:
  12272. parameters:
  12273. - description: 预售商品ID
  12274. in: query
  12275. name: goodsid
  12276. type: integer
  12277. - description: 预售市场ID
  12278. in: query
  12279. name: marketid
  12280. type: integer
  12281. - description: 预售商品ID列表 - 格式:1,2,3
  12282. in: query
  12283. name: goodsids
  12284. type: string
  12285. produces:
  12286. - application/json
  12287. responses:
  12288. "200":
  12289. description: OK
  12290. schema:
  12291. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  12292. "500":
  12293. description: Internal Server Error
  12294. schema:
  12295. $ref: '#/definitions/app.Response'
  12296. security:
  12297. - ApiKeyAuth: []
  12298. summary: 查询产能预售委托单信息
  12299. tags:
  12300. - 产能预售
  12301. /CPTrade/QueryMyCPTradeGoods:
  12302. get:
  12303. parameters:
  12304. - description: 资金账户
  12305. in: query
  12306. name: accountid
  12307. required: true
  12308. type: integer
  12309. produces:
  12310. - application/json
  12311. responses:
  12312. "200":
  12313. description: OK
  12314. schema:
  12315. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  12316. "500":
  12317. description: Internal Server Error
  12318. schema:
  12319. $ref: '#/definitions/app.Response'
  12320. security:
  12321. - ApiKeyAuth: []
  12322. summary: 查询我的预售信息
  12323. tags:
  12324. - 产能预售
  12325. /CPTrade/QueryPositionCancel:
  12326. get:
  12327. parameters:
  12328. - description: 账户ID
  12329. in: query
  12330. name: userid
  12331. required: true
  12332. type: integer
  12333. - description: 注销ID
  12334. in: query
  12335. name: cancelid
  12336. type: integer
  12337. - description: 资金账户ID
  12338. in: query
  12339. name: accountid
  12340. type: integer
  12341. produces:
  12342. - application/json
  12343. responses:
  12344. "200":
  12345. description: OK
  12346. schema:
  12347. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  12348. "500":
  12349. description: Internal Server Error
  12350. schema:
  12351. $ref: '#/definitions/app.Response'
  12352. security:
  12353. - ApiKeyAuth: []
  12354. summary: 查询远期订单注销申请信息
  12355. tags:
  12356. - 产能预售
  12357. /CPTrade/QueryPreasleApply:
  12358. get:
  12359. parameters:
  12360. - description: 账户ID
  12361. in: query
  12362. name: userid
  12363. required: true
  12364. type: integer
  12365. - description: 申请ID
  12366. in: query
  12367. name: applyid
  12368. type: integer
  12369. - description: 资金账户ID
  12370. in: query
  12371. name: accountid
  12372. type: integer
  12373. produces:
  12374. - application/json
  12375. responses:
  12376. "200":
  12377. description: OK
  12378. schema:
  12379. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  12380. "500":
  12381. description: Internal Server Error
  12382. schema:
  12383. $ref: '#/definitions/app.Response'
  12384. security:
  12385. - ApiKeyAuth: []
  12386. summary: 查询产能预售申请信息
  12387. tags:
  12388. - 产能预售
  12389. /CPTrade/QueryPresaleGoodsEx:
  12390. get:
  12391. parameters:
  12392. - description: 预售商品ID
  12393. in: query
  12394. name: goodsid
  12395. type: integer
  12396. - description: 预售市场ID
  12397. in: query
  12398. name: marketid
  12399. type: integer
  12400. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  12401. in: query
  12402. name: presalemode
  12403. type: integer
  12404. - description: 预售商品ID列表 - 格式:1,2,3
  12405. in: query
  12406. name: goodsids
  12407. type: string
  12408. - description: 预售商品代码
  12409. in: query
  12410. name: goodscode
  12411. type: string
  12412. produces:
  12413. - application/json
  12414. responses:
  12415. "200":
  12416. description: OK
  12417. schema:
  12418. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  12419. "500":
  12420. description: Internal Server Error
  12421. schema:
  12422. $ref: '#/definitions/app.Response'
  12423. security:
  12424. - ApiKeyAuth: []
  12425. summary: 查询产能预售商品扩展信息
  12426. tags:
  12427. - 产能预售
  12428. /CPTrade/QueryUserGoodsData:
  12429. get:
  12430. parameters:
  12431. - description: 资金账户ID
  12432. in: query
  12433. name: accountid
  12434. required: true
  12435. type: integer
  12436. produces:
  12437. - application/json
  12438. responses:
  12439. "200":
  12440. description: OK
  12441. schema:
  12442. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  12443. "500":
  12444. description: Internal Server Error
  12445. schema:
  12446. $ref: '#/definitions/app.Response'
  12447. security:
  12448. - ApiKeyAuth: []
  12449. summary: 查询远期订单信息
  12450. tags:
  12451. - 产能预售
  12452. /Common/GetAllEnums:
  12453. get:
  12454. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  12455. parameters:
  12456. - description: 起始自增ID
  12457. in: query
  12458. name: autoid
  12459. type: integer
  12460. produces:
  12461. - application/json
  12462. responses:
  12463. "200":
  12464. description: OK
  12465. schema:
  12466. $ref: '#/definitions/models.Enumdicitem'
  12467. "500":
  12468. description: Internal Server Error
  12469. schema:
  12470. $ref: '#/definitions/app.Response'
  12471. summary: 获取所有枚举信息
  12472. tags:
  12473. - 通用服务
  12474. /Common/GetClientMenus:
  12475. get:
  12476. parameters:
  12477. - description: 登录账号
  12478. in: query
  12479. name: loginID
  12480. required: true
  12481. type: integer
  12482. - description: 终端类型,0:PC 1:Mobile
  12483. in: query
  12484. name: clientType
  12485. type: integer
  12486. produces:
  12487. - application/json
  12488. responses:
  12489. "200":
  12490. description: OK
  12491. schema:
  12492. items:
  12493. $ref: '#/definitions/common.ClientMenu'
  12494. type: array
  12495. "500":
  12496. description: Internal Server Error
  12497. schema:
  12498. $ref: '#/definitions/app.Response'
  12499. security:
  12500. - ApiKeyAuth: []
  12501. summary: 获取交易端菜单
  12502. tags:
  12503. - 通用服务
  12504. /Common/GetDivisions:
  12505. get:
  12506. produces:
  12507. - application/json
  12508. responses:
  12509. "200":
  12510. description: OK
  12511. schema:
  12512. $ref: '#/definitions/models.Division'
  12513. "500":
  12514. description: Internal Server Error
  12515. schema:
  12516. $ref: '#/definitions/app.Response'
  12517. summary: 查询区域信息
  12518. tags:
  12519. - 通用服务
  12520. /Common/GetServerTime:
  12521. get:
  12522. produces:
  12523. - application/json
  12524. responses:
  12525. "200":
  12526. description: OK
  12527. schema:
  12528. $ref: '#/definitions/app.Response'
  12529. "500":
  12530. description: Internal Server Error
  12531. schema:
  12532. $ref: '#/definitions/app.Response'
  12533. summary: 获取服务器时间
  12534. tags:
  12535. - 通用服务
  12536. /Common/NoticeReaded:
  12537. post:
  12538. parameters:
  12539. - description: 登录账号
  12540. in: query
  12541. name: loginID
  12542. required: true
  12543. type: integer
  12544. - description: 通知公告ID
  12545. in: query
  12546. name: noticeID
  12547. required: true
  12548. type: integer
  12549. produces:
  12550. - application/json
  12551. responses:
  12552. "200":
  12553. description: OK
  12554. schema:
  12555. $ref: '#/definitions/app.Response'
  12556. "500":
  12557. description: Internal Server Error
  12558. schema:
  12559. $ref: '#/definitions/app.Response'
  12560. security:
  12561. - ApiKeyAuth: []
  12562. summary: 通知公告设置已读请求
  12563. tags:
  12564. - 通用服务
  12565. /Common/QueryErrorInfos:
  12566. get:
  12567. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12568. parameters:
  12569. - description: 起始行号前索引
  12570. in: query
  12571. name: rowNumber
  12572. type: string
  12573. produces:
  12574. - application/json
  12575. responses:
  12576. "200":
  12577. description: OK
  12578. schema:
  12579. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12580. "500":
  12581. description: Internal Server Error
  12582. schema:
  12583. $ref: '#/definitions/app.Response'
  12584. summary: 获取数据库错误信息
  12585. tags:
  12586. - 通用服务
  12587. /Common/QueryImageConfigs:
  12588. get:
  12589. parameters:
  12590. - description: 类型 - 1:App首页轮播 2:我的
  12591. in: query
  12592. name: imageType
  12593. type: integer
  12594. produces:
  12595. - application/json
  12596. responses:
  12597. "200":
  12598. description: OK
  12599. schema:
  12600. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12601. "500":
  12602. description: Internal Server Error
  12603. schema:
  12604. $ref: '#/definitions/app.Response'
  12605. summary: 查询轮播图配置信息
  12606. tags:
  12607. - 通用服务
  12608. /Common/QueryNotice:
  12609. get:
  12610. parameters:
  12611. - description: 页码
  12612. in: query
  12613. name: page
  12614. type: integer
  12615. - description: 每页条数
  12616. in: query
  12617. name: pagesize
  12618. type: integer
  12619. - description: 登录账号
  12620. in: query
  12621. name: loginID
  12622. required: true
  12623. type: integer
  12624. - description: 消息类型 - 1:公告通知 2:系统消息
  12625. in: query
  12626. name: msgType
  12627. type: integer
  12628. - description: 是否只获取未读信息
  12629. in: query
  12630. name: onlyUnRead
  12631. type: boolean
  12632. - description: 自增ID,传入后会返回这个ID后面的记录
  12633. in: query
  12634. name: lastID
  12635. type: integer
  12636. produces:
  12637. - application/json
  12638. responses:
  12639. "200":
  12640. description: OK
  12641. schema:
  12642. $ref: '#/definitions/common.QueryNoticeRsp'
  12643. "500":
  12644. description: Internal Server Error
  12645. schema:
  12646. $ref: '#/definitions/app.Response'
  12647. security:
  12648. - ApiKeyAuth: []
  12649. summary: 通知公告系统消息查询
  12650. tags:
  12651. - 通用服务
  12652. /Common/QueryProvincesAndCities:
  12653. get:
  12654. parameters:
  12655. - description: 省ID
  12656. in: query
  12657. name: provinceID
  12658. type: integer
  12659. produces:
  12660. - application/json
  12661. responses:
  12662. "200":
  12663. description: OK
  12664. schema:
  12665. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12666. "500":
  12667. description: Internal Server Error
  12668. schema:
  12669. $ref: '#/definitions/app.Response'
  12670. summary: 查询省市信息(不包括区)
  12671. tags:
  12672. - 通用服务
  12673. /Common/QueryTableDefine:
  12674. get:
  12675. parameters:
  12676. - description: 表key
  12677. in: query
  12678. name: tableKey
  12679. type: string
  12680. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12681. in: query
  12682. name: tableType
  12683. type: integer
  12684. produces:
  12685. - application/json
  12686. responses:
  12687. "200":
  12688. description: OK
  12689. schema:
  12690. $ref: '#/definitions/common.QueryTableDefineRsp'
  12691. "500":
  12692. description: Internal Server Error
  12693. schema:
  12694. $ref: '#/definitions/app.Response'
  12695. summary: 查询交易端列表头信息
  12696. tags:
  12697. - 通用服务
  12698. /Common/QueryTraderMenu:
  12699. get:
  12700. parameters:
  12701. - description: 登录账号
  12702. in: query
  12703. name: loginid
  12704. required: true
  12705. type: integer
  12706. produces:
  12707. - application/json
  12708. responses:
  12709. "200":
  12710. description: OK
  12711. schema:
  12712. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12713. "500":
  12714. description: Internal Server Error
  12715. schema:
  12716. $ref: '#/definitions/app.Response'
  12717. summary: 查询交易端菜单
  12718. tags:
  12719. - 通用服务
  12720. /Delivery/QueryDeliveryRelation:
  12721. get:
  12722. parameters:
  12723. - description: 商品ID
  12724. in: query
  12725. name: goodsid
  12726. type: integer
  12727. - description: 品种ID
  12728. in: query
  12729. name: deliverygoodsid
  12730. type: integer
  12731. - description: 市场ID
  12732. in: query
  12733. name: marketid
  12734. type: integer
  12735. produces:
  12736. - application/json
  12737. responses:
  12738. "200":
  12739. description: OK
  12740. schema:
  12741. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12742. "500":
  12743. description: Internal Server Error
  12744. schema:
  12745. $ref: '#/definitions/app.Response'
  12746. security:
  12747. - ApiKeyAuth: []
  12748. summary: 查询商品交割关系表
  12749. tags:
  12750. - 交割服务
  12751. /Ermcp/GetErmcpGoods:
  12752. get:
  12753. parameters:
  12754. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12755. in: query
  12756. name: lastUpdateTime
  12757. type: string
  12758. produces:
  12759. - application/json
  12760. responses:
  12761. "200":
  12762. description: OK
  12763. schema:
  12764. $ref: '#/definitions/models.Goods'
  12765. "500":
  12766. description: Internal Server Error
  12767. schema:
  12768. $ref: '#/definitions/app.Response'
  12769. security:
  12770. - ApiKeyAuth: []
  12771. summary: 查询企业风管期货商品信息
  12772. tags:
  12773. - 企业风险管理(app)
  12774. /Ermcp/GetErmcpGoodsSortByPosition:
  12775. get:
  12776. parameters:
  12777. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12778. in: query
  12779. name: sortIndex
  12780. type: string
  12781. produces:
  12782. - application/json
  12783. responses:
  12784. "200":
  12785. description: OK
  12786. schema:
  12787. $ref: '#/definitions/models.Goodssortbypreposition'
  12788. "500":
  12789. description: Internal Server Error
  12790. schema:
  12791. $ref: '#/definitions/app.Response'
  12792. security:
  12793. - ApiKeyAuth: []
  12794. summary: 查询企业风管期货主力、次主力商品信息
  12795. tags:
  12796. - 企业风险管理(app)
  12797. /Ermcp/GetErmcpOutAccountStatus:
  12798. get:
  12799. parameters:
  12800. - description: 登录账号
  12801. in: query
  12802. name: loginID
  12803. required: true
  12804. type: integer
  12805. produces:
  12806. - application/json
  12807. responses:
  12808. "200":
  12809. description: OK
  12810. schema:
  12811. $ref: '#/definitions/models.Hedgemarketopenlog'
  12812. "500":
  12813. description: Internal Server Error
  12814. schema:
  12815. $ref: '#/definitions/app.Response'
  12816. security:
  12817. - ApiKeyAuth: []
  12818. summary: 获取目标登录账号当前对冲账号在线状态
  12819. tags:
  12820. - 企业风险管理(app)
  12821. /Ermcp/GetErmcpRoleFuncMenuLists:
  12822. get:
  12823. parameters:
  12824. - description: 登录账号
  12825. in: query
  12826. name: loginID
  12827. required: true
  12828. type: integer
  12829. produces:
  12830. - application/json
  12831. responses:
  12832. "200":
  12833. description: OK
  12834. schema:
  12835. $ref: '#/definitions/models.Funcmenulist'
  12836. "500":
  12837. description: Internal Server Error
  12838. schema:
  12839. $ref: '#/definitions/app.Response'
  12840. security:
  12841. - ApiKeyAuth: []
  12842. summary: 获取企业风管终端权限
  12843. tags:
  12844. - 企业风险管理(app)
  12845. /Ermcp/QryReportAreaSpotPL:
  12846. get:
  12847. parameters:
  12848. - description: 用户ID
  12849. in: query
  12850. name: userid
  12851. required: true
  12852. type: integer
  12853. - description: 查询类型 1-日报表 2-月报表
  12854. in: query
  12855. name: querytype
  12856. required: true
  12857. type: integer
  12858. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12859. in: query
  12860. name: querydate
  12861. required: true
  12862. type: string
  12863. - description: 现货商品ID
  12864. in: query
  12865. name: wrstandardid
  12866. type: integer
  12867. - description: 品牌ID
  12868. in: query
  12869. name: spotgoodsbrandid
  12870. type: integer
  12871. - description: 型号ID
  12872. in: query
  12873. name: spotgoodsmodelid
  12874. type: integer
  12875. produces:
  12876. - application/json
  12877. responses:
  12878. "200":
  12879. description: OK
  12880. schema:
  12881. items:
  12882. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  12883. type: array
  12884. "500":
  12885. description: Internal Server Error
  12886. schema:
  12887. $ref: '#/definitions/app.Response'
  12888. security:
  12889. - ApiKeyAuth: []
  12890. summary: 查询现货损益报表(现货损益报表)
  12891. tags:
  12892. - 企业风险管理(app)
  12893. /Ermcp/QryReportDayExposure:
  12894. get:
  12895. parameters:
  12896. - description: 用户ID
  12897. in: query
  12898. name: userid
  12899. required: true
  12900. type: integer
  12901. - description: 交易日(格式:yyyyMMdd)
  12902. in: query
  12903. name: tradedate
  12904. required: true
  12905. type: string
  12906. produces:
  12907. - application/json
  12908. responses:
  12909. "200":
  12910. description: OK
  12911. schema:
  12912. items:
  12913. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  12914. type: array
  12915. "500":
  12916. description: Internal Server Error
  12917. schema:
  12918. $ref: '#/definitions/app.Response'
  12919. security:
  12920. - ApiKeyAuth: []
  12921. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  12922. tags:
  12923. - 企业风险管理(app)
  12924. /Ermcp/QryReportDayFinance:
  12925. get:
  12926. parameters:
  12927. - description: 用户ID
  12928. in: query
  12929. name: userid
  12930. required: true
  12931. type: integer
  12932. - description: 交易日(格式:yyyyMMdd)
  12933. in: query
  12934. name: tradedate
  12935. required: true
  12936. type: string
  12937. produces:
  12938. - application/json
  12939. responses:
  12940. "200":
  12941. description: OK
  12942. schema:
  12943. items:
  12944. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  12945. type: array
  12946. "500":
  12947. description: Internal Server Error
  12948. schema:
  12949. $ref: '#/definitions/app.Response'
  12950. security:
  12951. - ApiKeyAuth: []
  12952. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  12953. tags:
  12954. - 企业风险管理(app)
  12955. /Ermcp/QryReportDayFinanceFp:
  12956. get:
  12957. parameters:
  12958. - description: 用户ID
  12959. in: query
  12960. name: userid
  12961. required: true
  12962. type: integer
  12963. - description: 交易日(格式:yyyyMMdd)
  12964. in: query
  12965. name: tradedate
  12966. required: true
  12967. type: string
  12968. produces:
  12969. - application/json
  12970. responses:
  12971. "200":
  12972. description: OK
  12973. schema:
  12974. items:
  12975. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  12976. type: array
  12977. "500":
  12978. description: Internal Server Error
  12979. schema:
  12980. $ref: '#/definitions/app.Response'
  12981. security:
  12982. - ApiKeyAuth: []
  12983. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  12984. tags:
  12985. - 企业风险管理(app)
  12986. /Ermcp/QryReportDayFinanceKx:
  12987. get:
  12988. parameters:
  12989. - description: 用户ID
  12990. in: query
  12991. name: userid
  12992. required: true
  12993. type: integer
  12994. - description: 交易日(格式:yyyyMMdd)
  12995. in: query
  12996. name: tradedate
  12997. required: true
  12998. type: string
  12999. produces:
  13000. - application/json
  13001. responses:
  13002. "200":
  13003. description: OK
  13004. schema:
  13005. items:
  13006. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  13007. type: array
  13008. "500":
  13009. description: Internal Server Error
  13010. schema:
  13011. $ref: '#/definitions/app.Response'
  13012. security:
  13013. - ApiKeyAuth: []
  13014. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  13015. tags:
  13016. - 企业风险管理(app)
  13017. /Ermcp/QryReportDaySpot:
  13018. get:
  13019. parameters:
  13020. - description: 用户ID
  13021. in: query
  13022. name: userid
  13023. required: true
  13024. type: integer
  13025. - description: 交易日(格式:yyyyMMdd)
  13026. in: query
  13027. name: tradedate
  13028. required: true
  13029. type: string
  13030. produces:
  13031. - application/json
  13032. responses:
  13033. "200":
  13034. description: OK
  13035. schema:
  13036. items:
  13037. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  13038. type: array
  13039. "500":
  13040. description: Internal Server Error
  13041. schema:
  13042. $ref: '#/definitions/app.Response'
  13043. security:
  13044. - ApiKeyAuth: []
  13045. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  13046. tags:
  13047. - 企业风险管理(app)
  13048. /Ermcp/QryReportDaySpotDetail:
  13049. get:
  13050. parameters:
  13051. - description: 用户ID
  13052. in: query
  13053. name: userid
  13054. required: true
  13055. type: integer
  13056. - description: 现货商品id
  13057. in: query
  13058. name: wrstandardid
  13059. required: true
  13060. type: integer
  13061. - description: 交易日(格式:yyyyMMdd)
  13062. in: query
  13063. name: tradedate
  13064. required: true
  13065. type: string
  13066. produces:
  13067. - application/json
  13068. responses:
  13069. "200":
  13070. description: OK
  13071. schema:
  13072. items:
  13073. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  13074. type: array
  13075. "500":
  13076. description: Internal Server Error
  13077. schema:
  13078. $ref: '#/definitions/app.Response'
  13079. security:
  13080. - ApiKeyAuth: []
  13081. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  13082. tags:
  13083. - 企业风险管理(app)
  13084. /Ermcp/QryReportMonthFinance:
  13085. get:
  13086. parameters:
  13087. - description: 用户ID
  13088. in: query
  13089. name: userid
  13090. required: true
  13091. type: integer
  13092. - description: 周期时间:月(格式:yyyyMM)
  13093. in: query
  13094. name: cycletime
  13095. required: true
  13096. type: string
  13097. produces:
  13098. - application/json
  13099. responses:
  13100. "200":
  13101. description: OK
  13102. schema:
  13103. items:
  13104. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  13105. type: array
  13106. "500":
  13107. description: Internal Server Error
  13108. schema:
  13109. $ref: '#/definitions/app.Response'
  13110. security:
  13111. - ApiKeyAuth: []
  13112. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  13113. tags:
  13114. - 企业风险管理(app)
  13115. /Ermcp/QryReportMonthSpot:
  13116. get:
  13117. parameters:
  13118. - description: 用户ID
  13119. in: query
  13120. name: userid
  13121. required: true
  13122. type: integer
  13123. - description: 周期时间:月(格式:yyyyMM)
  13124. in: query
  13125. name: cycletime
  13126. required: true
  13127. type: string
  13128. produces:
  13129. - application/json
  13130. responses:
  13131. "200":
  13132. description: OK
  13133. schema:
  13134. items:
  13135. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  13136. type: array
  13137. "500":
  13138. description: Internal Server Error
  13139. schema:
  13140. $ref: '#/definitions/app.Response'
  13141. security:
  13142. - ApiKeyAuth: []
  13143. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  13144. tags:
  13145. - 企业风险管理(app)
  13146. /Ermcp/QryReportMonthSpotDetail:
  13147. get:
  13148. parameters:
  13149. - description: 用户ID
  13150. in: query
  13151. name: userid
  13152. required: true
  13153. type: integer
  13154. - description: 现货商品id
  13155. in: query
  13156. name: wrstandardid
  13157. required: true
  13158. type: integer
  13159. - description: 周期时间:月(格式:yyyyMM)
  13160. in: query
  13161. name: cycletime
  13162. required: true
  13163. type: string
  13164. produces:
  13165. - application/json
  13166. responses:
  13167. "200":
  13168. description: OK
  13169. schema:
  13170. items:
  13171. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  13172. type: array
  13173. "500":
  13174. description: Internal Server Error
  13175. schema:
  13176. $ref: '#/definitions/app.Response'
  13177. security:
  13178. - ApiKeyAuth: []
  13179. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  13180. tags:
  13181. - 企业风险管理(app)
  13182. /Ermcp/QueryAccMgrBizGroupSet:
  13183. get:
  13184. parameters:
  13185. - description: 用户ID
  13186. in: query
  13187. name: userid
  13188. required: true
  13189. type: integer
  13190. produces:
  13191. - application/json
  13192. responses:
  13193. "200":
  13194. description: OK
  13195. schema:
  13196. items:
  13197. $ref: '#/definitions/models.ErmcpBizGroupEx'
  13198. type: array
  13199. "500":
  13200. description: Internal Server Error
  13201. schema:
  13202. $ref: '#/definitions/app.Response'
  13203. security:
  13204. - ApiKeyAuth: []
  13205. summary: 查询业务类型分组(账户管理/账户设置)
  13206. tags:
  13207. - 企业风险管理(app)
  13208. /Ermcp/QueryAccMgrLoginUser:
  13209. get:
  13210. parameters:
  13211. - description: 用户ID
  13212. in: query
  13213. name: userid
  13214. required: true
  13215. type: integer
  13216. produces:
  13217. - application/json
  13218. responses:
  13219. "200":
  13220. description: OK
  13221. schema:
  13222. items:
  13223. $ref: '#/definitions/models.ErmcpLoginUserEx'
  13224. type: array
  13225. "500":
  13226. description: Internal Server Error
  13227. schema:
  13228. $ref: '#/definitions/app.Response'
  13229. security:
  13230. - ApiKeyAuth: []
  13231. summary: 查询账户管理登录账号(账户管理/登录账号)
  13232. tags:
  13233. - 企业风险管理(app)
  13234. /Ermcp/QueryAccMgrMainAccountInfo:
  13235. get:
  13236. parameters:
  13237. - description: 用户ID
  13238. in: query
  13239. name: userid
  13240. type: integer
  13241. - description: 主账号id
  13242. in: query
  13243. name: accountid
  13244. type: integer
  13245. produces:
  13246. - application/json
  13247. responses:
  13248. "200":
  13249. description: OK
  13250. schema:
  13251. items:
  13252. $ref: '#/definitions/models.MainAccountInfo'
  13253. type: array
  13254. "500":
  13255. description: Internal Server Error
  13256. schema:
  13257. $ref: '#/definitions/app.Response'
  13258. security:
  13259. - ApiKeyAuth: []
  13260. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  13261. tags:
  13262. - 企业风险管理(app)
  13263. /Ermcp/QueryAccMgrRole:
  13264. get:
  13265. parameters:
  13266. - description: 用户ID
  13267. in: query
  13268. name: userid
  13269. required: true
  13270. type: integer
  13271. produces:
  13272. - application/json
  13273. responses:
  13274. "200":
  13275. description: OK
  13276. schema:
  13277. items:
  13278. $ref: '#/definitions/models.ErmcpRole'
  13279. type: array
  13280. "500":
  13281. description: Internal Server Error
  13282. schema:
  13283. $ref: '#/definitions/app.Response'
  13284. security:
  13285. - ApiKeyAuth: []
  13286. summary: 查询账户管理角色设置(账户管理/角色设置)
  13287. tags:
  13288. - 企业风险管理(app)
  13289. /Ermcp/QueryAccMgrRoleMenu:
  13290. get:
  13291. parameters:
  13292. - description: 用户ID
  13293. in: query
  13294. name: userid
  13295. required: true
  13296. type: integer
  13297. - description: 角色id(可多个,逗号隔开)
  13298. in: query
  13299. name: roleid
  13300. type: string
  13301. produces:
  13302. - application/json
  13303. responses:
  13304. "200":
  13305. description: OK
  13306. schema:
  13307. items:
  13308. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  13309. type: array
  13310. "500":
  13311. description: Internal Server Error
  13312. schema:
  13313. $ref: '#/definitions/app.Response'
  13314. security:
  13315. - ApiKeyAuth: []
  13316. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  13317. tags:
  13318. - 企业风险管理(app)
  13319. /Ermcp/QueryAccMgrTaAccountInfo:
  13320. get:
  13321. parameters:
  13322. - description: 用户ID
  13323. in: query
  13324. name: userid
  13325. required: true
  13326. type: integer
  13327. - description: 账号id
  13328. in: query
  13329. name: accountid
  13330. type: integer
  13331. produces:
  13332. - application/json
  13333. responses:
  13334. "200":
  13335. description: OK
  13336. schema:
  13337. items:
  13338. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  13339. type: array
  13340. "500":
  13341. description: Internal Server Error
  13342. schema:
  13343. $ref: '#/definitions/app.Response'
  13344. security:
  13345. - ApiKeyAuth: []
  13346. summary: 查询账户管理授信(账户管理/账户设置/授信)
  13347. tags:
  13348. - 企业风险管理(app)
  13349. /Ermcp/QueryAccMgrTaaccount:
  13350. get:
  13351. parameters:
  13352. - description: 用户ID
  13353. in: query
  13354. name: userid
  13355. required: true
  13356. type: integer
  13357. produces:
  13358. - application/json
  13359. responses:
  13360. "200":
  13361. description: OK
  13362. schema:
  13363. items:
  13364. $ref: '#/definitions/models.ErmcpTaAccountEx'
  13365. type: array
  13366. "500":
  13367. description: Internal Server Error
  13368. schema:
  13369. $ref: '#/definitions/app.Response'
  13370. security:
  13371. - ApiKeyAuth: []
  13372. summary: 查询账户管理期货账号(账户管理/期货账号)
  13373. tags:
  13374. - 企业风险管理(app)
  13375. /Ermcp/QueryAreaStock:
  13376. get:
  13377. parameters:
  13378. - description: 用户ID
  13379. in: query
  13380. name: userid
  13381. required: true
  13382. type: integer
  13383. produces:
  13384. - application/json
  13385. responses:
  13386. "200":
  13387. description: OK
  13388. schema:
  13389. items:
  13390. $ref: '#/definitions/models.ErmcpAreaStock'
  13391. type: array
  13392. "500":
  13393. description: Internal Server Error
  13394. schema:
  13395. $ref: '#/definitions/app.Response'
  13396. security:
  13397. - ApiKeyAuth: []
  13398. summary: 查询机构库存(库存管理/当前库存)
  13399. tags:
  13400. - 企业风险管理(app)
  13401. /Ermcp/QueryAreaStockApply:
  13402. get:
  13403. parameters:
  13404. - description: 用户ID
  13405. in: query
  13406. name: userid
  13407. required: true
  13408. type: integer
  13409. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  13410. in: query
  13411. name: inouttype
  13412. type: string
  13413. - description: 合同ID
  13414. in: query
  13415. name: spotcontractid
  13416. type: integer
  13417. - description: 现货商品ID
  13418. in: query
  13419. name: wrstandardid
  13420. type: integer
  13421. - description: 品牌ID
  13422. in: query
  13423. name: spotgoodsbrandid
  13424. type: integer
  13425. - description: 型号ID
  13426. in: query
  13427. name: spotgoodsmodelid
  13428. type: integer
  13429. - description: 仓库ID
  13430. in: query
  13431. name: warehouseinfoid
  13432. type: integer
  13433. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13434. in: query
  13435. name: applystatus
  13436. type: string
  13437. produces:
  13438. - application/json
  13439. responses:
  13440. "200":
  13441. description: OK
  13442. schema:
  13443. items:
  13444. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  13445. type: array
  13446. "500":
  13447. description: Internal Server Error
  13448. schema:
  13449. $ref: '#/definitions/app.Response'
  13450. security:
  13451. - ApiKeyAuth: []
  13452. summary: 查询库存申请(出入库记录|库存审核)
  13453. tags:
  13454. - 企业风险管理(app)
  13455. /Ermcp/QueryAreaStockApplySum:
  13456. get:
  13457. parameters:
  13458. - description: 合同ID
  13459. in: query
  13460. name: spotcontractid
  13461. type: integer
  13462. produces:
  13463. - application/json
  13464. responses:
  13465. "200":
  13466. description: OK
  13467. schema:
  13468. items:
  13469. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  13470. type: array
  13471. "500":
  13472. description: Internal Server Error
  13473. schema:
  13474. $ref: '#/definitions/app.Response'
  13475. security:
  13476. - ApiKeyAuth: []
  13477. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13478. tags:
  13479. - 企业风险管理(app)
  13480. /Ermcp/QueryAreaStockReport:
  13481. get:
  13482. parameters:
  13483. - description: 用户ID
  13484. in: query
  13485. name: userid
  13486. required: true
  13487. type: integer
  13488. - description: 查询类型 1-日报表 2-月报表
  13489. in: query
  13490. name: querytype
  13491. required: true
  13492. type: integer
  13493. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13494. in: query
  13495. name: querydate
  13496. required: true
  13497. type: string
  13498. - description: 现货商品ID
  13499. in: query
  13500. name: wrstandardid
  13501. type: integer
  13502. - description: 品牌ID
  13503. in: query
  13504. name: spotgoodsbrandid
  13505. type: integer
  13506. - description: 型号ID
  13507. in: query
  13508. name: spotgoodsmodelid
  13509. type: integer
  13510. - description: 仓库ID
  13511. in: query
  13512. name: warehouseinfoid
  13513. type: integer
  13514. produces:
  13515. - application/json
  13516. responses:
  13517. "200":
  13518. description: OK
  13519. schema:
  13520. items:
  13521. $ref: '#/definitions/models.ErmcpAreaStockReport'
  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/QueryAreaStockReportDetail:
  13533. get:
  13534. parameters:
  13535. - description: 用户ID
  13536. in: query
  13537. name: userid
  13538. required: true
  13539. type: integer
  13540. - description: 查询类型 1-日报表明细 2-月报表明细
  13541. in: query
  13542. name: querytype
  13543. required: true
  13544. type: integer
  13545. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  13546. in: query
  13547. name: detailtype
  13548. required: true
  13549. type: integer
  13550. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13551. in: query
  13552. name: querydate
  13553. required: true
  13554. type: string
  13555. - description: 现货商品ID
  13556. in: query
  13557. name: wrstandardid
  13558. type: integer
  13559. - description: 品牌ID
  13560. in: query
  13561. name: spotgoodsbrandid
  13562. type: integer
  13563. - description: 型号ID
  13564. in: query
  13565. name: spotgoodsmodelid
  13566. type: integer
  13567. - description: 仓库ID
  13568. in: query
  13569. name: warehouseinfoid
  13570. type: integer
  13571. produces:
  13572. - application/json
  13573. responses:
  13574. "200":
  13575. description: OK
  13576. schema:
  13577. items:
  13578. $ref: '#/definitions/models.ErmcpAreaStockApply'
  13579. type: array
  13580. "500":
  13581. description: Internal Server Error
  13582. schema:
  13583. $ref: '#/definitions/app.Response'
  13584. security:
  13585. - ApiKeyAuth: []
  13586. summary: 查询库存报表明细
  13587. tags:
  13588. - 企业风险管理(app)
  13589. /Ermcp/QueryAvaildGoodsGroup:
  13590. get:
  13591. parameters:
  13592. - description: 所属机构ID
  13593. in: query
  13594. name: userid
  13595. required: true
  13596. type: integer
  13597. produces:
  13598. - application/json
  13599. responses:
  13600. "200":
  13601. description: OK
  13602. schema:
  13603. items:
  13604. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  13605. type: array
  13606. "500":
  13607. description: Internal Server Error
  13608. schema:
  13609. $ref: '#/definitions/app.Response'
  13610. security:
  13611. - ApiKeyAuth: []
  13612. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13613. tags:
  13614. - 企业风险管理(app)
  13615. /Ermcp/QueryBusinessDj:
  13616. get:
  13617. parameters:
  13618. - description: 用户ID
  13619. in: query
  13620. name: UserId
  13621. required: true
  13622. type: integer
  13623. - description: 现货合同ID, 不填则查所有
  13624. in: query
  13625. name: relatedid
  13626. type: string
  13627. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13628. in: query
  13629. name: applystatus
  13630. type: string
  13631. produces:
  13632. - application/json
  13633. responses:
  13634. "200":
  13635. description: OK
  13636. schema:
  13637. items:
  13638. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13639. type: array
  13640. "500":
  13641. description: Internal Server Error
  13642. schema:
  13643. $ref: '#/definitions/app.Response'
  13644. security:
  13645. - ApiKeyAuth: []
  13646. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  13647. tags:
  13648. - 企业风险管理(app)
  13649. /Ermcp/QueryBusinessFp:
  13650. get:
  13651. parameters:
  13652. - description: 用户ID
  13653. in: query
  13654. name: UserId
  13655. required: true
  13656. type: integer
  13657. - description: 现货合同ID, 不填则查所有
  13658. in: query
  13659. name: relatedid
  13660. type: string
  13661. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13662. in: query
  13663. name: applystatus
  13664. type: string
  13665. produces:
  13666. - application/json
  13667. responses:
  13668. "200":
  13669. description: OK
  13670. schema:
  13671. items:
  13672. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  13673. type: array
  13674. "500":
  13675. description: Internal Server Error
  13676. schema:
  13677. $ref: '#/definitions/app.Response'
  13678. security:
  13679. - ApiKeyAuth: []
  13680. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  13681. tags:
  13682. - 企业风险管理(app)
  13683. /Ermcp/QueryBusinessJs:
  13684. get:
  13685. parameters:
  13686. - description: 用户ID
  13687. in: query
  13688. name: UserId
  13689. required: true
  13690. type: integer
  13691. - description: 现货合同ID, 不填则查所有
  13692. in: query
  13693. name: relatedid
  13694. type: string
  13695. - description: 操作申请id
  13696. in: query
  13697. name: operateapplyid
  13698. type: string
  13699. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13700. in: query
  13701. name: applystatus
  13702. type: string
  13703. produces:
  13704. - application/json
  13705. responses:
  13706. "200":
  13707. description: OK
  13708. schema:
  13709. items:
  13710. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  13711. type: array
  13712. "500":
  13713. description: Internal Server Error
  13714. schema:
  13715. $ref: '#/definitions/app.Response'
  13716. security:
  13717. - ApiKeyAuth: []
  13718. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  13719. tags:
  13720. - 企业风险管理(app)
  13721. /Ermcp/QueryBusinessJsEx:
  13722. get:
  13723. parameters:
  13724. - description: 用户ID
  13725. in: query
  13726. name: UserId
  13727. required: true
  13728. type: integer
  13729. - description: 现货合同ID, 不填则查所有
  13730. in: query
  13731. name: relatedid
  13732. type: string
  13733. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13734. in: query
  13735. name: applystatus
  13736. type: string
  13737. produces:
  13738. - application/json
  13739. responses:
  13740. "200":
  13741. description: OK
  13742. schema:
  13743. items:
  13744. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  13745. type: array
  13746. "500":
  13747. description: Internal Server Error
  13748. schema:
  13749. $ref: '#/definitions/app.Response'
  13750. security:
  13751. - ApiKeyAuth: []
  13752. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  13753. tags:
  13754. - 企业风险管理(app)
  13755. /Ermcp/QueryBusinessKx:
  13756. get:
  13757. parameters:
  13758. - description: 用户ID
  13759. in: query
  13760. name: UserId
  13761. required: true
  13762. type: integer
  13763. - description: 现货合同ID, 不填则查所有
  13764. in: query
  13765. name: relatedid
  13766. type: string
  13767. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13768. in: query
  13769. name: applystatus
  13770. type: string
  13771. produces:
  13772. - application/json
  13773. responses:
  13774. "200":
  13775. description: OK
  13776. schema:
  13777. items:
  13778. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  13779. type: array
  13780. "500":
  13781. description: Internal Server Error
  13782. schema:
  13783. $ref: '#/definitions/app.Response'
  13784. security:
  13785. - ApiKeyAuth: []
  13786. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  13787. tags:
  13788. - 企业风险管理(app)
  13789. /Ermcp/QueryChangeLog:
  13790. get:
  13791. parameters:
  13792. - description: 合同ID
  13793. in: query
  13794. name: RelatedId
  13795. required: true
  13796. type: string
  13797. produces:
  13798. - application/json
  13799. responses:
  13800. "200":
  13801. description: OK
  13802. schema:
  13803. items:
  13804. $ref: '#/definitions/ermcp.QryOPLogRsp'
  13805. type: array
  13806. "500":
  13807. description: Internal Server Error
  13808. schema:
  13809. $ref: '#/definitions/app.Response'
  13810. security:
  13811. - ApiKeyAuth: []
  13812. summary: 查询变更记录
  13813. tags:
  13814. - 企业风险管理(app)
  13815. /Ermcp/QueryContract:
  13816. get:
  13817. parameters:
  13818. - description: 用户ID
  13819. in: query
  13820. name: userId
  13821. required: true
  13822. type: integer
  13823. - description: 合同类型 1-采购, -1-销售
  13824. in: query
  13825. name: contracttype
  13826. required: true
  13827. type: integer
  13828. - description: 查询类型 1-全部 2-待点价 3-履约结算
  13829. in: query
  13830. name: querytype
  13831. required: true
  13832. type: integer
  13833. - description: 合同ID(SpotContractId)
  13834. in: query
  13835. name: contractid
  13836. type: string
  13837. produces:
  13838. - application/json
  13839. responses:
  13840. "200":
  13841. description: OK
  13842. schema:
  13843. items:
  13844. $ref: '#/definitions/ermcp.QryErmcpRsp'
  13845. type: array
  13846. "500":
  13847. description: Internal Server Error
  13848. schema:
  13849. $ref: '#/definitions/app.Response'
  13850. security:
  13851. - ApiKeyAuth: []
  13852. summary: 查询合同(采购和销售)
  13853. tags:
  13854. - 企业风险管理(app)
  13855. /Ermcp/QueryErmcpHisOrderDetails:
  13856. get:
  13857. parameters:
  13858. - description: 资金账户ID
  13859. in: query
  13860. name: accountID
  13861. required: true
  13862. type: integer
  13863. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13864. in: query
  13865. name: startDate
  13866. type: string
  13867. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13868. in: query
  13869. name: endDate
  13870. type: string
  13871. produces:
  13872. - application/json
  13873. responses:
  13874. "200":
  13875. description: OK
  13876. schema:
  13877. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13878. "500":
  13879. description: Internal Server Error
  13880. schema:
  13881. $ref: '#/definitions/app.Response'
  13882. security:
  13883. - ApiKeyAuth: []
  13884. summary: 获取企业风管期货历史委托单信息
  13885. tags:
  13886. - 企业风险管理(app)
  13887. /Ermcp/QueryErmcpHisTradeDetails:
  13888. get:
  13889. parameters:
  13890. - description: 资金账户ID
  13891. in: query
  13892. name: accountID
  13893. required: true
  13894. type: integer
  13895. - description: 商品ID
  13896. in: query
  13897. name: goodsID
  13898. type: integer
  13899. - description: 买卖方向,0:买 1:卖
  13900. in: query
  13901. name: buyOrSell
  13902. type: integer
  13903. - description: 关联委托单号
  13904. in: query
  13905. name: orderID
  13906. type: integer
  13907. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13908. in: query
  13909. name: startDate
  13910. type: string
  13911. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13912. in: query
  13913. name: endDate
  13914. type: string
  13915. produces:
  13916. - application/json
  13917. responses:
  13918. "200":
  13919. description: OK
  13920. schema:
  13921. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13922. "500":
  13923. description: Internal Server Error
  13924. schema:
  13925. $ref: '#/definitions/app.Response'
  13926. security:
  13927. - ApiKeyAuth: []
  13928. summary: 获取企业风管期货历史成交单信息
  13929. tags:
  13930. - 企业风险管理(app)
  13931. /Ermcp/QueryErmcpInnerHolderDetails:
  13932. get:
  13933. parameters:
  13934. - description: 资金账户ID
  13935. in: query
  13936. name: accountID
  13937. required: true
  13938. type: integer
  13939. - description: 商品ID
  13940. in: query
  13941. name: goodsID
  13942. type: integer
  13943. - description: 买卖方向,0:买 1:卖
  13944. in: query
  13945. name: buyOrSell
  13946. type: integer
  13947. produces:
  13948. - application/json
  13949. responses:
  13950. "200":
  13951. description: OK
  13952. schema:
  13953. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  13954. "500":
  13955. description: Internal Server Error
  13956. schema:
  13957. $ref: '#/definitions/app.Response'
  13958. security:
  13959. - ApiKeyAuth: []
  13960. summary: 获取企业风管期货内部持仓单信息
  13961. tags:
  13962. - 企业风险管理(app)
  13963. /Ermcp/QueryErmcpOrderDetails:
  13964. get:
  13965. parameters:
  13966. - description: 资金账户ID
  13967. in: query
  13968. name: accountID
  13969. required: true
  13970. type: integer
  13971. produces:
  13972. - application/json
  13973. responses:
  13974. "200":
  13975. description: OK
  13976. schema:
  13977. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13978. "500":
  13979. description: Internal Server Error
  13980. schema:
  13981. $ref: '#/definitions/app.Response'
  13982. security:
  13983. - ApiKeyAuth: []
  13984. summary: 获取企业风管期货委托单信息
  13985. tags:
  13986. - 企业风险管理(app)
  13987. /Ermcp/QueryErmcpTradeDetails:
  13988. get:
  13989. parameters:
  13990. - description: 资金账户ID
  13991. in: query
  13992. name: accountID
  13993. required: true
  13994. type: integer
  13995. - description: 商品ID
  13996. in: query
  13997. name: goodsID
  13998. type: integer
  13999. - description: 买卖方向,0:买 1:卖
  14000. in: query
  14001. name: buyOrSell
  14002. type: integer
  14003. - description: 关联委托单号
  14004. in: query
  14005. name: orderID
  14006. type: integer
  14007. produces:
  14008. - application/json
  14009. responses:
  14010. "200":
  14011. description: OK
  14012. schema:
  14013. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14014. "500":
  14015. description: Internal Server Error
  14016. schema:
  14017. $ref: '#/definitions/app.Response'
  14018. security:
  14019. - ApiKeyAuth: []
  14020. summary: 获取企业风管期货成交单信息
  14021. tags:
  14022. - 企业风险管理(app)
  14023. /Ermcp/QueryErmcpTradePosition:
  14024. get:
  14025. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  14026. parameters:
  14027. - description: 资金账户ID
  14028. in: query
  14029. name: accountID
  14030. required: true
  14031. type: integer
  14032. - description: 所属市场ID
  14033. in: query
  14034. name: marketID
  14035. type: integer
  14036. produces:
  14037. - application/json
  14038. responses:
  14039. "200":
  14040. description: OK
  14041. schema:
  14042. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  14043. "500":
  14044. description: Internal Server Error
  14045. schema:
  14046. $ref: '#/definitions/app.Response'
  14047. security:
  14048. - ApiKeyAuth: []
  14049. summary: 获取企业风管期货持仓头寸信息
  14050. tags:
  14051. - 企业风险管理(app)
  14052. /Ermcp/QueryExposureDetail:
  14053. get:
  14054. parameters:
  14055. - description: 所属机构ID
  14056. in: query
  14057. name: areaUserId
  14058. required: true
  14059. type: integer
  14060. - description: 套保商品
  14061. in: query
  14062. name: middleGoodsId
  14063. required: true
  14064. type: integer
  14065. produces:
  14066. - application/json
  14067. responses:
  14068. "200":
  14069. description: OK
  14070. schema:
  14071. items:
  14072. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  14073. type: array
  14074. "500":
  14075. description: Internal Server Error
  14076. schema:
  14077. $ref: '#/definitions/app.Response'
  14078. security:
  14079. - ApiKeyAuth: []
  14080. summary: 查询敞口现货明细
  14081. tags:
  14082. - 企业风险管理(app)
  14083. /Ermcp/QueryExposureHedgePosition:
  14084. get:
  14085. parameters:
  14086. - description: 所属机构ID
  14087. in: query
  14088. name: areaUserId
  14089. required: true
  14090. type: integer
  14091. produces:
  14092. - application/json
  14093. responses:
  14094. "200":
  14095. description: OK
  14096. schema:
  14097. items:
  14098. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  14099. type: array
  14100. "500":
  14101. description: Internal Server Error
  14102. schema:
  14103. $ref: '#/definitions/app.Response'
  14104. security:
  14105. - ApiKeyAuth: []
  14106. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  14107. tags:
  14108. - 企业风险管理(app)
  14109. /Ermcp/QueryExposureHedgePositionDetail:
  14110. get:
  14111. parameters:
  14112. - description: 所属机构ID
  14113. in: query
  14114. name: areaUserId
  14115. required: true
  14116. type: integer
  14117. - description: 商品id
  14118. in: query
  14119. name: goodsId
  14120. required: true
  14121. type: integer
  14122. produces:
  14123. - application/json
  14124. responses:
  14125. "200":
  14126. description: OK
  14127. schema:
  14128. items:
  14129. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  14130. type: array
  14131. "500":
  14132. description: Internal Server Error
  14133. schema:
  14134. $ref: '#/definitions/app.Response'
  14135. security:
  14136. - ApiKeyAuth: []
  14137. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  14138. tags:
  14139. - 企业风险管理(app)
  14140. /Ermcp/QueryExposureSpot:
  14141. get:
  14142. parameters:
  14143. - description: 所属机构ID
  14144. in: query
  14145. name: areaUserId
  14146. required: true
  14147. type: integer
  14148. produces:
  14149. - application/json
  14150. responses:
  14151. "200":
  14152. description: OK
  14153. schema:
  14154. items:
  14155. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  14156. type: array
  14157. "500":
  14158. description: Internal Server Error
  14159. schema:
  14160. $ref: '#/definitions/app.Response'
  14161. security:
  14162. - ApiKeyAuth: []
  14163. summary: 查询敞口现货头寸(敞口/现货头寸)
  14164. tags:
  14165. - 企业风险管理(app)
  14166. /Ermcp/QueryExposureSpotDetail:
  14167. get:
  14168. parameters:
  14169. - description: 所属机构ID
  14170. in: query
  14171. name: areaUserId
  14172. required: true
  14173. type: integer
  14174. - description: 现货品种ID
  14175. in: query
  14176. name: wrstandardId
  14177. required: true
  14178. type: integer
  14179. produces:
  14180. - application/json
  14181. responses:
  14182. "200":
  14183. description: OK
  14184. schema:
  14185. items:
  14186. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  14187. type: array
  14188. "500":
  14189. description: Internal Server Error
  14190. schema:
  14191. $ref: '#/definitions/app.Response'
  14192. security:
  14193. - ApiKeyAuth: []
  14194. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14195. tags:
  14196. - 企业风险管理(app)
  14197. /Ermcp/QueryFuturesCompany:
  14198. get:
  14199. produces:
  14200. - application/json
  14201. responses:
  14202. "200":
  14203. description: OK
  14204. schema:
  14205. items:
  14206. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14207. type: array
  14208. "500":
  14209. description: Internal Server Error
  14210. schema:
  14211. $ref: '#/definitions/app.Response'
  14212. security:
  14213. - ApiKeyAuth: []
  14214. summary: 查询期货公司
  14215. tags:
  14216. - 企业风险管理(app)
  14217. /Ermcp/QueryGGConvertConfig:
  14218. get:
  14219. parameters:
  14220. - description: 品种id(不填则查所有)
  14221. in: query
  14222. name: goodsgroupid
  14223. type: integer
  14224. produces:
  14225. - application/json
  14226. responses:
  14227. "200":
  14228. description: OK
  14229. schema:
  14230. items:
  14231. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  14232. type: array
  14233. "500":
  14234. description: Internal Server Error
  14235. schema:
  14236. $ref: '#/definitions/app.Response'
  14237. security:
  14238. - ApiKeyAuth: []
  14239. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  14240. tags:
  14241. - 企业风险管理(app)
  14242. /Ermcp/QueryGoodsBrand:
  14243. get:
  14244. parameters:
  14245. - description: 用户ID
  14246. in: query
  14247. name: userid
  14248. required: true
  14249. type: integer
  14250. - description: 现货商品ID
  14251. in: query
  14252. name: wrstandardid
  14253. type: integer
  14254. produces:
  14255. - application/json
  14256. responses:
  14257. "200":
  14258. description: OK
  14259. schema:
  14260. items:
  14261. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14262. type: array
  14263. "500":
  14264. description: Internal Server Error
  14265. schema:
  14266. $ref: '#/definitions/app.Response'
  14267. security:
  14268. - ApiKeyAuth: []
  14269. summary: 查询商品品牌
  14270. tags:
  14271. - 企业风险管理(app)
  14272. /Ermcp/QueryGoodsModel:
  14273. get:
  14274. parameters:
  14275. - description: 用户ID
  14276. in: query
  14277. name: userid
  14278. required: true
  14279. type: integer
  14280. produces:
  14281. - application/json
  14282. responses:
  14283. "200":
  14284. description: OK
  14285. schema:
  14286. items:
  14287. $ref: '#/definitions/models.ErmcpGoodsModel'
  14288. type: array
  14289. "500":
  14290. description: Internal Server Error
  14291. schema:
  14292. $ref: '#/definitions/app.Response'
  14293. security:
  14294. - ApiKeyAuth: []
  14295. summary: 查询商品型号
  14296. tags:
  14297. - 企业风险管理(app)
  14298. /Ermcp/QueryHedgePlan:
  14299. get:
  14300. parameters:
  14301. - description: 用户ID
  14302. in: query
  14303. name: userId
  14304. required: true
  14305. type: integer
  14306. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14307. in: query
  14308. name: HedgePlanStatus
  14309. required: true
  14310. type: string
  14311. produces:
  14312. - application/json
  14313. responses:
  14314. "200":
  14315. description: OK
  14316. schema:
  14317. items:
  14318. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  14319. type: array
  14320. "500":
  14321. description: Internal Server Error
  14322. schema:
  14323. $ref: '#/definitions/app.Response'
  14324. security:
  14325. - ApiKeyAuth: []
  14326. summary: 查询套保计划
  14327. tags:
  14328. - 企业风险管理(app)
  14329. /Ermcp/QueryHisExposure:
  14330. get:
  14331. parameters:
  14332. - description: 所属机构ID
  14333. in: query
  14334. name: areaUserId
  14335. required: true
  14336. type: integer
  14337. - description: 每个品种记录数
  14338. in: query
  14339. name: lastNum
  14340. required: true
  14341. type: integer
  14342. produces:
  14343. - application/json
  14344. responses:
  14345. "200":
  14346. description: OK
  14347. schema:
  14348. items:
  14349. $ref: '#/definitions/ermcp.HisExposureRsp'
  14350. type: array
  14351. "500":
  14352. description: Internal Server Error
  14353. schema:
  14354. $ref: '#/definitions/app.Response'
  14355. security:
  14356. - ApiKeyAuth: []
  14357. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14358. tags:
  14359. - 企业风险管理(app)
  14360. /Ermcp/QueryMiddleGoods:
  14361. get:
  14362. parameters:
  14363. - description: 所属机构ID
  14364. in: query
  14365. name: userid
  14366. required: true
  14367. type: integer
  14368. - description: 状态 0-停用 1-正常
  14369. in: query
  14370. name: status
  14371. required: true
  14372. type: integer
  14373. produces:
  14374. - application/json
  14375. responses:
  14376. "200":
  14377. description: OK
  14378. schema:
  14379. items:
  14380. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14381. type: array
  14382. "500":
  14383. description: Internal Server Error
  14384. schema:
  14385. $ref: '#/definitions/app.Response'
  14386. security:
  14387. - ApiKeyAuth: []
  14388. summary: 查询套保品种(菜单:套保品种)
  14389. tags:
  14390. - 企业风险管理(app)
  14391. /Ermcp/QueryMiddleGoodsChangeLog:
  14392. get:
  14393. parameters:
  14394. - description: 所属机构ID
  14395. in: query
  14396. name: userid
  14397. required: true
  14398. type: integer
  14399. - description: 套保品种id
  14400. in: query
  14401. name: middlegoodsid
  14402. required: true
  14403. type: integer
  14404. produces:
  14405. - application/json
  14406. responses:
  14407. "200":
  14408. description: OK
  14409. schema:
  14410. items:
  14411. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  14412. type: array
  14413. "500":
  14414. description: Internal Server Error
  14415. schema:
  14416. $ref: '#/definitions/app.Response'
  14417. security:
  14418. - ApiKeyAuth: []
  14419. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  14420. tags:
  14421. - 企业风险管理(app)
  14422. /Ermcp/QueryMiddleGoodsDetail:
  14423. get:
  14424. parameters:
  14425. - description: 所属机构ID
  14426. in: query
  14427. name: userid
  14428. required: true
  14429. type: integer
  14430. - description: 套保品种id
  14431. in: query
  14432. name: middlegoodsid
  14433. type: integer
  14434. produces:
  14435. - application/json
  14436. responses:
  14437. "200":
  14438. description: OK
  14439. schema:
  14440. items:
  14441. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  14442. type: array
  14443. "500":
  14444. description: Internal Server Error
  14445. schema:
  14446. $ref: '#/definitions/app.Response'
  14447. security:
  14448. - ApiKeyAuth: []
  14449. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  14450. tags:
  14451. - 企业风险管理(app)
  14452. /Ermcp/QueryPendingAuditInfo:
  14453. get:
  14454. parameters:
  14455. - description: 用户ID
  14456. in: query
  14457. name: UserId
  14458. required: true
  14459. type: integer
  14460. produces:
  14461. - application/json
  14462. responses:
  14463. "200":
  14464. description: OK
  14465. schema:
  14466. items:
  14467. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  14468. type: array
  14469. "500":
  14470. description: Internal Server Error
  14471. schema:
  14472. $ref: '#/definitions/app.Response'
  14473. security:
  14474. - ApiKeyAuth: []
  14475. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  14476. tags:
  14477. - 企业风险管理(app)
  14478. /Ermcp/QueryRealtimeExposure:
  14479. get:
  14480. parameters:
  14481. - description: 所属机构ID
  14482. in: query
  14483. name: AreaUserID
  14484. required: true
  14485. type: integer
  14486. produces:
  14487. - application/json
  14488. responses:
  14489. "200":
  14490. description: OK
  14491. schema:
  14492. items:
  14493. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14494. type: array
  14495. "500":
  14496. description: Internal Server Error
  14497. schema:
  14498. $ref: '#/definitions/app.Response'
  14499. security:
  14500. - ApiKeyAuth: []
  14501. summary: 查询实时敞口
  14502. tags:
  14503. - 企业风险管理(app)
  14504. /Ermcp/QueryRealtimeExposurePosition:
  14505. get:
  14506. parameters:
  14507. - description: 所属机构ID
  14508. in: query
  14509. name: areaUserId
  14510. required: true
  14511. type: integer
  14512. - description: 套保商品ID
  14513. in: query
  14514. name: middleGoodsId
  14515. required: true
  14516. type: integer
  14517. produces:
  14518. - application/json
  14519. responses:
  14520. "200":
  14521. description: OK
  14522. schema:
  14523. items:
  14524. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14525. type: array
  14526. "500":
  14527. description: Internal Server Error
  14528. schema:
  14529. $ref: '#/definitions/app.Response'
  14530. security:
  14531. - ApiKeyAuth: []
  14532. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14533. tags:
  14534. - 企业风险管理(app)
  14535. /Ermcp/QuerySpotContract:
  14536. get:
  14537. parameters:
  14538. - description: 用户ID
  14539. in: query
  14540. name: userId
  14541. required: true
  14542. type: integer
  14543. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14544. in: query
  14545. name: QueryType
  14546. required: true
  14547. type: integer
  14548. produces:
  14549. - application/json
  14550. responses:
  14551. "200":
  14552. description: OK
  14553. schema:
  14554. items:
  14555. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  14556. type: array
  14557. "500":
  14558. description: Internal Server Error
  14559. schema:
  14560. $ref: '#/definitions/app.Response'
  14561. security:
  14562. - ApiKeyAuth: []
  14563. summary: 查询现货合同(对应现货合同菜单)
  14564. tags:
  14565. - 企业风险管理(app)
  14566. /Ermcp/QuerySpotGoodsPrice:
  14567. get:
  14568. parameters:
  14569. - description: 用户ID
  14570. in: query
  14571. name: userid
  14572. required: true
  14573. type: integer
  14574. produces:
  14575. - application/json
  14576. responses:
  14577. "200":
  14578. description: OK
  14579. schema:
  14580. items:
  14581. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  14582. type: array
  14583. "500":
  14584. description: Internal Server Error
  14585. schema:
  14586. $ref: '#/definitions/app.Response'
  14587. security:
  14588. - ApiKeyAuth: []
  14589. summary: 查询现货市价(现货市价)
  14590. tags:
  14591. - 企业风险管理(app)
  14592. /Ermcp/QuerySpotGoodsPriceLog:
  14593. get:
  14594. parameters:
  14595. - description: 用户ID
  14596. in: query
  14597. name: userid
  14598. required: true
  14599. type: integer
  14600. - description: 现货商品ID
  14601. in: query
  14602. name: wrstandardid
  14603. required: true
  14604. type: integer
  14605. produces:
  14606. - application/json
  14607. responses:
  14608. "200":
  14609. description: OK
  14610. schema:
  14611. items:
  14612. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  14613. type: array
  14614. "500":
  14615. description: Internal Server Error
  14616. schema:
  14617. $ref: '#/definitions/app.Response'
  14618. security:
  14619. - ApiKeyAuth: []
  14620. summary: 查询现货市价详情(现货市价/详情)
  14621. tags:
  14622. - 企业风险管理(app)
  14623. /Ermcp/QueryTradeConfigTMP:
  14624. get:
  14625. parameters:
  14626. - description: 所属机构id
  14627. in: query
  14628. name: areauserid
  14629. type: integer
  14630. produces:
  14631. - application/json
  14632. responses:
  14633. "200":
  14634. description: OK
  14635. schema:
  14636. items:
  14637. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14638. type: array
  14639. "500":
  14640. description: Internal Server Error
  14641. schema:
  14642. $ref: '#/definitions/app.Response'
  14643. security:
  14644. - ApiKeyAuth: []
  14645. summary: 查询交易模板配置
  14646. tags:
  14647. - 企业风险管理(app)
  14648. /Ermcp/QueryUserInfo:
  14649. get:
  14650. parameters:
  14651. - description: 所属机构用户ID
  14652. in: query
  14653. name: MemberUserID
  14654. required: true
  14655. type: integer
  14656. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14657. in: query
  14658. name: queryType
  14659. required: true
  14660. type: integer
  14661. produces:
  14662. - application/json
  14663. responses:
  14664. "200":
  14665. description: OK
  14666. schema:
  14667. items:
  14668. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  14669. type: array
  14670. "500":
  14671. description: Internal Server Error
  14672. schema:
  14673. $ref: '#/definitions/app.Response'
  14674. security:
  14675. - ApiKeyAuth: []
  14676. summary: 查询客户资料
  14677. tags:
  14678. - 企业风险管理(app)
  14679. /Ermcp/QueryWarehouseInfo:
  14680. get:
  14681. parameters:
  14682. - description: 用户ID
  14683. in: query
  14684. name: userid
  14685. required: true
  14686. type: integer
  14687. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  14688. in: query
  14689. name: status
  14690. type: string
  14691. produces:
  14692. - application/json
  14693. responses:
  14694. "200":
  14695. description: OK
  14696. schema:
  14697. items:
  14698. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  14699. type: array
  14700. "500":
  14701. description: Internal Server Error
  14702. schema:
  14703. $ref: '#/definitions/app.Response'
  14704. security:
  14705. - ApiKeyAuth: []
  14706. summary: 查询仓库信息
  14707. tags:
  14708. - 企业风险管理(app)
  14709. /Ermcp/QueryWrStandard:
  14710. get:
  14711. parameters:
  14712. - description: 所属机构ID
  14713. in: query
  14714. name: userid
  14715. required: true
  14716. type: integer
  14717. - description: 状态 0-停用 1-正常
  14718. in: query
  14719. name: status
  14720. required: true
  14721. type: integer
  14722. produces:
  14723. - application/json
  14724. responses:
  14725. "200":
  14726. description: OK
  14727. schema:
  14728. items:
  14729. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  14730. type: array
  14731. "500":
  14732. description: Internal Server Error
  14733. schema:
  14734. $ref: '#/definitions/app.Response'
  14735. security:
  14736. - ApiKeyAuth: []
  14737. summary: 查询现货商品
  14738. tags:
  14739. - 企业风险管理(app)
  14740. /Ermcp/QueryWrStandardDetail:
  14741. get:
  14742. parameters:
  14743. - description: 所属机构ID
  14744. in: query
  14745. name: userid
  14746. required: true
  14747. type: integer
  14748. - description: 现货商品ID
  14749. in: query
  14750. name: wrstandardid
  14751. type: integer
  14752. - description: 可不填, 1-查询关联交易商品
  14753. in: query
  14754. name: goods
  14755. type: integer
  14756. produces:
  14757. - application/json
  14758. responses:
  14759. "200":
  14760. description: OK
  14761. schema:
  14762. items:
  14763. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  14764. type: array
  14765. "500":
  14766. description: Internal Server Error
  14767. schema:
  14768. $ref: '#/definitions/app.Response'
  14769. security:
  14770. - ApiKeyAuth: []
  14771. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  14772. tags:
  14773. - 企业风险管理(app)
  14774. /Ermcp3/QryReportAreaSpotPL:
  14775. get:
  14776. parameters:
  14777. - description: 用户ID
  14778. in: query
  14779. name: userid
  14780. required: true
  14781. type: integer
  14782. - description: 查询类型 1-日报表 2-月报表
  14783. in: query
  14784. name: querytype
  14785. required: true
  14786. type: integer
  14787. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  14788. in: query
  14789. name: querydate
  14790. required: true
  14791. type: string
  14792. - description: 现货商品ID
  14793. in: query
  14794. name: deliverygoodsid
  14795. type: integer
  14796. - description: 品牌ID
  14797. in: query
  14798. name: spotgoodsbrandid
  14799. type: integer
  14800. - description: 品类ID
  14801. in: query
  14802. name: wrstandardid
  14803. type: integer
  14804. produces:
  14805. - application/json
  14806. responses:
  14807. "200":
  14808. description: OK
  14809. schema:
  14810. items:
  14811. $ref: '#/definitions/models.Ermcp3ReportAreaSpotPL'
  14812. type: array
  14813. "500":
  14814. description: Internal Server Error
  14815. schema:
  14816. $ref: '#/definitions/app.Response'
  14817. security:
  14818. - ApiKeyAuth: []
  14819. summary: 查询现货损益报表(现货损益报表)
  14820. tags:
  14821. - 企业风险管理v3(app)
  14822. /Ermcp3/QryReportDayFinanceFp:
  14823. get:
  14824. parameters:
  14825. - description: 用户ID
  14826. in: query
  14827. name: userid
  14828. required: true
  14829. type: integer
  14830. - description: 交易日(格式:yyyyMMdd)
  14831. in: query
  14832. name: tradedate
  14833. required: true
  14834. type: string
  14835. produces:
  14836. - application/json
  14837. responses:
  14838. "200":
  14839. description: OK
  14840. schema:
  14841. items:
  14842. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14843. type: array
  14844. "500":
  14845. description: Internal Server Error
  14846. schema:
  14847. $ref: '#/definitions/app.Response'
  14848. security:
  14849. - ApiKeyAuth: []
  14850. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  14851. tags:
  14852. - 企业风险管理v3(app)
  14853. /Ermcp3/QryReportDayFinanceKx:
  14854. get:
  14855. parameters:
  14856. - description: 用户ID
  14857. in: query
  14858. name: userid
  14859. required: true
  14860. type: integer
  14861. - description: 交易日(格式:yyyyMMdd)
  14862. in: query
  14863. name: tradedate
  14864. required: true
  14865. type: string
  14866. produces:
  14867. - application/json
  14868. responses:
  14869. "200":
  14870. description: OK
  14871. schema:
  14872. items:
  14873. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14874. type: array
  14875. "500":
  14876. description: Internal Server Error
  14877. schema:
  14878. $ref: '#/definitions/app.Response'
  14879. security:
  14880. - ApiKeyAuth: []
  14881. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  14882. tags:
  14883. - 企业风险管理v3(app)
  14884. /Ermcp3/QryReportDaySpot:
  14885. get:
  14886. parameters:
  14887. - description: 用户ID
  14888. in: query
  14889. name: userid
  14890. required: true
  14891. type: integer
  14892. - description: 交易日(格式:yyyyMMdd)
  14893. in: query
  14894. name: tradedate
  14895. required: true
  14896. type: string
  14897. produces:
  14898. - application/json
  14899. responses:
  14900. "200":
  14901. description: OK
  14902. schema:
  14903. items:
  14904. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  14905. type: array
  14906. "500":
  14907. description: Internal Server Error
  14908. schema:
  14909. $ref: '#/definitions/app.Response'
  14910. security:
  14911. - ApiKeyAuth: []
  14912. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  14913. tags:
  14914. - 企业风险管理v3(app)
  14915. /Ermcp3/QryReportDaySpotDetail:
  14916. get:
  14917. parameters:
  14918. - description: 用户ID
  14919. in: query
  14920. name: userid
  14921. required: true
  14922. type: integer
  14923. - description: 现货商品id
  14924. in: query
  14925. name: deliverygoodsid
  14926. required: true
  14927. type: integer
  14928. - description: 交易日(格式:yyyyMMdd)
  14929. in: query
  14930. name: tradedate
  14931. required: true
  14932. type: string
  14933. produces:
  14934. - application/json
  14935. responses:
  14936. "200":
  14937. description: OK
  14938. schema:
  14939. items:
  14940. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14941. type: array
  14942. "500":
  14943. description: Internal Server Error
  14944. schema:
  14945. $ref: '#/definitions/app.Response'
  14946. security:
  14947. - ApiKeyAuth: []
  14948. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  14949. tags:
  14950. - 企业风险管理v3(app)
  14951. /Ermcp3/QryReportMonthSpot:
  14952. get:
  14953. parameters:
  14954. - description: 用户ID
  14955. in: query
  14956. name: userid
  14957. required: true
  14958. type: integer
  14959. - description: 周期时间:月(格式:yyyyMM)
  14960. in: query
  14961. name: cycletime
  14962. required: true
  14963. type: string
  14964. produces:
  14965. - application/json
  14966. responses:
  14967. "200":
  14968. description: OK
  14969. schema:
  14970. items:
  14971. $ref: '#/definitions/models.Ermcp3ReportMonSpot'
  14972. type: array
  14973. "500":
  14974. description: Internal Server Error
  14975. schema:
  14976. $ref: '#/definitions/app.Response'
  14977. security:
  14978. - ApiKeyAuth: []
  14979. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  14980. tags:
  14981. - 企业风险管理v3(app)
  14982. /Ermcp3/QryReportMonthSpotDetail:
  14983. get:
  14984. parameters:
  14985. - description: 用户ID
  14986. in: query
  14987. name: userid
  14988. required: true
  14989. type: integer
  14990. - description: 现货商品id
  14991. in: query
  14992. name: deliverygoodsid
  14993. required: true
  14994. type: integer
  14995. - description: 周期时间:月(格式:yyyyMM)
  14996. in: query
  14997. name: cycletime
  14998. required: true
  14999. type: string
  15000. produces:
  15001. - application/json
  15002. responses:
  15003. "200":
  15004. description: OK
  15005. schema:
  15006. items:
  15007. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  15008. type: array
  15009. "500":
  15010. description: Internal Server Error
  15011. schema:
  15012. $ref: '#/definitions/app.Response'
  15013. security:
  15014. - ApiKeyAuth: []
  15015. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  15016. tags:
  15017. - 企业风险管理v3(app)
  15018. /Ermcp3/QueryAreaStock:
  15019. get:
  15020. parameters:
  15021. - description: 用户ID
  15022. in: query
  15023. name: userid
  15024. required: true
  15025. type: integer
  15026. produces:
  15027. - application/json
  15028. responses:
  15029. "200":
  15030. description: OK
  15031. schema:
  15032. items:
  15033. $ref: '#/definitions/models.Ermcp3AreaStock'
  15034. type: array
  15035. "500":
  15036. description: Internal Server Error
  15037. schema:
  15038. $ref: '#/definitions/app.Response'
  15039. security:
  15040. - ApiKeyAuth: []
  15041. summary: 查询机构库存(库存管理/当前库存)
  15042. tags:
  15043. - 企业风险管理v3(app)
  15044. /Ermcp3/QueryAreaStockApply:
  15045. get:
  15046. parameters:
  15047. - description: 用户ID
  15048. in: query
  15049. name: userid
  15050. required: true
  15051. type: integer
  15052. - description: 现货商品ID
  15053. in: query
  15054. name: deliverygoodsid
  15055. type: integer
  15056. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  15057. in: query
  15058. name: inouttype
  15059. type: string
  15060. - description: 合同ID
  15061. in: query
  15062. name: spotcontractid
  15063. type: integer
  15064. - description: 品类ID
  15065. in: query
  15066. name: wrstandardid
  15067. type: integer
  15068. - description: 品牌ID
  15069. in: query
  15070. name: spotgoodsbrandid
  15071. type: integer
  15072. - description: 仓库ID
  15073. in: query
  15074. name: warehouseinfoid
  15075. type: integer
  15076. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15077. in: query
  15078. name: applystatus
  15079. type: string
  15080. produces:
  15081. - application/json
  15082. responses:
  15083. "200":
  15084. description: OK
  15085. schema:
  15086. items:
  15087. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15088. type: array
  15089. "500":
  15090. description: Internal Server Error
  15091. schema:
  15092. $ref: '#/definitions/app.Response'
  15093. security:
  15094. - ApiKeyAuth: []
  15095. summary: 查询库存申请(出入库记录|库存审核)
  15096. tags:
  15097. - 企业风险管理v3(app)
  15098. /Ermcp3/QueryAreaStockApplySum:
  15099. get:
  15100. parameters:
  15101. - description: 合同ID
  15102. in: query
  15103. name: spotcontractid
  15104. type: integer
  15105. produces:
  15106. - application/json
  15107. responses:
  15108. "200":
  15109. description: OK
  15110. schema:
  15111. items:
  15112. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  15113. type: array
  15114. "500":
  15115. description: Internal Server Error
  15116. schema:
  15117. $ref: '#/definitions/app.Response'
  15118. security:
  15119. - ApiKeyAuth: []
  15120. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  15121. tags:
  15122. - 企业风险管理v3(app)
  15123. /Ermcp3/QueryAreaStockReport:
  15124. get:
  15125. parameters:
  15126. - description: 用户ID
  15127. in: query
  15128. name: userid
  15129. required: true
  15130. type: integer
  15131. - description: 查询类型 1-日报表 2-月报表
  15132. in: query
  15133. name: querytype
  15134. required: true
  15135. type: integer
  15136. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15137. in: query
  15138. name: querydate
  15139. required: true
  15140. type: string
  15141. - description: 现货商品ID
  15142. in: query
  15143. name: deliverygoodsid
  15144. type: integer
  15145. - description: 品类ID
  15146. in: query
  15147. name: wrstandardid
  15148. type: integer
  15149. - description: 品牌ID
  15150. in: query
  15151. name: spotgoodsbrandid
  15152. type: integer
  15153. - description: 仓库ID
  15154. in: query
  15155. name: warehouseinfoid
  15156. type: integer
  15157. produces:
  15158. - application/json
  15159. responses:
  15160. "200":
  15161. description: OK
  15162. schema:
  15163. items:
  15164. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  15165. type: array
  15166. "500":
  15167. description: Internal Server Error
  15168. schema:
  15169. $ref: '#/definitions/app.Response'
  15170. security:
  15171. - ApiKeyAuth: []
  15172. summary: 查询库存报表
  15173. tags:
  15174. - 企业风险管理v3(app)
  15175. /Ermcp3/QueryAreaStockReportDetail:
  15176. get:
  15177. parameters:
  15178. - description: 用户ID
  15179. in: query
  15180. name: userid
  15181. required: true
  15182. type: integer
  15183. - description: 查询类型 1-日报表明细 2-月报表明细
  15184. in: query
  15185. name: querytype
  15186. required: true
  15187. type: integer
  15188. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  15189. in: query
  15190. name: detailtype
  15191. required: true
  15192. type: integer
  15193. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15194. in: query
  15195. name: querydate
  15196. required: true
  15197. type: string
  15198. - description: 现货商品ID
  15199. in: query
  15200. name: deliverygoodsid
  15201. type: integer
  15202. - description: 品类ID
  15203. in: query
  15204. name: wrstandardid
  15205. type: integer
  15206. - description: 品牌ID
  15207. in: query
  15208. name: spotgoodsbrandid
  15209. type: integer
  15210. - description: 仓库ID
  15211. in: query
  15212. name: warehouseinfoid
  15213. type: integer
  15214. produces:
  15215. - application/json
  15216. responses:
  15217. "200":
  15218. description: OK
  15219. schema:
  15220. items:
  15221. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15222. type: array
  15223. "500":
  15224. description: Internal Server Error
  15225. schema:
  15226. $ref: '#/definitions/app.Response'
  15227. security:
  15228. - ApiKeyAuth: []
  15229. summary: 查询库存报表明细
  15230. tags:
  15231. - 企业风险管理v3(app)
  15232. /Ermcp3/QueryDGFactoryItem:
  15233. get:
  15234. parameters:
  15235. - description: 所属机构ID
  15236. in: query
  15237. name: areauserid
  15238. type: integer
  15239. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15240. in: query
  15241. name: dgfactoryitemid
  15242. type: integer
  15243. - description: 现货品种ID
  15244. in: query
  15245. name: deliverygoodsid
  15246. type: integer
  15247. - description: 要素项类型
  15248. in: query
  15249. name: dgfactoryitemtypeid
  15250. type: integer
  15251. - description: 顺序
  15252. in: query
  15253. name: orderindex
  15254. type: integer
  15255. produces:
  15256. - application/json
  15257. responses:
  15258. "200":
  15259. description: OK
  15260. schema:
  15261. items:
  15262. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  15263. type: array
  15264. "500":
  15265. description: Internal Server Error
  15266. schema:
  15267. $ref: '#/definitions/app.Response'
  15268. security:
  15269. - ApiKeyAuth: []
  15270. summary: 查询品种要素定义项
  15271. tags:
  15272. - 企业风险管理v3(app)
  15273. /Ermcp3/QueryDeliveryGoods:
  15274. get:
  15275. parameters:
  15276. - description: 所属机构id
  15277. in: query
  15278. name: areauserid
  15279. required: true
  15280. type: integer
  15281. - description: 排除已配置的现货商品 1-排除
  15282. in: query
  15283. name: excludecfg
  15284. type: integer
  15285. produces:
  15286. - application/json
  15287. responses:
  15288. "200":
  15289. description: OK
  15290. schema:
  15291. items:
  15292. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15293. type: array
  15294. "500":
  15295. description: Internal Server Error
  15296. schema:
  15297. $ref: '#/definitions/app.Response'
  15298. security:
  15299. - ApiKeyAuth: []
  15300. summary: 查询现货商品
  15301. tags:
  15302. - 企业风险管理v3(app)
  15303. /Ermcp3/QueryDeliveryGoodsDetail:
  15304. get:
  15305. parameters:
  15306. - description: 所属机构id
  15307. in: query
  15308. name: areauserid
  15309. required: true
  15310. type: integer
  15311. - description: 现货商品id
  15312. in: query
  15313. name: deliverygoodsid
  15314. type: integer
  15315. produces:
  15316. - application/json
  15317. responses:
  15318. "200":
  15319. description: OK
  15320. schema:
  15321. items:
  15322. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  15323. type: array
  15324. "500":
  15325. description: Internal Server Error
  15326. schema:
  15327. $ref: '#/definitions/app.Response'
  15328. security:
  15329. - ApiKeyAuth: []
  15330. summary: 查询现货商品详情
  15331. tags:
  15332. - 企业风险管理v3(app)
  15333. /Ermcp3/QueryExposureDetail:
  15334. get:
  15335. parameters:
  15336. - description: 所属机构ID
  15337. in: query
  15338. name: areauserid
  15339. required: true
  15340. type: integer
  15341. - description: 套保商品
  15342. in: query
  15343. name: middlegoodsid
  15344. required: true
  15345. type: integer
  15346. produces:
  15347. - application/json
  15348. responses:
  15349. "200":
  15350. description: OK
  15351. schema:
  15352. items:
  15353. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15354. type: array
  15355. "500":
  15356. description: Internal Server Error
  15357. schema:
  15358. $ref: '#/definitions/app.Response'
  15359. security:
  15360. - ApiKeyAuth: []
  15361. summary: 查询敞口现货明细
  15362. tags:
  15363. - 企业风险管理v3(app)
  15364. /Ermcp3/QueryExposureSpot:
  15365. get:
  15366. parameters:
  15367. - description: 所属机构ID
  15368. in: query
  15369. name: areauserid
  15370. required: true
  15371. type: integer
  15372. produces:
  15373. - application/json
  15374. responses:
  15375. "200":
  15376. description: OK
  15377. schema:
  15378. items:
  15379. $ref: '#/definitions/models.Ermcp3AreaSpot'
  15380. type: array
  15381. "500":
  15382. description: Internal Server Error
  15383. schema:
  15384. $ref: '#/definitions/app.Response'
  15385. security:
  15386. - ApiKeyAuth: []
  15387. summary: 查询敞口现货头寸(敞口/现货头寸)
  15388. tags:
  15389. - 企业风险管理v3(app)
  15390. /Ermcp3/QueryExposureSpotDetail:
  15391. get:
  15392. parameters:
  15393. - description: 所属机构ID
  15394. in: query
  15395. name: areauserid
  15396. required: true
  15397. type: integer
  15398. - description: 现货品种ID
  15399. in: query
  15400. name: deliverygoodsid
  15401. required: true
  15402. type: integer
  15403. produces:
  15404. - application/json
  15405. responses:
  15406. "200":
  15407. description: OK
  15408. schema:
  15409. items:
  15410. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  15411. type: array
  15412. "500":
  15413. description: Internal Server Error
  15414. schema:
  15415. $ref: '#/definitions/app.Response'
  15416. security:
  15417. - ApiKeyAuth: []
  15418. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  15419. tags:
  15420. - 企业风险管理v3(app)
  15421. /Ermcp3/QueryGoodsGroup:
  15422. get:
  15423. parameters:
  15424. - description: 所属机构id
  15425. in: query
  15426. name: areauserid
  15427. required: true
  15428. type: integer
  15429. - description: 排除套保品中已关联的商品组 1-排除
  15430. in: query
  15431. name: excludecfg
  15432. type: integer
  15433. produces:
  15434. - application/json
  15435. responses:
  15436. "200":
  15437. description: OK
  15438. schema:
  15439. items:
  15440. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  15441. type: array
  15442. "500":
  15443. description: Internal Server Error
  15444. schema:
  15445. $ref: '#/definitions/app.Response'
  15446. security:
  15447. - ApiKeyAuth: []
  15448. summary: 查询期货商品组
  15449. tags:
  15450. - 企业风险管理v3(app)
  15451. /Ermcp3/QueryGoodsWrstandard:
  15452. get:
  15453. parameters:
  15454. - description: 所属机构ID
  15455. in: query
  15456. name: areauserid
  15457. required: true
  15458. type: integer
  15459. - description: 现货商品id
  15460. in: query
  15461. name: deliverygoodsid
  15462. type: integer
  15463. produces:
  15464. - application/json
  15465. responses:
  15466. "200":
  15467. description: OK
  15468. schema:
  15469. items:
  15470. $ref: '#/definitions/models.Ermcp3Wrstandard'
  15471. type: array
  15472. "500":
  15473. description: Internal Server Error
  15474. schema:
  15475. $ref: '#/definitions/app.Response'
  15476. security:
  15477. - ApiKeyAuth: []
  15478. summary: 查询商品品类
  15479. tags:
  15480. - 企业风险管理v3(app)
  15481. /Ermcp3/QueryGoodsbrand:
  15482. get:
  15483. parameters:
  15484. - description: 所属机构ID
  15485. in: query
  15486. name: areauserid
  15487. required: true
  15488. type: integer
  15489. produces:
  15490. - application/json
  15491. responses:
  15492. "200":
  15493. description: OK
  15494. schema:
  15495. items:
  15496. $ref: '#/definitions/models.Ermcp3Brand'
  15497. type: array
  15498. "500":
  15499. description: Internal Server Error
  15500. schema:
  15501. $ref: '#/definitions/app.Response'
  15502. security:
  15503. - ApiKeyAuth: []
  15504. summary: 查询商品品牌
  15505. tags:
  15506. - 企业风险管理v3(app)
  15507. /Ermcp3/QueryHedgePlan:
  15508. get:
  15509. parameters:
  15510. - description: 用户ID
  15511. in: query
  15512. name: userid
  15513. required: true
  15514. type: integer
  15515. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  15516. in: query
  15517. name: hedgeplanstatus
  15518. required: true
  15519. type: string
  15520. produces:
  15521. - application/json
  15522. responses:
  15523. "200":
  15524. description: OK
  15525. schema:
  15526. items:
  15527. $ref: '#/definitions/models.Ermcp3HedgePlan'
  15528. type: array
  15529. "500":
  15530. description: Internal Server Error
  15531. schema:
  15532. $ref: '#/definitions/app.Response'
  15533. security:
  15534. - ApiKeyAuth: []
  15535. summary: 查询套保计划
  15536. tags:
  15537. - 企业风险管理v3(app)
  15538. /Ermcp3/QueryMiddleGoodsDetail:
  15539. get:
  15540. parameters:
  15541. - description: 所属机构ID
  15542. in: query
  15543. name: areauserid
  15544. required: true
  15545. type: integer
  15546. - description: 套保品种id
  15547. in: query
  15548. name: middlegoodsid
  15549. type: integer
  15550. produces:
  15551. - application/json
  15552. responses:
  15553. "200":
  15554. description: OK
  15555. schema:
  15556. items:
  15557. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  15558. type: array
  15559. "500":
  15560. description: Internal Server Error
  15561. schema:
  15562. $ref: '#/definitions/app.Response'
  15563. security:
  15564. - ApiKeyAuth: []
  15565. summary: 查询套保品种详情(套保品种/商品详情)
  15566. tags:
  15567. - 企业风险管理v3(app)
  15568. /Ermcp3/QuerySpotContract:
  15569. get:
  15570. parameters:
  15571. - description: 所属机构ID
  15572. in: query
  15573. name: areauserid
  15574. required: true
  15575. type: integer
  15576. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  15577. in: query
  15578. name: querytype
  15579. required: true
  15580. type: integer
  15581. - description: 用户ID
  15582. in: query
  15583. name: userid
  15584. type: integer
  15585. - description: 用户类型 2-机构 7-企业成员
  15586. in: query
  15587. name: usertype
  15588. type: integer
  15589. - description: 合同ID(SpotContractId)
  15590. in: query
  15591. name: contractid
  15592. type: string
  15593. produces:
  15594. - application/json
  15595. responses:
  15596. "200":
  15597. description: OK
  15598. schema:
  15599. items:
  15600. $ref: '#/definitions/models.Ermcp3Contract'
  15601. type: array
  15602. "500":
  15603. description: Internal Server Error
  15604. schema:
  15605. $ref: '#/definitions/app.Response'
  15606. security:
  15607. - ApiKeyAuth: []
  15608. summary: 查询现货合同
  15609. tags:
  15610. - 企业风险管理v3(app)
  15611. /Ermcp3/QuerySpotContractBS:
  15612. get:
  15613. parameters:
  15614. - description: 所属机构ID
  15615. in: query
  15616. name: areauserid
  15617. required: true
  15618. type: integer
  15619. - description: 合同类型 1-采购, -1-销售
  15620. in: query
  15621. name: contracttype
  15622. required: true
  15623. type: integer
  15624. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15625. in: query
  15626. name: querytype
  15627. required: true
  15628. type: integer
  15629. - description: 用户ID
  15630. in: query
  15631. name: userid
  15632. type: integer
  15633. - description: 用户类型 2-机构 7-企业成员
  15634. in: query
  15635. name: usertype
  15636. type: integer
  15637. - description: 合同ID(SpotContractId)
  15638. in: query
  15639. name: contractid
  15640. type: string
  15641. produces:
  15642. - application/json
  15643. responses:
  15644. "200":
  15645. description: OK
  15646. schema:
  15647. items:
  15648. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  15649. type: array
  15650. "500":
  15651. description: Internal Server Error
  15652. schema:
  15653. $ref: '#/definitions/app.Response'
  15654. security:
  15655. - ApiKeyAuth: []
  15656. summary: 查询合同(采购/销售)
  15657. tags:
  15658. - 企业风险管理v3(app)
  15659. /Ermcp3/QuerySpotGoodsPrice:
  15660. get:
  15661. parameters:
  15662. - description: 用户ID
  15663. in: query
  15664. name: userid
  15665. required: true
  15666. type: integer
  15667. produces:
  15668. - application/json
  15669. responses:
  15670. "200":
  15671. description: OK
  15672. schema:
  15673. items:
  15674. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  15675. type: array
  15676. "500":
  15677. description: Internal Server Error
  15678. schema:
  15679. $ref: '#/definitions/app.Response'
  15680. security:
  15681. - ApiKeyAuth: []
  15682. summary: 查询现货市价(现货市价)
  15683. tags:
  15684. - 企业风险管理v3(app)
  15685. /Ermcp3/QuerySpotGoodsPriceLog:
  15686. get:
  15687. parameters:
  15688. - description: 用户ID
  15689. in: query
  15690. name: userid
  15691. required: true
  15692. type: integer
  15693. - description: 现货商品ID
  15694. in: query
  15695. name: deliverygoodsid
  15696. required: true
  15697. type: integer
  15698. produces:
  15699. - application/json
  15700. responses:
  15701. "200":
  15702. description: OK
  15703. schema:
  15704. items:
  15705. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  15706. type: array
  15707. "500":
  15708. description: Internal Server Error
  15709. schema:
  15710. $ref: '#/definitions/app.Response'
  15711. security:
  15712. - ApiKeyAuth: []
  15713. summary: 查询现货市价详情(现货市价/详情)
  15714. tags:
  15715. - 企业风险管理v3(app)
  15716. /Erms2/QueryArbitrageStrategy:
  15717. get:
  15718. parameters:
  15719. - description: 账户ID
  15720. in: query
  15721. name: userid
  15722. required: true
  15723. type: integer
  15724. - description: 商品组ID(品种ID)
  15725. in: query
  15726. name: goodsgroupid
  15727. type: string
  15728. produces:
  15729. - application/json
  15730. responses:
  15731. "200":
  15732. description: OK
  15733. schema:
  15734. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  15735. "500":
  15736. description: Internal Server Error
  15737. schema:
  15738. $ref: '#/definitions/app.Response'
  15739. security:
  15740. - ApiKeyAuth: []
  15741. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  15742. tags:
  15743. - 风险管理
  15744. /Erms2/QueryInnerTradeDetail:
  15745. get:
  15746. parameters:
  15747. - description: 资金账户
  15748. in: query
  15749. name: accountid
  15750. required: true
  15751. type: integer
  15752. produces:
  15753. - application/json
  15754. responses:
  15755. "200":
  15756. description: OK
  15757. schema:
  15758. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  15759. "500":
  15760. description: Internal Server Error
  15761. schema:
  15762. $ref: '#/definitions/app.Response'
  15763. security:
  15764. - ApiKeyAuth: []
  15765. summary: 查询内部成交单信息
  15766. tags:
  15767. - 风险管理
  15768. /Erms2/QuerySpotContract:
  15769. get:
  15770. parameters:
  15771. - description: 策略申请ID
  15772. in: query
  15773. name: asapplyid
  15774. required: true
  15775. type: integer
  15776. - description: 现货合同ID
  15777. in: query
  15778. name: spotcontractid
  15779. type: integer
  15780. produces:
  15781. - application/json
  15782. responses:
  15783. "200":
  15784. description: OK
  15785. schema:
  15786. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  15787. "500":
  15788. description: Internal Server Error
  15789. schema:
  15790. $ref: '#/definitions/app.Response'
  15791. security:
  15792. - ApiKeyAuth: []
  15793. summary: 查询现货合同表信息(指定策略ID、未结束的)
  15794. tags:
  15795. - 风险管理
  15796. /Erms3/AddErms2ASApply:
  15797. post:
  15798. parameters:
  15799. - description: 申请参数
  15800. in: body
  15801. name: jsonBody
  15802. required: true
  15803. schema:
  15804. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  15805. produces:
  15806. - application/json
  15807. responses:
  15808. "200":
  15809. description: OK
  15810. schema:
  15811. $ref: '#/definitions/app.Response'
  15812. "500":
  15813. description: Internal Server Error
  15814. schema:
  15815. $ref: '#/definitions/app.Response'
  15816. security:
  15817. - ApiKeyAuth: []
  15818. summary: 新增期现套利业务申请
  15819. tags:
  15820. - 风险管理v3
  15821. /Erms3/AddErms2SpotTradeApply:
  15822. post:
  15823. parameters:
  15824. - description: 申请参数
  15825. in: body
  15826. name: jsonBody
  15827. required: true
  15828. schema:
  15829. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  15830. produces:
  15831. - application/json
  15832. responses:
  15833. "200":
  15834. description: OK
  15835. schema:
  15836. $ref: '#/definitions/app.Response'
  15837. "500":
  15838. description: Internal Server Error
  15839. schema:
  15840. $ref: '#/definitions/app.Response'
  15841. security:
  15842. - ApiKeyAuth: []
  15843. summary: 新增现货贸易业务申请
  15844. tags:
  15845. - 风险管理v3
  15846. /Erms3/AddSpotContractApply:
  15847. post:
  15848. parameters:
  15849. - description: 申请参数
  15850. in: body
  15851. name: jsonBody
  15852. required: true
  15853. schema:
  15854. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  15855. produces:
  15856. - application/json
  15857. responses:
  15858. "200":
  15859. description: OK
  15860. schema:
  15861. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  15862. "500":
  15863. description: Internal Server Error
  15864. schema:
  15865. $ref: '#/definitions/app.Response'
  15866. security:
  15867. - ApiKeyAuth: []
  15868. summary: 新增现货合同申请
  15869. tags:
  15870. - 风险管理v3
  15871. /Erms3/AddUserInfoApply:
  15872. post:
  15873. parameters:
  15874. - description: 用户信息
  15875. in: body
  15876. name: jsonBody
  15877. required: true
  15878. schema:
  15879. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  15880. produces:
  15881. - application/json
  15882. responses:
  15883. "200":
  15884. description: OK
  15885. schema:
  15886. $ref: '#/definitions/app.Response'
  15887. "500":
  15888. description: Internal Server Error
  15889. schema:
  15890. $ref: '#/definitions/app.Response'
  15891. security:
  15892. - ApiKeyAuth: []
  15893. summary: 新增客户申请
  15894. tags:
  15895. - 风险管理v3
  15896. /Erms3/DeleteUserInfoApply:
  15897. get:
  15898. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  15899. parameters:
  15900. - description: 用户ID
  15901. in: query
  15902. name: userID
  15903. required: true
  15904. type: integer
  15905. produces:
  15906. - application/json
  15907. responses:
  15908. "200":
  15909. description: OK
  15910. schema:
  15911. $ref: '#/definitions/app.Response'
  15912. "500":
  15913. description: Internal Server Error
  15914. schema:
  15915. $ref: '#/definitions/app.Response'
  15916. security:
  15917. - ApiKeyAuth: []
  15918. summary: 删除客户申请
  15919. tags:
  15920. - 风险管理v3
  15921. /Erms3/ModifyUserInfoApply:
  15922. post:
  15923. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  15924. int, "userstate": 2 }'
  15925. parameters:
  15926. - description: 用户信息
  15927. in: body
  15928. name: jsonBody
  15929. required: true
  15930. schema:
  15931. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  15932. produces:
  15933. - application/json
  15934. responses:
  15935. "200":
  15936. description: OK
  15937. schema:
  15938. $ref: '#/definitions/app.Response'
  15939. "500":
  15940. description: Internal Server Error
  15941. schema:
  15942. $ref: '#/definitions/app.Response'
  15943. security:
  15944. - ApiKeyAuth: []
  15945. summary: 修改客户申请
  15946. tags:
  15947. - 风险管理v3
  15948. /Erms3/QueryBusinessInfo:
  15949. get:
  15950. parameters:
  15951. - description: 资金账号ID列表,用逗号分隔
  15952. in: query
  15953. name: accountids
  15954. required: true
  15955. type: string
  15956. - description: 状态,0为未结束 1为已结束
  15957. in: query
  15958. name: status
  15959. required: true
  15960. type: integer
  15961. produces:
  15962. - application/json
  15963. responses:
  15964. "200":
  15965. description: OK
  15966. schema:
  15967. items:
  15968. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  15969. type: array
  15970. "500":
  15971. description: Internal Server Error
  15972. schema:
  15973. $ref: '#/definitions/app.Response'
  15974. security:
  15975. - ApiKeyAuth: []
  15976. summary: 查询业务表单数据
  15977. tags:
  15978. - 风险管理v3
  15979. /Erms3/QueryPendingAuditContract:
  15980. get:
  15981. parameters:
  15982. - description: 资金账号ID列表,逗号隔开
  15983. in: query
  15984. name: accountids
  15985. required: true
  15986. type: string
  15987. - description: 合同类型 1-采购 -1-销售
  15988. in: query
  15989. name: contracttype
  15990. required: true
  15991. type: integer
  15992. - description: 合同模式 1-普通 2-回购
  15993. in: query
  15994. name: contractmode
  15995. required: true
  15996. type: integer
  15997. produces:
  15998. - application/json
  15999. responses:
  16000. "200":
  16001. description: OK
  16002. schema:
  16003. items:
  16004. $ref: '#/definitions/erms3.QryAuditContractRsp'
  16005. type: array
  16006. "500":
  16007. description: Internal Server Error
  16008. schema:
  16009. $ref: '#/definitions/app.Response'
  16010. security:
  16011. - ApiKeyAuth: []
  16012. summary: 查询待审核合同
  16013. tags:
  16014. - 风险管理v3
  16015. /Erms3/QueryPendingBusiness:
  16016. get:
  16017. parameters:
  16018. - description: 资金账号ID列表,逗号隔开
  16019. in: query
  16020. name: accountids
  16021. required: true
  16022. type: string
  16023. produces:
  16024. - application/json
  16025. responses:
  16026. "200":
  16027. description: OK
  16028. schema:
  16029. items:
  16030. $ref: '#/definitions/erms3.QryPendingBizRsp'
  16031. type: array
  16032. "500":
  16033. description: Internal Server Error
  16034. schema:
  16035. $ref: '#/definitions/app.Response'
  16036. security:
  16037. - ApiKeyAuth: []
  16038. summary: 查询待审核基差贸易业务
  16039. tags:
  16040. - 风险管理v3
  16041. /Erms3/QuerySpotContractAppleForm:
  16042. get:
  16043. parameters:
  16044. - description: 登录账号
  16045. in: query
  16046. name: loginID
  16047. required: true
  16048. type: integer
  16049. produces:
  16050. - application/json
  16051. responses:
  16052. "200":
  16053. description: OK
  16054. schema:
  16055. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  16056. "500":
  16057. description: Internal Server Error
  16058. schema:
  16059. $ref: '#/definitions/app.Response'
  16060. security:
  16061. - ApiKeyAuth: []
  16062. summary: 查询合同申请表单数据
  16063. tags:
  16064. - 风险管理v3
  16065. /Erms3/QuerySpotContractDetail:
  16066. get:
  16067. parameters:
  16068. - description: 资金账号ID列表,用逗号分隔
  16069. in: query
  16070. name: accountids
  16071. required: true
  16072. type: string
  16073. - description: 合同类型,1为采购合同 -1为销售合同
  16074. in: query
  16075. name: contracttype
  16076. required: true
  16077. type: integer
  16078. - description: 合同模式,1为普通合同 2为回购销售合同
  16079. in: query
  16080. name: contractmode
  16081. required: true
  16082. type: integer
  16083. - description: 状态,0为履约中 1为已完成
  16084. in: query
  16085. name: status
  16086. required: true
  16087. type: integer
  16088. produces:
  16089. - application/json
  16090. responses:
  16091. "200":
  16092. description: OK
  16093. schema:
  16094. items:
  16095. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  16096. type: array
  16097. "500":
  16098. description: Internal Server Error
  16099. schema:
  16100. $ref: '#/definitions/app.Response'
  16101. security:
  16102. - ApiKeyAuth: []
  16103. summary: 查询合同详细信息
  16104. tags:
  16105. - 风险管理v3
  16106. /Erms3/QueryUserInfoApplies:
  16107. get:
  16108. parameters:
  16109. - description: 页码
  16110. in: query
  16111. name: page
  16112. type: integer
  16113. - description: 每页条数
  16114. in: query
  16115. name: pagesize
  16116. type: integer
  16117. - description: 客户名称,支持模糊查询
  16118. in: query
  16119. name: userName
  16120. type: string
  16121. produces:
  16122. - application/json
  16123. responses:
  16124. "200":
  16125. description: OK
  16126. schema:
  16127. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  16128. "500":
  16129. description: Internal Server Error
  16130. schema:
  16131. $ref: '#/definitions/app.Response'
  16132. security:
  16133. - ApiKeyAuth: []
  16134. summary: 客户申请信息查询
  16135. tags:
  16136. - 风险管理v3
  16137. /Erms3/QueryUserInfos:
  16138. get:
  16139. parameters:
  16140. - description: 页码
  16141. in: query
  16142. name: page
  16143. type: integer
  16144. - description: 每页条数
  16145. in: query
  16146. name: pagesize
  16147. type: integer
  16148. - description: 客户名称,支持模糊查询
  16149. in: query
  16150. name: userName
  16151. type: string
  16152. produces:
  16153. - application/json
  16154. responses:
  16155. "200":
  16156. description: OK
  16157. schema:
  16158. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  16159. "500":
  16160. description: Internal Server Error
  16161. schema:
  16162. $ref: '#/definitions/app.Response'
  16163. security:
  16164. - ApiKeyAuth: []
  16165. summary: 客户信息查询
  16166. tags:
  16167. - 风险管理v3
  16168. /HSBY/GetHsbyMyCount:
  16169. get:
  16170. description: 说明: 不包括已完成的数量。
  16171. parameters:
  16172. - description: 资金账户列表,格式:1,2,3
  16173. in: query
  16174. name: accountIDs
  16175. required: true
  16176. type: string
  16177. produces:
  16178. - application/json
  16179. responses:
  16180. "200":
  16181. description: OK
  16182. schema:
  16183. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  16184. "500":
  16185. description: Internal Server Error
  16186. schema:
  16187. $ref: '#/definitions/app.Response'
  16188. security:
  16189. - ApiKeyAuth: []
  16190. summary: 获取我的订单与包裹数量
  16191. tags:
  16192. - 定制【海商报业】
  16193. /HSBY/QueryClientFixedADConfigs:
  16194. get:
  16195. produces:
  16196. - application/json
  16197. responses:
  16198. "200":
  16199. description: OK
  16200. schema:
  16201. $ref: '#/definitions/models.Clientfixedadconfig'
  16202. "500":
  16203. description: Internal Server Error
  16204. schema:
  16205. $ref: '#/definitions/app.Response'
  16206. security:
  16207. - ApiKeyAuth: []
  16208. summary: 获取终端固定广告配置
  16209. tags:
  16210. - 定制【海商报业】
  16211. /HSBY/QueryHsbyBuyMyTradeDetail:
  16212. get:
  16213. parameters:
  16214. - description: 页码
  16215. in: query
  16216. name: page
  16217. type: integer
  16218. - description: 每页条数
  16219. in: query
  16220. name: pagesize
  16221. type: integer
  16222. - description: 资金账户列表,格式:1,2,3
  16223. in: query
  16224. name: accountIDs
  16225. required: true
  16226. type: string
  16227. produces:
  16228. - application/json
  16229. responses:
  16230. "200":
  16231. description: OK
  16232. schema:
  16233. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  16234. "500":
  16235. description: Internal Server Error
  16236. schema:
  16237. $ref: '#/definitions/app.Response'
  16238. security:
  16239. - ApiKeyAuth: []
  16240. summary: 查询"我的订单 - 已完成"单据信息
  16241. tags:
  16242. - 定制【海商报业】
  16243. /HSBY/QueryHsbyGoodsOrderDetails:
  16244. get:
  16245. description: 说明:查询结果已按委托价格和委托时间排序
  16246. parameters:
  16247. - description: 商品ID
  16248. in: query
  16249. name: goodsID
  16250. required: true
  16251. type: integer
  16252. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  16253. in: query
  16254. name: accountIDs
  16255. type: string
  16256. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  16257. in: query
  16258. name: buyOrSell
  16259. type: integer
  16260. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  16261. in: query
  16262. name: price
  16263. type: number
  16264. - description: 档位,不传则默认为3档
  16265. in: query
  16266. name: speed
  16267. type: integer
  16268. produces:
  16269. - application/json
  16270. responses:
  16271. "200":
  16272. description: OK
  16273. schema:
  16274. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  16275. "500":
  16276. description: Internal Server Error
  16277. schema:
  16278. $ref: '#/definitions/app.Response'
  16279. security:
  16280. - ApiKeyAuth: []
  16281. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  16282. tags:
  16283. - 定制【海商报业】
  16284. /HSBY/QueryHsbyListingGoodsDetail:
  16285. get:
  16286. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  16287. parameters:
  16288. - description: 商品ID
  16289. in: query
  16290. name: goodsID
  16291. required: true
  16292. type: integer
  16293. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  16294. in: query
  16295. name: accountID
  16296. type: integer
  16297. produces:
  16298. - application/json
  16299. responses:
  16300. "200":
  16301. description: OK
  16302. schema:
  16303. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  16304. "500":
  16305. description: Internal Server Error
  16306. schema:
  16307. $ref: '#/definitions/app.Response'
  16308. security:
  16309. - ApiKeyAuth: []
  16310. summary: 查询二级市场(挂牌点选)商品信息详情
  16311. tags:
  16312. - 定制【海商报业】
  16313. /HSBY/QueryHsbyMarketGoodsDetail:
  16314. get:
  16315. parameters:
  16316. - description: 委托单号
  16317. in: query
  16318. name: orderID
  16319. required: true
  16320. type: integer
  16321. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  16322. in: query
  16323. name: accountID
  16324. type: integer
  16325. produces:
  16326. - application/json
  16327. responses:
  16328. "200":
  16329. description: OK
  16330. schema:
  16331. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16332. "500":
  16333. description: Internal Server Error
  16334. schema:
  16335. $ref: '#/definitions/app.Response'
  16336. security:
  16337. - ApiKeyAuth: []
  16338. summary: 查询三级市场(商城)商品信息详情
  16339. tags:
  16340. - 定制【海商报业】
  16341. /HSBY/QueryHsbyMarketGoodses:
  16342. get:
  16343. parameters:
  16344. - description: 页码
  16345. in: query
  16346. name: page
  16347. type: integer
  16348. - description: 每页条数
  16349. in: query
  16350. name: pagesize
  16351. type: integer
  16352. - description: 市场ID列表,格式:1,2,3
  16353. in: query
  16354. name: marketIDs
  16355. required: true
  16356. type: string
  16357. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  16358. in: query
  16359. name: accountID
  16360. required: true
  16361. type: integer
  16362. - description: 类别ID
  16363. in: query
  16364. name: categoryID
  16365. type: integer
  16366. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16367. in: query
  16368. name: goodsIDs
  16369. type: string
  16370. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  16371. in: query
  16372. name: couponTypeID
  16373. type: integer
  16374. produces:
  16375. - application/json
  16376. responses:
  16377. "200":
  16378. description: OK
  16379. schema:
  16380. $ref: '#/definitions/models.HsbyMarketGoods'
  16381. "500":
  16382. description: Internal Server Error
  16383. schema:
  16384. $ref: '#/definitions/app.Response'
  16385. security:
  16386. - ApiKeyAuth: []
  16387. summary: 查询特卖商品列表(三级商城)
  16388. tags:
  16389. - 定制【海商报业】
  16390. /HSBY/QueryHsbyMarkets:
  16391. get:
  16392. produces:
  16393. - application/json
  16394. responses:
  16395. "200":
  16396. description: OK
  16397. schema:
  16398. $ref: '#/definitions/models.HsbyMarketInfo'
  16399. "500":
  16400. description: Internal Server Error
  16401. schema:
  16402. $ref: '#/definitions/app.Response'
  16403. security:
  16404. - ApiKeyAuth: []
  16405. summary: 查询海商报业相关市场信息
  16406. tags:
  16407. - 定制【海商报业】
  16408. /HSBY/QueryHsbyMyBuyOrderDetails:
  16409. get:
  16410. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  16411. parameters:
  16412. - description: 资金账户列表,格式:1,2,3
  16413. in: query
  16414. name: accountIDs
  16415. required: true
  16416. type: string
  16417. produces:
  16418. - application/json
  16419. responses:
  16420. "200":
  16421. description: OK
  16422. schema:
  16423. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  16424. "500":
  16425. description: Internal Server Error
  16426. schema:
  16427. $ref: '#/definitions/app.Response'
  16428. security:
  16429. - ApiKeyAuth: []
  16430. summary: 查询“我的订单”信息
  16431. tags:
  16432. - 定制【海商报业】
  16433. /HSBY/QueryHsbyMyGoods:
  16434. get:
  16435. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  16436. parameters:
  16437. - description: 资金账户列表,格式:1,2,3
  16438. in: query
  16439. name: accountIDs
  16440. required: true
  16441. type: string
  16442. produces:
  16443. - application/json
  16444. responses:
  16445. "200":
  16446. description: OK
  16447. schema:
  16448. $ref: '#/definitions/models.HsbyMyGoods'
  16449. "500":
  16450. description: Internal Server Error
  16451. schema:
  16452. $ref: '#/definitions/app.Response'
  16453. security:
  16454. - ApiKeyAuth: []
  16455. summary: 查询“我的商品”信息
  16456. tags:
  16457. - 定制【海商报业】
  16458. /HSBY/QueryHsbyMyPackages:
  16459. get:
  16460. parameters:
  16461. - description: 资金账户列表,格式:1,2,3
  16462. in: query
  16463. name: accountIDs
  16464. required: true
  16465. type: string
  16466. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16467. in: query
  16468. name: takeOrderStatus
  16469. type: integer
  16470. produces:
  16471. - application/json
  16472. responses:
  16473. "200":
  16474. description: OK
  16475. schema:
  16476. $ref: '#/definitions/models.HsbyMyPackage'
  16477. "500":
  16478. description: Internal Server Error
  16479. schema:
  16480. $ref: '#/definitions/app.Response'
  16481. security:
  16482. - ApiKeyAuth: []
  16483. summary: 查询我的包裹信息
  16484. tags:
  16485. - 定制【海商报业】
  16486. /HSBY/QueryHsbyPreGoodsDetail:
  16487. get:
  16488. parameters:
  16489. - description: 商品ID
  16490. in: query
  16491. name: goodsID
  16492. required: true
  16493. type: integer
  16494. - description: 资金账户,主要用于获取预售商品购买上限
  16495. in: query
  16496. name: accountID
  16497. type: integer
  16498. produces:
  16499. - application/json
  16500. responses:
  16501. "200":
  16502. description: OK
  16503. schema:
  16504. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  16505. "500":
  16506. description: Internal Server Error
  16507. schema:
  16508. $ref: '#/definitions/app.Response'
  16509. security:
  16510. - ApiKeyAuth: []
  16511. summary: 查询一级市场(预售)商品信息详情
  16512. tags:
  16513. - 定制【海商报业】
  16514. /HSBY/QueryHsbyPreGoodses:
  16515. get:
  16516. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  16517. parameters:
  16518. - description: 页码
  16519. in: query
  16520. name: page
  16521. type: integer
  16522. - description: 每页条数
  16523. in: query
  16524. name: pagesize
  16525. type: integer
  16526. - description: 市场ID列表,格式:1,2,3
  16527. in: query
  16528. name: marketIDs
  16529. required: true
  16530. type: string
  16531. - description: 目的地(省)ID
  16532. in: query
  16533. name: descProvinceID
  16534. type: integer
  16535. - description: 目的地(市)ID
  16536. in: query
  16537. name: descCityID
  16538. type: integer
  16539. produces:
  16540. - application/json
  16541. responses:
  16542. "200":
  16543. description: OK
  16544. schema:
  16545. $ref: '#/definitions/models.HsbyPreGoods'
  16546. "500":
  16547. description: Internal Server Error
  16548. schema:
  16549. $ref: '#/definitions/app.Response'
  16550. security:
  16551. - ApiKeyAuth: []
  16552. summary: 查询新品上市商品列表(一级市场预售)
  16553. tags:
  16554. - 定制【海商报业】
  16555. /HSBY/QueryHsbySellMyDetails:
  16556. get:
  16557. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  16558. parameters:
  16559. - description: 页码
  16560. in: query
  16561. name: page
  16562. type: integer
  16563. - description: 每页条数
  16564. in: query
  16565. name: pagesize
  16566. type: integer
  16567. - description: 资金账户列表,格式:1,2,3
  16568. in: query
  16569. name: accountIDs
  16570. required: true
  16571. type: string
  16572. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  16573. in: query
  16574. name: orderType
  16575. type: integer
  16576. produces:
  16577. - application/json
  16578. responses:
  16579. "200":
  16580. description: OK
  16581. schema:
  16582. $ref: '#/definitions/models.HsbySellMyDetail'
  16583. "500":
  16584. description: Internal Server Error
  16585. schema:
  16586. $ref: '#/definitions/app.Response'
  16587. security:
  16588. - ApiKeyAuth: []
  16589. summary: 查询"我的闲置"单据信息
  16590. tags:
  16591. - 定制【海商报业】
  16592. /HSBY/QueryHsbyTopGoodses:
  16593. get:
  16594. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  16595. parameters:
  16596. - description: 页码
  16597. in: query
  16598. name: page
  16599. type: integer
  16600. - description: 每页条数
  16601. in: query
  16602. name: pagesize
  16603. type: integer
  16604. - description: 市场ID列表,格式:1,2,3
  16605. in: query
  16606. name: marketIDs
  16607. required: true
  16608. type: string
  16609. - description: 目的地(省)ID
  16610. in: query
  16611. name: descProvinceID
  16612. type: integer
  16613. - description: 目的地(市)ID
  16614. in: query
  16615. name: descCityID
  16616. type: integer
  16617. produces:
  16618. - application/json
  16619. responses:
  16620. "200":
  16621. description: OK
  16622. schema:
  16623. $ref: '#/definitions/models.HsbyTopGoods'
  16624. "500":
  16625. description: Internal Server Error
  16626. schema:
  16627. $ref: '#/definitions/app.Response'
  16628. security:
  16629. - ApiKeyAuth: []
  16630. summary: 查询热卖商品列表(二级市场挂牌点选)
  16631. tags:
  16632. - 定制【海商报业】
  16633. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  16634. get:
  16635. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  16636. parameters:
  16637. - description: 商品ID
  16638. in: query
  16639. name: goodsID
  16640. required: true
  16641. type: integer
  16642. produces:
  16643. - application/json
  16644. responses:
  16645. "200":
  16646. description: OK
  16647. schema:
  16648. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16649. "500":
  16650. description: Internal Server Error
  16651. schema:
  16652. $ref: '#/definitions/app.Response'
  16653. security:
  16654. - ApiKeyAuth: []
  16655. summary: 查询游客三级市场(商城)商品信息详情
  16656. tags:
  16657. - 定制【海商报业】
  16658. /HSBY/QueryHsbyVisitorMarketGoodses:
  16659. get:
  16660. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  16661. parameters:
  16662. - description: 页码
  16663. in: query
  16664. name: page
  16665. type: integer
  16666. - description: 每页条数
  16667. in: query
  16668. name: pagesize
  16669. type: integer
  16670. - description: 市场ID列表,格式:1,2,3
  16671. in: query
  16672. name: marketIDs
  16673. required: true
  16674. type: string
  16675. - description: 类别ID
  16676. in: query
  16677. name: categoryID
  16678. type: integer
  16679. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16680. in: query
  16681. name: goodsIDs
  16682. type: string
  16683. produces:
  16684. - application/json
  16685. responses:
  16686. "200":
  16687. description: OK
  16688. schema:
  16689. $ref: '#/definitions/models.HsbyMarketGoods'
  16690. "500":
  16691. description: Internal Server Error
  16692. schema:
  16693. $ref: '#/definitions/app.Response'
  16694. security:
  16695. - ApiKeyAuth: []
  16696. summary: 查询游客特卖商品列表(三级商城)
  16697. tags:
  16698. - 定制【海商报业】
  16699. /HSBY/QueryMyCollectionOrders:
  16700. get:
  16701. parameters:
  16702. - description: 页码
  16703. in: query
  16704. name: page
  16705. type: integer
  16706. - description: 每页条数
  16707. in: query
  16708. name: pagesize
  16709. type: integer
  16710. - description: 资金账户,格式:1,2,3
  16711. in: query
  16712. name: accountIDs
  16713. required: true
  16714. type: string
  16715. produces:
  16716. - application/json
  16717. responses:
  16718. "200":
  16719. description: OK
  16720. schema:
  16721. $ref: '#/definitions/models.HsbySellCollectionOrder'
  16722. "500":
  16723. description: Internal Server Error
  16724. schema:
  16725. $ref: '#/definitions/app.Response'
  16726. security:
  16727. - ApiKeyAuth: []
  16728. summary: 我的闲置中收款信息查询
  16729. tags:
  16730. - 定制【海商报业】
  16731. /HSBY/QueryMyCouponHolds:
  16732. get:
  16733. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  16734. parameters:
  16735. - description: 资金账户列表,格式:1,2,3
  16736. in: query
  16737. name: accountIDs
  16738. required: true
  16739. type: string
  16740. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  16741. in: query
  16742. name: holdStatus
  16743. type: string
  16744. produces:
  16745. - application/json
  16746. responses:
  16747. "200":
  16748. description: OK
  16749. schema:
  16750. $ref: '#/definitions/models.MyCouponHold'
  16751. "500":
  16752. description: Internal Server Error
  16753. schema:
  16754. $ref: '#/definitions/app.Response'
  16755. security:
  16756. - ApiKeyAuth: []
  16757. summary: 我的优惠卷持仓查询
  16758. tags:
  16759. - 定制【海商报业】
  16760. /HSBY/QueryMyCoupons:
  16761. get:
  16762. parameters:
  16763. - description: 资金账户列表,格式:1,2,3
  16764. in: query
  16765. name: accountIDs
  16766. required: true
  16767. type: string
  16768. - description: 商品ID, 一般与sellUserID配套传入
  16769. in: query
  16770. name: goodsID
  16771. type: integer
  16772. - description: 卖方UserID
  16773. in: query
  16774. name: sellUserID
  16775. type: integer
  16776. produces:
  16777. - application/json
  16778. responses:
  16779. "200":
  16780. description: OK
  16781. schema:
  16782. $ref: '#/definitions/models.MyCoupon'
  16783. "500":
  16784. description: Internal Server Error
  16785. schema:
  16786. $ref: '#/definitions/app.Response'
  16787. security:
  16788. - ApiKeyAuth: []
  16789. summary: 我的优惠卷查询
  16790. tags:
  16791. - 定制【海商报业】
  16792. /HSBY/QueryMyPayOrders:
  16793. get:
  16794. parameters:
  16795. - description: 页码
  16796. in: query
  16797. name: page
  16798. type: integer
  16799. - description: 每页条数
  16800. in: query
  16801. name: pagesize
  16802. type: integer
  16803. - description: 资金账户列表,格式:1,2,3
  16804. in: query
  16805. name: accountIDs
  16806. required: true
  16807. type: string
  16808. - description: 买方委托单号
  16809. in: query
  16810. name: buyOrderID
  16811. type: integer
  16812. - description: 卖方委托单号
  16813. in: query
  16814. name: sellOrderID
  16815. type: integer
  16816. produces:
  16817. - application/json
  16818. responses:
  16819. "200":
  16820. description: OK
  16821. schema:
  16822. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  16823. "500":
  16824. description: Internal Server Error
  16825. schema:
  16826. $ref: '#/definitions/app.Response'
  16827. security:
  16828. - ApiKeyAuth: []
  16829. summary: 获取我的订单中待付款信息
  16830. tags:
  16831. - 定制【海商报业】
  16832. /HSBY/QueryMyUsedCoupon:
  16833. get:
  16834. parameters:
  16835. - description: 资金账户列表,格式:1,2,3
  16836. in: query
  16837. name: accountIDs
  16838. required: true
  16839. type: string
  16840. produces:
  16841. - application/json
  16842. responses:
  16843. "200":
  16844. description: OK
  16845. schema:
  16846. $ref: '#/definitions/models.MyUsedCoupon'
  16847. "500":
  16848. description: Internal Server Error
  16849. schema:
  16850. $ref: '#/definitions/app.Response'
  16851. security:
  16852. - ApiKeyAuth: []
  16853. summary: 已使用优惠卷查询
  16854. tags:
  16855. - 定制【海商报业】
  16856. /HSBY/QueryProvincesAndCities:
  16857. get:
  16858. description: 查询结果只包括二级市场商品已关连的省市信息。
  16859. parameters:
  16860. - description: 省ID
  16861. in: query
  16862. name: provinceID
  16863. type: integer
  16864. produces:
  16865. - application/json
  16866. responses:
  16867. "200":
  16868. description: OK
  16869. schema:
  16870. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  16871. "500":
  16872. description: Internal Server Error
  16873. schema:
  16874. $ref: '#/definitions/app.Response'
  16875. security:
  16876. - ApiKeyAuth: []
  16877. summary: 查询省市信息(不包括区)
  16878. tags:
  16879. - 定制【海商报业】
  16880. /HSBY/SetHsbyMyPackagesStatus:
  16881. post:
  16882. parameters:
  16883. - description: 提货单号
  16884. in: query
  16885. name: takeOrderID
  16886. required: true
  16887. type: string
  16888. - description: 资金账号
  16889. in: query
  16890. name: accountID
  16891. required: true
  16892. type: integer
  16893. produces:
  16894. - application/json
  16895. responses:
  16896. "200":
  16897. description: OK
  16898. schema:
  16899. $ref: '#/definitions/app.Response'
  16900. "500":
  16901. description: Internal Server Error
  16902. schema:
  16903. $ref: '#/definitions/app.Response'
  16904. security:
  16905. - ApiKeyAuth: []
  16906. summary: 设置我的包裹已收货状态
  16907. tags:
  16908. - 定制【海商报业】
  16909. /Market/QueryGoodsesByLoginID:
  16910. get:
  16911. parameters:
  16912. - description: 登录账号
  16913. in: query
  16914. name: loginID
  16915. required: true
  16916. type: integer
  16917. - description: 市场ID列表,格式:1,2,3
  16918. in: query
  16919. name: marketIDs
  16920. type: string
  16921. produces:
  16922. - application/json
  16923. responses:
  16924. "200":
  16925. description: OK
  16926. schema:
  16927. $ref: '#/definitions/models.Goods'
  16928. "500":
  16929. description: Internal Server Error
  16930. schema:
  16931. $ref: '#/definitions/app.Response'
  16932. security:
  16933. - ApiKeyAuth: []
  16934. summary: 获取登录账号有权限的商品信息
  16935. tags:
  16936. - 通用市场
  16937. /Market/QueryMarketRun:
  16938. get:
  16939. parameters:
  16940. - description: 市场ID,不传返回所有
  16941. in: query
  16942. name: marketID
  16943. type: integer
  16944. produces:
  16945. - application/json
  16946. responses:
  16947. "200":
  16948. description: OK
  16949. schema:
  16950. $ref: '#/definitions/models.Marketrun'
  16951. "500":
  16952. description: Internal Server Error
  16953. schema:
  16954. $ref: '#/definitions/app.Response'
  16955. security:
  16956. - ApiKeyAuth: []
  16957. summary: 查询市场运行信息
  16958. tags:
  16959. - 通用市场
  16960. /Market/QueryMarketsByLoginID:
  16961. get:
  16962. parameters:
  16963. - description: 登录账号
  16964. in: query
  16965. name: loginID
  16966. required: true
  16967. type: integer
  16968. produces:
  16969. - application/json
  16970. responses:
  16971. "200":
  16972. description: OK
  16973. schema:
  16974. $ref: '#/definitions/models.Market'
  16975. "500":
  16976. description: Internal Server Error
  16977. schema:
  16978. $ref: '#/definitions/app.Response'
  16979. security:
  16980. - ApiKeyAuth: []
  16981. summary: 获取登录账号有权限的市场信息
  16982. tags:
  16983. - 通用市场
  16984. /Order/QueryHisTradeDetail:
  16985. get:
  16986. parameters:
  16987. - description: 资金账户 - 格式:1,2,3
  16988. in: query
  16989. name: accountID
  16990. required: true
  16991. type: string
  16992. - description: 成交单号
  16993. in: query
  16994. name: tradeID
  16995. type: integer
  16996. - description: 委托单号
  16997. in: query
  16998. name: orderID
  16999. type: integer
  17000. - description: 交易模式 - 格式:1,2,3
  17001. in: query
  17002. name: tradeMode
  17003. type: string
  17004. - description: 委托单据类型
  17005. in: query
  17006. name: buildType
  17007. type: integer
  17008. - description: 成交类别 - 格式:1,2,3
  17009. in: query
  17010. name: tradeType
  17011. type: string
  17012. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17013. in: query
  17014. name: startDate
  17015. type: string
  17016. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17017. in: query
  17018. name: endDate
  17019. type: string
  17020. produces:
  17021. - application/json
  17022. responses:
  17023. "200":
  17024. description: OK
  17025. schema:
  17026. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  17027. "500":
  17028. description: Internal Server Error
  17029. schema:
  17030. $ref: '#/definitions/app.Response'
  17031. security:
  17032. - ApiKeyAuth: []
  17033. summary: 历史成交单查询(合约市场)
  17034. tags:
  17035. - 通用单据
  17036. /Order/QueryHisTradeOrderDetail:
  17037. get:
  17038. parameters:
  17039. - description: 资金账户 - 格式:1,2,3
  17040. in: query
  17041. name: accountID
  17042. required: true
  17043. type: string
  17044. - description: 交易模式 - 格式:1,2,3
  17045. in: query
  17046. name: tradeMode
  17047. type: string
  17048. - description: 委托状态 - 格式:1,2,3
  17049. in: query
  17050. name: orderStatus
  17051. type: string
  17052. - description: 委托单号
  17053. in: query
  17054. name: orderID
  17055. type: integer
  17056. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17057. in: query
  17058. name: startDate
  17059. type: string
  17060. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17061. in: query
  17062. name: endDate
  17063. type: string
  17064. produces:
  17065. - application/json
  17066. responses:
  17067. "200":
  17068. description: OK
  17069. schema:
  17070. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  17071. "500":
  17072. description: Internal Server Error
  17073. schema:
  17074. $ref: '#/definitions/app.Response'
  17075. security:
  17076. - ApiKeyAuth: []
  17077. summary: 历史委托单查询请求(合约市场)
  17078. tags:
  17079. - 通用单据
  17080. /Order/QueryTradeDetail:
  17081. get:
  17082. parameters:
  17083. - description: 资金账户 - 格式:1,2,3
  17084. in: query
  17085. name: accountID
  17086. required: true
  17087. type: string
  17088. - description: 成交单号
  17089. in: query
  17090. name: tradeID
  17091. type: integer
  17092. - description: 委托单号
  17093. in: query
  17094. name: orderID
  17095. type: integer
  17096. - description: 交易模式 - 格式:1,2,3
  17097. in: query
  17098. name: tradeMode
  17099. type: string
  17100. - description: 委托单据类型
  17101. in: query
  17102. name: buildType
  17103. type: integer
  17104. - description: 成交类别 - 格式:1,2,3
  17105. in: query
  17106. name: tradeType
  17107. type: string
  17108. produces:
  17109. - application/json
  17110. responses:
  17111. "200":
  17112. description: OK
  17113. schema:
  17114. $ref: '#/definitions/order.QueryTradeDetailRsp'
  17115. "500":
  17116. description: Internal Server Error
  17117. schema:
  17118. $ref: '#/definitions/app.Response'
  17119. security:
  17120. - ApiKeyAuth: []
  17121. summary: 成交单查询(合约市场)
  17122. tags:
  17123. - 通用单据
  17124. /Order/QueryTradeOrderDetail:
  17125. get:
  17126. parameters:
  17127. - description: 资金账户 - 格式:1,2,3
  17128. in: query
  17129. name: accountID
  17130. required: true
  17131. type: string
  17132. - description: 交易模式 - 格式:1,2,3
  17133. in: query
  17134. name: tradeMode
  17135. type: string
  17136. - description: 委托状态 - 格式:1,2,3
  17137. in: query
  17138. name: orderStatus
  17139. type: string
  17140. - description: 委托单号
  17141. in: query
  17142. name: orderID
  17143. type: integer
  17144. produces:
  17145. - application/json
  17146. responses:
  17147. "200":
  17148. description: OK
  17149. schema:
  17150. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  17151. "500":
  17152. description: Internal Server Error
  17153. schema:
  17154. $ref: '#/definitions/app.Response'
  17155. security:
  17156. - ApiKeyAuth: []
  17157. summary: 委托单查询请求(合约市场)
  17158. tags:
  17159. - 通用单据
  17160. /Order/QueryTradePosition:
  17161. get:
  17162. parameters:
  17163. - description: 资金账户 - 格式:1,2,3
  17164. in: query
  17165. name: accountID
  17166. required: true
  17167. type: string
  17168. - description: 交易模式 - 格式:1,2,3
  17169. in: query
  17170. name: tradeMode
  17171. type: string
  17172. produces:
  17173. - application/json
  17174. responses:
  17175. "200":
  17176. description: OK
  17177. schema:
  17178. $ref: '#/definitions/order.QueryTradePositionRsp'
  17179. "500":
  17180. description: Internal Server Error
  17181. schema:
  17182. $ref: '#/definitions/app.Response'
  17183. security:
  17184. - ApiKeyAuth: []
  17185. summary: 持仓汇总查询(合约市场)
  17186. tags:
  17187. - 通用单据
  17188. /Quote/QueryHistoryDatas:
  17189. get:
  17190. parameters:
  17191. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  17192. 日线'
  17193. in: query
  17194. name: cycleType
  17195. required: true
  17196. type: integer
  17197. - description: 商品代码
  17198. in: query
  17199. name: goodsCode
  17200. required: true
  17201. type: string
  17202. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17203. in: query
  17204. name: startTime
  17205. type: string
  17206. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17207. in: query
  17208. name: endTime
  17209. type: string
  17210. - description: 条数
  17211. in: query
  17212. name: count
  17213. type: integer
  17214. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17215. in: query
  17216. name: isAsc
  17217. type: boolean
  17218. produces:
  17219. - application/json
  17220. responses:
  17221. "200":
  17222. description: OK
  17223. schema:
  17224. $ref: '#/definitions/quote.HistoryData'
  17225. "500":
  17226. description: Internal Server Error
  17227. schema:
  17228. $ref: '#/definitions/app.Response'
  17229. security:
  17230. - ApiKeyAuth: []
  17231. summary: 查询行情历史数据
  17232. tags:
  17233. - 行情服务
  17234. /Quote/QueryHistoryTikDatas:
  17235. get:
  17236. parameters:
  17237. - description: 商品代码
  17238. in: query
  17239. name: goodsCode
  17240. required: true
  17241. type: string
  17242. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17243. in: query
  17244. name: startTime
  17245. type: string
  17246. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17247. in: query
  17248. name: endTime
  17249. type: string
  17250. - description: 条数
  17251. in: query
  17252. name: count
  17253. type: integer
  17254. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17255. in: query
  17256. name: isAsc
  17257. type: boolean
  17258. produces:
  17259. - application/json
  17260. responses:
  17261. "200":
  17262. description: OK
  17263. schema:
  17264. $ref: '#/definitions/quote.HistoryTikData'
  17265. "500":
  17266. description: Internal Server Error
  17267. schema:
  17268. $ref: '#/definitions/app.Response'
  17269. security:
  17270. - ApiKeyAuth: []
  17271. summary: 查询行情Tik数据
  17272. tags:
  17273. - 行情服务
  17274. /Quote/QueryQuoteDay:
  17275. get:
  17276. parameters:
  17277. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  17278. in: query
  17279. name: goodsCodes
  17280. required: true
  17281. type: string
  17282. produces:
  17283. - application/json
  17284. responses:
  17285. "200":
  17286. description: OK
  17287. schema:
  17288. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  17289. "500":
  17290. description: Internal Server Error
  17291. schema:
  17292. $ref: '#/definitions/app.Response'
  17293. security:
  17294. - ApiKeyAuth: []
  17295. summary: 获取商品盘面信息
  17296. tags:
  17297. - 行情服务
  17298. /Quote/QueryTSData:
  17299. get:
  17300. parameters:
  17301. - description: 商品代码
  17302. in: query
  17303. name: goodsCode
  17304. required: true
  17305. type: string
  17306. produces:
  17307. - application/json
  17308. responses:
  17309. "200":
  17310. description: OK
  17311. schema:
  17312. $ref: '#/definitions/quote.QueryTSDataRsp'
  17313. "500":
  17314. description: Internal Server Error
  17315. schema:
  17316. $ref: '#/definitions/app.Response'
  17317. security:
  17318. - ApiKeyAuth: []
  17319. summary: 分时图数据查询
  17320. tags:
  17321. - 行情服务
  17322. /SZDZ/QueryConvertConfig:
  17323. get:
  17324. parameters:
  17325. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  17326. 6:交易转花生米(不设置)
  17327. in: query
  17328. name: convertType
  17329. type: integer
  17330. - description: 外部商品代码[JD\PD]
  17331. in: query
  17332. name: outerGoodsCode
  17333. type: string
  17334. - description: 内部商品ID列表[交易],格式:1,2,3
  17335. in: query
  17336. name: innerGoodsIDs
  17337. type: string
  17338. produces:
  17339. - application/json
  17340. responses:
  17341. "200":
  17342. description: OK
  17343. schema:
  17344. $ref: '#/definitions/models.Szdz3convertconfig'
  17345. "500":
  17346. description: Internal Server Error
  17347. schema:
  17348. $ref: '#/definitions/app.Response'
  17349. security:
  17350. - ApiKeyAuth: []
  17351. summary: 查询交易系统转换设置
  17352. tags:
  17353. - 定制【尚志大宗】
  17354. /SZDZ/QueryConvertLog:
  17355. get:
  17356. parameters:
  17357. - description: 资金账户 - 格式:1,2,3
  17358. in: query
  17359. name: accountID
  17360. required: true
  17361. type: string
  17362. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17363. in: query
  17364. name: startDate
  17365. type: string
  17366. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17367. in: query
  17368. name: endDate
  17369. type: string
  17370. produces:
  17371. - application/json
  17372. responses:
  17373. "200":
  17374. description: OK
  17375. schema:
  17376. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  17377. "500":
  17378. description: Internal Server Error
  17379. schema:
  17380. $ref: '#/definitions/app.Response'
  17381. security:
  17382. - ApiKeyAuth: []
  17383. summary: 交易系统转换流水查询
  17384. tags:
  17385. - 定制【尚志大宗】
  17386. /SZDZ/QueryGoodsPickup:
  17387. get:
  17388. parameters:
  17389. - description: 资金账户 - 格式:1,2,3
  17390. in: query
  17391. name: accountID
  17392. required: true
  17393. type: string
  17394. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17395. in: query
  17396. name: takeOrderStatus
  17397. type: integer
  17398. produces:
  17399. - application/json
  17400. responses:
  17401. "200":
  17402. description: OK
  17403. schema:
  17404. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  17405. "500":
  17406. description: Internal Server Error
  17407. schema:
  17408. $ref: '#/definitions/app.Response'
  17409. security:
  17410. - ApiKeyAuth: []
  17411. summary: 商品提货单查询
  17412. tags:
  17413. - 定制【尚志大宗】
  17414. /SZDZ/QueryRecieptOrder:
  17415. get:
  17416. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17417. parameters:
  17418. - description: 页码
  17419. in: query
  17420. name: page
  17421. type: integer
  17422. - description: 每页条数
  17423. in: query
  17424. name: pagesize
  17425. type: integer
  17426. - description: 商品ID
  17427. in: query
  17428. name: goodsID
  17429. required: true
  17430. type: integer
  17431. - description: 所属账户名称
  17432. in: query
  17433. name: accountName
  17434. type: string
  17435. - description: 市场ID
  17436. in: query
  17437. name: marketID
  17438. type: integer
  17439. - description: 方向 - 0:买 1:卖
  17440. in: query
  17441. name: buyorsell
  17442. required: true
  17443. type: integer
  17444. produces:
  17445. - application/json
  17446. responses:
  17447. "200":
  17448. description: OK
  17449. schema:
  17450. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  17451. "500":
  17452. description: Internal Server Error
  17453. schema:
  17454. $ref: '#/definitions/app.Response'
  17455. security:
  17456. - ApiKeyAuth: []
  17457. summary: 点选挂牌委托单据查询(摘牌大厅)
  17458. tags:
  17459. - 定制【尚志大宗】
  17460. /SZDZ/QuerySZDZTradePosition:
  17461. get:
  17462. parameters:
  17463. - description: 资金账户
  17464. in: query
  17465. name: accountID
  17466. required: true
  17467. type: integer
  17468. produces:
  17469. - application/json
  17470. responses:
  17471. "200":
  17472. description: OK
  17473. schema:
  17474. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  17475. "500":
  17476. description: Internal Server Error
  17477. schema:
  17478. $ref: '#/definitions/app.Response'
  17479. security:
  17480. - ApiKeyAuth: []
  17481. summary: 持仓汇总查询(尚志大宗)
  17482. tags:
  17483. - 定制【尚志大宗】
  17484. /SZDZ/SearchWhite:
  17485. get:
  17486. parameters:
  17487. - description: 用户ID
  17488. in: query
  17489. name: userID
  17490. required: true
  17491. type: integer
  17492. produces:
  17493. - application/json
  17494. responses:
  17495. "200":
  17496. description: OK
  17497. schema:
  17498. $ref: '#/definitions/models.Szdz3searchwhitelist'
  17499. "500":
  17500. description: Internal Server Error
  17501. schema:
  17502. $ref: '#/definitions/app.Response'
  17503. security:
  17504. - ApiKeyAuth: []
  17505. summary: 搜索白名单
  17506. tags:
  17507. - 定制【尚志大宗】
  17508. /Search/SearchGoodses:
  17509. get:
  17510. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  17511. parameters:
  17512. - description: 检索内容
  17513. in: query
  17514. name: content
  17515. required: true
  17516. type: string
  17517. - description: 交易模式,格式:1,2,3
  17518. in: query
  17519. name: tradeModes
  17520. type: string
  17521. produces:
  17522. - application/json
  17523. responses:
  17524. "200":
  17525. description: OK
  17526. schema:
  17527. $ref: '#/definitions/models.SearchGoods'
  17528. "500":
  17529. description: Internal Server Error
  17530. schema:
  17531. $ref: '#/definitions/app.Response'
  17532. summary: 检索商品信息
  17533. tags:
  17534. - 检索服务
  17535. /TaAccount/GetTaAccounts:
  17536. get:
  17537. parameters:
  17538. - description: 登录账户
  17539. in: query
  17540. name: loginID
  17541. required: true
  17542. type: integer
  17543. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17544. in: query
  17545. name: taAccountType
  17546. type: integer
  17547. produces:
  17548. - application/json
  17549. responses:
  17550. "200":
  17551. description: OK
  17552. schema:
  17553. $ref: '#/definitions/models.Taaccount'
  17554. "500":
  17555. description: Internal Server Error
  17556. schema:
  17557. $ref: '#/definitions/app.Response'
  17558. security:
  17559. - ApiKeyAuth: []
  17560. summary: 获取资金账户信息
  17561. tags:
  17562. - 资金账户
  17563. /TaAccount/QueryAmountLog:
  17564. get:
  17565. parameters:
  17566. - description: 页码
  17567. in: query
  17568. name: page
  17569. type: integer
  17570. - description: 每页条数
  17571. in: query
  17572. name: pagesize
  17573. type: integer
  17574. - description: 资金账户 - 格式:1,2,3
  17575. in: query
  17576. name: accountID
  17577. required: true
  17578. type: string
  17579. - description: 资金操作类型 - 格式:1,2,3
  17580. in: query
  17581. name: OperateType
  17582. type: string
  17583. produces:
  17584. - application/json
  17585. responses:
  17586. "200":
  17587. description: OK
  17588. schema:
  17589. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  17590. "500":
  17591. description: Internal Server Error
  17592. schema:
  17593. $ref: '#/definitions/app.Response'
  17594. security:
  17595. - ApiKeyAuth: []
  17596. summary: 资金流水查询(当前)
  17597. tags:
  17598. - 资金账户
  17599. /TaAccount/QueryHisAmountLog:
  17600. get:
  17601. parameters:
  17602. - description: 页码
  17603. in: query
  17604. name: page
  17605. type: integer
  17606. - description: 每页条数
  17607. in: query
  17608. name: pagesize
  17609. type: integer
  17610. - description: 资金账户 - 格式:1,2,3
  17611. in: query
  17612. name: accountID
  17613. required: true
  17614. type: string
  17615. - description: 资金操作类型 - 格式:1,2,3
  17616. in: query
  17617. name: OperateType
  17618. type: string
  17619. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17620. in: query
  17621. name: startDate
  17622. type: string
  17623. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17624. in: query
  17625. name: endDate
  17626. type: string
  17627. produces:
  17628. - application/json
  17629. responses:
  17630. "200":
  17631. description: OK
  17632. schema:
  17633. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  17634. "500":
  17635. description: Internal Server Error
  17636. schema:
  17637. $ref: '#/definitions/app.Response'
  17638. security:
  17639. - ApiKeyAuth: []
  17640. summary: 资金流水查询(历史)
  17641. tags:
  17642. - 资金账户
  17643. /Trade/QueryRecieptOrder:
  17644. get:
  17645. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17646. parameters:
  17647. - description: 页码
  17648. in: query
  17649. name: page
  17650. type: integer
  17651. - description: 每页条数
  17652. in: query
  17653. name: pagesize
  17654. type: integer
  17655. - description: 商品ID
  17656. in: query
  17657. name: goodsID
  17658. required: true
  17659. type: integer
  17660. - description: 所属账户名称
  17661. in: query
  17662. name: accountName
  17663. type: string
  17664. - description: 市场ID
  17665. in: query
  17666. name: marketID
  17667. type: integer
  17668. - description: 方向 - 0:买 1:卖
  17669. in: query
  17670. name: buyorsell
  17671. required: true
  17672. type: integer
  17673. produces:
  17674. - application/json
  17675. responses:
  17676. "200":
  17677. description: OK
  17678. schema:
  17679. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  17680. "500":
  17681. description: Internal Server Error
  17682. schema:
  17683. $ref: '#/definitions/app.Response'
  17684. security:
  17685. - ApiKeyAuth: []
  17686. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  17687. tags:
  17688. - 通用交易
  17689. /User/AddMessageBoard:
  17690. post:
  17691. parameters:
  17692. - description: 用户ID
  17693. in: query
  17694. name: userID
  17695. required: true
  17696. type: integer
  17697. - description: 留言信息
  17698. in: query
  17699. name: message
  17700. required: true
  17701. type: string
  17702. - description: 联系电话
  17703. in: query
  17704. name: contactNum
  17705. required: true
  17706. type: string
  17707. produces:
  17708. - application/json
  17709. responses:
  17710. "200":
  17711. description: OK
  17712. schema:
  17713. $ref: '#/definitions/app.Response'
  17714. "500":
  17715. description: Internal Server Error
  17716. schema:
  17717. $ref: '#/definitions/app.Response'
  17718. security:
  17719. - ApiKeyAuth: []
  17720. summary: 添加用户留言板信息
  17721. tags:
  17722. - 用户信息
  17723. /User/AddUserFavoriteGoods:
  17724. post:
  17725. parameters:
  17726. - description: 用户ID
  17727. in: query
  17728. name: userID
  17729. required: true
  17730. type: integer
  17731. - description: 商品ID
  17732. in: query
  17733. name: goodsID
  17734. required: true
  17735. type: integer
  17736. produces:
  17737. - application/json
  17738. responses:
  17739. "200":
  17740. description: OK
  17741. schema:
  17742. $ref: '#/definitions/app.Response'
  17743. "500":
  17744. description: Internal Server Error
  17745. schema:
  17746. $ref: '#/definitions/app.Response'
  17747. security:
  17748. - ApiKeyAuth: []
  17749. summary: 添加用户商品收藏信息
  17750. tags:
  17751. - 用户信息
  17752. /User/GetLoginID:
  17753. get:
  17754. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  17755. parameters:
  17756. - description: 登录代码
  17757. in: query
  17758. name: username
  17759. required: true
  17760. type: string
  17761. produces:
  17762. - application/json
  17763. responses:
  17764. "200":
  17765. description: OK
  17766. schema:
  17767. $ref: '#/definitions/app.Response'
  17768. "500":
  17769. description: Internal Server Error
  17770. schema:
  17771. $ref: '#/definitions/app.Response'
  17772. summary: 获取登录ID
  17773. tags:
  17774. - 用户信息
  17775. /User/GetUserAccount:
  17776. get:
  17777. parameters:
  17778. - description: 用户ID
  17779. in: query
  17780. name: userID
  17781. required: true
  17782. type: integer
  17783. produces:
  17784. - application/json
  17785. responses:
  17786. "200":
  17787. description: OK
  17788. schema:
  17789. $ref: '#/definitions/models.Useraccount'
  17790. "500":
  17791. description: Internal Server Error
  17792. schema:
  17793. $ref: '#/definitions/app.Response'
  17794. security:
  17795. - ApiKeyAuth: []
  17796. summary: 获取用户账号信息
  17797. tags:
  17798. - 用户信息
  17799. /User/GetUserAuthStatus:
  17800. get:
  17801. parameters:
  17802. - description: 用户ID
  17803. in: query
  17804. name: userID
  17805. required: true
  17806. type: integer
  17807. produces:
  17808. - application/json
  17809. responses:
  17810. "200":
  17811. description: OK
  17812. schema:
  17813. $ref: '#/definitions/app.Response'
  17814. "500":
  17815. description: Internal Server Error
  17816. schema:
  17817. $ref: '#/definitions/app.Response'
  17818. security:
  17819. - ApiKeyAuth: []
  17820. summary: 获取用户实名认证状态
  17821. tags:
  17822. - 用户信息
  17823. /User/LoginQuery:
  17824. get:
  17825. parameters:
  17826. - description: 登录账号
  17827. in: query
  17828. name: loginID
  17829. required: true
  17830. type: integer
  17831. produces:
  17832. - application/json
  17833. responses:
  17834. "200":
  17835. description: OK
  17836. schema:
  17837. $ref: '#/definitions/user.LoginQueryRsp'
  17838. "500":
  17839. description: Internal Server Error
  17840. schema:
  17841. $ref: '#/definitions/app.Response'
  17842. security:
  17843. - ApiKeyAuth: []
  17844. summary: 账户登录后信息查询
  17845. tags:
  17846. - 用户信息
  17847. /User/QueryMessageBoard:
  17848. get:
  17849. parameters:
  17850. - description: 用户ID
  17851. in: query
  17852. name: userID
  17853. required: true
  17854. type: integer
  17855. produces:
  17856. - application/json
  17857. responses:
  17858. "200":
  17859. description: OK
  17860. schema:
  17861. $ref: '#/definitions/models.Messageboard'
  17862. "500":
  17863. description: Internal Server Error
  17864. schema:
  17865. $ref: '#/definitions/app.Response'
  17866. security:
  17867. - ApiKeyAuth: []
  17868. summary: 获取用户留言板信息
  17869. tags:
  17870. - 用户信息
  17871. /User/QueryUserFavoriteGoodses:
  17872. get:
  17873. parameters:
  17874. - description: 用户ID
  17875. in: query
  17876. name: userID
  17877. required: true
  17878. type: integer
  17879. produces:
  17880. - application/json
  17881. responses:
  17882. "200":
  17883. description: OK
  17884. schema:
  17885. $ref: '#/definitions/models.Userfavoritegoods'
  17886. "500":
  17887. description: Internal Server Error
  17888. schema:
  17889. $ref: '#/definitions/app.Response'
  17890. security:
  17891. - ApiKeyAuth: []
  17892. summary: 获取用户商品收藏信息
  17893. tags:
  17894. - 用户信息
  17895. /User/QueryUserInfo:
  17896. get:
  17897. parameters:
  17898. - description: 用户ID
  17899. in: query
  17900. name: userID
  17901. required: true
  17902. type: integer
  17903. - description: 是否解密
  17904. in: query
  17905. name: isDecrypt
  17906. type: boolean
  17907. produces:
  17908. - application/json
  17909. responses:
  17910. "200":
  17911. description: OK
  17912. schema:
  17913. $ref: '#/definitions/models.Userinfo'
  17914. "500":
  17915. description: Internal Server Error
  17916. schema:
  17917. $ref: '#/definitions/app.Response'
  17918. security:
  17919. - ApiKeyAuth: []
  17920. summary: 获取用户信息
  17921. tags:
  17922. - 用户信息
  17923. /User/QueryUserReferNum:
  17924. get:
  17925. parameters:
  17926. - description: 用户ID
  17927. in: query
  17928. name: userID
  17929. required: true
  17930. type: integer
  17931. produces:
  17932. - application/json
  17933. responses:
  17934. "200":
  17935. description: OK
  17936. schema:
  17937. $ref: '#/definitions/app.Response'
  17938. "500":
  17939. description: Internal Server Error
  17940. schema:
  17941. $ref: '#/definitions/app.Response'
  17942. summary: 获取用户邀请码
  17943. tags:
  17944. - 用户信息
  17945. /User/RemoveUserFavoriteGoods:
  17946. post:
  17947. parameters:
  17948. - description: 用户ID
  17949. in: query
  17950. name: userID
  17951. required: true
  17952. type: integer
  17953. - description: 商品ID
  17954. in: query
  17955. name: goodsID
  17956. required: true
  17957. type: integer
  17958. produces:
  17959. - application/json
  17960. responses:
  17961. "200":
  17962. description: OK
  17963. schema:
  17964. $ref: '#/definitions/app.Response'
  17965. "500":
  17966. description: Internal Server Error
  17967. schema:
  17968. $ref: '#/definitions/app.Response'
  17969. security:
  17970. - ApiKeyAuth: []
  17971. summary: 移除用户商品收藏信息
  17972. tags:
  17973. - 用户信息
  17974. /User/UpdateUserAccountStatus:
  17975. post:
  17976. parameters:
  17977. - description: 用户ID
  17978. in: query
  17979. name: userID
  17980. required: true
  17981. type: integer
  17982. - description: 账户状态 - 4:正常 6:注销(停用)
  17983. in: query
  17984. name: accountStatus
  17985. required: true
  17986. type: integer
  17987. produces:
  17988. - application/json
  17989. responses:
  17990. "200":
  17991. description: OK
  17992. schema:
  17993. $ref: '#/definitions/app.Response'
  17994. "500":
  17995. description: Internal Server Error
  17996. schema:
  17997. $ref: '#/definitions/app.Response'
  17998. security:
  17999. - ApiKeyAuth: []
  18000. summary: 更新用户状态
  18001. tags:
  18002. - 用户信息
  18003. /WRTrade/GetAllDeliveryGoods:
  18004. get:
  18005. produces:
  18006. - application/json
  18007. - application/json
  18008. responses:
  18009. "200":
  18010. description: OK
  18011. schema:
  18012. $ref: '#/definitions/app.Response'
  18013. "500":
  18014. description: Internal Server Error
  18015. schema:
  18016. $ref: '#/definitions/app.Response'
  18017. security:
  18018. - ApiKeyAuth: []
  18019. - ApiKeyAuth: []
  18020. summary: 获取带仓单分类的种类信息
  18021. tags:
  18022. - 仓单贸易
  18023. - 仓单贸易
  18024. securityDefinitions:
  18025. ApiKeyAuth:
  18026. in: header
  18027. name: Authorization
  18028. type: apiKey
  18029. swagger: "2.0"